/* The Peptide Reference — Warm Charcoal Premium Theme */

:root {
  /* Warm charcoal background system (Item 1) */
  --bg-primary:   #252423;
  --bg-2:         #2a2928;
  --bg-3:         #2f2e2d;
  --bg-4:         #353433;
  --fg-primary:   #f6f4f2;
  --fg-muted:     #93908e;
  --fg-faint:     #625d5b;

  /* Legacy aliases — kept so existing components keep working */
  --bg: var(--bg-primary);
  --bg-deep: #1a1918;
  --bg-elevated: var(--bg-2);
  --bg-card: rgba(42, 41, 40, 0.7);
  --bg-input: rgba(53, 52, 51, 0.6);
  --border: rgba(147, 144, 142, 0.18);
  --border-light: rgba(147, 144, 142, 0.32);
  --text: var(--fg-primary);
  --text-muted: var(--fg-muted);
  --text-dim: var(--fg-faint);
  --heading: var(--fg-primary);
  --accent: #3aa394;          /* muted teal */
  --accent-strong: #0f5e54;   /* deep teal */
  --accent-glow: rgba(58, 163, 148, 0.4);
  --cream: #f6f1e8;
  --stone: #8a8378;
  --green: #22c55e;
  --green-dark: #065f46;
  --green-light: #6ee7b7;
  --radius: 10px;
  --radius-sm: 6px;
  --radius-pill: 999px;

  /* Typography variables (Item 3) */
  --font-heading: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Category colour tokens (Items 4 & 7) */
  --color-weight:    #ff7d36;
  --color-recovery:  #00ffaa;
  --color-growth:    #4d9cff;
  --color-specialty: #a369ff;
  --color-antiage:   #f9f640;
  --color-accessory: #93908e;
  --color-all:       #f6f4f2;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
a { color: var(--text); text-decoration: none; }
a:hover { color: var(--heading); }

/* Banner */
.banner {
  background: var(--bg-deep);
  padding: 0.5rem 2rem;
  font-size: 0.72rem;
  color: var(--text-dim);
  text-align: center;
  border-bottom: 1px solid var(--border);
  letter-spacing: 0.02em;
}

/* Research-only compliance banner — must read as authoritative, not decorative.
   Owner-driven (TGA Therapeutic Goods Advertising Code posture). */
.banner-research-only {
  background: linear-gradient(180deg, rgba(234, 179, 8, 0.18) 0%, rgba(234, 179, 8, 0.10) 100%);
  border-top: 2px solid #ca8a04;
  border-bottom: 2px solid #ca8a04;
  color: #fde68a;
  font-size: 0.78rem;
  padding: 0.7rem 1.25rem;
  line-height: 1.45;
}
.banner-research-only strong { color: #fef3c7; }

/* Header */
header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
  background: rgba(37, 36, 35, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.header-inner { max-width: 1400px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 0.8rem; }
.brand-link { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: inherit; }
.brand-link:hover { opacity: 0.9; }
.brand-logo { height: 32px; width: auto; }
.brand h1 { font-size: 1.3rem; font-weight: 700; letter-spacing: 0.04em; color: var(--heading); }
.brand h1 span { color: var(--text-muted); font-weight: 300; }
.header-actions { display: flex; gap: 0.6rem; align-items: center; }
.search-input {
  background: rgba(53, 52, 51, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(147, 144, 142, 0.35);
  color: var(--heading);
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  width: 240px;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}
.search-input::placeholder { color: var(--text-dim); }
.search-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.82rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}
.btn-primary {
  background: var(--accent-strong);
  color: #fff;
  box-shadow: 0 4px 14px var(--accent-glow);
}
.btn-primary:hover {
  background: #3b82f6;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}
.btn-whatsapp { background: #3aa394; color: #fff; }
.btn-whatsapp:hover { background: #0f5e54; }
.btn-outline {
  background: rgba(53, 52, 51, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(147, 144, 142, 0.4);
  color: var(--text-muted);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--heading);
  background: rgba(53, 52, 51, 0.7);
}
.btn-ghost { background: none; border: none; color: var(--text-muted); padding: 0.3rem 0.6rem; }
.btn-ghost:hover { color: var(--accent); }

/* Page container */
.page { max-width: 900px; margin: 0 auto; padding: 3rem 2rem 4rem; }
.page h2 { font-size: 1.4rem; font-weight: 700; color: var(--heading); margin-bottom: 1.5rem; }
.page h3 { font-size: 1rem; font-weight: 600; color: var(--heading); margin: 2rem 0 0.8rem; }
.page p { color: var(--text-muted); margin-bottom: 1rem; font-size: 0.88rem; }
.page ul, .page ol { color: var(--text-muted); margin: 0 0 1rem 1.5rem; font-size: 0.88rem; }
.page li { margin-bottom: 0.4rem; }
.page strong { color: var(--text); }
.page-date { font-size: 0.75rem; color: var(--text-dim); margin-bottom: 2rem; }

/* Catalogue grid */
.toolbar {
  padding: 0.8rem 2rem;
  display: flex;
  gap: 1rem;
  align-items: center;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  background: rgba(37, 36, 35, 0.4);
}
.toolbar select {
  background: rgba(53, 52, 51, 0.6);
  border: 1px solid rgba(147, 144, 142, 0.35);
  color: var(--text);
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
}
.toolbar .count { font-size: 0.8rem; color: var(--text-dim); margin-left: auto; }
.filters {
  padding: 0.8rem 2rem;
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
  background: rgba(37, 36, 35, 0.4);
}
.filter-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--bg-3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  color: var(--fg-muted);
  padding: 0.55rem 1.05rem 0.55rem 0.95rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease, transform 0.18s ease;
  --cat-color: var(--color-all);
}
.filter-btn::before {
  content: "";
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--cat-color);
  box-shadow: 0 0 8px color-mix(in srgb, var(--cat-color) 55%, transparent);
  flex-shrink: 0;
  transition: box-shadow 0.22s ease, background 0.22s ease;
}
.filter-btn:hover {
  background: var(--bg-4);
  color: var(--fg-primary);
  border-color: color-mix(in srgb, var(--cat-color) 55%, var(--border));
  transform: translateY(-1px);
}
.filter-btn:hover::before {
  box-shadow: 0 0 12px color-mix(in srgb, var(--cat-color) 80%, transparent);
}
.filter-btn.active {
  background: color-mix(in srgb, var(--cat-color) 14%, var(--bg-3));
  color: var(--fg-primary);
  border-color: var(--cat-color);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--cat-color) 65%, transparent),
    0 8px 26px color-mix(in srgb, var(--cat-color) 22%, transparent);
}
.filter-btn.active::before {
  background: var(--cat-color);
  box-shadow: 0 0 14px var(--cat-color);
}
.filter-btn[data-category="weight"]    { --cat-color: var(--color-weight);    }
.filter-btn[data-category="recovery"]  { --cat-color: var(--color-recovery);  }
.filter-btn[data-category="growth"]    { --cat-color: var(--color-growth);    }
.filter-btn[data-category="specialty"] { --cat-color: var(--color-specialty); }
.filter-btn[data-category="antiage"]   { --cat-color: var(--color-antiage);   }
.filter-btn[data-category="accessory"] { --cat-color: var(--color-accessory); }
.filter-btn[data-category="all"]       { --cat-color: var(--color-all);       }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1px;
  background: rgba(147, 144, 142, 0.15);
  padding: 1px;
}
.card {
  background: rgba(42, 41, 40, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  background: rgba(53, 52, 51, 0.85);
  box-shadow: inset 0 0 0 1px rgba(58, 163, 148, 0.3);
}
.card-img img { transition: transform 0.25s ease; }
.card:hover .card-img img { transform: scale(1.04); }
.card-img { display: flex; justify-content: center; padding: 0.5rem 0 0.8rem; }
.card-img img { width: 160px; height: 200px; object-fit: contain; }
.card-header { display: flex; justify-content: space-between; align-items: flex-start; }
.card h3 { font-size: 0.95rem; font-weight: 600; color: var(--heading); margin: 0; }
.card-cat { font-size: 0.7rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.04em; }
.card-desc { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; flex: 1; }
.card-dosage { font-size: 0.75rem; color: var(--text-dim); }
.card-conc { padding: 0.4rem 0; }
.conc-select {
  background: rgba(53, 52, 51, 0.6);
  border: 1px solid rgba(147, 144, 142, 0.35);
  color: var(--text);
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  width: 100%;
  cursor: pointer;
}
.conc-select:focus { outline: none; border-color: var(--accent); }
.conc-single { font-size: 0.78rem; color: var(--text-dim); }
.card-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 0.6rem; border-top: 1px solid var(--border); }
.price { font-size: 1.1rem; font-weight: 700; color: var(--heading); }
.price-unit { font-size: 0.72rem; color: var(--text-dim); font-weight: 400; }
.btn-enquire {
  background: rgba(53, 52, 51, 0.6);
  border: 1px solid rgba(147, 144, 142, 0.4);
  color: var(--heading);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-enquire:hover {
  background: var(--accent-strong);
  color: #fff;
  border-color: var(--accent-strong);
  box-shadow: 0 4px 14px var(--accent-glow);
}
.btn-enquire.selected {
  background: var(--green-dark);
  color: var(--green-light);
  border-color: var(--green-dark);
}
.empty { text-align: center; padding: 4rem 2rem; color: var(--text-dim); }

/* Sticky enquiry bar */
.enquiry-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(37, 36, 35, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(147, 144, 142, 0.35);
  padding: 0.8rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transform: translateY(100%);
  transition: transform 0.25s ease;
  z-index: 100;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
}
.enquiry-bar.visible { transform: translateY(0); }
.enquiry-bar .summary { font-size: 0.85rem; color: var(--text-muted); }
.enquiry-bar .summary strong { color: var(--heading); }

/* Form */
.form-section { margin-bottom: 2rem; }
.form-section h3 { font-size: 0.9rem; font-weight: 600; color: var(--heading); margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border); }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: 0.82rem; color: var(--text-muted); margin-bottom: 0.35rem; font-weight: 500; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  background: rgba(53, 52, 51, 0.6);
  border: 1px solid rgba(147, 144, 142, 0.35);
  color: var(--heading);
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-family: inherit;
  transition: all 0.2s ease;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.12);
}
.form-group textarea { min-height: 80px; resize: vertical; }
.form-group select { cursor: pointer; }
.chips { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.chip {
  background: rgba(53, 52, 51, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(147, 144, 142, 0.35);
  color: var(--text-muted);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  font-size: 0.8rem;
  transition: all 0.2s ease;
  user-select: none;
}
.chip:hover { border-color: rgba(58, 163, 148, 0.5); color: var(--heading); }
.chip.active {
  background: var(--accent-strong);
  color: #fff;
  border-color: var(--accent-strong);
  box-shadow: 0 4px 14px var(--accent-glow);
}
.conditional { display: none; }
.conditional.show { display: block; }
.form-success { display: none; text-align: center; padding: 3rem 2rem; }
.form-success.show { display: block; }
.form-success h2 { color: var(--green-light); margin-bottom: 1rem; }

/* Footer */
footer {
  padding: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-dim);
  background: rgba(26, 25, 24, 0.9);
}
footer a { color: var(--text-dim); margin: 0 0.8rem; transition: color 0.2s ease; }
footer a:hover { color: var(--accent); }
footer .footer-links { margin-bottom: 0.6rem; }
.footer-logo { margin-bottom: 0.8rem; }
.footer-logo-img { height: 28px; width: auto; opacity: 0.7; transition: opacity 0.2s ease; }
.footer-logo-img:hover { opacity: 1; }

/* How It Works */
.how-it-works {
  padding: 3rem 2rem;
  border-bottom: 1px solid var(--border);
  background: rgba(37, 36, 35, 0.5);
}
.how-it-works-inner { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; text-align: center; }
.step { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(58, 163, 148, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
  background: rgba(53, 52, 51, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.15);
}
.step-title { font-size: 0.9rem; font-weight: 600; color: var(--heading); }
.step-desc { font-size: 0.78rem; color: var(--text-muted); line-height: 1.5; }
.step-arrow { display: none; }
@media (min-width: 641px) {
  .how-it-works-inner { position: relative; }
  .step-arrow { display: block; position: absolute; top: 20px; color: var(--text-dim); font-size: 1.2rem; }
  .step-arrow-1 { left: calc(33.33% - 10px); }
  .step-arrow-2 { left: calc(66.66% - 10px); }
}

/* Product modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 25, 24, 0.8);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.modal-overlay.open { display: flex; }
.modal {
  background: rgba(42, 41, 40, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(147, 144, 142, 0.35);
  border-radius: 14px;
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(58, 163, 148, 0.1);
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(53, 52, 51, 0.6);
  border: 1px solid rgba(147, 144, 142, 0.35);
  color: var(--text-muted);
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 10;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}
.modal-close:hover {
  color: var(--heading);
  background: rgba(53, 52, 51, 0.9);
  border-color: var(--accent);
}
.modal-body { display: flex; gap: 2rem; padding: 2rem; }
.modal-img { flex-shrink: 0; display: flex; align-items: flex-start; justify-content: center; }
.modal-img img { width: 200px; height: 250px; object-fit: contain; }
.modal-info { flex: 1; min-width: 0; }
.modal-info h2 { font-size: 1.4rem; font-weight: 700; color: var(--heading); margin-bottom: 0.3rem; }
.modal-info .modal-cat { font-size: 0.72rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 1rem; }
.modal-info .modal-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 1.2rem; }
.modal-conc { margin-bottom: 1rem; }
.modal-conc label { font-size: 0.78rem; color: var(--text-dim); display: block; margin-bottom: 0.3rem; }
.modal-conc select {
  background: rgba(53, 52, 51, 0.6);
  border: 1px solid rgba(147, 144, 142, 0.35);
  color: var(--text);
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius);
  font-size: 0.85rem;
  width: 100%;
  cursor: pointer;
}
.modal-conc select:focus { outline: none; border-color: var(--accent); }
.modal-price-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; }
.modal-price { font-size: 1.5rem; font-weight: 700; color: var(--heading); }
.modal-price-unit { font-size: 0.78rem; color: var(--text-dim); }
.modal-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.modal-actions .btn { padding: 0.65rem 1.3rem; font-size: 0.85rem; }
.modal-actions .btn-watchlist {
  background: rgba(53, 52, 51, 0.6);
  border: 1px solid rgba(147, 144, 142, 0.4);
  color: var(--heading);
}
.modal-actions .btn-watchlist:hover {
  background: var(--accent-strong);
  color: #fff;
  border-color: var(--accent-strong);
  box-shadow: 0 4px 14px var(--accent-glow);
}
.modal-actions .btn-watchlist.selected {
  background: var(--green-dark);
  color: var(--green-light);
  border-color: var(--green-dark);
}

/* Pairs well with */
.modal-pairs { padding: 1rem 2rem 1.5rem; border-top: 1px solid var(--border); }
.modal-pairs h4 { font-size: 0.78rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.6rem; }
.pairs-list { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.pair-chip {
  background: rgba(53, 52, 51, 0.55);
  border: 1px solid rgba(147, 144, 142, 0.35);
  color: var(--text-muted);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.pair-chip:hover { border-color: var(--accent); color: var(--heading); }

/* Best Seller badge */
.card-badge {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  background: var(--accent-strong);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.22rem 0.55rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 4px 14px var(--accent-glow);
}
.card { position: relative; }

/* Floating Telegram button */
.wa-float { position: fixed; bottom: 1.5rem; right: 1.5rem; background: #3aa394; border-radius: 28px; display: flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0 1.4rem; height: 56px; box-shadow: 0 4px 20px rgba(58,163,148,0.4); z-index: 90; transition: transform 0.2s, box-shadow 0.2s; text-decoration: none; }
.wa-float:hover { transform: scale(1.06); box-shadow: 0 6px 28px rgba(58,163,148,0.5); color: #fff; }
.wa-float svg { width: 28px; height: 28px; fill: #fff; flex-shrink: 0; }
.wa-float-label { color: #fff; font-size: 0.88rem; font-weight: 600; white-space: nowrap; letter-spacing: 0.01em; }
.enquiry-bar.visible ~ .wa-float { bottom: 5rem; }

/* Toast notification */
.toast {
  position: fixed;
  bottom: 5.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: rgba(42, 41, 40, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(147, 144, 142, 0.4);
  color: var(--heading);
  padding: 0.75rem 1.3rem;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 500;
  z-index: 300;
  opacity: 0;
  transition: opacity 0.25s, transform 0.25s;
  pointer-events: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast-check { color: var(--green-light); margin-right: 0.4rem; }

/* Card entry — JS adds .anim-init right after render, then anime.js animates cards in.
   If JS fails or rAF is throttled, cards default to visible (opacity 1). */
.card.anim-init { opacity: 0; transform: translateY(20px); }
.card.visible { opacity: 1; transform: translateY(0); }

/* Back to top — stacks above the .wa-float pill (which sits at bottom:1.5rem, height:56px) */
.back-to-top {
  position: fixed;
  bottom: 5.75rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  background: rgba(53, 52, 51, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(147, 144, 142, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  z-index: 91;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.15s, color 0.2s, border-color 0.2s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}
.back-to-top.show { opacity: 1; pointer-events: auto; }
.back-to-top:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}
.enquiry-bar.visible ~ .back-to-top { bottom: 9.25rem; }

/* Age gate overlay */
.age-gate {
  position: fixed;
  inset: 0;
  background: rgba(26, 25, 24, 0.92);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
.age-gate-box {
  background: rgba(42, 41, 40, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(147, 144, 142, 0.35);
  border-radius: 14px;
  padding: 2.5rem;
  text-align: center;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(58, 163, 148, 0.1);
}
.age-gate-box img { height: 36px; margin-bottom: 1.2rem; }
.age-gate-box h2 { font-size: 1.25rem; color: var(--heading); margin-bottom: 0.6rem; }
.age-gate-box p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.5rem; line-height: 1.5; }
.age-gate-actions { display: flex; gap: 0.8rem; justify-content: center; }
.age-gate-actions .btn { padding: 0.75rem 2rem; font-size: 0.9rem; }
.btn-confirm {
  background: var(--accent-strong);
  color: #fff;
  border: none;
  box-shadow: 0 4px 14px var(--accent-glow);
}
.btn-confirm:hover {
  background: #3b82f6;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}
.btn-deny {
  background: transparent;
  border: 1px solid rgba(147, 144, 142, 0.4);
  color: var(--text-muted);
}
.btn-deny:hover { border-color: var(--accent); color: var(--heading); }

/* Loading skeleton */
.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1px;
  background: rgba(147, 144, 142, 0.15);
  padding: 1px;
}
.skeleton-card { background: rgba(42, 41, 40, 0.7); padding: 1.5rem; }
.skeleton-img { width: 160px; height: 200px; background: rgba(53, 52, 51, 0.5); border-radius: var(--radius); margin: 0 auto 1rem; animation: shimmer 1.5s infinite; }
.skeleton-line { height: 14px; background: rgba(53, 52, 51, 0.5); border-radius: 4px; margin-bottom: 0.6rem; animation: shimmer 1.5s infinite; }
.skeleton-line.w60 { width: 60%; }
.skeleton-line.w80 { width: 80%; }
.skeleton-line.w40 { width: 40%; }
@keyframes shimmer { 0%, 100% { opacity: 0.4; } 50% { opacity: 0.8; } }

/* Responsive */
@media (max-width: 640px) {
  header { padding: 1rem; }
  .header-inner { flex-direction: column; align-items: stretch; }
  .header-actions { width: 100%; }
  .search-input { flex: 1; width: auto; }
  .toolbar, .filters { padding: 0.6rem 1rem; }
  /* Two-column product grid on mobile */
  .grid { grid-template-columns: repeat(2, 1fr); }
  .card { padding: 0.75rem; gap: 0.35rem; }
  .card-img { padding: 0.3rem 0 0.5rem; }
  .card-img img { width: 100px; height: 130px; }
  .card h3 { font-size: 0.78rem; }
  .card-cat { font-size: 0.6rem; }
  .card-desc { font-size: 0.7rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .conc-select { font-size: 0.7rem; padding: 0.3rem 0.5rem; }
  .card-footer { padding-top: 0.4rem; }
  .price { font-size: 0.88rem; }
  .price-unit { font-size: 0.62rem; }
  .btn-enquire { font-size: 0.62rem; padding: 0.35rem 0.6rem; }
  .page { padding: 2rem 1rem 3rem; }
  .enquiry-bar { padding: 0.6rem 1rem; }
  .how-it-works { padding: 2rem 1rem; }
  .how-it-works-inner { grid-template-columns: 1fr; gap: 1.2rem; }
  .modal-body { flex-direction: column; padding: 1.5rem; gap: 1rem; }
  .modal-img { justify-content: center; }
  .modal-img img { width: 160px; height: 200px; }
  .modal-actions { flex-direction: column; }
  .modal-actions .btn { width: 100%; justify-content: center; }
  .wa-float { height: 48px; bottom: 1rem; right: 1rem; padding: 0 1rem; border-radius: 24px; }
  .wa-float svg { width: 24px; height: 24px; }
  .wa-float-label { font-size: 0.8rem; }
  .back-to-top { right: 4rem; bottom: 1rem; width: 36px; height: 36px; }
  .skeleton-grid { grid-template-columns: repeat(2, 1fr); }
  .age-gate-actions { flex-direction: column; }
}

/* ─── Hero Section ──────────────────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
  min-height: 640px;
  background: var(--bg-primary);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border);
}
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.9;
}
.hero-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top, rgba(59, 130, 246, 0.15) 0%, transparent 60%),
    linear-gradient(to bottom, rgba(37, 36, 35, 0.3) 0%, rgba(37, 36, 35, 0.6) 60%, rgba(37, 36, 35, 0.95) 100%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1000px;
  margin: 0 auto;
  padding: 5rem 2rem;
  text-align: center;
  color: #fff;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  background: rgba(53, 52, 51, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(147, 144, 142, 0.4);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #e2e8f0;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.15);
  animation: heroFadeUp 0.7s ease-out both;
}
.hero-badge svg {
  width: 14px;
  height: 14px;
  color: #3aa394;
}
.hero-title {
  font-size: clamp(2.2rem, 6vw, 4.8rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 1.5rem;
  animation: heroFadeUp 0.7s ease-out 0.1s both;
}
.hero-title-accent {
  background: linear-gradient(to right, #3aa394 0%, #7dd3c8 50%, #a8d5cd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.35rem);
  color: #cbd5e1;
  max-width: 640px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
  line-height: 1.5;
  animation: heroFadeUp 0.7s ease-out 0.2s both;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  animation: heroFadeUp 0.7s ease-out 0.3s both;
}
.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 2rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 2px solid transparent;
}
.hero-btn svg {
  width: 18px;
  height: 18px;
}
.hero-btn-primary {
  background: #0f5e54;
  color: #fff;
  box-shadow: 0 10px 30px rgba(15, 94, 84, 0.4);
}
.hero-btn-primary:hover {
  background: #3b82f6;
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(59, 130, 246, 0.5);
}
.hero-btn-primary:hover svg {
  transform: translateX(3px);
}
.hero-btn-primary svg {
  transition: transform 0.25s ease;
}
.hero-btn-secondary {
  background: transparent;
  color: #f1f5f9;
  border-color: rgba(148, 163, 184, 0.5);
}
.hero-btn-secondary:hover {
  border-color: #94a3b8;
  background: rgba(53, 52, 51, 0.4);
  transform: translateY(-2px);
}
.hero-subtext {
  font-size: 0.82rem;
  color: #94a3b8;
  margin-bottom: 3rem;
  animation: heroFadeUp 0.7s ease-out 0.4s both;
}
.hero-trust {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: heroFadeUp 0.7s ease-out 0.5s both;
}
.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.1rem;
  background: rgba(53, 52, 51, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(147, 144, 142, 0.35);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #e2e8f0;
}
.hero-trust-item svg {
  width: 16px;
  height: 16px;
}
.hero-trust-item:nth-child(1) svg { color: #34d399; }
.hero-trust-item:nth-child(2) svg { color: #3aa394; }
.hero-trust-item:nth-child(3) svg { color: #7dd3c8; }
.hero-trust-item:nth-child(4) svg { color: #a78bfa; }

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .hero { min-height: 620px; }
  .hero-content { padding: 8rem 1.25rem 3.5rem; }
  .hero-badge { font-size: 0.65rem; padding: 0.5rem 1rem; margin-bottom: 1.25rem; }
  .hero-subtitle { margin-bottom: 2rem; }
  .hero-cta { flex-direction: column; gap: 0.75rem; width: 100%; }
  .hero-btn { width: 100%; padding: 1rem 1.5rem; }
  .hero-subtext { margin-bottom: 2rem; }
  .hero-trust { gap: 0.5rem; }
  .hero-trust-item { font-size: 0.63rem; padding: 0.55rem 0.9rem; }
  .hero-trust-item svg { width: 14px; height: 14px; }
}

/* ─── Hero Header Overlay ─ floats over hero canvas as glass morphism ──── */
.hero { min-height: 720px; }
.hero-content { padding: 7.5rem 2rem 5rem; }

.hero > header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: none;
  padding: 1.25rem 2rem;
  animation: heroFadeUp 0.7s ease-out both;
}
.hero > header .header-inner { max-width: 1400px; }
.hero > header .brand h1 {
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}
.hero > header .brand h1 span {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 300;
}
.hero > header .brand-logo {
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.4));
}

.hero > header .search-input {
  background: rgba(53, 52, 51, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(147, 144, 142, 0.4);
  border-radius: 999px;
  padding: 0.7rem 1.3rem;
  color: #e2e8f0;
  font-size: 0.82rem;
  width: 260px;
  flex: 0 0 260px;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, flex-basis 0.25s ease, width 0.25s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}
.hero > header .search-input::placeholder {
  color: rgba(226, 232, 240, 0.55);
}
.hero > header .search-input:focus {
  outline: none;
  border-color: #3aa394;
  background: rgba(53, 52, 51, 0.78);
  box-shadow: 0 0 0 3px rgba(58, 163, 148, 0.22), 0 10px 28px rgba(58, 163, 148, 0.2);
  width: 300px;
  flex: 0 0 300px;
}

.hero > header .btn-whatsapp {
  background: rgba(58, 163, 148, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(58, 163, 148, 0.55);
  border-radius: 999px;
  padding: 0.65rem 1.3rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #fff;
  flex: 0 0 auto;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(58, 163, 148, 0.28);
  transition: all 0.25s ease;
}
.hero > header .btn-whatsapp:hover {
  transform: translateY(-1px);
  background: rgba(15, 94, 84, 0.95);
  box-shadow: 0 10px 28px rgba(58, 163, 148, 0.38);
}

@media (max-width: 768px) {
  .hero > header {
    padding: 1rem 1.25rem;
  }
  .hero > header .header-inner {
    gap: 0.6rem;
    justify-content: center;
  }
  .hero > header .brand {
    width: 100%;
    justify-content: center;
  }
  .hero > header .brand h1 {
    font-size: 1.05rem;
  }
  .hero > header .header-actions {
    width: 100%;
    justify-content: center;
  }
  .hero > header .search-input {
    flex: 1 1 auto;
    width: auto;
    max-width: none;
    min-width: 0;
  }
  .hero > header .search-input:focus {
    width: auto;
    max-width: none;
  }
  /* Research Library button on its own line, search + Telegram share line 2 */
  .hero > header .header-actions {
    flex-wrap: wrap;
    gap: 0.5rem;
    max-width: 320px;
    margin: 0 auto;
  }
  .hero > header .research-lib-cta {
    flex: 0 0 100%;
    order: -1;
    max-width: 320px;
    margin: 0 auto;
  }
  .hero > header .btn-whatsapp {
    flex: 0 0 auto;
  }
}
@media (max-width: 768px) {
  /* Extra top padding so the taller 3-row header doesn't overlap hero content */
  .hero-content { padding-top: 11rem; }
}

/* ─── Typography (Item 3) ──────────────────────────────────────────────── */
body,
p,
.card-desc,
.price,
.price-unit,
input,
textarea,
select,
button,
.banner,
.btn,
.toast,
footer {
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0.005em;
}

h1, h2, h3, h4, h5, h6,
.brand h1,
.hero-title,
.section-heading,
.eyebrow-label,
.card h3,
.modal-info h2,
.age-gate-box h2,
.page h2,
.page h3,
.step-title,
.filter-btn,
.btn,
.btn-enquire,
.hero-btn,
.hero-badge,
.hero-trust-item {
  font-family: var(--font-heading);
  letter-spacing: 0.015em;
}

.hero-title {
  font-weight: 800;
  letter-spacing: -0.01em;
}

.brand h1 {
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ─── Eyebrow + Section Heading (Item 2) ──────────────────────────────── */
.section-intro {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3.5rem 2rem 1rem;
  text-align: left;
}
.eyebrow-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 0.65rem;
  position: relative;
  padding-left: 2.4rem;
}
.eyebrow-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1.8rem;
  height: 1px;
  background: var(--fg-muted);
  opacity: 0.55;
}
.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: var(--fg-primary);
  margin: 0 0 0.4rem;
  text-transform: uppercase;
}
.section-heading-sub {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--fg-muted);
  max-width: 640px;
  line-height: 1.55;
  margin: 0;
}
@media (max-width: 640px) {
  .section-intro { padding: 2.5rem 1rem 0.5rem; }
  .eyebrow-label { padding-left: 2rem; font-size: 0.68rem; }
  .section-heading { font-size: clamp(1.8rem, 7vw, 2.4rem); }
}

/* ─── Stats Trust Strip (Item 5) ───────────────────────────────────────── */
.stats-strip {
  position: relative;
  padding: 4.5rem 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse at top, color-mix(in srgb, var(--accent) 6%, transparent) 0%, transparent 65%),
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg-3) 100%);
  overflow: hidden;
}
.stats-strip::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(246, 244, 242, 0.06) 1px, transparent 0);
  background-size: 22px 22px;
  pointer-events: none;
}
.stats-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  text-align: center;
}
.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}
.stat-num {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 5.4vw, 4.6rem);
  font-weight: 800;
  color: var(--fg-primary);
  line-height: 1;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
}
.stat-num .stat-value {
  display: inline-block;
  min-width: 1.5ch;
}
.stat-unit {
  font-size: 0.45em;
  color: var(--fg-muted);
  font-weight: 600;
  margin-left: 0.18em;
  letter-spacing: 0.04em;
}
.stat-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-muted);
}
.stat-divider {
  display: none;
}
@media (max-width: 760px) {
  .stats-strip { padding: 3rem 1rem; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
}

/* ─── Per-Category Card Colours (Item 7) ──────────────────────────────── */
.card {
  --cat-color: var(--color-all);
  border-top: 2px solid transparent;
  position: relative;
}
.card[data-category="weight"]    { --cat-color: var(--color-weight);    }
.card[data-category="recovery"]  { --cat-color: var(--color-recovery);  }
.card[data-category="growth"]    { --cat-color: var(--color-growth);    }
.card[data-category="specialty"] { --cat-color: var(--color-specialty); }
.card[data-category="antiage"]   { --cat-color: var(--color-antiage);   }
.card[data-category="accessory"] { --cat-color: var(--color-accessory); }
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-top: 2px solid transparent;
  background: linear-gradient(180deg, color-mix(in srgb, var(--cat-color) 12%, transparent) 0%, transparent 30%);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.card:hover::after { opacity: 1; }
.card:hover {
  background: rgba(53, 52, 51, 0.85);
  box-shadow:
    inset 0 2px 0 0 var(--cat-color),
    inset 0 0 0 1px color-mix(in srgb, var(--cat-color) 35%, transparent),
    0 14px 36px color-mix(in srgb, var(--cat-color) 18%, transparent);
}
.card .card-cat {
  color: color-mix(in srgb, var(--cat-color) 70%, var(--fg-muted));
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.card-badge {
  background: var(--cat-color);
  color: var(--bg-primary);
  box-shadow: 0 4px 14px color-mix(in srgb, var(--cat-color) 35%, transparent);
}

/* ─── Image Fallback (Bonus) ───────────────────────────────────────────── */
.card-img-fallback {
  width: 100%;
  height: 200px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  position: relative;
  background:
    radial-gradient(ellipse at center, color-mix(in srgb, var(--cat-color) 18%, var(--bg-3)) 0%, var(--bg-3) 70%);
  border-radius: var(--radius);
  margin: 0 auto 0.6rem;
  border: 1px dashed color-mix(in srgb, var(--cat-color) 35%, var(--border));
  overflow: hidden;
}
.card-img-fallback::before {
  content: attr(data-letter);
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  color: color-mix(in srgb, var(--cat-color) 75%, var(--fg-faint));
  letter-spacing: -0.04em;
  text-shadow: 0 0 30px color-mix(in srgb, var(--cat-color) 30%, transparent);
}
.card-img-fallback::after {
  content: "Image coming soon";
  position: absolute;
  bottom: 0.6rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-heading);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-faint);
}

