@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg: #f7f5ee;
  --white: #ffffff;
  --green: #526943;
  --green-dim: rgba(82,105,67,0.08);
  --green-border: rgba(82,105,67,0.18);
  --text: #1e2418;
  --muted: #6b6b60;
  --light: #ede9df;
  --divider: #e8e4db;
}

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

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5 { font-family: 'Outfit', sans-serif; }

.page {
  max-width: 700px;
  margin: 0 auto;
  padding-bottom: 60px;
}

/* ── BACK BUTTON ── */
.back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 20px 24px;
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: color .2s;
}
.back:hover { color: var(--green); }
.back svg { transition: transform .2s; }
.back:hover svg { transform: translateX(-3px); }

/* ── HERO ── */
.hero {
  padding: 0 24px 32px;
  border-bottom: 1px solid var(--divider);
}
.brand-logo {
  height: 28px;
  width: auto;
  margin-bottom: 24px;
  filter: brightness(0) opacity(0.55);
  display: block;
}
.product-name {
  font-size: clamp(2.8rem, 9vw, 4.2rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -3px;
  text-transform: uppercase;
  color: var(--text);
}
.product-name .green { color: var(--green); display: block; }
.product-sub {
  margin-top: 16px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--green);
}
.product-badge {
  display: inline-block;
  margin-top: 10px;
  padding: 5px 12px;
  background: var(--green-dim);
  border: 1px solid var(--green-border);
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.5px;
}

/* ── PRODUCT IMAGE ── */
.product-img-wrap {
  background: var(--white);
  border-bottom: 1px solid var(--divider);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  min-height: 280px;
}
.product-img {
  max-height: 340px;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

/* ── SECTIONS ── */
.section {
  padding: 32px 24px;
  border-bottom: 1px solid var(--divider);
}

.section-label {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 20px;
}

/* ── DESCRIPTION ── */
.description {
  font-size: 15.5px;
  line-height: 1.8;
  color: #3d3d32;
}

/* ── HOW IT WORKS ── */
.how-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.how-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.how-num {
  font-family: 'Outfit', sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--light);
  line-height: 1;
  flex-shrink: 0;
  width: 44px;
  letter-spacing: -2px;
}
.how-text h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.how-text p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.65;
}

/* ── BENEFITS ── */
.ben-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}
.ben-list li {
  font-size: 15px;
  line-height: 1.65;
  color: #3d3d32;
  padding: 12px 0;
  border-bottom: 1px solid var(--divider);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.ben-list li:last-child { border-bottom: none; }
.ben-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  margin-top: 7px;
}

/* ── COMPOSITION ── */
.note { font-size: 11.5px; color: #aaa; margin-bottom: 14px; }

.comp-table {
  width: 100%;
  border-collapse: collapse;
}
.comp-table tr { border-bottom: 1px solid var(--divider); }
.comp-table tr:last-child { border-bottom: none; }
.comp-table td { padding: 13px 0; vertical-align: middle; }
.ing-name { font-size: 14px; font-weight: 700; color: var(--text); }
.ing-sci { font-size: 12px; color: #aaa; font-style: italic; margin-top: 2px; }
.ing-dose {
  text-align: right;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: var(--green);
  white-space: nowrap;
  padding-left: 20px;
}

/* ── USAGE ── */
.usage-card {
  background: var(--white);
  border: 1px solid var(--divider);
  border-radius: 18px;
  padding: 28px;
}
.usage-dose-num {
  font-family: 'Outfit', sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
  letter-spacing: -3px;
}
.usage-dose-label {
  font-size: 13px;
  color: var(--muted);
  margin-top: 4px;
  margin-bottom: 22px;
}
.usage-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.usage-row {
  display: flex;
  flex-direction: column;
  padding: 12px 0;
  border-top: 1px solid var(--divider);
}
.usage-row-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--green);
  margin-bottom: 4px;
}
.usage-row-text {
  font-size: 14px;
  color: #3d3d32;
  line-height: 1.6;
}

/* ── WARNINGS ── */
.warn-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.warn-item {}
.warn-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text);
  margin-bottom: 6px;
}
.warn-text {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

/* ── RESULTS FOOTER ── */
.results-footer {
  background: var(--text);
  padding: 32px 24px;
}
.results-title {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.results-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.result-pill {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: #d4e6c5;
  padding: 9px 18px;
  border-radius: 99px;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ── RESPONSIVE (mobile) ── */
@media (max-width: 600px) {
  .hero { padding: 0 18px 28px; }
  .section { padding: 26px 18px; }
  .product-img-wrap { padding: 24px 18px; min-height: 220px; }
  .usage-card { padding: 22px 18px; }
  .results-footer { padding: 28px 18px; }
  .back { padding: 16px 18px; }
  .product-name { letter-spacing: -2px; }
}

/* ── RESPONSIVE (desktop) ── */
@media (min-width: 900px) {
  .page { max-width: 920px; }
  .back { padding: 26px 48px; font-size: 13.5px; }
  .hero { padding: 8px 48px 40px; }
  .product-img-wrap { padding: 48px; min-height: 380px; }
  .product-img { max-height: 420px; }
  .section {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 48px;
    align-items: start;
    padding: 40px 48px;
  }
  .section-label { margin-bottom: 0; }

  .how-list { flex-direction: row; flex-wrap: wrap; gap: 32px 28px; }
  .how-item { flex: 1 1 calc(50% - 14px); }

  .ben-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }

  .comp-table { display: block; }
  .comp-table tbody { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
  .comp-table tr { display: flex; justify-content: space-between; align-items: center; }

  .usage-card { padding: 36px 40px; }

  .results-footer { padding: 40px 48px; }
}
