/* ============================================================
   Storefront stylesheet. All colors come from the CSS variables
   printed by inc/brand.php (Appearance › Brand) — never hard-code a brand color.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-ui), system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--surface);
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: var(--brand-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.mono { font-family: var(--font-mono), monospace; }
.ico { width: 1em; height: 1em; vertical-align: -0.125em; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--brand-primary); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* ---- Buttons ---- */
.btn {
  display: inline-block; border: 0; cursor: pointer; text-align: center;
  font: 600 13px/1 var(--font-ui), sans-serif; letter-spacing: .08em; text-transform: uppercase;
  padding: 14px 26px; border-radius: 6px; transition: background .15s, color .15s, box-shadow .15s;
  text-decoration: none !important;
}
.btn-primary { background: var(--brand-primary); color: #fff; }
.btn-primary:hover { background: var(--brand-primary-dark); }
.btn-ghost { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--brand-primary); color: var(--brand-primary); }
.btn-block { display: block; width: 100%; }
.btn-lg { padding: 16px 34px; font-size: 14px; }
.btn-sm { padding: 9px 16px; font-size: 11px; }

.kicker {
  font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
}

/* ---- Shared pieces for the homepage, header and footer ---- */
:root {
  --ink-2: #4a4f5c;
  --brand-soft: color-mix(in srgb, var(--brand-primary) 14%, #fff);
  --deep: color-mix(in srgb, var(--brand-primary-dark) 45%, var(--ink));
  --ok-ink: color-mix(in srgb, var(--success) 85%, #000);
  --shadow-sm: 0 2px 6px rgba(36, 26, 61, .06), 0 10px 24px rgba(36, 26, 61, .07);
  --shadow-md: 0 6px 14px rgba(36, 26, 61, .07), 0 22px 48px rgba(36, 26, 61, .10);
  --shadow-btn: 0 8px 18px color-mix(in srgb, var(--brand-primary) 28%, transparent);
  --r-card: 22px;
  --r-panel: 28px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
.wrap { width: min(1280px, 100%); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.lf-ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 3px solid var(--brand-primary); outline-offset: 3px; }
.eyebrow { display: block; margin: 0 0 14px; font-size: 12px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--brand-primary); }
.h-display { margin: 0; font-size: clamp(36px, 4.2vw, 60px); line-height: 1.02; letter-spacing: -.025em; font-weight: 800; color: var(--ink); text-wrap: balance; }
.h-section { margin: 0; font-size: clamp(32px, 3.6vw, 50px); line-height: 1.06; letter-spacing: -.022em; font-weight: 800; color: var(--ink); text-wrap: balance; }
.lede { margin: 0; font-size: 17.5px; line-height: 1.6; color: var(--ink-2); max-width: 58ch; }
.body { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-2); max-width: 60ch; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.check-list li { display: flex; align-items: flex-start; gap: 10px; font-weight: 700; font-size: 15.5px; line-height: 1.5; color: var(--ink); }
.check-list .lf-ico { width: 18px; height: 18px; color: var(--brand-primary); margin-top: 3px; }
.pill { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 14px 26px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 800; font-size: 15.5px; letter-spacing: -.005em; line-height: 1.2; text-decoration: none !important; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .2s, border-color .2s, color .2s; }
.pill .lf-ico { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.pill:hover { transform: translateY(-2px); }
.pill:hover .lf-ico { transform: translateX(3px); }
.pill:active { transform: translateY(0); }
.pill-brand { background: var(--brand-primary); color: #fff; box-shadow: var(--shadow-btn); }
.pill-brand:hover { background: var(--brand-primary-dark); color: #fff; }
.pill-deep { background: var(--deep); color: #fff; box-shadow: 0 8px 18px rgba(36, 26, 61, .25); }
.pill-deep:hover { color: #fff; }
.pill-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.pill-ghost:hover { border-color: var(--brand-primary); color: var(--brand-primary); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.tile-ico { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; background: var(--brand-soft); color: var(--brand-primary); flex: none; }
.tile-ico .lf-ico { width: 22px; height: 22px; }
.tile-ico.warm { background: #fbe9dc; color: #b45a1b; }
.tile-ico.mint { background: #dff1e8; color: var(--success); }
.tile-ico.sky { background: #e3ecf9; color: #2b5aa7; }
.tile-ico.ok { background: #e4f4ea; color: var(--ok-ink); }
.molecules { position: absolute; inset: -10% -6% -6% -4%; width: auto; height: auto; color: color-mix(in srgb, var(--brand-hero) 60%, #fff); opacity: .55; pointer-events: none; }

/* ---- Bars + header ---- */
.bar-ruo { background: #f6e3d2; color: #5a2f0b; text-align: center; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 9px 20px; }
.bar-ship { background: var(--brand-primary); color: #fff; text-align: center; font-size: 14px; font-weight: 700; padding: 10px 20px; }
.bar-ship b { font-weight: 800; }
.site-header { position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 20; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: saturate(1.4) blur(10px); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-header-inner { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 28px; padding-top: 14px; padding-bottom: 14px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none !important; color: inherit; }
.site-header .logo-img, .logo-footer .logo-img { height: 48px; width: auto; display: block; }
.logo-footer .logo-img { height: 44px; }
.logo-text { font-size: 1.35rem; font-weight: 800; line-height: 1.1; color: var(--brand-primary); }
.site-nav { min-width: 0; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; font-weight: 700; font-size: 15.5px; }
.nav-links a { position: relative; display: block; padding: 6px 0; color: var(--ink); text-decoration: none !important; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--brand-primary); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav-links a:hover::after, .nav-links a[aria-current]::after { transform: scaleX(1); }
.nav-account-mobile { display: none; }
.site-header .search { display: flex; align-items: center; gap: 6px; width: 300px; min-height: 48px; margin: 0; padding: 0 14px 0 7px; border-radius: 999px; background: var(--surface-alt); border: 1.5px solid var(--line); color: var(--muted); transition: border-color .2s, box-shadow .2s; }
.site-header .search:focus-within { border-color: var(--brand-primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-primary) 12%, transparent); }
.search-go { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 0; border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; }
.search-go:hover { background: var(--soft-band); }
.site-header .search input { flex: 1; min-width: 0; padding: 0; border: 0; background: transparent; color: var(--ink); font: 15px var(--font-ui), sans-serif; outline: none; caret-color: var(--brand-primary); }
.site-header .search input::placeholder { color: var(--muted); }
.icons { display: flex; gap: 6px; }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 12px; border: 0; background: transparent; color: var(--ink); position: relative; cursor: pointer; text-decoration: none !important; transition: background .2s; }
.icon-btn:hover { background: var(--surface-alt); color: var(--ink); }
.icon-btn .lf-ico { width: 22px; height: 22px; }
.icon-btn .cart-count { position: absolute; top: 4px; right: 4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--brand-primary); color: #fff; font-size: 11px; font-weight: 800; line-height: 18px; text-align: center; }
.menu-btn { display: none; order: -1; }

/* ---- RUO banners ---- */
.ruo-strip {
  background: var(--surface-alt); border-bottom: 1px solid var(--line);
  font-size: 12.5px; font-weight: 700; letter-spacing: .06em; padding: 12px 0; text-align: center;
}
.ruo-banner { background: var(--surface-alt); border-bottom: 1px solid var(--line); padding: 18px 0; }
.ruo-title { font-size: 12.5px; font-weight: 800; letter-spacing: .06em; margin: 0 0 6px; }
.ruo-body { font-size: 11.5px; color: var(--muted); margin: 0; max-width: 1050px; line-height: 1.55; }

/* ---- Homepage ---- */
.hero { position: relative; overflow: clip; background: linear-gradient(100deg, var(--surface-alt) 0%, #fbfafd 40%, #fbf1e8 100%); }
.hero::before { content: ""; position: absolute; inset: auto -10% -30% 55%; height: 90%; background: radial-gradient(closest-side, color-mix(in srgb, var(--brand-hero) 28%, transparent), transparent); pointer-events: none; }
.hero::after { content: ""; position: absolute; right: -8%; top: -20%; width: 46%; height: 70%; background: radial-gradient(closest-side, rgba(251, 212, 176, .55), rgba(251, 212, 176, 0)); pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); align-items: center; gap: 24px; padding-top: 64px; padding-bottom: 112px; min-height: 640px; }
.hero-tag { display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-2); }
.hero-tag i { width: 5px; height: 5px; border-radius: 50%; background: var(--brand-primary); }
.hero-tag b { color: var(--brand-primary); }
.hero h1.h-display { margin-top: 26px; }
.hero h1 .dot { color: var(--brand-primary); }
.hero h1 .hero-brand { display: block; margin-bottom: 14px; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.3; letter-spacing: 0; font-weight: 800; color: var(--brand-primary); }
.hero .lede { margin-top: 22px; max-width: 46ch; }
.hero .check-list { margin-top: 26px; }
.hero .btn-row { margin-top: 32px; }
.hero-ruo { display: inline-flex; align-items: center; gap: 10px; margin: 30px 0 0; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.hero-ruo .lf-ico { width: 18px; height: 18px; color: var(--success); }
.hero-visual { position: relative; min-height: 540px; }
.vial { position: absolute; bottom: 0; height: auto; filter: drop-shadow(0 24px 34px rgba(40, 20, 80, .22)); transition: transform 1.2s var(--ease), opacity 1.2s var(--ease); }
.vial-1 { left: 2%; width: 44%; bottom: 6%; transform: rotate(-12deg); z-index: 2; }
.vial-2 { left: 42%; width: 34%; bottom: 14%; transform: rotate(6deg); z-index: 3; }
.vial-3 { right: 0; width: 30%; bottom: 7%; transform: rotate(14deg); z-index: 1; }
.hero-visual.is-settling .vial { opacity: .001; }
.hero-visual.is-settling .vial-1 { transform: rotate(-12deg) translateY(30px); }
.hero-visual.is-settling .vial-2 { transform: rotate(6deg) translateY(44px); }
.hero-visual.is-settling .vial-3 { transform: rotate(14deg) translateY(24px); }

.trust-wrap { position: relative; z-index: 3; margin-top: -58px; }
.trust-bar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-md); }
.trust-item { display: flex; align-items: center; gap: 14px; padding: 20px 22px; min-width: 0; }
.trust-item > div { min-width: 0; }
.trust-item + .trust-item { border-left: 1px solid var(--line); }
.trust-item b { display: block; font-size: 15px; font-weight: 800; }
.trust-item div span { display: block; font-size: 13px; color: var(--muted); margin-top: 1px; line-height: 1.4; }

.cats { position: relative; background: linear-gradient(180deg, color-mix(in srgb, var(--brand-primary) 5%, #fff) 0%, #fbfafd 100%); }
.cats .wrap { padding-top: 112px; padding-bottom: 96px; }
.cats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
.cat { position: relative; display: flex; flex-direction: column; min-height: 340px; padding: 24px 22px 0; border-radius: var(--r-card); overflow: hidden; border: 1px solid rgba(255, 255, 255, .7); box-shadow: var(--shadow-sm); color: var(--ink); text-decoration: none !important; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.cat::before { content: ""; position: absolute; left: 50%; top: 42%; width: 120%; aspect-ratio: 1; border-radius: 50%; transform: translateX(-50%); border: 1px solid color-mix(in srgb, var(--brand-primary) 8%, transparent); pointer-events: none; }
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cat-lav { background: linear-gradient(180deg, color-mix(in srgb, var(--brand-primary) 12%, #fff), color-mix(in srgb, var(--brand-primary) 4%, #fff)); }
.cat-peach { background: linear-gradient(180deg, #fbe9db, #fdf6f0); }
.cat-mint { background: linear-gradient(180deg, #e3f1ea, #f4faf7); }
.cat-sky { background: linear-gradient(180deg, #e3ebf7, #f3f6fc); }
.cat-sand { background: linear-gradient(180deg, #f7ecdc, #fcf7f0); }
.cat-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; position: relative; }
.cat-head h3 { margin: 0; font-size: 21px; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; overflow-wrap: anywhere; hyphens: auto; }
.cat-head small { display: block; font-size: 13px; font-weight: 700; color: var(--ink-2); margin-top: 2px; }
.cat-arrow { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--surface); color: var(--brand-primary); box-shadow: var(--shadow-sm); flex: none; transition: transform .3s var(--ease); }
.cat:hover .cat-arrow { transform: translateX(4px); }
.cat-arrow .lf-ico { width: 18px; height: 18px; }
.cat-art { --tuck: 26px; position: relative; margin-top: auto; height: 200px; display: flex; align-items: flex-end; justify-content: center; gap: 0; }
/* Podium: the middle vial stands tallest at the front; the outer two sit smaller behind it, tucked under its shoulders. */
.cat-art img { height: 82%; width: auto; max-width: 48%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 10px 16px rgba(40, 20, 80, .14)); translate: 0 calc(-1 * var(--lift, 0px)); transition: translate .35s var(--ease); }
.cat-art img:first-child { margin-right: calc(-1 * var(--tuck)); }
.cat-art img:nth-child(3) { margin-left: calc(-1 * var(--tuck)); }
.cat-art img:nth-child(2), .cat-art img:only-child { height: 100%; max-width: 60%; margin: 0; z-index: 2; filter: drop-shadow(0 16px 24px rgba(40, 20, 80, .2)); }
.cat:hover .cat-art img { --lift: 4px; }
.cat:hover .cat-art img:nth-child(2) { --lift: 8px; }
/* Square product photos (vial centred in a square frame). theme.js measures the vial inside the frame and sets
   --vial-ratio (vial width / height), --vial-h, --vial-top, --vial-bottom (fractions of the frame) and --vial-x
   (object-position that centres the vial). The frame is then cropped and enlarged to the vial, so it takes the same
   box as a tall cutout and sits in the podium, the FAQ row and the closing card exactly like one. */
.cat-art img.is-fitted, .home-faq-art .row img.is-fitted, .close-art img.is-fitted, .label-card img.is-fitted { aspect-ratio: var(--vial-ratio); object-fit: cover; object-position: var(--vial-x) 0; scale: calc(1 / var(--vial-h)); transform-origin: 50% calc(var(--vial-bottom) * 100%); translate: 0 calc((1 - var(--vial-bottom)) * 100% - var(--lift, 0px)); }
/* Opaque white frames: clip to the vial and blend the white away; a white box cannot cast the cutouts' shadow. */
.cat-art img.is-fitted:not(.is-cutout), .home-faq-art .row img.is-fitted:not(.is-cutout), .close-art img.is-fitted:not(.is-cutout), .label-card img.is-fitted:not(.is-cutout) { clip-path: inset(calc(var(--vial-top) * 100%) calc((1 - var(--vial-h)) * 50%) calc((1 - var(--vial-bottom)) * 100%)); mix-blend-mode: multiply; filter: none; }
/* Frames the script could not read (no CORS on the image host): the older approximation, scaled up and blended. */
.cat-art img.is-square:not(.is-fitted), .home-faq-art .row img.is-square:not(.is-fitted), .close-art img.is-square:not(.is-fitted) { scale: 1.4; transform-origin: 50% 88%; mix-blend-mode: multiply; filter: none; }

/* Featured products: the shop's product cards under a section head, three per page */
.home-featured { background: #fbfafd; }
.home-featured .wrap { padding-top: 16px; padding-bottom: 96px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 40px; }
.home-featured .featured-page > ul.products { margin-bottom: 0; }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 34px; }
.pager-btn { min-width: 44px; height: 44px; border: 0; border-radius: 8px; background: var(--brand-primary); color: #fff; font: 700 14px var(--font-ui), sans-serif; cursor: pointer; opacity: .55; }
.pager-btn.is-active, .pager-btn:hover { opacity: 1; }

.split { position: relative; }
.split .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(32px, 6vw, 88px); padding-top: 96px; padding-bottom: 96px; }
.split .copy .lede { margin-top: 22px; }
.split .copy .body { margin-top: 18px; }
.split .copy .check-list { margin-top: 22px; }
.split .copy .btn-row { margin-top: 30px; }
.disclaimer { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13.5px; line-height: 1.55; color: var(--muted); max-width: 60ch; }

.doc-stage { position: relative; padding: 28px 54px 54px 28px; }
.doc-frame { position: relative; background: var(--surface-alt); border-radius: 34px; padding: 26px 26px 26px 112px; box-shadow: var(--shadow-sm); }
.doc-frame::before { content: ""; position: absolute; inset: 12px; border-radius: 26px; border: 1px solid color-mix(in srgb, var(--brand-primary) 8%, transparent); pointer-events: none; }
.coa { margin: 0; position: relative; }
.coa img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: var(--shadow-md); }
.coa-text { display: grid; gap: 6px; min-height: 300px; align-content: center; padding: 28px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-md); text-align: center; }
.coa-text span { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-primary); }
.coa-text b { font-size: 22px; font-weight: 800; line-height: 1.2; }
.coa-text small { font-size: 13px; color: var(--muted); }
.float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; background: var(--surface); border-radius: 14px; box-shadow: var(--shadow-md); font-size: 13px; font-weight: 800; line-height: 1.3; z-index: 4; }
.float .tile-ico { width: 36px; height: 36px; border-radius: 10px; }
.float .tile-ico .lf-ico { width: 18px; height: 18px; }
.float small { display: block; font-size: 11.5px; font-weight: 600; color: var(--muted); margin-top: 2px; }
.doc-stage .f1 { right: 0; top: 44px; }
.doc-stage .f2 { right: 0; top: 50%; }
.doc-stage .f3 { right: 34px; bottom: 18px; }
.doc-vial { position: absolute; left: -22px; bottom: -34px; width: 136px; height: auto; transform: rotate(-14deg); filter: drop-shadow(0 20px 30px rgba(40, 20, 80, .25)); z-index: 3; }

.docs-band { background: linear-gradient(180deg, #fbfafd 0%, color-mix(in srgb, var(--brand-primary) 4%, #fff) 50%, #fbfafd 100%); position: relative; }
.docs-band::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(color-mix(in srgb, var(--brand-primary) 5%, transparent) 1px, transparent 1px), linear-gradient(90deg, color-mix(in srgb, var(--brand-primary) 5%, transparent) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse at 50% 50%, #000 30%, transparent 75%); pointer-events: none; }
.docs-band .wrap { position: relative; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 30px; }
.stat { display: flex; align-items: center; gap: 12px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); min-width: 0; }
.stat .tile-ico { width: 44px; height: 44px; border-radius: 12px; }
.stat b { display: block; font-size: 24px; font-weight: 800; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.stat small { display: block; font-size: 12px; font-weight: 700; color: var(--muted); margin-top: 4px; line-height: 1.3; }
.lab-stage { position: relative; padding: 36px 28px 44px 44px; }
.lab-panel { position: relative; aspect-ratio: 5 / 4; max-width: 100%; border-radius: var(--r-panel); overflow: hidden; background: radial-gradient(120% 90% at 80% 10%, var(--brand-primary) 0%, var(--brand-primary-dark) 45%, var(--deep) 100%); box-shadow: var(--shadow-md); }
.lab-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 0 50%; }
.lab-panel::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 12, 40, .05) 40%, rgba(20, 12, 40, .55) 100%); z-index: 1; }
.lab-chip { position: absolute; top: 22px; left: 22px; display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: 999px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .22); color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); z-index: 2; }
.lab-chip i { width: 8px; height: 8px; border-radius: 50%; background: #9ee2bd; box-shadow: 0 0 0 4px rgba(158, 226, 189, .25); }
.lab-caption { position: absolute; right: 22px; bottom: 22px; padding: 16px 20px; border-radius: 14px; background: rgba(20, 14, 38, .72); border: 1px solid rgba(255, 255, 255, .12); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); z-index: 2; max-width: 62%; }
.lab-caption small { display: block; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #cdbdf1; }
.lab-caption b { display: block; font-size: 16px; font-weight: 800; margin-top: 4px; }
.lab-stage .f1 { right: -8px; top: 0; }
.lab-stage .f2 { left: -10px; bottom: 6px; }

.features .wrap { padding-top: 8px; padding-bottom: 96px; }
.feature-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 26px 24px 28px; box-shadow: var(--shadow-sm); min-width: 0; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature h3 { margin: 22px 0 0; font-size: 20px; font-weight: 800; letter-spacing: -.01em; line-height: 1.25; }
.feature p { margin: 10px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }

.home-faq { background: linear-gradient(180deg, #fbfafd, color-mix(in srgb, var(--brand-primary) 4%, #fff) 60%, #fbfafd); }
.home-faq .wrap { padding-top: 96px; padding-bottom: 96px; }
.home-faq-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px; align-items: end; }
.home-faq-head .lede { max-width: 42ch; }
.home-faq-body { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px; margin-top: 44px; align-items: start; }
.home-faq-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-panel); padding: 14px; box-shadow: var(--shadow-sm); }
.home-faq-art { position: relative; height: 380px; border-radius: 20px 20px 0 0; overflow: hidden; background: linear-gradient(180deg, color-mix(in srgb, var(--brand-primary) 7%, #fff), #fbfafd); }
.home-faq-art .molecules { inset: -20% -10% auto -10%; height: 90%; opacity: .5; }
.home-faq-art .row { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; justify-content: center; height: 86%; padding: 0 6%; }
.home-faq-art .row img { width: auto; max-width: 30%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 18px 26px rgba(40, 20, 80, .2)); }
.home-faq-art .row img:nth-child(1) { height: 68%; margin-right: -9%; }
.home-faq-art .row img:nth-child(2) { height: 78%; margin-right: -9%; z-index: 1; }
.home-faq-art .row img:nth-child(3) { height: 92%; z-index: 2; }
.home-faq-art .row img:nth-child(4) { height: 78%; margin-left: -9%; z-index: 1; }
.home-faq-art .row img:nth-child(5) { height: 68%; margin-left: -9%; }
.home-faq-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px; border-radius: 0 0 20px 20px; background: linear-gradient(90deg, var(--brand-primary), color-mix(in srgb, var(--brand-primary) 78%, #fff)); color: #fff; text-decoration: none !important; }
.home-faq-cta:hover { color: #fff; }
.home-faq-cta b { display: block; font-size: 15px; font-weight: 800; }
.home-faq-cta div span { display: block; font-size: 13.5px; opacity: .9; }
.home-faq-cta .cat-arrow { background: rgba(255, 255, 255, .18); color: #fff; box-shadow: none; }
.home-faq-list { display: grid; gap: 12px; }
.home-faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); overflow: hidden; }
.home-faq-q { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none; font-weight: 800; font-size: 16.5px; letter-spacing: -.005em; line-height: 1.35; color: var(--ink); }
.home-faq-q::-webkit-details-marker { display: none; }
.home-faq-q .toggle { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--surface-alt); color: var(--brand-primary); flex: none; transition: background .2s, color .2s, transform .3s var(--ease); }
.home-faq-q .toggle .lf-ico { width: 16px; height: 16px; }
.home-faq-item[open] .home-faq-q .toggle { background: var(--brand-primary); color: #fff; transform: rotate(45deg); }
.home-faq-a p { margin: 0; padding: 0 22px 22px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.home-faq-a p b { color: var(--ink); }
.home-faq-a a { color: var(--brand-primary); text-decoration: underline; text-underline-offset: 3px; }

/* ---- Product vial imagery ---- */
.label-art {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 16px; width: 100%; display: grid; place-items: center; overflow: hidden;
}
.label-vial {
  display: block; width: auto; height: 100%; max-width: 100%; min-height: 0;
  object-fit: contain; pointer-events: none;
}
.label-card { height: 270px; }
.label-detail { height: clamp(380px, 48vw, 520px); padding: 24px; border-radius: 14px; box-shadow: 0 10px 34px rgba(30,34,48,.08); }
.label-hero { width: 290px; height: 345px; }

/* ---- Product cards ---- */
.section-title { text-align: center; font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; letter-spacing: .04em; text-transform: uppercase; margin: 0 0 34px; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.product-card {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  background: linear-gradient(180deg, #fff 0%, var(--surface-alt) 100%); border: 1px solid var(--line); border-radius: 24px;
  overflow: hidden; transition: box-shadow .15s, transform .15s;
}
.product-card:hover { box-shadow: 0 18px 40px rgba(30,34,48,.1); transform: translateY(-2px); }
.product-card-head { display: block; padding: 22px 22px 0; color: inherit; text-decoration: none !important; }
.product-card-head .label-art { border: 0; border-radius: 0; background: transparent; padding: 12px 0 0; height: 250px; }
.badge-sale {
  position: absolute; z-index: 2; top: 10px; left: 10px; background: var(--sale); color: #fff;
  font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 4px;
}
.product-card-title { font-size: 22px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; margin: 0; min-height: 2.4em; color: var(--ink); }
.product-card-head:hover .product-card-title { color: var(--brand-primary); }
.product-card-sub { margin: 6px 0 0; font-size: 14px; font-weight: 600; color: var(--muted); }
.product-card-ships { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 8px 0 0; font-size: 12.5px; color: var(--muted); }
.product-card-ships b { display: inline-flex; align-items: center; min-height: 24px; padding: 2px 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 12px; font-weight: 700; color: var(--ink); }
.product-card-size { white-space: nowrap; }
.product-card-sizes { border-top: 1px solid var(--line); padding: 14px 22px; }
.size-grid-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 0 0 10px; }
.size-grid-head .size-grid-label { margin: 0; }
.size-grid-more { font-size: 12px; font-weight: 700; color: var(--brand-primary); white-space: nowrap; }
.size-grid-label { margin: 0 0 10px; font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.size-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(62px, 1fr)); gap: 10px 0; }
.size-cell { min-width: 0; padding: 0 6px; text-align: center; border-left: 1px solid var(--line); }
.size-cell:first-child { border-left: 0; }
.size-cell b { display: block; font-size: 14px; font-weight: 800; line-height: 1; }
.size-cell small { display: block; margin-top: 5px; font-size: 9px; font-weight: 600; line-height: 1.3; color: var(--muted); }
.size-cell > span { display: block; margin-top: 5px; font-size: 11px; font-weight: 800; line-height: 1; color: var(--brand-primary); }
.product-card .oos-note { padding: 0 22px 12px; }
.product-card-foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; border-top: 1px solid var(--line); padding: 14px 18px 18px; background: rgba(255,255,255,.75); }
.product-card-from { flex: 1; min-width: 0; white-space: nowrap; }
.product-card-from > span { display: block; font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.product-card-from b { display: block; margin-top: 3px; font-size: 22px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.product-card-cta {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 12px 16px; border-radius: 999px;
  background: var(--brand-primary); color: #fff; font: 700 10.5px var(--font-ui), sans-serif; letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none !important; white-space: nowrap; flex: none;
}
.product-card-cta:hover { background: var(--brand-primary-dark); color: #fff; }
.product-card-cta.abc-launching-label { background: var(--surface-alt); color: var(--brand-primary); border: 1px solid var(--line); cursor: default; }
.product-card .btn { margin-top: auto; }
.is-oos .label-art { opacity: .65; }
.oos-note { color: var(--danger); font-size: 12.5px; font-weight: 600; margin: 0; }

/* ---- Closing card + footer ---- */
.close-band .wrap { padding-top: 56px; padding-bottom: 96px; }
.page-home .close-band .wrap { padding-top: 0; }
.close-card { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 32px; padding: 56px; border-radius: var(--r-panel); background: linear-gradient(120deg, #f1f3fa 0%, color-mix(in srgb, var(--brand-primary) 5%, #fff) 60%, #fbefe6 100%); border: 1px solid rgba(255, 255, 255, .8); box-shadow: var(--shadow-sm); }
.close-card .lede { margin-top: 18px; max-width: 50ch; }
.close-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.close-chip { display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); }
.close-chip .tile-ico { width: 36px; height: 36px; border-radius: 10px; }
.close-chip .tile-ico .lf-ico { width: 18px; height: 18px; }
.close-chip b { display: block; font-size: 14px; font-weight: 800; }
.close-chip small { display: block; font-size: 12px; color: var(--muted); }
.close-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 30px; }
.close-note { margin: 0; text-align: right; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.close-note small { display: block; font-size: 11px; color: var(--muted); letter-spacing: .08em; }
.close-art { position: relative; height: 380px; }
.close-art .molecules { inset: -10% -5% auto -5%; height: 100%; opacity: .45; }
.close-art img { position: absolute; bottom: 0; width: auto; max-width: 40%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 20px 30px rgba(40, 20, 80, .22)); }
.close-art img:nth-of-type(1) { left: 4%; height: 74%; transform: rotate(-10deg); }
.close-art img:nth-of-type(2) { left: 36%; height: 92%; z-index: 1; }
.close-art img:nth-of-type(3) { right: 4%; height: 70%; transform: rotate(10deg); }

.site-footer { background: linear-gradient(135deg, #fbf2ea 0%, #fbfafd 55%, color-mix(in srgb, var(--brand-primary) 4%, #fff) 100%); border-top: 1px solid var(--line); }
.site-footer-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-top: 64px; padding-bottom: 36px; }
.site-footer-grid p { margin: 18px 0 0; font-size: 14px; line-height: 1.65; color: var(--ink-2); max-width: 44ch; }
.ruo-pill { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 10px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--brand-primary); }
.ruo-pill .lf-ico { width: 18px; height: 18px; }
.site-footer h4 { margin: 0; font-size: 13px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.site-footer-grid ul { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; font-size: 15px; color: var(--ink-2); }
.site-footer-grid ul a { color: inherit; text-decoration: none; transition: color .2s; }
.site-footer-grid ul a:hover { color: var(--brand-primary); text-decoration: none; }
.contact-list { display: grid; gap: 18px; margin-top: 20px; }
.contact-list > div { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; }
.contact-list > div > div { min-width: 0; }
.contact-list .lf-ico { color: var(--brand-primary); margin-top: 2px; }
.contact-list b { display: block; font-weight: 800; color: var(--ink); overflow-wrap: anywhere; }
.contact-list small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.contact-list a { color: inherit; }
.contact-list a:hover { color: var(--brand-primary); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-weight: 800; color: var(--brand-primary); border-bottom: 2px solid color-mix(in srgb, var(--brand-primary) 35%, transparent); padding-bottom: 2px; text-decoration: none !important; }
.link-arrow .lf-ico { width: 16px; height: 16px; }
.footer-notice { padding-bottom: 36px; }
.notice-box { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); position: relative; overflow: hidden; }
.notice-box::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: var(--brand-primary); }
.notice-box .lead { display: flex; gap: 14px; align-items: center; min-width: 0; }
.notice-box .lf-ico { color: var(--brand-primary); width: 24px; height: 24px; }
.notice-box b { display: block; font-size: 14.5px; }
.notice-box span { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.notice-box .link-arrow { margin: 0; white-space: nowrap; }
.footer-legal { border-top: 1px solid var(--line); background: rgba(255, 255, 255, .5); padding: 16px 0; }
.footer-legal .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; font-size: 12.5px; color: var(--muted); }
.footer-legal nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-legal a { color: inherit; }
.footer-legal a:hover { color: var(--brand-primary); }

/* ---- Page hero / breadcrumbs ---- */
.page-hero {
  background:
    linear-gradient(100deg, rgba(30,34,48,.82) 0%, rgba(30,34,48,.45) 55%, rgba(30,34,48,.2) 100%),
    var(--brand-hero) url("images/banner-lab.jpg") center/cover no-repeat;
  color: #fff; padding: 34px 0; text-align: center;
}
.page-hero h1 { font-size: clamp(22px, 3vw, 30px); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; margin: 0 0 6px; }
.crumbs { font-size: 12.5px; color: rgba(255,255,255,.85); }
.crumbs a { color: #fff; font-weight: 600; }
.crumb-sep { margin: 0 8px; opacity: .6; }

/* ---- Shop ---- */
.ship-to { background: var(--surface-alt); border-bottom: 1px solid var(--line); padding: 22px 0; }
.ship-to-title { font-size: 17px; font-weight: 800; margin: 0 0 4px; }
.ship-to-note { margin: 0 0 14px; font-size: 13.5px; color: var(--muted); max-width: 90ch; }
.ship-to-choices { display: flex; flex-wrap: wrap; gap: 10px; }
.ship-to-choice {
  display: inline-flex; align-items: center; min-height: 44px; padding: 10px 22px; border: 1.5px solid var(--line); border-radius: 12px;
  background: #fff; color: var(--ink); font-size: 14px; font-weight: 700; text-decoration: none !important; transition: border-color .15s, box-shadow .15s;
}
.ship-to-choice:hover { border-color: var(--brand-primary); }
.ship-to-choice.is-active { border-color: var(--brand-primary); color: var(--brand-primary); box-shadow: 0 0 0 1px var(--brand-primary) inset; background: var(--soft-band); }
.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; padding-top: 40px; padding-bottom: 70px; align-items: start; }
/* Disclosures that collapse on mobile only (theme.js removes [open] under 700px) */
.filters-disclosure > summary, .fc-cats > summary, .ruo-details > summary { list-style: none; }
.filters-disclosure > summary::-webkit-details-marker, .fc-cats > summary::-webkit-details-marker, .ruo-details > summary::-webkit-details-marker { display: none; }
@media (min-width: 701px) {
  .filters-disclosure > summary { cursor: default; }   /* theme.js stops it toggling on desktop */
  .ruo-details > summary { pointer-events: none; }
}
/* Filter card, styled after peptide.partners/shop */
.filter-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 20px;
  box-shadow: 0 18px 50px -42px rgba(30,34,48,.34);
}
.fc-head { display: flex; flex-direction: column; gap: 6px; }
.fc-kicker {
  display: inline-flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--brand-primary);
}
.fc-kicker .ico { width: 16px; height: 16px; flex: none; }
.fc-count { font-size: 16px; font-weight: 700; color: var(--ink); }
.fc-sort { margin-top: 22px; }
.fc-sort .fc-kicker { color: var(--muted); }
.fc-sort .fc-kicker .ico { color: var(--brand-primary); }
.fc-sort select {
  display: block; width: 100%; height: 44px; margin-top: 12px; padding: 0 40px 0 16px; cursor: pointer;
  font: 500 14px var(--font-ui), sans-serif; color: var(--ink); appearance: none; -webkit-appearance: none;
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%236b7080' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center / 16px;
  border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 1px 2px rgba(30,34,48,.05);
  transition: border-color .15s, box-shadow .15s;
}
.fc-sort select:hover { border-color: color-mix(in srgb, var(--brand-primary) 35%, var(--line)); }
.fc-sort select:focus-visible { outline: none; border-color: var(--brand-primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-primary) 12%, transparent); }
.fc-section:not(.fc-sort) { border: 0; border-top: 1px solid var(--line); margin: 20px 0 0; padding: 20px 0 0; min-width: 0; }
.fc-legend {
  display: block; padding: 0; margin: 0 0 10px; font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.fc-legend-row { display: flex; align-items: baseline; gap: 10px; width: 100%; }
/* a floated legend no longer sits in the fieldset's top border, so the divider runs full width */
fieldset > .fc-legend { float: left; width: 100%; }
fieldset > .fc-legend + * { clear: both; }
.fc-value {
  margin-left: auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--ink);
}
.fc-opt {
  display: flex; align-items: center; gap: 12px; min-height: 40px; padding: 0 12px; border-radius: 999px;
  font-size: 15px; font-weight: 500; color: var(--muted); cursor: pointer; transition: background-color .15s, color .15s;
}
.fc-opt + .fc-opt { margin-top: 4px; }
.fc-opt:hover { background: var(--surface-alt); color: var(--ink); }
.fc-opt:has(input:checked) {
  background: color-mix(in srgb, var(--brand-primary) 10%, var(--surface)); color: var(--brand-primary);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--brand-primary) 16%, transparent);
}
.fc-opt input {
  appearance: none; -webkit-appearance: none; flex: none; width: 15px; height: 15px; margin: 0; cursor: pointer;
  border: 1.5px solid currentColor; border-radius: 50%; display: grid; place-content: center;
}
.fc-opt input::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; transform: scale(0); transition: transform .12s; }
.fc-opt input:checked::before { transform: scale(1); }
.fc-opt input:focus-visible { outline: 2px solid var(--brand-primary); outline-offset: 2px; }
.fc-cats > summary { cursor: pointer; margin: 0; }
.fc-cats > summary::after {
  content: ""; flex: none; width: 7px; height: 7px; margin: 0 4px 2px 2px; align-self: center;
  border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: rotate(45deg); transition: transform .2s;
}
.fc-cats[open] > summary { margin-bottom: 10px; }
.fc-cats[open] > summary::after { transform: rotate(-135deg); margin-bottom: -3px; }
.filter-cats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.filter-cats a { display: block; padding: 8px 12px; border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--ink); }
.filter-cats a:hover { background: var(--surface-alt); text-decoration: none; }
.filter-cats a.is-active { background: color-mix(in srgb, var(--brand-primary) 10%, var(--surface)); color: var(--brand-primary); font-weight: 600; }
.price-slider { position: relative; height: 20px; margin: 8px 0 0; --lo: 0%; --hi: 100%; }
.price-slider::before {   /* track, filled between the two handles (theme.js sets --lo and --hi) */
  content: ""; position: absolute; left: 8px; right: 8px; top: 8px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--line) var(--lo), var(--brand-primary) var(--lo), var(--brand-primary) var(--hi), var(--line) var(--hi));
}
.price-slider input[type="range"] {
  position: absolute; inset: 0; width: 100%; appearance: none; -webkit-appearance: none;
  background: none; pointer-events: none; margin: 0;
}
.price-slider input[type="range"]::-webkit-slider-runnable-track { height: 4px; background: transparent; margin-top: 8px; }
.price-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 16px; height: 16px; border-radius: 999px;
  background: var(--brand-primary); border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.3);
  margin-top: -6px; pointer-events: auto; cursor: pointer;
}
.price-slider input[type="range"]::-moz-range-track { height: 4px; background: transparent; }
.price-slider input[type="range"]::-moz-range-thumb {
  width: 14px; height: 14px; border-radius: 999px; background: var(--brand-primary);
  border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.3); pointer-events: auto; cursor: pointer;
}
.price-ends { display: flex; justify-content: space-between; margin: 10px 0 0; font-size: 12.5px; color: var(--muted); }
.fc-actions { display: flex; gap: 10px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.fc-btn {
  flex: 1; min-width: 0; height: 44px; padding: 0 12px; border-radius: 999px; cursor: pointer;
  font: 700 11px var(--font-ui), sans-serif; letter-spacing: .16em; text-transform: uppercase;
  transition: background-color .15s, border-color .15s;
}
.fc-reset { background: var(--surface-alt); color: var(--ink); border: 1px solid var(--line); }
.fc-reset:hover { background: var(--surface); border-color: color-mix(in srgb, var(--ink) 25%, var(--line)); }
.fc-apply { background: var(--brand-primary); color: #fff; border: 1px solid transparent; }
.fc-apply:hover { background: var(--brand-primary-dark); }
.fc-btn:focus-visible { outline: 2px solid var(--brand-primary); outline-offset: 2px; }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.shop-count { font-size: 13.5px; color: var(--muted); margin: 0; }
.sort-label { font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.sort-label select {
  font: 600 13px var(--font-ui), sans-serif; color: #fff; background: var(--brand-primary);
  border: 0; border-radius: 6px; padding: 8px 10px; cursor: pointer;
}
.shop-grid { grid-template-columns: repeat(3, 1fr); }
.shop-item { display: flex; }
.shop-item > .product-card { width: 100%; }
.shop-item.is-hidden { display: none !important; }
.shop-empty { color: var(--muted); text-align: center; padding: 60px 0; }

/* ---- Product page ---- */
.page-product .page-hero { padding: 18px 0; }
.product-layout { display: grid; grid-template-columns: minmax(300px, 440px) minmax(0, 1fr); gap: 40px; padding-top: 44px; padding-bottom: 20px; align-items: start; }
.product-media { position: sticky; top: 24px; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 18px; box-shadow: 0 28px 60px -36px rgba(30,34,48,.45); }
.product-media-sizes { border-top: 1px solid var(--line); margin-top: 16px; padding-top: 12px; }
.product-buy h1 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin-bottom: 18px; }
.product-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 4px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface-alt); font-size: 13px; color: var(--muted); }
.chip-price { font-family: var(--font-mono), monospace; color: var(--ink); }
.chip-price del { color: var(--muted); }
.chip-price ins { text-decoration: none; font-weight: 600; }
.buy-panel { border: 1px solid var(--line); border-radius: 28px; background: #fff; padding: 20px; box-shadow: 0 28px 70px -54px rgba(30,34,48,.5); }
.buy-panel-head { display: flex; flex-wrap: wrap; gap: 8px; }
.stock-pill { display: inline-flex; align-items: center; padding: 5px 12px; border-radius: 999px; background: rgba(26,127,78,.12); color: var(--success); font-size: 10px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.stock-pill.is-out { background: rgba(192,57,43,.1); color: var(--danger); }
.buy-row { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 16px; }
.buy-label { display: block; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.variant-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.variant-pill {
  border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 9px 16px;
  font: 600 13.5px var(--font-ui), sans-serif; color: var(--ink); cursor: pointer;
}
.variant-pill.is-active { border-color: var(--brand-primary); color: var(--brand-primary); box-shadow: 0 0 0 1px var(--brand-primary) inset; }
.variant-rows-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 10px; }
.variant-rows-head .buy-label { margin: 0; color: var(--brand-primary); letter-spacing: .2em; }
.variant-rows-head > span:last-child { font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.variant-rows { display: grid; gap: 8px; }
.variant-row {
  display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; align-items: center; gap: 12px; width: 100%; text-align: left;
  border: 1px solid var(--line); border-radius: 18px; background: var(--surface-alt); padding: 12px 14px;
  font: inherit; color: var(--ink); cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s;
}
.variant-row:hover { border-color: var(--brand-hero); background: #fff; }
.variant-row.is-active { border-color: var(--brand-primary); background: var(--soft-band); box-shadow: 0 0 0 1px var(--brand-primary) inset; }
.variant-radio { width: 20px; height: 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; }
.variant-row.is-active .variant-radio { border-color: var(--brand-primary); }
.variant-row.is-active .variant-radio::after { content: ""; width: 10px; height: 10px; border-radius: 999px; background: var(--brand-primary); }
.variant-row-main { min-width: 0; }
.variant-row-main b { display: block; font-size: 15px; font-weight: 700; line-height: 1.2; }
.variant-row-main small { display: block; margin-top: 3px; font-size: 12px; line-height: 1.4; color: var(--muted); }
.variant-row-main small:empty { display: none; }
.variant-row-price { font-size: 16px; font-weight: 700; text-align: right; white-space: nowrap; line-height: 1.2; }
.variant-row-price small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); }
.variant-row.is-unavailable, .variant-row:disabled { opacity: .45; }
.buy-selected-label { display: block; font-size: 10px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.buy-selected-name { margin: 4px 0 0; font-size: 18px; font-weight: 700; }
.buy-selected-detail { margin: 4px 0 0; font-size: 13.5px; color: var(--muted); }
.buy-selected-detail:empty { display: none; }
.buy-price { font-size: 24px; font-weight: 800; margin: 0 0 18px; }
.abc-quantity .buy-label { color: var(--brand-primary); letter-spacing: .2em; }
.qty-stepper { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; padding: 3px; box-shadow: 0 1px 2px rgba(30,34,48,.06); }
.qty-stepper button { width: 40px; height: 40px; border: 0; border-radius: 999px; background: transparent; color: var(--ink); font-size: 18px; cursor: pointer; }
.qty-stepper button:hover { background: var(--surface-alt); }
.qty-stepper input { width: 48px; border: 0; background: transparent; text-align: center; font: 600 15px var(--font-ui), sans-serif; -moz-appearance: textfield; }
.buy-notes { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 14px; font-size: 13px; color: var(--muted); }
.buy-notes p { margin: 0 0 6px; font-weight: 500; }
.buy-before { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 14px; }
.buy-before .buy-label { color: var(--brand-primary); letter-spacing: .18em; margin-bottom: 0; }
.buy-before ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.buy-before li { position: relative; padding-left: 16px; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.buy-before li::before { content: ""; position: absolute; left: 0; top: 7px; width: 6px; height: 6px; border-radius: 999px; background: var(--brand-primary); }
.qty-stepper input::-webkit-outer-spin-button, .qty-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.oos-banner { background: var(--surface-alt); border: 1px solid var(--line); border-radius: 8px; padding: 16px 18px; color: var(--danger); font-weight: 600; }

.product-tabs { padding-top: 34px; padding-bottom: 30px; }
.tab-list { display: flex; gap: 4px; border-bottom: 2px solid var(--line); flex-wrap: wrap; }
.tab-list [role="tab"] {
  border: 0; background: none; padding: 12px 20px; cursor: pointer; position: relative; top: 2px;
  font: 700 12px var(--font-ui), sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
  border-bottom: 2px solid transparent;
}
.tab-list [role="tab"][aria-selected="true"] { background: var(--brand-primary); color: #fff; border-radius: 6px 6px 0 0; border-bottom-color: var(--brand-primary); }
.tab-panel { border: 1px solid var(--line); border-top: 0; border-radius: 0 0 10px 10px; padding: clamp(20px, 3vw, 36px); }
.tab-panel h2 { font-size: 20px; letter-spacing: .04em; }

.table-wrap { overflow-x: auto; margin: 22px 0; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table th, .spec-table td { border: 1px solid var(--line); padding: 10px 16px; text-align: left; }
.spec-table tbody th { font-weight: 600; width: 45%; background: var(--surface-alt); }
.spec-table thead th { background: var(--brand-primary); color: #fff; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
.cert-table td { font-size: 13.5px; }
.id-block { font-size: 13.5px; line-height: 1.9; }

.studies { margin-top: 34px; }
.studies h2 { font-size: 20px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 2px; }
.studies-note { color: var(--muted); font-size: 12.5px; margin: 0 0 18px; }
.study { margin-bottom: 26px; }
.study h3 { font-size: 16.5px; color: var(--brand-primary); margin-bottom: 8px; }
.study h4 { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin: 12px 0 4px; }
.study p { font-size: 14.5px; margin: 0; }
.study .study-source { margin-top: 9px; font-size: 13px; font-weight: 700; }
.storage-list { font-size: 14.5px; display: flex; flex-direction: column; gap: 10px; padding-left: 20px; }

.related { padding-bottom: 60px; }
.compliance { background: var(--surface-alt); border-top: 1px solid var(--line); padding: 40px 0 44px; }
.compliance h2 { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.compliance p { font-size: 12.5px; color: var(--muted); max-width: 1050px; }

/* ---- Certifications / prose pages ---- */
.prose-page { padding-top: 40px; padding-bottom: 70px; max-width: 980px; }
.prose-page .lead { font-size: 16.5px; color: var(--muted); }
.cert-section { margin-top: 40px; }
.cert-section h2 { font-size: 19px; }
.cert-section h2 small { font-size: 12.5px; font-weight: 500; color: var(--muted); margin-left: 10px; }
.cert-note { color: var(--muted); font-size: 13.5px; margin-top: 30px; }
.cert-pending { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 8px 20px; font-size: 14px; }
.policy-page h2 { font-size: 18px; margin-top: 32px; }
.policy-page ul, .policy-page ol { font-size: 14.5px; }
.policy-page p { font-size: 14.5px; }
.policy-updated { color: var(--muted); font-size: 12.5px; margin-top: 40px; border-top: 1px solid var(--line); padding-top: 16px; }

/* ---- Contact ---- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; padding-top: 46px; padding-bottom: 70px; }
.contact-cards { display: grid; gap: 12px; margin: 24px 0 18px; }
.contact-card {
  display: flex; align-items: center; gap: 16px; min-width: 0; padding: 15px 18px;
  background: #fff; border: 1.5px solid var(--line); border-radius: 12px; color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
a.contact-card::after {
  content: ""; flex: none; width: 18px; height: 18px; margin-left: auto; background: var(--muted);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .15s ease, background-color .15s ease;
}
a.contact-card:hover { border-color: var(--brand-primary); box-shadow: 0 8px 20px rgba(30, 34, 48, .08); transform: translateY(-1px); text-decoration: none; }
a.contact-card:hover::after { background: var(--brand-primary); transform: translateX(3px); }
a.contact-card:focus-visible { outline: 2px solid var(--brand-primary); outline-offset: 2px; }
.contact-ico { position: relative; flex: none; width: 44px; height: 44px; border-radius: 10px; background: var(--soft-band); }
.contact-ico::before {
  content: ""; position: absolute; inset: 11px; background: var(--brand-primary);
  -webkit-mask: var(--contact-ico) center / contain no-repeat; mask: var(--contact-ico) center / contain no-repeat;
}
.contact-ico-email { --contact-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3 7 9 6 9-6'/%3E%3C/svg%3E"); }
.contact-ico-whatsapp { --contact-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11.5a9 9 0 0 1-13.3 7.9L3 21l1.6-4.7A9 9 0 1 1 21 11.5Z'/%3E%3Cpath d='M8.5 8.5c0 3.9 3.1 7 7 7l1-2-2.2-1-1 1.2c-1.4-.6-2.4-1.6-3-3l1.2-1-1-2.2Z' fill='black' stroke-width='1'/%3E%3C/svg%3E"); }
.contact-ico-telegram { --contact-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21.5 4.5 2.5 11.8l6.2 2.3 2.3 6.4 3.5-4.2 4.8 3.4Z'/%3E%3Cpath d='m8.7 14.1 12.8-9.6'/%3E%3C/svg%3E"); }
.contact-ico-channel { --contact-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10v4h3l7 5V5l-7 5Z'/%3E%3Cpath d='M17 9a4 4 0 0 1 0 6M19.5 6.5a8 8 0 0 1 0 11'/%3E%3C/svg%3E"); }
.contact-ico-hours { --contact-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E"); }
.contact-card-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.contact-card-text b { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-note { margin-bottom: 18px; padding: 20px 22px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, var(--brand-primary), var(--brand-hero-deep)); }
.contact-note h3 { font-size: 16px; margin-bottom: 6px; }
.contact-note p { margin: 0; font-size: 14px; opacity: .9; }
@media (min-width: 600px) and (max-width: 1000px) { .contact-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) {
  .contact-card { gap: 12px; padding: 14px; }
  .contact-ico { width: 40px; height: 40px; }
  .contact-ico::before { inset: 10px; }
  .contact-card-text { font-size: 14px; }
}
@media (max-width: 360px) { a.contact-card::after { display: none; } }
.contact-layout > .contact-form, .account-form, .checkout-form fieldset {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 26px;
}
.contact-form label, .account-form label, .checkout-form label {
  display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 16px;
}
.optional { font-weight: 400; text-transform: none; letter-spacing: 0; }
.contact-form input, .contact-form textarea, .account-form input,
.checkout-form input {
  display: block; width: 100%; margin-top: 6px; padding: 11px 13px;
  /* 16px minimum: anything smaller makes iOS Safari auto-zoom on focus */
  border: 1.5px solid var(--line); border-radius: 7px; font: 16px var(--font-ui), sans-serif; color: var(--ink);
}
.contact-form input:focus, .contact-form textarea:focus, .account-form input:focus, .checkout-form input:focus {
  outline: none; border-color: var(--brand-primary);
}
.contact-layout > .contact-form { min-width: 0; }
.contact-layout form.contact-form { margin: 0; padding: 0; }
.contact-layout .grunion-field-wrap { margin: 0 0 20px; }
.contact-layout .grunion-field-label { margin-bottom: 6px; }
.contact-layout .grunion-label-required { font-weight: 400; letter-spacing: 0; text-transform: none; }
.contact-layout form.contact-form input.grunion-field,
.contact-layout form.contact-form textarea.grunion-field {
  display: block; width: 100%; max-width: none; margin: 0; background: #fff;
}
.contact-layout form.contact-form textarea.grunion-field { height: 160px; min-height: 160px; resize: vertical; }
.contact-layout form.contact-form button[type="submit"] {
  display: inline-block; min-height: 44px; max-width: 100%; margin: 0; padding: 14px 26px;
  border: 0; border-radius: 6px; background: var(--brand-primary); color: #fff;
  font: 600 13px/1.2 var(--font-ui), sans-serif; letter-spacing: .08em; text-transform: uppercase;
  cursor: pointer;
}
.contact-layout form.contact-form button[type="submit"]:hover:not(:disabled) { background: var(--brand-primary-dark); }
.contact-layout form.contact-form button[type="submit"]:disabled { opacity: .6; cursor: wait; }
.contact-layout form.contact-form input.grunion-field:focus-visible,
.contact-layout form.contact-form textarea.grunion-field:focus-visible,
.contact-layout form.contact-form button[type="submit"]:focus-visible {
  outline: 2px solid var(--brand-primary); outline-offset: 2px;
}
.form-success { color: var(--success); font-weight: 600; margin-top: 14px; }

/* ---- Cart / checkout ---- */
.cart-page, .checkout-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 44px; padding-top: 44px; padding-bottom: 70px; align-items: start; }
.cart-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.cart-table th { text-align: left; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--line); padding: 10px 8px; }
.cart-table td { border-bottom: 1px solid var(--line); padding: 14px 8px; vertical-align: middle; }
.cart-item-name { font-weight: 700; }
.cart-item-variant { font-size: 12.5px; color: var(--muted); }
.cart-remove { background: none; border: 0; color: var(--danger); cursor: pointer; font-size: 14px; padding: 10px 8px; }
.cart-summary { background: var(--surface-alt); border: 1px solid var(--line); border-radius: 14px; padding: 26px; position: sticky; top: 20px; }
.cart-summary h2 { font-size: 17px; }
.totals { margin: 18px 0; }
.totals div { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 14.5px; }
.totals .grand { font-size: 17px; font-weight: 800; border-bottom: 0; }
.totals dd { margin: 0; }
.shipbar p { font-size: 12.5px; color: var(--muted); margin: 0 0 8px; }
.shipbar-track { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.shipbar-fill { height: 100%; width: 0; background: var(--brand-primary); border-radius: 999px; transition: width .3s; }
.checkout-form fieldset { border: 1px solid var(--line); margin: 0 0 22px; }
.checkout-form legend { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; padding: 0 8px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.form-grid-3 { grid-template-columns: 2fr 1fr 1fr; }
.pay-placeholder { background: var(--soft-band); border-radius: 8px; padding: 14px 16px; font-size: 13.5px; }
.check { display: flex !important; gap: 10px; align-items: flex-start; text-transform: none !important; letter-spacing: 0 !important; font-weight: 500 !important; font-size: 13px !important; color: var(--ink) !important; }
.check input { width: auto !important; margin-top: 3px !important; accent-color: var(--brand-primary); }

.confirm-page { text-align: center; }
.confirm-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 50px 30px; max-width: 560px; margin: 0 auto; }
.confirm-check { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 999px; background: var(--success); color: #fff; font-size: 30px; display: grid; place-items: center; }
.account-layout { padding: 60px 20px 80px; display: flex; justify-content: center; }
.account-form { width: 100%; max-width: 420px; }
.account-note { font-size: 12.5px; color: var(--muted); margin-top: 16px; }
.nf-page { text-align: center; padding-top: 80px; padding-bottom: 100px; }

/* ---- Guides / FAQ / About / Category intros ---- */
.guide-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 32px; }
.guide-card {
  display: block; background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 26px; color: var(--ink); text-decoration: none !important;
  transition: box-shadow .15s, transform .15s;
}
.guide-card:hover { box-shadow: 0 12px 30px rgba(30,34,48,.1); transform: translateY(-2px); }
.guide-card h2 { font-size: 18px; color: var(--brand-primary); margin-bottom: 8px; }
.guide-card p { font-size: 14px; color: var(--muted); margin: 0 0 14px; }
.guide-meta { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.guide-article .guide-title { font-size: clamp(24px, 3vw, 32px); margin-top: 8px; }
.guide-article h2 { font-size: 20px; margin-top: 34px; }
.guide-article p, .guide-article li { font-size: 15px; }
.guide-article table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 20px 0; display: block; overflow-x: auto; }
.guide-article th, .guide-article td { border: 1px solid var(--line); padding: 9px 14px; text-align: left; }
.guide-article th { background: var(--surface-alt); }
.guide-footer { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 18px; font-size: 14px; }
.faq-list { margin-top: 28px; }
.faq-item { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 12px; background: #fff; }
.faq-item summary {
  cursor: pointer; padding: 16px 20px; font-weight: 700; font-size: 15px; list-style: none;
  position: relative; padding-right: 44px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  font-size: 20px; font-weight: 600; color: var(--brand-primary);
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item p { padding: 0 20px 16px; margin: 0; font-size: 14.5px; color: var(--muted); }
.product-faq { margin-top: 34px; }
.product-faq h2 { font-size: 20px; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 16px; }
.category-intro { padding-top: 36px; max-width: 900px; }
.category-intro p { font-size: 15px; }
.about-page h2 { font-size: 20px; margin-top: 34px; }
.about-page p, .about-page li { font-size: 15px; }
.external-record { margin: 28px 0; border: 1px solid var(--line); border-left: 4px solid var(--brand-primary); border-radius: 10px; background: var(--surface-alt); padding: 20px; }
.external-record h2 { margin: 0 0 8px; font-size: 18px; }
.external-record p { margin: 0 0 8px; font-size: 14px; }
.external-record p:last-child { margin-bottom: 0; }
@media (max-width: 700px) { .guide-grid { grid-template-columns: 1fr; } }

/* ---- Cart drawer ---- */
.cart-drawer { position: fixed; inset: 0; z-index: 60; }
.cart-drawer-backdrop { position: absolute; inset: 0; background: rgba(20,18,30,.45); }
.cart-drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(400px, 92vw); background: #fff;
  display: flex; flex-direction: column; box-shadow: -12px 0 40px rgba(0,0,0,.2);
}
.cart-drawer-panel header { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.cart-drawer-panel header h2 { margin: 0; font-size: 17px; }
.cart-drawer-panel header button { background: none; border: 0; font-size: 26px; cursor: pointer; color: var(--muted); line-height: 1; padding: 9px 14px; margin: -9px -14px; }
.cart-drawer-body { flex: 1; overflow-y: auto; padding: 12px 22px; }
.cart-drawer-panel footer { border-top: 1px solid var(--line); padding: 18px 22px; }
.cart-drawer-total { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 14px; }
.drawer-item { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }

/* ---- Age gate ---- */
body.age-gate-open { overflow: hidden; }
html.abc-age-verified body.age-gate-open { overflow: visible; }
html.abc-age-verified .age-gate { display: none; }
.age-gate:not([open]) { display: none; }
.age-gate {
  position: fixed; inset: 0; z-index: 120; width: 100%; max-width: none; height: 100%; max-height: none;
  margin: 0; padding: 16px; border: 0; background: rgba(30,34,48,.78); color: var(--ink);
  display: grid; place-items: center; overflow: hidden; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.age-gate::backdrop { background: transparent; }
.age-gate-panel {
  width: min(460px, 100%); max-height: calc(100dvh - 32px); overflow-y: auto; overscroll-behavior: contain;
  padding: 30px; border: 1px solid rgba(255,255,255,.7); border-radius: 18px; background: var(--surface);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 28px 70px rgba(30,20,60,.26);
  text-align: center; animation: age-gate-enter .25s cubic-bezier(.16,1,.3,1) both;
}
.age-gate .age-gate-logo { display: block; width: auto; height: 45px; margin: 0 auto 24px; }
.age-gate-logo.logo-text { height: auto; text-align: center; }
.age-gate-kicker {
  margin: 0 0 10px; color: var(--brand-primary); font-size: 11px; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase;
}
.age-gate h2 { margin: 0; font-size: clamp(25px, 5vw, 32px); letter-spacing: -.025em; }
.age-gate-copy { max-width: 38ch; margin: 14px auto 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.age-gate-optin { display: flex; justify-content: center; align-items: flex-start; gap: 10px; margin: 20px auto 0; color: var(--ink); font-size: 13px; font-weight: 500; line-height: 1.5; text-align: left; cursor: pointer; }
.age-gate-optin input { flex: none; width: 16px; height: 16px; margin: 2px 0 0; accent-color: var(--brand-primary); }
.age-gate-optin + .age-gate-actions { margin-top: 16px; }
.age-gate-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.age-gate-actions .btn { display: flex; min-height: 48px; align-items: center; justify-content: center; padding: 12px 14px; }
.age-gate-actions .btn:active { transform: translateY(1px) scale(.99); }
.age-gate-actions .btn:focus-visible { outline: 3px solid var(--brand-hero); outline-offset: 3px; }
.age-gate-notice {
  margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted);
  font: 600 10px/1.55 var(--font-mono), monospace; letter-spacing: .08em;
}
@keyframes age-gate-enter {
  from { opacity: 0; transform: translateY(12px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
@media (max-width: 480px) {
  .age-gate { padding: 12px; }
  .age-gate-panel { max-height: calc(100dvh - 24px); padding: 26px 20px; border-radius: 15px; }
  .age-gate-actions { grid-template-columns: 1fr; }
}

/* ---- Responsive ---- */
@media (max-width: 1000px) {
  .product-grid, .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .product-layout, .cart-page, .checkout-layout, .contact-layout { grid-template-columns: 1fr; }
  .checkout-layout .cart-summary { order: -1; position: static; }
  .shop-layout { grid-template-columns: 220px 1fr; gap: 28px; }
  .filter-card { padding: 16px; }
  .product-media { position: static; }
}
@media (max-width: 700px) {
  .product-grid, .shop-grid { grid-template-columns: 1fr; }
  .shop-layout { grid-template-columns: 1fr; gap: 24px; }
  .form-grid, .form-grid-3 { grid-template-columns: 1fr; }

  /* Selects at 16px so iOS doesn't zoom on focus */
  .sort-label select { font-size: 16px; padding: 10px 12px; }
  .fc-sort select { font-size: 16px; }

  /* Shop filters: the card collapses to its header row, with bigger touch controls */
  .filter-card { padding: 16px 18px; border-radius: 18px; }
  .filters-disclosure > summary { cursor: pointer; position: relative; padding-right: 30px; flex-direction: row; align-items: baseline; justify-content: space-between; }
  .filters-disclosure > summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 22px; font-weight: 600; color: var(--brand-primary); }
  .filters-disclosure[open] > summary::after { content: "\2212"; }
  .fc-opt { min-height: 44px; }
  .filter-cats a { padding: 11px 12px; font-size: 15px; }
  .price-slider { height: 28px; }
  .price-slider::before { top: 12px; left: 12px; right: 12px; }
  .price-slider input[type="range"]::-webkit-slider-runnable-track { margin-top: 12px; }
  .price-slider input[type="range"]::-webkit-slider-thumb { width: 24px; height: 24px; margin-top: -10px; }
  .price-slider input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; }

  /* RUO banner: title stays visible, body collapses behind it */
  .ruo-banner { padding: 12px 0; }
  .ruo-details > summary { cursor: pointer; position: relative; padding-right: 30px; }
  .ruo-details > summary::after { content: "+"; position: absolute; right: 4px; top: -3px; font-size: 18px; font-weight: 600; color: var(--brand-primary); }
  .ruo-details[open] > summary::after { content: "\2212"; }
  .ruo-details .ruo-body { margin-top: 6px; }

  /* Cart table becomes stacked cards; labels come from data-label */
  .cart-table thead { display: none; }
  .cart-table, .cart-table tbody, .cart-table tr, .cart-table td { display: block; width: 100%; }
  .cart-table tr { border: 1px solid var(--line); border-radius: 10px; padding: 10px 14px 6px; margin-bottom: 12px; background: #fff; }
  .cart-table td { border-bottom: 0; padding: 6px 0; }
  .cart-table td[data-label] { display: flex; justify-content: space-between; align-items: center; }
  .cart-table td[data-label]::before { content: attr(data-label); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
  .cart-table td:last-child { text-align: right; }

  /* Denser table cells so more columns fit before scrolling */
  .spec-table th, .spec-table td { padding: 8px 10px; }
}

/* ---- Phone product page ---- */
@media (max-width: 700px) {
  .product-media { padding: 12px; border-radius: 18px; }
  .buy-panel { padding: 16px; border-radius: 22px; }
  .section-title { font-size: 30px; }
  .product-card .btn { padding: 15px 18px; font-size: 13px; }
}

/* ---- Responsive: homepage, header, footer ---- */
@media (max-width: 1280px) {
  .site-header .search { width: 240px; }
  .nav-links { gap: 22px; }
}
@media (max-width: 1100px) {
  .site-header-inner { grid-template-columns: auto auto 1fr auto; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; z-index: 30; }
  .nav-links { display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 14px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: 0 14px 30px rgba(0, 0, 0, .08); }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: 12px 6px; border-bottom: 1px solid var(--line); }
  .nav-links a::after { content: none; }
  .nav-account-mobile { display: block; }
  .menu-btn { display: grid; }
  .site-header .search { width: 220px; }
  .hero .wrap { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 16px; padding-top: 48px; padding-bottom: 110px; }
  .hero-visual { min-height: 0; aspect-ratio: 4 / 5; }
  .trust-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split .wrap { grid-template-columns: minmax(0, 1fr); }
  .split .copy { max-width: 62ch; }
  .doc-stage { max-width: 640px; }
  .lab-stage { max-width: 680px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-faq-head, .home-faq-body { grid-template-columns: minmax(0, 1fr); }
  .close-card { grid-template-columns: minmax(0, 1fr); padding: 40px; }
  .close-art { height: 320px; max-width: 560px; }
  .site-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .hero-tag { font-size: 11px; letter-spacing: .12em; padding: 9px 14px; gap: 9px; }
}
@media (max-width: 700px) {
  .site-header-inner { gap: 10px 12px; grid-template-columns: auto 1fr auto; grid-template-areas: "menu logo icons" "search search search"; padding-top: 10px; padding-bottom: 12px; }
  .site-header .logo { grid-area: logo; justify-self: center; }
  .site-header .logo-img { height: 36px; }
  .site-header .search { grid-area: search; width: 100%; min-height: 44px; }
  .site-header .search input { font-size: 16px; }
  .icons { grid-area: icons; }
  .menu-btn { grid-area: menu; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 24px; padding-bottom: 96px; min-height: 0; }
  .hero-tag { font-size: 11px; letter-spacing: .12em; padding: 9px 14px; gap: 9px; }
  .hero-visual { order: -1; min-height: 0; aspect-ratio: 3 / 2; width: 100%; max-width: 420px; margin: 0 auto 10px; }
  .vial-1 { left: 12%; width: 30%; bottom: 4%; }
  .vial-2 { left: 40%; width: 24%; bottom: 10%; }
  .vial-3 { right: 12%; width: 20%; bottom: 0; }
  .trust-wrap { margin-top: -48px; }
  .trust-bar { grid-template-columns: minmax(0, 1fr); }
  .trust-item { border-left: 0 !important; }
  .trust-item + .trust-item { border-top: 1px solid var(--line); }
  .cats .wrap { padding-top: 88px; padding-bottom: 72px; }
  .cats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .cat { min-height: 280px; padding: 18px 16px 0; }
  .cat:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .cat-art { --tuck: 18px; height: 150px; }
  .cat-head h3 { font-size: 15.5px; }
  .cat .cat-arrow { display: none; }
  .home-featured .wrap { padding-bottom: 72px; }
  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 28px; }
  .split .wrap { padding-top: 72px; padding-bottom: 72px; }
  .doc-stage { padding: 20px 12px 40px 12px; }
  .doc-frame { padding: 14px 14px 14px 76px; border-radius: 24px; }
  .float { font-size: 12px; padding: 8px 12px 8px 8px; }
  .doc-stage .f1 { right: 0; top: 4px; }
  .doc-stage .f2 { display: none; }
  .doc-stage .f3 { right: 8px; bottom: 6px; }
  .doc-vial { width: 88px; left: -8px; bottom: -26px; }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .lab-stage { padding: 28px 10px 36px 10px; }
  .lab-caption { max-width: 60%; padding: 12px 14px; }
  .lab-caption b { font-size: 14px; }
  .features .wrap { padding-bottom: 72px; }
  .feature-grid { grid-template-columns: minmax(0, 1fr); }
  .home-faq .wrap { padding-top: 72px; padding-bottom: 72px; }
  .home-faq-art { height: 260px; }
  .home-faq-q { padding: 16px 18px; font-size: 15.5px; }
  .close-band .wrap { padding-top: 40px; padding-bottom: 72px; }
  .close-art { height: 240px; }
  .close-card { padding: 28px 22px; }
  .site-footer-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; padding-top: 48px; padding-bottom: 28px; }
  .site-footer-grid ul { gap: 4px; }
  .site-footer-grid ul a { display: inline-block; padding: 8px 0; }
  .notice-box { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-visual.is-settling .vial { opacity: 1; transform: none; }
}
