*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream: #F5F0E8;
  --cream-dark: #EDE7D9;
  --cream-mid: #F0EAE0;
  --forest: #1A3A2A;
  --forest-mid: #2B5640;
  --forest-light: #3D7357;
  --sage: #7BA899;
  --sage-light: #B8D4CE;
  --sage-pale: #E8F3F0;
  --gold: #C8A96E;
  --gold-light: #E8D5A8;
  --gold-pale: #FAF4E6;
  --white: #FFFFFF;
  --text-dark: #0F2219;
  --text-mid: #3A5448;
  --text-muted: #7A9690;
  --border: rgba(26,58,42,0.11);
  --border-mid: rgba(26,58,42,0.18);
  --ff-display: 'DM Serif Display', Georgia, serif;
  --ff-body: 'DM Sans', system-ui, sans-serif;
  --nav-h: 68px;
}

html { scroll-behavior: smooth; }
body { font-family: var(--ff-body); background: var(--cream); color: var(--text-dark); line-height: 1.6; overflow-x: hidden; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(245,240,232,0.94); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  padding: 0 5vw; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo img { height: 30px; }
.nav-links { display: flex; gap: 2rem; list-style: none; align-items: center; }
.nav-links a { text-decoration: none; color: var(--text-mid); font-size: 14px; transition: color 0.2s; }
.nav-links a:hover { color: var(--forest); }
.nav-cta { background: var(--forest) !important; color: var(--white) !important; padding: 9px 20px; border-radius: 100px; font-weight: 500 !important; }
.nav-cta:hover { background: var(--forest-mid) !important; }

/* ── BREADCRUMB ── */
.breadcrumb-bar {
  margin-top: var(--nav-h);
  padding: 14px 5vw;
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  background: var(--white);
}
.breadcrumb-bar a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.breadcrumb-bar a:hover { color: var(--forest); }
.breadcrumb-bar .sep { opacity: 0.35; }
.breadcrumb-bar .current { color: var(--forest); font-weight: 500; }

/* ── PRODUCT HERO ── */
.product-hero {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 0;
  align-items: start;
  min-height: calc(100vh - var(--nav-h) - 44px);
}

/* Left: image panel */
.product-gallery {
  position: sticky;
  top: var(--nav-h);
  background: var(--cream-mid);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.25rem 1.25rem;
  min-height: calc(100vh - var(--nav-h) - 44px);
  gap: 1.25rem;
}

.gallery-main-img {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 20px;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-main-img:hover { transform: scale(1.02); }

.gallery-thumbs {
  display: flex; gap: 10px; align-items: center;
}

.thumb {
  width: 56px; height: 56px;
  border-radius: 10px;
  border: 2px solid transparent;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
}
.thumb.active { border-color: var(--forest); }
.thumb img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }

.gallery-badge-row {
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
}

.g-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 12px;
  color: var(--text-mid);
}
.g-badge svg { stroke: var(--sage); }

/* Right: purchase panel */
.purchase-panel {
  background: var(--white);
  border-left: 1px solid var(--border);
  padding: 2.5rem clamp(2rem, 4vw, 3.75rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  min-height: calc(100vh - var(--nav-h) - 44px);
}

.product-eyebrow {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--sage);
}

.product-hero-title {
  font-family: var(--ff-display);
  font-size: clamp(1.7rem, 2.5vw, 2.2rem);
  font-weight: 400;
  color: var(--forest);
  line-height: 1.15;
}
.product-hero-title em { font-style: italic; color: var(--forest-light); }

