/* ===================== Design tokens ===================== */
:root {
  /* Color theory: deep navy = trust/authority/safety (clinical, biotech-standard).
     Jewel-toned teal (deep cut-glass blue-green, our brand color) = precision and
     quiet luxury without red's alarm or mint-teal's SaaS/startup coldness.
     Warm ivory surface (vs. cool gray-blue) is what shifts the whole palette from
     "clinical app" to "premium apothecary." */
  --navy-900: #071630;
  --navy-800: #0A1F44;
  --navy-700: #14315F;
  --navy-600: #1E4174;

  --teal-700: #0A4D55;
  --teal-600: #0E6169;
  --teal-500: #157983;
  --teal-400: #4AA3AC;
  --teal-100: #E7F1F1;

  --bg: #FAF6EE;
  --surface: #FFFEFA;
  --border: #E7E0D2;

  --text: #1B2430;
  --text-muted: #746C5D;
  --text-inverse: #F5F1E7;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px rgba(10, 31, 68, 0.06);
  --shadow-md: 0 8px 24px rgba(10, 31, 68, 0.08);
  --shadow-lg: 0 20px 48px rgba(10, 31, 68, 0.14);

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Fraunces", "Iowan Old Style", "Georgia", serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input { font: inherit; }

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  padding: 12px 22px;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--teal-500);
  color: var(--navy-900);
}
.btn-primary:hover { background: var(--teal-400); box-shadow: var(--shadow-md); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--navy-800);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { border-color: var(--navy-800); }
.btn-outline {
  background: transparent;
  color: var(--navy-800);
  border: 1.5px solid var(--navy-800);
}
.btn-outline:hover { background: var(--navy-800); color: #fff; }
.btn-lg { padding: 14px 28px; font-size: 1rem; }
.btn-sm { padding: 8px 14px; font-size: 0.85rem; }

/* ===================== Announcement bar ===================== */
.announce {
  background: var(--navy-900);
  color: var(--text-inverse);
  text-align: center;
  font-size: 0.82rem;
  padding: 9px 16px;
}
.announce a { color: var(--teal-400); font-weight: 600; margin-left: 4px; }

/* ===================== Header ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s ease;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: transform;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy-800);
  flex-shrink: 0;
}
.logo-mark { color: var(--teal-500); display: flex; }
.logo-text strong { font-weight: 800; }
.logo-light { color: var(--text-inverse); }
.logo-light .logo-mark { color: var(--teal-400); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--navy-700);
}
.main-nav a:hover { color: var(--teal-600); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--navy-800);
  background: var(--surface);
  border: 1px solid var(--border);
}
.icon-btn:hover { border-color: var(--teal-500); color: var(--teal-600); }
.contact-icon-btn { text-decoration: none; }
.telegram-btn { background: #26A5E4; border-color: #26A5E4; }
.telegram-btn:hover { background: #1E8FC7; border-color: #1E8FC7; color: white; }
.whatsapp-btn { background: #25D366; border-color: #25D366; }
.whatsapp-btn:hover { background: #1FB959; border-color: #1FB959; color: white; }

.floating-widgets {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.floating-widget-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: transform 0.15s ease;
}
.floating-widget-btn:hover { transform: scale(1.08); }

@media (max-width: 600px) {
  .floating-widgets { right: 14px; bottom: 14px; gap: 10px; }
  .floating-widget-btn { width: 46px; height: 46px; }
}

.dropdown-group { position: relative; }
.pill-select {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--navy-800);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.pill-select:hover { border-color: var(--teal-500); color: var(--teal-600); }
.pill-static { cursor: default; }
.pill-static:hover { border-color: var(--border); color: var(--navy-800); }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 6px;
  min-width: 140px;
  display: none;
  flex-direction: column;
  z-index: 50;
}
.dropdown-menu.open { display: flex; }
.dropdown-menu button {
  padding: 8px 10px;
  border-radius: 6px;
  text-align: left;
  font-size: 0.85rem;
  color: var(--navy-800);
}
.dropdown-menu button:hover { background: var(--bg); }
.dropdown-menu button.active { color: var(--teal-600); font-weight: 600; }

.search-overlay {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.search-overlay-inner { display: flex; align-items: center; gap: 12px; padding: 16px 24px; color: var(--text-muted); }
.search-overlay-inner input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1rem;
  font-family: var(--font-sans);
  color: var(--text);
  background: transparent;
}
.search-close { color: var(--text-muted); display: flex; }
.search-close:hover { color: var(--navy-900); }

@media (max-width: 900px) {
  .contact-icon-btn, .dropdown-group, .pill-static { display: none; }
}

.cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--teal-500);
  color: var(--navy-900);
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
}
.nav-toggle span {
  height: 2px;
  background: var(--navy-800);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ===================== Hero ===================== */
.hero {
  padding: 72px 0 64px;
  background: linear-gradient(180deg, #FFFFFF 0%, var(--bg) 100%);
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal-600);
  background: var(--teal-100);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.eyebrow-dark { color: var(--navy-700); background: var(--border); }

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.3rem, 4.2vw, 3.6rem);
  line-height: 1.12;
  font-weight: 500;
  color: var(--navy-900);
  letter-spacing: -0.005em;
  margin-bottom: 22px;
}

