@import url("https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500;600&display=swap");
/* Vital Era Labs — design system
   Palette from the packaging (cool grey-white, navy, box blue). Colours: tokens in :root only. */

:root {
  /* ===== Colour tokens — the ONLY place colours are defined (palette from the box artwork, PDF 2026-10-21) ===== */
  /* background: cool grey-white with the box's soft gradient */
  --bg-1: #f9f8f8;            /* light edge (PDF front panel #f5f6f8) */
  --bg: #f1f1f0;              /* main (PDF front panel centre) */
  --bg-2: #e6e6e5;            /* darker edge (PDF #dce2e9), footer */
  --page-gradient: linear-gradient(100deg, var(--bg-1) 0%, var(--bg) 55%, var(--bg-2) 100%);
  --section-gradient: linear-gradient(100deg, var(--bg-2) 0%, var(--bg) 45%, var(--bg-1) 100%);
  --surface: #fffefd;         /* cards */
  --surface-2: #ececea;       /* quiet panels, disabled (PDF light fill) */
  --surface-glass: rgba(255, 255, 255, .72);
  --header-glass: rgba(249, 248, 248, .84);
  --menu-glass: rgba(249, 248, 248, .78);   /* catalogue mega menu, over a blurred page */
  /* text */
  --text: #1b2a47;            /* PDF logo / headings */
  --text-2: #374157;          /* PDF dark slate */
  --muted: #64666a;           /* PDF small print */
  --faint: #a1a4a7;           /* PDF molecule — decorative / disabled only */
  /* lines */
  --line: #d8d8d7;            /* PDF hairline */
  --line-strong: #b2b2b1;     /* PDF dashed rule, button outlines */
  /* brand accent: thin lines, links, small captions, active states — never large fills */
  --accent: #2f6be0;          /* PDF "PEPTIDES" / blue rule */
  --accent-text: #2558c4;     /* accent for small text (AA on every background) + hover */
  --on-accent: #ffffff;
  /* status */
  --success: #2f7a5c;
  --error: #b23b3b;
  /* WhatsApp CTA */
  --wa-bg: var(--accent);
  --wa-bg-hover: var(--accent-text);
  --wa-text: var(--on-accent);
  --wa-shadow: 0 14px 32px -14px rgba(47, 107, 224, .55);
  --wa-green: #15803d;        /* WhatsApp order button on the product page (Anton 2026-11-12): white text 5:1 */
  --wa-green-hover: #13703a;
  --wa-icon: #25d366;          /* WhatsApp green, the icon only (Anton 2026-11-12) */
  /* depth */
  --shadow: 0 1px 2px rgba(27, 42, 71, .04), 0 18px 40px -24px rgba(27, 42, 71, .28);
  --shadow-modal: 0 40px 90px -30px rgba(27, 42, 71, .45);
  --overlay: rgba(27, 42, 71, .32);
  /* logo (VE_LOGO) */
  --logo-ink: var(--text);
  --logo-accent: var(--accent);
  /* over photographs */
  --photo-shade: rgba(20, 18, 15, .35);
  --on-photo: rgba(255, 255, 255, .88);
  --photo-text-shadow: 0 1px 8px rgba(0, 0, 0, .25);
  /* image colours: the vial label drawn in code (matches the printed label, not UI) */
  --img-label-ink: #2a2622;
  --img-label-qr: #2c2824;
  --img-label-sub: #6b655d;
  --img-label-faint: #8a8379;
  --img-label-coll: #5e5850;
  --img-cap: #45474a;
  --img-cap-2: #55575a;
  --img-powder: #4c80dc;
  --sheen-light: rgba(255, 255, 255, .5);   /* light sweep over the vial on card hover */
  /* Instagram brand gradient (icon only) */
  --ig-1: #fdf497;
  --ig-2: #fd5949;
  --ig-3: #d6249f;
  --ig-4: #285aeb;

  /* collection colours (stripes, dots, tiles): cool tones only (Anton 2026-11-12: "коллекции в холодные тона" - the
     pink/beige/khaki ones replaced; the printed vial labels keep their own colours) */
  --c-recovery: #a9bfa4;
  --c-skin: #a1c5ce;
  --c-body: #a7b9cf;
  --c-longevity: #a6c9b2;
  --c-sleep: #b5aecf;
  --c-intimacy: #9fa5d1;
  --c-gh: #9fbfbb;
  --c-immune: #9db7c9;
  --c-blends: #a9b3bb;
  --c-accessories: #a7adb8;   /* the navy pen case, softened (Accessories, 2026-11-13) */
  --c-default: var(--bg-2);
  /* the labels' stripe colours (brand/labels make_labels.py ACCENT; immune from the Glutathione label): the function chips on a
     product page take the colour of the product's own label (Anton 2026-11-13) */
  --l-weight: #6f97c9; --l-recovery: #7aae72; --l-gh: #5fa59c; --l-longevity: #c99d4f;
  --l-skin: #d88a85; --l-cognition: #8f84cc; --l-intimacy: #c477a6; --l-immune: #a19c5e;

  --serif: "Cormorant Garamond", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  --max: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 6px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.shell { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.narrow > * { max-width: 760px; }

/* ---------- Typography ---------- */
.display, h1, h2, h3, .serif { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; }
h1, h2, h3, h4, p { margin: 0; }
h1 { font-size: clamp(48px, 7.4vw, 104px); line-height: .95; letter-spacing: -.02em; }
h2 { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.02; }
h3 { font-size: clamp(24px, 2.2vw, 30px); line-height: 1.15; }
h1 em, h2 em { font-style: italic; color: var(--accent-text); }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--text-2); max-width: 38em; }
.body-copy { color: var(--muted); max-width: 40em; }
.body-copy p + p { margin-top: 1em; }
.eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent-text);
}
.wordmark {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  letter-spacing: .34em;
  text-transform: uppercase;
  white-space: nowrap;
}
.tagline { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 26px;
  border-radius: 999px; border: 1px solid var(--line-strong);
  font-size: 14px; font-weight: 500; letter-spacing: .02em;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
  white-space: nowrap;
}
/* primary: brand blue (filled) */
.btn-dark { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.btn-dark:hover { background: var(--accent-text); border-color: var(--accent-text); }
/* secondary: outline */
.btn-line, .btn-light { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-line:hover, .btn-light:hover { background: var(--surface); border-color: var(--text); color: var(--text); }
/* WhatsApp CTA */
.btn.btn-wa { background: var(--wa-bg); color: var(--wa-text); border-color: var(--wa-bg); box-shadow: var(--wa-shadow); }
.btn.btn-wa:hover { background: var(--wa-bg-hover); border-color: var(--wa-bg-hover); color: var(--wa-text); }
.btn:disabled, .btn[aria-disabled="true"], .btn:disabled:hover, .btn.btn-wa:disabled, .btn.btn-wa:disabled:hover { background: var(--surface-2); color: var(--faint); border-color: var(--surface-2); box-shadow: none; cursor: not-allowed; }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 13px; }
.btn svg { width: 18px; height: 18px; flex: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; border-bottom: 1px solid var(--line-strong); padding-bottom: 3px; }
.link-arrow:hover { border-color: var(--accent-text); color: var(--accent-text); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--header-glass);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid var(--line);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.main-nav { display: flex; gap: 30px; }
.main-nav a { font-size: 14px; color: var(--text-2); position: relative; padding: 6px 0; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent-text); transform: scaleX(0); transition: transform .25s; }
.main-nav a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px; }
.lang-switch button { border: 0; background: none; font-size: 11px; font-weight: 600; letter-spacing: .1em; padding: 5px 10px; border-radius: 999px; color: var(--muted); }
.lang-switch button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: 0 0 0 1px var(--line-strong); }
.menu-toggle { display: none; border: 0; background: none; width: 44px; height: 44px; padding: 0; margin-right: -10px; }
.menu-toggle span { display: block; width: 22px; height: 1px; background: var(--text); margin: 6px auto; transition: transform .25s, opacity .25s; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu { display: none; }

@media (max-width: 960px) {
  .main-nav, .header-actions .btn { display: none; }
  .menu-toggle { display: block; }
  .mobile-menu {
    display: block; position: fixed; inset: var(--header-h) 0 0 0; z-index: 39;
    background: var(--bg-1); padding: 24px var(--gutter) 40px;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s;
    overflow-y: auto;
  }
  .menu-open .mobile-menu { opacity: 1; transform: none; visibility: visible; }
  .mobile-menu nav a { display: block; font-family: var(--serif); font-size: 34px; line-height: 1.25; padding: 8px 0; border-bottom: 1px solid var(--line); }
  .mobile-menu .btn { margin-top: 28px; width: 100%; }
  .menu-open { overflow: hidden; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section-tight { padding: clamp(48px, 6vw, 80px) 0; }
.section-stone { background: var(--section-gradient); }
.section-paper { background: var(--bg-1); }
.page-hero, .hero-v2 { background: var(--page-gradient); }
.section-dark { background: var(--section-gradient); color: var(--text); }
.section-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head .body-copy { justify-self: end; }
@media (max-width: 800px) { .section-head { grid-template-columns: 1fr; } .section-head .body-copy { justify-self: start; } }
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(56px, 9vw, 120px) 0 clamp(40px, 6vw, 72px); }
.page-hero .eyebrow { margin-bottom: 22px; }
.page-hero h1 { font-size: clamp(44px, 6.4vw, 88px); max-width: 12em; }
.page-hero .lead { margin-top: 26px; }

/* ---------- Home hero ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 40px; }
.hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero-copy .tagline { margin-bottom: 28px; }
.hero-copy h1 { max-width: 11em; }
.hero-copy .lead { margin: 28px auto 36px; text-align: center; }
.hero-media { position: relative; margin: clamp(40px, 6vw, 72px) 0 0; }
.hero-media::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; border-radius: 0 0 var(--radius) var(--radius); background: linear-gradient(transparent, var(--photo-shade)); pointer-events: none; }
.hero-media img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; object-position: center 62%; border-radius: var(--radius); }
.hero-media figcaption { z-index: 1; position: absolute; left: 24px; bottom: 20px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--on-photo); text-shadow: var(--photo-text-shadow); }
@media (max-width: 700px) { .hero-media img { aspect-ratio: 4 / 3.4; object-position: 40% 65%; } .hero-media figcaption, .hero-media::after { display: none; } .hero-copy .btn-row .btn { width: 100%; } .hero-copy .btn-row { width: 100%; } }

/* ---------- Pillars ---------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.pillar { padding: 36px 32px 8px 0; }
.pillar + .pillar { padding-left: 32px; border-left: 1px solid var(--line); }
.pillar .num { font-family: var(--serif); font-size: 15px; color: var(--accent-text); font-style: italic; }
.pillar h3 { margin: 14px 0 12px; }
.pillar p { color: var(--muted); font-size: 15px; }
@media (max-width: 800px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar, .pillar + .pillar { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- Collections ---------- */
.collection-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.collection-tile {
  position: relative; background: var(--surface-glass); padding: 34px 30px 30px 40px; min-height: 220px;
  display: flex; flex-direction: column; transition: background .25s;
}
.collection-tile::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--accent, var(--c-default)); }
.collection-tile:hover { background: var(--surface); }
.collection-grid::after { content: ""; grid-column: span 2; background: var(--bg); } /* fills empty cells of the last row (7 tiles in 3 columns) */
@media (max-width: 960px) { .collection-grid::after { grid-column: span 1; } }
@media (max-width: 600px) { .collection-grid::after { display: none; } }
.collection-tile .count { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); }
.collection-tile h3 { margin: 18px 0 10px; }
.collection-tile p { color: var(--muted); font-size: 14px; }
.collection-tile .members { margin-top: auto; padding-top: 20px; font-size: 13px; color: var(--text-2); letter-spacing: .02em; }
.collection-tile .go { position: absolute; right: 26px; top: 30px; font-size: 18px; color: var(--faint); transition: transform .25s, color .25s; }
.collection-tile:hover .go { transform: translateX(4px); color: var(--accent-text); }
@media (max-width: 960px) { .collection-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .collection-grid { grid-template-columns: 1fr; } .collection-tile { min-height: 0; } }

.accent-recovery { --accent: var(--c-recovery); }
.accent-skin { --accent: var(--c-skin); }
.accent-body { --accent: var(--c-body); }
.accent-longevity { --accent: var(--c-longevity); }
.accent-sleep { --accent: var(--c-sleep); }
.accent-immune { --accent: var(--c-immune); }
.accent-blends { --accent: var(--c-blends); }
.accent-intimacy { --accent: var(--c-intimacy); }
.accent-gh { --accent: var(--c-gh); }
.accent-accessories { --accent: var(--c-accessories); }

/* ---------- Product label cards (vial label language) ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.label-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 24px 22px 32px; min-height: 300px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.label-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; border-radius: var(--radius) 0 0 var(--radius); background: var(--accent, var(--c-default)); }
.label-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.label-card .brandline { font-size: 9px; letter-spacing: .32em; color: var(--faint); text-transform: uppercase; }
.label-card h3 { font-size: 34px; line-height: 1; margin-top: 18px; letter-spacing: -.01em; }
.label-card h3 a::after { content: ""; position: absolute; inset: 0; }
.label-card .coll { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
.label-card .dose { font-size: 15px; margin-top: 6px; color: var(--text-2); }
.label-card .foot { margin-top: auto; padding-top: 24px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); }
.label-card .price { font-size: 15px; font-weight: 500; }
.label-card .status { font-size: 11px; color: var(--muted); letter-spacing: .04em; margin-top: 4px; }
.label-card .qr { width: 34px; height: 34px; color: var(--text-2); opacity: .8; flex: none; }
.label-card .wa-quick { position: relative; z-index: 2; }

.status-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 6px; vertical-align: middle; background: var(--accent); }
.status-dot.ok { background: var(--success); }
.status-dot.off { background: var(--faint); }

/* ---------- Catalogue controls ---------- */
.controls { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-bottom: 32px; }
.search {
  display: flex; align-items: center; gap: 10px; flex: 1 1 260px; max-width: 360px;
  border: 1px solid var(--line-strong); border-radius: 999px; padding: 0 18px; height: 46px; background: var(--surface);
}
.search svg { width: 16px; height: 16px; color: var(--muted); flex: none; }
.search input { border: 0; background: none; outline: none; width: 100%; font-size: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--line-strong); background: transparent; border-radius: 999px;
  padding: 8px 16px; font-size: 13px; color: var(--text-2); transition: all .2s;
}
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent, var(--c-default)); }
.chip:hover { border-color: var(--text); }
.chip[aria-pressed="true"] { background: var(--surface); color: var(--text); border-color: var(--text); }
.result-meta { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.empty { padding: 60px 0; text-align: center; color: var(--muted); }

/* ---------- Split (image + text) ---------- */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split-media img { width: 100%; border-radius: var(--radius); object-fit: cover; }
.split-copy .eyebrow { margin-bottom: 20px; }
.split-copy h2 { margin-bottom: 24px; }
.split-copy .btn-row, .split-copy .link-arrow { margin-top: 32px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }

/* ---------- Detail strip (3 images) ---------- */
.detail-strip { display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 12px; }
.detail-strip figure { margin: 0; }
.detail-strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.detail-strip figcaption { font-size: 12px; color: var(--muted); margin-top: 12px; letter-spacing: .02em; }
@media (max-width: 700px) { .detail-strip { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: step; }
.step { padding: 0 32px 0 0; }
.step + .step { padding-left: 32px; border-left: 1px solid var(--line); }
.step .n { font-family: var(--serif); font-size: 56px; line-height: 1; color: var(--accent); font-style: italic; }
.step h3 { margin: 18px 0 10px; font-size: 26px; }
.step p { font-size: 15px; color: var(--muted); }
@media (max-width: 800px) {
  .steps { grid-template-columns: 1fr; gap: 32px; }
  .step, .step + .step { padding: 0; border: 0; }
}

/* ---------- Lot / verification card ---------- */
.lot-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.lot-card .top { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.lot-card .name { font-family: var(--serif); font-size: 40px; line-height: 1.05; margin: 22px 0 6px; }
.lot-card dl { margin: 26px 0 0; display: grid; gap: 0; }
.lot-card dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; }
.lot-card dt { color: var(--muted); }
.lot-card dd { margin: 0; text-align: right; font-weight: 500; }
.tag { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line-strong); border-radius: 999px; padding: 4px 12px; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.lot-form { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.lot-form input {
  flex: 1 1 220px; height: 48px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-strong);
  background: var(--surface); font-size: 15px; letter-spacing: .08em; text-transform: uppercase;
}
.lot-result { margin-top: 28px; }
.anatomy { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.anatomy > div { padding: 24px 24px 0 0; }
.anatomy > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.anatomy .k { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent-text); }
.anatomy .v { font-family: var(--serif); font-size: 26px; margin: 8px 0 8px; }
.anatomy p { font-size: 14px; color: var(--muted); }
@media (max-width: 860px) {
  .anatomy { grid-template-columns: 1fr 1fr; }
  .anatomy > div, .anatomy > div + div { padding: 22px 16px 22px 0; border-left: 0; border-bottom: 1px solid var(--line); }
}

/* ---------- Product detail ---------- */
.breadcrumbs { font-size: 13px; color: var(--muted); padding-top: 28px; }
.breadcrumbs a:hover { color: var(--accent-text); }
.product-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); padding: 36px 0 clamp(64px, 8vw, 110px); align-items: start; }
.vial-visual {
  position: relative; background: linear-gradient(180deg, var(--surface-2), var(--c-default)); border-radius: var(--radius);
  aspect-ratio: 4 / 5; display: grid; place-items: center; overflow: hidden;
}

