/* ============================================================
   OBSIDIAN PEPTIDE CO. — Design System
   Dark, lab-precise, one acid-lime accent on obsidian black.
   Fonts: Bricolage Grotesque (display) / Hanken Grotesk (body) / IBM Plex Mono (data)
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Graphite monochrome — neutral, faint cool steel tint only */
  --bg:        oklch(0.155 0.003 250);
  --bg-1:      oklch(0.185 0.004 250);
  --bg-2:      oklch(0.22 0.004 250);
  --bg-3:      oklch(0.27 0.005 250);
  --ink:       oklch(0.97 0.002 250);
  --muted:     oklch(0.73 0.005 250);
  --faint:     oklch(0.55 0.006 250);
  --line:      oklch(0.31 0.005 250);
  --line-soft: oklch(0.25 0.005 250);

  /* Restrained metallic accent — platinum/silver, never neon */
  --accent:     oklch(0.86 0.012 245);
  --accent-dim: oklch(0.68 0.012 245);
  --accent-glow: oklch(0.9 0.01 245 / 0.10);
  --accent-ink: oklch(0.16 0.003 250);

  /* Trustpilot brand green — used only inside review/trust elements */
  --tp-green: #00b67a;
  --star: #ffce00;

  --danger: oklch(0.68 0.16 25);

  --font-display: "Bricolage Grotesque", Georgia, serif;
  --font-body: "Hanken Grotesk", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", monospace;

  --maxw: 1240px;
  --pad: clamp(1.15rem, 4vw, 3rem);
  --radius: 5px;
  --radius-lg: 10px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 24px 60px -28px oklch(0 0 0 / 0.8);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
}

/* Atmospheric layer: a single soft top glow, very restrained */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: -2;
  background-image: radial-gradient(120% 60% at 50% -20%, oklch(0.26 0.006 250), transparent 70%);
  pointer-events: none;
}
body::after {
  content: "";
  position: fixed; inset: 0; z-index: -1; opacity: 0.02;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--accent); color: var(--accent-ink); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.04; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.6rem, 7vw, 5.6rem); }
h2 { font-size: clamp(1.9rem, 4.4vw, 3.3rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.85rem); letter-spacing: -0.015em; }
p { color: var(--muted); }
strong { color: var(--ink); font-weight: 600; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 0.6rem;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--accent); display: inline-block; }
.accent { color: var(--accent); }
.mono { font-family: var(--font-mono); }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(4.5rem, 10vw, 8rem); position: relative; }
.section--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.section-head { max-width: 60ch; margin-bottom: 3rem; }
.section-head h2 { margin-top: 0.9rem; }
.section-head p { margin-top: 1rem; font-size: 1.12rem; }
.lede { font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.5; color: var(--ink); font-weight: 400; }

.divider { height: 1px; background: var(--line-soft); border: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-mono); font-size: 0.82rem; letter-spacing: 0.06em;
  text-transform: uppercase; font-weight: 500;
  padding: 0.92em 1.5em; border-radius: var(--radius);
  border: 1px solid transparent; transition: all 0.3s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 1.1em; height: 1.1em; fill: currentColor; }
.btn .arr { transition: transform 0.3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn--primary { background: var(--ink); color: var(--bg); }
.btn--primary:hover { background: var(--accent); transform: translateY(-1px); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); background: oklch(1 0 0 / 0.04); }
.btn--block { width: 100%; justify-content: center; }
.btn--sm { padding: 0.7em 1.1em; font-size: 0.74rem; }

/* ---------- Tags / pills ---------- */
.tag {
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--faint);
  border: 1px solid var(--line); border-radius: 3px;
  padding: 0.35em 0.7em; display: inline-block;
}
.tag--accent { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.tag--live { color: var(--accent); border-color: color-mix(in oklch, var(--accent) 40%, var(--line)); }
.tag--live::before { content: "●"; margin-right: 0.4em; font-size: 0.7em; vertical-align: middle; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 80; overflow: visible;
  background: oklch(0.165 0.012 162 / 0.72);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--line-soft);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 80px; overflow: visible; }