/* ─── Dot Grid Background Texture (Item 8) ────────────────────────────── */
body {
  background-color: var(--bg-primary);
  background-image:
    radial-gradient(circle at 1px 1px, rgba(246, 244, 242, 0.045) 1px, transparent 0);
  background-size: 24px 24px;
  background-attachment: fixed;
}

/* ─── How to Order (Item 10) ──────────────────────────────────────────── */
.how-to-order {
  position: relative;
  padding: 5rem 2rem 5.5rem;
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(180deg, var(--bg-3) 0%, var(--bg-2) 100%);
}
.how-to-order-intro {
  max-width: 1200px;
  margin: 0 auto 3rem;
  text-align: left;
}
.hto-steps {
  list-style: none;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
  position: relative;
  counter-reset: hto;
}
.hto-step {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem 1.4rem 1.6rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.8rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.hto-step:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--border));
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.hto-num {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--fg-faint);
  margin-bottom: 0.2rem;
}
.hto-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-4);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-primary);
}
.hto-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}
.hto-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--fg-primary);
  text-transform: uppercase;
}
.hto-desc {
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--fg-muted);
}
@media (max-width: 1100px) {
  .hto-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .how-to-order { padding: 3.5rem 1rem 4rem; }
  .how-to-order-intro { margin-bottom: 2rem; }
  .hto-steps { grid-template-columns: 1fr; gap: 0.9rem; }
  .hto-step { padding: 1.6rem 1.2rem 1.4rem; }
}