.product-info .coll-link { display: inline-flex; align-items: center; gap: 10px; }
.product-info .coll-link i { width: 10px; height: 10px; border-radius: 50%; background: var(--accent, var(--c-default)); }
.product-info h1 { font-size: clamp(52px, 6.5vw, 92px); margin: 20px 0 8px; }
.product-info .type { color: var(--muted); font-size: 15px; }
.product-info .price-block { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 22px 0; margin-top: 30px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.product-info .price-block .price { font-size: 26px; font-weight: 500; }
.product-info .summary { margin-top: 28px; color: var(--text-2); font-size: 17px; line-height: 1.65; }
.product-info .btn-row { margin-top: 32px; }
.spec { margin: 36px 0 0; }
.spec > div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-top: 1px solid var(--line); font-size: 14px; }
.spec dt { color: var(--muted); }
.spec dd { margin: 0; text-align: right; }
.notice {
  margin-top: 32px; padding: 18px 20px; border-left: 2px solid var(--accent); background: var(--surface-2);
  font-size: 13px; color: var(--text-2); line-height: 1.6;
}
.batch-list { margin-top: 12px; }
.batch-list a { color: var(--accent-text); border-bottom: 1px solid currentColor; }
@media (max-width: 767px) {
  .product-layout { grid-template-columns: 1fr; }
  .vial-visual { aspect-ratio: 1 / 1; }
}

/* ---------- FAQ ---------- */
.faq-group + .faq-group { margin-top: 64px; }
.faq-group h2 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 18px; }
details.faq { border-top: 1px solid var(--line); }
details.faq:last-child { border-bottom: 1px solid var(--line); }
details.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center;
  padding: 22px 0; font-size: 17px; font-weight: 500;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; font-family: var(--serif); font-size: 28px; font-weight: 300; color: var(--accent-text); transition: transform .25s; line-height: 1; }
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq .answer { padding: 0 0 24px; color: var(--muted); max-width: 46em; }
details.faq .answer p + p { margin-top: .8em; }

/* ---------- Legal / prose ---------- */
.prose { max-width: 760px; color: var(--text-2); }
.prose h2 { font-size: clamp(28px, 3vw, 38px); margin: 56px 0 16px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: var(--sans); font-size: 16px; font-weight: 600; margin: 28px 0 8px; letter-spacing: 0; }
.prose p, .prose li { color: var(--muted); }
.prose p + p { margin-top: 1em; }
.prose ul { padding-left: 20px; margin: 12px 0; }
.prose li + li { margin-top: 6px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }

/* ---------- Consultation ---------- */
.consult-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); }
.consult-card h3 { margin-bottom: 12px; }
.consult-card ul { list-style: none; padding: 0; margin: 24px 0 0; }
.consult-card li { padding: 12px 0 12px 28px; border-top: 1px solid var(--line); position: relative; font-size: 15px; color: var(--text-2); }
.consult-card li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 10px; height: 1px; background: var(--accent-text); }
.consult-card .btn { margin-top: 28px; }
.consult-card small { display: block; margin-top: 16px; color: var(--muted); font-size: 12px; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 14em; margin: 18px auto 22px; }
.cta-band .lead { margin: 0 auto 36px; text-align: center; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-2); color: var(--text-2); border-top: 1px solid var(--line); padding: 72px 0 36px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.site-footer .tagline { color: var(--muted); margin-top: 10px; }
.site-footer h4 { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin: 0 0 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li + li { margin-top: 10px; }
.site-footer a:hover { color: var(--accent-text); }
.footer-legal { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 24px; font-size: 12px; color: var(--muted); line-height: 1.7; }
.footer-legal p { max-width: 62em; }
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .footer-legal { grid-template-columns: 1fr; }
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 30;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wa-bg); color: var(--wa-text); box-shadow: var(--wa-shadow);
  transition: background .2s, transform .2s;
}
.wa-float:hover { background: var(--wa-bg-hover); transform: translateY(-2px); }
.wa-float svg { width: 24px; height: 24px; }
@media (max-width: 600px) { .wa-float { width: 50px; height: 50px; right: 14px; bottom: 14px; } }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0 !important; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.skeleton { background: linear-gradient(90deg, var(--surface-2), var(--bg-1), var(--surface-2)); background-size: 200% 100%; animation: sk 1.4s infinite; border-radius: var(--radius); min-height: 300px; }
@keyframes sk { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }

/* Typography v2 — "industrial": grotesk display + technical mono, no italics */
:root {
  --display: "Archivo", "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --serif: var(--display);
}
.display, h1, h2, h3, .serif { font-family: var(--display); font-weight: 500; letter-spacing: -0.03em; }
h1 { font-size: clamp(44px, 6.6vw, 92px); line-height: .98; letter-spacing: -0.045em; font-weight: 500; }
h2 { font-size: clamp(32px, 4vw, 54px); line-height: 1.04; letter-spacing: -0.035em; }
h3 { font-size: clamp(20px, 1.8vw, 24px); line-height: 1.2; letter-spacing: -0.02em; }
h1 em, h2 em { font-style: normal; color: var(--muted); }

/* Technical labels in mono */
.eyebrow, .tagline, .label-card .coll, .label-card .brandline, .label-card .status, .collection-tile .count,
.anatomy .k, .lot-card .top, .tag, .breadcrumbs, .result-meta, .hero-media figcaption, .lang-switch button,
.site-footer h4, .spec dt, .lot-card dt, .pillar .num {
  font-family: var(--mono);
  font-style: normal;
}
.eyebrow { font-size: 11px; letter-spacing: .14em; font-weight: 500; }
.tagline { letter-spacing: .16em; }
.pillar .num { font-size: 12px; letter-spacing: .08em; }
.step .n { font-family: var(--mono); font-style: normal; font-size: 13px; letter-spacing: .1em; color: var(--accent); border-top: 1px solid currentColor; padding-top: 12px; width: 48px; }
.step h3 { font-size: 22px; }

/* Wordmark: spaced uppercase grotesk (matches the Instagram mark) */
.wordmark { font-family: var(--display); font-weight: 500; font-size: 17px; letter-spacing: .42em; }

/* Product names: compact, label-like */
.label-card h3 { font-size: 28px; letter-spacing: -0.035em; font-weight: 500; }
.label-card .dose, .label-card .price, .product-info .price-block .price, .anatomy .v { font-family: var(--mono); letter-spacing: -0.01em; }
.label-card .price { font-size: 14px; }
.anatomy .v { font-size: 20px; }
.product-info h1 { font-size: clamp(48px, 6vw, 84px); }
.lot-card .name { font-family: var(--display); font-size: 34px; letter-spacing: -0.035em; }
.vial .label b { font-family: var(--display); letter-spacing: -0.03em; }
.mobile-menu nav a { font-family: var(--display); font-size: 30px; letter-spacing: -0.03em; }
details.faq summary::after { font-family: var(--mono); font-weight: 400; font-size: 22px; }

/* ---------- Home v2 sections (structure inspired by competitor review) ---------- */
.hero-points { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; padding: 0; margin: 28px 0 0; font-family: var(--mono); font-size: 12px; letter-spacing: .06em; color: var(--muted); }
.hero-points li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-right: 9px; vertical-align: middle; }
.trust-strip { background: var(--surface-glass); color: var(--text); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: clamp(40px, 6vw, 72px); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-item { display: flex; gap: 16px; align-items: flex-start; padding: 26px 24px 26px 0; }
.trust-item + .trust-item { padding-left: 24px; border-left: 1px solid var(--line); }
.ti-icon { width: 38px; height: 38px; flex: none; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; color: var(--accent-text); }
.ti-icon svg { width: 18px; height: 18px; }
.trust-item strong { display: block; font-weight: 500; font-size: 15px; }
.trust-item span { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
@media (max-width: 800px) { .trust-grid { grid-template-columns: 1fr; } .trust-item, .trust-item + .trust-item { padding: 18px 0; border-left: 0; } .trust-item + .trust-item { border-top: 1px solid var(--line); } }

.num-list { list-style: none; padding: 0; margin: 8px 0 0; }
.num-list li { display: grid; grid-template-columns: 48px 1fr; gap: 12px; padding: 22px 0; border-top: 1px solid var(--line); }
.num-list h3 { font-size: 20px; margin-bottom: 6px; }
.num-list p { font-size: 15px; color: var(--muted); }
.nl-n { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: var(--accent-text); padding-top: 5px; }
.tall-media { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 14px; }

.feature-card { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: clamp(16px, 2vw, 24px); box-shadow: var(--shadow); }
.fc-media img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 12px; }
.fc-copy { padding: 12px clamp(8px, 3vw, 40px) 12px 0; }
.fc-copy h2 { margin: 18px 0 20px; }
.fc-copy .btn-row { margin-top: 28px; }
@media (max-width: 860px) { .feature-card { grid-template-columns: 1fr; } .fc-copy { padding: 4px 8px 16px; } }

.journey { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: stretch; }
.journey-steps { display: grid; gap: 14px; align-content: start; }
.j-step { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px; }
.j-step h3 { font-size: 20px; margin: 10px 0 6px; }
.j-step p { font-size: 15px; color: var(--muted); }
.journey-steps .btn-row { margin-top: 10px; }
.journey-media img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; border-radius: 14px; }
@media (max-width: 860px) { .journey { grid-template-columns: 1fr; } .journey-media img { min-height: 0; aspect-ratio: 4 / 3; } }

.compare { border-top: 1px solid var(--line-strong); font-size: 15px; }
.cmp-row { display: grid; grid-template-columns: 1fr 1.25fr 1.25fr; border-bottom: 1px solid var(--line); }
.cmp-row > div { padding: 18px 18px 18px 0; }
.cmp-row > div + div { padding-left: 18px; }
.cmp-row [role=rowheader] { font-weight: 500; }
.cmp-row > :last-child { color: var(--muted); }
.cmp-us { background: var(--surface); color: var(--text); }
.cmp-head > div { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding-top: 14px; padding-bottom: 14px; }
.cmp-head .cmp-us { background: var(--surface); color: var(--accent-text); box-shadow: inset 0 2px 0 var(--accent); border-radius: 10px 10px 0 0; }
@media (max-width: 700px) {
  .cmp-row { grid-template-columns: 1fr 1fr; }
  .cmp-row [role=rowheader], .cmp-head > :first-child { grid-column: 1 / -1; padding-bottom: 4px; }
  .cmp-head > :first-child { display: none; }
  .cmp-row > div { padding: 12px 12px 12px 0; }
  .cmp-row > div + div { padding-left: 12px; }
  .cmp-row [role=rowheader] + div { padding-left: 12px; }
}

.cta-card { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; background: var(--surface); color: var(--text); border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 18px; padding: clamp(28px, 5vw, 56px); }
.cta-card h2 { margin: 16px 0 14px; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; }
.cta-actions .btn { width: 100%; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); font-family: var(--mono); }
.btn-ghost:hover { border-color: var(--text); color: var(--accent-text); }
@media (max-width: 800px) { .cta-card { grid-template-columns: 1fr; } }

/* ---------- Research-use gate ---------- */
.gate { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: var(--overlay); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.gate-card { width: min(520px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--surface); border-radius: 18px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow-modal); text-align: center; }
.gate-card .wordmark { display: block; margin-bottom: 22px; }
.gate-card h2 { font-size: clamp(26px, 3vw, 34px); margin: 14px 0 14px; }
.gate-card p { font-size: 14px; color: var(--muted); text-align: left; }
.gate-card p + p { margin-top: 10px; }
.gate-card .btn { width: 100%; margin-top: 10px; }
.gate-card .btn-dark { margin-top: 24px; }
.gate-card small { display: block; margin-top: 16px; font-size: 11px; color: var(--faint); font-family: var(--mono); }
.gate-open { overflow: hidden; }

/* ---------- Reconstitution calculator ---------- */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 48px); align-items: start; }
.calc-form { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: clamp(20px, 3vw, 32px); display: grid; gap: 22px; }
.calc-field label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.calc-field > select, .calc-input { width: 100%; height: 52px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); font-size: 16px; }
.calc-field > select { padding: 0 14px; }
.calc-input { display: flex; align-items: center; padding: 0 6px 0 16px; }
.calc-input input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-family: var(--mono); font-size: 18px; height: 100%; }
.calc-input span, .calc-input select { font-family: var(--mono); font-size: 14px; color: var(--muted); padding: 0 10px; }
.calc-input select { border: 0; background: none; height: 100%; width: auto; flex: none; }
.calc-input:focus-within, .calc-field > select:focus { border-color: var(--accent); outline: none; }
.calc-chips { margin-top: 10px; }
.calc-chips .chip { padding: 6px 12px; font-family: var(--mono); font-size: 12px; }
.calc-out { background: var(--surface-2); color: var(--text); border: 1px solid var(--line); border-radius: 18px; padding: clamp(20px, 3vw, 32px); position: sticky; top: calc(var(--header-h) + 16px); }
.calc-out dl { margin: 18px 0 0; }
.calc-out dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.calc-out dt { font-size: 14px; color: var(--muted); }
.calc-out dd { margin: 0; font-family: var(--mono); font-size: 17px; text-align: right; }
.calc-out .big { flex-direction: column; align-items: flex-start; }
.calc-out .big dd { text-align: left; font-family: var(--display); font-size: clamp(40px, 5vw, 60px); letter-spacing: -0.04em; line-height: 1; }
.calc-out .big small { display: block; margin-top: 8px; font-family: var(--mono); font-size: 13px; letter-spacing: 0; color: var(--muted); }
.calc-out .notice { background: var(--surface); margin-top: 20px; }
.calc-error { margin-top: 14px; color: var(--error); font-size: 14px; }
@media (max-width: 860px) { .calc { grid-template-columns: 1fr; } .calc-out { position: static; } }
/* The calculator's steps one under another, the result below them (Anton 2026-11-17: "Препарат - сила препарата - твоя доза -
   вода", "как на вики вертикально"): numbered steps, the compound's usual strengths as buttons, the suggested water as a note */
.calc.calc-v { grid-template-columns: minmax(0, 1fr); max-width: 780px; margin-inline: auto; }
.calc-v .calc-out { position: static; }
/* computers: the four fields side by side, the result under them in two columns (Anton 2026-11-17: "сделаем это
   эргономичным", then "Может горизонтальный выбор полей на десктоп версии?"); 760-1199 px two by two; phones one under another */
@media (min-width: 760px) and (max-width: 1199px) {
  .calc.calc-v { max-width: 980px; }
  .calc-v .calc-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .calc-v .calc-step { padding: 22px; }
  .calc-v .calc-step:nth-child(odd) { padding-left: 0; }
  .calc-v .calc-step:nth-child(even) { padding-right: 0; border-left: 1px solid var(--line); }
  .calc-v .calc-step:nth-child(-n+2) { padding-top: 0; border-top: 0; }
  .calc-v .calc-step:nth-child(n+3) { padding-bottom: 0; }
}
@media (min-width: 1200px) {
  .calc.calc-v { max-width: 1180px; }
  .calc-v .calc-form { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(0, 1fr); }
  .calc-v .calc-step { padding: 0 22px; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; }
  .calc-v .calc-step:first-child { padding-left: 0; }
  .calc-v .calc-step:last-child { padding-right: 0; }
  .calc-v .calc-step + .calc-step { border-top: 0; border-left: 1px solid var(--line); }
  .calc-v .calc-n { width: 24px; height: 24px; margin-top: -3px; font-size: 12px; }
  .calc-v .calc-step .calc-input { max-width: none; }
  .calc-v .calc-field > select { font-size: 15px; padding: 0 8px 0 12px; }   /* the longest name fits (Cagrilintide + Semaglutide) */
  .calc-v .calc-warn, .calc-v .calc-hint { font-size: 12.5px; }
  .calc-v .calc-out { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); column-gap: 48px; align-items: start;
    grid-template-areas: "eb dl" "say dl" "syr dl" "syc dl" "err err" "note note"; }
  .calc-v .calc-out > .calc-say { grid-area: say; }
  .calc-v .calc-out > .eyebrow { grid-area: eb; }
  .calc-v .calc-out > .syringe { grid-area: syr; }
  .calc-v .calc-out > dl { grid-area: dl; margin: 0; }
  .calc-v .calc-out > .calc-syr { grid-area: syc; border-top: 0; }
  .calc-v .calc-out > .calc-error { grid-area: err; }
  .calc-v .calc-out > .notice { grid-area: note; }
}
.calc-step .calc-input[hidden] { display: none; }
.calc-step .calc-input { max-width: 380px; }   /* short numbers: a short field */
.calc-step .chip-other { border-style: dashed; }
/* the step headings large, as a heading over each choice (Anton 2026-11-17: "Хочется сделать сильно лучше чем этот") */
.calc-v .calc-field > label:first-child { font-family: var(--display); font-size: 22px; font-weight: 400; letter-spacing: -.01em; text-transform: none;
  color: var(--text); margin-bottom: 14px; line-height: 1.2; }
.calc-v .calc-n { margin-top: 0; }
.calc-dose { padding-left: 4px; }
.calc-pm { flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface-2); color: var(--text);
  font-size: 18px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.calc-pm:hover, .calc-pm:focus-visible { border-color: var(--accent); color: var(--accent-text); }
