/* Crafted by Christy: Design your own page styles (built from the canvas Custom page). */
*{box-sizing:border-box}
body{margin:0;background:var(--c-blush)}
a{color:var(--c-ink)}
[hidden]{display:none !important}
.cb{font-family:'DM Sans',ui-sans-serif,system-ui,sans-serif;color:var(--c-ink);background:var(--c-blush);-webkit-font-smoothing:antialiased;overflow-x:clip}
.cb h1,.cb h2,.cb h3,.cb p,.cb fieldset,.cb legend{margin:0}
.cb p{text-wrap:pretty}
.wrap{max-width:1320px;margin:0 auto;padding-left:40px;padding-right:40px}
.serif{font-family:'Fraunces',Georgia,serif;font-optical-sizing:auto}
.eyebrow{font-size:0.8125rem;line-height:1.25rem;font-weight:600;letter-spacing:0.18em;text-transform:uppercase;color:var(--c-ink-soft)}
.lead{font-size:1.1875rem;line-height:1.875rem;color:var(--c-ink-soft)}
.hint{font-size:0.875rem;line-height:1.3125rem;color:var(--c-ink-soft)}
/* headline style (font #15): line 1 Gloock, line 2 Caveat Brush in rose, 1.3x. Use class hl + spans hl1/hl2 on every headline */
.cb .hl{font-family:'Gloock',Georgia,serif;font-weight:400;letter-spacing:-0.02em}
.cb .hl .hl1,.cb .hl .hl2{display:block}
.cb .hl .hl2{font-family:'Caveat Brush','Segoe Print',cursive;font-size:1.3em;line-height:1;letter-spacing:0;color:var(--c-rose)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:10px 24px;border-radius:9999px;font-family:inherit;font-size:1rem;line-height:1.5rem;font-weight:600;letter-spacing:0.01em;text-decoration:none;cursor:pointer;border:1px solid transparent;transition:transform 400ms cubic-bezier(0.32,0.72,0,1)}
.btn:active{transform:scale(0.96);transition-duration:150ms;transition-timing-function:ease-out}
.btn-ink{background:var(--c-ink);color:var(--c-cream)}
.btn-line{border-color:var(--c-ink);color:var(--c-ink);background:transparent}
.btn-cream{background:var(--c-cream);color:var(--c-ink)}
.btn-sm{min-height:44px;padding:8px 20px;font-size:0.9375rem}
.nl{color:var(--c-ink);text-decoration:none;font-size:0.9375rem;line-height:1.25rem;font-weight:500;padding:12px 4px;position:relative;white-space:nowrap}
.nl::after{content:"";position:absolute;left:4px;right:4px;bottom:6px;height:1px;background:currentColor;transform:scaleX(0);transform-origin:left;transition:transform 400ms cubic-bezier(0.32,0.72,0,1)}
.nl[aria-current="page"]::after{transform:scaleX(1)}
/* live preview: her hand render, nails tinted with the chosen colour */
.pv{position:relative;aspect-ratio:1360 / 1047;border-radius:30px;overflow:hidden;background:var(--c-night);box-shadow:0 1px 2px rgba(62,28,37,0.06),0 28px 64px rgba(62,28,37,0.18)}
.pv img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}
.pv-tint{position:absolute;inset:0;mix-blend-mode:multiply;opacity:0;transition:opacity 250ms ease-out;-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}
.pv-tint.on{opacity:1}
.pv-shine{mix-blend-mode:screen;pointer-events:none}
.pv-tag{position:absolute;left:20px;bottom:20px;padding:8px 14px;border-radius:9999px;background:rgba(255,251,249,0.92);font-size:0.875rem;line-height:1.25rem;font-weight:600;color:var(--c-ink)}
/* steps */
.card{display:flex;flex-direction:column;gap:14px;padding:24px 26px;border-radius:24px;background:var(--c-paper);box-shadow:0 1px 2px rgba(62,28,37,0.05),0 8px 24px rgba(62,28,37,0.06)}
.step{border:0;padding:0;display:flex;flex-direction:column;gap:14px;min-width:0}
.step legend{padding:0;margin-bottom:14px;display:flex;align-items:baseline;gap:10px;font-family:'Gloock',Georgia,serif;font-size:1.5rem;line-height:1.875rem;color:var(--c-ink)}
.num{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:9999px;background:var(--c-ink);color:var(--c-cream);font-family:'DM Sans',sans-serif;font-size:0.875rem;font-weight:600;transform:translateY(-3px)}
.pills{display:flex;flex-wrap:wrap;gap:10px}
.pill{min-height:48px;min-width:56px;padding:10px 20px;border-radius:9999px;border:1px solid rgba(62,28,37,0.28);background:transparent;color:var(--c-ink);font-family:inherit;font-size:1rem;line-height:1.5rem;font-weight:600;cursor:pointer;transition:transform 300ms cubic-bezier(0.32,0.72,0,1)}
.pill:active{transform:scale(0.96)}
.pill[aria-pressed="true"]{background:var(--c-ink);border-color:var(--c-ink);color:var(--c-cream)}

