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

/* 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;
}
.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 {
  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;
}
.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; }

.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; }
.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-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-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-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-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; }