.calc-dose input { text-align: center; padding: 0 2px; min-width: 56px; font-size: 17px; }
.calc-dose select { padding: 0 2px 0 6px; }
.calc-step .chip.is-best { border-color: var(--accent); color: var(--accent-text); }
.calc-step .chip.is-best::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; border-radius: 50%; background: var(--accent); vertical-align: 2px; }
.calc-say { margin: 12px 0 0; font-size: 17px; line-height: 1.5; color: var(--text); max-width: 46ch; }
.calc-say[hidden] { display: none; }
.calc-step .calc-chips[hidden] { display: none; }
/* the draw in a bar at the bottom while the result is off screen (phones and tablets: left of the WhatsApp button) */
.calc-bar { position: fixed; z-index: 29; left: 16px; right: 88px; bottom: 20px; min-height: 56px; display: flex; align-items: center; gap: 10px;
  padding: 0 22px; border-radius: 999px; background: var(--text); color: var(--surface); box-shadow: var(--shadow); }
.calc-bar[hidden] { display: none; }
.calc-bar span { font-size: 13px; letter-spacing: .04em; opacity: .75; }
.calc-bar b { font-family: var(--display); font-size: 24px; font-weight: 500; letter-spacing: -.02em; white-space: nowrap; }
.calc-bar small { margin-left: auto; font-family: var(--mono); font-size: 13px; opacity: .75; white-space: nowrap; }
@media (max-width: 600px) { .calc-bar { left: 14px; right: 76px; bottom: 14px; min-height: 50px; padding: 0 18px; } .calc-bar b { font-size: 21px; } }
@media (min-width: 1024px) { .calc-bar { left: 50%; right: auto; width: min(520px, calc(100% - 220px)); transform: translateX(-50%); } }   /* computers: centred, clear of the WhatsApp button */
.calc-v .calc-form { gap: 0; }
.calc-step { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 16px; align-items: start; padding: 22px 0; }
.calc-step:first-child { padding-top: 0; }
.calc-step:last-child { padding-bottom: 0; }
.calc-step + .calc-step { border-top: 1px solid var(--line); }
.calc-n { width: 30px; height: 30px; margin-top: -4px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center;
  font-family: var(--mono); font-size: 13px; color: var(--text-2); background: var(--surface); }
.calc-step .calc-chips { margin: 0 0 10px; }
.calc-step .calc-chips[hidden] { display: none; }
.calc-step .calc-chips .chip { padding: 8px 14px; font-size: 13px; }
.calc-hint .linkbtn { padding: 0; border: 0; background: none; font: inherit; color: var(--accent-text); border-bottom: 1px solid currentColor; cursor: pointer; }
.calc-syr { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 14px 0 0; border-top: 1px solid var(--line); }
.calc-syr > span { font-size: 14px; color: var(--muted); }
.calc-syr .calc-chips { margin: 0; }
@media (max-width: 600px) { .calc-step { grid-template-columns: 24px minmax(0, 1fr); gap: 10px; } .calc-n { width: 24px; height: 24px; margin-top: -3px; font-size: 12px; } }

/* ---------- Home hero (v3): copy left, vial card + glass amino-acid chain right ---------- */
.hero-v2 { position: relative; min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); overflow: hidden; isolation: isolate; }
.hero-photo { padding-top: clamp(24px, 4vw, 48px); }
.hero-photo .hero-media { margin-top: 0; }

/* Header + floating WhatsApp: always visible (CTA on every screen) */
.wordmark { display: inline-flex; align-items: center; gap: 12px; }
.header-actions .btn, .wa-float { transition: opacity .35s, transform .35s, background .2s; }

/* ---------- Brand logo (VE_LOGO in app.js; outlines from the print artwork) ---------- */
.ve-logo { display: block; width: auto; height: 22px; }
.site-footer .ve-logo--full { height: 56px; }
.gate-card .ve-logo { margin: 0 auto; }
.main-nav { gap: 26px; }

/* ---------- Calculator v2: chips + syringe ---------- */
.calc-field .calc-chips { margin: 0 0 10px; }
.calc-chips .chip[aria-pressed="true"] { background: var(--surface); color: var(--text); border-color: var(--text); }
.calc-field .calc-input input::placeholder { color: var(--faint); font-size: 14px; }
.syringe { margin: 18px 0 4px; color: var(--text-2); }
.syringe svg { width: 100%; height: auto; display: block; overflow: visible; }
.syringe text { font-family: var(--mono); font-size: 13px; fill: var(--muted); }
.syringe .fill { fill: var(--accent); opacity: .35; transition: width .35s ease; }
.syringe .plunger-seal { fill: var(--text-2); }
.calc-out .big dd small { white-space: nowrap; }

/* ---------- Fixes: trust icons, hero legibility ---------- */
.trust-item .ti-icon { display: grid; place-items: center; margin: 0; font-size: 0; color: var(--accent-text); }
.trust-item .ti-icon svg { width: 18px; height: 18px; display: block; }

/* ---------- Vial renders + descriptions (v4) ---------- */
.vial-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.vial-svg text { fill: var(--img-label-qr); }
.vial-svg .vl-brand { font-family: var(--mono); font-size: 5.6px; letter-spacing: 1.8px; fill: var(--img-label-faint); }
.vial-svg .vl-name { font-family: var(--display); font-weight: 600; letter-spacing: -.4px; }
.vial-svg .vl-coll { font-family: var(--mono); font-size: 5.6px; letter-spacing: 1.6px; fill: var(--img-label-sub); }
.vial-svg .vl-dose { font-family: var(--mono); font-size: 9px; letter-spacing: .4px; }
.vial-svg .vl-small { font-family: var(--mono); font-size: 4px; letter-spacing: .6px; fill: var(--img-label-faint); }
.vial-svg .vl-cap { font-family: var(--display); font-size: 6.4px; letter-spacing: 2.6px; fill: var(--img-cap-2); opacity: .75; }
.vial-photo { display: block; width: 100%; height: 100%; object-fit: cover; }

.label-card.has-vial { padding-top: 14px; min-height: 0; }
.label-card.has-vial .foot { margin-top: auto; padding-top: 18px; }
.label-card.has-vial .coll { margin-bottom: 20px; }
.label-card.has-vial .lc-desc { margin: -8px 0 20px; }
.lc-stage {
  position: relative; margin: 0 -10px 22px -18px; aspect-ratio: 5 / 4; border-radius: 4px; overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 50% 38%, var(--surface), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--surface-2) 72%, var(--c-default) 100%);
  display: grid; place-items: center;
}
.lc-stage .vial-svg { position: absolute; left: 0; top: 6%; width: 100%; height: 88%; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.lc-stage .vial-photo { position: absolute; inset: 0; }
.label-card:hover .lc-stage .vial-svg { transform: translateY(-4px) rotate(-1.5deg); }
.label-card.has-vial h3 { margin-top: 0; }
.label-card.has-vial .coll .dose-inline { font-family: var(--mono); letter-spacing: 0; text-transform: none; color: var(--text-2); }
.label-card .lc-desc { margin: 12px 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); }

.vial-visual .vial-svg { position: absolute; left: 0; top: 11%; width: 100%; height: 78%; }
.vial-visual { background:
    radial-gradient(ellipse 65% 55% at 50% 36%, var(--surface), transparent 70%),
    linear-gradient(180deg, var(--bg), var(--surface-2) 70%, var(--c-default)); }
.vial-visual .vial-photo { position: absolute; inset: 0; }