.qhint{padding:12px 14px;border-radius:14px;background:var(--c-cream);font-size:0.9375rem;line-height:1.4375rem;color:var(--c-ink)}
.sws{display:grid;grid-template-columns:repeat(6,48px);gap:14px}
.sw{width:48px;height:48px;border-radius:9999px;border:0;padding:0;cursor:pointer;box-shadow:inset 0 0 0 1px rgba(62,28,37,0.5);transition:transform 300ms cubic-bezier(0.32,0.72,0,1)}
.sw:active{transform:scale(0.96)}
.sw[aria-pressed="true"]{box-shadow:inset 0 0 0 1px rgba(62,28,37,0.5),0 0 0 3px var(--c-paper),0 0 0 5px var(--c-ink)}
.codebox{display:flex;flex-direction:column;gap:14px;padding:18px;border-radius:18px;background:var(--c-cream)}
.code{font-family:ui-monospace,'SF Mono',Menlo,Consolas,monospace;font-size:1.375rem;line-height:1.875rem;font-weight:600;letter-spacing:0.04em;color:var(--c-ink)}
.inspo{display:grid;grid-template-columns:200px minmax(0,1fr);gap:28px;align-items:center;padding:14px 32px 14px 14px;border-radius:26px;background:var(--c-ink);color:var(--c-cream)}
.inspo .ph{display:block;height:240px;border-radius:18px;overflow:hidden}
.inspo .ph img{display:block;width:100%;height:100%;object-fit:cover}
.cb .inspo .hl .hl2{color:var(--c-rose-light)}
.fl{color:var(--c-ink);text-decoration:none;font-size:0.9375rem;line-height:1.25rem;padding:12px 0;display:inline-block}
.btn:focus-visible,.nl:focus-visible,.pill:focus-visible,.sw:focus-visible,.fl:focus-visible,.brand:focus-visible{outline:2px solid var(--c-rose);outline-offset:3px}
.btn,.pill,.sw{-webkit-tap-highlight-color:transparent}
@media (hover:hover){
a:hover{color:var(--c-rose)}
.btn:hover{transform:translateY(-2px)}
.btn-ink:hover{background:var(--c-rose);color:var(--c-white)}
.btn-line:hover{background:var(--c-ink);color:var(--c-cream)}
.btn-cream:hover{background:var(--c-white);color:var(--c-ink)}
.nl:hover::after{transform:scaleX(1)}
.pill:hover{transform:translateY(-1px)}
.sw:hover{transform:scale(1.08)}
.fl:hover{color:var(--c-rose)}
}
@media (prefers-reduced-motion:reduce){
.btn,.nl::after,.pill,.sw,.pv-tint{transition:none}
.btn:hover,.btn:active,.pill:hover,.pill:active,.sw:hover,.sw:active{transform:none}
}
@media (max-width:899px){
.wrap{padding-left:16px;padding-right:16px}
.navrow,.navl{display:none !important}
.build{grid-template-columns:minmax(0,1fr) !important;gap:32px !important}

.sws{grid-template-columns:repeat(6,40px);gap:10px}
.sw{width:40px;height:40px}
.shapes{grid-template-columns:repeat(3,minmax(0,1fr)) !important}
.inspo{grid-template-columns:minmax(0,1fr);padding:14px 14px 24px}
}