/* ─── Trust Signals (Item 9 — Choice C, no fake testimonials) ────────── */
.trust-signals {
  padding: 5rem 2rem 5.5rem;
  border-top: 1px solid var(--border);
  background:
    linear-gradient(180deg, var(--bg-2) 0%, var(--bg-3) 100%);
}
.trust-intro {
  max-width: 1200px;
  margin: 0 auto 2.6rem;
  text-align: left;
}
.trust-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.trust-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.8rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  --tone: var(--color-all);
}
.trust-card[data-tone="weight"]    { --tone: var(--color-weight);    }
.trust-card[data-tone="recovery"]  { --tone: var(--color-recovery);  }
.trust-card[data-tone="growth"]    { --tone: var(--color-growth);    }
.trust-card[data-tone="specialty"] { --tone: var(--color-specialty); }
.trust-card[data-tone="antiage"]   { --tone: var(--color-antiage);   }
.trust-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--tone) 55%, var(--border));
  box-shadow: 0 22px 48px color-mix(in srgb, var(--tone) 14%, rgba(0, 0, 0, 0.45));
}
.trust-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--tone) 14%, var(--bg-3));
  border: 1px solid color-mix(in srgb, var(--tone) 35%, var(--border));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tone);
}
.trust-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}
.trust-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--fg-primary);
  text-transform: uppercase;
  margin: 0;
}
.trust-text {
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--fg-muted);
  margin: 0;
}
@media (max-width: 1100px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .trust-signals { padding: 3.5rem 1rem 4rem; }
  .trust-grid { grid-template-columns: 1fr; gap: 1rem; }
  .trust-card { padding: 1.5rem 1.4rem; }
}