.mechanism { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.mechanism h2.eyebrow { font-size: 11px; margin: 0 0 14px; }
.mechanism p { margin: 0; color: var(--text-2); font-size: 16px; line-height: 1.7; }
.mechanism .mech-note { margin-top: 12px; font-size: 12px; color: var(--faint); line-height: 1.5; }
@media (max-width: 600px) { .lc-stage { aspect-ratio: 16 / 11; } }

/* ---------- Vial on transparent background (v4.1) ---------- */
.lc-stage { background: none; margin: 4px 0 14px; aspect-ratio: 1 / 1; }
.lc-stage .vial-svg { top: 3%; height: 94%; }
.vial-visual { background: none; }
.vial-visual .vial-svg { top: 6%; height: 88%; }
@media (max-width: 600px) { .lc-stage { aspect-ratio: 5 / 4; } }

/* ---------- Photoreal vial + label overlay (v5) ---------- */
.vial-ph { position: absolute; top: 2%; bottom: 2%; left: 50%; aspect-ratio: 1 / 2; transform: translateX(-50%); isolation: isolate; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.vial-ph .vial-base, .vial-ph .vial-ov { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.vial-ph .vial-ov { mix-blend-mode: multiply; }
.vial-ov text { fill: var(--img-label-ink); }
.vial-ov .vo-cap { font-family: var(--display); font-size: 17px; letter-spacing: 7px; fill: var(--img-cap); opacity: .55; }
.vial-ov .vo-brand { font-family: var(--mono); font-size: 14px; letter-spacing: 5px; fill: var(--img-label-faint); }
.vial-ov .vo-name { font-family: var(--display); font-weight: 600; letter-spacing: -1px; }
.vial-ov .vo-coll { font-family: var(--mono); font-size: 13px; letter-spacing: 4px; fill: var(--img-label-sub); }
.vial-ov .vo-dose { font-family: var(--mono); font-size: 24px; letter-spacing: 1px; }
.vial-ov .vo-small { font-family: var(--mono); font-size: 10px; letter-spacing: 1.6px; fill: var(--img-label-faint); }
.label-card:hover .lc-stage .vial-ph { transform: translateX(-50%) translateY(-4px); }
.vial-visual .vial-ph { top: 5%; bottom: 5%; }

/* ---------- Unified label language (v6): Jost, box-label style ---------- */
:root {
  --display: "Jost", "Futura", "Avenir Next", "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "Jost", "Futura", "Avenir Next", "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --serif: var(--display);
}
.display, h1, h2, h3, .serif { font-weight: 400; letter-spacing: -0.015em; }
h1 { letter-spacing: -0.03em; }
h2 { letter-spacing: -0.02em; }
.eyebrow { letter-spacing: .24em; font-weight: 500; }
.calc-input input, .calc-out dd, .calc-out .big, .label-card .price, .product-info .price-block .price { font-variant-numeric: tabular-nums; }

/* catalogue card = vial label */
.label-card.has-vial h3 { font-family: var(--display); font-weight: 500; font-size: 30px; letter-spacing: -0.01em; }
.label-card.has-vial .coll { font-size: 11px; letter-spacing: .26em; text-transform: uppercase; color: var(--muted); margin: 10px 0 0; }
.label-card .lc-dash { display: block; width: 28px; height: 1px; background: var(--text); margin: 14px 0 12px; }
.label-card.has-vial .dose { font-size: 15px; letter-spacing: .12em; margin: 0; color: var(--text-2); }
.label-card.has-vial .lc-desc { margin: 14px 0 20px; }
.label-card .lc-coa { display: flex; align-items: center; gap: 10px; }
.label-card .lc-coa small { font-size: 9px; line-height: 1.35; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); text-align: right; }
.label-card .lc-coa .qr { width: 30px; height: 30px; }
.label-card .price { font-size: 15px; font-weight: 500; letter-spacing: .02em; }
.label-card .status { letter-spacing: .12em; text-transform: uppercase; font-size: 10px; }

/* vial label overlay */
.vial-ov .vo-cap { font-family: var(--display); font-size: 17px; letter-spacing: 7px; }
.vial-ov .vo-name { font-family: var(--display); font-weight: 500; letter-spacing: 0; }
.vial-ov .vo-coll { font-family: var(--display); font-size: 14px; letter-spacing: 5px; fill: var(--img-label-coll); }
.vial-ov .vo-dose { font-family: var(--display); font-size: 22px; letter-spacing: 3px; }
.vial-ov .vo-small { font-family: var(--display); font-size: 10.5px; letter-spacing: 2.4px; fill: var(--img-label-sub); }

/* ---------- Label close-up tile, built from the live vial (v7) ---------- */
.vial-closeup { position: relative; overflow: hidden; border-radius: 14px;
  background: radial-gradient(ellipse 70% 60% at 50% 40%, var(--surface), transparent 70%), linear-gradient(180deg, var(--bg), var(--surface-2) 70%, var(--c-default)); }
.vial-closeup.wide { aspect-ratio: 583 / 367; border-radius: var(--radius); }
.vial-closeup .vial-ph { top: -111%; bottom: auto; height: 230%; }
.vial-ov .vo-lot { font-family: var(--display); font-weight: 500; letter-spacing: 1.2px; fill: var(--img-label-ink); }
.vial-ov .vo-small { letter-spacing: 1.4px; }

/* ---------- Brand name in running text: the label wordmark VITΛL ERΛ at cap height, in the text colour.
   Screen readers / search get "Vital Era" (sr-only); without JS the fallback text "VITAL ERA" shows. ---------- */
.brand { white-space: nowrap; font-style: normal; }
.brand-mark { display: inline-block; letter-spacing: .14em; }
.brand-mark .ve-logo { display: inline-block; height: .7em; width: auto; vertical-align: baseline; }
.brand-labs { margin-left: .45em; letter-spacing: .14em; margin-right: -.14em; }

/* ---------- Home hero v3 ---------- */
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero-text .tagline { margin-bottom: 26px; }
.hero-text h1 { max-width: 9.5em; }
.hero-rule { display: block; width: 56px; height: 1px; background: var(--text); margin: 30px 0 26px; }
.hero-text .lead { max-width: 30em; }
.hero-feats { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 16px; }
.hero-feats li { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 18px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--text-2); }
.hero-feats .hf-icon { display: grid; place-items: center start; height: 34px; border-right: 1px solid var(--line-strong); color: var(--text); }
.hero-feats .hf-icon svg { width: 26px; height: 26px; }
.hero-cta { margin-top: 38px; }
.hero-cta .btn { min-height: 56px; padding: 0 32px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; }
.hero-ruo { display: flex; align-items: center; gap: 14px; margin-top: 24px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.hero-ruo::before { content: ""; width: 36px; height: 1px; background: var(--line-strong); }

@keyframes glass-float { from { transform: translateY(0); } to { transform: translateY(-8px); } }
@media (max-width: 900px) {
  .hero-v2 { min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { justify-self: center; max-width: 440px; }
}

/* hero scene: photoreal layers (site-images-v7), positions in % of the square box */
.hero-visual { position: relative; width: 100%; max-width: 640px; aspect-ratio: 1 / 1; justify-self: end; }
.hv-layer { position: absolute; will-change: transform; }
.hv-layer img { display: block; width: 100%; height: auto; }
.hv-cluster { left: -4%; top: -2%; width: 44%; opacity: .5; filter: blur(1.4px); }
.hv-chain { left: -8%; top: 4%; width: 112%; }
.hv-chain img, .hv-cluster img { animation: glass-float 9s ease-in-out infinite alternate; }
.hv-cluster img { animation-duration: 12s; animation-direction: alternate-reverse; }
.hv-hero { left: 14%; bottom: 2%; width: 72%; }
.hv-beads { right: -12%; bottom: -10%; width: 42%; filter: blur(2.2px);
  -webkit-mask-image: radial-gradient(ellipse 62% 62% at 62% 40%, #000 58%, transparent 100%); mask-image: radial-gradient(ellipse 62% 62% at 62% 40%, #000 58%, transparent 100%); }
@media (prefers-reduced-motion: reduce) { .hv-chain img, .hv-cluster img { animation: none; } }

/* "Enter your" + name: the name is the hero (wordmark, navy); the words around it are small spaced caps like LABS on the box */
.h-pre { display: block; font-family: var(--display); font-weight: 300; font-size: .24em; line-height: 1.2; letter-spacing: .34em; text-transform: uppercase; color: var(--text-2); margin: 0 0 .75em .08em; }
.h-name + .h-pre { margin: .75em 0 0 .08em; }
.h-name { display: block; color: var(--text); }

/* hero vial: scroll-driven light (no gyroscope). --sheen 0→1 with scroll; the vial outline itself is the mask, faded out above
   the marble block (Anton 2026-11-19, his arrow at the vial's foot: a hard clip rectangle used to light a sharp corner of the block) */
.hv-hero { --sheen: 0; }
.hv-sheen { position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen;
  -webkit-mask: url(/assets/img/site-images-v8/hero-vial-plinth-4.webp) center / 100% 100% no-repeat, linear-gradient(to bottom, #000 62%, transparent 72%);
  -webkit-mask-composite: source-in;
  mask: url(/assets/img/site-images-v8/hero-vial-plinth-4.webp) center / 100% 100% no-repeat, linear-gradient(to bottom, #000 62%, transparent 72%);
  mask-composite: intersect;   /* masks only (alpha), no colour shown */
  background: linear-gradient(105deg, transparent calc(var(--sheen) * 160% - 60%), rgba(255, 255, 255, .9) calc(var(--sheen) * 160% - 45%), transparent calc(var(--sheen) * 160% - 30%)); }
.hv-grains { position: absolute; left: 33.6%; width: 33.5%; top: 68%; height: 9.1%; pointer-events: none; }
.hv-grains i { position: absolute; width: 4px; height: 4px; border-radius: 50%; background: var(--surface); box-shadow: 0 0 8px 2px rgba(255, 255, 255, 1), 0 0 2px 1px rgba(47, 107, 224, .35); opacity: 0; transform: translateY(calc(var(--g, 0) * -2px)); }
@media (prefers-reduced-motion: reduce) { .hv-sheen, .hv-grains { display: none; } }

/* ---------- Catalogue mega menu ---------- */
.mega { position: fixed; z-index: 45; max-height: calc(100vh - var(--header-h) - 104px); overflow: auto; overscroll-behavior: contain;
  background: var(--surface); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-modal); padding: 8px 16px 14px; }
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .mega { background: var(--menu-glass); -webkit-backdrop-filter: blur(24px) saturate(160%); backdrop-filter: blur(24px) saturate(160%); }
}
.mega[hidden] { display: none; }
.mega-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 8px 12px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.mega-label { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.mega-all { font-size: 14px; color: var(--text); border-bottom: 1px solid var(--line-strong); padding-bottom: 3px; }
.mega-all:hover, .mega-all:focus-visible { color: var(--accent-text); border-color: var(--accent); }
.mega-cols { columns: 3; column-gap: 8px; }
.mega-group { break-inside: avoid; padding: 2px 0 10px; }
.mega-group ul { list-style: none; margin: 0; padding: 0; }
.mega-coll { display: flex; align-items: center; gap: 8px; padding: 8px 8px 4px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.mega-coll i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent, var(--c-default)); flex: none; }
.mega-coll span { color: var(--faint); letter-spacing: .08em; }
.mega-coll:hover, .mega-coll:focus-visible { color: var(--accent-text); }
.mega-group a:not(.mega-coll) { display: flex; align-items: center; gap: 12px; padding: 6px 8px; border-radius: 12px; }
.mega-group a:not(.mega-coll):hover, .mega-group a:not(.mega-coll):focus-visible { background: var(--surface); }
.mega-thumb { flex: none; width: 48px; height: 48px; border-radius: 10px; overflow: hidden; background: var(--surface-2); display: grid; place-items: center; }
.mega-thumb img { width: 48px; height: 48px; object-fit: cover; display: block; }
.mega-ph { width: 30px; height: 30px; fill: none; stroke: var(--faint); stroke-width: 1.4; }
.mega-ph .mega-ph-label { fill: var(--surface); }
.mega-txt { display: flex; flex-direction: column; min-width: 0; }
.mega-name { font-size: 14px; color: var(--text); line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mega-dose { font-size: 12px; color: var(--muted); line-height: 1.3; }
@media (max-width: 960px) { .mega { display: none !important; } }

/* ---------- Home: products right under a compact first screen ---------- */
.hero-v2 { min-height: 0; padding: clamp(24px, 3vw, 40px) 0 clamp(16px, 2vw, 24px); }
.hero-text .tagline { margin-bottom: 16px; }
.hero-rule { margin: 20px 0 18px; }
.hero-feats { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 26px; }
.hero-feats li { grid-template-columns: 32px auto; gap: 12px; font-size: 11px; }
.hero-feats .hf-icon { height: 26px; }
.hero-feats .hf-icon svg { width: 20px; height: 20px; }
.hero-cta { margin-top: 24px; }
.hero-cta .btn { min-height: 50px; }
.hero-ruo { margin-top: 14px; }
.hero-visual { max-width: 470px; }
.home-products { padding-top: clamp(20px, 2.5vw, 32px); }
.home-products .section-head { margin-bottom: clamp(18px, 2vw, 28px); }
.home-products .section-head .eyebrow { margin-bottom: 10px; }
@media (max-width: 900px) { .hero-visual { max-width: 340px; } }
@media (min-width: 901px) {
  .hero-feats { flex-wrap: nowrap; gap: 20px; }
  .hero-feats li { grid-template-columns: 24px auto; gap: 10px; letter-spacing: .14em; white-space: nowrap; }
  .hero-feats .hf-icon { border-right: 0; }
}

/* compact submenus */
.mega-sub { padding: 10px; }
.sub-list { list-style: none; margin: 0; padding: 0; }
.sub-list a { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 12px; }
.sub-list a:hover, .sub-list a:focus-visible { background: var(--surface); }
.sub-name { font-size: 14px; color: var(--text); }
.sub-desc { font-size: 12px; color: var(--muted); }
.sub-lot { display: flex; gap: 8px; padding: 0 12px 12px; }
.sub-lot input { flex: 1; min-width: 0; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.sub-lot input:focus { outline: none; border-color: var(--accent); }
.main-nav a.nav-drop::before { content: ""; position: absolute; left: -10px; right: -10px; top: 100%; height: 22px; }   /* hover bridge to the panel */
section[id], .faq-group[id] { scroll-margin-top: calc(var(--header-h) + 16px); }
/* catalogue by collection: 4 balanced columns, compact rows (fits 1440×900 without inner scroll) */
.mega-cols { columns: 4; column-gap: 6px; }
.mega-group a:not(.mega-coll) { padding: 4px 6px; gap: 10px; }
.mega-group .mega-thumb, .mega-group .mega-thumb img { width: 40px; height: 40px; }
.mega-group .mega-name { font-size: 13.5px; }
@media (max-width: 1200px) { .mega-cols { columns: 3; } }
.mega-coll { display: block; letter-spacing: .16em; line-height: 1.5; }
.mega-coll i { display: inline-block; margin-right: 8px; vertical-align: 1px; }
.sub-lot input::placeholder { text-transform: none; letter-spacing: .02em; color: var(--faint); }

/* closing card: WhatsApp + Instagram with their icons */
.btn-ig { font-family: var(--sans); gap: 10px; }
.btn-ig .ig-icon { width: 20px; height: 20px; }
.cta-actions .btn svg { width: 19px; height: 19px; }

/* ---------- Line-up photo: big caption over the sky, parallax ---------- */
.hero-photo { padding-top: 0; }
.home-products { padding-bottom: clamp(40px, 5vw, 64px); }
/* In stock: always one full row (Anton 2026-11-12) - 5 cards in the 1440 px column, 4 in one row from 1100 px, 2 × 2 below */
#featured-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1100px) { #featured-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1600px) { #featured-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 1599px) { #featured-grid > :nth-child(5) { display: none; } }
.hero-photo .hero-media { overflow: hidden; border-radius: var(--radius); }
.hero-photo .hero-media img { transform: scale(var(--ph-scale, 1.06)); transform-origin: 60% 60%; will-change: transform; }
.hero-photo .hero-media::after { height: 22%; opacity: .6; }
.hero-photo .hm-title { position: absolute; left: clamp(20px, 5vw, 64px); top: clamp(28px, 9vw, 120px); bottom: auto; z-index: 1;
  display: flex; flex-direction: column; gap: 10px; max-width: 46%; text-transform: none; text-shadow: none;
  transform: translate3d(0, var(--ph-y, 0px), 0); will-change: transform; }
.hm-eyebrow { font-family: var(--display); font-size: 12px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--accent-text); }
.hm-big { font-family: var(--display); font-weight: 400; font-size: clamp(24px, 3vw, 44px); line-height: 1.08; letter-spacing: -0.02em; color: var(--text); }
@media (max-width: 700px) {
  .hero-photo .hm-title { display: flex; max-width: 70%; top: 22px; }
  .hm-big { font-size: 24px; }
}

/* ---------- Gentle reveal on scroll (added by app.js; content stays visible without JS) ---------- */
.js-reveal .rv { opacity: 0; transform: translate3d(0, 22px, 0); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--rv-d, 0ms); }
.js-reveal .rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-reveal .rv { opacity: 1; transform: none; transition: none; }
  .hero-photo .hero-media img, .hero-photo .hm-title { transform: none; }
}

/* header: photoreal glass-bead mark (cut from the hero chain render) + VITΛL ERΛ, no blue rule */
.wordmark--beads { gap: 10px; color: var(--text); }
.wordmark--beads .ve-beads { height: 32px; width: auto; flex: none; margin: -2px 0; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.wordmark--beads:hover .ve-beads { transform: rotate(-10deg) translateY(-1px); }
.wordmark--beads .ve-logo--word { height: 17px; display: block; }
@media (max-width: 600px) { .wordmark--beads .ve-beads { height: 28px; } .wordmark--beads .ve-logo--word { height: 15px; } }

/* "A higher standard" list: glass-bead bullets instead of 01/02/03 (bead cut from the hero chain render) */
.num-list .nl-n { font-size: 0; color: transparent; width: 26px; height: 26px; padding: 0; margin-top: 1px;
  background: url(/assets/img/site-images-v7/bead-bullet-v2.webp) center / contain no-repeat; filter: drop-shadow(0 3px 4px rgba(27, 42, 71, .16));
  transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.num-list li:hover .nl-n { transform: translateY(-2px) rotate(-8deg); }

/* ---------- Order: add buttons, header counter, cart / details dialog ---------- */
.label-card .lc-add { position: relative; z-index: 2; align-self: flex-start; margin-top: 14px; display: inline-flex; align-items: center; gap: 6px;
  height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); font-size: 12px; letter-spacing: .06em; }
.label-card .lc-add svg { width: 14px; height: 14px; }
.label-card .lc-add:hover, .label-card .lc-add:focus-visible { border-color: var(--accent); color: var(--accent-text); }
.order-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px 0 12px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); font-size: 13px; }
.order-btn[hidden] { display: none; }
.order-btn svg { width: 18px; height: 18px; }
.order-count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 11px; display: grid; place-items: center; }
.order-btn.bump { animation: bump .45s ease; }
@keyframes bump { 40% { transform: scale(1.08); } }
@media (max-width: 600px) { .order-btn-label { display: none; } .order-btn { padding: 0 10px; } }
.order-toast { position: fixed; z-index: 60; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; align-items: center; gap: 14px; padding: 10px 10px 10px 18px;
  border-radius: 999px; background: var(--text); color: var(--on-accent); font-size: 13px; box-shadow: var(--shadow-modal); max-width: calc(100vw - 32px); }
.order-toast[hidden] { display: none; }
.order-toast button { border: 0; border-radius: 999px; height: 32px; padding: 0 14px; background: var(--surface); color: var(--text); font-size: 12px; }
.order-dlg { position: fixed; inset: 0; z-index: 70; }
.order-dlg[hidden] { display: none; }
.order-open { overflow: hidden; }
.od-scrim { position: absolute; inset: 0; background: var(--overlay); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.od-panel { position: absolute; top: 16px; right: 16px; bottom: 16px; width: min(460px, calc(100vw - 32px)); display: flex; flex-direction: column;
  background: var(--surface); border-radius: 22px; box-shadow: var(--shadow-modal); overflow: hidden; animation: od-in .28s cubic-bezier(.2,.7,.2,1); }
@keyframes od-in { from { transform: translateX(24px); opacity: 0; } }
@media (max-width: 600px) { .od-panel { top: auto; right: 0; left: 0; bottom: 0; width: 100%; max-height: 92svh; border-radius: 22px 22px 0 0; animation-name: od-up; } }
@keyframes od-up { from { transform: translateY(24px); opacity: 0; } }
.od-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.od-head h2 { font-size: 20px; letter-spacing: -0.01em; margin: 0; }
.od-x { border: 0; background: none; width: 36px; height: 36px; border-radius: 50%; color: var(--muted); display: grid; place-items: center; }
.od-x:hover { background: var(--surface-2); color: var(--text); }
.od-x svg { width: 20px; height: 20px; }
.od-body { flex: 1; overflow: auto; padding: 18px 24px; }
.od-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.od-lines li { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 12px; }
.od-txt { display: flex; flex-direction: column; min-width: 0; }
.od-txt a { color: var(--text); font-size: 14px; }
.od-txt small { color: var(--muted); font-size: 12px; }
.od-qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; }
.od-qty button { border: 0; background: none; width: 32px; height: 32px; color: var(--text); font-size: 16px; }
.od-qty output { min-width: 18px; text-align: center; font-size: 13px; }
.od-empty { color: var(--muted); }
.od-empty a { color: var(--accent-text); }
.od-foot { border-top: 1px solid var(--line); padding: 16px 24px 20px; display: grid; gap: 10px; background: var(--bg-1); }
.od-tot { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.od-tot div, .od-total { display: flex; justify-content: space-between; gap: 16px; }
.od-tot div span:last-child { color: var(--text); }
.od-total { padding-top: 8px; border-top: 1px solid var(--line); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); align-items: baseline; }
.od-total b { font-size: 20px; letter-spacing: 0; color: var(--text); font-weight: 500; text-transform: none; }
.od-main { width: 100%; }
.od-back { border: 0; background: none; color: var(--muted); font-size: 13px; padding: 4px; }
.od-back:hover { color: var(--text); }
.od-form { display: grid; gap: 16px; }
.of-field { display: grid; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.of-label { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); padding: 0; }
.of-field input, .of-field textarea, .of-field select { width: 100%; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); padding: 11px 14px; font-size: 15px; color: var(--text); }
.of-field textarea { resize: vertical; }
.of-field input:focus, .of-field textarea:focus, .of-field select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(47, 107, 224, .12); }
.of-hint { font-size: 12px; color: var(--muted); }
.of-check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--text-2); }
.of-check input { margin-top: 3px; accent-color: var(--accent); }
.of-check input { width: auto; flex: none; padding: 0; border: 0; box-shadow: none; }
.of-missing input:not([type="checkbox"]), .of-missing textarea, .of-missing select { border-color: var(--error); }
.of-check.of-missing { color: var(--error); }
.of-err { font-size: 12px; color: var(--error); margin-top: -10px; }
/* optional details (Anton 2026-11-10): a lead line, and one confirmation before sending without them */
.of-lead { margin: 0; font-size: 13px; line-height: 1.5; color: var(--text-2); }
.od-act { display: grid; gap: 10px; }
.od-confirm { display: grid; gap: 3px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); font-size: 13px; line-height: 1.5; color: var(--text-2); }
.od-confirm b { color: var(--text); font-weight: 600; }
/* Order dialog: a scrollbar that stays visible (macOS / Windows), plus a "More below" cue that also works on phones */
.od-body::-webkit-scrollbar { width: 12px; }
.od-body::-webkit-scrollbar-track { background: var(--surface-2); }
.od-body::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 999px; border: 3px solid var(--surface-2); }
.od-body::-webkit-scrollbar-thumb:hover { background: var(--muted); }
@supports not selector(::-webkit-scrollbar) { .od-body { scrollbar-width: auto; scrollbar-color: var(--line-strong) var(--surface-2); } }
.od-more { position: relative; height: 0; z-index: 1; }
.od-more[hidden] { display: none; }
.od-more::before { content: ""; position: absolute; left: 0; right: 12px; bottom: 0; height: 64px; pointer-events: none; background: linear-gradient(transparent, var(--surface) 75%); }
.od-more button { position: absolute; left: 50%; bottom: 8px; transform: translateX(calc(-50% - 6px)); white-space: nowrap; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); color: var(--text-2); font-size: 12px; padding: 5px 14px; }
.od-more button:hover { color: var(--text); border-color: var(--text-2); }