.brand { display: flex; align-items: center; gap: 0.7rem; font-family: var(--font-display); font-weight: 700; font-size: 1.18rem; letter-spacing: -0.02em; overflow: visible; }
.brand .mark { height: 180px; width: auto; flex: none; }
.brand small { font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: 0.24em; color: var(--faint); display: block; text-transform: uppercase; margin-top: 2px; }
.nav-links { display: flex; align-items: center; gap: 0.4rem; }
.nav-links a {
  font-family: var(--font-mono); font-size: 0.88rem; letter-spacing: 0.04em;
  color: var(--muted); padding: 0.55rem 0.9rem; border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover { color: var(--ink); background: var(--bg-2); }
.nav-links a.active { color: var(--accent); }
.nav-right { display: flex; align-items: center; gap: 0.6rem; }

.cart-btn {
  position: relative; background: var(--bg-2); border: 1px solid var(--line);
  color: var(--ink); width: 42px; height: 42px; border-radius: var(--radius);
  display: grid; place-items: center; transition: border-color 0.2s, color 0.2s;
}
.cart-btn:hover { border-color: var(--accent); color: var(--accent); }
.cart-count {
  position: absolute; top: -7px; right: -7px; min-width: 19px; height: 19px;
  background: var(--accent); color: var(--accent-ink); border-radius: 100px;
  font-family: var(--font-mono); font-size: 0.66rem; font-weight: 600;
  display: grid; place-items: center; padding: 0 5px;
  transform: scale(0); transition: transform 0.25s var(--ease);
}
.cart-count.show { transform: scale(1); }

.menu-toggle { display: none; background: var(--bg-2); border: 1px solid var(--line); color: var(--ink); width: 42px; height: 42px; border-radius: var(--radius); }

@media (max-width: 900px) {
  .menu-toggle { display: grid; place-items: center; }
  .nav-links {
    position: fixed; inset: 72px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-1); border-bottom: 1px solid var(--line);
    padding: 0.6rem var(--pad) 1.2rem;
    transform: translateY(-130%); transition: transform 0.4s var(--ease);
    box-shadow: var(--shadow);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 0.9rem 0.5rem; font-size: 0.95rem; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding-block: clamp(3rem, 8vw, 6.5rem) clamp(4rem, 9vw, 7rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero h1 { margin: 1.4rem 0; }
.hero h1 .ln { display: block; overflow: hidden; }
.hero-lede { max-width: 46ch; font-size: clamp(1.1rem, 1.7vw, 1.35rem); color: var(--ink); }
.hero-cta { display: flex; gap: 0.8rem; margin-top: 2.2rem; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 2.4rem; margin-top: 3rem; flex-wrap: wrap; }
.hero-stat .num { font-family: var(--font-display); font-size: 2rem; font-weight: 700; }
.hero-stat .lbl { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }

.molecule-stage { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.molecule-stage svg { width: 100%; height: 100%; overflow: visible; }
.molecule-stage::before {
  content: ""; position: absolute; inset: 12%;
  background: radial-gradient(circle, var(--accent-glow), transparent 65%);
  filter: blur(20px);
}
.mol-rotate { animation: molSpin 36s linear infinite; transform-origin: center; }
@keyframes molSpin { to { transform: rotate(360deg); } }
.mol-atom { fill: var(--bg-3); stroke: var(--line); stroke-width: 1.2; }
.mol-atom--accent { fill: var(--accent); stroke: none; filter: drop-shadow(0 0 8px var(--accent-glow)); }
.mol-bond { stroke: var(--line); stroke-width: 1.4; }
.mol-bond--accent { stroke: var(--accent-dim); stroke-width: 1.8; stroke-dasharray: 4 4; animation: dash 3s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -16; } }
.mol-pulse { animation: atomPulse 4s var(--ease) infinite; transform-origin: center; transform-box: fill-box; }
@keyframes atomPulse { 0%,100% { opacity: 0.55; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .mol-rotate, .mol-bond--accent, .mol-pulse { animation: none; } }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .molecule-stage { max-width: 380px; margin-inline: auto; order: -1; }
}

/* ---------- Marquee strip ---------- */
.marquee { border-block: 1px solid var(--line-soft); overflow: hidden; padding-block: 1rem; background: var(--bg-1); }
.marquee-track { display: flex; gap: 3rem; white-space: nowrap; width: max-content; animation: scrollX 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--font-mono); font-size: 0.82rem; letter-spacing: 0.1em; color: var(--faint); text-transform: uppercase; display: inline-flex; align-items: center; gap: 3rem; }
.marquee-track span::after { content: "✦"; color: var(--accent); }
@keyframes scrollX { to { transform: translateX(-50%); } }

/* ============================================================
   FEATURE / VALUE GRID
   ============================================================ */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); overflow: hidden; }
.feat {
  background: var(--bg); padding: clamp(1.6rem, 3vw, 2.4rem);
  transition: background 0.3s;
}
.feat:hover { background: var(--bg-1); }
.feat .idx { font-family: var(--font-mono); font-size: 0.72rem; color: var(--accent); letter-spacing: 0.1em; }
.feat h3 { margin: 1.4rem 0 0.7rem; }
.feat p { font-size: 0.98rem; }
.feat .ico { width: 30px; height: 30px; color: var(--accent); margin-bottom: 0.2rem; }
@media (max-width: 760px) { .feat-grid { grid-template-columns: 1fr; } }

/* Split feature blocks */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4.5rem); align-items: center; }
.split--rev .split-media { order: 2; }
.split-media {
  aspect-ratio: 4/3; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--bg-2), var(--bg)); position: relative; overflow: hidden;
  display: grid; place-items: center;
}
.split-media .label { position: absolute; bottom: 1rem; left: 1rem; }
.split-body h2 { margin-bottom: 1.2rem; }
.split-body p + p { margin-top: 1rem; }
@media (max-width: 800px) { .split { grid-template-columns: 1fr; } .split--rev .split-media { order: 0; } }

