/* ============================================================
   PEPTIDES EXPRESS — "ONYX" dark theme
   Loaded AFTER experience.css (and after each page's inline <style>).
   Black canvas · one electric accent · condensed caps · product first.
   ============================================================ */

:root {
  --foam:      #0b1e26;
  --lagoon-1:  #071820;   /* deep ocean, not pure black */
  --lagoon-2:  #0c222b;
  --lagoon-3:  #133039;
  --lagoon-4:  #1d434e;

  --aqua:      #12e4a0;
  --aqua-2:    #12e4a0;
  --aqua-soft: rgba(18, 228, 160, 0.12);
  --cyan-glow: rgba(18, 228, 160, 0.32);
  --gold:      #ecc06a;
  --gold-2:    #f0cd84;
  --gold-soft: rgba(236, 192, 106, 0.14);

  --ink:       #f6fdfb;
  --ink-dim:   #b6d0cb;
  --ink-faint: #7d9a95;
  --line:      rgba(150, 240, 225, 0.15);
  --glass:     rgba(180, 250, 240, 0.05);
  --glass-2:   rgba(180, 250, 240, 0.08);

  --display: "Anton", "Oswald", Impact, sans-serif;
  --shadow:  0 30px 70px -30px rgba(0, 0, 0, 0.9);
}

body { background: var(--lagoon-1); color: var(--ink); }

/* ---- kill the lagoon backdrop, replace with deep space ---- */
.water-bg {
  background:
    radial-gradient(1200px 820px at 78% 4%, rgba(18,228,180,0.16) 0%, transparent 58%),
    radial-gradient(1000px 760px at 10% 78%, rgba(40,160,220,0.13) 0%, transparent 62%),
    radial-gradient(760px 620px at 48% 108%, rgba(18,228,160,0.09) 0%, transparent 66%),
    linear-gradient(180deg, #0a2029 0%, #071820 46%, #051219 100%) !important;
}
.water-bg::before, .water-bg::after { opacity: 0.22 !important; mix-blend-mode: screen; }

/* ---- typography: condensed caps display ---- */
h1, h2, h3, .display, .hero h1 {
  font-family: var(--display) !important;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  font-weight: 400;
  line-height: 0.95;
  color: var(--ink);
}
h1 em, h2 em, .display em {
  font-family: var(--display) !important;
  font-style: normal;
  color: var(--aqua);
}
.hero h1 { font-size: clamp(3rem, 8vw, 6.4rem); }
.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--aqua);
}
.eyebrow.gold { color: var(--gold); }
.lead, p { color: var(--ink-dim); }
.lead b, p b, b { color: var(--ink); }

/* ---- hero: dark image, gradient only on the text side ---- */
.hero-photo::after {
  background:
    linear-gradient(90deg, rgba(7,24,32,0.98) 0%, rgba(7,24,32,0.95) 40%, rgba(7,24,32,0.55) 56%, rgba(7,24,32,0.05) 72%, rgba(7,24,32,0) 84%),
    linear-gradient(0deg, var(--lagoon-1) 1%, transparent 26%) !important;
}
@media (max-width: 860px) {
  .hero-photo::after {
    background:
      linear-gradient(180deg, rgba(7,24,32,0.92) 0%, rgba(7,24,32,0.90) 38%, rgba(7,24,32,0.55) 58%, rgba(7,24,32,0.80) 84%, var(--lagoon-1) 100%) !important;
  }
}

/* interior page banners still use the old bright aquatic plate - sink it */
.page-photo::after {
  background:
    linear-gradient(180deg, rgba(7,24,32,0.72) 0%, rgba(7,24,32,0.68) 38%, rgba(7,24,32,0.90) 76%, var(--lagoon-1) 99%) !important;
}
.page-photo img { filter: brightness(0.42) saturate(0.6) contrast(1.08); }
.breadcrumb, .crumbs, .breadcrumbs, .crumb { color: var(--ink-faint) !important; }
.breadcrumb a, .crumbs a, .breadcrumbs a { color: var(--ink-dim) !important; }
.breadcrumb a:hover, .crumbs a:hover { color: var(--aqua) !important; }
.prod-hero .sub, .prod-sub, .page-sub { color: var(--ink-dim) !important; }

/* ---- buttons ---- */
.btn-primary {
  background: var(--aqua) !important;
  color: #04120d !important;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.82rem;
  border: none;
  box-shadow: 0 0 0 0 rgba(18,228,160,0.5);
  transition: box-shadow .35s var(--ease), transform .35s var(--ease);
}
.btn-primary:hover { box-shadow: 0 0 34px -4px rgba(18,228,160,0.55); transform: translateY(-2px); }
.btn-ghost {
  background: transparent !important;
  color: var(--ink) !important;
  border: 1px solid var(--line) !important;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.82rem;
  font-weight: 600;
}
.btn-ghost:hover { border-color: var(--aqua) !important; color: var(--aqua) !important; }

