/* ============ DESIGN TOKENS ============ */
:root {
  --bg: #F7EEDD;
  --bg-tint: #EFE3CB;
  --card: #FFFBF2;
  --ink: #241512;
  --ink-soft: #5A4A42;
  --berry: #8C2F39;
  --berry-dark: #6E2129;
  --sage: #6B7A4F;
  --gold: #C99A3E;
  --navy: #2B1F1B;
  --border: rgba(36,21,18,0.12);
  --shadow: 0 12px 30px rgba(36,21,18,0.10);
  --radius: 18px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 64px 0; }
.section--tint { background: var(--bg-tint); }
.section--navy { background: var(--navy); color: #F7EEDD; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; margin: 0 0 12px; color: var(--ink); }
p { margin: 0 0 12px; color: var(--ink-soft); }

.kicker { font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--berry); margin: 0 0 10px; }
.kicker--center { text-align: center; }
.section__head { max-width: 640px; margin: 0 auto 36px; text-align: center; }
.section__title { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.15; }

.stars { color: var(--gold); letter-spacing: 1px; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 30px; border-radius: 999px; text-decoration: none;
  font-family: var(--font-body); font-weight: 700; font-size: 16px;
  cursor: pointer; border: none; transition: transform .15s ease, box-shadow .15s ease;
}
.btn--primary { background: var(--berry); color: #fff; box-shadow: var(--shadow); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(140,47,57,0.32); }
.btn--xl { width: 100%; max-width: 420px; padding: 18px 30px; font-size: 17px; }

/* ============ TOP BAR / COUNTDOWN ============ */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: var(--navy); color: #fff;
  padding: 10px env(safe-area-inset-right, 0) 10px env(safe-area-inset-left, 0);
}
.topbar__inner {
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 13px; flex-wrap: wrap; text-align: center;
}
.countdown { font-variant-numeric: tabular-nums; font-weight: 700; background: rgba(255,255,255,0.12); padding: 3px 10px; border-radius: 8px; color: var(--gold); }

/* ============ HERO ============ */
.hero { padding: 40px 0 56px; }
.hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }

.gallery { position: sticky; top: 64px; }
.gallery__stage {
  position: relative; width: 100%; aspect-ratio: 1 / 1;
  border-radius: var(--radius); overflow: hidden; background: var(--card);
  box-shadow: var(--shadow);
}
.gallery__slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .35s ease;
  pointer-events: none;
}
.gallery__slide.is-active { opacity: 1; pointer-events: auto; }
.gallery__slide img, .gallery__slide video { width: 100%; height: 100%; object-fit: cover; }
.gallery__slide--video { display: flex; align-items: center; justify-content: center; background: var(--navy); }
.gallery__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%; border: none;
  background: rgba(255,255,255,0.92); color: var(--berry);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.gallery__slide--video.is-playing .gallery__play { display: none; }

.gallery__nav { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.gallery__arrow {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--card); font-size: 20px; cursor: pointer; color: var(--ink);
}
.gallery__dots { display: flex; gap: 6px; }
.gallery__dots span { width: 6px; height: 6px; border-radius: 50%; background: var(--border); }
.gallery__dots span.is-active { background: var(--berry); }

.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; }
.thumb {
  width: 64px; height: 64px; border-radius: 10px; overflow: hidden;
  border: 2px solid transparent; padding: 0; cursor: pointer; background: none; flex-shrink: 0;
}
.thumb.is-active { border-color: var(--berry); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }

.hero__copy { padding-top: 8px; }
.hero__title { font-size: clamp(30px, 4vw, 44px); line-height: 1.1; margin-bottom: 16px; }
.hero__desc { font-size: 17px; max-width: 46ch; }

.craving-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 22px; }
.craving-tags li {
  font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--border); color: var(--berry-dark);
}