/* Product showcase — real photography on a light studio stage */
.showcase { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.showcase-stage {
  position: relative; aspect-ratio: 5/4; border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  background: radial-gradient(120% 90% at 50% 24%, #fbfcfd 0%, #eceef0 46%, #d6dadd 100%);
  display: grid; place-items: center; overflow: hidden;
}
.showcase-stage::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 -50px 60px -34px rgba(0,0,0,0.2); pointer-events: none; }
.showcase-stage img {
  width: 86%; height: 86%; object-fit: contain; mix-blend-mode: multiply;
  filter: drop-shadow(0 22px 28px rgba(20,24,28,0.26)); position: relative; z-index: 1;
  transition: transform 0.5s var(--ease);
}
.showcase-stage:hover img { transform: scale(1.025); }
.showcase-stage .label { position: absolute; bottom: 1rem; left: 1rem; z-index: 2; background: rgba(15,17,20,0.9); color: #fff; }
.showcase-body h2 { margin-bottom: 1.2rem; }
.showcase-list { list-style: none; margin: 1.4rem 0 1.8rem; padding: 0; display: grid; gap: 0.7rem; }
.showcase-list li { display: flex; align-items: flex-start; gap: 0.7rem; color: var(--muted); font-size: 1rem; }
.showcase-list li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230d0e10' stroke-width='3'%3E%3Cpath d='m5 13 4 4 10-10'/%3E%3C/svg%3E") center/12px no-repeat;
}
@media (max-width: 800px) { .showcase { grid-template-columns: 1fr; } .showcase-stage { order: -1; max-width: 460px; margin-inline: auto; } }

/* ============================================================
   PRODUCT CATALOG
   ============================================================ */
.catalog-toolbar { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; margin-bottom: 2.5rem; }
.search-box { position: relative; flex: 1; min-width: 220px; }
.search-box input {
  width: 100%; background: var(--bg-1); border: 1px solid var(--line);
  color: var(--ink); padding: 0.85rem 1rem 0.85rem 2.6rem; border-radius: var(--radius);
  font-family: var(--font-mono); font-size: 0.85rem;
}
.search-box input:focus { outline: none; border-color: var(--accent); }
.search-box svg { position: absolute; left: 0.85rem; top: 50%; transform: translateY(-50%); width: 16px; color: var(--faint); }
.filters { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 3rem; }
.chip {
  font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.05em;
  background: var(--bg-1); border: 1px solid var(--line); color: var(--muted);
  padding: 0.5rem 0.9rem; border-radius: 3px; transition: all 0.2s; text-transform: uppercase;
}
.chip:hover { color: var(--ink); border-color: var(--faint); }
.chip.active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1.4rem; }
.card {
  background: var(--bg-1); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column; position: relative;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.card:hover { border-color: var(--accent); transform: translateY(-4px); }
.card-vis {
  aspect-ratio: 5/4; position: relative; display: grid; place-items: center;
  background:
    radial-gradient(120% 90% at 50% 22%, #fbfcfd 0%, #eceef0 45%, #d6dadd 100%);
  border-bottom: 1px solid var(--line-soft); overflow: hidden;
}
.card-vis::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 -40px 50px -30px rgba(0,0,0,0.18); pointer-events: none; }
.card-vis .vial, .card-vis .vial-img { height: 80%; width: auto; max-width: 80%; object-fit: contain; filter: drop-shadow(0 18px 22px rgba(20,24,28,0.28)); transition: transform 0.45s var(--ease); position: relative; z-index: 1; }
.card:hover .vial, .card:hover .vial-img { transform: translateY(-7px) scale(1.02); }
.card-vis .cat-label {
  position: absolute; top: 0.85rem; left: 0.85rem; z-index: 2; border-radius: 3px;
  font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: #fff; background: rgba(15,17,20,0.88);
  padding: 0.4rem 0.6rem;
}
.card-body { padding: 1.3rem; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 1.3rem; }
.card-body .sub { font-family: var(--font-mono); font-size: 0.7rem; color: var(--faint); letter-spacing: 0.06em; margin-top: 0.3rem; text-transform: uppercase; }
.card-body .desc { font-size: 0.9rem; margin-top: 1rem; color: var(--muted); flex: 1; }
.spec-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin-top: 0.95rem; padding-top: 0.95rem; border-top: 1px solid var(--line-soft); }
.spec-strip span { display: flex; flex-direction: column; gap: 0.2rem; font-family: var(--font-mono); font-size: 0.82rem; color: var(--ink); min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.spec-strip i { font-style: normal; font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 1.2rem; padding-top: 1.1rem; border-top: 1px solid var(--line-soft); }
.price { font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; }
.price small { font-family: var(--font-mono); font-size: 0.68rem; color: var(--faint); font-weight: 400; display: block; text-transform: uppercase; letter-spacing: 0.08em; }
.no-results { text-align: center; padding: 4rem 1rem; color: var(--faint); font-family: var(--font-mono); grid-column: 1/-1; }

/* ============================================================
   PRODUCT DETAIL
   ============================================================ */
.crumbs { font-family: var(--font-mono); font-size: 0.74rem; color: var(--faint); margin-bottom: 2rem; letter-spacing: 0.04em; }
.crumbs a:hover { color: var(--accent); }
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.pdp-media {
  position: sticky; top: 96px; aspect-ratio: 4/5; border: 1px solid var(--line); border-radius: var(--radius-lg);
  background: radial-gradient(120% 90% at 50% 26%, #fbfcfd 0%, #eceef0 48%, #d4d8db 100%);
  display: grid; place-items: center; overflow: hidden;
}
.pdp-media::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 -60px 70px -40px rgba(0,0,0,0.2); pointer-events: none; }
.pdp-media .vial, .pdp-media .vial-img { height: 76%; width: auto; max-width: 80%; object-fit: contain; filter: drop-shadow(0 26px 34px rgba(20,24,28,0.32)); animation: float 6s var(--ease) infinite; position: relative; z-index: 1; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.pdp-info h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); margin: 0.8rem 0 0.4rem; }
.pdp-info .sub { font-family: var(--font-mono); color: var(--accent); letter-spacing: 0.06em; font-size: 0.82rem; }
.pdp-info .blurb { margin: 1.4rem 0; font-size: 1.08rem; color: var(--ink); }
.specs { border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; margin: 1.8rem 0; }
.specs div { display: flex; justify-content: space-between; padding: 0.8rem 1.1rem; font-family: var(--font-mono); font-size: 0.82rem; border-bottom: 1px solid var(--line-soft); }
.specs div:last-child { border-bottom: 0; }
.specs div:nth-child(odd) { background: var(--bg-1); }
.specs dt, .specs span:first-child { color: var(--faint); letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.72rem; }
.specs span:last-child { color: var(--ink); text-align: right; }