/* ---------- Product cards: lift (existing) + vial zooms in, light sweeps across the glass ---------- */
.lc-stage .vial-photo { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.lc-stage::after { content: ""; position: absolute; left: 33%; right: 33%; top: 11%; bottom: 11%; z-index: 1; pointer-events: none; border-radius: 10px;
  background: linear-gradient(105deg, transparent 40%, var(--sheen-light) 50%, transparent 60%) 130% 0 / 300% 100% no-repeat; mix-blend-mode: screen;
  transition: transform .6s cubic-bezier(.2,.7,.2,1); }
@media (hover: hover) and (pointer: fine) {
  .label-card:hover .lc-stage .vial-photo { transform: scale(1.08); }
  .label-card:hover .lc-stage::after { transform: scale(1.08); background-position: -30% 0; transition: transform .6s cubic-bezier(.2,.7,.2,1), background-position .9s ease-out; }
}
@media (prefers-reduced-motion: reduce) {
  .lc-stage .vial-photo { transition: none; }
  .lc-stage::after { display: none; }
  .label-card:hover .lc-stage .vial-photo { transform: none; }
}
.hero-photo .hm-title { max-width: 9em; font-size: clamp(24px, 3vw, 44px); }
.hm-eyebrow { font-size: 12px; }
@media (max-width: 700px) {
  .hero-photo .hero-media img { object-position: center; }
  .hero-photo .hm-title { top: 16px; left: 16px; transform: none; gap: 4px; max-width: none; }
  .hm-big { font-size: 22px; }
  .hero-photo .hero-media img { transform-origin: 50% 60%; }
}

/* Lab result: product page block and search results on /quality/ */
.lab-result { margin-top: 32px; padding: 22px 22px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.lab-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.lab-head h2.eyebrow { font-size: 11px; margin: 0; }
.lab-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 18px 0 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lab-tiles > div { padding: 14px 12px; min-width: 0; }
.lab-tiles > div:first-child { padding-left: 0; }
.lab-tiles > div + div { border-left: 1px solid var(--line); }
.lab-tiles span { display: block; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lab-tiles b { display: block; margin-top: 6px; font-family: var(--display); font-size: 21px; font-weight: 500; letter-spacing: -.02em; line-height: 1.15; color: var(--text); }
.lab-line { margin: 8px 0 0; font-size: 14px; line-height: 1.55; color: var(--text-2); }
.lab-code { margin-left: 10px; font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.lab-note { margin: 12px 0 0; font-size: 12px; line-height: 1.5; color: var(--faint); }
.lot-result .lot-card + .lot-card { margin-top: 16px; }
.lot-rows ul { list-style: none; margin: 16px 0 0; padding: 0; }
.lot-rows li { display: flex; flex-wrap: wrap; gap: 4px 14px; justify-content: space-between; padding: 11px 0; border-top: 1px solid var(--line); font-size: 14px; }
.lot-rows li a { color: var(--accent-text); border-bottom: 1px solid currentColor; }
@media (max-width: 480px) { .lab-result { padding: 18px 16px 16px; } .lab-tiles b { font-size: 17px; } .lab-tiles > div { padding: 12px 8px; } .lab-tiles span { font-size: 10px; letter-spacing: .03em; white-space: nowrap; } .lot-card { padding: 24px 20px; } .lot-card .top > span:first-child { white-space: nowrap; } .lot-card .tag { letter-spacing: .06em; padding: 4px 10px; text-align: center; } }

/* Calculator: where the amount comes from, water for a round amount per unit */
.calc-src { margin: 10px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.calc-src a { color: var(--accent-text); border-bottom: 1px solid currentColor; white-space: nowrap; }
.calc-src button { margin-left: 8px; padding: 0; border: 0; background: none; font: inherit; color: var(--accent-text); border-bottom: 1px solid currentColor; cursor: pointer; white-space: nowrap; }
.calc-fit-label { margin: 16px 0 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.calc-fit .chip { padding: 6px 12px; font-family: var(--mono); font-size: 12px; }

.product-media { min-width: 0; }

/* ---------- Referral page ---------- */
.ref-cta { margin-top: 32px; }
.ref-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: clamp(40px, 6vw, 72px); }
.ref-stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px 26px; }
.ref-stat-key { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.ref-num { font-family: var(--serif); font-size: clamp(64px, 7vw, 96px); line-height: .9; letter-spacing: -.03em; color: var(--text); }
.ref-num span { color: var(--accent-text); font-style: italic; margin-left: 2px; }
.ref-stat h3 { font-size: 22px; margin: 16px 0 8px; }
.ref-stat p { font-size: 14px; color: var(--muted); }
.ref-example { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.ref-example li { padding: 24px; display: grid; gap: 6px; align-content: start; position: relative; }
.ref-example li + li { border-left: 1px solid var(--line); }
.ref-example li + li::before { content: "→"; position: absolute; left: -11px; top: 26px; width: 20px; text-align: center; background: var(--surface); color: var(--accent-text); font-size: 14px; }
.ref-example small { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.ref-example b { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.6vw, 36px); color: var(--text); letter-spacing: -.01em; }
.ref-example-key b { color: var(--accent-text); }
.ref-example span { font-size: 13px; color: var(--muted); }
.ref-terms ol { list-style: none; margin: 16px 0 20px; padding: 0; counter-reset: rt; }
.ref-terms li { counter-increment: rt; padding: 12px 0 12px 32px; font-size: 14px; }
.ref-terms li::before { content: counter(rt); top: 10px; left: 0; width: auto; height: auto; background: none; font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1; color: var(--accent-text); }
.order-toast a { color: inherit; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
@media (max-width: 960px) { .ref-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .ref-stats { grid-template-columns: 1fr; } .ref-example { grid-template-columns: 1fr; }
  .ref-example li + li { border-left: 0; border-top: 1px solid var(--line); } .ref-example li + li::before { display: none; } .ref-cta .btn { width: 100%; } }


/* ---------------- Articles (EN/ID content blocks switch with <html lang>) ---------------- */
[data-l="id"] { display: none !important; }
html[lang="id"] [data-l="en"] { display: none !important; }
html[lang="id"] [data-l="id"] { display: revert !important; }
.art-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.art-card { display: flex; flex-direction: column; gap: 14px; padding: 28px; background: var(--surface); color: inherit; text-decoration: none; }
.art-card h2 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.15; }
.art-card p { color: var(--muted); flex: 1; }
.art-card:hover h2 { color: var(--accent-text); }
.art-card .link-arrow { align-self: flex-start; }
.article-hero h1 { font-size: clamp(36px, 5vw, 64px); max-width: 16em; }
.article-hero .back { margin-bottom: 28px; }
.article-body a { color: var(--accent-text); border-bottom: 1px solid var(--line-strong); }
.table-wrap { overflow-x: auto; margin: 20px 0; }
.art-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.art-table th, .art-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.art-table th { font-weight: 600; color: var(--text); }
.art-table td { color: var(--muted); }
.art-notice { margin-top: 48px; }
.art-updated { margin-top: 12px; font-size: 13px; color: var(--muted); }
.art-more { margin-top: 48px; border-top: 1px solid var(--line); padding-top: 28px; }
.art-more h2 { font-size: 24px; margin-bottom: 14px; }
.art-links { list-style: none; padding: 0; display: grid; gap: 10px; }
.art-links a { border-bottom: 1px solid var(--line-strong); }
.article-hero .back { display: flex; width: max-content; }
/* Compound database blocks (product page) */
.mechanism p + p { margin-top: 12px; }
.reg-list { margin: 0; padding: 0; list-style: none; }
.reg-list li { padding: 8px 0; border-top: 1px solid var(--line); color: var(--text-2); font-size: 15px; }
.reg-list li:first-child { border-top: 0; padding-top: 0; }
.refs-text { font-size: 14px !important; }
.spec .spec-box dd ul { margin: 0; padding: 0; list-style: none; }
.spec .spec-box dd li + li { margin-top: 4px; }
.wiki-note { margin: 14px 0 0; font-size: 12px; color: var(--faint); }
.calc-warn { margin: 10px 0 0; padding: 10px 12px; border-left: 3px solid var(--accent); background: var(--surface); font-size: 13px; line-height: 1.5; color: var(--text); }
.art-short { margin: 0 0 28px; padding: 16px 20px; border-left: 3px solid var(--accent); background: var(--surface); }
.art-short ul { margin: 6px 0 0; }

/* Header (6 items + language, order, WhatsApp): tighter on small laptops so it never overflows */
@media (max-width: 1280px) { .main-nav { gap: 18px; } }
@media (min-width: 961px) and (max-width: 1360px) { .order-btn-label { display: none; } }
@media (min-width: 961px) and (max-width: 1100px) {   /* header WhatsApp button icon-only (name kept for screen readers; floating button stays) */
  .header-actions .btn-wa span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
.main-nav a { white-space: nowrap; }
.order-btn-label { white-space: nowrap; }

/* ---------- Site review 2026-11-09: readability, shopping on phones, buy notes ---------- */
/* cards: price and labels easier to read */
.label-card .price { font-size: 18px; font-weight: 600; letter-spacing: 0; }
.label-card.has-vial .coll { font-size: 12px; letter-spacing: .16em; }
.label-card .status { font-size: 11px; letter-spacing: .1em; }
.label-card .lc-add { height: 38px; padding: 0 16px; font-size: 13px; letter-spacing: .04em; }
.hero-feats li { font-size: 12px; letter-spacing: .16em; color: var(--text); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-cta .btn { padding: 0 24px; letter-spacing: .12em; }
@media (max-width: 600px) { .hero-cta .btn { width: 100%; } }

/* catalogue: shorter hero, in-stock toggle next to the count */
.page-hero--compact { padding: clamp(40px, 6vw, 72px) 0 clamp(28px, 4vw, 44px); }
.page-hero--compact h1 { font-size: clamp(40px, 5.2vw, 72px); }
.page-hero--compact .lead { margin-top: 18px; }
.result-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.result-bar .result-meta { margin: 0; }
.stock-only { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text); cursor: pointer; }
.stock-only input { width: 18px; height: 18px; accent-color: var(--accent-text); margin: 0; }

/* phones: two compact cards per row */
@media (max-width: 600px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .label-card.has-vial { padding: 8px 10px 12px 14px; }
  .label-card::before { width: 4px; }
  .lc-stage { aspect-ratio: 1 / 1; margin: 0 0 8px; }
  .label-card .lc-dash, .label-card .lc-desc, .label-card.has-vial .coll { display: none; }
  .label-card.has-vial h3 { font-size: 19px; line-height: 1.15; }
  .label-card.has-vial .dose { font-size: 13px; letter-spacing: .06em; margin-top: 4px; }
  .label-card.has-vial .foot { padding-top: 10px; margin-top: auto; flex-direction: column; align-items: flex-start; gap: 2px; }
  .label-card .price { font-size: 16px; }
  .label-card .status { font-size: 10px; }
  .label-card .lc-add { width: 100%; justify-content: center; margin-top: 10px; }
  .label-card:hover { transform: none; }
}

/* product page: delivery, water, payment right under the buttons */
.buy-notes { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; font-size: 14px; color: var(--text-2); }
.buy-notes li { position: relative; padding-left: 22px; }
.buy-notes li::before { content: ""; position: absolute; left: 2px; top: .45em; width: 10px; height: 5px; border-left: 1.6px solid var(--success); border-bottom: 1.6px solid var(--success); transform: rotate(-45deg); }

/* Product page buy bar (2026-11-10/11; Anton 2026-11-13: buying as it was): "Add to order" and "Order on WhatsApp" with the
   quantity chosen in the card. After #product-root and sticky: stuck to the bottom of the screen from the first screen on, past
   the card in its own place right above the related products, then pinned under the header. While it is stuck at the bottom
   the round WhatsApp button stands above it (app.js: bb-stuck), never hidden. */
:root { --bb-h: 72px; }
.buy-bar { position: sticky; top: var(--header-h); bottom: 0; z-index: 25; padding-bottom: env(safe-area-inset-bottom);
  background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
body.bb-stuck .buy-bar, body.bb-top .buy-bar { box-shadow: var(--shadow); }
body.bb-stuck .wa-float { bottom: calc(var(--bb-h) + 16px + env(safe-area-inset-bottom)); }
.bb-in { height: var(--bb-h); display: flex; align-items: center; gap: 20px; }
@media (max-width: 1023px) { .bb-info { flex: 1; text-align: left; } }
.bb-info { display: grid; gap: 2px; margin-left: auto; text-align: right; white-space: nowrap; }
.bb-info b { font-family: var(--mono); font-size: 17px; font-weight: 500; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.bb-info > span { font-size: 12px; color: var(--muted); }
.bb-btns { flex: none; display: flex; gap: 10px; }
.buy-bar .btn { min-height: 44px; padding: 0 20px; }
.bb-wa svg { color: var(--wa-icon); }   /* WhatsApp green on the icon only (Anton 2026-11-12) */
.bb-short { display: none; }
body.bb-stuck .order-toast { bottom: calc(var(--bb-h) + 16px + env(safe-area-inset-bottom)); }   /* "added" note above the bar */
@media (max-width: 760px) {
  :root { --bb-h: 64px; }
  .bb-in { gap: 10px; }
  .bb-btns { gap: 8px; }
  .buy-bar .btn { padding: 0 16px; gap: 8px; }
  .bb-long { display: none; } .bb-short { display: inline; }
}
@media (max-width: 600px) { body.bb-stuck .order-toast { bottom: calc(var(--bb-h) + 80px + env(safe-area-inset-bottom)); } }   /* above the round button too */
@media (max-width: 400px) { .buy-bar .btn { padding: 0 12px; } }
@media (max-width: 370px) {   /* smallest phones: the WhatsApp button keeps only its icon */
  .bb-btns [data-buy] { width: 44px; padding: 0; }
  .bb-btns [data-buy] .bb-short { display: none; }
}
.spec dd { min-width: 0; overflow-wrap: anywhere; }

/* cart: free-delivery hint and the water line */
.od-tot .od-free { margin: 2px 0 0; font-size: 13px; color: var(--accent-text); }
.od-tot .od-water { margin: 2px 0 0; font-size: 13px; color: var(--muted); }

/* about: facts list */
.about-facts p strong { color: var(--text); font-weight: 600; }
.about-facts a { border-bottom: 1px solid currentColor; }
/* phones: collection chips in one swipeable row, so products start higher */
@media (max-width: 600px) {
  .controls .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 2px 16px 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .controls .chips::-webkit-scrollbar { display: none; }
  .controls .chips .chip { flex: none; }
}
/* photo caption never runs into the vials: the vials start at ~35 % of the photo width (desktop crop) */
@media (min-width: 701px) { .hero-photo .hm-title { max-width: min(9em, 27%); } }
.page-hero .lead a { border-bottom: 1px solid currentColor; }
/* hero feature row stays clear of the glass chain on laptops: three items wrap into two lines */
@media (min-width: 761px) { .hero-feats { max-width: 440px; flex-wrap: wrap; } }

/* toasts: multi-line text gets a card shape, never an oval; on phones full width above the WhatsApp button */
.ref-toast { border-radius: 16px; line-height: 1.45; padding: 12px 16px; }
.ref-toast a { flex: none; color: var(--on-accent); border-bottom: 1px solid currentColor; white-space: nowrap; }
@media (max-width: 600px) {
  .order-toast { left: 16px; right: 16px; transform: none; max-width: none; bottom: calc(80px + env(safe-area-inset-bottom)); }
  .ref-toast { border-radius: 14px; }
}
/* ---------- Full compound card (product page) ---------- */
.key-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; margin: 22px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); }
.key-facts div { min-width: 0; }
.key-facts dt { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.key-facts dd { margin: 4px 0 0; font-size: 15px; color: var(--text); line-height: 1.4; }
.info-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.info-list li { position: relative; padding-left: 18px; color: var(--text-2); font-size: 15px; line-height: 1.55; }
.info-list li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-text); opacity: .6; }
.reg-table { margin: 0; padding: 0; list-style: none; }
.reg-table li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; }
.reg-table li:first-child { border-top: 0; padding-top: 0; }
.reg-table .rg-where { color: var(--muted); flex: none; }
.reg-table .rg-status { text-align: right; color: var(--text); }
.reg-table .rg-status::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 8px; vertical-align: 1px; background: var(--faint); }
.reg-table .lv-approved::before { background: var(--success); }
.reg-table .lv-limited::before { background: var(--accent-text); }
.reg-table .lv-prohibited::before { background: var(--error); }
.reg-table .rg-status a { color: inherit; border-bottom: 1px solid var(--line-strong); }
.refs-list { margin: 0; padding-left: 20px; display: grid; gap: 10px; font-size: 14px; line-height: 1.5; color: var(--text-2); }
.refs-list a { color: var(--text); border-bottom: 1px solid var(--line-strong); }
.refs-list span { display: block; color: var(--muted); font-size: 13px; }
@media (max-width: 600px) { .reg-table li { flex-direction: column; gap: 2px; } .reg-table .rg-status { text-align: left; } }
/* ---------- Product card (Anton 2026-11-13: between the card of 2026-11-11 and the one of 2026-11-12) ----------
   The structure of 2026-11-11: the large photo, whole on the first screen above the buy bar | name, price and the rest in one
   column; the reading part below with a narrow sticky rail on computers; the buy bar after the card. The items and their
   formatting of 2026-11-12: trust marks and the lab result under the photo; tags, price, strength, the quantity offers and the
   pack, description, buy notes, options; Overview, Product details, About, Questions, Safety information. One column up to
   860 px (phones: the lab result after the buying notes). */
.product-layout { padding-bottom: clamp(40px, 5vw, 64px); }
.hero-id { position: relative; }
@media (min-width: 861px) {
  .hero-id { margin-inline: auto; width: min(100%, calc((100vh - var(--header-h) - var(--bb-h) - 110px) * .8)); }
  @supports (height: 100svh) { .hero-id { width: min(100%, calc((100svh - var(--header-h) - var(--bb-h) - 110px) * .8)); } }
  .lab-in-info { display: none; }
}
@media (max-width: 860px) {
  .product-layout { grid-template-columns: minmax(0, 1fr); }
  .hero-id .vial-visual { aspect-ratio: 1 / 1; }
  .lab-under-photo { display: none; }
}
.lab-under-photo { margin-top: 16px; }
.read-mid { display: none; }
/* from 1024 px (iPad landscape included, Anton 2026-11-13: "на айпаде анимация не работает") the lab result is in the reading
   part, as on computers, so the photo column holds the photo alone and stays pinned */
@media (min-width: 1024px) {
  .read-mid { display: grid; align-content: start; }
  .read-lab .lab-result { margin-top: 0; padding: 18px 18px 16px; }
  .read-lab .lab-tiles > div { padding: 12px 8px; }
  .read-lab .lab-tiles > div:first-child { padding-left: 0; }
  .read-lab .lab-tiles span { letter-spacing: .04em; white-space: nowrap; }
  .read-lab .lab-tiles b { font-size: 17px; white-space: nowrap; }
  .product-media .lab-under-photo { display: none; }
}
/* the middle column (lab result, safety information, product details): narrower cards */
.read-mid .pd-box { padding: 18px 20px; }
.read-mid .sci-more > summary { letter-spacing: .14em; }
/* the trust marks on the photo, in the empty band under the vial (Anton 2026-11-13, his sketch; the packshots end at 79-85 % of
   their height); up to 860 px under the photo */
@media (min-width: 861px) {
  .hero-id .pd-trust { position: absolute; left: 5%; right: 5%; bottom: 14px; z-index: 1; margin: 0; max-width: none; padding: 10px 14px;
    border-radius: 12px; background: var(--surface-glass); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
  .hero-id .pd-trust li { font-size: 12.5px; }
  .hero-id .pd-trust svg { width: 22px; height: 22px; }
}
/* strengths in the dose line, "10 mg · 20 mg · per vial" (Anton 2026-11-13, his sketch), the current one marked; a click
   switches in place (app.js switchProduct) */
.product-info .type:has(.pd-doses) { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.pd-doses { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.pd-doses > span { color: var(--faint); }
.pd-dc { display: inline-block; padding: 2px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--text);
  font-size: 15px; font-weight: 500; line-height: 1.5; transition: border-color .2s ease, background .2s ease, color .2s ease; }
.pd-dc:hover { border-color: var(--line-strong); }
.pd-dc.on { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, var(--surface)); color: var(--accent-text); }
/* the overview as a card under the price (Anton 2026-11-13, his sketch) */
.pi-overview { margin-top: 22px; padding: clamp(20px, 2vw, 28px); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.pi-overview > p:not([class]) { color: var(--text-2); font-size: 16px; line-height: 1.65; }
.pi-overview > p:not([class]) + p:not([class]) { margin-top: 12px; }
.pi-overview .pd-known { margin-top: 20px; }
.product-media .lab-result { padding: 18px 18px 16px; }
.product-media .lab-tiles > div { padding: 12px 8px; }
.product-media .lab-tiles > div:first-child { padding-left: 0; }
.product-media .lab-tiles span { letter-spacing: .04em; }
.product-media .lab-tiles b { font-size: clamp(16px, 1.4vw, 19px); white-space: nowrap; }
/* name and dose | the description, what it is known for, the research areas */
.product-info h1 { font-size: clamp(40px, 4.4vw, 64px); margin: 12px 0 6px; }
.pd-known { margin-top: 24px; }
.pd-k { margin: 0 0 4px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .2em; line-height: 1.4; text-transform: uppercase; color: var(--muted); }
/* what it is known for: tiles, the mark in the collection colour (the collection class sets --accent), detail on a click */
/* compact chips (Anton 2026-11-12: "эти штуки можно и поменьше"); an opened one takes the full width for its detail */
.pd-kt { list-style: none; margin: 10px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pd-kt li { min-width: 0; max-width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; }
.pd-kt li:has(details[open]) { flex-basis: 100%; border-radius: 14px; }
.pd-kt summary, .pd-kt .kt { display: flex; align-items: center; gap: 8px; padding: 5px 14px 5px 5px; list-style: none; }
.pd-kt summary { cursor: pointer; }
.pd-kt summary::-webkit-details-marker { display: none; }
.pd-kt i { flex: 0 0 auto; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: var(--text); }
.pd-kt i svg { width: 13px; height: 13px; }
.pd-kt span { font-size: 14px; font-weight: 600; line-height: 1.3; color: var(--text); }
.pd-kt details[open] summary span { color: var(--accent-text); }
.pd-kt details p { margin: 0; padding: 2px 16px 6px 35px; font-size: 13.5px; line-height: 1.55; color: var(--text-2); }
.pd-kt details small { display: block; padding: 0 16px 10px 35px; font-size: 12px; color: var(--muted); }
/* buying, under the text in the same column: price and availability under the name, then options, buttons and notes side by side */
.product-info .pd-price-m { display: flex; margin-top: 18px; padding: 14px 0; }
.pi-buy { margin-top: 6px; }
.pd-links { padding: 0 0 14px; }
.pd-safety-link { display: inline-block; margin-top: 14px; font-size: 13px; color: var(--accent-text); border-bottom: 1px solid currentColor; }
.pi-buy .buy-opts { margin-top: 0; }
.pi-buy .buy-notes { margin-top: 16px; font-size: 13.5px; }
@media (min-width: 768px) {
  .pi-buy .buy-opts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pi-buy .buy-notes { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
}
@media (min-width: 861px) and (max-width: 1099px) { .product-info h1 { font-size: clamp(40px, 5.4vw, 56px); } }
/* Reading part (2026-11-10/11): on computers a narrow sticky rail on the left (photo, name, "on this page") and the sections
   one under the other, separated by a line (headings and texts formatted as on 2026-11-12); the buy bar settles right below */
.product-read { padding: clamp(28px, 3.4vw, 44px) 0 clamp(24px, 2.6vw, 36px); }
.read-body { min-width: 0; max-width: 760px; }
.read-rail { display: none; }
@media (min-width: 1024px) {
  .product-read { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(48px, 6vw, 96px); align-items: start; }
  .read-rail { display: block; position: sticky; top: calc(var(--header-h) + 28px); }
}
/* wide screens: rail | lab result, safety information, product details | About, questions (Anton 2026-11-13); from 1100 px so
   iPads in landscape (1133-1210 px) get the same three columns, a little narrower */
@media (min-width: 1024px) and (max-width: 1099px) {
  .product-read { grid-template-rows: auto 1fr; row-gap: 32px; }
  .read-rail { grid-row: 1 / span 2; }
  .read-mid, .read-body { grid-column: 2; }
}
@media (min-width: 1100px) { .product-read { grid-template-columns: 180px minmax(0, 280px) minmax(0, 1fr); gap: clamp(28px, 2.6vw, 44px); } }
@media (min-width: 1280px) { .product-read { grid-template-columns: 200px minmax(0, 300px) minmax(0, 1fr); } }
@media (min-width: 1440px) { .product-read { grid-template-columns: 220px 340px minmax(0, 1fr); } }
.rail-photo { width: 100%; aspect-ratio: 4 / 5; }
.rail-card b { display: block; margin-top: 16px; font-family: var(--display); font-size: 26px; font-weight: 400; line-height: 1.1; letter-spacing: -0.01em; color: var(--text); overflow-wrap: anywhere; }
.rail-card span { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }
.rail-toc { display: grid; margin-top: 22px; border-left: 1px solid var(--line); }
.rail-toc[hidden] { display: none; }
.rail-toc a { margin-left: -1px; padding: 6px 0 6px 14px; border-left: 1px solid transparent; font-size: 13px; line-height: 1.35; color: var(--muted); transition: color .2s, border-color .2s; }
.rail-toc a:hover { color: var(--text); }
.rail-toc a[aria-current="true"] { color: var(--text); border-left-color: var(--accent); }
@media (min-width: 1024px) and (max-height: 760px) { .rail-card b { font-size: 22px; } .rail-photo { width: 120px; } .rail-toc a { padding: 4px 0 4px 14px; } }
.pd-sec { min-width: 0; }
.read-body, .read-mid { gap: clamp(26px, 2.6vw, 36px); }
.read-body { display: grid; align-content: start; }
.read-body .pd-h, .read-mid .pd-h { margin: 0 0 12px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .24em; line-height: 1.4; text-transform: uppercase; color: var(--accent-text); }
.pd-box { min-width: 0; padding: clamp(20px, 2vw, 28px); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.pd-box .pd-expect { margin-top: 28px; }
.pd-box .pd-expect .pd-k { margin-bottom: 16px; }
.pd-about-more { margin-top: 30px; padding-top: 28px; border-top: 1px solid var(--line); }
@media (max-width: 767px) {
  .pd-box, .pi-overview { padding: 0; background: none; border: 0; border-radius: 0; }
  .read-body > .pd-sec + .pd-sec { padding-top: 28px; border-top: 1px solid var(--line); }
}
.read-body > section[id] { scroll-margin-top: calc(var(--header-h) + 24px); }
.pd-h { margin: 0 0 14px; font-size: clamp(22px, 2vw, 28px); line-height: 1.15; color: var(--text); }
.pd-box > p:not([class]) { max-width: 70ch; color: var(--text-2); font-size: 16px; line-height: 1.65; }
.read-body details.sci-more > summary { padding: 14px 0; }
/* the related products under the card: less air (Garth A4) */
body[data-page="product"] #related.section { padding: clamp(40px, 5vw, 72px) 0; }
body[data-page="product"] #related .section-head { margin-bottom: clamp(18px, 2vw, 28px); }
body[data-page="product"] #related .section-head .eyebrow { margin-bottom: 10px; }
.pd-box > p:not([class]) + p:not([class]) { margin-top: 12px; }
.pd-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 2px 32px; }
.pd-list li > span, .pd-list summary { display: block; position: relative; padding: 6px 0 6px 18px; font-size: 16px; line-height: 1.45; color: var(--text-2); }
.pd-list li > span::before, .pd-list summary::before { content: ""; position: absolute; left: 2px; top: 1.05em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-text); opacity: .6; }
.pd-list summary { cursor: pointer; list-style: none; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; }
.pd-list summary::-webkit-details-marker { display: none; }
.pd-list details[open] summary { color: var(--text); }
.pd-list details p { margin: 2px 0 8px 18px; font-size: 15px; line-height: 1.55; color: var(--text-2); }
.pd-list details small { display: block; margin: -4px 0 10px 18px; font-size: 12px; color: var(--muted); }
.sm-body .pd-list summary::before, .sm-body .pd-list li > span::before { background: var(--error); }   /* reported side effects */
/* What to expect: the steps side by side */
.pd-time { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px 28px; }
@media (min-width: 600px) { .pd-time { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .pd-time { grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); } }
.pd-time li { position: relative; min-width: 0; padding-top: 20px; border-top: 1px solid var(--line-strong); }
.pd-time li::before { content: ""; position: absolute; left: 0; top: -4px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.pd-time span { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); }
.pd-time p { margin: 8px 0 0; font-size: 15px; line-height: 1.55; color: var(--text-2); }
.pd-small { margin: 18px 0 0; font-size: 12px; line-height: 1.5; color: var(--muted); }
/* What to expect under the overview text (Anton 2026-11-12: out of the spoilers): the steps one under the other on a thin line */
.pd-time.pd-time-v { grid-template-columns: minmax(0, 1fr); gap: 0; }
.pd-time-v li { padding: 0 0 18px 26px; border-top: 0; }
.pd-time-v li:last-child { padding-bottom: 0; }
.pd-time-v li::before { top: 4px; z-index: 1; }
.pd-time-v li:not(:last-child)::after { content: ""; position: absolute; left: 3px; top: 4px; bottom: -4px; width: 1px; background: var(--line-strong); }
.pd-time-v p { margin-top: 5px; }
/* Protocols: the protocol's name, goal and facts | what to expect and when to stop */
.mechanism.pd-flat { margin: 0; padding: 0; border: 0; }
.pd-proto .proto-tabs { margin-bottom: 26px; }
@media (min-width: 900px) {
  .pd-proto .proto { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto 1fr; grid-template-areas: "head notes" "goal notes" "meta notes"; column-gap: clamp(32px, 4vw, 56px); }
  .pd-proto .proto[hidden] { display: none; }
  .pd-proto .proto-head { grid-area: head; } .pd-proto .proto-goal { grid-area: goal; } .pd-proto .proto-meta { grid-area: meta; align-self: start; }
  .pd-proto .proto-notes { grid-area: notes; margin-top: 0; }
  .pd-proto .proto-notes .pn:first-child { border-top: 0; padding-top: 0; }
}
/* Questions */
.pd-faq-list { display: grid; border-bottom: 1px solid var(--line); }
.pd-faq-list details.faq:last-child { border-bottom: 0; }
/* overview and product details (open); key facts, the educational texts and the safety information folded, one spoiler each */
.pd-about .key-facts { margin: 0; padding: 0; border-top: 0; }
@media (min-width: 900px) { .pd-about .key-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pd-about .sci-folds, .pd-safety .sci-folds { margin-top: 0; }
.pd-about .sm-body > p, .pd-about .sm-body > .pd-small { max-width: 74ch; }
/* About <name> (Anton 2026-11-12: "убрать скуку, тут мы продаем"): how it works | who it's for, what research shows open,
   evidence + how it compares + literature in one fold; no protocols */
.pd-about .pd-sub > p:not([class]) { max-width: 70ch; color: var(--text-2); font-size: 16px; line-height: 1.65; }
.pd-about .pd-sub > p:not([class]) + p:not([class]) { margin-top: 12px; }
.pd-about .pd-sub .pd-k { margin-bottom: 10px; }
.pd-about-cols { display: grid; gap: 26px clamp(32px, 4vw, 64px); }
.pd-research { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.pd-research .info-list { margin: 0; }
.pd-about .sci-folds { margin-top: 28px; }
.pd-about .sm-body > h4.pd-k { margin: 18px 0 8px; }
.pd-about .sm-body > h4.pd-k:first-child { margin-top: 4px; }
@media (min-width: 900px) {
  .pd-about-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .pd-research .info-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 4vw, 64px); }
}
.pd-details .spec { margin: 0; }
.pd-details .spec > div:first-child { border-top: 0; padding-top: 0; }
.pd-calc { margin: 18px 0 0; }
/* "For research use only" closes the reading part */
.read-body .pd-notice { margin-top: 0; }
/* phones (Garth A6): small caps headings */
@media (max-width: 767px) {
  .pd-h { margin-bottom: 14px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .24em; line-height: 1.4; text-transform: uppercase; color: var(--accent-text); }
}
.mechanism p.cp-red, .cp-red { margin: 12px 0 0; font-size: 13px; line-height: 1.5; color: var(--error); }

/* ---------- Shop options (Anton 2026-11-09): reconstitution +Rp 100,000 per vial, pen on request, build your stack ---------- */
.buy-opts { border: 0; margin: 26px 0 0; padding: 0; min-width: 0; display: grid; gap: 10px; }
.buy-opts .bo { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface-glass); cursor: pointer; transition: border-color .2s; }
.buy-opts .bo:hover { border-color: var(--line-strong); }
.buy-opts .bo:has(input:checked) { border-color: var(--accent); }
.buy-opts input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--accent-text); }
.buy-opts .bo > span { display: grid; gap: 3px; min-width: 0; }
.buy-opts b { font-weight: 500; font-size: 15px; color: var(--text); }
.buy-opts b em { font-style: normal; font-weight: 400; color: var(--muted); margin-left: 8px; }
.buy-opts small { font-size: 13px; line-height: 1.5; color: var(--muted); }
.buy-opts + .btn-row { margin-top: 18px; }
.buy-notes a { color: var(--accent-text); }
.od-opts { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; }
.od-opts label { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-2); cursor: pointer; }
.od-opts input { width: 15px; height: 15px; margin: 0; flex: none; accent-color: var(--accent-text); }
.od-tot .od-disc span:last-child { color: var(--success); }
.od-tot .od-free a { color: var(--accent-text); }
.page-hero .hero-link { margin: 18px 0 0; }

.stack-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; }
.stack-list .skeleton { height: 72px; margin-bottom: 8px; }
.sk-group + .sk-group { margin-top: 28px; }
.sk-coll { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font: 500 12px/1.2 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.sk-coll i { width: 8px; height: 8px; border-radius: 50%; background: var(--accent, var(--c-default)); flex: none; }
.sk-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sk-row { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); transition: border-color .2s; }
.sk-row.on { border-color: var(--accent); }
.sk-txt { display: grid; gap: 3px; min-width: 0; }
.sk-txt a { color: var(--text); font-size: 15px; }
.sk-txt a span { color: var(--muted); font-size: 13px; }
.sk-txt small { font-size: 13px; color: var(--muted); }
.sk-txt small b { font-weight: 500; color: var(--text); }
.sk-st { white-space: nowrap; }
.stack-sum { position: sticky; top: 96px; display: grid; gap: 14px; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); }
.stack-sum .eyebrow { margin: 0; }
.sk-sel { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; max-height: 38vh; overflow: auto; font-size: 13px; color: var(--text-2); }
.sk-sel li { display: flex; justify-content: space-between; gap: 12px; }
.sk-empty, .sk-note { margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted); }
.sk-hint { margin: 0; font-size: 13px; color: var(--accent-text); }
.sk-hint.sk-ok { color: var(--success); display: none; }   /* the discount row says it on wide screens */
.stack-sum .btn { width: 100%; justify-content: center; }
@media (max-width: 900px) {
  .stack-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  /* phones: the summary becomes a bar at the bottom while the list scrolls */
  .stack-sum { position: sticky; top: auto; bottom: 0; z-index: 20; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 14px;
    margin: 0 calc(-1 * var(--gutter)); padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); border-radius: 16px 16px 0 0; border-width: 1px 0 0; box-shadow: var(--shadow-modal); }
  .stack-sum .eyebrow, .stack-sum .sk-sel, .stack-sum .od-tot, .stack-sum .sk-note { display: none; }
  .stack-sum .sk-hint { grid-column: 1 / -1; order: -1; }
  .stack-sum .sk-hint.sk-ok { display: block; }
  .stack-sum .od-total { display: grid; gap: 2px; padding: 0; border: 0; }
  .stack-sum .btn { width: auto; }
  body[data-page="stack"] .wa-float { bottom: calc(124px + env(safe-area-inset-bottom)); }
}