/* shape picker: 12 shapes, each with a little nail cut from the real render */
.shapes{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.shp{display:flex;flex-direction:column;align-items:center;gap:8px;min-height:104px;padding:14px 6px 12px;border-radius:18px;border:1px solid rgba(62,28,37,0.2);background:transparent;color:var(--c-ink);font-family:inherit;font-size:0.875rem;line-height:1.125rem;font-weight:600;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:transform 300ms cubic-bezier(0.32,0.72,0,1)}
.shp:active{transform:scale(0.96)}
.shp[aria-pressed="true"]{background:var(--c-ink);border-color:var(--c-ink);color:var(--c-cream)}
.shp i{display:block;width:32px;height:50px;background:currentColor;-webkit-mask-image:var(--m);mask-image:var(--m);-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-size:348px 268px;mask-size:348px 268px;-webkit-mask-position:-147px -29px;mask-position:-147px -29px}
.notes{display:block;width:100%;min-height:112px;padding:14px 16px;border-radius:16px;border:1px solid rgba(62,28,37,0.28);background:var(--c-paper);color:var(--c-ink);font-family:inherit;font-size:1rem;line-height:1.5rem;resize:vertical}
.notes::placeholder{color:var(--c-ink-soft)}
.swl{font-size:0.75rem;line-height:1rem;font-weight:600;letter-spacing:0.14em;text-transform:uppercase;color:var(--c-ink-soft);margin:2px 0 -4px}
.shp:focus-visible,.notes:focus-visible{outline:2px solid var(--c-rose);outline-offset:3px}
@media (hover:hover){.shp:hover{transform:translateY(-1px)}}
@media (prefers-reduced-motion:reduce){.shp{transition:none}.shp:hover,.shp:active{transform:none}}

/* smoother state changes (2026-10-23): colours fade instead of snapping; transforms keep their spring curve */
.btn{transition:transform 400ms cubic-bezier(0.32,0.72,0,1),background-color 200ms ease-out,color 200ms ease-out,border-color 200ms ease-out}
.pill,.cartbtn,.zx,.ht-x,.shp,.sk{transition:transform 300ms cubic-bezier(0.32,0.72,0,1),background-color 180ms ease-out,color 180ms ease-out,border-color 180ms ease-out}
.sw{transition:transform 300ms cubic-bezier(0.32,0.72,0,1),box-shadow 180ms ease-out}
@media (prefers-reduced-motion:reduce){.btn,.pill,.cartbtn,.zx,.ht-x,.shp,.sk{transition:background-color 180ms ease-out,color 180ms ease-out,border-color 180ms ease-out}.sw{transition:box-shadow 180ms ease-out}}
/* hand preview: a snapshot of the old picture fades out over the new one (no flash when the shape, length or skin changes) */
.pv-stack,.pv-snap{position:absolute;inset:0}
.pv-snap{pointer-events:none;transition:opacity 260ms cubic-bezier(0.2,0.8,0.2,1)}
.pv-snap.fade{opacity:0}
.pv-tint{transition:opacity 240ms ease-out,background-color 240ms ease-out}
/* set code box eases in the moment it's ready */
.codebox.reveal{animation:code-in 340ms cubic-bezier(0.2,0.8,0.2,1)}
@keyframes code-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:reduce){.pv-snap{transition:none}.codebox.reveal{animation:none}.pv-tint{transition:none}}
/* YouTube-style layout: big hand player on top, option boxes in a 12-column grid underneath */
.pvwrap{width:100%}
.build .pv{aspect-ratio:16 / 9;border-radius:28px}
.build .pv img{object-position:50% 0}
.build .pv-tint{-webkit-mask-size:cover;mask-size:cover;-webkit-mask-position:50% 0;mask-position:50% 0}
.pv-tag{left:24px;bottom:24px;font-size:0.9375rem;padding:9px 16px}
.pv-skin{position:absolute;right:20px;bottom:20px;display:flex;align-items:center;gap:6px;padding:6px 6px 6px 14px;border-radius:9999px;background:rgba(255,251,249,0.92)}
.pv-skin > span{font-size:0.8125rem;font-weight:600;color:var(--c-ink-soft);margin-right:4px}
.sk{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:6px 14px 6px 8px;border-radius:9999px;border:0;background:transparent;color:var(--c-ink);font-family:inherit;font-size:0.875rem;font-weight:600;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:transform 300ms cubic-bezier(0.32,0.72,0,1)}
.sk i{display:block;width:22px;height:22px;border-radius:9999px;box-shadow:inset 0 0 0 1px rgba(62,28,37,0.18)}
.sk[aria-pressed="true"]{background:var(--c-ink);color:var(--c-cream)}
.sk:active{transform:scale(0.96)}
.sk:focus-visible{outline:2px solid var(--c-rose);outline-offset:2px}
.titlerow{display:flex;align-items:flex-end;justify-content:space-between;gap:32px;padding:28px 4px 24px}
.boxes{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:20px;align-items:stretch}
.boxes .card{min-width:0}
.boxes .sws{grid-template-columns:repeat(6,40px);gap:12px}
.boxes .sw{width:40px;height:40px}
@media (hover:hover){.sk:hover{transform:translateY(-1px)}}
@media (prefers-reduced-motion:reduce){.sk{transition:none}.sk:hover,.sk:active{transform:none}}