.accent {
  color: var(--teal-600);
  font-style: italic;
}
.cta-inner .accent { color: var(--teal-400); }

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 52ch;
  margin-bottom: 32px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; }

.hero-trust { display: flex; align-items: center; gap: 12px; }
.stars { color: var(--teal-500); letter-spacing: 2px; font-size: 1rem; }
.hero-trust p { font-size: 0.88rem; color: var(--text-muted); }

.hero-visual { position: relative; display: flex; justify-content: center; }
.vial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 22px;
  width: 100%;
  max-width: 300px;
}
.vial-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; flex-wrap: wrap; gap: 8px; }

.badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-block;
}
.badge-teal { background: var(--teal-100); color: var(--teal-600); }
.badge-outline { border: 1px solid var(--border); color: var(--text-muted); }

.vial-photo {
  display: flex;
  justify-content: center;
  margin: 4px 0 18px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.vial-photo img { width: 100%; height: 260px; object-fit: cover; object-position: center 20%; }

.vial-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  padding-top: 14px;
  text-align: center;
}
.vial-stats dt { font-size: 0.66rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); margin-bottom: 4px; }
.vial-stats dd { font-family: var(--font-mono); font-weight: 600; font-size: 0.85rem; color: var(--navy-800); }

.float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy-800);
  padding: 8px 14px;
  border-radius: 999px;
}
.float-badge-1 { top: 10%; left: -6%; }
.float-badge-2 { bottom: 8%; right: -4%; }

/* ===================== Audience strip ===================== */
.audience-strip {
  background: var(--navy-900);
  color: var(--text-inverse);
  padding: 18px 0;
}
.audience-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  align-items: center;
  font-size: 0.85rem;
  opacity: 0.9;
}
.audience-inner span:first-child { color: var(--teal-400); font-weight: 600; }

/* ===================== Stat bar ===================== */
.stat-bar {
  background: var(--navy-900);
  border-bottom: 1px solid var(--navy-700);
}
.stat-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 22px 0;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  border-left: 1px solid var(--navy-700);
}
.stat-item:first-child { border-left: none; }
.stat-num {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--teal-400);
}
.stat-label {
  font-size: 0.74rem;
  color: #9AA6B8;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ===================== Sections ===================== */
.section { padding: 64px 0; }
.section-alt { background: var(--surface); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.section-head h2 { font-family: var(--font-serif); font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--navy-900); font-weight: 500; letter-spacing: -0.005em; }
.section-head-center { text-align: center; justify-content: center; flex-direction: column; align-items: center; }
.section-sub { color: var(--text-muted); max-width: 56ch; margin-top: 10px; }

.link-arrow { font-weight: 600; font-size: 0.9rem; color: var(--teal-600); }
.link-arrow:hover { color: var(--teal-500); }

/* ===================== Product grid ===================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.product-thumb {
  position: relative;
  display: flex;
  justify-content: center;
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 16px 0;
  margin-bottom: 14px;
}

.best-seller-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--navy-900);
  color: var(--text-inverse);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  z-index: 1;
}
.best-seller-badge-inline {
  position: static;
  display: inline-block;
  margin-left: 8px;
  vertical-align: middle;
}
.product-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy-900); margin: 10px 0 4px; }
.product-meta { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 16px; }
.product-row { display: flex; align-items: center; justify-content: space-between; }
.price { font-family: var(--font-mono); font-weight: 700; color: var(--navy-800); }
.grid-disclaimer { text-align: center; font-size: 0.78rem; color: var(--text-muted); margin-top: 28px; }

/* ===================== Feature grid ===================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 22px;
}
.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--teal-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 1.02rem; font-weight: 700; color: var(--navy-900); margin-bottom: 8px; }
.feature-card p { font-size: 0.88rem; color: var(--text-muted); }

/* ===================== Who it's for ===================== */
.who-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}
.who-copy h2 { font-family: var(--font-serif); font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--navy-900); font-weight: 500; margin: 12px 0 14px; }
.who-copy p { color: var(--text-muted); margin-bottom: 20px; max-width: 60ch; }
.who-list { margin-bottom: 20px; }
.who-list li {
  padding-left: 24px;
  position: relative;
  margin-bottom: 10px;
  color: var(--navy-700);
  font-weight: 500;
  font-size: 0.94rem;
}
.who-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal-500);
}