/* ---------- Home hero v3 (Anton 2026-11-10): the glass scene (vial on marble + glass beads) fills the whole first
   screen; "In stock" starts below it. Phones: the scene first, then the text. ---------- */
.hero-v2 { min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; padding: clamp(28px, 4vh, 56px) 0 clamp(72px, 11vh, 120px); }
.hero-v2 .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); }
.hero-v2 .hero-visual { max-width: min(760px, 54vw, 86svh); }
/* computers (Anton 2026-11-10): the first screen uses the whole width — the text stays in line with the header logo,
   the scene grows and runs to the right edge of the screen */
@media (min-width: 901px) {
  .hero-v2 .hero-grid { width: 100%; max-width: none; margin: 0; padding-left: max(var(--gutter), calc((100% - var(--max)) / 2)); padding-right: 0;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  .hero-v2 .hero-visual { max-width: min(1000px, 60vw, 92svh); justify-self: end; margin-right: clamp(8px, 3vw, 72px); }
  /* the vial on marble a little smaller and higher (Anton 2026-11-12: "ампулу на мраморе чуть уменьшить и приподнять"):
     8 % smaller, about 5 % of the scene higher */
  .hero-v2 .hv-hero { left: 17%; bottom: 10%; width: 66%; }
}
/* wide screens: the page column is 1440 px (see "Wide screens"), the scene keeps the size it had in the 1200 px column */
@media (min-width: 1600px) { .hero-v2 .hero-visual { max-width: min(1000px, 46vw, 80svh); } }
.hero-v2 .hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-scroll { position: absolute; left: 50%; bottom: clamp(14px, 2.6vh, 28px); transform: translateX(-50%); display: grid; justify-items: center; gap: 10px;
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); }
.hero-scroll i { display: block; width: 1px; height: 34px; background: linear-gradient(var(--text-2), transparent); transform-origin: top; animation: hero-line 2.6s ease-in-out infinite; }
.hero-scroll:hover { color: var(--accent-text); }
@keyframes hero-line { 0% { transform: scaleY(0); opacity: 1; } 55% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hero-scroll i { animation: none; } }
@media (max-width: 900px) {
  .hero-v2 { min-height: calc(100svh - var(--header-h)); align-items: flex-start; padding: 4px 0 clamp(64px, 9vh, 88px); }
  .hero-v2 .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .hero-v2 .hero-visual { order: -1; justify-self: center; width: min(100%, 46svh); max-width: 460px; }
}
@media (max-width: 600px) {
  /* phones: scene, name, then the buttons on the first screen; the lead and the three points follow below */
  .hero-v2 .hero-text { display: flex; flex-direction: column; }
  .hero-v2 .hero-rule { order: 1; margin: 16px 0 0; }
  .hero-v2 .hero-cta { order: 2; margin-top: 18px; }
  .hero-v2 .hero-cta .btn { flex: 1 1 100%; }
  .hero-v2 .hero-ruo { order: 3; }
  .hero-v2 .hero-text .lead { order: 4; margin-top: 26px; }
  .hero-v2 .hero-feats { order: 5; }
}