/* how-to pop-up (fit guide): opens from the fit cards and from "My sizes" */
dialog.howto{width:min(880px,calc(100vw - 48px));max-height:calc(100vh - 48px);padding:0;border:0;border-radius:28px;background:var(--c-paper);color:var(--c-ink);box-shadow:0 0 0 1px rgba(62,28,37,0.08),0 32px 80px rgba(42,20,27,0.35);overflow:hidden}
dialog.howto::backdrop{background:rgba(42,20,27,0.48)}
.ht-in{position:relative;max-height:calc(100vh - 48px);overflow-y:auto;padding:36px 40px 32px}
.ht-in section{display:flex;flex-direction:column;gap:16px}
.ht-x{position:absolute;top:16px;right:16px;width:44px;height:44px;border-radius:9999px;border:0;background:var(--c-cream);color:var(--c-ink);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:transform 300ms cubic-bezier(0.32,0.72,0,1)}
.ht-pics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:4px 0}
.ht-pic{margin:0;display:flex;flex-direction:column;gap:8px}
.ht-pic svg{display:block;width:100%;height:auto;border-radius:18px}
.ht-pic figcaption{font-size:0.875rem;line-height:1.25rem;font-weight:600;text-align:center}
.ht-steps{margin:0;padding:0;list-style:none;counter-reset:st;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 24px}
.ht-steps li{counter-increment:st;position:relative;padding-left:40px;font-size:0.9375rem;line-height:1.4375rem;color:var(--c-ink-body)}
.ht-steps li strong{color:var(--c-ink)}
.ht-steps li::before{content:counter(st);position:absolute;left:0;top:0;width:28px;height:28px;border-radius:9999px;background:var(--c-ink);color:var(--c-cream);font-size:0.8125rem;font-weight:600;display:flex;align-items:center;justify-content:center}
.ht-table{width:100%;border-collapse:collapse;font-size:0.9375rem;line-height:1.375rem}
.ht-table th,.ht-table td{padding:10px 12px;text-align:left;border-bottom:1px solid rgba(62,28,37,0.12)}
.ht-table thead th{font-size:0.75rem;letter-spacing:0.12em;text-transform:uppercase;color:var(--c-ink-soft)}
.ht-table td{color:var(--c-ink-soft)}
.ht-actions{display:flex;gap:10px;padding-top:4px}
.linkbtn{border:0;background:none;padding:0;font:inherit;color:var(--c-ink);font-weight:600;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.ph-note{color:var(--c-ink);font-weight:600}
.ht-x:focus-visible,.linkbtn:focus-visible,.fitbtn:focus-visible{outline:2px solid var(--c-rose);outline-offset:3px}
@media (hover:hover){.ht-x:hover{transform:scale(1.06)}.linkbtn:hover{color:var(--c-rose)}}
@media (prefers-reduced-motion:reduce){.ht-x{transition:none}}
/* flash cards: the question card flips over, the answer pop-up flips in (transform + opacity only) */
.fits{perspective:1400px}
.fitbtn.fc-out{animation:fc-out 230ms cubic-bezier(0.55,0,1,0.45) forwards}
.fitbtn.fc-back{animation:fc-back 360ms cubic-bezier(0,0.55,0.45,1)}
.fitbtn.fc-hide{visibility:hidden}
@keyframes fc-out{to{transform:rotateY(90deg) scale(1.05);opacity:0.4}}
@keyframes fc-back{from{transform:rotateY(-90deg) scale(1.05);opacity:0.4}to{transform:none;opacity:1}}
dialog.howto[open]{animation:fc-in 380ms cubic-bezier(0.2,0.8,0.2,1)}
dialog.howto.fc-closing{animation:fc-close 230ms cubic-bezier(0.55,0,1,0.45) forwards}
dialog.howto[open]::backdrop{animation:fc-fade 300ms ease-out}
@keyframes fc-in{from{opacity:0;transform:perspective(1600px) rotateY(-90deg) scale(0.9)}to{opacity:1;transform:none}}
@keyframes fc-close{to{opacity:0;transform:perspective(1600px) rotateY(90deg) scale(0.9)}}
@keyframes fc-fade{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){.fitbtn.fc-out,.fitbtn.fc-back,dialog.howto[open],dialog.howto.fc-closing,dialog.howto[open]::backdrop{animation:none}}


/* zoom pop-ups (product, email, about, FAQ) + cart drawer: transform + opacity only */
.cartbtn{position:relative;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:9999px;border:1px solid rgba(62,28,37,0.28);background:transparent;color:var(--c-ink);cursor:pointer;text-decoration:none;transition:transform 300ms cubic-bezier(0.32,0.72,0,1)}

.nlb{border:0;background:none;font-family:inherit;cursor:pointer}
dialog.zm{padding:0;border:0;border-radius:28px;background:var(--c-paper);color:var(--c-ink);max-height:calc(100vh - 48px);box-shadow:0 0 0 1px rgba(62,28,37,0.08),0 32px 80px rgba(42,20,27,0.35);overflow:hidden}
dialog.zm::backdrop{background:rgba(42,20,27,0.48)}
dialog.zm[open]::backdrop{animation:zm-fade 280ms ease-out}
dialog.zm.zm-in{animation:zm-in 380ms cubic-bezier(0.2,0.8,0.2,1)}
dialog.zm.zm-out{animation:zm-out 220ms cubic-bezier(0.55,0,1,0.45) forwards}
@keyframes zm-in{from{opacity:0;transform:scale(0.3)}to{opacity:1;transform:none}}
@keyframes zm-out{to{opacity:0;transform:scale(0.3)}}
@keyframes zm-fade{from{opacity:0}to{opacity:1}}
.zm-in-box{position:relative;max-height:calc(100vh - 48px);overflow-y:auto}
.zx{position:absolute;top:16px;right:16px;z-index:2;width:44px;height:44px;border-radius:9999px;border:0;background:var(--c-cream);color:var(--c-ink);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:transform 300ms cubic-bezier(0.32,0.72,0,1)}
/* product quick view */
















/* email preview */
dialog.em{width:min(620px,calc(100vw - 48px))}
.em-box{display:flex;flex-direction:column;gap:16px;padding:36px 40px 32px}
.em-row{display:grid;grid-template-columns:72px minmax(0,1fr);gap:12px;padding:10px 0;border-bottom:1px solid rgba(62,28,37,0.12);font-size:0.9375rem;line-height:1.375rem}
.em-row span:first-child{color:var(--c-ink-soft);font-weight:600}
.em-field{display:flex;flex-direction:column;gap:8px}
.em-field label{color:var(--c-ink-soft);font-weight:600;font-size:0.9375rem;line-height:1.375rem}
.em-msg{display:block;width:100%;box-sizing:border-box;margin:0;padding:14px 16px;border:1px solid rgba(62,28,37,0.16);border-radius:16px;background:var(--c-cream);color:var(--c-ink);font:inherit;font-size:1rem;line-height:1.5rem;min-height:150px;resize:vertical;transition:border-color .16s ease}
.em-msg:hover{border-color:rgba(62,28,37,0.32)}
.em-msg:focus-visible{outline:2px solid var(--c-rose);outline-offset:2px;border-color:var(--c-rose)}
/* about + FAQ */
dialog.info{width:min(860px,calc(100vw - 48px))}
.info-box{display:flex;flex-direction:column;gap:18px;padding:40px 44px 36px}
.about{display:grid;grid-template-columns:240px minmax(0,1fr);gap:32px;align-items:center}
.about img{display:block;width:100%;height:300px;object-fit:cover;border-radius:20px}
.faq-i{border-bottom:1px solid rgba(62,28,37,0.14)}
.faq-i summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:60px;padding:8px 0;font-family:'Gloock',Georgia,serif;font-size:1.3125rem;line-height:1.75rem}
.faq-i summary::-webkit-details-marker{display:none}
.faq-i summary::after{content:"+";font-family:'DM Sans',sans-serif;font-size:1.5rem;transition:transform 300ms cubic-bezier(0.32,0.72,0,1)}
.faq-i[open] summary::after{transform:rotate(45deg)}
.faq-i p{margin:0;padding:0 40px 18px 0;font-size:1rem;line-height:1.625rem;color:var(--c-ink-body)}
/* cart drawer */