/* ─── Hero Compliance Strip ─ credentials line at bottom of hero ──────── */
.hero-compliance {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1.5rem;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.4rem 0.9rem;
  padding: 0 2rem;
  font-family: 'Source Serif 4', 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.45);
  pointer-events: none;
  animation: heroFadeUp 1s ease-out 0.4s both;
}
.hero-compliance-sep {
  color: rgba(226, 232, 240, 0.2);
}
@media (max-width: 768px) {
  .hero-compliance {
    bottom: 0.9rem;
    padding: 0 1rem;
    font-size: 0.56rem;
    letter-spacing: 0.1em;
    gap: 0.2rem 0.5rem;
  }
  .hero-compliance-sep { display: none; }
}

/* ─── Trust Marquee ─ scrolling strip of cited sources ──────────────────── */
.marquee-sec {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: rgba(37, 36, 35, 0.5);
  overflow: hidden;
}
.marquee-sec-head {
  text-align: center;
  padding: 0 1.25rem;
  margin-bottom: 1.5rem;
}
.marquee {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marqueeScroll 45s linear infinite;
}
.marquee-item {
  flex-shrink: 0;
  font-family: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: rgba(186, 182, 178, 0.55);
  white-space: nowrap;
  transition: color 0.25s ease;
}
.marquee-item:hover {
  color: #3aa394;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}
@media (max-width: 640px) {
  .marquee-sec { padding: 1.75rem 0 2rem; }
  .marquee-sec-head { margin-bottom: 1rem; }
  .marquee-track { gap: 2rem; animation-duration: 35s; }
  .marquee-item { font-size: 0.72rem; letter-spacing: 0.14em; }
}

/* ─── How to Order — collapsible accordion ─────────────────────────────── */
.hto-details {
  max-width: 1200px;
  margin: 0 auto;
}
.hto-details > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0;
  margin-bottom: 2rem;
  user-select: none;
  transition: opacity 0.2s ease;
}
.hto-details > summary::-webkit-details-marker { display: none; }
.hto-details > summary:hover { opacity: 0.85; }
.hto-details > summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 6px;
  border-radius: 8px;
}
.hto-summary-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.3rem;
  text-align: left;
  flex: 1;
}
.hto-summary-label .eyebrow-label { margin: 0; }
.hto-summary-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  font-weight: 800;
  color: var(--heading);
  letter-spacing: -0.02em;
  line-height: 1.05;
  text-transform: none;
}
.hto-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(58, 163, 148, 0.22), rgba(139, 92, 246, 0.14));
  border: 2px solid rgba(58, 163, 148, 0.55);
  color: #a8d5cd;
  flex-shrink: 0;
  box-shadow: 0 6px 22px rgba(58, 163, 148, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.35s cubic-bezier(.2,.9,.3,1.3), background 0.25s ease, color 0.2s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.hto-chevron svg {
  width: 28px;
  height: 28px;
  stroke-width: 3;
}
/* Bounce + pulse when collapsed — draws the eye to the tap target */
.hto-details:not([open]) .hto-chevron {
  animation: htoChevronBounce 2.4s cubic-bezier(.25,.8,.25,1) infinite;
}
@keyframes htoChevronBounce {
  0%, 60%, 100% { transform: translateY(0) scale(1); }
  70% { transform: translateY(-10px) scale(1.06); }
  80% { transform: translateY(0) scale(1); }
  86% { transform: translateY(-5px) scale(1.03); }
  92% { transform: translateY(0) scale(1); }
}
/* Expanding glow ring pulse on the closed chevron */
.hto-details:not([open]) .hto-chevron::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  border: 2px solid rgba(58, 163, 148, 0.55);
  animation: htoChevronRing 2.4s ease-out infinite;
  pointer-events: none;
}
.hto-chevron { position: relative; }
@keyframes htoChevronRing {
  0% { transform: scale(0.85); opacity: 0.9; }
  100% { transform: scale(1.5); opacity: 0; }
}
.hto-details[open] > summary .hto-chevron {
  transform: rotate(180deg);
  background: linear-gradient(135deg, rgba(58, 163, 148, 0.28), rgba(139, 92, 246, 0.2));
  color: #bfdbfe;
  animation: none;
}
.hto-details[open] > summary .hto-chevron::after { display: none; }
.hto-details > summary:hover .hto-chevron {
  background: linear-gradient(135deg, rgba(58, 163, 148, 0.35), rgba(139, 92, 246, 0.22));
  border-color: rgba(147, 197, 253, 0.85);
  color: #f1f5f9;
  box-shadow: 0 10px 28px rgba(58, 163, 148, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
@media (prefers-reduced-motion: reduce) {
  .hto-details:not([open]) .hto-chevron,
  .hto-details:not([open]) .hto-chevron::after {
    animation: none;
  }
  .hto-details:not([open]) .hto-chevron::after { display: none; }
}
.hto-summary-sub {
  margin-top: 0;
  margin-bottom: 2rem;
  max-width: 640px;
  animation: htoFadeDown 0.35s ease-out both;
}
.hto-details[open] .hto-steps {
  animation: htoFadeDown 0.4s ease-out both;
}
@keyframes htoFadeDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (max-width: 640px) {
  .hto-details > summary {
    padding: 0.25rem 0;
    margin-bottom: 1rem;
  }
  .hto-summary-title { font-size: clamp(1.8rem, 8vw, 2.6rem); }
  .hto-chevron { width: 56px; height: 56px; }
  .hto-chevron svg { width: 24px; height: 24px; }
  .hto-summary-sub { margin-bottom: 1.5rem; }
}

/* ─── Research Library CTA ─ eye-catching animated button ──────────────── */
.research-lib-cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 1rem 0.55rem 0.8rem;
  background: linear-gradient(135deg, rgba(58, 163, 148, 0.18) 0%, rgba(139, 92, 246, 0.14) 100%);
  border: 1px solid rgba(58, 163, 148, 0.45);
  border-radius: 999px;
  font-family: 'Source Serif 4', 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #f1f5f9;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    0 4px 16px rgba(58, 163, 148, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  animation: researchPulse 3.2s ease-in-out infinite;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
/* All children above the shimmer layer */
.research-lib-cta > *:not(.research-lib-shimmer) {
  position: relative;
  z-index: 1;
}
/* Shimmer sweep */
.research-lib-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
    transparent 0%,
    transparent 38%,
    rgba(147, 197, 253, 0.45) 50%,
    transparent 62%,
    transparent 100%);
  transform: translateX(-100%);
  animation: researchShimmer 6s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.research-lib-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #a8d5cd;
  filter: drop-shadow(0 0 6px rgba(58, 163, 148, 0.5));
  transition: transform 0.25s ease, color 0.25s ease;
}
.research-lib-icon svg { width: 16px; height: 16px; }
.research-lib-text {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
  gap: 0.1rem;
}
.research-lib-label {
  color: #f1f5f9;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.research-lib-sub {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.54rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: rgba(147, 197, 253, 0.85);
  text-transform: uppercase;
}
.research-lib-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.65rem;
  height: 1.35rem;
  padding: 0 0.4rem;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #1e293b;
  background: linear-gradient(135deg, #a8d5cd, #3aa394);
  border-radius: 999px;
  box-shadow: 0 0 10px rgba(58, 163, 148, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  animation: researchBadgePulse 2.2s ease-in-out infinite;
}
.research-lib-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #a8d5cd;
  transition: transform 0.25s ease, color 0.25s ease;
}
.research-lib-arrow svg { width: 14px; height: 14px; }

