/* 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. */

: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 */

  --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:1180px;margin:0 auto;padding:0 20px}

/* ---- announce bar ---- */
.announce{background:var(--ink);color:#fff;text-align:center;font-size:12px;font-weight:600;letter-spacing:.05em;padding:9px 12px}

/* ---- header (GLASS) ---- */
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;box-shadow:var(--glass-inner), 0 14px 36px -24px rgba(120,80,60,.45)}
.bar{display:flex;align-items:center;justify-content:space-between;gap:14px;height:64px}
.brand img{height:30px;width:auto;display:block}
.nav{display:none;gap:28px;font-size:14px;font-weight:600;color:var(--text)}
.nav a:hover{color:var(--ink)}
.navitem{position:relative;display:flex;align-items:center}
.navitem>a{display:inline-flex;align-items:center;gap:5px}
.navitem::after{content:"";position:absolute;top:100%;left:-14px;right:-14px;height:14px}
.dropdown{position:absolute;top:calc(100% + 12px);left:-12px;min-width:210px;border-radius:14px;padding:8px;opacity:0;visibility:hidden;transform:translateY(-4px);transition:opacity .15s,transform .15s,visibility .15s;z-index:60}
.navitem:hover .dropdown,.navitem:focus-within .dropdown,.dropdown.open{opacity:1;visibility:visible;transform:translateY(0)}
.dropdown a{display:block;padding:12px 12px;border-radius:9px;font-size:13.5px;color:var(--ink);font-weight:500}
.dropdown a:hover{background:var(--tint);color:var(--accent-deep)}
.icons{display:flex;align-items:center;gap:14px}
.icon-btn{position:relative;width:40px;height:40px;border-radius:11px;border:1px solid var(--rule);background:rgba(255,255,255,.6);display:flex;align-items:center;justify-content:center;cursor:pointer;font-size:16px;font-family:inherit;color:var(--ink)}
.icon-btn:hover{border-color:var(--accent)}
.cartcount{position:absolute;top:-6px;right:-6px;background:var(--accent-deep);color:#fff;font-size:10px;font-weight:700;min-width:18px;height:18px;border-radius:9px;display:flex;align-items:center;justify-content:center;padding:0 4px}
: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 ---- */
.tierwrap{border:1px solid var(--rule);border-radius:14px;padding:14px;background:var(--paper)}
.tierhead{display:flex;flex-direction:column;margin-bottom:10px}
.tierhead b{font-size:14px;font-weight:700}
.tierhead span{font-size:12px;color:var(--muted);font-weight:400;margin-top:1px}
.tiers{display:grid;gap:8px}
.tier{display:flex;align-items:center;justify-content:space-between;border:1.5px solid var(--rule);border-radius:12px;padding:11px 13px;cursor:pointer;background:var(--paper);transition:border-color .12s,background .12s}
.tier:hover{border-color:var(--accent)}
.tier.sel{border-color:var(--ink);background:var(--tint-2)}
.tier .l{display:flex;align-items:center;gap:11px}
.tier .radio{width:18px;height:18px;border-radius:50%;border:2px solid var(--rule);flex-shrink:0;position:relative}
.tier.sel .radio{border-color:var(--ink)}
.tier.sel .radio::after{content:"";position:absolute;inset:3px;border-radius:50%;background:var(--ink)}
.tier .ql{font-weight:600;font-size:14px;line-height:1.2}
.tier .ql small{display:block;font-weight:400;color:var(--muted);font-size:11.5px}
.tier .r{text-align:right;line-height:1.25}
.tier .ea{font-weight:700;font-size:15px}
.tier .ea small{font-weight:500;color:var(--muted);font-size:11px}
.tier .badge{display:inline-block;margin-top:2px;font-size:11px;font-weight:700;color:var(--accent-deep)}
.tier .badge.none{visibility:hidden}

/* ---- 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}

/* ---- 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 */
.coa-modal{position:fixed;inset:0;z-index:100;display:none}
.coa-modal.open{display:block}
.coa-backdrop{position:absolute;inset:0;background:rgba(40,28,22,.55);-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}
.coa-dialog{position:relative;background:var(--paper);max-width:760px;margin:4vh auto;max-height:92vh;display:flex;flex-direction:column;border-radius:18px;overflow:hidden;box-shadow:0 30px 90px -20px rgba(40,28,22,.5)}
.coa-bar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 18px;border-bottom:1px solid var(--rule)}
.coa-bar b{font-size:13.5px;font-weight:700}
.coa-bar button{border:none;background:none;font-size:26px;line-height:1;cursor:pointer;color:var(--muted);font-family:inherit}
.coa-bar button:hover{color:var(--ink)}
.coa-body{overflow:auto;padding:16px;background:var(--canvas)}
.coa-body iframe{width:100%;height:78vh;border:0;border-radius:8px;box-shadow:var(--shadow);background:#fff}
.coa-foot{display:flex;align-items:center;gap:12px;justify-content:space-between;flex-wrap:wrap;padding:13px 18px;border-top:1px solid var(--rule);font-size:12px;color:var(--muted)}
.coa-foot a{font-weight:700;color:var(--accent-deep)}
@media(max-width:560px){.coa-dialog{margin:0;max-height:100vh;height:100vh;border-radius:0}}

/* 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)}
.tierwrap{background:linear-gradient(157deg, rgba(255,255,255,.82), rgba(255,255,255,.62));border:0;box-shadow:var(--glass-inner), 0 16px 36px -20px rgba(120,80,60,.22)}
.tier{position:relative;overflow:hidden;background:linear-gradient(157deg, rgba(255,255,255,.92), rgba(255,255,255,.74));border:1px solid rgba(255,255,255,.7);box-shadow:inset 0 1px 0 rgba(255,255,255,.9)}
.tier:hover{border-color:rgba(255,255,255,.85)}
.tier.sel{background:linear-gradient(157deg, rgba(255,255,255,.96), rgba(253,248,246,.86));border-color:var(--ink)}
.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,.tier::after,.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,.tier:hover::after,.card:hover::after{left:145%}
@media(prefers-reduced-motion:reduce){.gallery::before,.tier::after,.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}

.carhead{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;gap:14px}
.carhead h2{margin-bottom:0}
.cararrows{display:flex;gap:8px;flex-shrink:0}
.cararrow{width:36px;height:36px;border-radius:50%;border:1px solid var(--rule);background:var(--paper);cursor:pointer;font-size:18px;color:var(--ink);display:flex;align-items:center;justify-content:center;line-height:1;font-family:inherit}
.cararrow:hover{border-color:var(--accent);color:var(--accent-deep)}
.carousel{display:grid;grid-auto-flow:column;grid-auto-columns:62%;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;padding-bottom:4px;scrollbar-width:none}
.carousel::-webkit-scrollbar{display:none}
.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)}
@media(min-width:560px){ .carousel{grid-auto-columns:210px} }

/* ---- 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 .addcart{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{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}
.cart-empty a{display:inline-block;background:var(--ink);color:#fff;border-radius:50px;padding:14px 28px;text-decoration:none;font-weight:600;font-size:14px}

/* ---- 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 ---- */
footer{background:var(--canvas);color:var(--ink);margin-top:44px;padding:40px 0 28px;border-top:1px solid var(--rule)}
.foot-top{display:grid;grid-template-columns:1fr;gap:30px}
.foot-brand img{height:28px;width:auto;display:block}
.foot-tag{font-size:13px;color:var(--muted);margin:12px 0 14px;max-width:30ch;line-height:1.5}
.foot-contact{display:flex;flex-direction:column;gap:5px;font-size:13px}
.foot-contact a{color:var(--ink);font-weight:600}
.foot-contact a:hover{color:var(--accent-deep)}
.foot-contact .hrs{color:var(--muted);font-weight:400}
.foot-ship{margin-top:10px;font-size:12px;color:var(--muted);line-height:1.5}
.foot-ship b{display:block;color:var(--ink);font-weight:600;margin-bottom:2px}
.foot-cols{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.foot-col h4{font-size:13px;font-weight:700;color:var(--ink);margin-bottom:12px}
.foot-col a{display:block;font-size:13px;color:var(--muted);font-weight:500;padding:5px 0;line-height:1.3}
.foot-col a:hover{color:var(--ink)}
footer .rwo{font-size:11px;line-height:1.7;color:var(--muted);margin-top:30px;border-top:1px solid var(--rule);padding-top:18px}
@media(min-width:760px){ .foot-top{grid-template-columns:1.5fr 2fr;gap:48px;align-items:start} }

/* ---- search + mobile menu (GLASS panels) ---- */
.searchbar{display:none;border-bottom:1px solid var(--rule);position:-webkit-sticky;position:sticky;top:64px;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{display:flex;align-items:center;justify-content:center;width:40px;height:40px;border-radius:11px;border:1px solid var(--rule);background:rgba(255,255,255,.6);cursor:pointer;font-size:17px;color:var(--ink);font-family:inherit}
.mobmenu{display:none;border-bottom:1px solid var(--rule);position:-webkit-sticky;position:sticky;top:64px;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){
  .nav{display:flex}
  .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)}