/* ---------- Protocols on the product card (Anton 2026-11-10): protocols from the wiki, draw computed per vial ---------- */
.protocols .proto-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.protocols .proto-tabs button { font: 500 13px/1.3 var(--sans); color: var(--text-2); text-align: left; background: var(--surface-glass); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; cursor: pointer; transition: border-color .2s, color .2s; }
.protocols .proto-tabs button:hover { border-color: var(--line-strong); color: var(--text); }
.protocols .proto-tabs button[aria-selected="true"] { border-color: var(--accent); color: var(--text); background: var(--surface); }
.protocols .proto-tabs button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.proto-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 14px; }
.proto-head h3 { margin: 0; font-size: 22px; }
.proto-ev { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); border: 1px solid var(--line-strong); border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.mechanism p.proto-goal { margin-top: 8px; font-size: 15px; line-height: 1.55; color: var(--muted); }
.proto-meta { display: grid; gap: 6px; margin: 16px 0 0; font-size: 14px; }
.proto-meta div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; }
.proto-meta dt { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.proto-meta dd { margin: 0; color: var(--text-2); line-height: 1.5; }
.proto-time { list-style: none; margin: 0; padding: 0; }
.proto-time li { position: relative; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; padding: 0 0 16px; }
.proto-time li::before { content: ""; position: absolute; left: 0; top: 6px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.proto-time li::after { content: ""; position: absolute; left: 3px; top: 17px; bottom: 0; width: 1px; background: var(--line-strong); }
.proto-time li:last-child::after { display: none; }
.proto-time span { padding: 1px 0 0 20px; font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text); }
.mechanism .proto-time p { font-size: 15px; line-height: 1.55; color: var(--text-2); }
.mechanism p.proto-small { margin-top: 2px; font-size: 12px; line-height: 1.5; color: var(--muted); }
.proto-notes { display: grid; gap: 0; margin-top: 22px; }
.proto-notes .pn { padding: 16px 0; border-top: 1px solid var(--line); }
.proto-notes h4 { margin: 0 0 8px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--text); }
.mechanism .proto-notes p { font-size: 15px; line-height: 1.6; }
.proto-notes ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.proto-notes ul > li { position: relative; padding-left: 18px; color: var(--text-2); font-size: 15px; line-height: 1.55; }
.proto-notes ul > li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-text); opacity: .6; }
.proto-notes ul > li b { font-weight: 600; color: var(--text); }
.mechanism .proto-notes p.proto-small { margin-top: 2px; font-size: 12px; line-height: 1.5; color: var(--muted); }
.mechanism .proto-notes .proto-time p { font-size: 15px; line-height: 1.55; }
.pn-sub { margin-top: 14px; }
.pn-sub > span { display: block; margin-bottom: 4px; font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.proto-notes ul + .pn-sub { margin-top: 16px; }
.mechanism p.proto-ruo { margin-top: 18px; padding: 12px 16px; border-left: 2px solid var(--accent); background: var(--surface-2); font-size: 13px; line-height: 1.55; color: var(--text-2); }
.proto-ruo a { color: var(--accent-text); border-bottom: 1px solid currentColor; white-space: nowrap; }
@media (max-width: 600px) {
  .proto-time li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .mechanism .proto-time p { padding-left: 20px; }
  .proto-meta div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}
/* Folded sections of the product card, one spoiler each (Anton 2026-11-10): evidence, safety in studies, reported side
   effects, regulatory status, literature */
.sci-folds { margin-top: 36px; border-bottom: 1px solid var(--line); }
details.sci-more { margin: 0; border-top: 1px solid var(--line); }
details.sci-more > summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 0; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--text-2); }
details.sci-more > summary::-webkit-details-marker { display: none; }
details.sci-more > summary::after { content: "+"; font-size: 20px; font-weight: 400; color: var(--accent-text); transition: transform .25s; line-height: 1; }
details.sci-more[open] > summary::after { transform: rotate(45deg); }
details.sci-more > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
details.sci-more > .sm-body { margin-top: 0; padding: 2px 0 22px; border-top: 0; }

/* ---------- Wide screens: from 1600 px screens every page uses a 1440 px column instead of 1200 — the home page and the
   header too (Anton 2026-11-12: "выровнять логотип по контенту", "главную немного расширить"), so the logo is in line
   with the content on every page and does not move between pages. The vial on marble is a little smaller and higher
   so the home scene does not grow (see "Home hero v3") ---------- */
@media (min-width: 1600px) { body { --max: 1440px; } }

/* vitals in the folded part of the product card */
.pg-vitals { margin: 0; display: grid; gap: 10px; }
.pg-vitals > div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; font-size: 15px; line-height: 1.5; }
.pg-vitals dt { color: var(--text); font-weight: 500; }
.pg-vitals dd { margin: 0; color: var(--text-2); }
@media (max-width: 600px) { .pg-vitals > div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
.nw { white-space: nowrap; }   /* product names break only between words: "BPC-157 +" / "TB-500", never "TB-" / "500" */

/* ---------- Home: doctor consultation as one panel, photo | text (Anton 2026-11-12) ---------- */
.consult-panel { display: grid; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.cs-media { position: relative; margin: 0; aspect-ratio: 3 / 2; }
.cs-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cs-copy { padding: clamp(26px, 4vw, 64px); }
.cs-copy .eyebrow { margin-bottom: 18px; }
.cs-copy h2 { font-size: clamp(32px, 3.4vw, 50px); }
.cs-copy h2 em { display: block; }
.cs-copy .body-copy { max-width: 44ch; margin: 20px 0 0; }
.cs-points { list-style: none; margin: 24px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 26px; }
.cs-points li { position: relative; padding-left: 16px; font-size: 14px; line-height: 1.4; color: var(--text); }
.cs-points li::before { content: ""; position: absolute; left: 0; top: .5em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent-text); opacity: .6; }
.cs-copy .btn-row { margin-top: 30px; }
@media (min-width: 861px) {
  .consult-panel { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); }
  .cs-media { aspect-ratio: auto; min-height: clamp(400px, 34vw, 540px); }
  .cs-copy { align-self: center; }
}

/* ---------- Product page: trust marks under the photo, the links row under the buying notes (Anton 2026-11-12) ---------- */
.pd-ask { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; margin: 16px 0 0; font-size: 14px; }
.pd-ask a { color: var(--accent-text); border-bottom: 1px solid currentColor; }
.pd-ask .pd-safety-link { margin-top: 0; }
.pd-trust { list-style: none; margin: 10px auto 18px; padding: 0; max-width: 520px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 14px; }
.pd-trust li { display: flex; align-items: center; gap: 9px; font-size: 13px; line-height: 1.3; color: var(--text-2); }
.pd-trust svg { flex: 0 0 auto; width: 26px; height: 26px; color: var(--accent-text); }
@media (max-width: 767px) {
  .pd-trust { grid-template-columns: 1fr; max-width: none; margin: 14px 0 6px; }
}

/* Short tags at the top of the card (Anton 2026-11-12: "вверху карточки все-же что-то более короткое"; written by Anton, product-info
   `tags`); the full "What it's known for" tiles then open the About block. Products without tags keep the tiles at the top. */
/* small, under the dose line above the price (Anton 2026-11-12: "сильно меньше и переместим туда") */
.pd-tags { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pd-tags li { display: inline-flex; align-items: center; gap: 6px; padding: 3px 11px 3px 3px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); font-size: 12.5px; font-weight: 600; line-height: 1.2; color: var(--text); }
.pd-tags i { flex: 0 0 auto; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); color: var(--text); }
/* the chips in the colour of the product's label (Anton 2026-11-13: "цвета функций … матчить с цветом этикетки"): its site
   collection, or product-info `label` where the label says otherwise (KPV, the blends) */