.who-panel {
  background: var(--navy-900);
  color: var(--text-inverse);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.who-panel h4 { font-size: 0.95rem; margin-bottom: 18px; color: var(--teal-400); text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.75rem; }
.check-list li {
  padding-left: 26px;
  position: relative;
  margin-bottom: 14px;
  font-size: 0.92rem;
  font-weight: 500;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 0;
  color: var(--teal-400);
  font-weight: 700;
}

/* ===================== Blog ===================== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.blog-thumb {
  height: 140px;
  background: linear-gradient(135deg, var(--navy-800), var(--teal-600));
}
.blog-card > *:not(.blog-thumb) { padding-left: 22px; padding-right: 22px; }
.blog-tag {
  display: inline-block;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--teal-600);
  text-transform: uppercase;
}
.blog-card h3 { font-size: 1.02rem; font-weight: 700; color: var(--navy-900); margin: 10px 0 10px; line-height: 1.35; }
.blog-card p { font-size: 0.86rem; color: var(--text-muted); margin-bottom: 22px; }

/* ===================== FAQ ===================== */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 4px;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--navy-900);
  text-align: left;
}
.faq-icon { transition: transform 0.2s ease; color: var(--text-muted); flex-shrink: 0; margin-left: 16px; }
.faq-item.open .faq-icon { transform: rotate(180deg); color: var(--teal-600); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.faq-answer p { padding: 0 4px 20px; color: var(--text-muted); font-size: 0.92rem; max-width: 65ch; }
.faq-item.open .faq-answer { max-height: 200px; }

/* ===================== CTA band ===================== */
.cta-band {
  background: var(--navy-900);
  color: var(--text-inverse);
  padding: 60px 0;
}
.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-inner h2 { font-family: var(--font-serif); font-size: 1.6rem; font-weight: 600; margin-bottom: 8px; }
.cta-inner p { color: #9AA6B8; font-size: 0.92rem; }
.cta-form { display: flex; gap: 10px; flex-wrap: wrap; }
.cta-form input {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--navy-600);
  background: var(--navy-800);
  color: #fff;
  min-width: 240px;
}
.cta-form input::placeholder { color: #7C8AA0; }

/* ===================== Footer ===================== */
.site-footer { background: var(--navy-900); color: #9AA6B8; padding: 64px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--navy-700);
}
.footer-brand p { margin-top: 14px; font-size: 0.86rem; line-height: 1.6; max-width: 34ch; }
.footer-col h4 { color: #fff; font-size: 0.85rem; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.04em; }
.footer-col a { display: block; font-size: 0.88rem; margin-bottom: 12px; }
.footer-col a:hover { color: var(--teal-400); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 22px 0;
  font-size: 0.78rem;
  flex-wrap: wrap;
}
.footer-disclaimer { max-width: 50ch; opacity: 0.75; }

/* ===================== Cookie banner ===================== */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 460px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  padding: 18px;
  display: none;
  flex-direction: column;
  gap: 14px;
  z-index: 200;
}
.cookie-banner.visible { display: flex; }
.cookie-banner p { font-size: 0.85rem; color: var(--text-muted); }
.cookie-banner a { color: var(--teal-600); font-weight: 600; }
.cookie-actions { display: flex; gap: 10px; justify-content: flex-end; }

/* ===================== Toast ===================== */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--navy-900);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 300;
}
.toast.visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===================== Responsive ===================== */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; margin-bottom: 12px; }
  .float-badge-1, .float-badge-2 { display: none; }
  .who-inner { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn-sm.btn-primary { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

/* Mobile nav open state */
.main-nav.open {
  display: flex;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px;
  gap: 18px;
  box-shadow: var(--shadow-md);
}

/* ===================== Product detail page ===================== */
.breadcrumb {
  padding: 18px 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.breadcrumb a { color: var(--teal-600); font-weight: 500; }
.breadcrumb a:hover { color: var(--teal-500); }
.breadcrumb span { margin: 0 8px; opacity: 0.5; }

.product-hero {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
  padding: 12px 0 60px;
}
.product-photo {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  position: sticky;
  top: 100px;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.product-photo img { width: 100%; border-radius: var(--radius-sm); display: block; }
.product-photo-main {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-photo-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-thumbs { display: flex; gap: 10px; margin-top: 14px; }
.product-thumb-btn {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  background: var(--bg);
  flex-shrink: 0;
}
.product-thumb-btn img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.product-thumb-btn.active { border-color: var(--teal-500); }
.product-thumb-btn:not(.placeholder):hover { border-color: var(--teal-400); }
.product-thumb-btn.placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  border: 1.5px dashed var(--border);
  color: var(--text-muted);
  font-size: 0.52rem;
  line-height: 1.15;
  text-align: center;
  cursor: default;
}

.product-info .subtitle { color: var(--text-muted); font-size: 0.95rem; margin: -8px 0 6px; }
.product-info h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  color: var(--navy-900);
  letter-spacing: -0.005em;
  margin-bottom: 4px;
}
.product-info .hero-sub { margin: 16px 0 4px; }

.price-row { display: flex; align-items: baseline; gap: 10px; margin: 20px 0 22px; }
.price-row .price { font-family: var(--font-mono); font-size: 1.7rem; font-weight: 700; color: var(--navy-900); }
.price-row .price-size { color: var(--text-muted); font-size: 0.88rem; }

.trust-bullets {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}
.trust-bullets li { font-size: 0.9rem; color: var(--navy-700); font-weight: 500; }

.product-thumb-link { display: block; }
.product-sub { font-size: 0.85rem; font-weight: 400; color: var(--text-muted); }
.product-card h3 a { color: inherit; }
.product-card h3 a:hover { color: var(--teal-600); }

.btn[disabled] { opacity: 0.55; cursor: not-allowed; }
.btn[disabled]:hover { transform: none; box-shadow: none; background: var(--teal-500); }

.product-sections { max-width: 880px; margin: 0 auto; }
.product-section { padding: 34px 0; border-bottom: 1px solid var(--border); }
.product-section:last-child { border-bottom: none; }
.product-section h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.35rem;
  color: var(--navy-900);
  margin-bottom: 12px;
}
.product-section p { color: var(--text-muted); max-width: 72ch; }

@media (max-width: 900px) {
  .product-hero { grid-template-columns: 1fr; }
  .product-photo { position: static; max-width: 360px; margin: 0 auto; }
}

/* ===================== Shop page ===================== */
.shop-header { padding: 44px 0 8px; }
.shop-header h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2rem, 3.6vw, 2.8rem);
  color: var(--navy-900);
  margin: 10px 0 12px;
  letter-spacing: -0.005em;
}
.shop-header .section-sub { margin-top: 0; }

