/* VOICE: playful inside jokes, but a real store that takes money seriously.
   IDEA: a die-cut sticker sheet: every product sits on the page like a peel-off sticker.
   PICTURE: hero sticker sheet; the 3D customizer is the centerpiece of "Design your own".
   COLOUR and TYPE: cobalt field, sunflower support, coral accent; Rubik 900 + Rubik, JetBrains Mono for the jokes.
   LAYOUT: sticky header, routed views (home, shop, product, make, custom, faq), drawer cart, palette, terminal. */
:root{color-scheme:light dark;
  --bg:light-dark(#f4f5ff,#0b0f2e);--ink:light-dark(#0d1140,#eef0ff);--mute:light-dark(#4a4f7a,#a9aedb);
  --panel:light-dark(#fff,#151a4a);--line:light-dark(#d9dcf5,#2a3170);--soft:light-dark(#e9ebfb,#11163d);
  --cobalt:#2b3bff;--cobalt-d:#1a24b8;--sun:#ffcf3a;--sun-d:#b88f10;--coral:#ff5a4e;--mint:#0b8a52;--night:#0d1140;
  --r:22px;--mono:"JetBrains Mono",ui-monospace,SFMono-Regular,Menlo,monospace}
:root[data-theme=light]{color-scheme:light}:root[data-theme=dark]{color-scheme:dark}
*{box-sizing:border-box;min-width:0}
html{scroll-padding-top:80px}
body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.55 Rubik,system-ui,sans-serif;overflow-x:clip}
img,svg,canvas{display:block;max-width:100%}
a{color:inherit}
button,input,select,textarea{font:inherit;color:inherit}
button{cursor:pointer}
:focus-visible{outline:3px solid var(--sun);outline-offset:2px;border-radius:6px}
h1,h2,h3{margin:0;line-height:1.06;text-wrap:balance}
h1{font-weight:900;font-size:clamp(36px,5.4vw,58px)}
h2{font-weight:900;font-size:clamp(28px,3.6vw,42px)}
h3{font-size:17px;font-weight:700;line-height:1.25}
p{margin:0 0 1em}
kbd{font:12px var(--mono);border:1px solid currentColor;border-bottom-width:2px;border-radius:5px;padding:1px 5px;opacity:.85}
.mono{font-family:var(--mono)}
.band{padding:clamp(28px,4vw,64px) max(5vw,16px)}
.wrap{max-width:1240px;margin:0 auto}
.skip{position:absolute;left:-999px;top:8px;background:var(--sun);color:var(--night);padding:10px 14px;border-radius:10px;z-index:99}
.skip:focus{left:8px}
.muted{color:var(--mute)}
.small{font-size:13px;color:var(--mute)}
#main{outline:none;min-height:70vh}
#main.enter{animation:enter .35s ease-out}
@keyframes enter{from{opacity:0;transform:translateY(8px)}}

/* header */
.top{position:sticky;top:0;z-index:30;background:var(--night);border-bottom:1px solid #2a3170;color:#fff;padding:10px max(5vw,16px)}
.hd{max-width:1240px;margin:0 auto;display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.logo{display:flex;align-items:center;gap:10px;font-weight:900;font-size:21px;color:inherit;text-decoration:none}
.logo svg{width:34px;height:34px}
.main-nav{display:flex;gap:2px;margin-inline-start:auto;flex-wrap:wrap}
.main-nav a{color:#fff;text-decoration:none;padding:10px 12px;border-radius:10px;font-weight:500}
.main-nav a:hover,.main-nav a[aria-current=page]{background:#ffffff26}
.kbtn{display:flex;align-items:center;gap:10px;min-height:44px;padding:0 12px;border-radius:12px;border:2px solid #ffffff55;background:#ffffff14;color:#fff}
.cartbtn{display:flex;align-items:center;gap:8px;background:var(--sun);color:var(--night);border:0;border-radius:12px;padding:0 16px;min-height:44px;font-weight:700}
.cartbtn b{background:var(--night);color:var(--sun);border-radius:99px;min-width:24px;padding:0 7px;font-size:13px;line-height:22px;text-align:center}
.cartbtn.bump{animation:bump .4s}
@keyframes bump{40%{transform:scale(1.12) rotate(-3deg)}}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 22px;border-radius:14px;border:0;font-weight:700;text-decoration:none}
.b1{background:var(--sun);color:var(--night)}
.b1:hover{background:#ffd95f}
.b2{background:transparent;color:inherit;border:1px solid currentColor;font-weight:500}
.b3{background:var(--cobalt);color:#fff}
.b3:hover{background:var(--cobalt-d)}
.b4{background:var(--night);color:#eef0ff}
.b4:hover{background:#1a2060}
.btn[disabled]{opacity:.55;cursor:progress}

/* hero */
.hero{background:var(--night);color:#eef0ff;overflow:hidden}
.hgrid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:clamp(24px,5vw,64px);align-items:center;padding-block:clamp(8px,3vw,40px)}
.hero h1{font-size:clamp(44px,6.2vw,84px);font-weight:800;letter-spacing:-.03em;line-height:.98}
.hero p.lede{font-size:clamp(17px,1.5vw,19px);max-width:46ch;color:#b9bee8;margin:22px 0 28px}
.cta{display:flex;gap:12px;flex-wrap:wrap}
.hero .b2{border-color:#3a4290}
/* The hero's facts, like a spec sheet */
.aisles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
/* An odd one out (five categories) spans the row rather than sitting alone. */
.aisles>.aisle:last-child:nth-child(odd){grid-column:1/-1}
.aisles>.aisle:last-child:nth-child(odd) .thumb{aspect-ratio:2/1}
.aisle{position:relative;display:block;border-radius:18px;overflow:hidden;border:1px solid #2a3170;text-decoration:none;color:#eef0ff;transition:transform .2s,border-color .2s}
.aisle:hover{transform:translateY(-3px);border-color:var(--sun)}
.aisle .thumb{display:block;width:100%;aspect-ratio:1;object-fit:cover}
.aisle .al{position:absolute;inset:auto 0 0 0;display:flex;justify-content:space-between;align-items:baseline;gap:8px;padding:12px 14px;background:linear-gradient(transparent,#0d1140e6 45%)}
.aisle .al b{font-size:16px}
.aisle .al span{font:13px var(--mono);color:var(--sun);white-space:nowrap}
@media (max-width:560px){.aisles{gap:10px}.aisle .al{flex-direction:column;align-items:flex-start;gap:0;padding:10px 12px}}
/* Light band for the catalog; dark band for materials */
.paper{background:light-dark(#eef0ff,#11163d)}
.night{background:var(--night);color:#eef0ff}
.pills{display:flex;flex-wrap:wrap;gap:8px;font-size:14px}
.pills a{text-decoration:none;border:1px solid var(--line);border-radius:999px;padding:7px 14px;min-height:36px;display:inline-flex;align-items:center}
.pills a[aria-current]{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.pills a:hover{border-color:var(--ink)}
.seeall{text-align:center;margin:30px 0 0;font-weight:500}
.steps{list-style:none;counter-reset:step;margin:26px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.steps li{counter-increment:step;background:var(--panel);border:1px solid var(--line);border-radius:18px;padding:22px;display:flex;flex-direction:column;gap:6px}
.steps li::before{content:counter(step);width:34px;height:34px;border-radius:999px;background:var(--night);color:var(--sun);display:grid;place-items:center;font:700 14px var(--mono);margin-bottom:6px}
.steps b{font-size:18px}
.steps span{color:var(--mute)}
.mats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:#2a3170;border:1px solid #2a3170;border-radius:18px;overflow:hidden;margin-top:28px}
.mats div{background:#11164a;padding:24px;display:flex;flex-direction:column;gap:8px}
.mats span{font:500 12px var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--sun)}
.mats p{margin:0;color:#b9bee8}
.ctaband{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:24px}
.ctaband h2{margin-bottom:8px}
.ctaband p{margin:0;font-size:18px;max-width:56ch}
.card .no{display:block;margin:12px 4px 2px;font:12px var(--mono);color:var(--mute)}
@media (max-width:900px){.steps{grid-template-columns:1fr}.mats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:560px){.mats{grid-template-columns:1fr}}
.sheet{aspect-ratio:1.25;max-height:470px;width:100%;perspective:900px}
.sheet>*{width:100%;height:100%;transition:transform .25s ease-out;transform-style:preserve-3d}
.hero-sheet{position:relative;border-radius:28px;background:#3646ff;box-shadow:0 6px 0 #1a24b8,inset 0 0 0 2px #ffffff33;outline:2px dashed #ffffff40;outline-offset:-12px;overflow:hidden}
.hero-sheet img{position:absolute;filter:drop-shadow(0 14px 14px #0a108066);user-select:none;-webkit-user-drag:none}
.hs-glass{left:7%;top:6%;height:70%;filter:none!important}
.hs-tee{right:3%;top:2%;width:56%}
.hs-coaster{left:22%;bottom:-2%;width:40%}
.hs-sticker{right:4%;bottom:3%;width:36%;transform:rotate(6deg)}
.hs-sticker.float{animation-name:bobt}
@keyframes bobt{0%,100%{transform:rotate(6deg)}50%{transform:translateY(-6px) rotate(7deg)}}
.hs-spark{position:absolute;width:22px}.hs-spark.a{left:8%;bottom:14%}.hs-spark.b{right:6%;top:8%;width:16px;opacity:.8}
.facts{display:flex;gap:10px 24px;flex-wrap:wrap;margin-top:26px;font-size:14px;color:#c9ceff}
.facts span{display:flex;align-items:center;gap:8px}
.facts i{width:10px;height:10px;border-radius:3px;background:var(--sun)}
.float{animation:bob 6s ease-in-out infinite;transform-box:fill-box;transform-origin:center}
.float.d2{animation-delay:-2s}.float.d3{animation-delay:-4s}
@keyframes bob{50%{transform:translateY(-6px) rotate(1deg)}}
.ticker{background:var(--night);color:var(--sun);font:500 14px var(--mono);overflow:hidden;white-space:nowrap;padding:10px 0}
.ticker div{display:inline-block;animation:tick 40s linear infinite;padding-inline-start:100%}
@keyframes tick{to{transform:translateX(-100%)}}

/* make-your-own teaser */
.makers{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:18px;margin-top:22px}
.maker{display:flex;flex-direction:column;gap:6px;padding:18px;border-radius:var(--r);text-decoration:none;background:var(--panel);border:1px solid var(--line);transition:transform .2s,border-color .2s}
.maker:hover{transform:translateY(-3px);border-color:var(--mute)}
.maker .pv{border-radius:14px;aspect-ratio:16/10;display:grid;place-items:center;margin-bottom:8px;overflow:hidden}
.maker .pv svg{width:70%;height:90%}
.maker .pv{position:relative}.maker .pv img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.maker b{font-size:18px}
.maker .from{margin-top:auto;font-weight:700}

/* shop */
.shop-head{display:flex;justify-content:space-between;align-items:end;gap:16px;flex-wrap:wrap}
.bar{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin:22px 0 26px}
.chips{display:flex;gap:8px;flex-wrap:wrap}
.chip{min-height:44px;padding:0 16px;border-radius:99px;border:2px solid var(--line);background:var(--panel);font-weight:500;text-decoration:none;display:inline-flex;align-items:center;gap:6px}
.chip[aria-current=true]{background:var(--ink);color:var(--bg);border-color:var(--ink)}
.chip .n{font-size:12px;opacity:.7}
.search{margin-inline-start:auto;display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.field{min-height:44px;font-size:16px;border:2px solid var(--line);background:var(--panel);border-radius:12px;padding:0 14px}
.search input{width:230px}
.grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,250px),1fr));gap:22px}
.card{position:relative;background:var(--panel);border-radius:var(--r);padding:12px 12px 16px;border:1px solid var(--line);display:flex;flex-direction:column;transition:transform .2s,border-color .2s}
.card:hover{transform:translateY(-3px);border-color:var(--mute)}
.card>a{text-decoration:none;color:inherit;display:block}
.thumb{border-radius:14px;aspect-ratio:1;width:100%;object-fit:cover;display:block}
.card>a:first-child{position:relative}
.card .thumb.alt{position:absolute;inset:0;opacity:0;transition:opacity .3s}
.card:hover .thumb.alt,.card:focus-within .thumb.alt{opacity:1}
.meta{display:flex;justify-content:space-between;gap:10px;margin:12px 4px 2px;align-items:start}
.price{font-weight:900;white-space:nowrap;font-size:18px}
.cat{font-size:13px;color:var(--mute);margin:0 4px 12px}
.tag{font-size:12px;font-weight:700;background:var(--coral);color:#fff;border-radius:6px;padding:2px 7px;margin-inline-start:6px;vertical-align:2px;white-space:nowrap}
.quick{margin:auto 4px 0;min-height:44px;border-radius:12px;border:0;background:var(--cobalt);color:#fff;font-weight:700;display:flex;align-items:center;justify-content:center;text-decoration:none}
.announce{background:var(--sun);color:var(--night);text-align:center;font-weight:700;padding:10px 16px}
.quick.done{background:var(--mint)}
.card>a.quick{display:flex;color:#fff}
.empty{padding:40px;text-align:center;color:var(--mute);border:2px dashed var(--line);border-radius:var(--r);grid-column:1/-1}

/* product detail */
.pd{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(20px,4vw,56px);align-items:start}
.pd .art{border-radius:28px;overflow:hidden;box-shadow:0 0 0 2px var(--line),0 12px 0 -2px var(--line)}
.pd .art .thumb{border-radius:0}
.crumbs{font-size:14px;margin-bottom:14px}
.crumbs a{color:var(--mute)}
.pd .price{font-size:30px;display:block;margin:12px 0 16px}
.opt-group{border:0;padding:0;margin:0 0 18px}
.opt-group legend{font-weight:700;margin-bottom:8px}
.seg{display:flex;flex-wrap:wrap;gap:8px}
.seg label{position:relative}
.seg input{position:absolute;opacity:0;inset:0}
.seg span{display:inline-flex;align-items:center;min-height:44px;padding:0 14px;border-radius:12px;border:2px solid var(--line);background:var(--panel);font-weight:500;white-space:nowrap}
.seg input:checked+span{border-color:var(--cobalt);box-shadow:inset 0 0 0 1px var(--cobalt);background:var(--soft)}
.seg input:focus-visible+span{outline:3px solid var(--sun);outline-offset:2px}
.qtyrow{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:4px 0 18px}
.stepper{display:inline-flex;align-items:center;border:2px solid var(--line);border-radius:12px;background:var(--panel)}
.stepper button{width:44px;height:44px;border:0;background:none;font-size:20px;font-weight:700}
.stepper output{min-width:32px;text-align:center;font-weight:700}
.callout{margin-top:22px;padding:16px 18px;border-radius:16px;background:var(--soft);display:flex;gap:14px;align-items:center;flex-wrap:wrap}
.callout p{margin:0;flex:1 1 240px}

/* make (3D customizer) */
.make-head{display:flex;justify-content:space-between;gap:16px;align-items:end;flex-wrap:wrap;margin-bottom:18px}
.tabs{display:flex;gap:8px;flex-wrap:wrap}
.stage-wrap{position:relative}
configkit-viewer{--ck-height:min(78vh,720px);--ck-accent-color:#2b3bff;--ck-surface:var(--panel);--ck-border:var(--line);--ck-radius:24px;--ck-font:Rubik,system-ui,sans-serif;--ck-ink:var(--ink);--ck-ink-muted:var(--mute);--ck-panel-width:380px;--ck-stage-height:440px;display:block}
.ck-skeleton{height:min(78vh,720px);border-radius:24px;display:grid;place-items:center;background:var(--soft);box-shadow:0 0 0 2px var(--line)}
.ck-skeleton .spin{width:56px;height:56px;border-radius:50%;border:5px solid var(--line);border-top-color:var(--cobalt);animation:spin 1s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}
.how{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:22px}
.how div{padding:16px;border-radius:16px;background:var(--panel);box-shadow:0 0 0 2px var(--line)}
.how b{display:block;margin-bottom:4px}
.how p{margin:0;font-size:15px;color:var(--mute)}

/* workshop band */
.yellow{background:var(--sun);color:var(--night)}
.wgrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:28px}
.wk{background:#fff;border-radius:18px;padding:18px;box-shadow:0 6px 0 #d8a90f}
.wk svg{width:48px;height:48px}
.wk p{margin:6px 0 0;font-size:15px;color:#33385f}

/* forms */
.split{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(20px,4vw,56px)}
form.card-form{display:grid;gap:14px;background:var(--panel);padding:22px;border-radius:var(--r);box-shadow:0 0 0 2px var(--line)}
label.f{font-weight:500;font-size:15px;display:grid;gap:6px}
label.f input,label.f select,label.f textarea{font-size:16px;min-height:44px;border:2px solid var(--line);border-radius:12px;background:var(--bg);padding:10px 12px}
.two{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.drop{border:2px dashed var(--line);border-radius:14px;padding:16px;text-align:center;color:var(--mute);cursor:pointer}
.drop.over{border-color:var(--cobalt);background:var(--soft)}
.drop img{max-height:120px;margin:8px auto 0;border-radius:8px}
.note{font-size:13px;color:var(--mute)}
.msg{border-radius:12px;padding:12px;font-size:15px}
.msg.ok{background:#0b8a5222;border:2px solid var(--mint)}
.msg.err{background:#ff5a4e22;border:2px solid var(--coral)}
details.faq{background:var(--panel);border-radius:16px;box-shadow:0 0 0 2px var(--line);padding:4px 18px;margin-bottom:12px}
details.faq summary{cursor:pointer;font-weight:700;min-height:48px;display:flex;align-items:center}
details.faq p{color:var(--mute)}

/* footer */
.foot{background:var(--night);color:#c9ceff;font-size:15px;border-top:1px solid #2a3170}
.fgrid{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:24px}
.foot h3{color:#fff;margin-bottom:8px}
.foot a{color:#c9ceff;display:block;padding:3px 0}
.foot .logo{color:#fff;margin-bottom:8px}
.foot .hint kbd{color:var(--sun)}
.legal{margin-top:24px;font-size:13px;opacity:.7}

/* overlays */
[hidden]{display:none!important}
.scrim{position:fixed;inset:0;background:#05082088;backdrop-filter:blur(2px);animation:fade .2s}
@keyframes fade{from{opacity:0}}
.drawer-wrap,.palette-wrap,.term-wrap{position:fixed;inset:0;z-index:50}
.drawer{position:fixed;top:0;right:0;height:100%;width:min(440px,100%);background:var(--panel);display:flex;flex-direction:column;animation:slide .25s ease-out}
@keyframes slide{from{transform:translateX(100%)}}
.dh{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;border-bottom:2px solid var(--line)}
.dh h2{font-size:22px}
.x{width:44px;height:44px;border-radius:12px;border:2px solid var(--line);background:none;font-size:20px;line-height:1}
.lines{flex:1;overflow:auto;padding:8px 20px}
.line{display:grid;grid-template-columns:72px minmax(0,1fr) auto;gap:12px;align-items:start;padding:12px 0;border-bottom:1px solid var(--line)}
.line .pic{width:72px;height:72px;border-radius:12px;overflow:hidden;background:var(--soft)}
.line .pic img,.line .pic svg{width:100%;height:100%;object-fit:cover}
.line ul{margin:4px 0 0;padding:0;list-style:none;font-size:13px;color:var(--mute)}
.qty{display:flex;align-items:center;gap:4px;margin-top:8px}
.qty button{width:34px;height:34px;border-radius:9px;border:2px solid var(--line);background:none;font-weight:700}
.qty .rm{width:auto;padding:0 10px;font-weight:500;font-size:13px;margin-inline-start:6px}
.df{padding:16px 20px;border-top:2px solid var(--line);display:grid;gap:10px}
.row{display:flex;justify-content:space-between;gap:10px;white-space:nowrap}
.tot{font-weight:900;font-size:20px}
.meter{height:8px;border-radius:99px;background:var(--soft);overflow:hidden}
.meter i{display:block;height:100%;background:var(--mint);transition:width .4s}
.coupon{display:flex;gap:8px}
.coupon input{flex:1;text-transform:uppercase}
.coupon button{min-height:44px;border-radius:12px;border:2px solid var(--line);background:none;padding:0 14px;font-weight:700}

.palette{position:fixed;left:50%;top:12vh;transform:translateX(-50%);width:min(620px,calc(100% - 24px));background:var(--panel);border-radius:20px;box-shadow:0 20px 60px #0008,0 0 0 2px var(--line);overflow:hidden;animation:pop .18s ease-out}
@keyframes pop{from{opacity:0;transform:translateX(-50%) scale(.97)}}
.palette input{width:100%;border:0;border-bottom:2px solid var(--line);background:none;font-size:18px;padding:18px 20px;outline:none}
.palette ul{list-style:none;margin:0;padding:8px;max-height:52vh;overflow:auto}
.palette li{display:flex;align-items:center;gap:12px;padding:10px 12px;border-radius:12px;cursor:pointer}
.palette li[aria-selected=true]{background:var(--soft)}
.palette li .ic{width:36px;height:36px;border-radius:9px;overflow:hidden;flex:none;display:grid;place-items:center;background:var(--soft);font:700 14px var(--mono)}
.palette li .ic svg{width:100%;height:100%}
.palette li .k{margin-inline-start:auto;font-size:13px;color:var(--mute);white-space:nowrap}
.palette mark{background:none;color:var(--cobalt);font-weight:700}
.phint{margin:0;padding:10px 20px;border-top:2px solid var(--line);font-size:12px;color:var(--mute);display:flex;gap:6px;align-items:center}

.term{position:fixed;left:50%;bottom:4vh;transform:translateX(-50%);width:min(760px,calc(100% - 24px));height:min(440px,70vh);background:#070a1f;color:#c8ffda;border-radius:16px;box-shadow:0 20px 60px #000a,0 0 0 2px #2a3170;display:flex;flex-direction:column;font:14px/1.5 var(--mono);overflow:hidden;animation:pop2 .18s ease-out}
@keyframes pop2{from{opacity:0;transform:translateX(-50%) translateY(10px)}}
.term-bar{display:flex;align-items:center;gap:7px;padding:8px 10px;background:#11163d;color:#a9aedb;font-size:13px}
.term-bar i{width:12px;height:12px;border-radius:50%;background:var(--coral)}.term-bar i:nth-child(2){background:var(--sun)}.term-bar i:nth-child(3){background:#3ad07a}
.term-bar span{margin-inline-start:8px;flex:1}
.term-bar .x{width:32px;height:32px;border-color:#2a3170;color:#a9aedb}
.term-out{flex:1;overflow:auto;padding:12px 14px;white-space:pre-wrap;word-break:break-word}
.term-out .c{color:var(--sun)}.term-out .e{color:var(--coral)}.term-out .d{color:#7f86c0}.term-out a{color:#8fb0ff}
.term-in{display:flex;gap:8px;padding:10px 14px;border-top:1px solid #1d2358}
.term-in label{color:var(--sun)}
.term-in input{flex:1;background:none;border:0;outline:none;color:#fff;font:inherit;caret-color:var(--sun)}

.toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%) translateY(calc(100% + 40px));visibility:hidden;background:var(--night);color:#fff;padding:12px 18px;border-radius:14px;box-shadow:0 10px 30px #0006;z-index:70;transition:transform .3s;max-width:calc(100% - 24px);font-weight:500}
.toast.show{transform:translateX(-50%);visibility:visible}
#fx{position:fixed;inset:0;pointer-events:none;z-index:80;width:100%;height:100%}

@media(max-width:900px){.hgrid,.split,.pd{grid-template-columns:1fr}.wgrid,.how{grid-template-columns:repeat(2,minmax(0,1fr))}.fgrid{grid-template-columns:1fr 1fr}.makers{grid-template-columns:1fr}.search{margin-inline-start:0;width:100%}.search input{flex:1;width:auto}}
@media(max-width:640px){.hd{gap:8px}.logo{font-size:18px}.logo svg{width:30px;height:30px}.cartbtn{padding:0 12px}.main-nav{order:5;width:100%;margin:0}.kbtn span,.kbtn kbd{display:none}.kbtn::before{content:"⌕";font-size:20px}.kbtn{margin-inline-start:auto}.two{grid-template-columns:1fr}.wgrid,.how{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){*,*::before{animation:none!important;transition:none!important}}
.gallery{border-radius:28px;overflow:hidden;aspect-ratio:1;display:grid;place-items:center;box-shadow:0 0 0 2px var(--line),0 12px 0 -2px var(--line)}
.gallery .thumb{border-radius:0;width:100%;height:100%;object-fit:cover}
.gallery.live{aspect-ratio:auto;display:block;place-items:normal}
.gallery.live configkit-viewer{--ck-height:min(70vh,620px);--ck-stage-height:440px}
.toolbar2{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:14px}
.btn.sm2{min-height:40px;padding:0 16px;font-size:15px}
.seg .sw{display:inline-block;width:16px;height:16px;border-radius:50%;margin-inline-end:8px;box-shadow:inset 0 0 0 1px #0003}
.seg small{color:var(--mute);margin-inline-start:6px}

/* product page gallery: the cover, then thumbnails of the render and photos */
.gstrip{display:flex;gap:8px;margin-top:10px;overflow-x:auto;padding:2px}
.gstrip button{flex:0 0 64px;height:64px;padding:0;border:0;border-radius:12px;overflow:hidden;cursor:pointer;background:var(--panel);box-shadow:0 0 0 2px var(--line)}
.gstrip button[aria-current="true"]{box-shadow:0 0 0 3px var(--accent,#2b3bff)}
.gstrip img{width:100%;height:100%;object-fit:cover;display:block}
.gstrip .g3d{display:grid;place-items:center;font-weight:800;font-size:13px;color:var(--ink,#0d1140)}

/* A button that reads as a link (Change ZIP, remove a coupon) */
.linkish{background:none;border:0;padding:0 2px;margin-inline-start:4px;font:inherit;font-size:13px;color:inherit;text-decoration:underline;text-underline-offset:2px;cursor:pointer}
.linkish:hover{color:var(--cobalt)}