.buy-box { background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.5rem; margin-top: 1.5rem; }
.buy-box .price-row { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 1.2rem; }
.buy-box .price-row .price { font-size: 2.2rem; }
.size-opts { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.size-opt {
  flex: 1; min-width: 80px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0.7rem; text-align: center; transition: all 0.2s; font-family: var(--font-mono);
}
.size-opt:hover { border-color: var(--faint); }
.size-opt.active { border-color: var(--accent); background: color-mix(in oklch, var(--accent) 12%, var(--bg-2)); }
.size-opt .s { font-size: 0.92rem; color: var(--ink); }
.size-opt .p { font-size: 0.72rem; color: var(--faint); margin-top: 0.2rem; }
.qty-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
.qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.qty button { background: var(--bg-2); border: 0; color: var(--ink); width: 40px; height: 40px; font-size: 1.1rem; }
.qty button:hover { color: var(--accent); }
.qty input { width: 48px; height: 40px; text-align: center; background: var(--bg-1); border: 0; color: var(--ink); font-family: var(--font-mono); }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }

.tabs { display: flex; gap: 0.3rem; border-bottom: 1px solid var(--line); margin-top: 3.5rem; flex-wrap: wrap; }
.tab { font-family: var(--font-mono); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--faint); padding: 0.8rem 1.1rem; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab.active { color: var(--accent); border-color: var(--accent); }
.tab-panel { display: none; padding: 2rem 0; max-width: 70ch; }
.tab-panel.active { display: block; animation: fade 0.4s var(--ease); }
.tab-panel p + p { margin-top: 1rem; }
.tab-panel ul { margin: 1rem 0; padding-left: 1.2rem; color: var(--muted); }
.tab-panel li { margin: 0.4rem 0; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }

@media (max-width: 800px) { .pdp { grid-template-columns: 1fr; } .pdp-media { position: relative; top: 0; max-width: 380px; margin-inline: auto; aspect-ratio: 4/4; } }

/* ============================================================
   CART DRAWER
   ============================================================ */