.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-bottom: 24px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.filter-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.filter-chip {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--navy-700);
  background: var(--surface);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.filter-chip:hover { border-color: var(--teal-500); color: var(--teal-600); }
.filter-chip.active { background: var(--navy-900); color: var(--text-inverse); border-color: var(--navy-900); }

.sort-select {
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 0.85rem;
  color: var(--navy-700);
  font-family: var(--font-sans);
}

.product-card.is-hidden { display: none; }

/* ===================== Calculator page ===================== */
.calc-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 32px;
}

.calc-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.calc-field { display: flex; flex-direction: column; gap: 8px; }
.calc-field label { font-size: 0.85rem; font-weight: 600; color: var(--navy-800); }
.calc-field input, .calc-field select {
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--text);
}
.calc-field input:focus, .calc-field select:focus {
  outline: none;
  border-color: var(--teal-500);
  background: var(--surface);
}

.preset-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.preset-chip {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--text-muted);
}
.preset-chip:hover { border-color: var(--teal-500); color: var(--teal-600); }
.preset-chip.active { background: var(--navy-900); color: var(--text-inverse); border-color: var(--navy-900); }

.calc-dose-row { display: flex; gap: 10px; }
.calc-dose-row input { flex: 1; }

.unit-toggle { display: flex; border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; }
.unit-btn { padding: 0 16px; font-size: 0.82rem; font-weight: 600; color: var(--text-muted); background: var(--bg); }
.unit-btn.active { background: var(--teal-500); color: var(--navy-900); }