/* ---- header ---- */
header.site, .site-header, header {
  background: rgba(7,24,32,0.88) !important;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
header a, nav a { color: var(--ink-dim); }
header a:hover, nav a:hover { color: var(--aqua); }

/* ---- product / category cards: the Soma tile ---- */
.cat-card {
  background: linear-gradient(180deg, #102c36 0%, #0a1e27 100%) !important;
  border: 1px solid var(--line) !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  overflow: hidden;
  position: relative;
  transition: border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.cat-card::before {
  content: ""; position: absolute; left: 0; top: 26px; width: 3px; height: 26px;
  background: var(--aqua); opacity: 0; transition: opacity .3s var(--ease);
}
.cat-card:hover {
  border-color: rgba(18,228,160,0.45) !important;
  transform: translateY(-4px);
  box-shadow: 0 26px 60px -34px rgba(18,228,160,0.42);
}
.cat-card:hover::before { opacity: 1; }
.cat-card h3 { color: var(--ink); font-size: 1.35rem; }
.cat-card p { color: var(--ink-dim); }
.cat-kicker { color: var(--aqua); letter-spacing: .16em; text-transform: uppercase; font-size: .64rem; font-weight: 700; }
.arrow { color: var(--aqua); }

/* product photo: the vials were shot on white, keep the plate clean */
.prod-thumb {
  background: #ffffff;
  border-radius: 3px;
  filter: contrast(1.03) saturate(1.02);
}

.price-badge {
  background: var(--aqua) !important;
  color: #04120d !important;
  font-weight: 800;
  border-radius: 2px;
  letter-spacing: .02em;
}
.price-badge small { color: rgba(4,18,13,0.72); }

.pe-qadd {
  background: transparent !important;
  color: var(--aqua) !important;
  border: 1px solid rgba(18,228,160,0.42) !important;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .68rem;
  font-weight: 700;
}
.pe-qadd:hover { background: var(--aqua) !important; color: #04120d !important; }

/* ---- glass panels ---- */
.glass, .local-band {
  background: linear-gradient(180deg, rgba(255,255,255,0.045), rgba(255,255,255,0.015)) !important;
  border: 1px solid var(--line) !important;
  box-shadow: none !important;
  border-radius: 5px !important;
}

/* ---- forms ---- */
input, textarea, select {
  background: #0b222b !important;
  color: var(--ink) !important;
  border: 1px solid var(--line) !important;
  border-radius: 3px !important;
}
input:focus, textarea:focus, select:focus { border-color: var(--aqua) !important; outline: none; }
label { color: var(--ink-dim); }
::placeholder { color: #5c6d69; }

/* ---- footer ---- */
footer.site, footer {
  background: #051219 !important;
  border-top: 1px solid var(--line);
  color: var(--ink-dim);
}
footer a { color: var(--ink-dim); }
footer a:hover { color: var(--aqua); }
.disclaimer { color: #667874; }

/* ---- hero layout: keep copy clear of the vials ---- */
.hero { min-height: min(90vh, 900px) !important; }
.hero h1 { max-width: 660px; }
.hero .lead { max-width: 545px !important; }
.hero .assurances { max-width: 560px !important; }
.hero-photo img { object-position: 72% center; }

/* eyebrow reads as a dark chip, not a white pill */
.hero .eyebrow, .eyebrow {
  background: rgba(18,228,160,0.09) !important;
  border: 1px solid rgba(18,228,160,0.28);
  color: var(--aqua) !important;
  border-radius: 2px;
  backdrop-filter: blur(6px);
}
.eyebrow.gold {
  background: rgba(236,192,106,0.09) !important;
  border-color: rgba(236,192,106,0.28);
  color: var(--gold) !important;
}

/* Anton has no italic - stop the browser faking an oblique */
h1 em, h2 em, h3 em, .display em, .hero h1 em, .section-head em {
  font-style: normal !important;
  font-synthesis: none;
  -webkit-font-synthesis: none;
}

@media (max-width: 860px) {
  .hero h1, .hero .lead, .hero .assurances { max-width: 100% !important; }
  .hero-photo img { object-position: center 28%; }
}

/* ---- misc ---- */
.section-head .display { margin-bottom: .6rem; }
.check { color: var(--aqua); }
.scroll-hint { color: var(--ink-faint); }
.scroll-hint .dot { background: var(--aqua); }
hr, .divider { border-color: var(--line); }
::selection { background: var(--aqua); color: #04120d; }


/* ============================================================
   ONYX — product vial imagery (Aug 4 2026)
   Kills the light #eef4f8 plate that showed as white squares on
   the dark theme, and takes the apparent vial size down so the
   cards read as a catalog instead of a wall of glass.
   ============================================================ */

/* the plate the vial renders sit on — matches --lagoon-1 exactly
   so the image edge is invisible against the card */
.cat-card .prod-thumb,
.prod-hero .shot,
.pe-shot {
  background:
    radial-gradient(58% 52% at 50% 44%, rgba(18,228,160,.10) 0%, transparent 68%),
    radial-gradient(90% 80% at 50% 50%, #0d2731 0%, #071820 74%) !important;
}

/* ---- card thumbnails ----
   height:auto is load-bearing. The markup carries a height attribute, which
   maps to a definite CSS height and makes the browser IGNORE aspect-ratio
   entirely — that is why the thumbs were rendering at full intrinsic height
   (720px, then 875px) on phones. */
.cat-card .prod-thumb {
  height: auto !important;
  aspect-ratio: 5 / 4;                 /* was 1/1 — 20% less height */
  object-fit: cover;
  object-position: 50% 46%;
  border-bottom: 1px solid var(--line);
}

/* ---- product detail hero shot ----
   flex, not grid: <picture> is display:contents, so the real grid items are
   <source> + <img> + the copy block, and the shot kept landing in the wrong
   track and blowing up to ~485px. Flex sizes the shot explicitly. */
.prod-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}
.prod-hero > div { flex: 1 1 320px; min-width: 0; }
.prod-hero .shot {
  flex: none;
  width: 250px;
  max-width: 44%;
  height: auto !important;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 26px 60px -30px rgba(0,0,0,.9);
}

/* ---- tablet ---- */
@media (max-width: 900px) {
  .prod-hero .shot { width: 220px; }
}

/* ---- phone: the size complaint lives here ---- */
@media (max-width: 640px) {
  .cat-card .prod-thumb {
    aspect-ratio: 16 / 10;             /* ~38% shorter than the old square */
    object-position: 50% 44%;
  }
  .prod-hero { flex-direction: column; text-align: center; gap: 1.3rem; }
  .prod-hero .shot {
    width: 190px;                      /* was 260px */
    max-width: 62%;
    margin: 0 auto;
    border-radius: 14px;
  }
}

@media (max-width: 400px) {
  .cat-card .prod-thumb { aspect-ratio: 16 / 9; }
  .prod-hero .shot { width: 168px; }
}


/* ============================================================
   ONYX — light-on-light leftovers (Aug 4 2026)
   These three all inherited a near-white surface from the old
   light theme while the text stayed --ink, so they rendered
   white-on-white. All three sit directly on the order path.
   ============================================================ */

/* 1. quantity stepper — the count was invisible on a white pill */
.pe-qty {
  background: var(--glass-2) !important;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
}
.pe-qty .pe-qval { color: var(--ink); font-weight: 700; }
.pe-qty .pe-step {
  background: transparent !important;
  color: var(--ink);
  border: 0;
  font-size: 1.15rem;
  line-height: 1;
}
.pe-qty .pe-step:hover { color: var(--aqua); }

/* 2. mobile action bar — Call / Text were white on near-white */
.mobile-bar {
  background: rgba(7, 24, 32, 0.94) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
.mobile-bar > a,
.mobile-bar > button {
  background: transparent !important;
  color: var(--ink) !important;
  border-right: 1px solid var(--line);
}
.mobile-bar > a:last-child,
.mobile-bar > button:last-child { border-right: 0; }
.mobile-bar .mb-primary {
  background: linear-gradient(135deg, var(--aqua), #0fc78c) !important;
  color: #04161a !important;
  font-weight: 700;
}
.mobile-bar svg { color: inherit; }

/* 3. cart drawer — the whole panel was near-white with white text */
.drawer {
  background: rgba(9, 28, 36, 0.985) !important;
  color: var(--ink) !important;
  border-left: 1px solid var(--line);
}
.drawer * { color: var(--ink); }
.drawer .close {
  background: var(--glass-2) !important;
  color: var(--ink) !important;
  border: 1px solid var(--line);
}
.drawer .muted,
.drawer small,
.drawer .drawer-note { color: var(--ink-dim) !important; }
.drawer .drawer-cta,
.drawer .btn-primary {
  background: linear-gradient(135deg, var(--aqua), #0fc78c) !important;
  color: #04161a !important;
}
.drawer .btn-primary * { color: #04161a; }
.drawer-backdrop, .drawer-scrim { background: rgba(3, 10, 13, 0.72) !important; }