.scrim { position: fixed; inset: 0; background: oklch(0 0 0 / 0.6); backdrop-filter: blur(2px); z-index: 90; opacity: 0; visibility: hidden; transition: opacity 0.35s, visibility 0.35s; }
.scrim.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 92vw); z-index: 100;
  background: var(--bg-1); border-left: 1px solid var(--line); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.4s var(--ease); box-shadow: var(--shadow);
}
.drawer.open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1.3rem var(--pad); border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 1.25rem; }
.drawer-close { background: none; border: 0; color: var(--muted); font-size: 1.4rem; line-height: 1; }
.drawer-close:hover { color: var(--accent); }
.drawer-body { flex: 1; overflow-y: auto; padding: 1rem var(--pad); }
.cart-empty { text-align: center; color: var(--faint); font-family: var(--font-mono); font-size: 0.85rem; padding: 3rem 1rem; }
.cart-item { display: grid; grid-template-columns: 56px 1fr auto; gap: 0.9rem; padding: 1rem 0; border-bottom: 1px solid var(--line-soft); }
.cart-item .ci-vis { width: 56px; height: 56px; border-radius: var(--radius); background: radial-gradient(circle at 50% 30%, #fbfcfd, #d9dde0); display: grid; place-items: center; border: 1px solid var(--line-soft); overflow: hidden; }
.cart-item .ci-vis svg { width: 30px; }
.cart-item h4 { font-family: var(--font-display); font-size: 1.02rem; }
.cart-item .ci-sub { font-family: var(--font-mono); font-size: 0.7rem; color: var(--faint); margin-top: 0.15rem; }
.cart-item .ci-ctrl { display: flex; align-items: center; gap: 0.5rem; margin-top: 0.5rem; font-family: var(--font-mono); font-size: 0.8rem; }
.cart-item .ci-ctrl button { background: var(--bg-3); border: 1px solid var(--line); color: var(--ink); width: 24px; height: 24px; border-radius: 4px; }
.cart-item .ci-right { text-align: right; }
.cart-item .ci-price { font-family: var(--font-mono); font-size: 0.9rem; color: var(--ink); }
.cart-item .ci-remove { background: none; border: 0; color: var(--faint); font-size: 0.7rem; font-family: var(--font-mono); text-transform: uppercase; margin-top: 0.5rem; }
.cart-item .ci-remove:hover { color: var(--danger); }
.drawer-foot { padding: 1.3rem var(--pad); border-top: 1px solid var(--line); }
.drawer-foot .row { display: flex; justify-content: space-between; font-family: var(--font-mono); margin-bottom: 0.5rem; font-size: 0.85rem; color: var(--muted); }
.drawer-foot .row.total { color: var(--ink); font-size: 1.05rem; margin-bottom: 1.1rem; }
.drawer-foot .row.total b { font-family: var(--font-display); font-size: 1.4rem; }
.drawer-note { font-size: 0.68rem; color: var(--faint); margin-top: 0.9rem; text-align: center; line-height: 1.4; }

/* ============================================================
   FORMS
   ============================================================ */
.field { margin-bottom: 1.3rem; }
.field label { display: block; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); margin-bottom: 0.5rem; }
.field input, .field textarea, .field select {
  width: 100%; background: var(--bg-1); border: 1px solid var(--line); color: var(--ink);
  padding: 0.85rem 1rem; border-radius: var(--radius); font-family: var(--font-body); font-size: 1rem;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); }
.check { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.9rem; color: var(--muted); }
.check input { width: 18px; height: 18px; margin-top: 0.2rem; accent-color: var(--accent); flex: none; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.3rem; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
.form-note { background: var(--bg-1); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: var(--radius); padding: 1rem 1.2rem; font-size: 0.88rem; color: var(--muted); margin: 1.5rem 0; }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.acc { border-top: 1px solid var(--line-soft); }
.acc-item { border-bottom: 1px solid var(--line-soft); }
.acc-q { width: 100%; background: none; border: 0; color: var(--ink); text-align: left; display: flex; justify-content: space-between; gap: 1rem; align-items: center; padding: 1.4rem 0; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.acc-q .pm { font-family: var(--font-mono); color: var(--accent); font-size: 1.3rem; transition: transform 0.3s; flex: none; }
.acc-item.open .pm { transform: rotate(45deg); }
.acc-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.acc-a-inner { padding-bottom: 1.4rem; color: var(--muted); max-width: 70ch; }
.acc-a-inner p + p { margin-top: 0.8rem; }

/* ============================================================
   LEGAL / PROSE PAGES
   ============================================================ */
.prose { max-width: 76ch; }
.prose h2 { font-size: 1.6rem; margin: 2.6rem 0 1rem; }
.prose h3 { font-size: 1.2rem; margin: 1.8rem 0 0.7rem; }
.prose p { margin-bottom: 1rem; }
.prose ul, .prose ol { margin: 1rem 0 1rem 1.3rem; color: var(--muted); }
.prose li { margin: 0.5rem 0; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.page-hero { padding-block: clamp(3rem, 7vw, 5rem) clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line-soft); }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); margin: 1rem 0 0.6rem; }
.page-hero p { max-width: 56ch; font-size: 1.1rem; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner { position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; padding: clamp(2.5rem, 6vw, 5rem); text-align: center; background: linear-gradient(160deg, var(--bg-2), var(--bg)); }
.cta-banner::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 120%, var(--accent-glow), transparent 60%); }
.cta-banner > * { position: relative; }
.cta-banner h2 { margin: 1rem auto; max-width: 18ch; }
.cta-banner p { max-width: 46ch; margin: 0 auto 2rem; font-size: 1.1rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-1); margin-top: 2rem; position: relative; overflow: hidden; }
.footer-glow { position: absolute; inset: auto 0 -60% 0; height: 220px; background: radial-gradient(ellipse at 50% 100%, var(--accent-glow), transparent 70%); pointer-events: none; }
.footer-top { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2.5rem; padding-block: clamp(3rem, 6vw, 4.5rem); position: relative; }
.footer-brand .brand { margin-bottom: 1.2rem; }
.footer-brand p { font-size: 0.92rem; max-width: 34ch; }
.footer-col h4 { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); font-weight: 500; margin-bottom: 1.1rem; }
.footer-col a { display: block; color: var(--muted); font-size: 0.92rem; padding: 0.35rem 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bot { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1.5rem; border-top: 1px solid var(--line-soft); font-family: var(--font-mono); font-size: 0.72rem; color: var(--faint); position: relative; }
.footer-disclaimer { background: var(--bg-2); border-top: 1px solid var(--line); }
.footer-disclaimer .wrap { padding-block: 1.1rem; font-family: var(--font-mono); font-size: 0.72rem; color: var(--faint); text-align: center; letter-spacing: 0.04em; line-height: 1.6; }
.footer-disclaimer b { color: var(--accent); }
@media (max-width: 760px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1/-1; } }