.research-lib-cta:hover {
  transform: translateY(-2px);
  border-color: rgba(147, 197, 253, 0.85);
  box-shadow:
    0 10px 28px rgba(58, 163, 148, 0.45),
    0 0 0 1px rgba(58, 163, 148, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  animation-play-state: paused;
}
.research-lib-cta:hover .research-lib-icon {
  color: #bfdbfe;
  transform: rotate(-4deg) scale(1.08);
}
.research-lib-cta:hover .research-lib-arrow {
  color: #f1f5f9;
  transform: translateX(4px);
}
.research-lib-cta:focus-visible {
  outline: 2px solid #3aa394;
  outline-offset: 3px;
}
.research-lib-cta:active {
  transform: translateY(0);
}

@keyframes researchPulse {
  0%, 100% {
    box-shadow: 0 4px 16px rgba(58, 163, 148, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 0 0 rgba(58, 163, 148, 0.35);
  }
  50% {
    box-shadow: 0 6px 22px rgba(58, 163, 148, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 0 8px rgba(58, 163, 148, 0);
  }
}
@keyframes researchShimmer {
  0%, 55% { transform: translateX(-100%); }
  75%, 100% { transform: translateX(100%); }
}
@keyframes researchBadgePulse {
  0%, 100% {
    box-shadow: 0 0 8px rgba(58, 163, 148, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  }
  50% {
    box-shadow: 0 0 16px rgba(147, 197, 253, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.55);
  }
}

@media (prefers-reduced-motion: reduce) {
  .research-lib-cta,
  .research-lib-shimmer,
  .research-lib-badge {
    animation: none;
  }
  .research-lib-shimmer { display: none; }
}

/* Mobile — full-width pill with bigger presence */
@media (max-width: 768px) {
  .research-lib-cta {
    width: 100%;
    max-width: 320px;
    padding: 0.7rem 1.1rem 0.7rem 1rem;
    justify-content: center;
    gap: 0.55rem;
  }
  .research-lib-label { font-size: 0.82rem; }
  .research-lib-sub { font-size: 0.52rem; }
  .research-lib-icon svg { width: 18px; height: 18px; }
}

/* ─── Research Library Banner ─ full-width CTA above product catalogue ── */
.research-banner {
  padding: 3.5rem 1.5rem 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}
.research-banner-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2.5rem;
  padding: 2.5rem 2.5rem;
  border-radius: 24px;
  background:
    radial-gradient(circle at 15% 50%, rgba(58, 163, 148, 0.18) 0%, transparent 50%),
    radial-gradient(circle at 85% 50%, rgba(139, 92, 246, 0.14) 0%, transparent 50%),
    linear-gradient(135deg, rgba(42, 41, 40, 0.95) 0%, rgba(37, 36, 35, 0.95) 100%);
  border: 1px solid rgba(58, 163, 148, 0.35);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    0 14px 44px rgba(58, 163, 148, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  animation: researchBannerPulse 3.5s ease-in-out infinite;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.research-banner-card > *:not(.research-banner-shimmer):not(.research-banner-glow) {
  position: relative;
  z-index: 2;
}
.research-banner-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
    transparent 0%,
    transparent 35%,
    rgba(147, 197, 253, 0.35) 50%,
    transparent 65%,
    transparent 100%);
  transform: translateX(-100%);
  animation: researchBannerShimmer 7s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}
.research-banner-glow {
  position: absolute;
  top: 50%;
  left: 15%;
  width: 260px;
  height: 260px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(58, 163, 148, 0.3) 0%, transparent 60%);
  filter: blur(40px);
  animation: researchBannerGlowDrift 9s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes researchBannerGlowDrift {
  0%, 100% { left: 15%; }
  50% { left: 85%; }
}

/* Left block: icon + 101 stat */
.research-banner-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.research-banner-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(58, 163, 148, 0.3), rgba(139, 92, 246, 0.2));
  border: 1px solid rgba(58, 163, 148, 0.45);
  color: #a8d5cd;
  filter: drop-shadow(0 0 12px rgba(58, 163, 148, 0.5));
  flex-shrink: 0;
}
.research-banner-icon svg { width: 38px; height: 38px; }
.research-banner-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  padding-left: 1.5rem;
  border-left: 1px solid rgba(147, 144, 142, 0.25);
}
.research-banner-stat-num {
  font-family: 'Source Serif 4', sans-serif;
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 800;
  color: #f1f5f9;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 0%, #a8d5cd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.research-banner-stat-label {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(186, 182, 178, 0.75);
  margin-top: 0.3rem;
  line-height: 1.3;
}