.calc-visual { display: flex; flex-direction: column; gap: 22px; }

.syringe-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 28px 24px 20px;
}
.syringe-svg { width: 100%; height: auto; display: block; }
#syringe-fill { transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
#syringe-fill.over-limit { fill: #B5493B; }

@keyframes syringe-shimmer {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 0.65; }
}
#syringe-fill.animating { animation: syringe-shimmer 1.1s ease-in-out infinite; }

.syringe-scale {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  padding: 0 40px 0 10px;
  margin-top: 4px;
}

.calc-result {
  background: var(--navy-900);
  color: var(--text-inverse);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
}
.calc-result-main { display: flex; align-items: baseline; justify-content: center; gap: 8px; }
.calc-result-number {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 3rem;
  color: var(--teal-400);
  display: inline-block;
  font-variant-numeric: tabular-nums;
  min-width: 3.2ch;
}
.calc-result-unit { font-size: 1rem; color: #9AA6B8; }
.calc-result-sub { color: #9AA6B8; font-size: 0.9rem; margin-top: 4px; }

.calc-result-rows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--navy-700);
  text-align: left;
}
.calc-result-rows dt { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.04em; color: #7C8AA0; margin-bottom: 4px; }
.calc-result-rows dd { font-family: var(--font-mono); font-weight: 600; font-size: 0.95rem; }

.calc-warning {
  margin-top: 16px;
  background: rgba(181, 73, 59, 0.15);
  color: #F3AFA6;
  border: 1px solid rgba(181, 73, 59, 0.4);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.82rem;
  text-align: left;
}

@media (max-width: 900px) {
  .calc-grid { grid-template-columns: 1fr; }
}

/* ===================== Cart drawer ===================== */
body.cart-open { overflow: hidden; }

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 400;
  pointer-events: none;
}
.cart-drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(7, 22, 48, 0.5);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.cart-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 420px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.cart-drawer.open { pointer-events: auto; }
.cart-drawer.open .cart-drawer-overlay { opacity: 1; }
.cart-drawer.open .cart-drawer-panel { transform: translateX(0); }

.cart-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
}
.cart-drawer-header h3 { font-family: var(--font-serif); font-weight: 500; font-size: 1.3rem; color: var(--navy-900); }
.cart-drawer-close {
  width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--navy-800);
}
.cart-drawer-close:hover { background: var(--bg); }

.cart-drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}
.cart-empty { color: var(--text-muted); font-size: 0.92rem; padding: 40px 0; text-align: center; }

.cart-item {
  display: flex;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.cart-item:last-child { border-bottom: none; }
.cart-item-img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--bg);
  flex-shrink: 0;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 0.92rem; font-weight: 600; color: var(--navy-900); }
.cart-item-meta { font-size: 0.78rem; color: var(--text-muted); margin: 2px 0 8px; }
.cart-item-discount { color: var(--teal-600); font-weight: 600; }
.cart-item-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cart-item-price { font-family: var(--font-mono); font-weight: 600; font-size: 0.88rem; color: var(--navy-800); }
.cart-item-price-original {
  font-family: var(--font-mono);
  font-weight: 400;
  text-decoration: line-through;
  color: var(--text-muted);
  margin-right: 6px;
}

.cart-qty-stepper {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 4px;
}
.cart-qty-btn {
  width: 20px; height: 20px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: 0.9rem;
  color: var(--navy-800);
}
.cart-qty-btn:hover { background: var(--bg); }
.cart-qty-value { font-family: var(--font-mono); font-size: 0.8rem; min-width: 14px; text-align: center; }