@keyframes dr-in{from{transform:translateX(100%)}to{transform:none}}
@keyframes dr-out{to{transform:translateX(100%)}}











.zx:focus-visible,.cartbtn:focus-visible,.nlb:focus-visible,.faq-i summary:focus-visible{outline:2px solid var(--c-rose);outline-offset:3px}
@media (hover:hover){.cartbtn:hover,.zx:hover{transform:scale(1.06)}.faq-i summary:hover{color:var(--c-rose)}}
@media (prefers-reduced-motion:reduce){dialog.zm.zm-in,dialog.zm.zm-out,dialog.zm[open]::backdrop{animation:none}.cartbtn,.zx,.faq-i summary::after{transition:none}}

/* =====================================================================
   SHARED LAYER: identical in Main, Shop and Custom.
   On WordPress this becomes the theme's main stylesheet (tokens + phone).
   1. Colour tokens   2. Phone header + Menu   3. Pop-ups on phones
   4. Small fixes from the 2026-10-23 interface review
   Breakpoints (picked from the content, same everywhere):
     max-width 1023px  "compact": header switches to Menu + cart
     max-width  899px  "stack":   page sections go one column
     max-width  599px  "phone":   tighter padding, smaller headings
   ===================================================================== */
/* 1. Colour tokens (use these names in the WordPress theme / Tailwind @theme) */
:root,.cb{
--c-ink:#3E1C25;        /* main text, dark buttons */
--c-ink-soft:#75505A;   /* secondary text, hints (6.7:1 on paper) */
--c-ink-body:#5E3E47;   /* pop-up body text */
--c-rose:#A3405C;       /* accent: headline line 2, focus ring, hover fill, badge */
--c-rose-light:#F2B7C6; /* accent on dark boxes */
--c-blush:#EAD7D1;      /* page background */
--c-blush-light:#F3DFD9;/* stacked-card edge */
--c-cream:#F6ECE8;      /* soft panels, text on dark */
--c-paper:#FFFBF9;      /* cards and pop-ups */
--c-white:#FFFFFF;
--c-night:#3B2A30;      /* dark picture backgrounds */
}
/* 2. Header: below 1024px the logo, cart and a Menu button share one row
      (WordPress: header template part + navigation block "overlay menu") */
