/* ai-peptides.com storefront overhaul, design system
   Locked to config/brand.yaml: do NOT drift the palette.
   Look: The Ordinary / Rhode minimalism, warm canvas, with a restrained
   Apple "liquid glass" layer on 3 surfaces only (header, proof card, sticky buy bar).
   Built for speed: one stylesheet, no framework, vanilla JS, lazy media, no layout shift. */

/* Montserrat, self-hosted: single variable woff2 (latin subset) covers 400-700,
   replacing the Google Fonts CDN request chain. Preloaded in header.php. */
@font-face{
  font-family:'Montserrat';
  font-style:normal;
  font-weight:400 700;
  font-display:swap;
  src:url(../assets/fonts/montserrat-latin-var.woff2) format('woff2');
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root{
  /* --- Locked brand palette: QR Collagen style guide (mirrors config/brand.yaml). Six values:
     White / Black / Nude / Blush / Sienna / Rose-gold foil. Sienna is the ONLY accent; Black carries
     links, badges and prices (Sienna fails contrast on light). No copper-deep, no green, no peach accent. --- */
  --ink:#171717;            /* screen ink */
  --text:#171717CC;         /* body text */
  --muted:#171717A8;        /* secondary text (AA: ~4.6:1 on canvas) */
  --rule:#1717171A;         /* hairline rules */
  --line:#17171712;         /* softer hairline */
  --paper:#FFFFFF;
  --canvas:#FCF9F8;         /* soft off-white canvas */
  --accent:#C68F79;         /* Sienna, the ONLY accent (QR lock) */
  --blush:#D9C9BD;          /* Blush (QR lock) */
  --accent-deep:var(--ink); /* was #985236 copper-deep, removed as off-palette drift; now Black so small accent text/links/badges stay legible (Sienna fails contrast on light) */
  --tint:#FAF1ED;           /* soft warm emphasis (Nude tint) */
  --tint-2:#FDF8F6;         /* Nude tint */
  --peach:#EADFD5;          /* warm tile glow, a Blush tint (imagery only, per QR warm-peachy direction) */
  --warm-edge:#EADBD3;      /* Blush edge tint */

  /* --- 2026-08 redesign chrome tokens (approved homepage-draft prototype) --- */
  --accent-text:#8F5741;   /* warm accent for links, eyebrows, focus ring */
  --band:#f6ece5;          /* tint band background (bundle, chips, active tab) */
  --body-warm:#524b45;     /* editorial body copy */
  --headh:60px;            /* header row-1 height; searchbar/mobmenu sticky offset */

  --stock:#7D8A3A;         /* stock-state dot/label, PDP v2 (approved pdp-draft 2026-08-13).
                              Deliberate exception to the "no green" QR note above: Sophie
                              approved the preview carrying it; scoped to .pdp/.ptile only. */
  --radius:18px;
  --radius-sm:12px;
  --shadow:0 1px 2px rgba(23,23,23,.05), 0 10px 34px rgba(120,80,60,.07);
  --shadow-sm:0 1px 2px rgba(23,23,23,.05);

  /* --- Liquid glass material (Apple-style, floating, borderless) --- */
  --glass-brd:rgba(255,255,255,.72);
  --glass-float:0 2px 4px rgba(120,80,60,.06), 0 22px 44px -16px rgba(120,80,60,.30), 0 50px 96px -40px rgba(120,80,60,.22);
  --glass-inner:inset 0 1px 0 rgba(255,255,255,.92), inset 0 0 0 1px rgba(255,255,255,.14);
}

.glass{
  position:relative;
  background:linear-gradient(157deg, rgba(255,255,255,.80), rgba(255,255,255,.56));
  -webkit-backdrop-filter:blur(26px) saturate(1.9);
  backdrop-filter:blur(26px) saturate(1.9);
  border:0;
  box-shadow:var(--glass-inner);
}
/* Fallback where backdrop-filter is unsupported: solid, never a see-through mess */
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){
  .glass{ background:rgba(255,255,255,.95); }
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  font-family:Montserrat,system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
  color:var(--ink);background:var(--canvas);line-height:1.5;font-weight:400;
  -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
.wrap{max-width:1280px;margin:0 auto;padding:0 22px}

/* ---- announce bar: white, two offers (redesign) ---- */
.announce{background:#fff;text-align:center;font-size:12px;font-weight:500;padding:10px 14px;color:var(--ink)}
.announce b{font-weight:600}
.announce .sep{color:var(--accent-text);padding:0 8px}

/* ---- header: two rows (redesign, Revolve pattern). Row 1 utility + search, row 2 flat categories ---- */
header{position:-webkit-sticky;position:sticky;top:0;z-index:40;border:0}
/* sticky must be re-asserted here: .glass sets position:relative and outranks the header{} element
   selector by specificity, which silently un-stuck the header. header.glass (0,1,1) wins. */
header.glass{position:-webkit-sticky;position:sticky;top:0;border-radius:0;background:rgba(252,249,248,.96);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:none}
.bar{display:flex;align-items:center;justify-content:space-between;gap:16px;height:60px}
.brand img{height:28px;width:auto;display:block}
.util{display:none;gap:24px;font-size:13px;font-weight:500;color:var(--muted);align-items:center}
.util a:hover{color:var(--ink)}
.acct{position:relative}
.acct .signin{display:inline-flex;align-items:center;gap:5px;font-size:13.5px;font-weight:600;color:var(--ink);padding:9px 12px;border-radius:50px}
.acct .signin:hover{background:#fff}
.acct::after{content:"";position:absolute;top:100%;left:-16px;right:-16px;height:14px}
.acctmenu{position:absolute;top:calc(100% + 10px);right:-10px;min-width:210px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 18px 50px rgba(35,32,30,.14);padding:8px;opacity:0;visibility:hidden;transform:translateY(-4px);transition:opacity .14s,transform .14s,visibility .14s;z-index:60}
.acct:hover .acctmenu,.acct:focus-within .acctmenu,.acct.open .acctmenu{opacity:1;visibility:visible;transform:translateY(0)}
.acctmenu a{display:block;padding:10px 12px;border-radius:9px;font-size:13px;color:var(--ink);font-weight:500}
.acctmenu a:hover{background:var(--canvas);color:var(--accent-text)}
.acctmenu .cta{border-top:1px solid var(--line);margin-top:6px;padding-top:12px;font-weight:600}
.headsearch{display:none;flex:1;max-width:420px;margin:0 16px}
.headsearch .hs{display:flex;align-items:center;gap:9px;width:100%;border:1px solid var(--rule);border-radius:50px;background:#fff;padding:0 16px;height:40px}
.headsearch input{flex:1;border:none;outline:none;font-family:inherit;font-size:13px;background:transparent;color:var(--ink)}
.headsearch .si{font-size:13px;color:var(--muted)}
.icons{display:flex;align-items:center;gap:8px}
.icon-btn{position:relative;width:40px;height:40px;border-radius:50%;border:none;background:transparent;display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:17px;font-family:inherit;color:var(--ink)}
.icon-btn:hover{background:#fff}
.cartcount{position:absolute;top:2px;right:0;background:var(--ink);color:#fff;font-size:9px;font-weight:700;min-width:16px;height:16px;border-radius:8px;display:flex;align-items:center;justify-content:center;padding:0 4px}
.catnav{display:none;border-top:1px solid var(--line)}
.catnav .wrap{display:flex;gap:34px;justify-content:center;align-items:center;height:46px}
.catnav a{font-size:15.5px;font-weight:600;color:var(--ink);letter-spacing:.01em;border-bottom:2px solid transparent;padding:12px 0 10px}
.catnav a:hover{border-color:var(--ink)}
.catnav a.quiet{font-weight:500;color:var(--muted);font-size:13.5px}
.catnav a.quiet:hover{color:var(--ink);border-color:var(--muted)}
@media(min-width:900px){:root{--headh:106px}.catnav{display:block}.util{display:flex}}
@media(min-width:1080px){.headsearch{display:flex}.icons .searchtoggle{display:none}}
/* minimal chrome: checkout-class routes */
header.minimal .bar{justify-content:space-between}
header.minimal .minline{font-size:13px;font-weight:600;color:var(--muted);letter-spacing:.02em}
header.minimal .minhelp{font-size:13px;font-weight:600;color:var(--ink)}
header.minimal .minhelp:hover{color:var(--accent-text)}
footer.minimal{margin-top:44px;padding:24px 0;border-top:1px solid var(--rule);background:var(--canvas)}
:focus-visible{outline:2px solid var(--accent-deep);outline-offset:2px}
.searchinner input:focus-visible{outline:2px solid var(--accent-deep);outline-offset:2px}

.crumb{font-size:12px;color:var(--muted);padding:16px 0 4px;font-weight:500}
.crumb a:hover{color:var(--ink)}

/* ---- product layout ---- */
.product{display:grid;grid-template-columns:1fr;gap:22px;padding:6px 0 30px}
.gallery{background:radial-gradient(140% 110% at 72% 8%,var(--peach) 0%,#F1E7E0 58%,#EEE8E3 100%);border-radius:var(--radius);padding:18px;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden}
.gallery::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 22% 82%,rgba(255,255,255,.32),transparent 42%),radial-gradient(circle at 84% 26%,rgba(255,255,255,.26),transparent 38%);pointer-events:none}
.gallery img{width:auto;max-height:300px;filter:drop-shadow(0 16px 24px rgba(120,75,52,.18))}
.zoom{position:absolute;top:14px;right:14px;width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.7);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;font-size:15px;z-index:2}

/* ---- buy column ---- */
.buy{display:flex;flex-direction:column;gap:15px;position:relative}
h1{font-size:36px;font-weight:700;line-height:1.08;letter-spacing:-.01em}
.sub{color:var(--muted);font-size:15px;font-weight:400;margin-top:3px}
.pricerow{display:flex;align-items:baseline;gap:12px;margin-top:2px;flex-wrap:wrap}
.price{font-size:30px;font-weight:600;color:var(--ink)}
.price small{font-size:14px;font-weight:500;color:var(--muted)}
.stock{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-size:12.5px;font-weight:600}
.stock .d{width:6px;height:6px;border-radius:50%;background:var(--accent)}

/* ---- PROOF / COA card (GLASS, the engineered peak) ---- */
.proofground{position:relative;border-radius:calc(var(--radius) + 5px);padding:8px}
.proofground::before{content:"";position:absolute;inset:0;border-radius:inherit;z-index:0;background:
  radial-gradient(130% 150% at 0% 0%, var(--peach), transparent 60%),
  radial-gradient(130% 150% at 100% 100%, var(--warm-edge), transparent 54%),
  radial-gradient(85% 95% at 50% 122%, rgba(198,143,121,.20), transparent 60%),
  var(--tint-2);}
.proof{position:relative;z-index:1;border-radius:var(--radius);padding:18px;display:flex;flex-direction:column;gap:12px;
  box-shadow:var(--glass-inner), var(--glass-float)}
.proof::before{content:"";position:absolute;inset:0;border-radius:inherit;padding:1px;pointer-events:none;z-index:3;
  background:linear-gradient(150deg, rgba(255,255,255,.98), rgba(255,255,255,.30) 46%, rgba(198,143,121,.30));
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite:xor; mask-composite:exclude;}
.proof-head{display:flex;align-items:center;gap:9px}
.proof-seal{width:30px;height:30px;border-radius:9px;background:var(--accent);color:#fff;display:flex;align-items:center;justify-content:center;font-size:15px;flex-shrink:0;box-shadow:0 4px 10px rgba(152,82,54,.28)}
.proof-head b{font-size:13.5px;font-weight:700;letter-spacing:.005em;display:block;line-height:1.2}
.proof-head small{font-size:11.5px;color:var(--muted);font-weight:500}
.proof-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px 14px}
.pf{display:flex;flex-direction:column;gap:1px}
.pf .k{font-size:10.5px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--muted)}
.pf .v{font-size:13.5px;font-weight:600;color:var(--ink)}
.proof-cta{display:inline-flex;align-items:center;gap:7px;align-self:flex-start;font-size:12.5px;font-weight:700;color:var(--accent-deep);padding:8px 13px;border-radius:50px;background:rgba(255,255,255,.6);border:1px solid var(--glass-brd)}
.proof-cta:hover{background:#fff}
/* PROOF/COA pending state (products without a real batch COA on file): the single "issued per
   batch" line spans the grid, and the "available on request" pill is informational, not a link. */
.proof-grid .pf-pending{grid-column:1/-1}
.proof-cta-pending{cursor:default}
.proof-cta-pending:hover{background:rgba(255,255,255,.6)}

.size{display:flex;gap:8px}
.size .opt{border:1.5px solid var(--ink);color:var(--ink);background:var(--paper);font-weight:600;font-size:13px;padding:8px 14px;border-radius:10px}

/* ---- tier pricing: v2 compact 4-up ladder lives in the PDP v2 fence at the
        end of this file (.pdp .tiers/.tier); the old radio-row ladder was
        removed with the 2026-08 PDP rebuild. ---- */

/* ---- add to cart ---- */
.actions{display:flex;gap:10px;align-items:stretch}
.stepper{display:flex;align-items:center;border:1.5px solid var(--rule);border-radius:12px;background:var(--paper);overflow:hidden}
.stepper button{width:44px;height:56px;border:none;background:var(--paper);font-size:20px;cursor:pointer;color:var(--ink)}
.stepper button:hover{background:var(--tint)}
.stepper input{width:42px;height:56px;border:none;text-align:center;font-family:inherit;font-size:16px;font-weight:600;color:var(--ink)}
.addcart{flex:1;min-height:56px;border:none;border-radius:50px;background:var(--ink);color:#fff;font-weight:600;font-size:15.5px;letter-spacing:.01em;cursor:pointer;box-shadow:0 8px 22px rgba(23,23,23,.18);transition:transform .12s,background .12s}
.addcart:hover{background:#000;transform:translateY(-1px)}

/* ---- payment row ---- */
.paywrap{display:flex;flex-direction:column;gap:8px;margin-top:2px}
.secure{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--muted);font-weight:600}
/* ===== LOCKED payment-card structure (home, PDP, checkout, shipping) =====
   ONE structure everywhere: a .paybadges flex row of .paybadge > img.
   - transparent, never a white tile.
   - sized by a consistent HEIGHT (12px, locked with Sophie 2026-06-18) with natural aspect, so wide marks are not flattened.
   - use the compact assets/payment/amexsym.webp, NEVER the wide amex.svg wordmark (15.7:1).
   - do NOT put width/height attrs on these imgs (they force a wrong ratio and squash the logo). */
.paybadges{display:flex;align-items:center;gap:11px;flex-wrap:wrap}
.paybadge{display:inline-flex;align-items:center;background:transparent;border:none;box-shadow:none}
.paybadge img{height:12px;width:auto;display:block;background:transparent}

/* multi-COA (bundles): stacked View COA buttons in the proof card / research note */
.proof-cta+.proof-cta{margin-top:8px}
.rnote-cta+.rnote-cta{margin-left:14px}

/* ---- trust badges ---- */
.trustbadges{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.tb{display:flex;align-items:center;gap:10px;background:var(--paper);border:1px solid var(--rule);border-radius:12px;padding:12px}
.tb .ic{width:34px;height:34px;border-radius:10px;background:var(--tint);color:var(--accent-deep);display:flex;align-items:center;justify-content:center;font-size:15px;flex-shrink:0}
.tb b{font-size:12.5px;font-weight:600;display:block;line-height:1.2}
.tb small{font-size:11px;color:var(--muted)}

/* ---- content blocks ---- */
section.block{background:var(--paper);border:1px solid var(--rule);border-radius:var(--radius);padding:24px;margin:16px 0;box-shadow:var(--shadow)}
.block h2{font-size:20px;font-weight:700;color:var(--ink);margin-bottom:12px;letter-spacing:-.01em}
.block p{color:var(--text);font-size:14.5px;margin-bottom:10px;line-height:1.6}
.block p:last-child{margin-bottom:0}

.details{margin-top:14px}
.drow{display:grid;grid-template-columns:140px 1fr;gap:14px;padding:11px 0;border-bottom:1px solid var(--line)}
.drow:last-child{border-bottom:none}
.dk{font-size:12.5px;font-weight:600;color:var(--muted);padding-top:1px}
.dv{font-size:14px;color:var(--text);font-weight:500;line-height:1.5}

/* ---- bundle PDP: gallery component row, set-saving line, what's-inside grid ---- */
.gallery .galset{display:flex;align-items:center;justify-content:center;gap:16px;position:relative;z-index:1;flex-wrap:nowrap}
.gallery .galset img{max-height:262px;width:auto;filter:drop-shadow(0 16px 24px rgba(120,75,52,.18))}
.gallery .galset.g3 img{max-height:212px}
.gallery .galset.g4 img{max-height:172px}
.setsave{font-size:13px;color:var(--muted);margin-top:-6px}
.setsave b{color:var(--accent-deep);font-weight:700}
.inside{display:grid;grid-template-columns:repeat(auto-fill,minmax(116px,1fr));gap:12px;margin-top:14px}
.incard{border:1px solid var(--rule);border-radius:12px;padding:10px;background:var(--paper)}
.incard .iph{width:100%;aspect-ratio:1;background:radial-gradient(120% 90% at 70% 20%,var(--peach),#EFE7E1);border-radius:8px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.incard .iph img{height:86%;width:auto;filter:drop-shadow(0 8px 12px rgba(120,75,52,.2))}
.incard .inm{font-weight:600;font-size:12.5px;color:var(--ink);margin-top:9px;line-height:1.25;text-align:center}
a.incard{transition:border-color .12s,box-shadow .12s}
a.incard:hover{border-color:var(--accent);box-shadow:var(--shadow)}
/* Bundle PDP left column: gallery + trust badges stack together so the badges sit right under
   the hero (no stretched-row gap from the tall buy column). */
.pcol{display:flex;flex-direction:column;gap:16px}
.product.bundlepdp .gallery{position:static}
@media(min-width:860px){
  .product.bundlepdp{grid-template-columns:1.05fr 1fr;grid-template-areas:none;gap:18px 40px;align-items:start}
  /* hero + badges stick together and travel down to fill the space on scroll, like the single PDP gallery */
  .product.bundlepdp .pcol{grid-column:1;grid-row:1;position:-webkit-sticky;position:sticky;top:84px;align-self:start}
  .product.bundlepdp .buy{grid-column:2;grid-row:1}
}
/* PDP price saving, matches the category card: bold price + accent Save chip */
.pricesave{display:inline-flex;align-items:center;font-size:11px;font-weight:700;color:var(--accent-deep);background:var(--tint);border-radius:50px;padding:4px 11px;letter-spacing:.02em}

/* ---- research studies ---- */
.rintro{color:var(--text);font-size:14.5px;margin-bottom:14px;line-height:1.6}
.studies{display:flex;flex-direction:column;gap:10px}
.studygroup{font-size:13px;font-weight:700;color:var(--ink);margin:14px 0 2px}
.studies .studygroup:first-child{margin-top:0}
.study{display:block;border:1px solid var(--rule);border-radius:12px;padding:14px;background:var(--paper);transition:border-color .12s,box-shadow .12s}
.study:hover{border-color:var(--accent);box-shadow:var(--shadow)}
.study .stag{display:inline-block;font-size:10.5px;font-weight:700;letter-spacing:.03em;text-transform:uppercase;color:var(--accent-deep);background:var(--tint);padding:3px 8px;border-radius:50px;margin-bottom:8px}
.study .stitle{display:block;font-weight:700;font-size:14.5px;color:var(--ink);line-height:1.3;margin-bottom:4px}
.study .smeta{display:block;font-size:12px;color:var(--muted);font-weight:500;margin-bottom:6px}
.study .stake{display:block;font-size:13px;color:var(--text);line-height:1.5;margin-bottom:8px}
.study .slink{font-size:12.5px;font-weight:700;color:var(--accent-deep)}
.study:hover .slink{text-decoration:underline}
.studies-more.hidden{display:none}
.studies-more{display:flex;flex-direction:column;gap:10px}
.showall{margin-top:12px;width:100%;height:48px;border:1.5px solid var(--rule);background:var(--paper);color:var(--ink);font-family:inherit;font-weight:600;font-size:14px;border-radius:50px;cursor:pointer}
.showall:hover{background:var(--tint)}
.rfine{font-size:11.5px;color:var(--muted);margin-top:14px;line-height:1.6}
.rmini{font-size:13px;color:var(--muted);line-height:1.55;margin:0 0 4px;padding:2px 0}
.rnote{background:var(--tint-2);border-radius:14px;padding:16px 18px;display:flex;flex-direction:column;gap:9px;margin:4px 0}
.rnote p{margin:0;font-size:14px;color:var(--text);font-weight:500;line-height:1.55}
.rnote-cta{align-self:flex-start;font-size:13px;font-weight:700;color:var(--accent-deep)}
.rnote-cta:hover{text-decoration:underline}
.foot-addr{font-size:12px;color:var(--muted);margin-top:6px;line-height:1.5}

/* COA lightbox: replaced by the v2 .coaoverlay document popup (PDP v2 fence). */

/* Product image zoom: the .zoom magnifier (and the gallery) open a click-to-enlarge lightbox. */
.zoom{cursor:zoom-in}
.gallery[role="button"]{cursor:zoom-in}
.img-modal{position:fixed;inset:0;z-index:120;display:none}
.img-modal.open{display:block}
.img-backdrop{position:absolute;inset:0;background:rgba(40,28,22,.62);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}
.img-dialog{position:relative;margin:4vh auto;max-width:min(92vw,720px);display:flex;align-items:center;justify-content:center}
.img-dialog img{max-width:100%;max-height:88vh;width:auto;height:auto;object-fit:contain;border-radius:14px;filter:drop-shadow(0 24px 60px rgba(40,28,22,.5))}
.img-close{position:absolute;top:-6px;right:-6px;width:40px;height:40px;border-radius:50%;border:none;background:#fff;color:var(--ink);font-size:24px;line-height:1;cursor:pointer;font-family:inherit;box-shadow:0 6px 18px -6px rgba(40,28,22,.5)}
.img-close:hover{background:var(--tint)}
@media(max-width:560px){.img-dialog{max-width:94vw;margin:8vh auto}.img-close{top:4px;right:4px}}

/* ---- Liquid glass extensions: hero image, tier pricing, similar cards, + hover shine ---- */
.gallery{box-shadow:inset 0 1px 0 rgba(255,255,255,.85), inset 0 0 0 1px rgba(255,255,255,.34), 0 20px 46px -18px rgba(120,80,60,.30)}
.card{position:relative;overflow:hidden;background:linear-gradient(157deg, rgba(255,255,255,.93), rgba(255,255,255,.78));border:1px solid rgba(255,255,255,.7);box-shadow:var(--glass-inner)}
/* specular shine sweep on hover */
.gallery::before,.card::after{content:"";position:absolute;top:-15%;left:-85%;width:55%;height:130%;background:linear-gradient(100deg, transparent, rgba(255,255,255,.6) 50%, transparent);transform:skewX(-16deg);transition:left .7s cubic-bezier(.22,.61,.36,1);pointer-events:none;z-index:6}
.gallery:hover::before,.card:hover::after{left:145%}
@media(prefers-reduced-motion:reduce){.gallery::before,.card::after{transition:none}}

/* ---- Email capture: footer band ---- */
.capband{background:linear-gradient(157deg,var(--tint-2),var(--tint));border-top:1px solid var(--rule);border-bottom:1px solid var(--rule)}
.capband .wrap{display:flex;flex-wrap:wrap;align-items:center;gap:16px 30px;padding:26px 20px}
.capband .ct{flex:1;min-width:240px}
.capband .ct .eyebrow{font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--accent-deep);margin-bottom:5px}
.capband .ct b{display:block;font-size:18px;font-weight:600;letter-spacing:-.01em}
.capband .ct span{display:block;font-size:13px;color:var(--text);margin-top:3px;max-width:48ch;line-height:1.5}
.capband .cf{display:flex;flex-direction:column;gap:6px;flex:1;min-width:280px;max-width:440px}
.capband form{display:flex;gap:9px}
.capband input[type=email]{flex:1;height:50px;border:1.5px solid var(--rule);border-radius:12px;padding:0 14px;font-family:inherit;font-size:16px;background:#fff;color:var(--ink)}
.capband input[type=email]:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px rgba(198,143,121,.16)}
.capband button{height:50px;padding:0 22px;border:none;border-radius:50px;background:var(--ink);color:#fff;font-family:inherit;font-weight:600;font-size:14px;cursor:pointer;white-space:nowrap}
.capband button:hover{background:#000}
.capband .cconsent{font-size:11px;color:var(--muted);line-height:1.4}
.capband .done{flex:1;min-width:280px;font-size:14px;font-weight:600;color:var(--accent-deep);line-height:1.5}
.capband .capstart{width:100%;height:54px;border:none;border-radius:50px;background:var(--ink);color:#fff;font-family:inherit;font-weight:600;font-size:15px;cursor:pointer;box-shadow:0 8px 22px rgba(23,23,23,.16);transition:transform .12s,background .12s}
.capband .capstart:hover{background:#000;transform:translateY(-1px)}

/* ===== Home + Shop pages ===== */
.sec-head{margin:28px 0 16px}
.sec-head .eyebrow{margin-bottom:6px}
.sec-head h2{font-size:24px;font-weight:600;letter-spacing:-.012em;color:var(--ink)}
.sec-head p{font-size:14px;color:var(--text);margin-top:5px;max-width:60ch;line-height:1.5}
.btn-primary{height:54px;display:inline-flex;align-items:center;justify-content:center;padding:0 28px;border-radius:50px;background:var(--ink);color:#fff;font-weight:600;font-size:15px;box-shadow:0 8px 22px rgba(23,23,23,.16);transition:transform .12s,background .12s}
.btn-primary:hover{background:#000;transform:translateY(-1px)}
.btn-secondary{height:54px;display:inline-flex;align-items:center;justify-content:center;padding:0 22px;border-radius:50px;border:1.5px solid var(--rule);color:var(--ink);font-weight:600;font-size:15px;background:rgba(255,255,255,.55);transition:border-color .12s}
.btn-secondary:hover{border-color:var(--accent);color:var(--accent-deep)}

/* hero */
.hero{display:grid;grid-template-columns:1fr;gap:22px;align-items:center;padding:26px 0 16px}
.hero h1{font-size:38px;font-weight:700;line-height:1.06;letter-spacing:-.02em;margin:8px 0 14px}
.hero .lead{font-size:16px;color:var(--text);line-height:1.55;max-width:46ch;margin-bottom:22px}
.hero-cta{display:flex;gap:12px;flex-wrap:wrap}
.hero-visual{position:relative;border-radius:var(--radius);background:radial-gradient(140% 120% at 70% 10%,var(--peach),#F1E7E0 58%,#EEE8E3);min-height:280px;display:flex;align-items:center;justify-content:center;overflow:hidden;box-shadow:var(--glass-inner),0 20px 46px -18px rgba(120,80,60,.3)}
.hero-visual img{max-height:280px;width:auto;filter:drop-shadow(0 18px 26px rgba(120,75,52,.2))}
.hero-chip{position:absolute;left:16px;bottom:16px;z-index:4;display:flex;align-items:center;gap:8px;font-size:12px;font-weight:600;color:var(--ink);background:linear-gradient(157deg,rgba(255,255,255,.78),rgba(255,255,255,.56));-webkit-backdrop-filter:blur(18px) saturate(1.8);backdrop-filter:blur(18px) saturate(1.8);border:1px solid var(--glass-brd);border-radius:50px;padding:8px 14px;box-shadow:var(--glass-inner)}
.hero-chip .tick{width:18px;height:18px;border-radius:50%;background:var(--accent);color:#fff;display:flex;align-items:center;justify-content:center;font-size:10px}
/* LOCKED multi-vial tile rule (2, 3, or 4 vials in one bundle tile). One single row, vials do
   NOT overlap and never touch: they are separated by one small even gap (LOCKED at 1%) and the whole row is
   centred on BOTH axes, so the inset from every tile edge is even and the layout never drifts.
   Vial height is a % of the square tile, so it scales with the tile at any breakpoint and stays
   pixel-even. More compounds -> smaller vials, so the row keeps the same gap and the same clear
   margin from the borders. Same pre-trimmed vial-<slug>.webp assets as the single tiles. Bundle
   tiles use .phset (never .ph), so the single-tile object-fit rule does not apply here. */
.vialset{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:1%}
.vialset img{display:block;width:auto;filter:drop-shadow(0 12px 16px rgba(120,75,52,.18))}
.vialset-2 img{height:60%}
.vialset-3 img{height:45%}
.vialset-4 img{height:33%}
@media(min-width:860px){.hero{grid-template-columns:1.08fr .92fr;gap:40px;padding:42px 0 28px}.hero h1{font-size:50px}.hero-visual{min-height:340px}.hero-visual img{max-height:340px}}
/* LOCKED home-hero trio (HOME PAGE ONLY, scoped to .hero-visual): a layered set. The centre vial
   is larger and in front; the two flanks are smaller and tucked slightly behind it (negative margin
   + lower z-index). The whole group is centred on both axes with even, symmetric inset. Scoped so
   the bundle/shop card .vialset rules are untouched. Retune the height % and overlap if the box
   changes, then re-render. Do not move this onto the global .vialset rule. */
.hero-visual .vialset{gap:0;align-items:center;justify-content:center}
.hero-visual .vialset-3 img{max-height:none;margin:0;width:auto}
.hero-visual .vialset-3 .v-mid{height:62%;z-index:2}
.hero-visual .vialset-3 .v-l{height:50%;z-index:1;margin-right:-4%}
.hero-visual .vialset-3 .v-r{height:50%;z-index:1;margin-left:-4%}
@media(min-width:860px){
  .hero-visual{min-height:300px}
  .hero-visual .vialset-3 .v-mid{height:72%}
  .hero-visual .vialset-3 .v-l,.hero-visual .vialset-3 .v-r{height:58%}
}

/* category tiles */
.cats{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
@media(min-width:760px){.cats{grid-template-columns:repeat(4,1fr)}}
.cat{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:18px;border-radius:14px;background:linear-gradient(157deg,rgba(255,255,255,.92),rgba(255,255,255,.74));border:1px solid var(--rule);box-shadow:var(--glass-inner);font-weight:600;font-size:15px;color:var(--ink);transition:transform .12s,border-color .12s}
.cat:hover{transform:translateY(-2px);border-color:var(--accent)}
.cat .arr{color:var(--accent-deep);font-weight:700}

/* product grid + card tag + stock chip */
.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
@media(min-width:620px){.grid{grid-template-columns:repeat(3,1fr)}}
@media(min-width:980px){.grid{grid-template-columns:repeat(4,1fr)}}
/* Bundle grid caps at 3 columns: multi-vial sets need a larger square well than single tiles
   (a 4-up vial set clips in a 4-col well), and 9 sets read cleanly as 3 rows of 3. */
@media(min-width:980px){.grid.bundles{grid-template-columns:repeat(3,1fr)}}
.card .b .tag{display:inline-block;font-size:10px;font-weight:600;letter-spacing:.02em;color:var(--accent-deep);background:var(--tint);border-radius:50px;padding:3px 9px;margin-bottom:7px;line-height:1.3}
.card .b .stockchip{display:inline-flex;align-items:center;gap:5px;font-size:10.5px;font-weight:600;color:var(--muted);margin-top:5px}
.card .b .stockchip .d{width:5px;height:5px;border-radius:50%;background:var(--accent)}
.card.hide{display:none}

/* reference library block */
.libcols{display:grid;grid-template-columns:1fr;gap:12px}
@media(min-width:720px){.libcols{grid-template-columns:1fr 1fr}}
.libcard{display:block;padding:22px;border-radius:var(--radius);background:var(--paper);border:1px solid var(--rule);box-shadow:var(--shadow);transition:transform .12s,border-color .12s}
.libcard:hover{transform:translateY(-2px);border-color:var(--accent)}
.libcard b{font-size:17px;font-weight:600;display:block;margin-bottom:6px;color:var(--ink)}
.libcard span{font-size:13.5px;color:var(--text);line-height:1.5}
.libcard .arr{color:var(--accent-deep);font-weight:700;font-size:13px;display:inline-block;margin-top:10px}

/* shop head + filters */
.shophead{padding:18px 0 6px}
.shophead h1{font-size:30px;font-weight:700;letter-spacing:-.012em}
.shophead p{font-size:14px;color:var(--muted);margin-top:4px}
.filters{display:flex;flex-wrap:wrap;align-items:center;gap:9px;margin:14px 0 18px;padding-bottom:16px;border-bottom:1px solid var(--rule)}
.fchip{font-size:12.5px;font-weight:600;color:var(--ink);background:var(--paper);border:1.5px solid var(--rule);border-radius:50px;padding:8px 14px;cursor:pointer;font-family:inherit;transition:border-color .12s,background .12s,color .12s}
.fchip:hover{border-color:var(--accent)}
.fchip.on{border-color:var(--ink);background:var(--ink);color:#fff}
a.fchip{text-decoration:none;display:inline-flex;align-items:center;line-height:1}
a.fchip.fchip-link{color:var(--accent-deep);border-color:var(--rule)}
a.fchip.fchip-link::after{content:"\2192";margin-left:6px;font-weight:700}
a.fchip.fchip-link:hover{border-color:var(--ink);background:var(--tint)}
.filters .spacer{flex:1;min-width:8px}
.fsort{height:40px;border:1.5px solid var(--rule);border-radius:10px;padding:0 12px;font-family:inherit;font-size:13px;color:var(--ink);background:var(--paper);cursor:pointer}
.gridwrap{padding-bottom:34px}

/* ---- Email capture: COA-checklist popup ---- */
.ecap{position:fixed;inset:0;z-index:120;display:none;align-items:center;justify-content:center;padding:20px}
.ecap.open{display:flex}
.ecap-back{position:absolute;inset:0;background:rgba(40,28,22,.5);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}
.ecap-card{position:relative;width:100%;max-width:420px;background:var(--paper);border-radius:20px;box-shadow:0 30px 80px -20px rgba(40,28,22,.5);padding:30px 26px 24px;text-align:left}
.ecap-close{position:absolute;top:10px;right:10px;width:44px;height:44px;border:none;background:none;font-size:24px;line-height:1;color:var(--muted);cursor:pointer;font-family:inherit}
.ecap-close:hover{color:var(--ink)}
.ecap .eyebrow{font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--accent-deep);margin-bottom:10px}
.ecap h3{font-size:22px;font-weight:600;line-height:1.18;letter-spacing:-.01em;margin-bottom:10px}
.ecap .esub{font-size:13.5px;color:var(--text);line-height:1.55;margin-bottom:16px}
.ecap form{display:flex;flex-direction:column;gap:11px}
.ecap input[type=email]{height:52px;border:1.5px solid var(--rule);border-radius:12px;padding:0 14px;font-family:inherit;font-size:16px;color:var(--ink)}
.ecap input[type=email]:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px rgba(198,143,121,.16)}
.ecap .econsent{display:flex;gap:9px;align-items:flex-start;font-size:11.5px;color:var(--muted);line-height:1.45;cursor:pointer}
.ecap .econsent input{margin-top:2px;width:16px;height:16px;flex-shrink:0}
.ecap button.ego{height:52px;border:none;border-radius:50px;background:var(--ink);color:#fff;font-family:inherit;font-weight:600;font-size:15px;cursor:pointer}
.ecap button.ego:hover{background:#000}
.ecap .edismiss{background:none;border:none;color:var(--muted);font-family:inherit;font-size:12px;cursor:pointer;text-decoration:underline;align-self:center}
.ecap-foot{font-size:10px;color:var(--muted);line-height:1.5;margin-top:16px;border-top:1px solid var(--rule);padding-top:12px}
.ecap-success{text-align:center;padding:6px 0 2px}
.ecap-success .tick{width:48px;height:48px;border-radius:50%;background:var(--accent);color:#fff;display:flex;align-items:center;justify-content:center;font-size:24px;margin:0 auto 14px}
.ecap-success h3{font-size:20px;margin-bottom:4px}
.ecap-success p{font-size:13.5px;color:var(--text);line-height:1.55;margin:2px 0}
.ecap-success .code{display:inline-block;margin:10px 0 4px;font-weight:700;color:var(--accent-deep);background:var(--tint);border:1px dashed var(--accent);border-radius:8px;padding:6px 14px;letter-spacing:.06em}
@media(max-width:560px){.ecap-card{padding:26px 20px 20px}}
@media(prefers-reduced-motion:no-preference){.ecap.open .ecap-card{animation:ecapin .25s ease}}
@keyframes ecapin{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}

/* ---- Email capture: COA-literacy quiz (inside .ecap) ---- */
.ecap-card{max-width:440px;max-height:92vh;overflow-y:auto}
.ecq-head .eyebrow{margin-bottom:6px}
.ecq-hook{font-size:20px;font-weight:600;line-height:1.22;letter-spacing:-.01em;color:var(--ink);margin:2px 0 7px}
.ecq-teaser{font-size:13px;color:var(--text);line-height:1.5;margin:0 0 4px}
.q-progress{height:4px;background:var(--rule);border-radius:4px;overflow:hidden;margin:14px 0 20px}
.q-progress>i{display:block;height:100%;width:25%;background:var(--accent-deep);border-radius:4px;transition:width .35s ease}
.q-screen{display:none}
.q-screen.active{display:block;animation:ecapin .3s ease both}
.q-count{font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--accent-deep);margin-bottom:8px}
.q-title{font-weight:600;font-size:19px;line-height:1.25;color:var(--ink);margin-bottom:16px;letter-spacing:-.01em}
.q-options{display:grid;gap:9px}
.q-opt{text-align:left;width:100%;background:var(--paper);border:1.5px solid var(--rule);border-radius:11px;padding:13px 15px;font-family:inherit;font-size:14.5px;color:var(--ink);cursor:pointer;transition:border-color .15s,background .15s,transform .1s;display:flex;align-items:center;gap:12px}
.q-opt:hover{border-color:var(--ink);background:var(--tint-2);transform:translateY(-1px)}
.q-opt .mark{flex-shrink:0;width:20px;height:20px;border-radius:50%;border:1.5px solid var(--rule)}
.q-opt.sel{border-color:var(--accent-deep);background:var(--peach)}
.q-opt.sel .mark{border-color:var(--accent-deep);background:var(--accent-deep);box-shadow:inset 0 0 0 3px #fff}
.q-back{background:none;border:none;color:var(--muted);font-family:inherit;font-size:13px;cursor:pointer;margin-top:14px;padding:0}
.q-back:hover{color:var(--ink)}
.ecq-gate .kicker{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--accent-deep);margin-bottom:8px}
.ecq-gate h3{font-size:20px;font-weight:600;margin-bottom:6px;letter-spacing:-.01em}
.ecq-gate .lead-in{font-size:13px;color:var(--text);line-height:1.5;margin-bottom:16px}
.ecq-gate .field{display:block;font-size:12px;font-weight:600;color:var(--muted);margin-bottom:6px}
.ecq-gate input[type=email]{width:100%;height:52px;border:1.5px solid var(--rule);border-radius:12px;padding:0 14px;font-family:inherit;font-size:16px;color:var(--ink);margin-bottom:10px}
.ecq-gate input[type=email]:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px rgba(198,143,121,.16)}
.field-msg{font-size:12px;color:#B23B2E;margin:-4px 0 10px;font-weight:600}
.ecq-gate .ego{width:100%}
.ecq-micro{font-size:11px;color:var(--muted);margin-top:10px}
.q-screen.result .level-tag{display:inline-block;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--accent-deep);background:var(--tint);border-radius:50px;padding:5px 12px;margin-bottom:10px}
.q-screen.result h3{font-size:20px;font-weight:600;margin-bottom:6px;letter-spacing:-.01em}
.q-screen.result .q-sub{font-size:13px;color:var(--text);line-height:1.5;margin:0 0 4px}
.path{list-style:none;margin:14px 0;padding:0;display:flex;flex-direction:column;gap:11px}
.path li{display:flex;flex-direction:column;gap:2px;border-left:2px solid var(--accent);padding-left:12px}
.path .pl{font-weight:600;font-size:14px;color:var(--ink)}
.path .ps{font-size:12.5px;color:var(--muted);line-height:1.45}
.ecq-reward{background:var(--tint-2);border:1px solid var(--rule);border-radius:12px;padding:16px;text-align:center;margin:16px 0 12px}
.ecq-reward p{font-size:13.5px;color:var(--text);margin:0;line-height:1.5}
.ecq-reward .code{display:inline-block;margin:8px 0 4px;font-weight:700;color:var(--accent-deep);background:#fff;border:1px dashed var(--accent);border-radius:8px;padding:6px 16px;letter-spacing:.08em;font-size:15px}
.ecq-reward .ecq-rewardsub{font-size:12px;color:var(--muted)}
.ecq-cross{font-size:12.5px;color:var(--muted);line-height:1.5;margin-top:4px}
.ecq-cross a{color:var(--accent-deep);font-weight:600}

/* ---- bundle + similar ---- */
.bundle{display:flex;align-items:center;gap:14px;background:var(--tint-2);border:1px solid var(--rule);border-radius:14px;padding:15px}
.bundle .ic{width:48px;height:48px;border-radius:12px;background:#fff;border:1px solid var(--rule);display:flex;align-items:center;justify-content:center;font-size:22px;flex-shrink:0}
.bundle .t{flex:1}
.bundle .t b{font-size:14px;font-weight:700}
.bundle .t span{display:block;font-size:12.5px;color:var(--muted);margin-top:2px}
.bundle .save{font-size:12.5px;font-weight:700;color:var(--accent-deep);white-space:nowrap}

/* Similar-compounds carousel chrome (.carhead/.cararrow/.carousel) removed with
   the 2026-08 PDP rebuild — the v2 rails (.bandhead/.arrow/.tilegrid) live in
   the PDP v2 fence. The .card grid below stays: the shop archive renders it. */
.card{background:var(--paper);border:1px solid var(--rule);border-radius:14px;overflow:hidden;scroll-snap-align:start}
/* LOCKED vial-tile alignment rule (do not drift; applies to every product card forever):
   square well, fixed 10px inner padding on all four sides (the set space), and the vial
   image fills the well via object-fit:contain + object-position:center, so every vial,
   current or future, renders the same size and perfectly centred (centre, centre). Source
   vials are pre-trimmed to the vial bounds with a 5% uniform margin so they normalise. */
.card .ph{aspect-ratio:1;background:radial-gradient(120% 90% at 70% 20%,var(--peach),#EFE7E1);padding:10px;position:relative;overflow:hidden}
.card .ph img{width:100%;height:100%;object-fit:contain;object-position:center;filter:drop-shadow(0 14px 20px rgba(120,75,52,.22))}
/* Bundle tile well: same square peach well as .ph, but NO single-image object-fit rule, so the
   multi-vial .vialset composition (heights/overlap) applies as intended (see vialset note above). */
.card .phset{aspect-ratio:1;background:radial-gradient(120% 90% at 70% 20%,var(--peach),#EFE7E1);position:relative;overflow:hidden}
.card .b{padding:12px}
.card .b .n{font-weight:600;font-size:14px}
.card .b .pr{font-weight:700;color:var(--ink);font-size:14px;margin-top:3px}
/* Bundle & Save card: contents line + confident bundle price + save chip + quiet reference
   (additive, namespaced). Deliberately NOT a loud strikethrough markdown: bundle price leads,
   the saving is framed positively, the separate total is a calm transparency line. */
.card .b .contains{font-size:11px;color:var(--text);margin-top:4px;line-height:1.45}
.card .b .prline{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:7px}
.card .b .prline .pr{margin-top:0}
.card .b .saveb{font-size:10px;font-weight:700;color:var(--accent-deep);background:var(--tint);border-radius:50px;padding:3px 9px;letter-spacing:.02em;white-space:nowrap}
.card .b .priceref{display:block;font-size:11px;color:var(--muted);margin-top:4px}
.card .b .priceref s{text-decoration-color:var(--rule)}

/* ---- sticky buy bar (GLASS) ---- */
.sticky{position:fixed;left:0;right:0;bottom:0;z-index:50;border:0;padding:12px 16px;display:flex;align-items:center;gap:12px;transform:translateY(120%);transition:transform .25s ease}
.sticky.glass{box-shadow:var(--glass-inner), 0 -12px 42px -16px rgba(120,80,60,.36)}
.sticky.show{transform:translateY(0)}
.sticky .p{font-weight:700;font-size:16px;white-space:nowrap}
.sticky .p small{display:block;font-weight:400;color:var(--muted);font-size:11px;white-space:nowrap}
.sticky .addcart,.sticky .cta{height:48px;font-size:14px}

/* ---- sold out / Notify Me (out-of-stock state, see 3.3). Add class "soldout" to .buy to switch:
   it hides the tiers + add-to-cart + in-stock line and reveals the email capture. ---- */
.notify{display:none;border:1px solid var(--rule);border-radius:14px;padding:16px 16px 14px;background:var(--paper)}
.buy.soldout .notify{display:block}
.buy.soldout .tierwrap,.buy.soldout .actions,.buy.soldout .size,.buy.soldout .stock,
.buy.soldout .tierlabel,.buy.soldout .tiers,.buy.soldout .ctarow,.buy.soldout .paysrow,.buy.soldout .shipline{display:none}
.soldtag{display:inline-block;font-size:13px;font-weight:700;letter-spacing:.02em;color:var(--ink);background:var(--tint);border:1px solid var(--rule);border-radius:8px;padding:5px 11px}
.notify-lead{font-size:13px;color:var(--text);line-height:1.5;margin:10px 0 0}
.notify .field{display:block;font-size:12px;font-weight:600;color:var(--muted);margin:12px 0 6px}
.notify-row{display:flex;gap:10px;flex-wrap:wrap}
.notify-row input{flex:1;min-width:190px;height:50px;border:1px solid var(--rule);border-radius:10px;padding:0 14px;font-family:inherit;font-size:14px;color:var(--ink);background:var(--canvas)}
.notify-row input:focus-visible{outline:2px solid var(--accent-deep);outline-offset:2px}
.notify-btn{height:50px;padding:0 24px;border:none;border-radius:50px;background:var(--ink);color:#fff;font-weight:600;font-size:14.5px;cursor:pointer;transition:background .12s,transform .12s}
.notify-btn:hover{background:#000;transform:translateY(-1px)}
.notify-msg{font-size:12.5px;margin-top:9px;font-weight:600}
.notify-msg.ok{color:var(--ink)}
.notify-msg.err{color:#B3261E}
.notify-micro{font-size:11px;color:var(--muted);margin-top:9px;line-height:1.5}

/* ---- help dock: frozen "Need help?" + back-to-top, always present on scroll (all pages).
   Injected by js/ui.js so it lives on every page without per-page markup. ---- */
.helpdock{position:fixed;right:18px;bottom:18px;z-index:55;display:flex;flex-direction:column;align-items:flex-end;gap:10px}
.backtop{width:46px;height:46px;border-radius:50%;border:1px solid var(--rule);background:var(--paper);color:var(--ink);font-size:20px;line-height:1;cursor:pointer;box-shadow:var(--shadow);opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .2s,transform .2s,visibility .2s}
.backtop.show{opacity:1;visibility:visible;transform:translateY(0)}
.backtop:hover{border-color:var(--accent);color:var(--accent-deep)}
/* Liquid-glass help button: frosted, OPAQUE white (not harsh black), dark ink text + warm accent glyph */
.helpbtn{display:inline-flex;align-items:center;gap:8px;height:46px;padding:0 19px;border:1px solid var(--glass-brd);border-radius:50px;background:linear-gradient(157deg, rgba(255,255,255,.94), rgba(255,255,255,.82));-webkit-backdrop-filter:blur(20px) saturate(1.8);backdrop-filter:blur(20px) saturate(1.8);color:var(--ink);font-family:inherit;font-weight:700;font-size:13.5px;letter-spacing:.01em;cursor:pointer;box-shadow:var(--glass-inner), 0 10px 28px -12px rgba(120,80,60,.34)}
.helpbtn:hover{background:linear-gradient(157deg, rgba(255,255,255,.99), rgba(255,255,255,.9));border-color:var(--accent)}
.helpbtn .hi{font-size:15px;color:var(--accent-deep)}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){ .helpbtn{background:rgba(255,255,255,.96)} }
.helppanel{position:absolute;right:0;bottom:60px;width:300px;max-width:78vw;border-radius:16px;padding:16px;background:var(--paper);border:1px solid var(--rule);box-shadow:0 24px 60px -22px rgba(40,28,22,.42);opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .18s,transform .18s,visibility .18s}
.helppanel.open{opacity:1;visibility:visible;transform:translateY(0)}
.helpclose{position:absolute;top:10px;right:10px;width:26px;height:26px;border:none;background:transparent;font-size:18px;color:var(--muted);cursor:pointer;line-height:1}
/* assistant chat panel */
.helppanel.chat{width:344px;max-width:86vw;padding:0;overflow:hidden;display:flex;flex-direction:column;max-height:min(540px,76vh)}
.chat-head{display:flex;align-items:center;justify-content:space-between;padding:13px 14px;border-bottom:1px solid var(--line)}
.chat-title{font-size:13.5px;font-weight:700;display:inline-flex;align-items:center;gap:8px}
.chat-dot{width:7px;height:7px;border-radius:50%;background:var(--accent)}
.helppanel.chat .helpclose{position:static}
.chat-msgs{flex:1;overflow-y:auto;padding:14px;display:flex;flex-direction:column;gap:9px;min-height:190px}
.chat-b{max-width:84%;padding:9px 12px;border-radius:14px;font-size:13px;line-height:1.46;white-space:pre-wrap;overflow-wrap:anywhere}
.chat-b.bot{align-self:flex-start;background:var(--tint);color:var(--ink);border-bottom-left-radius:4px}
.chat-b.me{align-self:flex-end;background:var(--ink);color:#fff;border-bottom-right-radius:4px}
.chat-b.typing{color:var(--muted);letter-spacing:3px}
.chat-input{display:flex;gap:8px;padding:10px;border-top:1px solid var(--line)}
.chat-input input{flex:1;height:40px;border:1px solid var(--rule);border-radius:22px;padding:0 14px;font-family:inherit;font-size:13px;background:var(--canvas);color:var(--ink)}
.chat-input input:focus-visible{outline:2px solid var(--accent-deep);outline-offset:1px}
.chat-send{width:40px;height:40px;border:none;border-radius:50%;background:var(--ink);color:#fff;font-size:16px;cursor:pointer;flex-shrink:0}
.chat-send:hover{background:#000}
.chat-foot{padding:9px 14px;border-top:1px solid var(--line);font-size:10.5px;color:var(--muted);line-height:1.5}
.chat-foot a{color:var(--accent-deep);font-weight:600}
/* guided questionnaire chips (instant, no model call) */
.chat-chips{display:flex;flex-wrap:wrap;gap:7px;margin:1px 0 3px;align-self:flex-start}
.chat-chip{border:1px solid var(--rule);background:var(--paper);color:var(--ink);font-family:inherit;font-size:12.5px;font-weight:600;padding:8px 13px;border-radius:50px;cursor:pointer;line-height:1.2;transition:background .12s,border-color .12s,color .12s}
.chat-chip:hover{background:var(--tint);border-color:var(--accent);color:var(--accent-deep)}
@media(max-width:560px){ .helpdock{bottom:80px;right:12px} .helpbtn{height:42px;padding:0 14px} }
/* lift the help dock above the sticky buy bar while it is showing (PDPs, <900px) so the two do not collide */
@media(max-width:900px){ body:has(.sticky.show) .helpdock{bottom:124px} }

/* ---- content pages (About, How It Is Tested, Contact, Shipping, legal) ---- */
.pagehead{padding:18px 0 4px;max-width:62ch}
.pagehead .eyebrow{font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--accent-deep);margin-bottom:8px}
.pagehead h1{font-size:34px;font-weight:700;letter-spacing:-.015em;line-height:1.1}
.pagehead p{font-size:16px;color:var(--text);line-height:1.55;margin-top:12px}
.block h3{font-size:15px;font-weight:700;margin:16px 0 6px;color:var(--ink)}
.block ul{margin:6px 0 10px;padding-left:18px}
.block li{font-size:14.5px;color:var(--text);line-height:1.6;margin-bottom:5px}
.block a{color:var(--accent-deep);font-weight:600}
/* research-library article list (taxonomy-research-categories.php / archive list) */
.reslist{display:grid;gap:8px}
.resitem{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid var(--rule);border-radius:12px;padding:13px 16px;background:var(--paper);text-decoration:none}
.resitem:hover{border-color:var(--accent);background:var(--tint)}
.resitem .rt{font-size:14.5px;font-weight:600;color:var(--ink);line-height:1.4}
.resitem .rv{font-size:13px;font-weight:700;color:var(--accent-deep);flex-shrink:0}
.aip-rich h2{font-size:20px;font-weight:700;color:var(--ink);margin:18px 0 10px;letter-spacing:-.01em}
.aip-rich h3{font-size:16px;font-weight:700;color:var(--ink);margin:16px 0 6px}
.aip-rich p{color:var(--text);font-size:14.5px;line-height:1.65;margin-bottom:12px}
.aip-rich ul,.aip-rich ol{margin:6px 0 14px;padding-left:20px}
.aip-rich li{color:var(--text);font-size:14.5px;line-height:1.6;margin-bottom:6px}
.aip-rich a{color:var(--accent-deep);font-weight:600}
.aip-rich img{max-width:100%;height:auto;border-radius:10px;margin:12px 0}
.steps{display:grid;gap:12px;margin-top:14px}
.step{display:flex;gap:14px;align-items:flex-start;border:1px solid var(--rule);border-radius:14px;padding:15px 16px;background:var(--paper)}
.step .num{width:30px;height:30px;border-radius:9px;background:var(--tint);color:var(--accent-deep);font-weight:700;font-size:14px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.step b{font-size:14.5px;display:block}
.step span{font-size:13.5px;color:var(--text);line-height:1.55;display:block;margin-top:2px}
.contactgrid{display:grid;grid-template-columns:1fr;gap:20px;padding:10px 0 18px}
@media(min-width:760px){.contactgrid{grid-template-columns:1fr 1.15fr}}
.contactcard{border:1px solid var(--rule);border-radius:16px;padding:20px;background:var(--paper);height:fit-content}
.contactcard .ci{display:flex;gap:11px;align-items:flex-start;margin-bottom:15px}
.contactcard .ci:last-child{margin-bottom:0}
.contactcard .ci .e{width:34px;height:34px;border-radius:10px;background:var(--tint);color:var(--accent-deep);display:flex;align-items:center;justify-content:center;font-size:15px;flex-shrink:0}
.contactcard .ci b{font-size:13.5px;display:block;margin-bottom:1px}
.contactcard .ci span,.contactcard .ci a{font-size:13px;color:var(--text);display:block;line-height:1.5}
.cform{display:flex;flex-direction:column;gap:11px;border:1px solid var(--rule);border-radius:16px;padding:20px;background:var(--paper)}
.cform label{font-size:12px;font-weight:600;color:var(--muted);margin-bottom:-5px}
.cform input,.cform textarea{width:100%;border:1px solid var(--rule);border-radius:10px;padding:12px 14px;font-family:inherit;font-size:14px;background:var(--canvas);color:var(--ink)}
.cform textarea{min-height:120px;resize:vertical}
.cform input:focus-visible,.cform textarea:focus-visible{outline:2px solid var(--accent-deep);outline-offset:1px}
.cform button{height:52px;margin-top:4px;border:none;border-radius:50px;background:var(--ink);color:#fff;font-family:inherit;font-weight:600;font-size:15px;cursor:pointer}
.cform button:hover{background:#000}
.cform .cmsg{font-size:12.5px;font-weight:600}.cform .cmsg.ok{color:#2E7D46}.cform .cmsg.err{color:#B3261E}
.callout{display:flex;align-items:center;gap:12px;background:var(--tint);border:1px solid var(--rule);border-radius:14px;padding:14px 18px;margin:8px 0 6px}
.callout .ci{width:34px;height:34px;border-radius:10px;background:var(--paper);color:var(--accent-deep);display:flex;align-items:center;justify-content:center;font-size:15px;flex-shrink:0;font-weight:700}
.callout b{font-size:14.5px;display:block}.callout small{display:block;font-size:12.5px;color:var(--muted);margin-top:1px}
.shiptable{width:100%;border-collapse:collapse;margin-top:12px;font-size:14px}
.shiptable th{text-align:left;font-size:10.5px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--muted);padding:0 12px 8px;border-bottom:1px solid var(--rule)}
.shiptable td{padding:12px;border-bottom:1px solid var(--line);color:var(--text);line-height:1.4}
.shiptable tr:last-child td{border-bottom:none}
.shiptable td:first-child{font-weight:600;color:var(--ink)}
.shiptable tr.free td{background:var(--tint);color:var(--accent-deep);font-weight:600}
.shiptable tr.free td:first-child{border-top-left-radius:10px;border-bottom-left-radius:10px}
.shiptable tr.free td:last-child{border-top-right-radius:10px;border-bottom-right-radius:10px}
.finenote{font-size:12.5px;color:var(--muted);margin-top:10px;line-height:1.5}
.complib{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:14px}
.complib a{display:block;text-decoration:none;border:1px solid var(--rule);border-radius:14px;padding:15px 16px;background:var(--paper);transition:border-color .12s,background .12s}
.complib a:hover{border-color:var(--ink);background:var(--tint)}
.complib .cn{font-weight:600;color:var(--ink);font-size:15px}
.complib .cc{font-size:12.5px;color:var(--muted);margin-top:2px}
.complib .cv{font-size:12px;color:var(--accent-deep);font-weight:600;margin-top:10px}
@media(max-width:720px){.complib{grid-template-columns:1fr 1fr}}

/* ===================== CART + CHECKOUT ===================== */
.cartcount.has{background:var(--accent);color:#fff}
/* shared buttons */
.mc-checkout,.cs-checkout,.placeorder{display:block;width:100%;text-align:center;background:var(--ink)!important;color:#fff!important;border:none;border-radius:50px;padding:15px 18px;font:600 14.5px/1 inherit;font-family:inherit;text-decoration:none;cursor:pointer;transition:transform .12s,opacity .12s}
/* the cart/checkout pages still load Elementor + WooCommerce CSS (not stripped routes), which
   otherwise override the CTA link color to dark-on-dark; pin the button colors so the label stays visible */
.mc-checkout:link,.mc-checkout:visited,.cs-checkout:link,.cs-checkout:visited,.placeorder:link,.placeorder:visited{color:#fff!important}
.mc-checkout:hover,.cs-checkout:hover,.placeorder:hover{opacity:.92}
.placeorder:active{transform:translateY(1px)}
.cs-continue{display:inline-block;text-align:center;width:100%;margin-top:12px;font-size:13px;color:var(--muted);text-decoration:none}
.cs-continue:hover{color:var(--ink)}

/* ---- slide-in mini-cart ---- */
.minicart{position:fixed;inset:0;z-index:80;visibility:hidden}
.minicart.open{visibility:visible}
.mc-back{position:absolute;inset:0;background:rgba(20,16,14,.40);opacity:0;transition:opacity .25s}
.minicart.open .mc-back{opacity:1}
.mc-panel{position:absolute;top:0;right:0;height:100%;width:min(404px,93vw);background:var(--paper);box-shadow:-12px 0 44px rgba(0,0,0,.14);display:flex;flex-direction:column;transform:translateX(100%);transition:transform .28s cubic-bezier(.4,0,.2,1)}
.minicart.open .mc-panel{transform:none}
.mc-head{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid var(--line)}
.mc-head b{font-size:15px}
.mc-x{background:none;border:none;font-size:26px;line-height:1;color:var(--muted);cursor:pointer;width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center}
.mc-x:hover{color:var(--ink)}
.mc-ship{padding:13px 20px;border-bottom:1px solid var(--line)}
.mc-bar{height:5px;border-radius:5px;background:var(--tint);overflow:hidden;margin-bottom:7px}
.mc-bar i{display:block;height:100%;background:var(--accent);border-radius:5px;transition:width .3s}
.mc-shiptext{font-size:12px;color:var(--muted)}.mc-shiptext b{color:var(--ink)}
.mc-lines{flex:1;overflow-y:auto;padding:6px 20px}
.mc-line{display:grid;grid-template-columns:62px 1fr auto;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}
.mc-img{display:block;width:62px;height:62px;border-radius:10px;background:var(--tint);overflow:hidden}
.mc-img img{width:100%;height:100%;object-fit:contain}
.mc-name{font-size:13.5px;font-weight:600;color:var(--ink);text-decoration:none;line-height:1.25;display:block}
.mc-name:hover{color:var(--accent-deep)}
.mc-each{font-size:12px;color:var(--muted);margin:2px 0 7px}
.mc-tot{font-size:13.5px;font-weight:600}
.mc-empty{padding:40px 20px;text-align:center;color:var(--muted)}
.mc-empty a{display:inline-block;margin-top:8px;color:var(--accent-deep);font-weight:600;text-decoration:none}
.mc-foot{padding:16px 20px 20px;border-top:1px solid var(--line);background:var(--paper)}
.mc-subrow{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:3px}
.mc-subrow span{font-size:13px;color:var(--muted)}.mc-sub{font-size:18px;font-weight:700}
.mc-note{font-size:11.5px;color:var(--muted);margin-bottom:12px}
.mc-low{display:flex;justify-content:space-between;align-items:center;margin-top:10px}
.mc-view{font-size:12.5px;color:var(--ink);text-decoration:underline;text-underline-offset:2px}
.mc-keep{background:none;border:none;font:inherit;font-size:12.5px;color:var(--muted);cursor:pointer}
.mc-keep:hover{color:var(--ink)}
/* qty stepper (shared mini-cart + cart page) */
.qstep{display:inline-flex;align-items:center;gap:0;border:1px solid var(--rule);border-radius:50px;overflow:hidden}
.qstep button{background:none;border:none;width:40px;height:40px;font-size:15px;line-height:1;color:var(--ink);cursor:pointer}
.qstep button:hover{background:var(--tint)}
.qstep span{min-width:22px;text-align:center;font-size:12.5px;font-weight:600}
.qstep .qrm{width:auto;padding:0 10px;font-size:11px;color:var(--muted);border-left:1px solid var(--line)}
.qstep .qrm:hover{color:#B3261E;background:none}

/* ---- cart page ---- */
.cartwrap{padding:8px 0 60px}
.cart-h1{font-size:30px;font-weight:700;letter-spacing:-.01em;margin:6px 0 22px}
.cartlayout{display:grid;grid-template-columns:1fr 360px;gap:34px;align-items:start}
.cl-head{display:flex;justify-content:space-between;font-size:10.5px;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--muted);padding-bottom:10px;border-bottom:1px solid var(--rule)}
.cl-row{display:grid;grid-template-columns:88px 1fr auto;gap:16px;padding:20px 0;border-bottom:1px solid var(--line)}
.cl-img{display:block;width:88px;height:88px;border-radius:12px;background:var(--tint);overflow:hidden}
.cl-img img{width:100%;height:100%;object-fit:contain}
.cl-name{font-size:15px;font-weight:600;color:var(--ink);text-decoration:none;display:block;margin-bottom:3px}
.cl-name:hover{color:var(--accent-deep)}
.cl-each{font-size:12.5px;color:var(--muted);margin-bottom:12px}
.cl-tot{font-size:15px;font-weight:600;white-space:nowrap}
.cartside{background:var(--paper);border:1px solid var(--rule);border-radius:18px;padding:22px;position:sticky;top:84px}
.cartside h2{font-size:16px;font-weight:700;margin-bottom:14px}
.cs-row{display:flex;justify-content:space-between;font-size:13.5px;padding:7px 0}
.cs-row.cs-muted span{color:var(--muted)}
.cs-promo span{color:var(--accent-deep);font-weight:600}
.cs-total{border-top:1px solid var(--rule);margin-top:6px;padding-top:13px;font-size:16px;font-weight:700}
.cs-free{font-size:12px;color:#2E7D46;font-weight:600;margin:8px 0}
.cs-free.off{color:var(--muted);font-weight:500}.cs-free.off b{color:var(--ink)}
.cs-code{display:flex;gap:8px;margin:14px 0 4px}
.cs-code input{flex:1;min-width:0;border:1px solid var(--rule);border-radius:10px;padding:11px 13px;font:inherit;font-size:13px}
.cs-code button{border:1px solid var(--ink);background:var(--paper);border-radius:10px;padding:0 16px;font:600 13px inherit;font-family:inherit;cursor:pointer}
.cs-code button:hover{background:var(--ink);color:#fff}
.cs-codemsg{font-size:12px;font-weight:600;margin-bottom:6px}.cs-codemsg.ok{color:#2E7D46}.cs-codemsg.err{color:#B3261E}
.cs-checkout{margin-top:14px}
.cs-trust{display:flex;flex-wrap:wrap;gap:10px 16px;justify-content:center;margin-top:16px;font-size:11.5px;color:var(--muted)}
.cart-empty{text-align:center;padding:60px 0}
.cart-empty p{font-size:16px;color:var(--muted);margin-bottom:18px}
/* Scoped to the CTA: the "Most-studied compounds" grid below is built from
   <a class="card"> links, and a bare ".cart-empty a" painted every card as a dark pill. */
.cart-empty a.btn-primary{display:inline-block;background:var(--ink);color:#fff;border-radius:50px;padding:14px 28px;text-decoration:none;font-weight:600;font-size:14px}
.cart-empty .grid,.cart-empty .sec-head{text-align:left}

/* ---- checkout (single page) ---- */
.co-top{border-bottom:1px solid var(--line);background:var(--paper);position:sticky;top:0;z-index:30}
.co-top .wrap{display:flex;align-items:center;justify-content:space-between;height:62px}
.co-secure{font-size:12.5px;color:var(--muted)}
.cowrap{padding:26px 0 64px}
.co-h1{font-size:26px;font-weight:700;letter-spacing:-.01em;margin-bottom:4px}
.co-lede{font-size:13.5px;color:var(--muted);margin-bottom:24px}
.colayout{display:grid;grid-template-columns:1fr 380px;gap:38px;align-items:start}
.cosec{margin-bottom:26px}
.cosec h2{font-size:13px;font-weight:700;letter-spacing:.02em;text-transform:uppercase;color:var(--muted);margin-bottom:13px}
.cogrid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.cofield{display:flex;flex-direction:column;gap:5px}
.cofield.full{grid-column:1 / -1}
.cofield label{font-size:12px;font-weight:600;color:var(--ink)}
.cofield input,.cofield select{border:1px solid var(--rule);border-radius:11px;padding:13px 14px;font:inherit;font-size:14px;background:var(--paper);width:100%}
.cofield input:focus,.cofield select:focus{outline:none;border-color:var(--ink)}
.shipopt,.payopt{display:block;border:1.5px solid var(--rule);border-radius:13px;padding:14px 16px;margin-bottom:10px;cursor:pointer;transition:border-color .12s,background .12s}
.shipopt:hover,.payopt:hover{border-color:var(--accent)}
.shipopt:has(input:checked),.payopt:has(input:checked){border-color:var(--ink);background:var(--tint)}
.shiprow{display:flex;align-items:center;gap:12px}
.shiprow input,.payhd input{accent-color:var(--ink);width:17px;height:17px}
.shiptxt{flex:1}.shiptxt b{font-size:14px;display:block}.shiptxt small{font-size:12px;color:var(--muted)}
.shipcost{font-size:14px;font-weight:600}
.payhd{display:flex;align-items:center;gap:12px;font-size:14px;font-weight:600}
.pay-panel{margin-top:12px;padding-top:13px;border-top:1px solid var(--line);font-size:13px;color:var(--text)}
.pay-panel .cogrid{margin-top:4px}
.pay-note{font-size:12.5px;color:var(--muted);line-height:1.5}
/* checkout card panel reuses the LOCKED .paybadges structure above */
.placeorder{margin-top:8px}
.co-err{color:#B3261E;font-size:13px;font-weight:600;margin-bottom:10px}
.co-codemsg{font-size:12px;font-weight:600;margin-top:6px}.co-codemsg.ok{color:#2E7D46}.co-codemsg.err{color:#B3261E}
.co-trust{display:flex;flex-wrap:wrap;gap:10px 18px;justify-content:center;margin-top:16px;font-size:11.5px;color:var(--muted)}
/* checkout order summary */
.cosummary{background:var(--paper);border:1px solid var(--rule);border-radius:18px;padding:22px;position:sticky;top:84px}
.cosummary h2{font-size:16px;font-weight:700;margin-bottom:14px}
.co-item{display:flex;align-items:center;gap:11px;padding:9px 0;border-bottom:1px solid var(--line);font-size:13px}
.co-iq{font-size:12px;color:var(--muted);min-width:24px}
.co-item img{width:40px;height:40px;border-radius:8px;background:var(--tint);object-fit:contain}
.co-in{flex:1;font-weight:500}
.co-ip{font-weight:600;white-space:nowrap}
.co-code{display:flex;gap:8px;margin:14px 0 2px}
.co-code input{flex:1;min-width:0;border:1px solid var(--rule);border-radius:10px;padding:11px 13px;font:inherit;font-size:13px}
.co-code button{border:1px solid var(--ink);background:var(--paper);border-radius:10px;padding:0 16px;font:600 13px inherit;font-family:inherit;cursor:pointer}
.co-code button:hover{background:var(--ink);color:#fff}
#coTotals{margin-top:14px;border-top:1px solid var(--rule);padding-top:12px}
.co-row{display:flex;justify-content:space-between;font-size:13.5px;padding:6px 0}
.co-disc span{color:var(--accent-deep);font-weight:600}
.co-grand{border-top:1px solid var(--rule);margin-top:6px;padding-top:12px;font-size:17px;font-weight:700}

/* ---- order confirmed ---- */
.confirmwrap{padding:40px 0 70px;display:flex;justify-content:center}
.confirm-card{max-width:560px;width:100%;background:var(--paper);border:1px solid var(--rule);border-radius:22px;padding:40px 36px;text-align:center}
.confirm-tick{display:inline-flex;align-items:center;justify-content:center;width:54px;height:54px;border-radius:50%;background:#E8F3EC;color:#2E7D46;font-size:26px;margin-bottom:14px}
.confirm-card h1{font-size:25px;font-weight:700;letter-spacing:-.01em;margin-bottom:8px}
.confirm-sub{font-size:14px;color:var(--muted);margin-bottom:22px}.confirm-sub b{color:var(--ink)}
.confirm-sum{text-align:left;background:var(--bg,#FCF9F8);border:1px solid var(--line);border-radius:14px;padding:16px 18px;margin-bottom:20px}
.confirm-sum .co-row{font-size:13px}
.confirm-next{text-align:left;margin-bottom:22px}
.confirm-next b{display:block;font-size:13px;margin-bottom:8px}
.confirm-next ol{margin:0;padding-left:18px;font-size:13.5px;color:var(--text);line-height:1.6}
.confirm-cta{display:flex;flex-direction:column;gap:10px}
.confirm-cta .cs-continue{margin-top:0}

@media(max-width:860px){
  .cartlayout,.colayout{grid-template-columns:1fr;gap:24px}
  .cartside,.cosummary{position:static;order:-1}
  .cogrid{grid-template-columns:1fr}
}
/* payment-header logo + selected highlight */
.payhd{justify-content:flex-start}
.payhd img{height:16px;width:auto;margin-left:2px;background:transparent}
/* billing same-as-shipping */
.samebill{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:500;margin:2px 0 12px;cursor:pointer}
.samebill input{width:17px;height:17px;accent-color:var(--ink)}
#billFields[hidden]{display:none}
.billhd{font-size:12px;font-weight:600;margin:4px 0 10px;color:var(--ink)}
/* google places autocomplete dropdown, restyled to match */
.pac-container{border-radius:12px;border:1px solid var(--rule);box-shadow:0 14px 34px rgba(0,0,0,.13);font-family:inherit;margin-top:4px;background:var(--paper);overflow:hidden}
.pac-item{padding:9px 13px;font-size:13px;cursor:pointer;border-top:1px solid var(--line);color:var(--text)}
.pac-item:first-child{border-top:none}
.pac-item:hover,.pac-item-selected{background:var(--tint)}
.pac-item-query{font-size:13.5px;color:var(--ink)}
.pac-logo:after{display:none}
/* get-code popup (checkout email gate) */
.codepop{position:fixed;inset:0;z-index:90;display:none;align-items:center;justify-content:center;padding:20px}
.codepop.open{display:flex}
.codepop-back{position:absolute;inset:0;background:rgba(20,16,14,.46)}
.codepop-card{position:relative;background:var(--paper);border-radius:20px;padding:30px 28px;max-width:380px;width:100%;text-align:center;box-shadow:0 24px 60px rgba(0,0,0,.22)}
.codepop-x{position:absolute;top:12px;right:15px;background:none;border:none;font-size:24px;line-height:1;color:var(--muted);cursor:pointer}
.codepop-x:hover{color:var(--ink)}
.codepop .eyebrow{justify-content:center}
.codepop h3{font-size:19px;font-weight:700;margin:6px 0 6px}
.codepop p{font-size:13.5px;color:var(--muted);margin-bottom:15px;line-height:1.5}
.codepop input[type=email]{width:100%;border:1px solid var(--rule);border-radius:11px;padding:13px 14px;font:inherit;font-size:14px;margin-bottom:10px}
.codepop input[type=email]:focus{outline:none;border-color:var(--ink)}
.codepop .econsent{display:flex;gap:8px;text-align:left;font-size:11.5px;color:var(--muted);margin-bottom:12px;line-height:1.4}
.codepop .econsent input{width:15px;height:15px;flex-shrink:0;margin-top:1px;accent-color:var(--ink)}
.codepop .ego{display:block;width:100%;background:var(--ink);color:#fff;border:none;border-radius:50px;padding:14px;font:600 14px inherit;font-family:inherit;cursor:pointer}
.codepop .ego:hover{opacity:.92}
.codepop-msg{font-size:12px;font-weight:600;margin-bottom:8px}.codepop-msg.err{color:#B3261E}
.codepop-code{display:inline-block;background:var(--tint);color:var(--accent-deep);font-weight:700;letter-spacing:.10em;font-size:19px;padding:11px 24px;border-radius:11px;border:1px dashed var(--accent);margin:8px 0}
.codepop-sub{font-size:12.5px;color:#2E7D46;font-weight:600}
/* order tracking box on shipping page */
.trackbox{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
.trackbox select,.trackbox input{border:1px solid var(--rule);border-radius:11px;padding:13px 14px;font:inherit;font-size:14px;background:var(--paper)}
.trackbox input{flex:1;min-width:200px}
.trackbox input:focus,.trackbox select:focus{outline:none;border-color:var(--ink)}
.trackbox button{background:var(--ink);color:#fff;border:none;border-radius:50px;padding:0 26px;font:600 14px inherit;font-family:inherit;cursor:pointer}
.trackbox button:hover{opacity:.92}
.trackmsg{font-size:12.5px;color:var(--muted);margin-top:8px}

/* ---- footer (redesign: white, payment marks row above the disclaimer) ---- */
footer{background:var(--paper);color:var(--ink);margin-top:44px;padding:52px 0 34px;border-top:1px solid var(--line)}
.foot-top{display:grid;grid-template-columns:minmax(0,1fr);gap:34px}
.foot-brand img{height:26px;width:auto;display:block}
.foot-tag{font-size:13px;color:var(--muted);margin:14px 0 16px;max-width:30ch;line-height:1.6}
.foot-contact{display:flex;flex-direction:column;gap:6px;font-size:13px}
.foot-contact a{color:var(--ink);font-weight:600}
.foot-contact a:hover{color:var(--accent-text)}
.foot-contact .hrs{color:var(--muted);font-weight:400}
.foot-ship{margin-top:14px;font-size:12px;color:var(--muted);line-height:1.6}
.foot-ship b{display:block;color:var(--ink);font-weight:600;margin-bottom:2px}
.foot-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}
.foot-col h4{font-size:12.5px;font-weight:600;margin-bottom:14px;color:var(--muted)}
.foot-col a{display:block;font-size:13.5px;color:var(--ink);font-weight:500;padding:5px 0;line-height:1.3}
.foot-col a:hover{color:var(--accent-text)}
footer .rwo{font-size:11px;line-height:1.7;color:var(--muted);margin-top:36px;border-top:1px solid var(--line);padding-top:20px}
.footpay{display:flex;gap:7px;justify-content:flex-end;align-items:center;margin-top:20px;flex-wrap:wrap}
.footpay span{display:flex;align-items:center;justify-content:center;width:52px;height:32px;background:#fff;border:1px solid var(--line);border-radius:8px}
.footpay img{max-height:15px;max-width:38px;width:auto;height:auto;display:block}
.footpay img.tall{max-height:24px;max-width:24px}
@media(min-width:760px){ .foot-top{grid-template-columns:1.4fr 2fr;gap:60px;align-items:start} .foot-cols{grid-template-columns:repeat(3,minmax(0,1fr))} }

/* ---- search + mobile menu (GLASS panels) ---- */
.searchbar{display:none;border-bottom:1px solid var(--rule);position:-webkit-sticky;position:sticky;top:var(--headh);z-index:39}
.searchbar.open{display:block}
.searchinner{display:flex;align-items:center;gap:10px;padding:13px 20px}
.searchinner .si{font-size:15px;color:var(--muted)}
.searchinner input{flex:1;border:none;font-family:inherit;font-size:16px;outline:none;background:transparent;color:var(--ink)}
.searchclose{border:none;background:none;font-size:22px;color:var(--muted);cursor:pointer;line-height:1;font-family:inherit}
.hamburger{border-radius:50%;border:none;background:transparent}
.mobmenu{display:none;border-bottom:1px solid var(--rule);position:-webkit-sticky;position:sticky;top:var(--headh);z-index:38;padding:6px 0}
.mobmenu.open{display:block}
.mobmenu a{display:block;padding:12px 20px;font-size:15px;color:var(--ink);font-weight:600}
.mobmenu .mm-sub{padding-left:34px;font-weight:500;color:var(--muted);font-size:14px}
.mobmenu a:hover{background:var(--tint)}
@media(min-width:900px){ .hamburger{display:none} .mobmenu{display:none !important} }

/* ---- responsive ---- */
@media(max-width:899px){ body{padding-bottom:78px} }
@media(min-width:900px){
  .product{grid-template-columns:1.05fr 1fr;grid-template-areas:"gallery buy" "badges buy";gap:16px 40px;align-items:start;padding:18px 0 40px}
  .gallery{grid-area:gallery;position:-webkit-sticky;position:sticky;top:84px}
  .trustbadges{grid-area:badges}
  .buy{grid-area:buy}
  .gallery img{max-height:400px}
  h1{font-size:42px}
  .sticky{display:none}
}
@media(prefers-reduced-motion:reduce){ *{scroll-behavior:auto !important;transition:none !important} }

/* ---- Search results: empty state (search.html) ---- */
.noresults{padding:24px 0 8px}
.nr-card{max-width:640px;margin:0 auto;text-align:center;background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-sm);padding:40px 28px}
.nr-card h2{font-size:24px;margin:0 0 10px;color:var(--ink)}
.nr-card p{color:var(--muted);margin:0 auto 22px;max-width:520px;line-height:1.6}
.nr-cta{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-bottom:22px}
.nr-pop{display:flex;gap:10px;justify-content:center;align-items:center;flex-wrap:wrap;font-size:14px;color:var(--muted)}
.nr-pop a{color:var(--ink);text-decoration:none;border:1px solid var(--line);border-radius:999px;padding:5px 12px}
.nr-pop a:hover{border-color:var(--accent);color:var(--accent-deep)}

/* ============ 2026-08 redesign: shared components (buttons, age gate) ============ */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;height:54px;padding:0 30px;border-radius:50px;font-weight:600;font-size:15px;font-family:inherit;cursor:pointer;border:none;transition:transform .14s ease,opacity .14s}
.btn.dark{background:var(--ink);color:#fff}
.btn.dark:hover{transform:translateY(-1px)}
.arrowlink{display:inline-flex;align-items:center;gap:7px;font-weight:600;font-size:15px;color:var(--ink);border-bottom:1.5px solid var(--ink);padding-bottom:3px}
.arrowlink:hover{color:var(--accent-text);border-color:var(--accent-text)}
.arrowlink.quiet{font-size:13.5px;border-bottom-width:1px}

/* Age gate: first visit only, above everything including CookieYes (~2147483645).
   While open, the CookieYes banner is suppressed so the sequence is gate first,
   consent banner after (html.aip-agegate-open is toggled by the gate JS). */
.agegate{position:fixed;inset:0;z-index:2147483646;display:flex;align-items:center;justify-content:center;padding:20px;background:rgba(35,32,30,.45);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.agegate[hidden]{display:none}
.agecard{background:#fff;border-radius:28px;max-width:480px;width:100%;padding:44px 40px 36px;text-align:center;box-shadow:0 40px 120px rgba(35,32,30,.3)}
.agecard img{height:30px;width:auto;margin:0 auto 26px}
.agecard h2{font-size:27px;font-weight:600;letter-spacing:-.01em;line-height:1.2}
.agecard p{font-size:13.5px;color:var(--body-warm);line-height:1.65;margin:14px auto 26px;max-width:38ch}
.agebtns{display:flex;flex-direction:column;gap:10px}
.agebtns .btn{width:100%}
.agebtns .deny{height:50px;border:1px solid var(--line);border-radius:50px;background:#fff;color:var(--muted);font-family:inherit;font-weight:600;font-size:14px;cursor:pointer}
.agebtns .deny:hover{color:var(--ink);border-color:#cdbfb6}
.agecard .fine{font-size:11px;color:var(--muted);line-height:1.6;margin-top:22px}
.agedenied{font-size:14px;font-weight:600;color:var(--ink);padding:14px 0 4px}
body.agelock{overflow:hidden}
.agebtns .btn:focus,.agebtns .deny:focus{outline:2px solid var(--accent-text);outline-offset:3px}
html.aip-agegate-open .cky-consent-container,html.aip-agegate-open .cky-overlay,html.aip-agegate-open .cky-btn-revisit-wrapper{visibility:hidden !important}

/* ============ 2026-08 redesign: front page (approved homepage-draft prototype) ============ */
.fphero{margin:0;border-radius:0;background:
  radial-gradient(120% 130% at 78% 10%,#f7e6da 0%,#f4e7de 42%,#efe6df 72%,#ece5e0 100%);
  position:relative;overflow:hidden}
.fphero::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 18% 85%,rgba(255,255,255,.42),transparent 46%),radial-gradient(circle at 88% 30%,rgba(255,255,255,.3),transparent 40%);pointer-events:none}
.heroin{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr);gap:34px;padding:34px 0 40px;align-items:center}
.fphero .eyebrow,.fpproof .eyebrow{font-size:14px;font-weight:600;color:var(--accent-text);margin-bottom:16px}
.fphero h1{font-size:42px;font-weight:500;line-height:1.06;letter-spacing:-.01em;max-width:13ch;margin:0}
.fphero .lede{color:var(--body-warm);font-size:16px;line-height:1.65;margin-top:20px;max-width:46ch}
.ctarow{display:flex;gap:26px;margin-top:30px;align-items:center;flex-wrap:wrap}
.godirect{display:flex;gap:18px;margin-top:26px;flex-wrap:wrap;align-items:baseline;font-size:13px}
.godirect span{color:var(--muted);font-weight:500}
.godirect a{font-weight:600;border-bottom:1px solid var(--line);padding-bottom:2px}
.godirect a:hover{color:var(--accent-text);border-color:var(--accent-text)}
.herovis{position:relative;display:flex;align-items:center;justify-content:center;padding-bottom:24px}
.herovid,.heroposter{width:126.5%;max-width:911px;height:auto;display:block;margin:0 -13.25%;
  -webkit-mask-image:radial-gradient(100% 100% at 50% 48%,#000 32%,transparent 51%);
  mask-image:radial-gradient(100% 100% at 50% 48%,#000 32%,transparent 51%)}
.heroposter{display:none}
.heroposter.show{display:block}
.coanote{position:absolute;bottom:0;left:50%;transform:translateX(-50%);background:rgba(255,255,255,.92);border-radius:50px;padding:9px 18px;font-size:12px;font-weight:600;white-space:nowrap;box-shadow:0 6px 24px rgba(80,50,35,.10)}
@media(min-width:960px){
  .heroin{grid-template-columns:minmax(0,1.02fr) minmax(0,1fr);gap:40px;padding:40px 0 52px}
  .herovis{margin-top:-28px}
  .fphero h1{font-size:64px}
}
@media(prefers-reduced-motion:reduce){
  .herovid{display:none}
  .heroposter{display:block}
}

/* tension band */
.tension{text-align:center;padding:44px 0 10px}
.tension h2{font-size:26px;font-weight:500;letter-spacing:-.01em}
.tension p{font-size:14.5px;color:var(--body-warm);margin-top:10px;line-height:1.6}
.tension a{font-weight:600;color:var(--accent-text)}
.tension a:hover{text-decoration:underline}
.tenvidwrap{display:flex;justify-content:center;margin-top:26px}
.tenvid,.tenposter{width:100%;max-width:440px;height:auto;border-radius:24px;display:block;box-shadow:0 24px 60px rgba(80,50,35,.13);border:1px solid rgba(35,32,30,.07);background:#f0e7e0}
.tenposter{display:none}
.tenposter.show{display:block}
@media(prefers-reduced-motion:reduce){.tenvid{display:none}.tenposter{display:block}}
@media(min-width:900px){.tension h2{font-size:32px}.tension{padding:56px 0 10px}}

/* stat strip */
.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;padding:34px 0 26px;border-bottom:1px solid var(--line)}
.stats b{display:block;font-size:24px;font-weight:600;letter-spacing:-.01em;line-height:1.15}
.stats small{display:block;font-size:13px;color:var(--muted);font-weight:500;margin-top:9px;line-height:1.55;max-width:30ch}
@media(min-width:900px){.stats b{font-size:31px}.stats{padding:40px 0 32px}}

/* payment line */
.payline{display:flex;flex-wrap:wrap;align-items:center;gap:16px;padding:20px 0;border-bottom:1px solid var(--line);font-size:13.5px;color:var(--body-warm);line-height:1.6}
.paylogos{display:flex;align-items:center;gap:8px}
.paylogos span{display:flex;align-items:center;justify-content:center;width:52px;height:32px;background:#fff;border:1px solid var(--line);border-radius:8px}
.paylogos img{max-height:15px;max-width:38px;width:auto;height:auto}
.paylogos img.tall{max-height:24px;max-width:24px}
.payline .txt{flex:1;min-width:260px}
.payline a{font-weight:600;color:var(--accent-text)}
.payline a:hover{text-decoration:underline}

/* section heads: editorial split */
.shead{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;align-items:end;margin:40px 0 26px}
.shead h2{font-size:32px;font-weight:500;letter-spacing:-.01em;line-height:1.12;max-width:18ch}
.shead .side{display:flex;flex-direction:column;gap:12px;align-items:flex-start}
.shead .sub{font-size:14.5px;color:var(--muted);line-height:1.6;max-width:44ch;margin-top:0}
@media(min-width:900px){
  .shead{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:60px;margin:52px 0 34px}
  .shead h2{font-size:44px}
  .shead .side{align-items:flex-end;text-align:right}
}

/* product tiles: borderless on tint */
.pgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
@media(min-width:900px){.pgrid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}}
.pcard{display:flex;flex-direction:column}
.pcard .ph{aspect-ratio:1;border-radius:20px;background:radial-gradient(120% 95% at 68% 18%,#f6e2d5,#f0e7e1);display:flex;align-items:center;justify-content:center;position:relative;transition:transform .18s ease}
.pcard:hover .ph{transform:translateY(-3px)}
.pcard .ph img{max-height:66%;max-width:70%;width:auto;height:auto;filter:drop-shadow(0 14px 18px rgba(80,50,35,.16))}
.pcard .mg{position:absolute;top:12px;left:12px;font-size:11px;font-weight:600;border:1px solid rgba(35,32,30,.35);border-radius:50px;padding:4px 10px;background:rgba(255,255,255,.55);z-index:1}
.pcard .b{padding:14px 4px 0;display:flex;flex-direction:column;gap:2px;flex:1}
.pcard .n{font-weight:600;font-size:15px;line-height:1.3}
.pcard .cmp{font-size:11.5px;color:var(--muted);font-weight:500;line-height:1.4}
.pcard .row{display:flex;align-items:baseline;justify-content:space-between;margin-top:auto;padding-top:8px}
.pcard .pr{font-weight:600;font-size:15px}
.pcard .pr .woocommerce-Price-amount{font-weight:600}
.pcard .st{font-size:11px;color:var(--muted);font-weight:500}
.pcard .st-out{color:#a04545}
.pcard .add{margin-top:11px;height:42px;border:1px solid var(--ink);border-radius:50px;background:transparent;color:var(--ink);font-family:inherit;font-weight:600;font-size:13px;cursor:pointer;transition:background .14s,color .14s}
.pcard .add:hover{background:var(--ink);color:#fff}
.pcard .add.loading{opacity:.6;pointer-events:none}
.pcard .add.added{background:var(--ink);color:#fff}
.gridfoot{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:30px;flex-wrap:wrap;padding-bottom:8px}
.gridfoot .tiernote{font-size:13px;color:var(--muted);font-weight:500;max-width:60ch;line-height:1.6}

/* category tiles */
.cattiles{display:grid;grid-template-columns:minmax(0,1fr);gap:14px}
@media(min-width:760px){.cattiles{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}}
.cattile{display:flex;flex-direction:column;align-items:center;text-align:center;border-radius:22px;background:radial-gradient(120% 95% at 55% 18%,#f7e4d6,#f0e7e1);padding:26px 18px 24px;transition:transform .16s ease,box-shadow .16s ease}
.cattile:hover{transform:translateY(-4px);box-shadow:0 22px 54px rgba(80,50,35,.14)}
.cattile b{font-size:19px;font-weight:600;letter-spacing:-.01em}
.cattile small{font-size:12.5px;color:var(--muted);font-weight:500;margin-top:4px}
.cvial{display:block;margin:18px 0 16px}
.cvial img{max-height:230px;width:auto;filter:drop-shadow(0 16px 20px rgba(80,50,35,.16));display:block}
.ctabtn{display:inline-flex;align-items:center;gap:7px;height:42px;padding:0 22px;border:1px solid var(--ink);border-radius:50px;font-weight:600;font-size:13.5px;color:var(--ink);transition:background .14s,color .14s}
.cattile:hover .ctabtn{background:var(--ink);color:#fff}

/* bundle band */
.bundleband{margin:80px 8px 0;border-radius:28px;background:var(--band);overflow:hidden}
.bundlein{display:grid;grid-template-columns:minmax(0,1fr);gap:30px;padding:48px 0;align-items:center}
.bundleband .chip{display:inline-block;font-size:12px;font-weight:600;background:#fff;border-radius:50px;padding:6px 14px;margin-bottom:18px}
.bundleband h3{font-size:30px;font-weight:500;line-height:1.15;letter-spacing:-.01em;max-width:16ch}
.bundleband p{font-size:14.5px;color:var(--body-warm);margin-top:14px;line-height:1.65;max-width:48ch}
.bmath{display:flex;align-items:baseline;gap:16px;margin:22px 0 26px;flex-wrap:wrap}
.bmath .was{font-size:16px;color:var(--muted);text-decoration:line-through;font-weight:500}
.bmath .now{font-size:32px;font-weight:600}
.bmath .note{font-size:13px;font-weight:600;color:var(--accent-text)}
.bimg{border-radius:20px;background:radial-gradient(120% 95% at 60% 20%,#f8e8dc,#f2e8e2);display:flex;align-items:center;justify-content:center;min-height:260px;padding:20px}
.bimg img{max-height:230px;width:auto;filter:drop-shadow(0 18px 24px rgba(80,50,35,.16))}
@media(min-width:900px){
  .bundlein{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:60px;padding:64px 0}
  .bundleband h3{font-size:38px}
  .bimg{min-height:340px}
  .bimg img{max-height:300px}
}

/* proof band */
.proofband{margin:22px 8px 0;border-radius:28px;background:
  radial-gradient(130% 120% at 20% 0%,#f6e7dc 0%,#f2e6de 50%,#ede4de 100%);overflow:hidden}
.proofin{display:grid;grid-template-columns:minmax(0,1fr);gap:38px;padding:52px 0 56px}
.fpproof h2{font-size:32px;font-weight:500;line-height:1.12;letter-spacing:-.01em;max-width:15ch}
.fpproof>div>p,.fpproof p{font-size:15px;color:var(--body-warm);line-height:1.65;margin-top:16px;max-width:46ch}
.fpproof p a{font-weight:600;color:var(--accent-text)}
.prooflinks{display:flex;flex-direction:column;gap:16px;margin-top:30px;align-items:flex-start}
.docwrap{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;align-items:center}
.docimg{background:#fff;border-radius:16px;padding:14px;box-shadow:0 22px 60px rgba(80,50,35,.14)}
.docimg img{width:100%;border-radius:6px}
.dochead{display:flex;justify-content:space-between;gap:12px;font-size:12px;font-weight:600;color:var(--muted);padding:0 2px 10px}
.annos{display:flex;flex-direction:column;gap:18px}
.anno{padding-left:16px;border-left:1.5px solid var(--ink)}
.anno b{display:block;font-size:13px;font-weight:600}
.anno small{display:block;font-size:12px;color:var(--muted);line-height:1.55;margin-top:3px;max-width:26ch}
.verifyline{font-size:12.5px;color:var(--muted);margin-top:14px;line-height:1.6}
.verifyline a{font-weight:600;color:var(--accent-text)}
@media(min-width:960px){
  .proofin{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:64px;padding:76px 0 80px;align-items:center}
  .fpproof h2{font-size:44px}
  .docwrap{grid-template-columns:minmax(0,1fr) 220px;gap:28px}
}

/* quiz close */
.quiz{padding:90px 0 96px;text-align:center}
.quiz .k{font-size:13px;font-weight:600;color:var(--accent-text);margin-bottom:18px}
.quiz h3{font-size:34px;font-weight:500;line-height:1.12;letter-spacing:-.01em;max-width:22ch;margin:0 auto}
.quiz p{font-size:15px;color:var(--body-warm);margin:18px auto 30px;max-width:52ch;line-height:1.65}
@media(min-width:900px){.quiz h3{font-size:48px}.quiz{padding:120px 0 126px}}

/* account sign-up band */
.acctband{display:grid;grid-template-columns:minmax(0,1fr);gap:20px;align-items:center;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:34px 0;margin-top:44px}
.acctband h3{font-size:22px;font-weight:600;letter-spacing:-.01em}
.acctband p{font-size:13.5px;color:var(--body-warm);line-height:1.6;margin-top:8px;max-width:52ch}
.acctbtns{display:flex;gap:22px;align-items:center;flex-wrap:wrap}
@media(min-width:900px){.acctband{grid-template-columns:minmax(0,1.4fr) auto;gap:40px;padding:38px 0}.acctband h3{font-size:25px}}

/* COA lightbox (prototype): enlarge in place, scroll the certificate */
.coazoom{display:block;cursor:zoom-in}
.coamodal{position:fixed;inset:0;z-index:90;display:flex;align-items:center;justify-content:center;padding:18px;background:rgba(35,32,30,.5);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.coamodal[hidden]{display:none}
.coadialog{background:#fff;border-radius:20px;max-width:920px;width:100%;max-height:92vh;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 40px 120px rgba(35,32,30,.35)}
.coabar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 20px;border-bottom:1px solid var(--line)}
.coabar b{font-size:14px;font-weight:600}
.coaclose{width:38px;height:38px;border-radius:50%;border:1px solid var(--line);background:#fff;font-size:20px;line-height:1;cursor:pointer;font-family:inherit;color:var(--ink);flex-shrink:0}
.coaclose:hover{background:var(--canvas)}
.coabody{overflow-y:auto;-webkit-overflow-scrolling:touch;padding:18px;background:#f4f0ed}
.coabody img{width:100%;height:auto;border-radius:8px;background:#fff}
.coafoot{padding:12px 20px;border-top:1px solid var(--line);font-size:12px;color:var(--muted);display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}
@media(max-width:599px){.coamodal{padding:0}.coadialog{max-height:100vh;border-radius:0}}
body.lockscroll{overflow:hidden}

/* PDP reviews (native Woo, anchored by the account "Rate your experience" action) */
.aip-reviews .woocommerce-Reviews{max-width:720px}
.aip-reviews .commentlist{list-style:none;margin:0 0 20px;padding:0}
.aip-reviews .commentlist li{background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:16px 18px;margin-bottom:10px}
.aip-reviews .comment-text p{font-size:13.5px;line-height:1.6;color:var(--body-warm)}
.aip-reviews .meta{font-size:12px;color:var(--muted);margin-bottom:6px}
.aip-reviews .star-rating{color:var(--accent-text)}
.aip-reviews .comment-form label{display:block;font-size:12.5px;font-weight:600;margin:12px 0 6px}
.aip-reviews .comment-form input[type=text],.aip-reviews .comment-form input[type=email]{width:100%;height:48px;border:1.5px solid var(--line);border-radius:12px;padding:0 14px;font-family:inherit;font-size:14px}
.aip-reviews .comment-form textarea{width:100%;min-height:90px;border:1.5px solid var(--line);border-radius:12px;padding:10px 14px;font-family:inherit;font-size:14px}
.aip-reviews .form-submit .submit{height:48px;padding:0 26px;border-radius:50px;border:none;background:var(--ink);color:#fff;font-family:inherit;font-weight:600;font-size:14px;cursor:pointer}
.aip-reviews .woocommerce-verification-required{font-size:13px;color:var(--muted)}

/* Front page: the quiz close owns the spacing, footer sits flush (prototype parity) */
body.home footer{margin-top:0}
/* JetWoo photoswipe stub renders unstyled (its css is stripped on native routes) — keep it out of flow until opened */
.pswp:not(.pswp--open){display:none}
/* Front page: prototype has no back-to-top; the help dock alone floats (parity) */
body.home .backtop{display:none}

/* ============================================================================
   PDP v2 (approved pdp-draft, uatvirg 2026-08-13 — CTO-PDP-GOLIVE-2026-08-13).
   Everything here is scoped to .pdp (single-product.php's <main>) except the
   COA popup (.coaoverlay), which renders outside <main>. Preview tokens map to
   theme tokens: --hair→--rule, preview tint→--tint; --stock added in :root.
   ========================================================================== */

/* ---- buy fold ---- */
.pdp .fold{display:grid;grid-template-columns:54% 1fr;gap:36px;align-items:start;padding:6px 0 0}
.pdp .fold>*{min-width:0}
/* Neutralise the legacy PDP layout still in this file: grid-area names from the
   old .product grid (they mint phantom implicit tracks inside .fold), the old
   .gallery glass/gradient/shine (the v2 panel is .imgpanel), and .buy's flex gap. */
.pdp .gallery{grid-area:auto;position:relative;top:auto;background:none;box-shadow:none;padding:0;border-radius:0;display:block;overflow:visible;cursor:auto}
.pdp .gallery::before,.pdp .gallery::after{content:none}
.pdp .gallery img{max-height:none}
.pdp .buy{grid-area:auto;display:block}
.pdp .midblock h1,.pdp .buy h1{font-size:42px;font-weight:600;color:var(--ink);letter-spacing:-.5px;line-height:1.1}
.pdp .midblock h1{font-size:32px}
.pdp .sub{color:var(--muted);font-size:15px;margin-top:6px;font-weight:400}
.pdp .pricerow{display:flex;align-items:baseline;gap:14px;margin:16px 0 4px;flex-wrap:wrap}
.pdp .price{font-size:34px;font-weight:600;color:var(--ink)}
.pdp .per{color:var(--muted);font-size:13.5px}
.pdp .stock{display:inline;font-size:13px;color:var(--stock);font-weight:600}
.pdp .stock::before{content:'';display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--stock);margin-right:6px;vertical-align:2px}
.pdp .stock.stock-out,.pdp .stock.stock-low{color:var(--muted)}
.pdp .stock.stock-out::before,.pdp .stock.stock-low::before{background:var(--accent)}
.pdp .m-only{display:none}

/* gallery panel + trust tiles */
.pdp .imgpanel{background:radial-gradient(120% 95% at 60% 20%,#f6e2d5,#f0e7e1);border-radius:var(--radius);display:flex;align-items:center;justify-content:center;padding:44px;min-height:470px;position:relative;cursor:zoom-in}
.pdp .imgpanel img{width:min(360px,80%);height:auto;filter:drop-shadow(0 18px 22px rgba(80,50,35,.16))}
.pdp .imgpanel .zoom{position:absolute;top:16px;right:16px;width:38px;height:38px;border-radius:50%;background:var(--paper);border:1px solid var(--rule);display:flex;align-items:center;justify-content:center}
.pdp .trustrow{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}
.pdp .trust{border:1px solid var(--rule);border-radius:14px;padding:12px 16px;font-size:12.5px;color:var(--text)}
.pdp .trust b{display:block;font-size:13px;font-weight:600;color:var(--ink)}

/* proof pill (replaces the verified-batch card) */
.pdp .verified{background:var(--tint);border:1px solid #C68F7940;border-radius:50px;padding:7px 8px 7px 11px;margin:16px 0 0;display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.pdp .vcheck{width:21px;height:21px;border-radius:50%;background:var(--accent);color:#fff;display:flex;align-items:center;justify-content:center;font-size:11px;flex:none}
.pdp .verified b{color:var(--ink);font-weight:600;font-size:13px;white-space:nowrap}
.pdp .verified .vsub{color:var(--muted);font-size:11.5px}
.pdp .vbtn{margin-left:auto;border:1px solid var(--ink);border-radius:50px;padding:6px 13px;font-size:11.5px;font-weight:600;color:var(--ink);background:none;cursor:pointer;font-family:inherit;white-space:nowrap;transition:background .14s,color .14s}
.pdp .vbtn:hover{background:var(--ink);color:#fff}

/* tier ladder: compact 4-up pills; the stepper owns quantity (ladder = shortcut) */
.pdp .tierlabel{margin:20px 0 8px;font-size:13px;color:var(--ink);font-weight:600}
.pdp .tierlabel small{color:var(--muted);font-weight:400;margin-left:8px}
.pdp .tiers{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.pdp .tier{border:1px solid var(--rule);border-radius:12px;padding:10px 8px 9px;text-align:center;cursor:pointer;background:var(--paper)}
.pdp .tier .q{font-weight:600;color:var(--ink);font-size:14px}
.pdp .tier .ea{font-size:12px;color:var(--muted);margin-top:1px}
.pdp .tier .sv{font-size:11px;color:var(--accent);font-weight:600;margin-top:2px}
.pdp .tier.on{border-color:var(--ink);box-shadow:0 0 0 1px var(--ink) inset}
.pdp .tier:focus-visible{outline:2px solid var(--accent-deep);outline-offset:2px}

/* qty + CTA + payment row */
.pdp .ctarow{display:flex;gap:12px;margin-top:18px}
.pdp .qty{display:flex;align-items:center;border:1px solid var(--rule);border-radius:50px;padding:0 6px;flex:none}
.pdp .qty span{width:34px;text-align:center;font-weight:600;color:var(--ink)}
.pdp .qty button{width:34px;height:48px;border:0;background:none;font-size:17px;color:var(--text);cursor:pointer;font-family:inherit}
.pdp .cta{flex:1;background:var(--ink);color:#fff;border:0;border-radius:50px;height:50px;font-family:inherit;font-size:15px;font-weight:600;cursor:pointer;box-shadow:0 8px 22px rgba(23,23,23,.18);transition:transform .12s,background .12s}
.pdp .cta:hover{background:#000;transform:translateY(-1px)}
.pdp .paysrow{display:flex;align-items:center;gap:12px;margin-top:12px;font-size:12px;color:var(--muted)}
.pdp .paysrow img{height:15px;width:auto;background:transparent}
.pdp .paychip{border:1px solid var(--rule);border-radius:50px;padding:2px 10px;font-weight:600;color:var(--ink);font-size:11px}
.pdp .shipline{font-size:12.5px;color:var(--muted);margin-top:8px}
.pdp .shipline a{border-bottom:1px solid var(--rule)}
.pdp .setsave{margin-top:10px}

/* ---- bands + rails ---- */
.pdp section.band{margin-top:44px}
.pdp .bandhead{display:flex;align-items:baseline;gap:14px;margin-bottom:16px}
.pdp .bandhead h2{font-size:24px;font-weight:600;color:var(--ink);letter-spacing:-.3px;margin:0}
.pdp .bandhead small{color:var(--muted);font-size:13px}
.pdp .bandhead .arrows{margin-left:auto;display:flex;gap:8px;align-self:center}
.pdp .arrow{width:38px;height:38px;border-radius:50%;border:1px solid var(--rule);background:var(--paper);display:flex;align-items:center;justify-content:center;cursor:pointer;color:var(--ink);font-family:inherit;font-size:15px;transition:opacity .15s,background .15s}
.pdp .arrow:hover{background:var(--tint)}
.pdp .arrow:disabled{opacity:.3;cursor:default;background:var(--paper)}
.pdp .tilegrid{display:flex;overflow-x:auto;gap:18px;scroll-snap-type:x proximity;scrollbar-width:none;padding-bottom:4px}
.pdp .tilegrid::-webkit-scrollbar{display:none}
.pdp .ptile{scroll-snap-align:start;flex:0 0 258px;display:flex;flex-direction:column}
.pdp .ptile .ph{aspect-ratio:1;border-radius:20px;background:radial-gradient(120% 95% at 68% 18%,#f6e2d5,#f0e7e1);display:flex;align-items:center;justify-content:center;position:relative;transition:transform .18s ease}
.pdp .ptile:hover .ph{transform:translateY(-3px)}
.pdp .ptile .ph img{max-height:66%;max-width:70%;width:auto;height:auto;object-fit:contain;filter:drop-shadow(0 14px 18px rgba(80,50,35,.16))}
.pdp .ptile .mg{position:absolute;top:12px;left:12px;font-size:11px;font-weight:600;border:1px solid rgba(35,32,30,.35);border-radius:50px;padding:4px 10px;background:rgba(255,255,255,.55);color:var(--ink)}
.pdp .ptile .b{padding:14px 4px 0;display:flex;flex-direction:column;gap:2px;flex:1}
.pdp .ptile .n{font-weight:600;font-size:15px;line-height:1.3;color:var(--ink)}
.pdp .ptile .cmp{font-size:11.5px;color:var(--muted);font-weight:500;line-height:1.4}
.pdp .ptile .row{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:8px;gap:8px}
.pdp .ptile .pr{font-weight:600;font-size:15px;color:var(--ink)}
.pdp .ptile .was{font-weight:400;font-size:12px;color:var(--muted);text-decoration:line-through;margin-left:7px}
.pdp .ptile .st{font-size:11px;color:var(--stock);font-weight:500;margin-top:5px}
.pdp .ptile .st::before{content:'';display:inline-block;width:5px;height:5px;border-radius:50%;background:var(--stock);margin-right:5px;vertical-align:1px}
.pdp .ptile .st-out,.pdp .ptile .st-low{color:var(--muted)}
.pdp .ptile .st-out::before,.pdp .ptile .st-low::before{background:var(--accent)}
.pdp .addbtn{border:1px solid var(--ink);border-radius:50px;padding:7px 16px;font-size:12.5px;font-weight:600;color:var(--ink);background:none;cursor:pointer;font-family:inherit;white-space:nowrap;transition:background .14s,color .14s}
.pdp .addbtn:hover{background:var(--ink);color:#fff}
.pdp .addbtn.loading{opacity:.6;pointer-events:none}
.pdp .addbtn.added{background:var(--ink);color:#fff}

/* ---- Product details ---- */
.pdp .about{display:grid;grid-template-columns:1.2fr 1fr;gap:36px;border:1px solid var(--rule);border-radius:var(--radius);padding:28px}
.pdp .about h2{font-size:22px;font-weight:600;color:var(--ink);margin-bottom:12px}
.pdp .about p{max-width:70ch;font-size:14.5px;color:var(--text);line-height:1.6}
.pdp .about p+p{margin-top:10px}
.pdp .spec{font-size:13.5px}
.pdp .spec .drow{display:grid;grid-template-columns:130px 1fr;gap:14px;padding:9px 0;border-bottom:1px solid var(--rule);margin:0}
.pdp .spec .drow:last-child{border-bottom:0}
.pdp .spec .dk{font-size:12.5px;font-weight:600;color:var(--muted);padding-top:1px}
.pdp .spec .dv{font-size:13.5px;color:var(--ink);font-weight:500;line-height:1.5}
.pdp details.morespec summary{list-style:none;cursor:pointer;font-size:13px;font-weight:600;color:var(--ink);border-bottom:1px solid var(--accent);display:inline-block;margin-top:10px;padding-bottom:1px}
.pdp details.morespec summary::-webkit-details-marker{display:none}
.pdp details.morespec[open] summary{margin-bottom:6px}

/* ---- Research (collapsed model-group accordions) ---- */
.pdp .research{border:1px solid var(--rule);border-radius:var(--radius);padding:28px}
.pdp .research h2{font-size:22px;font-weight:600;color:var(--ink);margin-bottom:10px}
.pdp .research .rintro,.pdp .research .intro{font-size:14px;max-width:70ch;color:var(--text);line-height:1.6}
.pdp .ressum{margin-top:12px;font-size:13px;font-weight:600;color:var(--ink)}
.pdp details.grp{border:1px solid var(--rule);border-radius:14px;margin-top:14px;overflow:hidden}
.pdp details.grp summary{list-style:none;cursor:pointer;display:flex;align-items:center;gap:10px;padding:14px 18px;font-weight:600;color:var(--ink);font-size:14.5px;background:var(--paper)}
.pdp details.grp summary::-webkit-details-marker{display:none}
.pdp details.grp summary .n{color:var(--muted);font-weight:400;font-size:13px}
.pdp details.grp summary .chev{margin-left:auto;color:var(--muted);transition:transform .2s}
.pdp details.grp[open] summary .chev{transform:rotate(180deg)}
/* Authored study cards (a.study > .stag/.stitle/.smeta/.stake/.slink, verbatim
   ACF markup) restyled to the preview's flat rows when housed in an accordion. */
.pdp details.grp .study{display:flex;flex-wrap:wrap;gap:4px 14px;padding:12px 18px;border:0;border-top:1px solid var(--rule);border-radius:0;background:var(--paper);box-shadow:none;align-items:baseline}
.pdp details.grp .study:hover{border-color:var(--rule);box-shadow:none}
.pdp details.grp .study .stag{flex:none;font-size:10px;font-weight:600;letter-spacing:.5px;text-transform:uppercase;color:var(--muted);background:none;border:1px solid var(--rule);border-radius:50px;padding:3px 9px;margin:0}
.pdp details.grp .study .stitle{flex:1 1 100%;font-size:13.5px;color:var(--ink);font-weight:500;margin:0}
.pdp details.grp .study .smeta{font-size:12px;color:var(--muted);margin:0}
.pdp details.grp .study .stake{flex:1 1 100%;font-size:12.5px;color:var(--muted);line-height:1.5;margin:0}
.pdp details.grp .study .slink{margin-left:auto;font-size:12.5px;font-weight:600;color:var(--ink);border-bottom:1px solid var(--accent);white-space:nowrap}
.pdp .resfoot{font-size:12px;color:var(--muted);margin-top:14px;line-height:1.6}
.pdp .resfoot a{border-bottom:1px solid var(--rule)}

/* ---- Reviews (zero state + full) ---- */
.pdp .reviews{border:1px solid var(--rule);border-radius:var(--radius);padding:20px 28px}
.pdp .reviews h2{font-size:18px;font-weight:600;color:var(--ink);margin-bottom:4px}
.pdp .reviews>p{font-size:13px;color:var(--muted)}
.pdp .reviews .rfine{margin:6px 0 10px}

/* ---- responsive ---- */
@media(max-width:900px){
  .pdp .fold{grid-template-columns:1fr}
  .pdp .about{grid-template-columns:1fr}
  .pdp .ptile{flex:0 0 44%}
}
@media(max-width:600px){
  .pdp .m-only{display:block}
  .pdp .d-only{display:none}
  .pdp .bandhead h2{font-size:21px}
  .pdp .bandhead small{display:none}
  .pdp .about{padding:22px}
  .pdp .research{padding:22px}
  .pdp .price{font-size:28px}
  .pdp .verified{border-radius:16px}
  .pdp .tiers{grid-template-columns:1fr 1fr}
  .pdp .tilegrid{gap:12px}
  .pdp .ptile{flex:0 0 200px}
  .pdp .imgpanel{min-height:0;padding:30px}
  .pdp details.grp .study .slink{margin-left:0}
}

/* ---- COA popup (outside <main>): on-site scrolling document view ---- */
.coaoverlay{display:none;position:fixed;inset:0;background:rgba(23,23,23,.45);z-index:100;align-items:center;justify-content:center;padding:24px}
.coaoverlay.open{display:flex}
.coapanel{background:var(--paper);border-radius:18px;max-width:780px;width:100%;max-height:88vh;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 30px 80px rgba(23,23,23,.25)}
.coahead{display:flex;align-items:center;gap:14px;padding:14px 20px;border-bottom:1px solid var(--rule)}
.coahead b{font-size:14px;color:var(--ink);font-weight:600}
.coahead small{color:var(--muted);font-size:12px}
.coaclose{margin-left:auto;width:34px;height:34px;border-radius:50%;border:1px solid var(--rule);background:var(--paper);font-size:15px;color:var(--ink);cursor:pointer;font-family:inherit;flex:none}
.coaclose:hover{background:var(--tint)}
.coabody{overflow-y:auto;-webkit-overflow-scrolling:touch;background:#F0EDEA;padding:18px}
.coabody img.coapage{width:100%;height:auto;border-radius:8px;box-shadow:0 8px 30px rgba(23,23,23,.10)}
.coabody img.coapage+img.coapage,.coabody .coasub+img.coapage{margin-top:14px}
.coabody iframe{width:100%;height:70vh;border:0;border-radius:8px;background:#fff}
.coasub{font-size:12px;font-weight:600;color:var(--ink);margin:16px 0 8px}
.coasub:first-child{margin-top:0}
.coafoot{font-size:11.5px;color:var(--muted);margin-top:12px}
@media(max-width:599px){.coaoverlay{padding:0}.coapanel{max-height:100vh;height:100vh;border-radius:0}}
