/* Better Hearing Daily — Review page components
   Extends assets/css/style.css. Uses the SAME :root tokens (no new palette).
   Only components that do not exist in style.css live here.
*/

:root {
  --max-wide: 1560px;
}

/* ---------- Wide, full-bleed containers ---------- */
.rv-inner { max-width: var(--max-wide); margin: 0 auto; }
.rv-section { padding: clamp(48px, 6vw, 84px) var(--gutter); }
.rv-section.alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.rv-section.cream { background: var(--cream-deep); }

.rv-kicker {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .14em; color: var(--amber-deep); margin: 0 0 10px;
}
.rv-h2 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.15; margin: 0 0 14px; font-weight: 500; color: var(--ink);
}
.rv-lede { color: var(--ink-soft); max-width: 70ch; font-size: 17px; margin: 0 0 32px; }
.rv-body { color: var(--ink-soft); font-size: 17px; line-height: 1.7; max-width: 74ch; }
.rv-body p { margin: 0 0 18px; }
.rv-body strong { color: var(--ink); font-weight: 600; }

/* ---------- Breadcrumb ---------- */
.rv-crumb {
  max-width: var(--max-wide); margin: 0 auto;
  padding: 16px var(--gutter) 0;
  font-size: 13px; color: var(--muted);
}
.rv-crumb a { color: var(--muted); text-decoration: none; }
.rv-crumb a:hover { color: var(--teal); text-decoration: underline; }
.rv-crumb .sep { margin: 0 8px; opacity: .5; }

/* ---------- HERO (full bleed) ---------- */
.rv-hero {
  background:
    radial-gradient(1200px 500px at 78% 12%, rgba(226,154,46,.16), transparent 62%),
    linear-gradient(150deg, var(--teal-deep) 0%, #073B4A 58%, #052D39 100%);
  color: #fff;
  padding: clamp(36px, 5vw, 68px) var(--gutter) clamp(44px, 6vw, 76px);
  position: relative; overflow: hidden;
}
.rv-hero-grid {
  max-width: var(--max-wide); margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: clamp(28px, 5vw, 72px); align-items: center;
}
.rv-hero .eyebrow-light {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2);
  color: #EAF4F7; font-size: 11px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px; margin-bottom: 20px;
}
.rv-hero h1 {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(32px, 4.6vw, 60px);
  line-height: 1.08; font-weight: 500; margin: 0 0 18px; color: #fff;
  letter-spacing: -0.01em;
}
.rv-hero h1 em { font-style: italic; color: var(--amber); }
.rv-verdict-line {
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(18px, 2.1vw, 23px); line-height: 1.5;
  color: #DCEAEE; margin: 0 0 26px; max-width: 60ch;
}
.rv-hero-meta {
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  font-size: 13px; color: #A8C4CC; margin-bottom: 26px;
}
.rv-hero-meta span { display: inline-flex; align-items: center; gap: 7px; }