.stock-row {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.stock-dot { width: 8px; height: 8px; border-radius: 50%; background: #4CAF82; }
.stock-label { font-size: 13px; color: var(--forest-light); font-weight: 500; }
.bulk-tag {
  background: var(--gold-pale);
  color: var(--forest);
  border: 1px solid var(--gold-light);
  border-radius: 100px;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 10px;
  letter-spacing: 0.04em;
}

/* Pricing */
.pricing-block {
  background: var(--cream);
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
}
.pricing-from { font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 4px; }
.pricing-main {
  display: flex; align-items: baseline; gap: 8px;
}
.price-num {
  font-family: var(--ff-display);
  font-size: 2.4rem;
  color: var(--forest);
  line-height: 1;
}
.price-num sup { font-family: var(--ff-body); font-size: 1.1rem; vertical-align: super; line-height: 0; }
.price-was { font-size: 14px; color: var(--text-muted); text-decoration: line-through; }
.price-period { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.price-note {
  display: flex; align-items: center; gap: 6px;
  margin-top: 10px;
  font-size: 12px; color: var(--forest-light);
  background: var(--sage-pale);
  border-radius: 8px;
  padding: 7px 10px;
}
.price-note svg { stroke: var(--forest-light); flex-shrink: 0; }

/* What's included mini-list */
.includes-list { display: flex; flex-direction: column; gap: 9px; }
.includes-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--text-mid);
}
.inc-icon {
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--sage-pale);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.inc-icon svg { stroke: var(--forest-light); }

/* Key benefits quick-list */
.benefits-list { display: flex; flex-direction: column; gap: 8px; }
.benefit-row {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 13px; color: var(--text-mid); line-height: 1.5;
}
.b-check {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--sage-pale);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.b-check svg { stroke: var(--forest-light); }

/* CTA block */
.cta-block { display: flex; flex-direction: column; gap: 10px; }

.btn-primary {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--forest); color: var(--white);
  padding: 15px 28px; border-radius: 100px;
  font-size: 15px; font-weight: 500;
  text-decoration: none; border: none; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  width: 100%;
}
.btn-primary:hover { background: var(--forest-mid); transform: translateY(-1px); }

.btn-outline {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: transparent;
  border: 1.5px solid var(--border-mid);
  color: var(--forest);
  padding: 13px 28px; border-radius: 100px;
  font-size: 14px; font-weight: 400;
  text-decoration: none; cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
}
.btn-outline:hover { border-color: var(--forest); background: var(--cream); }

.cta-reassurance {
  display: flex; align-items: center; justify-content: center; gap: 5px;
  font-size: 11px; color: var(--text-muted);
}
.cta-reassurance svg { stroke: var(--text-muted); }

/* Refund note */
.refund-note {
  background: var(--gold-pale);
  border: 1px solid var(--gold-light);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex; gap: 10px; align-items: flex-start;
}
.refund-note svg { stroke: var(--gold); flex-shrink: 0; margin-top: 1px; }
.refund-note p { font-size: 12px; color: var(--text-mid); line-height: 1.5; }
.refund-note strong { color: var(--forest); font-weight: 500; }

/* ── CONTENT SECTION ── */
.content-section {
  padding: 80px 5vw;
  max-width: 1200px;
  margin: 0 auto;
}

/* Tab nav */
.tab-nav {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
  margin-bottom: 3rem;
  gap: 0;
}

.tab-btn {
  background: none; border: none; cursor: pointer;
  font-family: var(--ff-body);
  font-size: 14px; font-weight: 400;
  color: var(--text-muted);
  padding: 14px 24px;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
}
.tab-btn:hover { color: var(--forest); }
.tab-btn.active { color: var(--forest); font-weight: 500; border-bottom-color: var(--forest); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* Mechanism cards */
.mechanism-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 3rem;
}

.mech-card {
  background: var(--white);
  padding: 2rem 1.75rem;
  transition: background 0.2s;
}
.mech-card:hover { background: var(--cream); }

.mech-num {
  font-family: var(--ff-display);
  font-size: 3rem; color: var(--cream-dark);
  line-height: 1; margin-bottom: 1rem;
  transition: color 0.2s;
}
.mech-card:hover .mech-num { color: var(--sage-light); }

.mech-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--forest);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.mech-icon svg { stroke: var(--white); }