.mnav{display:none;position:relative}
.mnav summary{list-style:none;cursor:pointer;display:inline-flex;align-items:center;min-height:44px;padding:8px 16px;border-radius:9999px;border:1px solid var(--c-ink);color:var(--c-ink);font-weight:600;-webkit-tap-highlight-color:transparent;transition:background-color 180ms ease-out,color 180ms ease-out}
.mnav summary::-webkit-details-marker{display:none}
.mnav[open] .mpanel{display:flex}
.mpanel{display:none;position:absolute;right:0;top:56px;z-index:30;flex-direction:column;gap:4px;min-width:230px;padding:16px 20px;background:var(--c-paper);border:1px solid transparent;border-radius:20px;box-shadow:0 0 0 1px rgba(62,28,37,0.10),0 24px 48px rgba(62,28,37,0.14)}
.mpanel .nl{text-align:left}
.mnav summary:focus-visible{outline:2px solid var(--c-rose);outline-offset:3px}
@media (hover:hover){.mnav summary:hover{background:var(--c-ink);color:var(--c-cream)}}
@media (max-width:1023px){
.cb .navl,.cb .navrow,.cb .navr .btn{display:none !important}
.cb .mnav{display:block}
.cb .bar{grid-template-columns:minmax(0,1fr) auto auto !important;gap:8px !important;padding:14px 0 !important;border-bottom:1px solid rgba(62,28,37,0.14)}
.cb .brand{text-align:left !important;font-size:clamp(1rem,5.5vw,1.625rem) !important;line-height:1.2 !important}
}