/* ============================================================
   RESEARCH-USE GATE MODAL
   ============================================================ */
.gate { position: fixed; inset: 0; z-index: 200; background: oklch(0.12 0.01 162 / 0.86); backdrop-filter: blur(8px); display: grid; place-items: center; padding: 1.5rem; opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s; }
.gate.show { opacity: 1; visibility: visible; }
.gate-card { background: var(--bg-1); border: 1px solid var(--line); border-radius: var(--radius-lg); max-width: 480px; padding: clamp(1.8rem, 4vw, 2.6rem); text-align: center; box-shadow: var(--shadow); transform: translateY(16px); transition: transform 0.4s var(--ease); }
.gate.show .gate-card { transform: translateY(0); }
.gate-card .mark { width: 44px; height: 44px; margin: 0 auto 1.2rem; }
.gate-card h2 { font-size: 1.7rem; margin-bottom: 0.9rem; }
.gate-card p { font-size: 0.95rem; margin-bottom: 1.6rem; }
.gate-actions { display: flex; gap: 0.7rem; flex-direction: column; }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-delay="3"] { transition-delay: 0.24s; }
[data-reveal][data-delay="4"] { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* ============================================================
   SOCIAL / COMMUNITY
   ============================================================ */
.socials { display: flex; gap: 0.6rem; margin-top: 1.5rem; }
.socials a { width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 6px; display: grid; place-items: center; color: var(--muted); transition: all 0.25s var(--ease); }
.socials a:hover { color: var(--accent); border-color: var(--accent); transform: translateY(-3px); background: var(--bg-2); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }

.community { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.comm-card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.8rem, 4vw, 2.6rem); background: linear-gradient(165deg, var(--bg-2), var(--bg)); transition: border-color 0.3s, transform 0.3s var(--ease); }
.comm-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.comm-card .platform { width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 1.2rem; }
.comm-card .platform svg { width: 26px; height: 26px; }
.comm-card.discord .platform { background: #5865F2; color: #fff; }
.comm-card.telegram .platform { background: #229ED9; color: #fff; }
.comm-card h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.comm-card p { font-size: 0.95rem; margin-bottom: 1.4rem; }
.comm-card .cmeta { font-family: var(--font-mono); font-size: 0.7rem; color: var(--faint); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 1rem; }
@media (max-width: 700px) { .community { grid-template-columns: 1fr; } }

/* ============================================================
   TRUSTPILOT / REVIEWS / TRUST BADGES
   ============================================================ */
.tp-bar { display: flex; align-items: center; justify-content: center; gap: 1.4rem; flex-wrap: wrap; padding: 1.1rem 1.4rem; border: 1px solid var(--line-soft); border-radius: var(--radius-lg); background: var(--bg-1); }
.tp-logo { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.tp-logo svg { width: 18px; height: 18px; }
.tp-stars { display: inline-flex; gap: 3px; }
.tp-star { width: 22px; height: 22px; background: var(--tp-green); display: grid; place-items: center; border-radius: 2px; }
.tp-star.half { background: linear-gradient(90deg, var(--tp-green) 50%, oklch(0.42 0.01 250) 50%); }
.tp-star svg { width: 15px; height: 15px; fill: #fff; }
.tp-meta { font-size: 0.9rem; color: var(--muted); }
.tp-meta b { color: var(--ink); font-weight: 600; }
.tp-sep { width: 1px; height: 26px; background: var(--line); }
@media (max-width: 620px) { .tp-sep { display: none; } }

.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.review { border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 1.6rem; background: var(--bg-1); display: flex; flex-direction: column; }
.review-stars { display: inline-flex; gap: 2px; margin-bottom: 1rem; }
.review-stars .tp-star { width: 18px; height: 18px; }
.review-stars .tp-star svg { width: 12px; height: 12px; }
.review h4 { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 0.5rem; }
.review p { font-size: 0.93rem; flex: 1; }
.review-by { display: flex; align-items: center; gap: 0.55rem; margin-top: 1.3rem; padding-top: 1.1rem; border-top: 1px solid var(--line-soft); font-size: 0.85rem; }
.review-by .av { width: 30px; height: 30px; border-radius: 50%; background: var(--bg-3); display: grid; place-items: center; font-family: var(--font-mono); font-size: 0.78rem; color: var(--ink); flex: none; }
.review-by .nm { color: var(--ink); font-weight: 600; }
.review-by .vf { display: inline-flex; align-items: center; gap: 0.25rem; color: var(--tp-green); font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.04em; text-transform: uppercase; margin-left: auto; }
.review-by .vf svg { width: 13px; height: 13px; fill: var(--tp-green); }
@media (max-width: 860px) { .reviews-grid { grid-template-columns: 1fr; } }

.badges { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); overflow: hidden; }
.badge { background: var(--bg); padding: 1.5rem 1.3rem; display: flex; flex-direction: column; gap: 0.6rem; align-items: flex-start; }
.badge svg { width: 26px; height: 26px; color: var(--ink); stroke-width: 1.5; }
.badge b { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; }
.badge span { font-size: 0.85rem; color: var(--muted); }
@media (max-width: 820px) { .badges { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .badges { grid-template-columns: 1fr; } }

.footer-tp { display: flex; align-items: center; gap: 0.6rem; margin-top: 1.4rem; }
.footer-tp .tp-star { width: 17px; height: 17px; }
.footer-tp .tp-star svg { width: 11px; height: 11px; }
.footer-tp span { font-size: 0.8rem; color: var(--muted); }

/* ============================================================
   GUIDE — STEPS / CALCULATOR / SYRINGE / DO-DONT
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); overflow: hidden; }
.step { background: var(--bg); padding: clamp(1.5rem, 3vw, 2rem); transition: background 0.3s; }
.step:hover { background: var(--bg-1); }
.step .ico { width: 30px; height: 30px; color: var(--accent); margin-bottom: 0.8rem; }
.step .n { font-family: var(--font-mono); font-size: 0.72rem; color: var(--accent); letter-spacing: 0.12em; }
.step h3 { font-size: 1.2rem; margin: 0.9rem 0 0.6rem; }
.step p { font-size: 0.92rem; }

.calc { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.calc-in { padding: clamp(1.5rem, 3vw, 2.4rem); background: var(--bg-1); border-right: 1px solid var(--line-soft); }
.calc-in h3 { margin-bottom: 0.3rem; }
.calc-in .sub { color: var(--faint); font-size: 0.9rem; margin-bottom: 2rem; }
.calc-out { padding: clamp(1.5rem, 3vw, 2.4rem); display: flex; flex-direction: column; gap: 1.5rem; }
.range { margin-bottom: 1.7rem; }
.range:last-child { margin-bottom: 0; }
.range label { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); margin-bottom: 0.9rem; }
.range label b { font-size: 1rem; color: var(--accent); letter-spacing: 0; text-transform: none; }
input[type=range] { width: 100%; -webkit-appearance: none; appearance: none; height: 3px; background: var(--line); border-radius: 2px; outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); cursor: pointer; border: 3px solid var(--bg-1); box-shadow: 0 0 0 1px var(--accent-dim); }
input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--accent); cursor: pointer; border: 3px solid var(--bg-1); }
.calc-cells { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; }
.calc-cell { background: var(--bg); padding: 1.1rem 1.2rem; }
.calc-cell .l { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); margin-bottom: 0.5rem; }
.calc-cell .v { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; line-height: 1; }
.calc-cell .v small { font-family: var(--font-mono); font-size: 0.7rem; color: var(--muted); font-weight: 400; }
.calc-cell.hi { background: var(--accent); grid-column: 1 / -1; }
.calc-cell.hi .l { color: var(--accent-ink); opacity: 0.75; }
.calc-cell.hi .v { color: var(--accent-ink); font-size: 2.3rem; }
.calc-cell.hi .v small { color: var(--accent-ink); opacity: 0.7; }
.syringe-box { background: var(--bg); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 1.3rem; }
.syringe-box .cap { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); margin-bottom: 0.8rem; display: block; }
.calc-warn { font-family: var(--font-mono); font-size: 0.72rem; color: var(--danger); margin-top: 0.6rem; min-height: 1rem; }
@media (max-width: 760px) { .calc { grid-template-columns: 1fr; } .calc-in { border-right: 0; border-bottom: 1px solid var(--line-soft); } }

.dd { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.dd-col { border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 1.7rem; }
.dd-col h3 { display: flex; align-items: center; gap: 0.6rem; font-size: 1.15rem; margin-bottom: 1.2rem; }
.dd-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.85rem; }
.dd-col li { display: flex; gap: 0.7rem; font-size: 0.95rem; color: var(--muted); align-items: flex-start; }
.dd-col li::before { flex: none; width: 19px; height: 19px; border-radius: 4px; margin-top: 1px; display: grid; place-items: center; font-size: 0.7rem; font-weight: 700; }
.dd-col.do li::before { content: "✓"; color: var(--accent-ink); background: var(--accent); }
.dd-col.dont li::before { content: "✕"; color: var(--danger); border: 1px solid var(--danger); }
@media (max-width: 680px) { .dd { grid-template-columns: 1fr; } }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.flex { display: flex; } .gap { gap: 1rem; } .wrap-f { flex-wrap: wrap; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (max-width: 700px) { .grid-2 { grid-template-columns: 1fr; } }


/* ---------- Product images ---------- */
.vial-img { mix-blend-mode: multiply; display: block; width: 100%; height: 100%; object-fit: contain; }
/* Real product photos ship with a clean white studio background. When one
   actually loads, its container is tagged `.has-photo` (see site.js) so we
   swap the SVG-vial gradient for a flat white that matches the photo — the
   photo's rectangular edge then blends instead of casting a hard box/shadow.
   SVG-vial cards (no photo) keep the gradient. */
.card-vis.has-photo, .pdp-media.has-photo { background: #ffffff; }
.card-vis.has-photo::after, .pdp-media.has-photo::after { display: none; }
/* Pure white container that matches the photo's white background, with no
   blend and no CSS drop-shadow — the image sits on flat white, no box, no
   synthetic shadow. SVG-vial products (no photo) keep the gradient + depth. */
.card-vis.has-photo .vial-img, .pdp-media.has-photo .vial-img { mix-blend-mode: normal; filter: none; }

/* ============================================================
   ACCOUNT — header button, auth card, dashboard
   ============================================================ */
.acct-btn { background: var(--bg-2); border: 1px solid var(--line); color: var(--ink); width: 42px; height: 42px; border-radius: var(--radius); display: grid; place-items: center; transition: border-color 0.2s, color 0.2s, background 0.2s; }
.acct-btn:hover { border-color: var(--accent); color: var(--accent); }
.acct-btn.in { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.acct-btn .ini { font-family: var(--font-mono); font-size: 0.8rem; font-weight: 600; }

.auth-card { max-width: 460px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-1); overflow: hidden; }
.auth-tabs { display: flex; border-bottom: 1px solid var(--line); }
.auth-tab { flex: 1; background: none; border: 0; color: var(--faint); font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; padding: 1rem; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color 0.2s; }
.auth-tab.active { color: var(--accent); border-color: var(--accent); }
.auth-pane { display: none; padding: 1.8rem; }
.auth-pane.active { display: block; animation: fade 0.35s var(--ease); }
.auth-pane .field:last-of-type { margin-bottom: 0.4rem; }
.auth-err { color: var(--danger); font-family: var(--font-mono); font-size: 0.78rem; min-height: 1.1rem; margin: 0.2rem 0 0.8rem; }
.auth-note { max-width: 460px; font-size: 0.72rem; color: var(--faint); margin-top: 1.1rem; line-height: 1.5; }

.acct-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.acct-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
.acct-panel { border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--bg-1); padding: clamp(1.4rem, 3vw, 2rem); }
.acct-panel h3 { font-size: 1.3rem; margin-bottom: 0.3rem; }
.orders { display: flex; flex-direction: column; gap: 0.8rem; }
.order { border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 1rem; background: var(--bg); }
.order-head { display: flex; align-items: center; gap: 0.8rem; font-size: 0.8rem; }
.order-head .mono { color: var(--faint); font-size: 0.74rem; }
.order-head b { margin-left: auto; font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); }
.order-items { display: flex; flex-direction: column; gap: 0.25rem; margin-top: 0.7rem; padding-top: 0.7rem; border-top: 1px solid var(--line-soft); font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); }
.order-items i { color: var(--faint); font-style: normal; }
@media (max-width: 760px) { .acct-grid { grid-template-columns: 1fr; } }

/* ============================================================
   GUIDE — peptide picker, barrel chips, syringe recommendation
   ============================================================ */
.calc-in select { width: 100%; background: var(--bg); border: 1px solid var(--line); color: var(--ink); padding: 0.85rem 1rem; border-radius: var(--radius); font-family: var(--font-mono); font-size: 0.85rem; }
.calc-in select:focus { outline: none; border-color: var(--accent); }
.pep-ref { font-size: 0.8rem; color: var(--muted); line-height: 1.5; margin: 0 0 1.8rem; padding: 0.8rem 1rem; background: var(--bg); border: 1px solid var(--line-soft); border-left: 3px solid var(--accent); border-radius: var(--radius); }
.pep-ref b { color: var(--ink); }
.pep-ref .ref-tag { display: block; margin-top: 0.3rem; font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.04em; color: var(--faint); text-transform: uppercase; }

.syr-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 0.9rem; }
.syr-top .cap { margin-bottom: 0; }
.barrel-chips { display: inline-flex; gap: 0.3rem; }
.bchip { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.03em; background: var(--bg-1); border: 1px solid var(--line); color: var(--muted); padding: 0.35rem 0.6rem; border-radius: 3px; transition: all 0.2s; }
.bchip:hover { color: var(--ink); border-color: var(--faint); }
.bchip.active { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }

.syr-rec { font-size: 0.86rem; color: var(--muted); line-height: 1.55; }
.syr-rec a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.syr-rec b { color: var(--ink); }
.syr-rec .srec-ico { font-family: var(--font-mono); color: var(--accent); font-weight: 700; margin-right: 0.45rem; }