/* CALIZO storefront. Cool clinical palette, single electric-blue accent.
   Deliberately light-only: the store must look identical on every device, so
   there is no dark-mode variant to diverge from. */

:root {
  --bg: #f4f6f7;
  --surface: #ffffff;
  --surface-2: #eaeef0;
  --ink: #171b1e;
  --muted: #59646b;
  --line: #dde3e6;
  --accent: #1550e0;
  --accent-ink: #ffffff;
  --accent-soft: #e7edfc;
  --danger: #a33a2e;
  --radius: 14px;
  --shadow: 0 8px 28px rgba(23, 32, 36, 0.08);
  --grad-a: linear-gradient(150deg, #dce8ee, #eef4f6);
  --grad-b: linear-gradient(150deg, #dfe9e2, #eff5f0);
  --grad-c: linear-gradient(150deg, #e3e4ef, #f1f2f7);
  --grad-d: linear-gradient(150deg, #eee4e0, #f7f1ee);
  --grad-e: linear-gradient(150deg, #e0e8e9, #f0f5f5);
  --grad-f: linear-gradient(150deg, #e6e8ea, #f3f4f5);
  /* San Francisco on Apple hardware (same face apple.com renders), Inter as the
     web fallback elsewhere. Apple's own font files can't be self-hosted under
     their licence, so the system stack is the legitimate way to get SF. */
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
                  "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, monospace;
  --font-serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
}

/* Single-theme by design: the storefront always renders light so it looks
   identical on every device, regardless of the visitor's OS dark mode. */
:root { color-scheme: light; }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */

.topbar {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar-in { height: 68px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: 0.18em; }
.brand img { width: 30px; height: 30px; object-fit: cover; border-radius: 50%; background: #fff; }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 14.5px; color: var(--muted); }
.nav-links a { padding: 6px 2px; border-bottom: 2px solid transparent; transition: color .18s; }
.nav-links a:hover, .nav-links a[aria-current="page"], .nav-links a.current { color: var(--ink); border-bottom-color: var(--accent); }
.cart-btn {
  display: flex; align-items: center; gap: 8px;
  background: var(--ink); color: var(--bg);
  border: none; border-radius: 999px; padding: 9px 16px;
  font-size: 14px; font-weight: 600;
  transition: transform .15s;
}
.cart-btn:active { transform: scale(0.97); }
.cart-btn .count {
  font-family: var(--font-mono); font-size: 12.5px;
  background: var(--accent); color: var(--accent-ink);
  border-radius: 999px; min-width: 20px; height: 20px;
  display: inline-flex; align-items: center; justify-content: center; padding: 0 5px;
  transition: transform .2s;
}
.cart-btn .count.bump { transform: scale(1.35); }
.ribbon {
  background: var(--ink); color: var(--bg);
  font-size: 12.5px; letter-spacing: 0.02em;
  padding: 8px 24px;
  display: flex; align-items: center; justify-content: center;
  gap: 10px 26px; flex-wrap: wrap; text-align: center;
}
.rib-item { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.rib-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 15px; height: 15px; border-radius: 4px;
  font-size: 10px; font-weight: 700; line-height: 1;
}
.rib-mark.ok { background: #1c7f4b; color: #fff; }
.rib-mark.no { background: #b3382c; color: #fff; }

/* ---------- Hero ---------- */

.hero { padding: 72px 0 84px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.hero h1 {
  font-size: clamp(34px, 4.6vw, 56px);
  line-height: 1.04; letter-spacing: -0.032em; font-weight: 700;
  margin-bottom: 18px; text-wrap: balance;
  animation: rise .7s cubic-bezier(.16,1,.3,1) both;
}
.hero h1 .tick { color: var(--accent); }
.hero p.lede {
  color: var(--muted); font-size: 17.5px; max-width: 46ch; margin-bottom: 28px;
  animation: rise .7s cubic-bezier(.16,1,.3,1) .08s both;
}
.hero-eyebrow {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
  animation: rise .7s cubic-bezier(.16,1,.3,1) both;
}
.hero .cta-row { animation: rise .7s cubic-bezier(.16,1,.3,1) .16s both; }
.hero-stats {
  display: flex; flex-wrap: wrap; gap: 14px 38px; margin-top: 34px;
  padding-top: 24px; border-top: 1px solid var(--line);
  animation: rise .7s cubic-bezier(.16,1,.3,1) .24s both;
}
.hero-stats dt { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.hero-stats dd {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); margin-top: 3px;
}
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 999px; padding: 13px 26px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; transition: transform .15s, background .18s, filter .18s;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--muted); }

/* Product line-up: three vials on a shared baseline inside one panel, centre
   one raised. Deliberately no rotation, drift or 3D tilt — those read as
   unfinished and made the photos jitter against each other. */
.hero-art {
  position: relative;
  background: var(--grad-a);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px 0;
  display: flex; align-items: flex-end; justify-content: center;
  gap: clamp(6px, 2vw, 20px);
  overflow: hidden;
}
/* single-image hero: one strong shot, no collage */
.hero-art-single { padding: 34px 34px 0; justify-content: center; }
.hero-art-single .vial-label { max-width: 260px; animation-delay: .08s; }
.hero-slim { padding: 56px 0 68px; }

/* full-bleed photographic hero: a bright high-key shot composed with open
   sky on the left, so the copy sits in ink over a light haze, not white on a
   dark scrim. Fills most of the first screen. */
.hero-photo {
  position: relative; padding: 0; min-height: clamp(600px, 84vh, 820px);
  display: flex; align-items: center; overflow: hidden; background: #e9e4dc;
}
.hero-photo .hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 60% 50%; z-index: 0;
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(97deg,
    rgba(246,244,240,.86) 0%, rgba(246,244,240,.62) 30%,
    rgba(246,244,240,.18) 52%, rgba(246,244,240,0) 64%);
}
.hero-photo-in { position: relative; z-index: 2; width: 100%; padding: 84px 24px 64px; }
.hero-photo .hero-copy { max-width: 620px; }
.hero-photo .hero-eyebrow { color: var(--ink); opacity: .72; }
.hero-photo h1 {
  font-family: var(--font-serif); font-weight: 400; letter-spacing: -0.012em;
  font-size: clamp(42px, 5.6vw, 74px); line-height: 1.02; color: var(--ink); margin-bottom: 20px;
}
.hero-photo h1 em { font-style: italic; color: var(--accent); }
.hero-photo p.lede { color: #2f3a40; font-size: 17.5px; max-width: 42ch; }
.hero-photo .btn-ghost { border-color: rgba(23,27,30,.5); color: var(--ink); background: rgba(255,255,255,.55); backdrop-filter: blur(6px); }
.hero-photo .btn-ghost:hover { border-color: var(--ink); background: rgba(255,255,255,.8); }
.hero-featured {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 38px;
  animation: rise .7s cubic-bezier(.16,1,.3,1) .24s both;
}
.hero-featured .lbl {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink); opacity: .6; margin-right: 6px;
}
.hero-featured a {
  font-size: 12px; font-weight: 600; letter-spacing: .04em; padding: 7px 13px;
  border-radius: 999px; background: rgba(255,255,255,.72); color: var(--ink);
  border: 1px solid rgba(23,27,30,.16); backdrop-filter: blur(6px);
  transition: background .18s, border-color .18s;
}
.hero-featured a:hover { background: #fff; border-color: var(--accent); }
.hero-stamp {
  position: absolute; z-index: 2; top: 44px; right: clamp(24px, 6vw, 96px);
  width: 128px; height: 128px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  background: rgba(255,255,255,.62); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.9); box-shadow: 0 10px 30px rgba(23,32,36,.12);
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink); line-height: 1.5; animation: rise .8s cubic-bezier(.16,1,.3,1) .3s both;
}
.hero-stamp b { display: block; font-size: 12px; letter-spacing: .12em; color: var(--accent); margin: 4px 0; }
.hero-stamp::after {
  content: ""; position: absolute; inset: 7px; border-radius: 50%;
  border: 1px dashed rgba(23,27,30,.28);
}
/* slider: slides crossfade, the active one drifts in slowly (Ken Burns) */
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-photo .hero-bg { opacity: 0; transition: opacity 1.2s ease; will-change: opacity, transform; }
.hero-photo .hero-bg.is-active { opacity: 1; animation: kenburns 9s ease-out both; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.06); } }
.hero-dots {
  position: absolute; z-index: 3; left: 50%; transform: translateX(-50%); bottom: 24px;
  display: flex; gap: 9px;
}
.hero-dots button {
  width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: rgba(23,27,30,.26); transition: transform .2s, background .2s;
}
.hero-dots button[aria-selected="true"] { background: var(--accent); transform: scale(1.4); }
.hero-caption {
  position: absolute; z-index: 3; right: clamp(24px, 6vw, 96px); bottom: 26px;
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(23,27,30,.82); color: #fff; backdrop-filter: blur(8px);
  padding: 9px 16px; border-radius: 999px; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase;
  transition: background .18s;
}
.hero-caption:hover { background: var(--accent); }
.hero-caption .lbl { opacity: .62; }
.hero-caption b { font-weight: 700; }
@media (prefers-reduced-motion: reduce) {
  .hero-photo .hero-bg.is-active { animation: none; }
  .hero-photo .hero-bg { transition: none; }
}
@media (max-width: 820px) {
  /* phones: copy stacks above the photo on a sky gradient sampled from the
     image's own top rows; the photo is pinned to the bottom so the vial never
     sits under the buttons */
  .hero-photo {
    min-height: 0; display: block;
    background: linear-gradient(180deg, #bbd8fa 0%, #d1e2f7 32%, #dee7f2 100%);
  }
  .hero-photo .hero-bg {
    top: auto; bottom: 0; height: 420px; object-position: 78% 50%;
    -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%);
    mask-image: linear-gradient(180deg, transparent 0, #000 22%);
  }
  .hero-scrim { background: linear-gradient(180deg, rgba(246,244,240,.55) 0%, rgba(246,244,240,.35) 30%, rgba(246,244,240,0) 48%); }
  .hero-photo-in { padding: 34px 24px 372px; }
  .hero-photo h1 { font-size: clamp(38px, 11vw, 48px); }
  .hero-photo p.lede { font-size: 16px; margin-bottom: 20px; }
  .hero-photo .cta-row { gap: 10px; }
  .hero-featured { margin-top: 20px; }
  .hero-stamp { display: none; }
  .hero-caption { right: auto; left: 24px; bottom: 18px; }
  .hero-dots { left: auto; right: 24px; transform: none; bottom: 22px; }
}

/* closing photographic CTA band -- same full-bleed-photo + scrim pattern as
   the hero, centered content, used lower on the homepage before the footer */
.cta-photo {
  position: relative; padding: 0; min-height: 380px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; text-align: center;
}
.cta-photo .cta-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 30%; z-index: 0;
}
.cta-photo .cta-scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10,12,16,.55) 0%, rgba(10,12,16,.72) 100%);
}
.cta-photo-in { position: relative; z-index: 2; max-width: 560px; padding: 64px 24px; margin: 0 auto; }
.cta-photo h2 { color: #fff; margin: 0 0 12px; }
.cta-photo p { color: rgba(255,255,255,.86); margin: 0 0 26px; }
.cta-photo .cta-row { justify-content: center; }
.cta-photo .btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; background: transparent; }
.cta-photo .btn-ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; }
@media (max-width: 820px) {
  .cta-photo { min-height: 320px; }
  .cta-photo-in { padding: 44px 24px; }
}

/* ---------- 360 spin band: drag-to-rotate turntable frames on a glass
   panel over a blurred, darkened hero photograph ---------- */
.spin-band { position: relative; overflow: hidden; padding: 84px 0; background: #0f1419; color: #fff; }
.spin-band .spin-bg {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%;
  filter: blur(3px) brightness(.5) saturate(1.15); transform: scale(1.06);
}
.spin-band::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 70% at 72% 50%, rgba(21,80,224,.35), transparent 70%);
}
.spin-band-in { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.spin-copy .hero-eyebrow { color: rgba(255,255,255,.7); }
.spin-copy h2 { font-family: var(--font-serif); font-weight: 400; letter-spacing: -.01em; font-size: clamp(36px, 4.2vw, 58px); line-height: 1.02; color: #fff; margin-bottom: 16px; }
.spin-copy h2 em { font-style: italic; color: #8fb0ff; }
.spin-copy p { color: rgba(255,255,255,.8); font-size: 17px; max-width: 42ch; margin-bottom: 26px; }
.spin-band .btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; background: transparent; }
.spin-band .btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.spin {
  position: relative; aspect-ratio: .92; border-radius: 28px; outline: none;
  background: radial-gradient(120% 100% at 50% 8%, #ffffff 0%, #eef1f4 60%, #e4e8ec 100%);
  border: 1px solid rgba(255,255,255,.5);
  box-shadow: 0 40px 90px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.9);
  cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.spin:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.spin.dragging { cursor: grabbing; }
.spin-stage { position: absolute; inset: 7% 7% 12%; }
.spin-stage img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
  opacity: 0; transition: opacity .09s linear; pointer-events: none;
  filter: drop-shadow(0 22px 20px rgba(23,32,36,.22));
}
.spin-stage img.on { opacity: 1; }
.spin-floor {
  position: absolute; left: 18%; right: 18%; bottom: 7%; height: 6%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(23,32,36,.22), transparent);
}
.spin-hint {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase;
  color: #fff; background: rgba(23,27,30,.72); padding: 9px 15px; border-radius: 999px; transition: opacity .4s;
}
.spin-hint svg { width: 16px; height: 16px; }
.spin.touched .spin-hint { opacity: 0; }
.spin-badge {
  position: absolute; top: 18px; left: 18px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: #fff; background: var(--accent); padding: 7px 11px; border-radius: 999px;
}
/* product page: Photo / 360 toggle over the detail art */
.detail-art { position: relative; }
.art-toggle {
  position: absolute; top: 14px; right: 14px; z-index: 4; display: flex; gap: 2px; padding: 3px;
  background: rgba(255,255,255,.88); border: 1px solid var(--line); border-radius: 999px; backdrop-filter: blur(6px);
}
.art-toggle button {
  border: 0; background: transparent; font: inherit; font-size: 12px; font-weight: 600; color: var(--muted);
  padding: 6px 12px; border-radius: 999px; cursor: pointer; transition: background .18s, color .18s;
}
.art-toggle button.on { background: var(--ink); color: #fff; }
.art-spin .spin {
  aspect-ratio: .8; border-radius: 0; border: 0; box-shadow: none;
  background: radial-gradient(120% 100% at 50% 10%, #ffffff 0%, #f2f4f6 100%);
}
.art-spin .spin-hint { color: var(--ink); background: rgba(255,255,255,.9); border: 1px solid var(--line); }
.art-spin .spin-hint svg { color: var(--ink); }
.art-spin .spin-stage { inset: 9% 12% 12%; }

@media (max-width: 820px) {
  .spin-band { padding: 56px 0; }
  .spin-band-in { grid-template-columns: 1fr; gap: 30px; }
  .spin { border-radius: 22px; }
}

/* ---------- News + testimonials page ---------- */
.news-layout { display: grid; grid-template-columns: 1.7fr 1fr; gap: 48px; align-items: start; padding-bottom: 60px; }
.news-post { padding: 22px 0; border-bottom: 1px solid var(--line); }
.news-post:first-child { padding-top: 0; }
.news-date { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.news-post h3 { font-size: 19px; margin-bottom: 8px; }
.news-post p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.ts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.ts-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.ts-stars { color: var(--accent); letter-spacing: 2px; font-size: 15px; display: block; margin-bottom: 10px; }
.ts-card p { font-size: 14.5px; line-height: 1.6; color: var(--ink); margin-bottom: 12px; }
.ts-card footer { font-size: 12.5px; color: var(--muted); }
.news-side { position: sticky; top: 90px; }
.ts-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.ts-rate { display: flex; gap: 4px; }
.ts-rate button { background: none; border: 0; font-size: 24px; color: var(--line-strong, var(--line)); cursor: pointer; padding: 2px; transition: color .15s; }
.ts-rate button.on { color: var(--accent); }
.ts-thanks { background: var(--accent-soft); border: 1px dashed var(--accent); border-radius: var(--radius); padding: 24px; text-align: center; }
.ts-thanks h3 { margin-bottom: 6px; }
.ts-thanks p { color: var(--muted); font-size: 14px; }
@media (max-width: 900px) {
  .news-layout { grid-template-columns: 1fr; }
  .ts-grid { grid-template-columns: 1fr; }
  .news-side { position: static; }
}

/* ---------- Share button (product pages, footer) ---------- */
.share-btn {
  display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--line);
  background: var(--surface); color: var(--muted); font: inherit; font-size: 13px; font-weight: 600;
  padding: 7px 13px; border-radius: 999px; cursor: pointer; transition: border-color .15s, color .15s;
}
.share-btn svg { width: 14px; height: 14px; }
.share-btn:hover { border-color: var(--accent); color: var(--accent); }
.share-btn.copied { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.d-cat-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 6px 0 16px; }
.d-cat-row .d-cat { margin: 0; }
.foot-share { margin-top: 16px; }

/* ---------- Newsletter first-order discount popup ---------- */
.nl-pop {
  position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center;
  padding: 20px; background: rgba(15,20,25,0); backdrop-filter: blur(0px);
  transition: background .25s, backdrop-filter .25s; pointer-events: none;
}
.nl-pop.show { background: rgba(15,20,25,.5); backdrop-filter: blur(3px); pointer-events: auto; }
.nl-card {
  position: relative; width: 100%; max-width: 400px; background: var(--surface);
  border-radius: 20px; padding: 38px 32px 30px; text-align: center;
  box-shadow: 0 40px 100px rgba(0,0,0,.35);
  transform: translateY(18px) scale(.97); opacity: 0; transition: transform .3s cubic-bezier(.16,1,.3,1), opacity .3s;
}
.nl-pop.show .nl-card { transform: translateY(0) scale(1); opacity: 1; }
.nl-eyebrow { color: var(--accent); font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 8px; }
.nl-card h3 { font-family: var(--font-serif); font-weight: 400; font-size: 34px; letter-spacing: -.01em; margin-bottom: 10px; }
.nl-sub { color: var(--muted); font-size: 14.5px; line-height: 1.5; margin-bottom: 22px; }
.nl-close {
  position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface); font-size: 18px; line-height: 1; color: var(--muted);
  cursor: pointer; transition: background .15s, color .15s;
}
.nl-close:hover { background: var(--surface-2); color: var(--ink); }
.nl-form { display: flex; flex-direction: column; gap: 10px; }
.nl-form input {
  width: 100%; padding: 13px 16px; border: 1px solid var(--line); border-radius: 999px;
  font: inherit; font-size: 15px; background: var(--bg); color: var(--ink);
}
.nl-form input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.nl-form .btn { width: 100%; justify-content: center; }
.nl-error { color: var(--danger); font-size: 13px; margin-top: 10px; }
.nl-skip {
  display: block; margin: 14px auto 0; background: none; border: 0; color: var(--muted);
  font-size: 13px; text-decoration: underline; cursor: pointer;
}
.nl-fine { font-size: 11.5px; color: var(--muted); margin-top: 16px; opacity: .8; }
.nl-code {
  font-family: var(--font-mono); font-size: 20px; font-weight: 600; letter-spacing: .04em;
  background: var(--accent-soft); color: var(--accent); border: 1px dashed var(--accent);
  border-radius: 12px; padding: 14px; margin-bottom: 18px;
}
@media (max-width: 480px) {
  .nl-card { padding: 32px 24px 26px; }
  .nl-card h3 { font-size: 28px; }
}

/* slim trust strip, directly under the nav -- lighter than the compliance
   ribbon above it so the two bars don't stack as two black bands */
.trust-bar {
  background: var(--surface); border-bottom: 1px solid var(--line);
  padding: 11px 24px; text-align: center;
}
.trust-bar-in {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 8px 12px; font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
}
.trust-bar-in .dot { color: var(--line-strong, var(--line)); font-weight: 400; }
@media (max-width: 820px) {
  .trust-bar { padding: 9px 0; }
  .trust-bar-in {
    flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; white-space: nowrap;
    padding: 0 24px; gap: 8px 10px; font-size: 11px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .trust-bar-in::-webkit-scrollbar { display: none; }
}
.vial-label {
  flex: 1 1 0; max-width: 190px; min-width: 0;
  border-radius: 12px 12px 0 0; overflow: hidden;
  animation: vial-in .6s cubic-bezier(.16,1,.3,1) both;
}
.vial-label img { width: 100%; height: auto; display: block; }
/* centre vial sits forward and slightly larger, giving the group a focal point */
.vial-label:nth-child(1) { animation-delay: .05s; }
.vial-label:nth-child(2) { max-width: 224px; z-index: 2; animation-delay: .15s; }
.vial-label:nth-child(3) { animation-delay: .25s; }
@keyframes vial-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Marquee ---------- */

.marquee {
  overflow: hidden; background: var(--surface);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 13px 0;
}
.marquee-track { display: flex; gap: 44px; width: max-content; animation: marquee-slide 55s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span {
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.1em;
  color: var(--muted); white-space: nowrap; text-transform: uppercase;
}
.marquee span b { color: var(--accent); font-weight: 500; }
@keyframes marquee-slide { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */

section { padding: 64px 0; }
.section-head { margin-bottom: 34px; max-width: 60ch; }
.section-head h2 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.026em; line-height: 1.12; text-wrap: balance; }
.section-head p { color: var(--muted); margin-top: 10px; }

/* category cards: 2 + 3 asymmetric grid with typographic watermark + hover arrow */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cat-card {
  border-radius: var(--radius); padding: 26px 22px; min-height: 150px;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 4px;
  border: 1px solid var(--line); position: relative; overflow: hidden;
  isolation: isolate;
  transition: transform .18s, box-shadow .18s;
}
.cat-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.cat-card h3 { font-size: 19px; letter-spacing: -0.01em; }
.cat-card .n { font-family: var(--font-mono); font-size: 13px; color: var(--muted); }
.cat-card .wm {
  position: absolute; right: 4px; top: -34px; z-index: -1;
  font-size: 132px; font-weight: 700; letter-spacing: -0.05em;
  color: var(--ink); opacity: 0.06; user-select: none; pointer-events: none;
  transition: transform .3s;
}
.cat-card:hover .wm { transform: translateX(-6px) scale(1.04); }
.cat-card .go {
  position: absolute; top: 16px; right: 16px; width: 34px; height: 34px;
  border-radius: 50%; background: var(--surface); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; font-size: 15px;
  opacity: 0; transform: translate(-6px, 6px);
  transition: opacity .2s, transform .2s;
}
.cat-card:hover .go { opacity: 1; transform: none; }
.cat-card:nth-child(1), .cat-card:nth-child(2) { grid-column: span 3; }
.cat-card:nth-child(3), .cat-card:nth-child(4), .cat-card:nth-child(5) { grid-column: span 2; }

.tile-a { background: var(--grad-a); }
.tile-b { background: var(--grad-b); }
.tile-c { background: var(--grad-c); }
.tile-d { background: var(--grad-d); }
.tile-e { background: var(--grad-e); }
.tile-f { background: var(--grad-f); }

/* ---------- Product cards ---------- */

.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.prod-card {
  position: relative;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .18s, box-shadow .18s;
}
.best-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--ink); color: var(--bg); font-size: 11px; font-weight: 700;
  letter-spacing: 0.04em; padding: 5px 10px; border-radius: 999px;
}
.prod-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
/* square for grid cards, so rows stay compact; the product page overrides to
   the taller 4:5 portrait below */
.tile { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.tile.media { background: #ffffff; }
.tile.media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s cubic-bezier(.16,1,.3,1); }
.prod-card:hover .tile.media img, .detail-art:hover .tile.media img { transform: scale(1.06); }
.tile .t-card {
  background: color-mix(in srgb, var(--surface) 86%, transparent);
  border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 18px; text-align: center; min-width: 62%;
  backdrop-filter: blur(4px);
  transition: transform .3s cubic-bezier(.16,1,.3,1);
}
.prod-card:hover .t-card { transform: translateY(-4px); }
.tile .t-brand { font-size: 9px; font-weight: 700; letter-spacing: 0.3em; margin-bottom: 7px; color: var(--ink); }
.tile .t-name { font-weight: 700; font-size: 17px; letter-spacing: 0.02em; text-transform: uppercase; }
.tile .t-mg { font-family: var(--font-mono); font-size: 12px; color: var(--accent); margin-top: 3px; padding-bottom: 7px; border-bottom: 1px solid var(--accent); display: inline-block; }
.tile .t-foot { font-size: 8px; letter-spacing: 0.14em; color: var(--muted); margin-top: 8px; }

/* ---------- Spec-card presentation: a branded flat card standing behind
   the cut-out vial photo. Sized with container units so the same markup
   works in the 1:1 grid tile and the 4:5 product-page tile. ---------- */
.tile.pcard { background: linear-gradient(160deg, #e9eef2 0%, #f6f8f9 100%); container-type: inline-size; overflow: hidden; }
.pc-card {
  position: absolute; left: 6%; top: 6%; width: 74%; height: 88%;
  border-radius: 5cqw; overflow: hidden; text-align: left;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='104' viewBox='0 0 120 104'%3E%3Cg fill='none' stroke='%231550e0' stroke-width='1' opacity='.09'%3E%3Cpath d='M30 2 58 18 58 50 30 66 2 50 2 18Z'/%3E%3Cpath d='M90 2 118 18 118 50 90 66 62 50 62 18Z'/%3E%3Cpath d='M60 54 88 70 88 102 60 118 32 102 32 70Z'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 30cqw auto,
    linear-gradient(165deg, #ffffff 0%, #eef3fb 100%);
  border: 1px solid rgba(23,27,30,.08); box-shadow: 0 10px 30px rgba(23,32,36,.10);
  padding: 5.5cqw 6cqw;
}
.pc-head { display: flex; align-items: center; gap: 2.2cqw; font-weight: 700; letter-spacing: .22em; font-size: 3.6cqw; color: var(--ink); }
.pc-head img { width: 7.2cqw; height: 7.2cqw; border-radius: 50%; object-fit: cover; background: #fff; }
.pc-corner { position: absolute; top: 0; right: 0; width: 26cqw; height: 26cqw; background: var(--accent); clip-path: polygon(34% 0, 100% 0, 100% 66%); }
.pc-mol { position: absolute; top: 2.6cqw; right: 2.6cqw; width: 9cqw; height: 9cqw; }
.pc-name { margin-top: 6cqw; font-size: 8cqw; line-height: 1.02; font-weight: 800; letter-spacing: -.02em; text-transform: uppercase; color: var(--ink); max-width: 80%; text-wrap: balance; }
.pc-name.long { font-size: 5.6cqw; }
.pc-mg { margin-top: 2.4cqw; font-size: 3.6cqw; font-weight: 600; color: var(--ink); }
.pc-mg span { color: var(--muted); font-weight: 500; }
.pc-meta { margin-top: 3cqw; font-size: 3cqw; line-height: 1.4; color: var(--muted); }
.pc-meta b { display: block; color: var(--ink); font-weight: 600; font-size: 3.3cqw; letter-spacing: .01em; }
.pc-meta sub { font-size: .7em; vertical-align: -0.2em; } .pc-meta sup { font-size: .7em; }
.pc-foot { position: absolute; left: 6cqw; bottom: 14.5cqw; font-size: 3.1cqw; font-weight: 700; letter-spacing: .08em; color: var(--ink); }
.pc-badge {
  position: absolute; left: 6cqw; bottom: 5cqw; display: inline-flex; align-items: center; gap: 1.4cqw;
  background: var(--accent); color: #fff; font-size: 2.8cqw; font-weight: 700; letter-spacing: .07em;
  padding: 1.7cqw 3.2cqw; border-radius: 999px; text-transform: uppercase; white-space: nowrap;
}
.pc-vial {
  position: absolute; right: 3%; bottom: 2.5%; height: 66%; width: auto; z-index: 2;
  filter: drop-shadow(0 14px 18px rgba(23,32,36,.30));
  transition: transform .45s cubic-bezier(.16,1,.3,1);
}
.prod-card:hover .pc-vial, .detail-art:hover .pc-vial { transform: translateY(-2%) scale(1.04); }
.detail-art .pc-vial { height: auto; width: 52%; right: 1%; }
.detail-art .pc-card { width: 72%; }
@container (max-width: 250px) { .pc-meta, .pc-foot, .pc-badge { display: none; } .pc-name { margin-top: 8cqw; } }

.prod-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.prod-body h3 { font-size: 16.5px; letter-spacing: -0.01em; }
.prod-body .p-cat { font-size: 12px; color: var(--muted); }
.prod-body .p-blurb {
  font-size: 13px; line-height: 1.5; color: var(--muted);
  margin-top: 4px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.prod-line { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 12px; }
.price { font-family: var(--font-mono); font-weight: 500; font-size: 16px; font-variant-numeric: tabular-nums; }
.add-btn {
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  border-radius: 999px; padding: 8px 15px; font-size: 13px; font-weight: 600;
  transition: background .15s, color .15s, transform .12s;
}
.add-btn:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.add-btn:active { transform: scale(0.96); }
.add-btn.added { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }

/* ---------- Shop tools ---------- */

.shop-tools { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.search-box {
  flex: 1 1 240px; max-width: 380px;
  display: flex; align-items: center; gap: 10px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: 10px 18px;
  transition: border-color .15s;
}
.search-box:focus-within { border-color: var(--accent); }
.search-box input { border: none; outline: none; background: transparent; color: var(--ink); font: inherit; font-size: 14.5px; width: 100%; }
.search-box input::placeholder { color: var(--muted); }
.search-box .sicon { color: var(--muted); font-size: 14px; }
.result-note { font-family: var(--font-mono); font-size: 12.5px; color: var(--muted); margin-left: auto; }
.no-results { padding: 70px 0; text-align: center; color: var(--muted); }
.no-results b { color: var(--ink); }

.filter-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.pill {
  border: 1px solid var(--line); background: var(--surface); color: var(--muted);
  border-radius: 999px; padding: 8px 18px; font-size: 13.5px; font-weight: 600;
  transition: color .15s, background .15s;
}
.pill:hover { color: var(--ink); }
.pill.active { background: var(--ink); border-color: var(--ink); color: var(--bg); }

/* ---------- Promo band ---------- */

/* Copy leads, product sits right at a fixed size. The image is capped in px
   (not %) so it can't balloon when the band stacks on narrow screens. */
.promo {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center; background: var(--grad-d);
}
.promo-copy { padding: clamp(28px, 4vw, 48px); }
.promo-copy h2 { font-size: clamp(22px, 2.6vw, 32px); letter-spacing: -0.015em; margin-bottom: 10px; text-wrap: balance; }
.promo-copy p { color: var(--muted); margin-bottom: 22px; max-width: 42ch; font-size: 15.5px; }
.promo-art {
  padding: clamp(18px, 2.5vw, 30px);
  display: flex; align-items: center; justify-content: center;
}
.promo-art img {
  width: clamp(150px, 22vw, 240px); height: auto;
  border-radius: 12px; background: #ffffff;
  box-shadow: var(--shadow);
  transition: transform .35s cubic-bezier(.16,1,.3,1);
}
.promo:hover .promo-art img { transform: scale(1.02); }

/* ---------- Testing band ---------- */

.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.check-list { display: flex; flex-direction: column; }
.check-item { display: flex; gap: 16px; padding: 20px 0; }
.check-item + .check-item { border-top: 1px solid var(--line); }
.check-item .ico {
  flex: 0 0 38px; height: 38px; border-radius: 10px;
  background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.check-item h4 { font-size: 16px; margin-bottom: 3px; }
.check-item p { color: var(--muted); font-size: 14.5px; }

/* ---------- FAQ ---------- */

.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 0;
  font-weight: 600; font-size: 16.5px; display: flex; justify-content: space-between; align-items: center;
  transition: color .15s;
}
.faq summary:hover { color: var(--accent); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--muted); font-size: 18px; transition: transform .2s; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); padding-bottom: 18px; max-width: 70ch; }

/* ---------- Product detail ---------- */

.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; padding: 56px 0 40px; align-items: start; }
.crumb { font-size: 13.5px; color: var(--muted); padding: 26px 0 0; display: inline-block; }
.crumb:hover { color: var(--accent); }
.detail-art { border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; max-width: 520px; }
.detail-art .tile { aspect-ratio: 0.8; }
.detail-art .t-card { padding: 26px 34px; }
.detail-art .t-name { font-size: 26px; }
.detail-info h1 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -0.03em; line-height: 1.08; }
.detail-info .d-cat { color: var(--muted); font-size: 14px; margin: 6px 0 16px; }
.detail-info .price { font-size: 26px; }
.detail-info .d-blurb { color: var(--muted); margin: 18px 0 24px; max-width: 52ch; }
.qty-row { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { width: 40px; height: 42px; border: none; background: var(--surface); font-size: 17px; color: var(--ink); }
.qty button:hover { background: var(--surface-2); }
.qty span { min-width: 40px; text-align: center; font-family: var(--font-mono); font-size: 15px; }
.note-box {
  border: 1px solid var(--line); border-left: 3px solid var(--accent);
  border-radius: 10px; padding: 14px 18px; font-size: 13.5px; color: var(--muted);
  margin-top: 26px; max-width: 56ch;
}
.spec-rows { margin-top: 26px; max-width: 56ch; }
.spec-rows .row { display: flex; justify-content: space-between; gap: 24px; padding: 11px 0; font-size: 14px; }
.spec-rows .row + .row { border-top: 1px solid var(--line); }
.spec-rows .k { color: var(--muted); }
.spec-rows .v { font-family: var(--font-mono); font-size: 13px; text-align: right; }
.related { padding: 8px 0 72px; }
.related h2 { font-size: 22px; letter-spacing: -0.01em; margin-bottom: 22px; }
.related .prod-grid { grid-template-columns: repeat(3, 1fr); }

/* ---------- Cart page ---------- */

.cart-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.9fr); gap: 32px; padding: 40px 0 88px; align-items: start; }
.cart-list { display: flex; flex-direction: column; }
.cart-row { display: flex; align-items: center; gap: 18px; padding: 18px 0; }
.cart-row + .cart-row { border-top: 1px solid var(--line); }
.cart-thumb { flex: 0 0 84px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.cart-thumb .tile { aspect-ratio: 1/1; }
.cart-thumb .t-card { padding: 6px 8px; min-width: 0; }
.cart-thumb .t-name { font-size: 9px; }
.cart-thumb .t-mg, .cart-thumb .t-foot, .cart-thumb .t-brand { display: none; }
.cart-row .c-info { flex: 1; }
.cart-row h4 { font-size: 15.5px; }
.cart-row .c-mg { font-size: 12.5px; color: var(--muted); font-family: var(--font-mono); }
.cart-row .remove { background: none; border: none; color: var(--muted); font-size: 12.5px; text-decoration: underline; padding: 2px 0; }
.cart-row .remove:hover { color: var(--danger); }
.summary {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; position: sticky; top: 96px;
}
.summary h3 { font-size: 18px; margin-bottom: 18px; }
.sum-row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; font-size: 14.5px; color: var(--muted); }
.sum-row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; color: var(--ink); font-weight: 700; font-size: 16px; }
.summary .btn { width: 100%; justify-content: center; margin-top: 20px; padding-top: 15px; padding-bottom: 15px; }
.pay-note { font-size: 12.5px; color: var(--muted); margin-top: 12px; text-align: center; }
.empty-state { text-align: center; padding: 90px 0 110px; }
.empty-state h2 { font-size: 26px; margin-bottom: 8px; }
.empty-state p { color: var(--muted); margin-bottom: 24px; }

/* ---------- Mini-cart drawer ---------- */

.drawer-overlay {
  position: fixed; inset: 0; background: rgba(8, 12, 14, 0.45);
  opacity: 0; pointer-events: none; transition: opacity .25s; z-index: 80;
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(400px, 92vw);
  background: var(--surface); border-left: 1px solid var(--line); z-index: 85;
  transform: translateX(103%);
  transition: transform .32s cubic-bezier(.16,1,.3,1);
  display: flex; flex-direction: column;
}
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 17px; }
.drawer-head .dcount { font-family: var(--font-mono); font-size: 13px; color: var(--muted); margin-left: 8px; font-weight: 400; }
.drawer-close { background: none; border: none; font-size: 24px; color: var(--muted); line-height: 1; padding: 2px 6px; }
.drawer-close:hover { color: var(--ink); }
.drawer-items { flex: 1; overflow-y: auto; padding: 4px 22px; }
.drawer .cart-row { gap: 14px; padding: 14px 0; }
.drawer .cart-thumb { flex: 0 0 64px; }
.drawer-empty { text-align: center; color: var(--muted); padding: 56px 0; }
.drawer-foot { border-top: 1px solid var(--line); padding: 18px 22px; }
.drawer-sub { display: flex; justify-content: space-between; font-size: 15px; margin-bottom: 12px; }
.drawer-foot .btn { width: 100%; justify-content: center; }
.drawer-foot .btn + .btn { margin-top: 10px; }

/* ---------- Footer ---------- */

.site-foot, footer { border-top: 1px solid var(--line); background: var(--surface); padding: 48px 0 32px; margin-top: 40px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; margin-bottom: 36px; }
.foot-about { color: var(--muted); font-size: 14px; max-width: 34ch; margin-top: 12px; }
.foot-address { font-style: normal; color: var(--muted); font-size: 13.5px; line-height: 1.6; margin-top: 14px; }
.foot-note { color: var(--muted); font-size: 12px; }
.foot-grid h5 { font-size: 13px; letter-spacing: 0.06em; color: var(--muted); margin-bottom: 12px; }
.foot-grid ul { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; }
.foot-grid a:hover { color: var(--accent); }
.foot-legal { border-top: 1px solid var(--line); padding-top: 20px; font-size: 12.5px; color: var(--muted); max-width: 90ch; line-height: 1.6; }

/* ---------- Page head / policies ---------- */

.page-head { padding: 52px 0 8px; }
.page-head h1 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.03em; }
.page-head p { color: var(--muted); margin-top: 8px; max-width: 60ch; }

.prose { max-width: 76ch; padding: 12px 0 80px; }
.prose h2 { font-size: 22px; margin: 36px 0 10px; letter-spacing: -0.01em; }
.prose p, .prose li { color: var(--muted); font-size: 15.5px; }
.prose ul { padding-left: 20px; margin-top: 8px; }
.placeholder-flag {
  display: inline-block; font-family: var(--font-mono); font-size: 11px;
  background: var(--accent-soft); color: var(--accent);
  border-radius: 6px; padding: 3px 8px; margin-bottom: 14px;
}

.compliance-block {
  border: 1px solid var(--line); border-left: 3px solid var(--danger);
  border-radius: 10px; padding: 16px 18px; margin-top: 24px; max-width: 56ch;
  background: var(--surface);
}
.compliance-block h3 {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--danger); margin-bottom: 8px;
}
.compliance-block p { font-size: 13px; line-height: 1.55; color: var(--muted); }
.compliance-block p + p { margin-top: 8px; }