/* 3. Pop-ups and the cart on small screens (quick view, About/FAQ, email, fit how-to) */
.zm-in-box,.ht-in,.dr-items{overscroll-behavior:contain}
.tbl{overflow-x:auto;overscroll-behavior-x:contain}
@media (max-width:899px){
dialog.zm,dialog.howto{width:calc(100vw - 24px);max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px)}
.zm-in-box,.ht-in{max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px)}
.qv-grid,.about{grid-template-columns:minmax(0,1fr)}
.qv-ph{min-height:0}
.qv-ph img{height:auto;max-height:none;aspect-ratio:4 / 3}
.about img{height:240px}
.ht-steps{grid-template-columns:minmax(0,1fr) !important}
}
@media (max-width:599px){
.qv-info,.info-box,.em-box,.ht-in{padding:28px 20px 24px}
.qv-name{font-size:2.125rem;line-height:2.375rem}
.zx,.ht-x{top:10px;right:10px}
.ht-pics{gap:8px}
.ht-actions{flex-wrap:wrap}
.toast{flex-wrap:wrap;justify-content:center;max-width:calc(100vw - 24px);border-radius:24px}
.em-row{grid-template-columns:64px minmax(0,1fr)}
.em-row span{overflow-wrap:anywhere}
.ht-table th,.ht-table td{padding:8px 10px}
}

/* 4. Helpers */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* 5. Finishing touches: text selection, caret, steady numbers, link states, footer on phones */
::selection{background:var(--c-rose);color:var(--c-white)}
textarea,input{caret-color:var(--c-rose)}
.qty span,.cartbtn .badge,.pprice,.qv-price,.ht-table td,[data-cart-count]{font-variant-numeric:tabular-nums}
.linkbtn{text-underline-offset:3px}
.linkbtn:focus-visible,.pnbtn:focus-visible,.fl:focus-visible{outline:2px solid var(--c-rose);outline-offset:3px}
@media (hover:hover){.linkbtn:hover,.pnbtn:hover,.fl:hover{color:var(--c-rose)}}
@media (max-width:599px){
footer nav{display:grid !important;grid-template-columns:repeat(2,max-content);column-gap:32px !important;row-gap:0 !important}
}
/* ===================== end of shared layer ===================== */

/* ---------- Custom only: small screens, option boxes stack under the hand ---------- */
@media (max-width:899px){
.boxes{grid-template-columns:minmax(0,1fr);gap:16px}
.boxes > *{grid-column:1 / -1 !important}
.titlerow{flex-direction:column;align-items:flex-start;gap:16px;padding:24px 0 20px}
.build .pv{aspect-ratio:1360 / 1047;border-radius:24px}
.boxes .sws{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;max-width:336px}
.boxes .sw{width:100%;height:auto;aspect-ratio:1 / 1}
.pv-tag{left:12px;top:12px;bottom:auto;font-size:0.8125rem;padding:6px 12px}
.pv-skin{right:12px;bottom:12px;padding:4px;gap:4px}
.pv-skin > span{display:none}
.sk{min-width:44px;min-height:44px;padding:0;justify-content:center}
.sk .skn{display:none}
}
@media (max-width:599px){
/* phones: the hand preview goes edge to edge and bigger, the title shrinks to one line */
.build{padding-top:0 !important}
.pvwrap{width:auto;margin:0 -16px}
.build .pv{aspect-ratio:20 / 19;border-radius:0;box-shadow:none}
.titlerow{padding:16px 0 12px;gap:6px}
.titlerow > div:last-child{display:none !important}
.titlerow h1{font-size:1.875rem !important;line-height:2.5rem !important}
.cb .titlerow .hl .hl1,.cb .titlerow .hl .hl2{display:inline}
.card{padding:20px}
.shapes{gap:8px}
.shp{font-size:0.8125rem;padding:12px 4px 10px}
}