.cart-item-remove {
  width: 26px; height: 26px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  flex-shrink: 0;
}
.cart-item-remove:hover { color: #B5493B; }

.cart-drawer-footer { padding: 20px 24px 24px; border-top: 1px solid var(--border); }
.cart-drawer-subtotal {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  color: var(--navy-900);
  margin-bottom: 14px;
  font-size: 1.02rem;
}
.cart-checkout-btn { width: 100%; }
.cart-drawer-note { font-size: 0.76rem; color: var(--text-muted); text-align: center; margin-top: 10px; }

/* ===================== Bundle & save ===================== */
.bundle-save { margin: 20px 0; }
.bundle-save-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy-800);
  margin-bottom: 10px;
}
.bundle-options { display: flex; flex-direction: column; gap: 8px; }
.bundle-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
  position: relative;
}
.bundle-option:hover { border-color: var(--teal-400); }
.bundle-option input { position: absolute; opacity: 0; }
.bundle-option.active { border-color: var(--teal-500); background: var(--teal-100); }
.bundle-qty { font-family: var(--font-mono); font-weight: 700; font-size: 0.92rem; color: var(--navy-900); min-width: 32px; }
.bundle-discount {
  flex: 1;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal-600);
}
.bundle-option:first-child .bundle-discount { color: var(--text-muted); font-weight: 500; }
.bundle-price { font-family: var(--font-mono); font-weight: 600; font-size: 0.9rem; color: var(--navy-800); }
.bundle-price-original {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-right: 6px;
}

@media (max-width: 480px) {
  .cart-drawer-panel { max-width: 100%; }
}

@media (max-width: 600px) {
  .container { padding: 0 28px; }
  .header-actions { gap: 8px; }
  .header-inner { gap: 12px; }
  .bundle-options { padding-right: 64px; }
}

/* ===================== Checkout page ===================== */
.checkout-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: start;
}

.checkout-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.checkout-form h2 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--navy-900);
  margin-top: 6px;
}
.checkout-form h2:first-child { margin-top: 0; }
.checkout-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.payment-demo-notice {
  background: var(--teal-100);
  color: var(--teal-600);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.82rem;
  font-weight: 500;
  margin: -4px 0 4px;
}

.checkout-submit { width: 100%; margin-top: 6px; }

.checkout-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: sticky;
  top: 100px;
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.checkout-summary h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--navy-900);
  margin-bottom: 18px;
}

.checkout-items { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.checkout-item { display: flex; align-items: center; gap: 12px; }
.checkout-item-img { width: 48px; height: 48px; object-fit: cover; border-radius: var(--radius-sm); background: var(--bg); flex-shrink: 0; }
.checkout-item-info { flex: 1; min-width: 0; }
.checkout-item-name { font-size: 0.88rem; font-weight: 600; color: var(--navy-900); }
.checkout-item-qty { color: var(--text-muted); font-weight: 500; }
.checkout-item-meta { font-size: 0.76rem; color: var(--text-muted); }
.checkout-item-price { font-family: var(--font-mono); font-weight: 600; font-size: 0.86rem; color: var(--navy-800); flex-shrink: 0; }

.checkout-totals { border-top: 1px solid var(--border); padding-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.checkout-totals-row { display: flex; justify-content: space-between; font-size: 0.9rem; color: var(--navy-800); }
.checkout-totals-muted { color: var(--text-muted); font-size: 0.82rem; }
.checkout-total-final { font-weight: 700; font-size: 1.05rem; color: var(--navy-900); padding-top: 6px; border-top: 1px solid var(--border); }

@media (max-width: 900px) {
  .checkout-grid { grid-template-columns: 1fr; }
  .checkout-summary { position: static; }
  .checkout-row-2 { grid-template-columns: 1fr; }
}

/* ===================== Order confirmation ===================== */
.confirm-wrap { max-width: 560px; margin: 0 auto; text-align: center; }
.confirm-icon { display: flex; justify-content: center; margin-bottom: 16px; }
.confirm-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--navy-900);
  margin: 10px 0 8px;
}
.confirm-order-number { font-family: var(--font-mono); color: var(--navy-800); margin-bottom: 6px; }
.confirm-items { text-align: left; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; margin-top: 28px; }