.lbl-weight { --label: var(--l-weight); } .lbl-recovery { --label: var(--l-recovery); } .lbl-gh { --label: var(--l-gh); }
.lbl-longevity { --label: var(--l-longevity); } .lbl-skin { --label: var(--l-skin); } .lbl-cognition { --label: var(--l-cognition); }
.lbl-intimacy { --label: var(--l-intimacy); } .lbl-immune { --label: var(--l-immune); }
.pd-tags[class*="lbl-"] li { border-color: color-mix(in srgb, var(--label) 40%, var(--line)); background: color-mix(in srgb, var(--label) 8%, var(--surface)); }
.pd-tags[class*="lbl-"] i { background: var(--label); color: var(--surface); }
.pd-tags i svg { width: 11px; height: 11px; }
.pd-about-known { margin-bottom: 30px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.pd-about-known .pd-known { margin-top: 0; }

/* ---------- Buying several, said plainly (Anton 2026-11-13: "призывы к покупке нескольких товаров делаем явными") ----------
   every quantity tier as a tile with its total, the saving in rupiah and the discount on a badge (a click sets the quantity of
   the buy bar), then the pack of different compounds as a line of its own. Real offers only (config.json = the invoice). */
.pm-k { margin: 10px 0 10px; }
.pd-multi + .pd-packline { margin-top: 10px; }
.pd-multi { display: flex; gap: 10px; margin-top: 4px; }
.pd-multi .pm { position: relative; flex: 1 1 0; min-width: 0; display: grid; align-content: start; gap: 2px; padding: 12px 14px 11px; text-align: left;
  border: 1px solid var(--line); border-radius: 14px; background: var(--surface); color: var(--text); font: inherit; cursor: pointer; transition: border-color .2s ease, box-shadow .2s ease; }
.pd-multi .pm b { font-size: 13px; font-weight: 500; color: var(--text-2); }
.pd-multi .pm span { font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pd-multi .pm small { font-size: 12.5px; font-weight: 600; color: var(--success); }
.pd-multi .pm em { position: absolute; top: -10px; right: 12px; padding: 2px 8px; border-radius: 999px; background: var(--text); color: var(--on-accent); font-size: 11.5px; font-style: normal; font-weight: 700; }
.pd-multi .pm:hover { border-color: var(--line-strong); }
.pd-multi .pm.on { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.pd-packline { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding: 11px 14px; border: 1px dashed var(--line-strong); border-radius: 14px; color: var(--text); transition: border-color .2s ease; }
.pd-packline:hover { border-color: var(--accent); }
.pd-packline > b { flex: none; padding: 3px 8px; border-radius: 999px; background: var(--text); color: var(--on-accent); font-size: 12px; font-weight: 700; }
.pd-packline > span { flex: 1 1 auto; min-width: 0; display: grid; gap: 1px; }
.pd-packline strong { font-size: 14.5px; font-weight: 600; }
.pd-packline small { font-size: 13px; line-height: 1.4; color: var(--muted); }
.pd-packline > i { flex: none; font-style: normal; font-size: 18px; color: var(--accent-text); }
/* phones: the trust marks in one compact row, so name and price stay near the photo */
@media (max-width: 767px) {
  .pd-trust { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 12px 0 4px; }
  .pd-trust li { flex-direction: column; align-items: flex-start; gap: 6px; font-size: 12px; }
  .pd-trust svg { width: 22px; height: 22px; }
}
/* phones: the three offers in one row */
@media (max-width: 520px) {
  .pd-multi { gap: 6px; }
  .pd-multi .pm { padding: 10px 9px 9px; }
  .pd-multi .pm b { font-size: 12px; }
  .pd-multi .pm span { font-size: 14px; }
  .pd-multi .pm small { font-size: 11px; }
  .pd-multi .pm em { right: 8px; padding: 2px 6px; font-size: 10.5px; }
}

/* options and the pack offer, short and after the buy notes (Anton 2026-11-12: "вот это сократим и переместим"); the long
   reconstitution note stays in the cart (shown when the option is ticked) and in the option's tooltip */
.buy-opts.buy-opts-s { margin-top: 16px; gap: 8px; }
.buy-opts-s .bo { align-items: center; padding: 9px 12px; border-radius: 10px; }
.buy-opts-s .bo small { display: none; }
.buy-opts-s .bo b { font-size: 14px; }
.buy-opts-s .bo b em { font-size: 13px; }

/* calmer buying block (Anton 2026-11-12: "не таким загруженным"): plain option ticks without boxes, small muted notes */
.pi-buy .buy-notes { gap: 6px 28px; font-size: 13px; color: var(--muted); }
.buy-opts.buy-opts-s { display: flex; flex-wrap: wrap; gap: 6px 28px; margin-top: 16px; }
.buy-opts-s .bo { padding: 0; border: 0; background: none; box-shadow: none; }
.buy-opts-s .bo:hover { background: none; }
.pd-ask { gap: 8px 24px; margin-top: 18px; }


/* cart: one more for the next quantity discount (Anton 2026-11-13: "призывы к покупке нескольких товаров делаем явными") */
.od-txt .od-up { justify-self: start; display: inline-block; margin-top: 6px; text-align: left; padding: 0; border: 0; background: none; font: inherit; font-size: 12.5px; font-weight: 600; line-height: 1.4;
  color: var(--accent-text); border-bottom: 1px solid currentColor; cursor: pointer; }
.od-txt .od-up:hover { color: var(--text); }

/* options in the buy bar on wide screens (Anton 2026-11-13, his second sketch), in the column below 1280 px; each with an (i) that
   shows its note (hover, tap or keyboard focus) */
.bo-wrap { display: inline-flex; align-items: center; gap: 8px; }
.bo-i { position: relative; flex: none; display: inline-grid; place-items: center; width: 18px; height: 18px; padding: 0; border: 1px solid var(--line-strong);
  border-radius: 50%; background: var(--surface); color: var(--accent-text); font: italic 600 11px/1 var(--sans); cursor: help; }
.bo-i::after { content: attr(data-tip); position: absolute; z-index: 40; bottom: calc(100% + 10px); left: 50%; width: min(300px, 80vw); padding: 10px 12px;
  border-radius: 10px; background: var(--text); color: var(--on-accent); font: 400 12.5px/1.45 var(--sans); text-align: left; white-space: normal;
  box-shadow: var(--shadow); transform: translateX(-50%); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity .15s ease, visibility 0s .15s; }
.bo-wrap:last-of-type .bo-i::after { left: auto; right: -10px; transform: none; }
.bo-i:hover::after, .bo-i:focus-visible::after { opacity: 1; visibility: visible; transition: opacity .15s ease; }
body.bb-top .buy-bar .bo-i::after { bottom: auto; top: calc(100% + 10px); }
.buy-opts.bb-opts { display: none; }
@media (min-width: 1280px) {
  .buy-opts.bb-opts { display: flex; flex-wrap: nowrap; align-items: center; gap: 22px; margin: 0; padding: 8px 16px; border-radius: 12px; background: var(--bg); }
  .bb-opts .bo b { font-size: 14px; white-space: nowrap; }
  .bb-opts .bo b em { font-size: 13px; }
  .buy-opts.pi-opts { display: none; }
}

/* strength switch (Anton 2026-11-13: "переключение фотки … через блюр"): the photo blurs out, the next one comes in from a blur */
.hero-id .vial-photo, .rail-photo .vial-photo { transition: filter .28s ease, opacity .28s ease; }
.pd-swap .hero-id .vial-photo, .pd-swap .rail-photo .vial-photo { filter: blur(14px); opacity: .5; }

/* the photo stays on screen while the right column scrolls, down to the end of the top part (Anton 2026-11-13: "фото закреплено до
   этого якоря"); from 1024 px always (the lab result is in the reading part there), from 861 to 1023 px only without a lab
   result under it */
@media (min-width: 1024px) { .product-media { position: sticky; top: calc(var(--header-h) + 24px); } }
@media (min-width: 861px) and (max-width: 1023px) { .no-lab .product-media { position: sticky; top: calc(var(--header-h) + 24px); } }

/* the home page's trust strip between the top of the card and its reading part, instead of a line (Anton 2026-11-13) */
.trust-strip.pd-strip { margin-top: 0; }

/* the lab result next to the rail: its heading above the card, on one line with "About <name>" (Anton 2026-11-13) */
.read-lab .lab-head h2 { display: none; }
.read-lab .lab-head:not(:has(.tag)) { display: none; }
.read-lab .lab-tiles { margin-top: 0; border-top: 0; }
.read-lab .lab-tiles > div { padding-top: 0; }
@media (min-width: 1024px) { .read-rail .rail-card { margin-top: calc(11px * 1.4 + 12px); } }   /* the rail photo level with the cards */
/* what research shows, folded (Anton 2026-11-13: "под спойлер"): the two folds of About one under the other */
.pd-about .pd-research-f { margin-top: 28px; }
.pd-about .pd-research-f + .sci-folds { margin-top: 0; }

/* ---------- Product card polish (Anton 2026-11-13: "логичность расположения каждого пункта … выравнивания, пространства
   равномерными, чтобы все выглядело очень выверенно") ----------
   One spacing scale (12 / 16 / 24 / 32 / 48 px); every block starts on the content's left edge; all cards share one padding;
   no lines doubling a card's edge. */
/* top: the photo panel on the left edge of the content, like the breadcrumbs, the strip and the rail */
@media (min-width: 861px) { .hero-id { margin-inline: 0; } }
.product-layout { padding: 28px 0 48px; }
/* the right column: groups 24 px apart, items of a group 12 px */
.product-info h1 { margin: 12px 0 8px; }
.pd-tags { margin-top: 12px; }
.product-info .pd-price-m { margin-top: 24px; padding: 16px 0; }
.pd-price-m + .pm-k { margin: 24px 0 12px; }
.pd-multi { margin-top: 0; }
.pd-multi .pm small.pm-unit { font-weight: 400; color: var(--muted); }
.pd-multi + .pd-packline, .pd-packline { margin-top: 12px; }
.pd-packline small { text-wrap: balance; }
.pi-overview { margin-top: 24px; padding: 24px; }
.pi-buy { display: grid; gap: 16px; margin-top: 24px; }
.pi-buy > * { margin-top: 0 !important; }
.pi-buy .buy-notes { grid-template-columns: minmax(0, 1fr); gap: 8px; }
/* the separating strip: 48 px of air above and below */
.product-read { padding: 48px 0; }
/* reading part: the same card padding and 32 px between blocks in both columns */
.pd-box, .read-mid .pd-box, .read-mid .lab-result { padding: 24px; }
.read-body { gap: 32px; }
/* folds and questions inside a card: no line on the card's top or bottom edge */
.pd-box > .sci-folds:only-child { margin-top: 0; border-bottom: 0; }
.pd-box > .sci-folds:only-child > details.sci-more:first-child { border-top: 0; }
.pd-box > .sci-folds:only-child > details.sci-more:first-child > summary { padding-top: 0; }
.pd-box > .sci-folds:only-child > details.sci-more:last-child:not([open]) > summary { padding-bottom: 0; }
.pd-about-more > .sci-folds:last-child { border-bottom: 0; }
.pd-about-more > .sci-folds:last-child > details.sci-more:last-child:not([open]) > summary { padding-bottom: 0; }
.pd-box .pd-faq-list { border-bottom: 0; }
.pd-box details.faq:first-child { border-top: 0; }
.pd-box details.faq:first-child > summary { padding-top: 0; }
.pd-box details.faq:last-child { border-bottom: 0; }
.pd-box details.faq:last-child:not([open]) > summary { padding-bottom: 0; }
/* product details in the narrow middle column: the label above its value, both on the left edge */
.read-mid .spec > div { display: grid; gap: 2px; }
.read-mid .spec dd, .read-mid .spec dd ul { text-align: left; }
/* wide screens: the lab result stays pinned while the middle column scrolls on; safety and product details pass under it
   (Anton 2026-11-13: "Lab result закрепи на подольше, все что ниже может уходить под лаб резалт") */
@media (min-width: 1100px) {
  .read-mid { display: block; align-self: stretch; }
  .read-mid > * + * { margin-top: 32px; }
  .read-lab { position: sticky; top: var(--header-h); z-index: 2; margin-top: -28px; padding-top: 28px; background: var(--bg); }
  .read-lab::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 24px; background: linear-gradient(var(--bg), transparent); pointer-events: none; }
}
/* phones: the reading part's blocks stay plain sections (no card, no inner padding) */
@media (max-width: 767px) { .pd-box, .read-mid .pd-box, .pi-overview { padding: 0; } }

/* the photo on its way into the rail (Anton 2026-11-13: "плавной анимацией размера ампулы"; app.js size animation) */
.vial-fly { position: fixed; left: 0; top: 0; z-index: 30; margin: 0; transform-origin: 0 0; pointer-events: none; will-change: transform; }
.vial-fly[hidden] { display: none; }

/* the kit as a second separating strip with its photo (Anton 2026-11-13: "комплект нужно выделить фото под еще один разделитель");
   same band as the trust strip above the reading part */
.pd-kit { background: var(--surface-glass); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pd-kit-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 64px); align-items: center; padding-top: 32px; padding-bottom: 32px; }
.pd-kit-photo { margin: 0; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); }
.pd-kit-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pd-kit-txt .eyebrow { margin: 0; }
.pd-kit-txt h2 { margin: 10px 0 24px; font-size: clamp(26px, 2.6vw, 36px); line-height: 1.1; }
.pd-kit-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; }
.pd-kit-list li { display: flex; align-items: center; gap: 14px; font-size: 15px; line-height: 1.35; color: var(--text); }
.pd-kit-list .ti-icon svg { width: 18px; height: 18px; }
@media (max-width: 767px) {
  .pd-kit-in { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 24px; padding-bottom: 24px; }
  .pd-kit-list { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}
/* the small vial in the buy bar, where the large photo lands (Anton 2026-11-13: "ампулу уменьшим и закрепим в строке внизу");
   from 1024 px (phones keep the compact bar) */
.bb-thumb { flex: none; width: 40px; aspect-ratio: 4 / 5; border-radius: 8px; }
@media (max-width: 1023px) { .bb-thumb { display: none; } }
/* the photo column as wide as the photo (its width follows the screen height so it fits the first screen), the text right
   after the usual gap (Anton 2026-11-13: "этот промежуток не логичный") */
@media (min-width: 861px) {
  .product-layout { grid-template-columns: min(46%, calc((100vh - var(--header-h) - var(--bb-h) - 110px) * .8)) minmax(0, 1fr); column-gap: clamp(40px, 4.4vw, 64px); }
  @supports (height: 100svh) { .product-layout { grid-template-columns: min(46%, calc((100svh - var(--header-h) - var(--bb-h) - 110px) * .8)) minmax(0, 1fr); } }
  .hero-id { width: 100%; }
}

/* the name, price and offers stay together at the top of the column (Anton 2026-11-13 on a large display: "не надо так
   делить"); half of the overview never shows at the bottom of the first screen ("чтобы половина Overview не появлялась прямо
   на начальном экране"): when it would be cut there, app.js (S.fitOverview) moves it just below the first screen */
.pi-head { display: flex; flex-direction: column; }
.pi-price { padding-top: 24px; }
.pi-price .pd-price-m { margin-top: 0; }
.pi-offer { padding-top: 24px; }
.pi-offer > .pm-k:first-child { margin-top: 0; }
@media (min-width: 861px) {
  .pi-overview { margin-top: calc(48px + var(--ov-push, 0px)); }
}

/* header: the VE monogram instead of the glass beads (Anton 2026-11-13, a try) */
.wordmark--mono { gap: 12px; }
.wordmark--mono .ve-logo--mono { height: 22px; width: auto; display: block; flex: none; }
@media (max-width: 600px) { .wordmark--mono .ve-logo--mono { height: 19px; } }
/* the vial without its background in flight, in the rail and in the buy bar (Anton 2026-11-13: "убрать фон вокруг ампулы") */
.vial-fly.is-cut .vial-visual, .rail-photo.is-cut, .bb-thumb.is-cut, .hero-id .vial-visual.is-cut { background: none; }
/* narrow margins (iPads): the rail's texts fade while the small vial passes them on its way into the buy bar (app.js) */
.read-rail .rail-card > b, .read-rail .rail-card > span, .read-rail .rail-toc { transition: opacity .25s ease; }
.read-rail.rail-quiet .rail-card > b, .read-rail.rail-quiet .rail-card > span, .read-rail.rail-quiet .rail-toc { opacity: 0; pointer-events: none; }
/* accessories (the injection pen, 2026-11-13): what is in the box inside the overview card; the research-use notice under the card */
.pi-overview .acc-box { margin: 10px 0 0; }
.pi-overview > .pd-k { margin-top: 20px; }
.acc-notice { margin: 0 0 clamp(36px, 4vw, 56px); }
/* catalogue cards a little lower (Anton 2026-11-13: "чуть компактнее по высоте"): "Add" on the price line, at the right;
   phones keep it full width under the price */
@media (min-width: 601px) {
  .label-card .foot { align-items: center; }
  .label-card .foot .lc-add { margin-top: 0; align-self: center; flex: none; }
  .label-card.has-vial .foot { padding-top: 16px; }
  .label-card.has-vial .lc-desc { margin-bottom: 18px; }
}
/* the 10 mL vial (NAD+) larger than the 3 mL ones in the cards, as in the hand (Anton 2026-11-13: "10 ml ампулу в каталоге надо
   сделать большего размера"); the renders all share one height */
.label-card.lc-10ml .lc-stage .vial-photo, .label-card.lc-10ml .lc-stage::after { transform: scale(1.2); }
@media (hover: hover) and (pointer: fine) {
  .label-card.lc-10ml:hover .lc-stage .vial-photo, .label-card.lc-10ml:hover .lc-stage::after { transform: scale(1.27); }
}
@media (prefers-reduced-motion: reduce) { .label-card.lc-10ml:hover .lc-stage .vial-photo { transform: scale(1.2); } }

/* ---------- Lab reports window (Anton 2026-11-13: "прям на нашем сайте, всплывающим окном … красиво и уверенно") ----------
   every report of the compound, the strongest first and marked; each with its original page, the original PDF and the check on
   the issuer's own website */
html.coa-open { overflow: hidden; }
.coa-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px 16px; opacity: 0; transition: opacity .22s ease; }
.coa-modal.on { opacity: 1; }
.coa-back { position: absolute; inset: 0; background: color-mix(in srgb, var(--text) 42%, transparent); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.coa-sheet { position: relative; width: min(980px, 100%); max-height: calc(100vh - 48px); overflow: auto; overscroll-behavior: contain;
  background: var(--surface); border-radius: 20px; box-shadow: var(--shadow); padding: clamp(22px, 3vw, 40px);
  transform: translateY(14px); transition: transform .28s cubic-bezier(.2,.7,.2,1); }
@supports (height: 100svh) { .coa-sheet { max-height: calc(100svh - 48px); } }
.coa-modal.on .coa-sheet { transform: none; }
.coa-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.coa-head .eyebrow { margin: 0 0 6px; }
.coa-head h2 { margin: 0; font-family: var(--display); font-size: clamp(30px, 3.4vw, 44px); font-weight: 400; line-height: 1.05; letter-spacing: -.01em; color: var(--text); }
.coa-x { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); font-size: 24px; line-height: 1; cursor: pointer; }
.coa-x:hover, .coa-x:focus-visible { border-color: var(--accent); color: var(--accent-text); }
.coa-lead { margin: 14px 0 24px; max-width: 62ch; font-size: 15px; line-height: 1.6; color: var(--text-2); }
.coa-card { display: grid; grid-template-columns: minmax(0, 240px) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); align-items: start;
  padding: 26px 0; border-top: 1px solid var(--line); }
.coa-card.coa-top { padding: clamp(18px, 2.4vw, 28px); border: 1px solid color-mix(in srgb, var(--accent) 34%, var(--line)); border-radius: 16px;
  background: color-mix(in srgb, var(--accent) 5%, var(--surface)); }
.coa-card.coa-top + .coa-card { border-top: 0; }
.coa-doc { display: block; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--surface);
  box-shadow: 0 10px 28px color-mix(in srgb, var(--text) 12%, transparent); transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s; }
.coa-doc:hover { transform: translateY(-3px); box-shadow: 0 16px 34px color-mix(in srgb, var(--text) 16%, transparent); }
.coa-doc img { display: block; width: 100%; height: auto; }
.coa-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.coa-badges span { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.coa-best { background: var(--accent); color: var(--surface); }
.coa-kind { border: 1px solid var(--line-strong); color: var(--text-2); background: var(--surface); }
.coa-other { color: var(--muted); border: 1px dashed var(--line-strong); }
.coa-body h3 { margin: 0 0 14px; font-family: var(--display); font-size: 26px; font-weight: 400; line-height: 1.15; color: var(--text); }
.coa-body h3 small { display: block; margin-top: 4px; font-family: var(--sans, inherit); font-size: 13px; color: var(--muted); letter-spacing: .02em; }
.coa-tiles { margin: 0 0 16px; }
.coa-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; margin: 0 0 18px; }
.coa-meta dt { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.coa-meta dd { margin: 2px 0 0; font-size: 14px; color: var(--text); }
.coa-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.coa-actions .btn { min-height: 44px; }
.coa-verify { max-width: 100%; white-space: normal; text-align: center; line-height: 1.3; padding-block: 10px; }   /* the lab's long domain wraps on phones */
.coa-vnote { margin: 12px 0 0; font-size: 13px; line-height: 1.5; color: var(--text-2); }
.coa-note { margin: 10px 0 0; font-size: 12px; line-height: 1.5; color: var(--muted); }
/* the Search Code with its "Copy" button (the lab's lookup takes the code by hand) */
.coa-copy { margin-left: 8px; height: 26px; padding: 0 11px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface);
  color: var(--text-2); font: inherit; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; vertical-align: 1px; cursor: pointer; }
.coa-copy:hover, .coa-copy:focus-visible, .coa-copy.done { border-color: var(--accent); color: var(--accent-text); }
.copy-toast { z-index: 110; }   /* above the report window */
.coa-foot { margin: 22px 0 0; font-size: 12px; color: var(--muted); }
/* the lot check at the foot of the window (Anton 2026-11-17: "Проверка партии на сайте"): the number on the vial gives its record */
.coa-lot { margin: 30px 0 0; padding: 26px 0 0; border-top: 1px solid var(--line); }
.coa-lot .eyebrow { margin: 0 0 6px; }
.coa-lot h3 { margin: 0; font-family: var(--display); font-size: 26px; font-weight: 400; line-height: 1.15; color: var(--text); }
.coa-lot-lead { margin: 8px 0 0; max-width: 62ch; font-size: 14px; line-height: 1.55; color: var(--text-2); }
.coa-lot .lot-form { margin-top: 16px; max-width: 560px; }
.coa-lot .lot-result { margin-top: 18px; max-width: 560px; }
.coa-lot .lot-result:empty { display: none; }
.coa-lot .lot-card { padding: 24px; box-shadow: none; }
.coa-lot .lot-card .name { font-size: 28px; margin-top: 16px; }
@media (max-width: 700px) {
  .coa-modal { padding: 12px 0 0; place-items: end center; }
  .coa-sheet { border-radius: 20px 20px 0 0; max-height: calc(100vh - 12px); }
  @supports (height: 100svh) { .coa-sheet { max-height: calc(100svh - 12px); } }
  .coa-card { grid-template-columns: minmax(0, 1fr); }
  .coa-doc { max-width: 260px; }
  .coa-meta { grid-template-columns: minmax(0, 1fr); }
  .coa-verify { width: 100%; padding-inline: 18px; }
}
@media (prefers-reduced-motion: reduce) { .coa-modal, .coa-sheet, .coa-doc { transition: none; } }

/* the resting vial (QR code in front) waits at the rail's place under the trust strip, which passes over it (app.js, z 1) */
.trust-strip.pd-strip { position: relative; z-index: 2; background: var(--surface); }

/* the lab report said up front (Anton 2026-11-13: "надо привлечь внимание как-то, что у нас есть COA"): a pill under the price,
   a link under the rail vial, the photo's lab mark as a link, a COA seal on the catalogue cards; all open the reports window */
.pd-coa { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding: 10px 14px 10px 10px; border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--accent) 38%, var(--line)); background: color-mix(in srgb, var(--accent) 6%, var(--surface));
  color: var(--text); text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s; }
.pd-coa:hover, .pd-coa:focus-visible { border-color: var(--accent); box-shadow: 0 8px 22px -14px var(--accent); transform: translateY(-1px); }
.pd-coa-i { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--surface); }
.pd-coa-i svg { width: 20px; height: 20px; }
.pd-coa-t { display: grid; gap: 1px; min-width: 0; }
.pd-coa-t b { font-size: 14px; font-weight: 600; letter-spacing: .01em; }
.pd-coa-t span { font-size: 13px; color: var(--text-2); }
.pd-coa-go { margin-left: auto; flex: none; font-size: 13px; font-weight: 600; color: var(--accent-text); white-space: nowrap; }
.rail-coa { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--accent-text); text-decoration: none; }
.rail-coa svg { width: 16px; height: 16px; flex: none; }
.rail-coa:hover span { text-decoration: underline; }
.pd-trust a { color: inherit; text-decoration: underline; text-decoration-style: dotted; text-underline-offset: 3px; }
.pd-trust a:hover { color: var(--accent-text); }
.lc-coa { position: absolute; top: 10px; right: 10px; z-index: 1; display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px 3px 6px;
  border-radius: 999px; background: var(--surface); border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line));
  font-size: 10.5px; font-weight: 700; line-height: 1.4; letter-spacing: .1em; color: var(--accent-text); }
.lc-coa svg { width: 12px; height: 12px; }
@media (max-width: 600px) { .lc-coa { top: 6px; right: 6px; padding: 2px 6px 2px 4px; font-size: 9.5px; } }

/* article pictures from the wiki (2026-11-13): the top picture full width above the text, figures with their caption */
.art-hero { margin: 0 0 clamp(24px, 3vw, 36px); }
.art-hero img, .art-fig img { display: block; width: 100%; height: auto; border-radius: 16px; }
.art-fig { margin: clamp(24px, 3vw, 36px) 0; }
.art-fig figcaption { margin-top: 10px; font-size: 13px; line-height: 1.5; color: var(--muted); }

/* buying and a question to us at the end of a lot or report record (Anton 2026-11-19) */
.lot-buy { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.lot-buy .lb-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.lot-buy .lb-name { font-weight: 500; color: var(--text); }
.lot-buy .lb-price { font-family: var(--display); font-size: 22px; color: var(--text); }
.lot-buy .lb-status { font-size: 13px; color: var(--text-2); }
.lot-buy .lb-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.lot-buy .lb-btns .btn { min-height: 46px; gap: 8px; }
.lot-buy .lb-btns .btn svg { width: 16px; height: 16px; }
.lot-buy p { margin: 0; }
.lot-result > .lot-buy:not(:first-child) { margin-top: 16px; padding-top: 0; border-top: 0; }