/* shared footer (2026-10-23) */
.ftr{display:flex;flex-direction:column;gap:40px;padding-top:56px;padding-bottom:40px;border-top:1px solid rgba(62,28,37,0.14)}
.ftr-top{display:grid;grid-template-columns:1.5fr repeat(3,minmax(0,1fr));gap:40px}
.ftr-brand{display:flex;flex-direction:column;gap:14px}
.ftr-soc{display:flex;gap:20px}
.ftr h3{margin:0 0 14px;font-size:13px;line-height:20px;font-weight:600;letter-spacing:0.16em;text-transform:uppercase;color:#75505A}
.ftr ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}
.ftr ul .fl{padding:4px 0}
.ftr-bot .fl,.ftr-soc .fl{padding:0}
.ftr-bot{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px 28px;padding-top:24px;border-top:1px solid rgba(62,28,37,0.1);font-size:14px;line-height:20px;color:#75505A}
/* footer rule lines up with the content edges, like the header rules */
.ftr{border-top:0;position:relative}
.ftr::before{content:"";position:absolute;top:0;left:40px;right:40px;height:1px;background:rgba(62,28,37,0.14)}
@media (max-width:899px){.ftr::before{left:16px;right:16px}}
/* footer on tablets and phones */
@media (max-width:899px){.ftr-top{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 24px}.ftr-brand{grid-column:1 / -1}}
@media (max-width:599px){.ftr{gap:28px;padding-top:40px}.ftr-bot{flex-direction:column;align-items:flex-start;gap:8px}}
/* the one footer link that is a button matches its neighbours */
.ftr button.fl{font-size:15px;line-height:20px}
.ftr button.fl{border:0;background:none;padding:4px 0;font:inherit;font-size:15px;line-height:20px;color:#3E1C25;cursor:pointer;text-align:left}

@media (min-width:900px) and (max-width:1365px){.boxes .sws{grid-template-columns:repeat(6,minmax(0,40px));gap:clamp(6px,0.8vw,12px)}.boxes .sws .sw{width:100%;height:auto;aspect-ratio:1/1}}


/* WordPress: tablet and phone layouts (the canvas has these pages at desktop size only) */
.em-row span{overflow-wrap:break-word;word-break:normal}
/* in a pop-up taller than the screen, the round X stays in the top corner while the inside scrolls */
.zm-in-box,.ht-in{position:static}
/* touch screens: small text links get a finger-sized tap area (44px tall) without moving anything */
@media (pointer:coarse){
.linkbtn,.hint a{position:relative}
.linkbtn::before,.hint a::before{content:"";position:absolute;left:-4px;right:-4px;top:50%;height:44px;transform:translateY(-50%)}
}

/* laptops: the hand fits on screen with the title under it (no cropping, same shape) */
@media (min-width:900px){.pvwrap{max-width:calc((100vh - 190px) * 16 / 9);max-width:calc((100svh - 190px) * 16 / 9);margin-inline:auto}}
/* in-between widths: long shape names stay inside their tiles */
@media (min-width:900px) and (max-width:1199px){.shp{font-size:0.75rem;padding-left:2px;padding-right:2px;overflow-wrap:anywhere}}
/* phones: the hand stays pinned at the top while you pick, so every choice shows on it */
@media (max-width:599px){
.pvwrap{position:sticky;top:0;z-index:4}
.build .pv{aspect-ratio:auto;height:min(42vh,95vw);height:min(42svh,95vw)}
}
@media (max-width:599px) and (max-height:560px){.pvwrap{position:static}.build .pv{height:auto;aspect-ratio:20 / 19}}