/* Score badge */
.rv-scorebox {
  display: inline-flex; align-items: center; gap: 18px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-lg); padding: 16px 24px 16px 18px; margin-bottom: 28px;
}
.rv-score-num {
  font-family: 'Fraunces', Georgia, serif; font-weight: 600;
  font-size: 40px; line-height: 1; color: var(--amber);
  display: flex; align-items: baseline; gap: 3px;
}
.rv-score-num small { font-size: 16px; color: #A8C4CC; font-weight: 400; }
.rv-stars { color: var(--amber); font-size: 15px; letter-spacing: 2px; line-height: 1; margin-bottom: 6px; }
.rv-score-label { font-size: 11.5px; color: #B9D2D9; line-height: 1.45; max-width: 26ch; }
.rv-score-label strong { color: #fff; font-weight: 600; }

.rv-hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn-buy {
  background: var(--amber); color: var(--ink);
  box-shadow: 0 8px 22px rgba(226,154,46,.34);
  font-weight: 700; font-size: 16px; padding: 16px 30px;
}
.btn-buy:hover { background: #F0A93C; color: var(--ink); transform: translateY(-1px); }
.btn-ghost-light {
  background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.35);
}
.btn-ghost-light:hover { background: rgba(255,255,255,.12); color: #fff; }
.rv-cta-fine { font-size: 12.5px; color: #9FBCC5; margin: 14px 0 0; font-style: italic; }

/* Hero product image */
.rv-hero-img { position: relative; text-align: center; }
.rv-hero-img img {
  max-width: 340px; margin: 0 auto;
  filter: drop-shadow(0 26px 44px rgba(0,0,0,.45));
}
.rv-hero-img .glow {
  position: absolute; inset: 12% 8% 6%;
  background: radial-gradient(circle at 50% 45%, rgba(226,154,46,.26), transparent 66%);
  z-index: -1; filter: blur(14px);
}

/* ---------- Trust bar ---------- */
.rv-trustbar { background: var(--cream-deep); border-bottom: 1px solid var(--line); padding: 26px var(--gutter); }
.rv-trust-grid {
  max-width: var(--max-wide); margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 22px;
}
.rv-trust-item { display: flex; gap: 12px; align-items: flex-start; }
.rv-trust-item .ic {
  flex: 0 0 34px; width: 34px; height: 34px; border-radius: 50%;
  background: var(--teal-soft); color: var(--teal);
  display: flex; align-items: center; justify-content: center;
}
.rv-trust-item .ic svg { width: 17px; height: 17px; }
.rv-trust-item h4 { font-family: 'Inter', sans-serif; font-size: 14px; font-weight: 700; margin: 1px 0 3px; color: var(--ink); }
.rv-trust-item p { font-size: 12.5px; color: var(--muted); margin: 0; line-height: 1.5; }

/* ---------- Scorecard ---------- */
.rv-split { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.rv-scorecard {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 26px 28px; box-shadow: var(--shadow-sm);
  position: sticky; top: 92px;
}
.rv-scorecard h3 {
  font-family: 'Fraunces', Georgia, serif; font-size: 20px;
  margin: 0 0 4px; font-weight: 500;
}
.rv-scorecard .meth { font-size: 12px; color: var(--muted); margin: 0 0 20px; line-height: 1.5; }
.score-row { margin-bottom: 15px; }
.score-row .top { display: flex; justify-content: space-between; align-items: baseline; font-size: 13.5px; margin-bottom: 6px; }
.score-row .top span:first-child { color: var(--ink-soft); font-weight: 500; }
.score-row .top span:last-child { font-weight: 700; color: var(--ink); font-size: 13px; }
.score-bar { height: 7px; background: var(--cream-deep); border-radius: 99px; overflow: hidden; }
.score-bar i { display: block; height: 100%; border-radius: 99px; background: var(--teal); }
.score-bar i.warn { background: var(--amber); }
.score-bar i.low { background: var(--danger); }
.score-total {
  margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between;
}
.score-total .lbl { font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; }
.score-total .val { font-family: 'Fraunces', serif; font-size: 30px; font-weight: 600; color: var(--teal-deep); }
.score-total .val small { font-size: 15px; color: var(--muted); font-weight: 400; }

/* ---------- Answer block variant (compact) ---------- */
.rv-answer {
  background: var(--teal-soft); border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 20px 24px; margin: 0 0 28px; max-width: 74ch;
}
.rv-answer .label {
  font-size: 10.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .14em; color: var(--teal-deep); margin-bottom: 7px;
}
.rv-answer p { font-family: 'Fraunces', Georgia, serif; font-size: 18.5px; line-height: 1.5; margin: 0; color: var(--ink); }

/* ---------- Pros & cons ---------- */
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.pc-card { border-radius: var(--radius-lg); padding: 28px 30px; border: 1px solid var(--line); background: var(--card); }
.pc-card.pro { border-top: 4px solid var(--teal); }
.pc-card.con { border-top: 4px solid var(--danger); }
.pc-card h3 { font-family: 'Fraunces', serif; font-size: 22px; margin: 0 0 18px; font-weight: 500; display: flex; align-items: center; gap: 10px; }
.pc-card ul { list-style: none; margin: 0; padding: 0; }
.pc-card li { position: relative; padding-left: 28px; margin-bottom: 15px; font-size: 15.5px; line-height: 1.6; color: var(--ink-soft); }
.pc-card li:last-child { margin-bottom: 0; }
.pc-card li strong { color: var(--ink); font-weight: 600; }
.pc-card.pro li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px;
  border-radius: 50%; background: var(--teal-soft);
  box-shadow: inset 0 0 0 1.5px var(--teal);
}
.pc-card.pro li::after {
  content: ""; position: absolute; left: 5px; top: 10px;
  width: 6px; height: 3px; border-left: 1.8px solid var(--teal); border-bottom: 1.8px solid var(--teal);
  transform: rotate(-45deg);
}
.pc-card.con li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px;
  border-radius: 50%; background: #FBEAEC; box-shadow: inset 0 0 0 1.5px var(--danger);
}
.pc-card.con li::after {
  content: ""; position: absolute; left: 7px; top: 9px;
  width: 2px; height: 8px; background: var(--danger); border-radius: 2px;
}

/* ---------- Ingredient / label table ---------- */
.label-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4vw, 52px); align-items: start; }
.label-shot { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 14px; box-shadow: var(--shadow-sm); }
.label-shot img { border-radius: var(--radius); }
.label-shot figcaption { font-size: 12px; color: var(--muted); margin-top: 10px; line-height: 1.5; text-align: center; }

.facts-table { width: 100%; border-collapse: collapse; font-size: 14.5px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts-table caption { text-align: left; font-size: 12px; color: var(--muted); padding: 0 0 10px; font-style: italic; }
.facts-table th, .facts-table td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.facts-table thead th { background: var(--cream-deep); font-size: 11.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink); font-weight: 700; }
.facts-table tbody tr:last-child td, .facts-table tbody tr:last-child th { border-bottom: none; }
.facts-table td.amt { font-weight: 600; color: var(--ink); white-space: nowrap; }

.ing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: 18px; margin-top: 8px; }
.ing-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; }
.ing-card h4 { font-family: 'Fraunces', serif; font-size: 17.5px; margin: 0 0 4px; font-weight: 500; }
.ing-card .tag {
  display: inline-block; font-size: 10.5px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .09em; padding: 3px 9px; border-radius: 99px; margin-bottom: 10px;
}
.tag-ear { background: var(--teal-soft); color: var(--teal-deep); }
.tag-energy { background: var(--amber-soft); color: var(--amber-deep); }
.tag-other { background: #EFEFF1; color: var(--muted); }
.ing-card p { font-size: 14.5px; color: var(--ink-soft); margin: 0; line-height: 1.6; }

/* Safety flags */
.flag-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.flag-list li {
  background: #FDF6F7; border: 1px solid #F0DCDF; border-left: 4px solid var(--danger);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 15px 18px;
  font-size: 14.5px; line-height: 1.6; color: var(--ink-soft);
}
.flag-list li strong { color: var(--ink); }

/* ---------- Fit (who should / should not) ---------- */
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.fit-card { border-radius: var(--radius-lg); padding: 28px 30px; }
.fit-card.yes { background: var(--teal-soft); border: 1px solid #CADFE5; }
.fit-card.no { background: #FBEEF0; border: 1px solid #F0DCDF; }
.fit-card h3 { font-family: 'Fraunces', serif; font-size: 21px; margin: 0 0 16px; font-weight: 500; }
.fit-card ul { margin: 0; padding-left: 20px; }
.fit-card li { margin-bottom: 11px; font-size: 15.5px; line-height: 1.6; color: var(--ink-soft); }
.fit-card li::marker { color: var(--teal); }
.fit-card.no li::marker { color: var(--danger); }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.price-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px 26px 26px; display: flex; flex-direction: column; text-align: center;
  position: relative; transition: transform .16s, box-shadow .18s;
}
.price-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.price-card.featured {
  border: 2px solid var(--amber); box-shadow: 0 10px 34px rgba(226,154,46,.18);
  background: linear-gradient(180deg, var(--amber-soft) 0%, var(--card) 24%);
}
.price-badge {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--amber); color: var(--ink); font-size: 10.5px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; padding: 6px 16px; border-radius: 99px;
  white-space: nowrap; box-shadow: 0 4px 12px rgba(226,154,46,.3);
}
.price-card img { max-width: 168px; margin: 8px auto 14px; }
.price-card .pk { font-family: 'Fraunces', serif; font-size: 21px; font-weight: 500; margin: 0 0 2px; }
.price-card .supply { font-size: 12.5px; color: var(--muted); margin: 0 0 16px; }
.price-per { font-family: 'Fraunces', serif; font-size: 40px; font-weight: 600; color: var(--teal-deep); line-height: 1; }
.price-per sup { font-size: 19px; top: -14px; position: relative; }
.price-per small { font-size: 13px; color: var(--muted); font-weight: 400; font-family: 'Inter', sans-serif; }
.price-total { font-size: 14px; color: var(--ink-soft); margin: 10px 0 4px; font-weight: 600; }
.price-ship { font-size: 12.5px; color: var(--muted); margin: 0 0 14px; }
.price-feat { list-style: none; margin: 0 0 20px; padding: 14px 0 0; border-top: 1px solid var(--line); text-align: left; font-size: 13.5px; color: var(--ink-soft); }
.price-feat li { padding-left: 20px; position: relative; margin-bottom: 8px; line-height: 1.5; }
.price-feat li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.price-feat li.muted { color: var(--muted); }
.price-feat li.muted::before { content: "—"; color: var(--muted); }
.price-card .btn { margin-top: auto; width: 100%; justify-content: center; }
.price-card .btn-alt { background: var(--teal); color: #fff; box-shadow: 0 6px 16px rgba(15,95,115,.22); }
.price-card .btn-alt:hover { background: var(--teal-deep); color: #fff; }
.price-note {
  margin-top: 26px; background: var(--card); border: 1px solid var(--line);
  border-left: 4px solid var(--teal); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px; font-size: 14.5px; color: var(--ink-soft); line-height: 1.65; max-width: 90ch;
}
.price-note strong { color: var(--ink); }

/* ---------- Final CTA ---------- */
.rv-final {
  background: linear-gradient(150deg, var(--teal-deep) 0%, #073B4A 100%);
  color: #fff; padding: clamp(48px, 6vw, 84px) var(--gutter);
}
.rv-final-grid {
  max-width: 1040px; margin: 0 auto; text-align: center;
}
.rv-final img.seal { max-width: 128px; margin: 0 auto 22px; }
.rv-final h2 { font-family: 'Fraunces', serif; font-size: clamp(26px, 3.4vw, 40px); font-weight: 500; margin: 0 0 16px; color: #fff; }
.rv-final p { color: #CFE2E7; font-size: 17px; line-height: 1.7; max-width: 66ch; margin: 0 auto 26px; }
.rv-final .fine { font-size: 12.5px; color: #93B2BC; font-style: italic; margin-top: 18px; }

/* ---------- Disclosure / disclaimer boxes ---------- */
.rv-disclosure {
  background: var(--amber-soft); border: 1px solid #F0E0BF;
  border-radius: var(--radius); padding: 16px 20px; font-size: 13.5px;
  color: var(--ink-soft); line-height: 1.6; margin: 0 0 30px; max-width: 92ch;
}
.rv-disclosure strong { color: var(--ink); }
.rv-medical {
  background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--danger);
  border-radius: 0 var(--radius) var(--radius) 0; padding: 18px 22px;
  font-size: 13.5px; color: var(--ink-soft); line-height: 1.65; margin: 30px 0 0; max-width: 92ch;
}
.rv-medical strong { color: var(--ink); }

/* ---------- Sticky mobile buy bar ---------- */
.sticky-buy { display: none; }
@media (max-width: 860px) {
  .sticky-buy {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: rgba(255,255,255,.97); backdrop-filter: blur(10px);
    border-top: 1px solid var(--line); box-shadow: 0 -4px 20px rgba(20,25,35,.1);
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    align-items: center; gap: 12px;
  }
  .sticky-buy .sb-txt { flex: 1; min-width: 0; }
  .sticky-buy .sb-txt .t { font-size: 13.5px; font-weight: 700; color: var(--ink); line-height: 1.25; }
  .sticky-buy .sb-txt .s { font-size: 11.5px; color: var(--muted); line-height: 1.3; }
  .sticky-buy .btn { padding: 12px 20px; font-size: 14.5px; white-space: nowrap; }
  body { padding-bottom: 74px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .rv-hero-grid { grid-template-columns: 1fr; text-align: left; }
  .rv-hero-img { order: -1; }
  .rv-hero-img img { max-width: 220px; }
  .rv-split { grid-template-columns: 1fr; }
  .rv-scorecard { position: static; }
  .price-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .label-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .proscons, .fit-grid { grid-template-columns: 1fr; }
  .rv-scorebox { flex-direction: column; align-items: flex-start; gap: 10px; }
  .rv-hero-ctas .btn { width: 100%; justify-content: center; }
  .facts-table { font-size: 13.5px; }
  .facts-table th, .facts-table td { padding: 9px 11px; }
}
