*{box-sizing:border-box}body{margin:0;background:#101010;color:#f5f1eb;font:16px system-ui}header,main,footer{max-width:1320px;margin:auto;padding:24px}header{display:flex;align-items:center;gap:24px;flex-wrap:wrap;border-bottom:1px solid #3d3027}a{color:#e9b878;text-decoration:none}header strong{font-size:26px;color:#e9b878}button,input,select,textarea{font:inherit;border-radius:8px;padding:12px;border:1px solid #504237}button{background:#e87532;color:#17100b;font-weight:700;cursor:pointer}input,select,textarea{background:#211e1b;color:white;max-width:100%}.hero{padding:70px 35px;background:radial-gradient(ellipse at right,#60351c,#171311 70%);border-radius:20px;margin-bottom:35px}.hero h1{font-size:clamp(38px,6vw,78px);margin:0;line-height:1.05}.hero em{color:#e9b878}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px}.tile,section.panel{background:#1b1917;border:1px solid #3b3028;border-radius:14px;padding:20px;margin-bottom:16px}.tile img{width:100%;aspect-ratio:4/3;object-fit:contain;background:#111;border-radius:8px}.tile h3{margin:12px 0}.green{background:#19281a;border:1px solid #587d45;padding:25px;border-radius:15px;margin:30px 0}nav{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}label{display:block;margin:12px 0}label input,label textarea,label select{display:block;width:100%}small{color:#c9bdb0}dialog{background:#211e1b;color:white;border:1px solid #a66b42;border-radius:14px;width:min(95%,600px)}footer{border-top:1px solid #3d3027}[hidden]{display:none!important}#products{grid-template-columns:repeat(4,minmax(0,1fr));align-items:start}#products .tile{padding:14px;min-width:0}#products .tile img{height:210px;aspect-ratio:auto;cursor:pointer}#products .tile small{display:block;color:#a8db87;margin:10px 0}#brand img{max-width:180px;max-height:76px;object-fit:contain}#detailBody img{width:100%;max-height:380px;object-fit:contain}.adminlayout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:24px;margin-top:20px}.adminlayout aside{display:flex;flex-direction:column;gap:8px;align-self:start;background:#1b1917;padding:16px;border-radius:12px}.adminlayout aside button{text-align:left;background:#29231f;color:#f5f1eb}.adminlayout aside button.active{background:#e87532;color:#17100b}.admincontent{min-width:0}.workrow{display:flex;align-items:center;gap:12px;flex-wrap:wrap;padding:12px 0;border-bottom:1px solid #504237}.workrow span{flex:1}#products h3{overflow-wrap:anywhere}@media(max-width:850px){#products{grid-template-columns:repeat(2,minmax(0,1fr))}.adminlayout{grid-template-columns:1fr}.adminlayout aside{flex-direction:row;flex-wrap:wrap}#products .tile img{height:150px}}@media(max-width:400px){#products .tile{padding:8px}#products button{font-size:12px;padding:8px}}
.metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:12px}.metrics h2{color:#e9b878;margin:8px 0}.metrics .tile{margin:0}#ordersList input[type=checkbox]{width:auto;display:inline}#basket{margin:0 0 0 auto;height:100%;max-height:100%;border-radius:16px 0 0 16px}#products .tile{box-shadow:0 8px 22px #0003}#products .tile:hover{border-color:#b7784a}header #cart{margin-left:auto}.hero{border:1px solid #553522}.hero a{display:inline-block;background:#e87532;color:#17100b;padding:12px 18px;border-radius:8px;font-weight:bold}
body{background:radial-gradient(ellipse at top,#201813 0,#101010 55%);line-height:1.5}header{position:sticky;top:0;background:#101010f5;z-index:3} .hero{position:relative;overflow:hidden;min-height:340px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;isolation:isolate}.hero h1,.hero p,.hero small,.hero a{position:relative;z-index:1}.printer-art{position:absolute;right:7%;top:13%;width:30%;height:74%;border:12px solid #48372a;border-top:18px solid #e87532;border-bottom:18px solid #b66b38;border-radius:14px;opacity:.8;box-shadow:0 20px 40px #0008}.printer-art:before{content:'';position:absolute;top:12%;left:0;right:0;height:12px;background:#9a8068}.printer-art span{position:absolute;top:12%;left:45%;width:35px;height:45px;background:#e87532;clip-path:polygon(0 0,100% 0,100% 65%,50% 100%,0 65%)}.printer-art b{position:absolute;bottom:8%;left:20%;right:20%;text-align:center;font-size:clamp(35px,7vw,95px);color:#e9b878;background:repeating-linear-gradient(0deg,#9c4a24 0 3px,#e87532 3px 5px);border-radius:12px;text-shadow:2px 3px #633016}.hero h1{max-width:70%}#cats button{background:#211c18;color:#e9b878}#cats button.selected{background:#e87532;color:#17100b}.metrics .tile{background:linear-gradient(145deg,#30231a,#1b1917);border-top:2px solid #b87540}.adminlayout aside{position:sticky;top:100px}.admincontent #logout{margin-bottom:16px}.autoqueue{padding:16px;background:#222b1d;border:1px solid #587d45;border-radius:10px}.secondary{background:#302720;color:#f5f1eb;margin:8px}.green{border-left:5px solid #83b95c}button:focus-visible,a:focus-visible{outline:2px solid #f6ce96;outline-offset:3px}@media(max-width:850px){.printer-art{opacity:.22;right:3%;width:45%}.hero h1{max-width:100%}.adminlayout aside{position:static}header{position:static}}

.shopheader{gap:22px}.shopheader #brand img{width:112px;max-height:78px}.shopheader #search{flex:1;min-width:140px}.shopheader #cart{margin-left:0}.hero{min-height:420px;background:linear-gradient(90deg,#15110ffF 0%,#15110ff5 34%,#15110f99 53%,transparent 78%),url('/printer-v7.webp') right center/auto 100% no-repeat,#15110f;padding:48px}.hero h1{max-width:65%}.benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:0 0 38px}.benefits div{border:1px solid #443326;background:#1b1815;border-radius:12px;padding:20px}.benefits b,.benefits small{display:block}.benefits b{color:#e9b878}.benefits small{margin-top:5px}#products .tile{display:flex;flex-direction:column;gap:6px}#products .tile p{font-size:20px;font-weight:700;margin:4px 0}#products .tile button{margin-top:auto}#products .tile img{background:#151515}#products .tile small{margin:3px 0}.green{padding:32px;background:linear-gradient(110deg,#20351e,#151e15)}@media(max-width:850px){.hero{min-height:340px;padding:25px;background:linear-gradient(90deg,#15110ff5,#15110f99),url('/printer-v7.webp') center/cover}.hero h1{max-width:100%}.benefits{grid-template-columns:1fr;gap:8px}.benefits div{padding:12px}.shopheader{gap:12px}.shopheader #search{order:5;flex-basis:100%}}
.shopheader{position:static;display:flex;gap:18px}.shopheader #brand img{width:145px;max-height:100px}.shopheader #search{flex:0 1 340px}.shopheader #cart{margin-left:auto}button:disabled{opacity:.5;cursor:not-allowed}#featured{width:auto;display:inline}#products del{color:#bcb0a4}footer{padding-block:35px} @media(max-width:850px){.shopheader #search{flex:1 1 100%}.shopheader #brand img{width:110px}}

.thumbs{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.thumbs button{padding:4px}.thumbs img{width:64px;height:64px;object-fit:contain}.mainphoto{width:100%;max-height:380px;object-fit:contain}#existingGallery img{vertical-align:middle;margin:5px}#existingGallery button{margin:5px}

#detail{max-height:90dvh;overflow:auto;box-sizing:border-box} .livepreview{background:#151515;border-radius:12px;padding:12px;text-align:center;margin-bottom:18px}.livepreview svg{width:100%;display:block}.livepreview small{font-size:11px}.swatches{display:flex;flex-wrap:wrap;gap:8px}.swatch{background:transparent;color:#eee;border:1px solid transparent;padding:5px;display:flex;flex-direction:column;align-items:center;gap:4px}.swatch span{width:32px;height:32px;border-radius:50%;border:1px solid #888}.swatch[aria-pressed=true]{border-color:#e87532;border-radius:9px}.pricebreakdown{margin:20px 0}.pricebreakdown div{display:flex;justify-content:space-between;padding:8px 0}.pricebreakdown div:last-child{border-top:1px solid #55483c;font-size:20px}.pricebreakdown+button{width:100%;margin-bottom:10px}#detailClose{background:#302720;color:#eee;width:100%}
/* V8.4: scoped product configurator */
#detail{position:fixed;width:min(94vw,640px);max-height:90dvh;padding:24px;border:1px solid #66503d;border-radius:22px;background:#211e1b;box-shadow:0 24px 90px #0009;overflow:auto}#detail::backdrop{background:#000a}#detailBody{padding-top:30px}#detailBody h2{margin:18px 0 6px}#detailBody p{margin:12px 0}#detail .livepreview{background:linear-gradient(145deg,#171717,#101010);border:1px solid #3d342d;padding:16px;border-radius:16px}#detail .swatches{display:flex;flex-wrap:wrap;gap:10px;margin:8px 0 20px}#detail button.swatch{position:relative;background:transparent;color:#eee;border:1px solid transparent;border-radius:12px;padding:7px 8px;min-width:58px;display:flex;flex-direction:column;align-items:center;gap:5px;box-shadow:none}#detail .swatch .color-dot{width:40px;height:40px;display:block;overflow:visible}#detail .swatch small{font-size:12px;color:#d7cfc6}#detail .swatch[aria-pressed=true]{border-color:#e9a363;background:#38291f}#detail .swatch[aria-pressed=true]::after{content:'✓';position:absolute;top:3px;right:3px;background:#e9a363;color:#16110d;border-radius:50%;width:17px;height:17px;font-size:12px;line-height:17px;text-align:center}#detail .swatch:hover{background:#342b24}#detail label input{margin-top:7px;padding:14px;border-radius:12px;background:#171513}#detail .pricebreakdown{background:#171513;border:1px solid #40352c;border-radius:14px;padding:12px 16px;margin:20px 0 14px}#detail .pricebreakdown div{display:flex;justify-content:space-between;gap:16px;padding:7px 0}#detail .pricebreakdown div:last-child{margin-top:6px;padding-top:12px;border-top:1px solid #55483c;font-size:21px;color:#e9b878}#detail .detail-add{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;padding:15px;border-radius:12px;background:linear-gradient(110deg,#f39b50,#e87532);color:#17100b}#detail #detailClose{position:absolute;top:12px;right:14px;width:36px;height:36px;padding:0;line-height:1;font-size:26px;border-radius:50%;background:#302720;color:#eee;border:1px solid #66503d}@media(max-width:480px){#detail{padding:14px}#detail .swatches{gap:4px}#detail button.swatch{min-width:50px;padding:5px}#detail .swatch .color-dot{width:34px;height:34px}}