.trust-list { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 10px; }
.trust-list li { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ink); }
.ic { width: 18px; height: 18px; flex-shrink: 0; fill: none; stroke: var(--sage); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

.price-block { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.price-block__reg { text-decoration: line-through; color: var(--ink-soft); font-size: 15px; }
.price-block__now { font-family: var(--font-display); font-size: 32px; font-weight: 700; color: var(--berry); }
.price-block__badge { background: var(--sage); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }

.hero__micro { font-size: 13px; color: var(--ink-soft); margin-top: 10px; }

/* ============ FAVORITES CAROUSEL ============ */
.favorites__track-wrap { overflow: hidden; }
.favorites__track {
  display: flex; gap: 20px; padding: 0 24px 8px;
  max-width: 1180px; margin: 0 auto;
  overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.favorites__track::-webkit-scrollbar { display: none; }
.recipe-card {
  flex: 0 0 calc((100% - 40px) / 3); scroll-snap-align: start;
  background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.recipe-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
.recipe-card h3 { font-size: 17px; margin: 14px 16px 4px; }
.recipe-card p { font-size: 14px; margin: 0 16px 16px; }

/* ============ BONUS ============ */
.bonus__grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: center; }
.bonus__media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 1/1; object-fit: cover; }
.bonus__list { list-style: none; padding: 0; margin: 20px 0; display: flex; flex-direction: column; gap: 16px; }
.bonus__list li { display: flex; gap: 14px; align-items: flex-start; }
.bonus__value {
  flex-shrink: 0; font-size: 12px; font-weight: 700; color: #fff; background: var(--gold);
  padding: 4px 10px; border-radius: 999px; margin-top: 3px; white-space: nowrap;
}
.bonus__list h3 { font-size: 16px; margin-bottom: 2px; }
.bonus__list p { font-size: 14px; margin: 0; }
.bonus__total {
  display: flex; align-items: baseline; gap: 12px; padding-top: 16px; border-top: 1px solid var(--border);
  font-family: var(--font-display);
}
.bonus__total s { color: var(--ink-soft); font-size: 16px; }
.bonus__total strong { font-size: 24px; color: var(--berry); }

/* ============ REVIEWS ============ */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 40px; }
.review { background: var(--card); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); text-align: center; margin: 0; }
.review__photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; margin: 0 auto 12px; }
.review__stars { color: var(--gold); margin-bottom: 10px; }
.review blockquote { margin: 0 0 14px; font-size: 14.5px; color: var(--ink); font-style: italic; }
.review figcaption { font-size: 13px; font-weight: 600; color: var(--ink-soft); }

.video-reviews { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 620px; margin: 0 auto; }
.video-card { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 3/4; background: var(--navy); }
.video-card video { width: 100%; height: 100%; object-fit: cover; }
.video-card__play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 56px; height: 56px; border-radius: 50%; border: none;
  background: rgba(255,255,255,0.92); color: var(--berry); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.video-card.is-playing .video-card__play { display: none; }

/* ============ WHO THIS IS FOR ============ */
.who__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.who__media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 1/1; object-fit: cover; }
.who__list { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-direction: column; gap: 12px; }
.who__list li { position: relative; padding-left: 24px; color: var(--ink); font-weight: 500; }
.who__list li::before { content: "—"; position: absolute; left: 0; color: var(--sage); }

/* ============ FAQ ============ */
.faq__wrap { max-width: 720px; }
.faq__item { border-bottom: 1px solid var(--border); padding: 18px 0; }
.faq__item summary {
  cursor: pointer; font-weight: 600; font-size: 16px; list-style: none;
  display: flex; justify-content: space-between; align-items: center; color: var(--ink);
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus { width: 20px; height: 20px; position: relative; flex-shrink: 0; }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; background: var(--berry); top: 50%; left: 50%; transform: translate(-50%,-50%); }
.faq__plus::before { width: 12px; height: 2px; }
.faq__plus::after { width: 2px; height: 12px; }
.faq__item[open] .faq__plus::after { display: none; }
.faq__a p { margin: 10px 0 0; font-size: 14.5px; }

/* ============ FINAL CLOSE ============ */
.close { text-align: center; }
.close__wrap { max-width: 560px; }
.close__title { color: #fff; font-size: clamp(26px, 3.4vw, 36px); }
.close__sub { color: #E7D9C4; margin-bottom: 26px; }
.close .btn--primary { margin: 0 auto; }
.close__timer { margin-top: 14px; font-size: 13px; color: #C9B79A; }

/* ============ FOOTER ============ */
.footer { padding: 40px 0 100px; text-align: center; }
.footer__disclaimer { font-size: 12.5px; max-width: 640px; margin: 0 auto 10px; }
.footer__small { font-size: 12px; color: var(--ink-soft); }

/* ============ MOBILE STICKY BAR ============ */
.mobilebar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: none; align-items: center; justify-content: space-between; gap: 14px;
  background: var(--card); border-top: 1px solid var(--border);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  box-shadow: 0 -8px 24px rgba(36,21,18,0.10);
}
.mobilebar__price { display: flex; flex-direction: column; line-height: 1.1; }
.mobilebar__price s { font-size: 12px; color: var(--ink-soft); }
.mobilebar__price b { font-family: var(--font-display); font-size: 19px; color: var(--berry); }
.mobilebar__btn { padding: 12px 20px; font-size: 14px; flex-shrink: 0; }

/* ============ REVEAL (single load-in) ============ */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .gallery { position: static; }
  .bonus__grid, .who__grid { grid-template-columns: 1fr; gap: 28px; }
  .bonus__media { max-width: 280px; margin: 0 auto; }
  .who__media { max-width: 280px; margin: 0 auto; order: -1; }
  .review-grid { grid-template-columns: 1fr; }
  .recipe-card { flex: 0 0 calc((100% - 20px) / 1.35); }
  .mobilebar { display: flex; }
  .footer { padding-bottom: 110px; }
  .section { padding: 48px 0; }
}

@media (max-width: 480px) {
  .video-reviews { max-width: 320px; gap: 14px; }
}