/* Center body */
.research-banner-body {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  min-width: 0;
}
.research-banner-eyebrow { margin-bottom: 0; }
.research-banner-title {
  font-family: 'Source Serif 4', sans-serif;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 700;
  line-height: 1.05;
  color: #f1f5f9;
  letter-spacing: -0.015em;
  margin: 0;
  text-transform: none;
}
.research-banner-title em {
  font-style: normal;
  background: linear-gradient(135deg, #a8d5cd 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.research-banner-sub {
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(226, 232, 240, 0.75);
  margin: 0;
  max-width: 640px;
}
.research-banner-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.8rem;
  margin-top: 0.3rem;
}
.research-banner-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(53, 52, 51, 0.6);
  border: 1px solid rgba(147, 144, 142, 0.3);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.82);
  white-space: nowrap;
}
.research-banner-chip-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  flex-shrink: 0;
}
.research-banner-chip-dot[data-tone="green"]  { background: #22c55e; box-shadow: 0 0 6px rgba(34, 197, 94, 0.7); }
.research-banner-chip-dot[data-tone="yellow"] { background: #eab308; box-shadow: 0 0 6px rgba(234, 179, 8, 0.6); }
.research-banner-chip-dot[data-tone="red"]    { background: #ef4444; box-shadow: 0 0 6px rgba(239, 68, 68, 0.6); }
.research-banner-chip-sep { color: rgba(147, 144, 142, 0.4); padding: 0 0.15rem; }
.research-banner-chip-wada {
  background: rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.4);
  color: #c4b5fd;
}

/* Right CTA */
.research-banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #3aa394 0%, #818cf8 100%);
  border-radius: 999px;
  color: #0f172a;
  font-family: 'Source Serif 4', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(58, 163, 148, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.research-banner-cta-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}
.research-banner-cta-arrow svg { width: 18px; height: 18px; }

.research-banner-card:hover {
  transform: translateY(-3px);
  border-color: rgba(147, 197, 253, 0.85);
  box-shadow:
    0 22px 56px rgba(58, 163, 148, 0.38),
    0 0 0 1px rgba(58, 163, 148, 0.4);
  animation-play-state: paused;
}
.research-banner-card:hover .research-banner-cta {
  box-shadow: 0 14px 34px rgba(58, 163, 148, 0.55);
}
.research-banner-card:hover .research-banner-cta-arrow {
  transform: translateX(5px);
}
.research-banner-card:focus-visible {
  outline: 2px solid #3aa394;
  outline-offset: 4px;
}

@keyframes researchBannerPulse {
  0%, 100% {
    box-shadow: 0 14px 44px rgba(58, 163, 148, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 0 0 0 rgba(58, 163, 148, 0.35);
  }
  50% {
    box-shadow: 0 16px 52px rgba(58, 163, 148, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 0 10px rgba(58, 163, 148, 0);
  }
}
@keyframes researchBannerShimmer {
  0%, 60% { transform: translateX(-100%); }
  80%, 100% { transform: translateX(100%); }
}

@media (prefers-reduced-motion: reduce) {
  .research-banner-card, .research-banner-shimmer, .research-banner-glow { animation: none; }
  .research-banner-shimmer { display: none; }
}

/* Tablet */
@media (max-width: 900px) {
  .research-banner-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem 1.75rem;
    text-align: left;
  }
  .research-banner-cta {
    justify-self: start;
  }
  .research-banner-glow { left: 50%; top: 30%; }
  @keyframes researchBannerGlowDrift {
    0%, 100% { left: 25%; }
    50% { left: 75%; }
  }
}

/* Mobile */
@media (max-width: 640px) {
  .research-banner { padding: 2.5rem 1rem 1rem; }
  .research-banner-card {
    padding: 1.75rem 1.5rem;
    gap: 1.25rem;
    border-radius: 20px;
  }
  .research-banner-left {
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(147, 144, 142, 0.2);
  }
  .research-banner-icon { width: 56px; height: 56px; border-radius: 16px; }
  .research-banner-icon svg { width: 30px; height: 30px; }
  .research-banner-stat { padding-left: 1rem; }
  .research-banner-stat-num { font-size: 2.6rem; }
  .research-banner-stat-label { font-size: 0.58rem; }
  .research-banner-title { font-size: 1.6rem; }
  .research-banner-sub { font-size: 0.85rem; }
  .research-banner-meta { gap: 0.4rem 0.5rem; }
  .research-banner-chip { font-size: 0.55rem; padding: 0.3rem 0.55rem; }
  .research-banner-chip-sep { display: none; }
  .research-banner-cta {
    width: 100%;
    justify-content: center;
    padding: 0.9rem 1.2rem;
    font-size: 0.95rem;
  }
}

/* ═══ PROTOCOL CLUB ═══ */

/* Club awareness banner (index.html) */
.club-banner {
  background: linear-gradient(135deg, rgba(15, 94, 84, 0.15), rgba(58, 163, 148, 0.08));
  border: 1px solid rgba(58, 163, 148, 0.25);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  margin: 4rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.club-banner-text {
  flex: 1;
  min-width: 250px;
}
.club-banner-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 0.3rem;
}
.club-banner-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.club-banner .btn {
  white-space: nowrap;
  flex-shrink: 0;
}

/* Club pitch on enquiry success */
.club-pitch {
  background: linear-gradient(135deg, rgba(15, 94, 84, 0.12), rgba(58, 163, 148, 0.06));
  border: 1px solid rgba(58, 163, 148, 0.2);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-top: 1.5rem;
  text-align: left;
}
.club-pitch-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 0.5rem;
}
.club-pitch p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  line-height: 1.5;
}
.club-pitch ul {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0;
}
.club-pitch li {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 0.25rem 0;
  padding-left: 1.2rem;
  position: relative;
}
.club-pitch li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}
.club-pitch .btn {
  margin-top: 0.8rem;
}

/* Club sales page */
.club-hero {
  text-align: center;
  padding: 3rem 2rem 2rem;
  max-width: 700px;
  margin: 0 auto;
}
.club-hero h1,
.club-hero h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--heading);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.club-hero .club-price-tag {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.8rem;
}
.club-price-anchor {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 0.2rem;
  letter-spacing: 0.02em;
}