/* ---------- COA ---------- */

/* Reads unmistakably as a link: accent border, blue underlined title, and a
   cursor/arrow affordance. Visitors were not realising these were clickable. */
.coa-card {
  display: flex; align-items: center; gap: 14px;
  border: 1px solid var(--accent); border-radius: 12px;
  background: var(--accent-soft); padding: 16px 18px; margin-top: 22px;
  max-width: 56ch; cursor: pointer;
  transition: background .18s, transform .18s, box-shadow .18s;
}
.coa-card:hover { background: var(--surface); transform: translateY(-2px); box-shadow: var(--shadow); }
.coa-card:hover .coa-text strong { text-decoration-thickness: 2px; }
.coa-icon {
  flex: 0 0 auto; font-family: var(--font-mono); font-size: 10px; font-weight: 700;
  letter-spacing: 0.06em; background: var(--accent); color: var(--accent-ink);
  border-radius: 8px; padding: 9px 8px;
}
.coa-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1 1 auto; }
.coa-text strong { font-size: 14.5px; color: var(--accent); text-decoration: underline; }
.coa-text em { font-style: normal; font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.coa-go { margin-left: auto; color: var(--accent); font-size: 16px; font-weight: 700; }
.coa-qr {
  flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 4px;
  margin-left: 6px; padding-left: 14px; border-left: 1px solid var(--line);
}
.coa-qr img { width: 52px; height: 52px; border-radius: 6px; background: #fff; padding: 3px; display: block; }
.coa-qr span { font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
@media (max-width: 460px) { .coa-qr { display: none; } }

/* per-lot results table -- real lab data, one row per tested compound */
.coa-table-wrap { margin-top: 22px; max-width: 56ch; overflow-x: auto; }
.coa-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.coa-table caption {
  text-align: left; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 8px; font-weight: 600;
}
.coa-table th {
  text-align: left; font-size: 10.5px; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--muted); font-weight: 500; padding: 0 12px 8px 0; border-bottom: 1px solid var(--line-strong, var(--line));
  white-space: nowrap;
}
.coa-table td { padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: middle; white-space: nowrap; }
.coa-table tr:last-child td { border-bottom: none; }
.coa-table .cmpd { font-weight: 600; }
.coa-table .num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }
.coa-table .claim { color: var(--muted); font-size: 11.5px; }
.coa-table .cert { font-family: var(--font-mono); font-size: 11px; color: var(--muted); }

/* ---------- 3D molecular structure viewer ---------- */

.mol-section { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.mol-head { margin-bottom: 18px; }
.mol-head h3 { font-size: 18px; letter-spacing: -0.01em; margin-bottom: 4px; }
.mol-head p { font-size: 13.5px; color: var(--muted); max-width: 62ch; }
.mol-stage-wrap { position: relative; }
.mol-stage {
  width: 100%; height: 320px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; overflow: hidden;
}
.mol-drag-hint {
  position: absolute; top: 12px; left: 12px; z-index: 3;
  font-family: var(--font-mono); font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
  color: var(--muted); background: rgba(255,255,255,.85); padding: 5px 9px; border-radius: 999px;
  pointer-events: none; transition: opacity .3s;
}
.mol-stage-wrap:not(:has(.mol-ready)) .mol-stage { display: flex; align-items: center; justify-content: center; }
.mol-loading { font-size: 12.5px; color: var(--muted); }
.mol-error-note { font-size: 12.5px; color: var(--muted); padding: 14px; text-align: center; }
.mol-legend {
  display: flex; flex-wrap: wrap; gap: 12px 18px; margin-top: 12px;
  font-size: 11.5px; color: var(--muted);
}
.mol-legend span { display: inline-flex; align-items: center; gap: 6px; }
.mol-legend i {
  width: 10px; height: 10px; border-radius: 50%; display: inline-block; border: 1px solid rgba(0,0,0,.15);
}
.mol-legend .el-C i { background: #909090; }
.mol-legend .el-H i { background: #ffffff; }
.mol-legend .el-N i { background: #3050f8; }
.mol-legend .el-O i { background: #ff0d0d; }
.mol-legend .el-S i { background: #ffff30; }
.mol-legend .el-Cu i { background: #c88033; }
.mol-source-note { margin-top: 14px; font-size: 11.5px; color: var(--muted); line-height: 1.5; }
.mol-source-note a { color: var(--accent); }
@media (max-width: 700px) { .mol-stage { height: 260px; } }

.coa-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.coa-grid .coa-card { margin-top: 0; max-width: none; }
@media (max-width: 700px) { .coa-grid { grid-template-columns: 1fr; } }

/* ---------- Checkout ---------- */

.checkout-form { display: flex; flex-direction: column; gap: 18px; }

/* Each step is its own large panel; the form flows straight down so nothing
   sits shoulder-to-shoulder and gets cramped. */
.co-panel {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 30px 30px;
}
.co-head { font-size: 16px; letter-spacing: -0.012em; margin: 0 0 20px; }
.co-head em { font-style: normal; font-weight: 400; color: var(--muted); font-size: 13.5px; }
.co-grid { display: flex; flex-direction: column; gap: 20px; }
.co-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.co-field { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.co-field.co-span { width: 100%; }
.co-field > span {
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.03em;
  text-transform: uppercase; color: var(--muted);
}
.co-field > span em { font-style: normal; font-weight: 400; text-transform: none; letter-spacing: 0; opacity: .85; }
.co-field input, .co-field select, .co-field textarea {
  font: inherit; font-size: 15.5px; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line);
  border-radius: 11px; padding: 15px 16px; width: 100%;
  transition: border-color .15s, background .15s;
}
.co-field textarea { resize: vertical; min-height: 96px; }
.co-field input::placeholder, .co-field textarea::placeholder { color: var(--muted); opacity: .7; }
.co-field input:hover, .co-field select:hover, .co-field textarea:hover { border-color: var(--muted); }
.co-field input:focus, .co-field select:focus, .co-field textarea:focus {
  border-color: var(--accent); background: var(--surface); outline: none;
}
.co-attest { margin: 4px 0 0; padding: 18px 20px; }
.co-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.pay-method {
  border-top: 1px solid var(--line); margin-top: 16px; padding-top: 18px;
  display: flex; gap: 14px; align-items: center;
}
.pay-method img { border-radius: 8px; flex: 0 0 auto; }
.pay-method p { font-size: 13px; color: var(--muted); line-height: 1.5; }

.confirm { padding: 8px 0 80px; max-width: 940px; }
.confirm-badge {
  display: inline-block; font-family: var(--font-mono); font-size: 11.5px;
  letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--accent-soft); color: var(--accent);
  border-radius: 999px; padding: 6px 14px; margin-bottom: 14px;
}
.confirm h2 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.026em; margin-bottom: 8px; }
.confirm-lede { color: var(--muted); margin-bottom: 28px; }
.confirm-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 32px; align-items: start; margin-bottom: 28px; }
.confirm-steps { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.pay-row { display: flex; justify-content: space-between; gap: 20px; padding: 11px 0; font-size: 14.5px; }
.pay-row + .pay-row { border-top: 1px solid var(--line); }
.pay-row span { color: var(--muted); }
.pay-row strong { text-align: right; word-break: break-word; }
.pay-row.highlight strong {
  font-family: var(--font-mono); font-size: 16px;
  background: var(--accent-soft); color: var(--accent);
  padding: 4px 10px; border-radius: 7px;
}
.pay-steps { margin: 18px 0 4px; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.pay-steps li { font-size: 14.5px; color: var(--muted); }
.pay-steps strong { color: var(--ink); }
.confirm-qr { text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.confirm-qr img { margin: 0 auto 10px; border-radius: 8px; max-width: 100%; height: auto; }
.confirm-qr p { font-size: 12.5px; color: var(--muted); }

@media (max-width: 768px) {
  .confirm-grid { grid-template-columns: 1fr; gap: 20px; }
  .confirm-qr { order: -1; }
}
@media (max-width: 480px) {
  .co-panel { padding: 22px 18px 24px; }
  .co-pair { grid-template-columns: 1fr; }
  .pay-method { flex-direction: column; text-align: center; }
}

/* ---------- Member account ---------- */

.acct-wrap {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 28px; padding: 24px 0 88px; align-items: start;
  max-width: 1020px; margin: 0 auto;
}
.acct-wrap:has(.acct-history) { grid-template-columns: 1fr; max-width: 760px; }
.acct-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 34px 32px;
}
.acct-tabs { display: flex; gap: 8px; margin-bottom: 28px; }
.acct-tab {
  flex: 1; border: 1px solid var(--line); background: var(--surface); color: var(--muted);
  border-radius: 999px; padding: 11px 14px; font-size: 14px; font-weight: 600;
  transition: background .15s, color .15s, border-color .15s;
}
.acct-tab:hover { color: var(--ink); }
.acct-tab.active { background: var(--ink); border-color: var(--ink); color: var(--bg); }

/* give each field real breathing room; the form was cramped at 14px */
.acct-card #acct-form { display: flex; flex-direction: column; gap: 20px; }
.acct-card .co-field { margin-bottom: 0; gap: 8px; }
.acct-card .co-field input { padding: 13px 14px; }
.acct-hint { font-style: normal; font-size: 12px; color: var(--muted); margin-top: 2px; }
.acct-card .agegate-check { margin-bottom: 0; padding: 15px 16px; }
.acct-card .agegate-check span { font-size: 12.5px; }
.acct-card .btn { width: 100%; justify-content: center; margin-top: 4px; padding-top: 15px; padding-bottom: 15px; }
.acct-card .agegate-error { margin: 0; }

.acct-side {
  background: var(--grad-a); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 28px;
}
.acct-side h3 { font-size: 16px; margin-bottom: 20px; letter-spacing: -0.01em; }
.acct-perks { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.acct-perks li { display: flex; flex-direction: column; gap: 4px; }
.acct-perks strong { font-size: 14.5px; }
.acct-perks span { font-size: 13px; color: var(--muted); line-height: 1.55; }
.acct-note { font-size: 12px; color: var(--muted); margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); line-height: 1.55; }

.acct-dash { max-width: 620px; }
.acct-dash .spec-rows { max-width: none; }
.acct-badge {
  display: inline-block; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--accent-soft); color: var(--accent);
  border-radius: 999px; padding: 5px 12px; margin-bottom: 14px;
}
.acct-dash h2 { font-size: 24px; letter-spacing: -0.026em; }
.acct-sub { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.acct-perk {
  display: flex; flex-direction: column; gap: 4px;
  background: var(--accent-soft); border-radius: 12px; padding: 16px 18px; margin: 22px 0;
}
.acct-perk strong { color: var(--accent); font-size: 16px; }
.acct-perk span { font-size: 13.5px; color: var(--muted); }
.acct-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.acct-actions .btn { width: auto; margin-top: 0; flex: 1 1 auto; }

/* member discount line on the cart and checkout summaries */
.sum-row.member span:last-child { color: var(--accent); font-weight: 600; }

@media (max-width: 900px) {
  .acct-wrap { grid-template-columns: 1fr; gap: 20px; }
  .acct-side { order: -1; padding: 24px 22px; }
  .acct-card { padding: 26px 22px 24px; }
}

/* ---------- Shopping assistant ---------- */

.ca-launch {
  position: fixed; right: 20px; bottom: 20px; z-index: 95;
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--ink); color: var(--bg);
  border: none; border-radius: 999px; padding: 13px 20px;
  font-size: 14.5px; font-weight: 600;
  box-shadow: 0 10px 30px rgba(15, 20, 24, .28);
  transition: transform .18s, box-shadow .18s;
}
.ca-launch:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(15, 20, 24, .34); }
.ca-launch.is-open { transform: scale(.94); opacity: .9; }
.ca-launch-dot { width: 8px; height: 8px; border-radius: 50%; background: #35d07f; }

.ca-panel {
  position: fixed; right: 20px; bottom: 82px; z-index: 96;
  width: min(380px, calc(100vw - 32px));
  max-height: min(620px, calc(100dvh - 120px));
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 16px; box-shadow: 0 24px 60px rgba(15, 20, 24, .26);
  display: flex; flex-direction: column; overflow: hidden;
  animation: ca-in .25s cubic-bezier(.16,1,.3,1) both;
}
.ca-panel[hidden] { display: none; }
@keyframes ca-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }

.ca-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 16px; border-bottom: 1px solid var(--line); background: var(--bg);
}
.ca-head strong { display: block; font-size: 14.5px; }
.ca-head span { font-size: 12px; color: var(--muted); }
.ca-close { background: none; border: none; font-size: 22px; line-height: 1; color: var(--muted); padding: 0 4px; }
.ca-close:hover { color: var(--ink); }

.ca-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.ca-msg { display: flex; flex-direction: column; gap: 8px; max-width: 100%; }
.ca-msg.ca-me { align-items: flex-end; }
.ca-bubble {
  border-radius: 14px; padding: 10px 13px; font-size: 14px; line-height: 1.5;
  max-width: 88%; word-wrap: break-word;
}
.ca-bot .ca-bubble { background: var(--surface-2); color: var(--ink); border-bottom-left-radius: 5px; }
.ca-me .ca-bubble { background: var(--accent); color: var(--accent-ink); border-bottom-right-radius: 5px; }
.ca-bubble a { color: var(--accent); text-decoration: underline; }
.ca-me .ca-bubble a { color: var(--accent-ink); }

.ca-prods { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.ca-prod {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid var(--line); border-radius: 11px; padding: 8px 10px; background: var(--surface);
}
.ca-prod img { width: 44px; height: 44px; object-fit: cover; border-radius: 7px; flex: 0 0 auto; }
.ca-prod-info { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.ca-prod-info a { font-size: 13.5px; }
.ca-prod-info a:hover strong { color: var(--accent); }
.ca-prod-info span { font-family: var(--font-mono); font-size: 11.5px; color: var(--muted); }
.ca-add {
  flex: 0 0 auto; border: 1px solid var(--line); background: var(--surface);
  color: var(--ink); border-radius: 999px; padding: 6px 13px;
  font-size: 12.5px; font-weight: 600; transition: background .15s, color .15s;
}
.ca-add:hover:not(:disabled) { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.ca-add:disabled { opacity: .55; }

.ca-chips { display: flex; gap: 7px; overflow-x: auto; padding: 0 16px 10px; }
.ca-chip {
  flex: 0 0 auto; border: 1px solid var(--line); background: var(--surface);
  color: var(--muted); border-radius: 999px; padding: 7px 13px;
  font-size: 12.5px; white-space: nowrap; transition: color .15s, border-color .15s;
}
.ca-chip:hover { color: var(--ink); border-color: var(--muted); }

.ca-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); }
.ca-form input {
  flex: 1; min-width: 0; font: inherit; font-size: 14px; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: 10px 14px;
}
.ca-form input:focus { border-color: var(--accent); outline: none; }
.ca-send {
  flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%;
  background: var(--accent); color: var(--accent-ink); border: none; font-size: 15px;
}
.ca-foot { font-size: 10.5px; color: var(--muted); text-align: center; padding: 0 14px 11px; }

@media (max-width: 560px) {
  .ca-launch { right: 14px; bottom: 14px; padding: 12px 17px; font-size: 14px; }
  .ca-panel { right: 8px; left: 8px; bottom: 74px; width: auto; max-height: calc(100dvh - 100px); }
}

/* ---------- Age gate ---------- */

.agegate {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(12, 16, 18, 0.72);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
}
.agegate[hidden] { display: none; }
.agegate-panel {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: 0 24px 60px rgba(0,0,0,.28);
  width: min(460px, 100%); padding: 34px 32px 28px; text-align: center;
  max-height: calc(100vh - 48px); overflow-y: auto;
  animation: gate-in .35s cubic-bezier(.16,1,.3,1) both;
}
@keyframes gate-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
.agegate-panel img { width: 46px; height: 46px; border-radius: 50%; margin: 0 auto 16px; background: #fff; object-fit: cover; }
.agegate-eyebrow {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 8px;
}
.agegate-panel h2 { font-size: 24px; letter-spacing: -0.026em; margin-bottom: 8px; }
.agegate-panel p { color: var(--muted); font-size: 14.5px; margin-bottom: 20px; }
.agegate-field-label {
  font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--muted); text-align: left; margin-bottom: 7px;
}
.agegate-check {
  display: flex; align-items: flex-start; gap: 11px; text-align: left;
  border: 1px solid var(--line); border-radius: 10px;
  padding: 14px 16px; margin-bottom: 16px; cursor: pointer;
  transition: border-color .15s, background .15s;
}
.agegate-check:hover { border-color: var(--muted); }
.agegate-check.ticked { border-color: var(--accent); background: var(--accent-soft); }
.agegate-check input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--accent); flex: 0 0 auto; }
.agegate-check span { font-size: 13px; line-height: 1.5; color: var(--muted); }
.agegate-check a { color: var(--accent); text-decoration: underline; }
.agegate-actions { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 10px; }
.agegate-actions .btn { width: 100%; justify-content: center; white-space: nowrap; padding-left: 14px; padding-right: 14px; }

@media (max-width: 560px) {
  /* stack the actions so "Confirm & enter" can never clip on a phone */
  .agegate { padding: 16px; align-items: flex-start; }
  .agegate-panel { padding: 26px 20px 22px; max-height: calc(100dvh - 32px); }
  .agegate-actions { grid-template-columns: 1fr; }
  .agegate-actions .btn { padding-left: 26px; padding-right: 26px; }
  .agegate-actions #agegate-leave { order: 2; }
  .agegate-check span { font-size: 12.5px; }
  .agegate-panel p { font-size: 14px; }
}
.agegate-dob { display: grid; grid-template-columns: 1.4fr 0.8fr 1fr; gap: 10px; margin-bottom: 16px; text-align: left; }
.agegate-dob label { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.agegate-dob label span { font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.agegate-dob select {
  width: 100%; font: inherit; font-size: 15px; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 9px; padding: 11px 10px; cursor: pointer;
  transition: border-color .15s;
}
.agegate-dob select:hover { border-color: var(--muted); }
.agegate-dob select:focus { border-color: var(--accent); outline: none; }
.agegate-error {
  color: var(--danger); font-size: 13.5px; font-weight: 600;
  margin: -4px 0 14px; text-align: left;
}
.agegate-error[hidden] { display: none; }
.agegate .btn[disabled] { opacity: .45; pointer-events: none; }
.agegate-leave {
  display: inline-block; margin-top: 14px; font-size: 13px;
  color: var(--muted); text-decoration: underline; background: none; border: none;
}
.agegate-leave:hover { color: var(--ink); }
.agegate-legal { font-size: 11.5px; color: var(--muted); margin-top: 16px; line-height: 1.5; }
/* keep the page from scrolling behind the gate */
body.gate-open { overflow: hidden; }

/* ---------- Reveal + toast ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s cubic-bezier(.16,1,.3,1), transform .55s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }

.toast {
  position: fixed; bottom: 26px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: var(--bg); border-radius: 999px;
  padding: 11px 22px; font-size: 14px; font-weight: 600;
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 90;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero h1, .hero p.lede, .hero .cta-row, .vial-label { animation: none; }
  .vial-label img { animation: none; }
  .marquee-track { animation: none; }
  .drawer, .drawer-overlay { transition: none; }
  .prod-card, .cat-card, .btn, .add-btn, .tile.media img, .tile .t-card, .promo-art img { transition: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-grid, .band-grid, .detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .related .prod-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  /* keep .wrap's 24px side padding — a 3-value shorthand would zero it and
     push the logo and nav flush against the screen edge */
  .topbar-in { height: auto; padding: 12px 24px 10px; flex-wrap: wrap; gap: 8px 16px; }
  .brand { order: 1; }
  .topbar-in > a.cart-link, .topbar-in > a:last-child { order: 2; margin-left: auto; }
  .nav-links { order: 3; width: 100%; margin-left: 0; gap: 18px; font-size: 13.5px; }
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .cat-card:nth-child(n) { grid-column: span 1; }
  .cart-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .hero { padding: 44px 0 56px; }
  section { padding: 44px 0; }
}
@media (max-width: 560px) {
  /* reclaim panel padding so the three vials read at a usable size on phones */
  .hero-art { padding: 16px 10px 0; gap: 6px; }
  .hero { padding: 32px 0 44px; }
  .hero p.lede { font-size: 16.5px; margin-bottom: 22px; }
  .cta-row .btn { flex: 1 1 auto; justify-content: center; }

  /* only now does the band stack: product on top, copy beneath, both centred */
  .promo { grid-template-columns: 1fr; }
  .promo-art { order: -1; padding: 24px 24px 0; }
  .promo-art img { width: 168px; }
  .promo-copy { padding: 20px 24px 28px; text-align: center; }
  .promo-copy p { margin-left: auto; margin-right: auto; }
}
@media (max-width: 480px) {
  /* two columns on phones, the way a real storefront grid scans */
  .prod-grid, .related .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .prod-body { padding: 12px 12px 14px; gap: 4px; }
  .prod-body h3 { font-size: 14.5px; }
  .prod-body .p-cat { font-size: 11px; }
  .prod-body .p-blurb { font-size: 12px; -webkit-line-clamp: 2; }
  .prod-line { flex-direction: column; align-items: flex-start; gap: 8px; }
  .add-btn { width: 100%; text-align: center; }
  .cat-grid { grid-template-columns: 1fr; }
  .vial-label { width: 190px; }
  .vial-label:nth-child(2) { left: 42%; }
}

/* ---------- Order tracking ---------- */

.tr-steps { list-style: none; display: flex; flex-direction: column; gap: 0; margin: 4px 0 0; }
.tr-steps li { display: flex; align-items: center; gap: 14px; padding: 14px 0; position: relative; }
.tr-steps li + li::before {
  content: ""; position: absolute; left: 8px; top: -14px; height: 28px;
  width: 2px; background: var(--line);
}
.tr-steps li.done + li::before, .tr-steps li.current::before { background: var(--accent); }
.tr-dot {
  width: 18px; height: 18px; border-radius: 50%; flex: 0 0 auto;
  border: 2px solid var(--line); background: var(--surface); z-index: 1;
}
.tr-steps li.done .tr-dot { background: var(--accent); border-color: var(--accent); }
.tr-steps li.current .tr-dot { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.tr-label { font-size: 14.5px; color: var(--muted); }
.tr-steps li.done .tr-label, .tr-steps li.current .tr-label { color: var(--ink); font-weight: 600; }

/* ---------- Order desk ---------- */

.adm-wrap { padding: 20px 0 80px; }
.adm-stats {
  display: flex; flex-wrap: wrap; gap: 16px 34px; align-items: center;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 24px; margin-bottom: 22px;
}
.adm-stats dt { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.adm-stats dd { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.adm-stats .btn { margin-left: auto; }

.adm-list { display: flex; flex-direction: column; gap: 14px; }
.adm-order { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.adm-order > header { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.adm-order header strong { font-family: var(--font-mono); font-size: 15px; }
.adm-status {
  display: inline-block; margin-left: 10px; font-size: 11px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; border-radius: 999px; padding: 4px 10px;
}
.adm-reserved { background: #ece9f5; color: #5a4fa8; }
.adm-pending_verification { background: #fdf0d5; color: #8a5b00; }
.adm-awaiting_payment { background: #fdf0d5; color: #8a5b00; }
.adm-paid { background: var(--accent-soft); color: var(--accent); }
.adm-shipped { background: #e2f4ea; color: #1c7f4b; }
.adm-cancelled { background: #f7e3e1; color: var(--danger); }
.adm-member { margin-left: 8px; font-size: 11px; color: var(--accent); font-weight: 600; }
.adm-total strong { font-family: var(--font-mono); font-size: 17px; }
.adm-strike { text-decoration: line-through; color: var(--muted); font-size: 13px; margin-right: 8px; }

.adm-body { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.adm-body h4 { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.adm-body p { font-size: 14px; line-height: 1.55; }
.adm-items { list-style: none; display: flex; flex-direction: column; gap: 5px; }
.adm-items li { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.adm-items em { font-style: normal; font-family: var(--font-mono); color: var(--muted); }
.adm-meta { color: var(--muted); font-size: 13px; margin-top: 8px; }
.adm-meta a { color: var(--accent); }
.adm-note { margin-top: 8px; font-size: 13px; color: var(--muted); font-style: italic; }

.adm-news-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: start; }
.adm-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.adm-card > header { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 8px; }
.adm-card p { font-size: 14px; line-height: 1.5; margin-top: 4px; }
.adm-card-actions { display: flex; gap: 8px; margin-top: 12px; }
@media (max-width: 980px) { .adm-news-grid { grid-template-columns: 1fr; } }

.adm-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 16px; }
.adm-actions select, .adm-actions input {
  font: inherit; font-size: 14px; color: var(--ink); background: var(--bg);
  border: 1px solid var(--line); border-radius: 9px; padding: 10px 12px; min-width: 0;
}
.adm-actions input { flex: 1 1 140px; }
.adm-actions .btn { padding: 10px 22px; }
.adm-hint { font-size: 12px; color: var(--muted); margin-top: 10px; }

@media (max-width: 700px) {
  .adm-body { grid-template-columns: 1fr; gap: 16px; }
  .adm-actions { flex-direction: column; align-items: stretch; }
  .adm-actions .btn { width: 100%; justify-content: center; }
}

/* ---------- Order desk: tabs, filters, chat ---------- */

.adm-tabs { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
.adm-tab {
  border: 1px solid var(--line); background: var(--surface); color: var(--muted);
  border-radius: 999px; padding: 10px 20px; font-size: 14px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 8px; transition: all .15s;
}
.adm-tab:hover { color: var(--ink); }
.adm-tab.active { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.adm-tabs .btn { padding: 10px 18px; font-size: 14px; }
.adm-tabs .adm-export { margin-left: auto; }
.adm-badge {
  background: var(--danger); color: #fff; border-radius: 999px;
  font-size: 11px; font-weight: 700; min-width: 18px; height: 18px;
  display: inline-flex; align-items: center; justify-content: center; padding: 0 5px;
}
.adm-live-dot {
  background: #1c7f4b; color: #fff; border-radius: 999px;
  font-size: 11px; font-weight: 700; min-width: 18px; height: 18px;
  display: inline-flex; align-items: center; justify-content: center; padding: 0 5px;
  animation: adm-pulse 1.6s ease-in-out infinite;
}
@keyframes adm-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .55; } }

.adm-filters { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.adm-search {
  flex: 1 1 280px; font: inherit; font-size: 14.5px; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 999px; padding: 11px 18px;
}
.adm-search:focus { border-color: var(--accent); outline: none; }
.adm-filters select {
  font: inherit; font-size: 14px; color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: 999px; padding: 11px 16px;
}
.adm-copy { background: none; border: none; color: var(--accent); font-size: inherit; padding: 0; text-decoration: underline; }

.adm-chat { display: grid; grid-template-columns: 300px 1fr; gap: 16px; align-items: start; }
.adm-threads {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; max-height: 620px; overflow-y: auto;
}
.adm-thread {
  width: 100%; text-align: left; background: none; border: none;
  border-bottom: 1px solid var(--line); padding: 14px 16px;
  display: flex; flex-direction: column; gap: 4px; transition: background .15s;
}
.adm-thread:hover { background: var(--bg); }
.adm-thread.active { background: var(--accent-soft); }
.adm-thread-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 14px; }
.adm-thread-prev { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.adm-thread-meta { font-size: 11px; color: var(--muted); }

.adm-convo {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; flex-direction: column; min-height: 420px; max-height: 620px;
}
.adm-convo-head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px 18px; border-bottom: 1px solid var(--line); flex-wrap: wrap;
}
.adm-convo-head a { color: var(--accent); font-size: 13px; display: block; }
.adm-convo-head .btn { padding: 8px 16px; font-size: 13px; }
.adm-convo-log { flex: 1; overflow-y: auto; padding: 16px 18px; display: flex; flex-direction: column; gap: 12px; }
.adm-msg-time { font-size: 10.5px; color: var(--muted); }
.adm-reply { display: flex; gap: 10px; padding: 12px 14px; border-top: 1px solid var(--line); }
.adm-reply input {
  flex: 1; font: inherit; font-size: 14.5px; color: var(--ink);
  background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 12px 16px;
}
.adm-reply input:focus { border-color: var(--accent); outline: none; }

@media (max-width: 860px) {
  .adm-chat { grid-template-columns: 1fr; }
  .adm-threads { max-height: 260px; }
  .adm-tabs .adm-export { margin-left: 0; }
}

/* visitor-side live chat additions */
.ca-human-row { display: flex; }
.ca-human {
  border: 1px solid var(--accent); background: var(--surface); color: var(--accent);
  border-radius: 999px; padding: 8px 16px; font-size: 13px; font-weight: 600;
  transition: background .15s, color .15s;
}
.ca-human:hover { background: var(--accent); color: var(--accent-ink); }
.ca-lead { display: flex; gap: 8px; }
.ca-lead input {
  flex: 1; min-width: 0; font: inherit; font-size: 13px; color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px;
}
.ca-lead input:focus { border-color: var(--accent); outline: none; }

/* ---------- Member purchase history ---------- */

.acct-history { grid-column: 1 / -1; }
.acct-hstats {
  display: flex; flex-wrap: wrap; gap: 14px 40px;
  padding-bottom: 20px; margin-bottom: 4px; border-bottom: 1px solid var(--line);
}
.acct-hstats dt { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.acct-hstats dd {
  font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted); margin-top: 2px;
}
.acct-orders { display: flex; flex-direction: column; }
.acct-order { padding: 20px 0; border-bottom: 1px solid var(--line); }
.acct-order:last-child { border-bottom: none; padding-bottom: 4px; }
.acct-order > header { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.acct-order header strong { font-family: var(--font-mono); font-size: 14.5px; }
.acct-order-total { font-family: var(--font-mono); font-weight: 700; font-size: 16px; }
.acct-track {
  margin-top: 10px; font-size: 13px; color: var(--muted);
  background: var(--bg); border-radius: 9px; padding: 10px 12px;
}
.acct-track strong { color: var(--ink); }
.acct-due { background: var(--accent-soft); color: var(--accent); }
.acct-due strong { color: var(--accent); font-family: var(--font-mono); }

/* ---------- Accessibility helpers ---------- */

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--ink); color: var(--bg);
  padding: 12px 20px; border-radius: 0 0 10px 0; font-weight: 600; font-size: 14px;
}
.skip-link:focus { left: 0; }

.crumbs { padding: 22px 0 0; font-size: 13.5px; color: var(--muted); display: flex; gap: 7px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); }

/* announce cart changes to screen readers without a visual change */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.verify-box {
  margin-top: 34px; max-width: 68ch;
  background: var(--surface); border: 1px solid var(--line);
  border-left: 3px solid var(--accent); border-radius: 12px; padding: 26px 28px;
}
.verify-box h2 { font-size: 19px; letter-spacing: -0.015em; margin-bottom: 8px; }
.verify-box > p { color: var(--muted); font-size: 14.5px; margin-bottom: 14px; }
.verify-box a { color: var(--accent); text-decoration: underline; }

/* ---------- Strength picker ---------- */

.variant-picker { margin: 20px 0 6px; }
.variant-label { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.variant-label strong { color: var(--ink); }
.variant-opts { display: flex; flex-wrap: wrap; gap: 9px; }
.variant-opt {
  border: 1.5px solid var(--line); background: var(--surface); color: var(--ink);
  border-radius: 10px; padding: 11px 20px; font-size: 14.5px; font-weight: 600;
  min-width: 72px; transition: border-color .15s, background .15s, color .15s;
}
.variant-opt:hover { border-color: var(--muted); }
.variant-opt.active { border-color: var(--accent); background: var(--accent); color: var(--accent-ink); }

.prose-meta { font-size: 12.5px; color: var(--muted); margin-bottom: 8px; }
.prose h2:first-of-type { margin-top: 22px; }
.prose a { color: var(--accent); text-decoration: underline; }

/* the shared tile padding is far too large at thumbnail size */
.cart-thumb .tile.media img { padding: 3px; }
.ca-prod .tile.media img { padding: 2px; }