.mech-card h3 { font-size: 0.95rem; font-weight: 500; color: var(--forest); margin-bottom: 0.5rem; }
.mech-card p { font-size: 13px; color: var(--text-muted); line-height: 1.65; }

/* Clinical results */
.results-band {
  background: var(--forest);
  border-radius: 20px;
  padding: 2.5rem 3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
  position: relative;
  overflow: hidden;
}
.results-band::after {
  content: '';
  position: absolute; right: -100px; bottom: -100px;
  width: 350px; height: 350px; border-radius: 50%;
  background: radial-gradient(circle, rgba(123,168,153,0.12) 0%, transparent 65%);
  pointer-events: none;
}

.result-stat {}
.result-stat .num {
  font-family: var(--ff-display);
  font-size: 2.2rem; color: var(--white);
  line-height: 1; margin-bottom: 5px;
}
.result-stat .label { font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.4; }
.result-stat .sublabel { font-size: 11px; color: rgba(255,255,255,0.3); margin-top: 2px; }

/* Long-form content */
.content-body { max-width: 680px; }
.content-body h3 {
  font-family: var(--ff-display);
  font-size: 1.35rem; font-weight: 400;
  color: var(--forest); margin: 2rem 0 0.75rem;
  line-height: 1.25;
}
.content-body h3:first-child { margin-top: 0; }
.content-body p { font-size: 14px; color: var(--text-mid); line-height: 1.8; margin-bottom: 1rem; font-weight: 300; }
.content-body strong { color: var(--forest); font-weight: 500; }