/* Trust block */
.club-trust {
  max-width: 700px;
  margin: 1rem auto 0;
  padding: 0 2rem;
}
.club-trust-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}
.club-trust-photo {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--accent-strong);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  flex-shrink: 0;
  overflow: hidden;
}
.club-trust-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.club-trust-bio-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 0.2rem;
}
.club-trust-bio-title {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}
.club-trust-testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.club-testimonial {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
}
.club-testimonial-quote {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  font-style: italic;
  margin-bottom: 0.6rem;
}
.club-testimonial-author {
  font-size: 0.72rem;
  color: var(--heading);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* CTA micro-copy */
.club-cta-micro {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.8rem;
  margin-bottom: 0;
}
.club-hero p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 550px;
  margin: 0 auto;
}

.club-section {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem;
}
.club-section h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 1rem;
  text-align: center;
}

.club-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}
.club-feature {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem;
}
.club-feature-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 0.3rem;
}
.club-feature p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

.club-cta {
  text-align: center;
  padding: 2rem;
  margin: 1rem auto 3rem;
  max-width: 500px;
  background: linear-gradient(135deg, rgba(15, 94, 84, 0.12), rgba(58, 163, 148, 0.06));
  border: 1px solid rgba(58, 163, 148, 0.2);
  border-radius: var(--radius);
}
.club-cta p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.club-cta .btn {
  font-size: 0.95rem;
  padding: 0.7rem 1.8rem;
}

.club-faq {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 2rem 3rem;
}
.club-faq h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 1rem;
  text-align: center;
}
.club-faq details {
  border-bottom: 1px solid var(--border);
  padding: 0.8rem 0;
}
.club-faq summary {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--heading);
  cursor: pointer;
  list-style: none;
  padding-right: 1.5rem;
  position: relative;
}
.club-faq summary::-webkit-details-marker { display: none; }
.club-faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform 0.2s ease;
}
.club-faq details[open] summary::after {
  content: "\2212";
}
.club-faq summary:focus-visible,
.club-cta .btn:focus-visible,
.club-banner .btn:focus-visible,
.club-pitch .btn:focus-visible,
.club-testimonial:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
.club-faq details p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
  line-height: 1.5;
}

@media (max-width: 600px) {
  .club-banner { flex-direction: column; text-align: center; padding: 1.2rem; margin: 2rem 1rem; }
  .club-features { grid-template-columns: 1fr; }
  .club-hero h1,
  .club-hero h2 { font-size: 1.5rem; }
  .club-trust { padding: 0 1rem; }
  .club-trust-testimonials { grid-template-columns: 1fr; }
  .club-trust-header { flex-direction: column; text-align: center; }
}

/* ══════════════════════════════════════════════════════════════
   LIGHT MODE — auto-switches based on the user's OS preference
   (falls back to dark theme if no preference is set)
   ══════════════════════════════════════════════════════════════ */

/* Dark mode: show sun icon (click to go light) */
/* Light mode: show moon icon (click to go dark) */
/* Light mode colors for the toggle itself */
/* Slightly smaller on mobile — sits in the search+WA row */
@media (max-width: 768px) {
}

/* Smooth cross-fade when switching themes */
html { transition: background-color 0.3s ease; }
body, .banner, .hero, .stats-strip, .marquee-sec, .how-to-order, .research-banner-card,
.trust-signals, .footer, .modal, .card, .hto-step, .trust-card {
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Theme toggle: brief fade-out while we reload to apply the new theme cleanly
   (avoids browser quirks with in-session custom-property recalc on root). */
html.theme-flipping body {
  opacity: 0.35;
  transition: opacity 0.12s ease-out;
}

/* Club (light overrides) */

/* Buttons + cards (light overrides) — base styles use dark surfaces with
   transparency that turn into low-contrast grey blobs on a cream
   background. Re-cast them as white surfaces with teal borders. */

/* Guide cards (used on /guides) — same dark-glass pattern */

/* Generic .card (used on homepage product grid + most card surfaces) */

/* Banner top-bar (TGA disclaimer) — was warm-charcoal, blends on cream */

/* Headers — base style is hardcoded warm-charcoal glass, blends into a
   muddy band on cream surfaces. Re-cast as a light glass band. */

/* ══════════════════════════════════════════════════════════════
   AI RESEARCH ASSISTANT CHATBOT — floating widget on /peptides
   ══════════════════════════════════════════════════════════════ */

/* Floating FAB — bottom-left to avoid Telegram button on the right */
.jmpt-chat-fab {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 85;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 1.25rem 0.75rem 0.85rem;
  background: linear-gradient(135deg, #0f5e54 0%, #7c3aed 100%);
  color: #ffffff;
  border: none;
  border-radius: 999px;
  font-family: 'Source Serif 4', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(58, 163, 148, 0.45), 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
  isolation: isolate;
}
.jmpt-chat-fab:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 44px rgba(58, 163, 148, 0.6), 0 2px 6px rgba(0, 0, 0, 0.3);
}
.jmpt-chat-fab:active { transform: translateY(-1px); }
.jmpt-chat-fab-pulse {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: inherit;
  animation: chatFabPulse 2.4s ease-out infinite;
  z-index: -1;
}
@keyframes chatFabPulse {
  0%   { transform: scale(1);   opacity: 0.5; }
  100% { transform: scale(1.3); opacity: 0;   }
}
.jmpt-chat-fab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);
  flex-shrink: 0;
}
.jmpt-chat-fab-icon svg { width: 18px; height: 18px; }
.jmpt-chat-fab-text {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
  gap: 0.15rem;
}
.jmpt-chat-fab-label { font-size: 0.92rem; font-weight: 700; }
.jmpt-chat-fab-sub {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.56rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.85;
}
@media (max-width: 640px) {
  .jmpt-chat-fab { padding: 0.6rem 1rem 0.6rem 0.7rem; font-size: 0.85rem; left: 1rem; bottom: 1rem; }
  .jmpt-chat-fab-icon { width: 28px; height: 28px; }
  .jmpt-chat-fab-icon svg { width: 16px; height: 16px; }
  .jmpt-chat-fab-label { font-size: 0.82rem; }
  .jmpt-chat-fab-sub { font-size: 0.5rem; }
}

/* Chat panel — slides up from bottom on mobile, right side on desktop */
.jmpt-chat-panel {
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 150;
  width: 420px;
  max-width: 100vw;
  height: 620px;
  max-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #1a1918;
  border: 1px solid rgba(58, 163, 148, 0.25);
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.55), 0 -2px 10px rgba(58, 163, 148, 0.15);
  transform: translateY(calc(100% + 20px));
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s cubic-bezier(.22,.95,.3,1.1), opacity 0.25s ease, visibility 0s 0.4s;
  overflow: hidden;
}
.jmpt-chat-panel-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  transition: transform 0.4s cubic-bezier(.22,.95,.3,1.1), opacity 0.3s ease, visibility 0s;
}
@media (min-width: 641px) {
  .jmpt-chat-panel {
    bottom: 1.5rem;
    right: 1.5rem;
    border-radius: 20px;
    height: 640px;
  }
}
@media (max-width: 640px) {
  .jmpt-chat-panel { height: calc(100vh - 50px); max-height: 100dvh; }
}

/* Header */
.jmpt-chat-header {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.1rem;
  background: linear-gradient(135deg, rgba(15, 94, 84, 0.22) 0%, rgba(124, 58, 237, 0.18) 100%);
  border-bottom: 1px solid rgba(58, 163, 148, 0.2);
  flex-shrink: 0;
}
.jmpt-chat-header-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #3aa394, #a78bfa);
  color: #0f172a;
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(58, 163, 148, 0.6);
}
.jmpt-chat-header-avatar svg { width: 20px; height: 20px; }
.jmpt-chat-header-text { flex: 1; min-width: 0; }
.jmpt-chat-header-title {
  font-family: 'Source Serif 4', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #f1f5f9;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.jmpt-chat-header-sub {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(147, 197, 253, 0.75);
  margin-top: 0.18rem;
}
.jmpt-chat-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(147, 144, 142, 0.3);
  color: #cbd5e1;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}
.jmpt-chat-close svg { width: 14px; height: 14px; }
.jmpt-chat-close:hover { background: rgba(239, 68, 68, 0.18); color: #fca5a5; border-color: rgba(239, 68, 68, 0.5); }

.jmpt-chat-disclaimer {
  padding: 0.55rem 1.1rem;
  background: rgba(234, 179, 8, 0.1);
  border-bottom: 1px solid rgba(234, 179, 8, 0.15);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.58rem;
  letter-spacing: 0.06em;
  color: rgba(252, 211, 77, 0.9);
  text-align: center;
  flex-shrink: 0;
}

/* Messages area */
.jmpt-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(58, 163, 148, 0.3) transparent;
}
.jmpt-chat-messages::-webkit-scrollbar { width: 6px; }
.jmpt-chat-messages::-webkit-scrollbar-thumb { background: rgba(58, 163, 148, 0.3); border-radius: 3px; }

.jmpt-chat-msg {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  max-width: 92%;
  animation: chatMsgIn 0.3s ease-out;
}
@keyframes chatMsgIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.jmpt-chat-msg-user {
  align-self: flex-end;
  flex-direction: row-reverse;
}
.jmpt-chat-msg-avatar {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #3aa394, #a78bfa);
  color: #0f172a;
  font-family: 'Source Serif 4', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}
.jmpt-chat-msg-bubble {
  background: rgba(53, 52, 51, 0.8);
  border: 1px solid rgba(147, 144, 142, 0.2);
  border-radius: 14px;
  padding: 0.7rem 0.95rem;
  font-size: 0.88rem;
  line-height: 1.55;
  color: #e2e8f0;
  word-wrap: break-word;
  overflow-wrap: anywhere;
  max-width: 100%;
}
.jmpt-chat-msg-bubble code {
  background: rgba(58, 163, 148, 0.14);
  color: #a8d5cd;
  padding: 0.12rem 0.4rem;
  border-radius: 4px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.82em;
}
.jmpt-chat-msg-user .jmpt-chat-msg-bubble {
  background: linear-gradient(135deg, #0f5e54, #7c3aed);
  border-color: transparent;
  color: #ffffff;
}
.jmpt-chat-msg-user .jmpt-chat-msg-avatar {
  background: linear-gradient(135deg, #334155, #475569);
  color: #f1f5f9;
}

/* Prompt suggestion chips */
.jmpt-chat-prompt-chip {
  display: inline-block;
  margin: 0.4rem 0.25rem 0 0;
  padding: 0.4rem 0.75rem;
  background: rgba(58, 163, 148, 0.14);
  border: 1px solid rgba(58, 163, 148, 0.35);
  border-radius: 999px;
  font-size: 0.75rem;
  color: #a8d5cd;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.jmpt-chat-prompt-chip:hover {
  background: rgba(58, 163, 148, 0.25);
  border-color: rgba(147, 197, 253, 0.6);
}

/* Recommendations chips inside bot message */
.jmpt-chat-recs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(147, 144, 142, 0.18);
}
.jmpt-chat-rec {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.65rem;
  background: rgba(42, 41, 40, 0.7);
  border: 1px solid rgba(147, 144, 142, 0.25);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  color: #e2e8f0;
}
.jmpt-chat-rec-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.54rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(203, 213, 225, 0.6);
  margin-left: 0.25rem;
}
.jmpt-chat-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.85rem;
  padding: 0.7rem 1rem;
  width: 100%;
  justify-content: center;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-family: 'Source Serif 4', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.jmpt-chat-cta svg { width: 16px; height: 16px; }
.jmpt-chat-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(34, 197, 94, 0.5);
}
.jmpt-chat-cta:disabled { opacity: 0.6; cursor: wait; }

/* Typing indicator */
.jmpt-chat-dots {
  display: inline-flex;
  gap: 0.25rem;
  align-items: center;
  padding: 0.2rem 0;
}
.jmpt-chat-dots span {
  width: 7px; height: 7px; border-radius: 999px;
  background: #a8d5cd;
  animation: chatDot 1.2s ease-in-out infinite;
}
.jmpt-chat-dots span:nth-child(2) { animation-delay: 0.18s; }
.jmpt-chat-dots span:nth-child(3) { animation-delay: 0.36s; }
@keyframes chatDot {
  0%, 60%, 100% { opacity: 0.3; transform: scale(0.85); }
  30% { opacity: 1; transform: scale(1.1); }
}
.jmpt-chat-error .jmpt-chat-msg-avatar {
  background: linear-gradient(135deg, #ef4444, #f87171);
  color: #fff;
}
.jmpt-chat-error .jmpt-chat-msg-bubble {
  background: rgba(239, 68, 68, 0.14);
  border-color: rgba(239, 68, 68, 0.4);
  color: #fca5a5;
}

/* Input area */
.jmpt-chat-input {
  display: flex;
  align-items: flex-end;
  gap: 0.55rem;
  padding: 0.8rem 1rem 1rem;
  background: rgba(26, 25, 24, 0.85);
  border-top: 1px solid rgba(147, 144, 142, 0.15);
  flex-shrink: 0;
}
.jmpt-chat-textarea {
  flex: 1;
  min-height: 42px;
  max-height: 140px;
  padding: 0.6rem 0.9rem;
  background: rgba(53, 52, 51, 0.7);
  border: 1px solid rgba(147, 144, 142, 0.3);
  border-radius: 12px;
  color: #e2e8f0;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  line-height: 1.45;
  resize: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.jmpt-chat-textarea::placeholder { color: rgba(203, 213, 225, 0.45); }
.jmpt-chat-textarea:focus {
  outline: none;
  border-color: #3aa394;
  box-shadow: 0 0 0 3px rgba(58, 163, 148, 0.2);
}
.jmpt-chat-send {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #3aa394, #a78bfa);
  color: #ffffff;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(58, 163, 148, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.jmpt-chat-send svg { width: 18px; height: 18px; }
.jmpt-chat-send:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(58, 163, 148, 0.5); }
.jmpt-chat-send:disabled { opacity: 0.5; cursor: wait; }

/* Hide Telegram float when chat is open on mobile (conflict avoidance) */
@media (max-width: 640px) {
  body.jmpt-chat-active .wa-float { display: none; }
}

/* ══════════ LIGHT MODE overrides for the chatbot ══════════ */

/* ══════════════════════════════════════════════════════════════════════════
   LIGHT MODE — premium-clinical polish layer
   Owner feedback: dark mode reads polished, light mode reads amateur.
   This layer sharpens contrast, deepens borders, restores hero texture,
   and gives cards/CTAs the same presence the dark theme has.
   ══════════════════════════════════════════════════════════════════════════ */

/* Slightly cooler, more saturated paper + firmer borders */


/* HERO — restore depth that dark mode has via texture + warm vignette */


/* Hero badge + trust pills — make them feel like solid chips, not ghosts */

/* Primary hero CTA — punchier */

/* Header + subheader — proper drop shadow, not just a faint line */

/* Banner top-bar — slightly more presence */

/* Cards — solid white, firmer 1px border, real shadow */

/* Product card images on light bg — neutral surface so the SVG vials sit
   on a soft tinted plate rather than pure white-on-white */

/* Stats strip — sharper numerals, real bottom border */

/* Section headings — heavier, more confident */

/* Filter chips — clearer active state */

/* Add-to-watchlist button — primary teal CTA, not muted */

/* Research banner — already nice, just firm up the border */

/* Footer — solid surface, not washed-out */

/* Trust signals + cards on the homepage */

/* Make the "RESEARCH ONLY" disclaimer banner read as authoritative */

/* ══════════════════════════════════════════════════════════════════════════
   MOBILE LAYOUT FIXES — owner reported overlaps + cramping on phone
   ══════════════════════════════════════════════════════════════════════════ */

/* Task 4 + 6: header on mobile wraps to multiple rows; the bottom row of
   subnav buttons (RESEARCH / QUALITY) was crashing into the AUSTRALIAN
   PEPTIDE REFERENCE hero-badge. Push the hero content down further on
   small phones, and let the subnav buttons breathe. */
@media (max-width: 768px) {
  .hero > header .header-actions {
    /* Allow more room than the 320px cap so buttons don't smush */
    max-width: 360px;
    row-gap: 0.55rem;
    column-gap: 0.5rem;
  }
  /* The three nav buttons (Research/Quality, plus Guides until Task 7
     drops it) live on the first wrapped row at full width. Keep them
     side-by-side with proper padding instead of getting crammed by a
     stretching search box. */
  .hero > header .header-actions .btn-outline {
    flex: 1 1 0;
    min-width: 0;
    padding: 0.55rem 0.75rem;
    text-align: center;
    font-size: 0.74rem !important;
    letter-spacing: 0.05em !important;
  }
  /* Search + Telegram on the next row */
  .hero > header .search-input { flex: 1 1 60%; min-width: 0; }
  .hero > header .btn-whatsapp { flex: 0 0 auto; padding: 0.55rem 0.9rem; font-size: 0.78rem; }
  /* Push hero content further from the now-taller header */
  .hero-content { padding-top: 12.5rem !important; }
  .hero-badge { position: relative; z-index: 6; }
}

/* Very small phones — header wraps to 3-4 lines, give it even more room */
@media (max-width: 420px) {
  .hero > header .header-actions { max-width: 100%; }
  .hero > header .header-actions .btn-outline { font-size: 0.7rem !important; padding: 0.5rem 0.5rem; }
  .hero-content { padding-top: 13.5rem !important; }
}

/* Task 5: hide the duplicate "Message us!" floating pill on the homepage
   (the hero already exposes the same Telegram CTA). On inner pages it
   stays as the persistent contact handle. */
body.is-home .wa-float { display: none !important; }
/* On small phones, also hide the back-to-top arrow on the homepage so
   nothing competes with the hero's primary CTA stack. */
@media (max-width: 640px) {
  body.is-home .back-to-top { display: none !important; }
}
/* Inner pages: keep both, but stack them so they never overlap. The
   floating Telegram pill sits at the bottom-right; the back-to-top
   arrow tucks ABOVE it with a clear gap. */
@media (max-width: 640px) {
  .back-to-top {
    right: 1rem !important;          /* same edge as wa-float */
    bottom: 4.75rem !important;      /* ~56px above wa-float (48px tall) */
    width: 40px !important;
    height: 40px !important;
  }
}