/* Safety tab */
.safety-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.safety-card {
  background: var(--white);
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid var(--border);
}
.safety-card-header {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 1rem;
}
.safety-icon {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.safety-icon.amber { background: var(--gold-pale); }
.safety-icon.amber svg { stroke: var(--gold); }
.safety-icon.green { background: var(--sage-pale); }
.safety-icon.green svg { stroke: var(--forest-light); }
.safety-card h4 { font-size: 14px; font-weight: 500; color: var(--forest); }
.safety-card ul { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.safety-card li { font-size: 13px; color: var(--text-mid); display: flex; gap: 8px; align-items: flex-start; line-height: 1.5; }
.safety-card li::before { content: '–'; color: var(--sage); flex-shrink: 0; }

/* Shipping tab */
.shipping-steps {
  display: flex; flex-direction: column; gap: 0;
  max-width: 580px;
}
.ship-step {
  display: flex; gap: 1.25rem; align-items: flex-start;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.ship-step:last-child { border-bottom: none; }
.ship-step-num {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--forest); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 500;
  flex-shrink: 0;
}
.ship-step-body h4 { font-size: 14px; font-weight: 500; color: var(--forest); margin-bottom: 4px; }
.ship-step-body p { font-size: 13px; color: var(--text-muted); line-height: 1.6; font-weight: 300; }

/* ── REVIEWS ── */
.reviews-section {
  background: var(--cream-dark);
  padding: 70px 5vw;
}

.reviews-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 2.5rem; flex-wrap: wrap; gap: 1rem;
}

.reviews-meta {
  display: flex; align-items: center; gap: 12px;
}
.reviews-score {
  font-family: var(--ff-display);
  font-size: 3rem; color: var(--forest); line-height: 1;
}
.reviews-meta-right {}
.stars-row { color: var(--gold); font-size: 18px; letter-spacing: 2px; line-height: 1; margin-bottom: 4px; }
.reviews-count { font-size: 13px; color: var(--text-muted); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.review-card {
  background: var(--white);
  border-radius: 18px;
  padding: 1.5rem;
  border: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 1rem;
  transition: transform 0.2s;
}
.review-card:hover { transform: translateY(-3px); }

.review-stars { color: var(--gold); font-size: 13px; letter-spacing: 1px; }
.review-text {
  font-size: 13px; color: var(--text-mid);
  line-height: 1.7; font-style: italic; font-weight: 300;
  flex: 1;
}
.review-author { display: flex; align-items: center; gap: 10px; }
.review-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--sage-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 500; color: var(--forest);
  flex-shrink: 0;
}
.review-name { font-size: 13px; font-weight: 500; color: var(--forest); }
.review-meta-text { font-size: 11px; color: var(--text-muted); }

/* ── RELATED PRODUCT ── */
.related-section {
  padding: 70px 5vw;
  max-width: 1200px;
  margin: 0 auto;
}

.related-card {
  background: var(--white);
  border-radius: 22px;
  display: grid;
  grid-template-columns: 260px 1fr auto;
  align-items: center;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow 0.25s;
}
.related-card:hover { box-shadow: 0 12px 40px rgba(26,58,42,0.1); }

.related-img {
  width: 260px; height: 200px;
  object-fit: contain;
  background: var(--cream-mid);
  display: block; padding: 1.5rem;
}

.related-content { padding: 2rem; }
.related-tag { font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; }
.related-content h3 { font-family: var(--ff-display); font-size: 1.4rem; font-weight: 400; color: var(--forest); margin-bottom: 0.4rem; }
.related-content p { font-size: 13px; color: var(--text-muted); max-width: 360px; line-height: 1.6; font-weight: 300; }

.related-cta { padding: 2rem; display: flex; flex-direction: column; gap: 0.5rem; align-items: center; flex-shrink: 0; }
.related-price { font-family: var(--ff-display); font-size: 1.5rem; color: var(--forest); text-align: center; }
.related-price-sub { font-size: 11px; color: var(--text-muted); text-align: center; margin-bottom: 0.75rem; }

.btn-primary-sm {
  background: var(--forest); color: var(--white);
  padding: 11px 24px; border-radius: 100px;
  font-size: 13px; font-weight: 500;
  text-decoration: none; white-space: nowrap;
  transition: background 0.2s;
  display: inline-block;
}
.btn-primary-sm:hover { background: var(--forest-mid); }
.btn-ghost-sm {
  color: var(--text-muted); font-size: 12px;
  text-decoration: none; text-align: center;
  transition: color 0.2s;
}
.btn-ghost-sm:hover { color: var(--forest); }

/* ── STICKY MOBILE PURCHASE BAR (hidden on desktop) ── */
.sticky-buy { display: none; }

/* ── FOOTER ── */
footer {
  background: var(--text-dark);
  padding: 60px 5vw 36px;
  color: rgba(255,255,255,0.5);
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-brand > .footer-brand-logo { height: 26px; width: auto; margin-bottom: 1rem; filter: brightness(0) invert(1); opacity: 0.8; }
.footer-brand p { font-size: 13px; line-height: 1.7; max-width: 240px; color: rgba(255,255,255,0.35); }
.footer-col h5 { font-size: 11px; font-weight: 500; color: rgba(255,255,255,0.6); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a { color: rgba(255,255,255,0.35); text-decoration: none; font-size: 13px; transition: color 0.2s; }
.footer-col a:hover { color: rgba(255,255,255,0.7); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: 12px; }

.section-label { font-size: 11px; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--sage); display: block; margin-bottom: 0.4rem; }
.section-title { font-family: var(--ff-display); font-size: clamp(1.6rem, 2.5vw, 2.2rem); color: var(--forest); font-weight: 400; }
.section-title em { font-style: italic; color: var(--forest-light); }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── DIVIDER ── */
hr { border: none; border-top: 1px solid var(--border); margin: 0; }

@media (max-width: 1024px) {
  .product-hero { grid-template-columns: 1fr; }
  .product-gallery { position: relative; top: 0; min-height: 360px; }
  .purchase-panel { border-left: none; border-top: 1px solid var(--border); }
  .mechanism-grid { grid-template-columns: 1fr; }
  .results-band { grid-template-columns: 1fr 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .related-card { grid-template-columns: 1fr; }
  .related-img { width: 100%; height: 200px; }
  .safety-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
