:root {
  --green: #1c6b38;
  --green-dark: #123f22;
  --green-deep: #0c2e18;
  --leaf: #e8f5df;
  --cream: #f6f3ea;
  --gold: #e2b12d;
  --gold-deep: #a97812;
  --red: #d23a32;
  --ink: #1a241c;
  --muted: #5e6b61;
  --line: #e4eadf;
  --card: #ffffff;
  --shadow: 0 10px 30px rgba(18, 63, 34, 0.08);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 50% -10%, #d7ecc8 0%, transparent 55%),
    #dfe8d6;
  font-family: "Be Vietnam Pro", system-ui, sans-serif;
  line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
button, input { font: inherit; }
a { color: inherit; }

.page {
  width: min(100%, 430px);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--cream);
  box-shadow: 0 0 0 1px rgba(18, 63, 34, 0.06), 0 24px 80px rgba(18, 63, 34, 0.12);
  padding-bottom: calc(170px + env(safe-area-inset-bottom));
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  background: linear-gradient(180deg, #f3fbe9 0%, #e5f4d8 100%);
  border-bottom: 1px solid #cfe3c0;
}
.topbar p {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.25;
}

.countdown {
  display: flex;
  gap: 5px;
}
.countdown b {
  display: grid;
  place-items: center;
  min-width: 36px;
  height: 32px;
  padding: 0 4px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #1c241c;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}
.countdown span {
  display: block;
  margin-top: 2px;
  text-align: center;
  font-size: 9px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
}

.hero { position: relative; }
.hero img { width: 100%; height: auto; }

.price {
  position: relative;
  margin: -28px 14px 0;
  padding: 16px 16px 14px;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.price .leaf {
  position: absolute;
  width: 92px;
  pointer-events: none;
  opacity: 0.55;
}
.price .leaf.left { left: -24px; bottom: -18px; transform: rotate(-18deg); }
.price .leaf.right { right: -28px; top: -20px; width: 78px; transform: rotate(24deg); }
.price h1 {
  margin: 0 0 4px;
  font-size: 18px;
  line-height: 1.3;
  color: var(--green-deep);
}
.kicker {
  margin: 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
}
.save {
  display: inline-flex;
  margin: 8px 0 0;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff4d4;
  color: var(--gold-deep);
  font-size: 12px;
  font-weight: 800;
}
.old {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.old s { color: #8a938c; }
.now {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  margin-top: 2px;
}
.now strong {
  font-size: 36px;
  line-height: 1;
  color: var(--red);
  letter-spacing: -0.03em;
}
.badge-off {
  padding: 8px 10px;
  border-radius: 12px;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  transform: rotate(-6deg);
}
.tagline {
  margin: 10px 0 0;
  font-weight: 700;
  color: var(--green-dark);
}

.section { padding: 22px 16px; }
.section h2 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.3;
  color: var(--green-deep);
}
.section h2 span { display: block; font-size: 13px; font-weight: 600; color: var(--green); letter-spacing: 0.04em; }

.gallery-frame {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
}
.gallery-track {
  display: flex;
  width: 100%;
  min-width: 0;
  transition: transform 0.35s ease;
}
.gallery-track figure {
  flex: 0 0 100%;
  min-width: 100%;
  margin: 0;
}
.gallery-track img { width: 100%; height: 320px; object-fit: cover; }
.gallery-track figcaption {
  padding: 8px 44px 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
}
.gallery-nav {
  position: absolute;
  top: 148px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--green-dark);
  font-size: 26px;
  line-height: 1;
  box-shadow: 0 4px 14px rgba(18, 63, 34, 0.18);
  cursor: pointer;
}
.gallery-nav.prev { left: 8px; }
.gallery-nav.next { right: 8px; }
.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}
.gallery-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #c5d4bc;
  cursor: pointer;
}
.gallery-dots button.on {
  width: 18px;
  background: var(--green);
}

.info {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.info ul { margin: 0; padding: 0; list-style: none; }
.info li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
}
.info li:last-child { border-bottom: 0; }
.info li b { color: var(--green-dark); }

.checks {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}
.check {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--leaf);
  font-size: 13.5px;
  font-weight: 600;
}

.order {
  scroll-margin-top: 72px;
  margin: 8px 12px 4px;
  padding: 16px 14px 14px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.96)),
    url("leaf-1.png") right -30px top -20px / 140px no-repeat,
    #fff;
  border: 1px solid #d7e7cc;
  box-shadow: var(--shadow);
}
.order h2 { margin: 0; font-size: 20px; text-align: center; color: var(--green-deep); }
.order .sub {
  margin: 4px 0 12px;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}
.gold-box {
  margin-bottom: 14px;
  padding: 10px;
  border-radius: 14px;
  background: #123f22;
  color: #fff;
  text-align: center;
}
.gold-box p { margin: 0 0 8px; font-size: 13px; font-weight: 700; }
.gold-box .countdown b { background: #fff; color: #123f22; }
.gold-box .countdown span { color: #d5e8cb; }
.gold-box .countdown { justify-content: center; }

.field { margin-bottom: 10px; }
.field input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1.5px solid #d5dece;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  outline: none;
}
.field input:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(28, 107, 56, 0.12); }
.field .err { margin: 4px 2px 0; color: var(--red); font-size: 12px; font-weight: 600; }

.promo { margin: 4px 0 12px; }
.promo label {
  display: block;
  margin: 0 2px 6px;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 800;
}
.promo select {
  width: 100%;
  height: 50px;
  padding: 0 32px 0 12px;
  border: 1.5px solid var(--green);
  border-radius: 12px;
  background: #f3fbf1 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%231c6b38' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-overflow: ellipsis;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
}
.promo .hot-tag {
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--gold);
  color: #3d2a04;
  font-size: 11px;
  font-weight: 800;
  vertical-align: 1px;
}
.promo select:focus { box-shadow: 0 0 0 3px rgba(28, 107, 56, 0.15); }

.buy {
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, #2e8a4b, #1c6b38);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 18px rgba(28, 107, 56, 0.28);
  cursor: pointer;
}
.buy:disabled { opacity: 0.7; cursor: progress; }
.buy:active { transform: translateY(1px); }
.reassure {
  margin: 8px 0 0;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}
.form-error {
  margin: 0 0 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: #fdeceb;
  color: var(--red);
  font-size: 13px;
  font-weight: 600;
}
.success {
  padding: 18px 8px 8px;
  text-align: center;
}
.success h3 { margin: 0 0 6px; color: var(--green-dark); font-size: 22px; }
.success p { margin: 0; color: var(--muted); }

.page.plain { padding-bottom: 28px; }
.thanks {
  padding: 22px 18px 36px;
  text-align: center;
}
.thanks img {
  width: min(100%, 220px);
  margin: 8px auto 0;
  border-radius: 18px;
}
.thanks .mark {
  width: 64px;
  height: 64px;
  margin: -28px auto 12px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e7f6dc;
  border: 4px solid var(--cream);
  color: var(--green);
  font-size: 32px;
  font-weight: 800;
}
.thanks h1 {
  margin: 0 0 8px;
  font-size: 26px;
  color: var(--green-dark);
}
.thanks p { margin: 0 0 8px; color: var(--muted); }
.thanks .code {
  display: inline-block;
  margin: 4px 0 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 800;
}
.thanks .note {
  margin-top: 16px;
  padding: 14px;
  border-radius: 16px;
  background: #fff;
  text-align: left;
}
.thanks .note p { margin: 0 0 6px; }
.thanks .note p:last-child { margin: 0; }
.thanks a.buy {
  display: grid;
  place-items: center;
  margin-top: 18px;
  text-decoration: none;
}

.poster { display: block; width: 100%; height: auto; }
.band {
  padding: 18px 16px 8px;
  background: #fff;
}
.band h2 { margin-bottom: 4px; }
.band h2 span { display: block; font-size: 13px; font-weight: 600; color: var(--green); letter-spacing: 0.04em; }

.benefits {
  display: grid;
  gap: 8px;
  padding: 0 16px 16px;
  background: #fff;
}
.benefit {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--cream);
}
.benefit i {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--green);
  color: #fff;
  font-style: normal;
  font-size: 18px;
}
.benefit b { display: block; font-size: 14px; }
.benefit span { font-size: 12px; color: var(--muted); }

.cert {
  margin: 0 16px 8px;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}
.cert img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.side-photo {
  display: block;
  width: 100%;
  height: auto;
  margin: 14px 0 0;
  border-radius: 16px;
  object-fit: contain;
}
.cert figcaption {
  padding: 10px 12px 12px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  color: var(--green-dark);
}

.reviews { background: #fff; }
.score {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.score strong { font-size: 28px; color: var(--green-dark); line-height: 1; }
.stars { color: #e2b12d; letter-spacing: 2px; font-size: 14px; }
.review {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 10px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
}
.review b { font-size: 14px; }
.review p { margin: 2px 0 0; font-size: 13.5px; color: #314036; }
.review-photo {
  grid-column: 2;
  width: 148px;
  height: auto;
  border-radius: 12px;
  object-fit: contain;
}
.more { margin: 4px 0 0; font-size: 13px; font-weight: 700; color: var(--green); }

.footer {
  position: relative;
  margin-top: 8px;
  padding: 28px 16px 20px;
  color: #f4f7f2;
  background:
    linear-gradient(180deg, rgba(12, 46, 24, 0.88), rgba(8, 24, 14, 0.92)),
    url("footer-banner.jpg") center / cover;
}
.footer h3 { margin: 0 0 8px; font-size: 16px; }
.footer p { margin: 0 0 6px; font-size: 13px; }
.footer a { text-decoration: none; }
.links { display: flex; flex-wrap: wrap; gap: 8px 12px; margin-top: 14px; }
.links button {
  padding: 0;
  border: 0;
  background: none;
  color: #d7ebc8;
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
}

.dock {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 40;
  width: min(100%, 430px);
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  background: rgba(255, 253, 248, 0.98);
  border-top: 1px solid #d7e3cc;
  box-shadow: 0 -10px 28px rgba(18, 63, 34, 0.12);
  backdrop-filter: blur(10px);
}
.dock-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.dock-form input,
.dock-form select {
  width: 100%;
  height: 40px;
  margin: 0;
  padding: 0 10px;
  border: 1.5px solid #d5dece;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: 16px;
}
.dock-form select {
  grid-column: 1 / -1;
  font-size: 15px;
  font-weight: 700;
}
.dock-form .span-2 { grid-column: 1 / -1; }
.dock-form .buy {
  grid-column: 1 / -1;
  height: 40px;
  border-radius: 10px;
  font-size: 14px;
  letter-spacing: 0.02em;
  box-shadow: none;
}
.dock-form .form-error { grid-column: 1 / -1; margin: 0; padding: 6px 8px; }
.dock .success { padding: 6px 4px 2px; }
.dock .success h3 { font-size: 16px; }
.dock .success p { font-size: 13px; }

.toast {
  position: fixed;
  top: calc(62px + env(safe-area-inset-top));
  left: max(10px, calc(50% - 205px));
  z-index: 35;
  display: flex;
  gap: 8px;
  align-items: center;
  width: min(78%, 250px);
  padding: 8px 10px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.16);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: 0.35s ease;
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast img { width: 42px; height: 42px; border-radius: 10px; object-fit: cover; }
.toast p { margin: 0; font-size: 12px; }
.toast b { color: var(--green-dark); }

dialog {
  width: min(92vw, 400px);
  border: 0;
  border-radius: 18px;
  padding: 18px 16px 14px;
}
dialog::backdrop { background: rgba(12, 30, 16, 0.45); }
dialog h3 { margin: 0 0 8px; }
dialog p { margin: 0 0 8px; font-size: 14px; color: #314036; }
dialog button {
  margin-top: 6px;
  height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
  font-weight: 700;
}

.topbar-brand, .topbar-cta, .gallery-thumbs { display: none; }

.combo-pick {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 10px;
  margin: 4px 0 12px;
  padding: 12px 14px;
  border: 2px solid var(--green);
  border-radius: 14px;
  background: #f3fbf1;
}
.combo-pick b { display: block; color: var(--green-deep); font-size: 15px; }
.combo-pick span { display: block; color: var(--muted); font-size: 12.5px; }
.combo-pick strong { color: var(--red); font-size: 22px; letter-spacing: -0.02em; }
.combo-pick .err { flex-basis: 100%; }

.video-section { background: #fff; border-top: 1px solid var(--line); }
.video-copy p { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.video-cta { display: none; }
.video {
  display: block;
  width: min(100%, 320px);
  height: auto;
  margin: 0 auto;
  border-radius: 18px;
  background: #000;
  box-shadow: var(--shadow);
}

.posters { display: grid; background: #fff; }
.review-list { display: grid; }

@media (min-width: 1024px) {
  body { padding: 0 0 40px; }
  .page {
    width: min(100% - 48px, 1200px);
    padding-bottom: 0;
    border-radius: 0 0 28px 28px;
    overflow: clip;
  }
  .dock { display: none; }

  .topbar { padding: 10px 32px; gap: 20px; justify-content: flex-start; }
  .topbar-brand {
    display: block;
    margin-right: auto;
    font-size: 20px;
    font-weight: 800;
    color: var(--green-deep);
  }
  .topbar-brand span { display: block; font-size: 12px; font-weight: 700; color: var(--red); }
  .topbar-label { text-align: right; }
  .topbar-cta {
    display: inline-flex;
    align-items: center;
    height: 44px;
    padding: 0 22px;
    border-radius: 12px;
    background: linear-gradient(180deg, #2e8a4b, #1c6b38);
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.03em;
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(28, 107, 56, 0.25);
  }

  .top-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    grid-template-areas: "hero buy" "gallery buy";
    align-items: start;
    gap: 0 40px;
    padding: 32px;
  }
  .hero { grid-area: hero; }
  .hero img { border-radius: 22px; box-shadow: var(--shadow); }
  .buy-col { grid-area: buy; position: sticky; top: 88px; }
  .buy-col .price { margin: 0; padding: 22px 24px 18px; }
  .buy-col .order { max-width: none; margin: 16px 0 0; }
  .price h1 { font-size: 28px; }
  .now strong { font-size: 48px; }
  .top-grid .gallery-section { grid-area: gallery; padding: 28px 0 0; }

  .gallery-track img { height: auto; aspect-ratio: 1 / 1; }
  .gallery-nav { top: calc(50% - 36px); }
  .gallery-dots { display: none; }
  .gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 12px;
  }
  .gallery-thumbs button {
    padding: 0;
    border: 2px solid transparent;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
    opacity: 0.7;
  }
  .gallery-thumbs button.on { border-color: var(--green); opacity: 1; }
  .gallery-thumbs img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

  .section { padding: 40px 48px; }
  .section h2 { font-size: 28px; margin-bottom: 18px; }
  .section h2 span { font-size: 14px; }

  .video-section {
    display: grid;
    grid-template-columns: 1fr 300px;
    align-items: center;
    gap: 48px;
  }
  .video-copy p { font-size: 17px; max-width: 520px; }
  .video-cta {
    display: inline-grid;
    place-items: center;
    width: auto;
    padding: 0 28px;
    text-decoration: none;
  }
  .video { width: 100%; }

  .info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
  .info-grid .checks { margin-top: 0; }
  .info li { font-size: 16px; }
  .check { font-size: 15px; }

  .order { max-width: 560px; margin: 32px auto; }

  .band { padding: 40px 48px 12px; text-align: center; }
  .band h2 { font-size: 28px; }
  .benefits { grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 12px 48px 40px; }
  .benefit b { font-size: 16px; }
  .benefit span { font-size: 14px; }

  .posters {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 0 48px 40px;
    align-items: start;
  }
  .posters .poster { border-radius: 18px; box-shadow: var(--shadow); }

  .review-list { grid-template-columns: 1fr 1fr; gap: 0 32px; }
  .review p { font-size: 15px; }

  .footer { padding: 36px 48px 28px; }
  .footer h3 { font-size: 20px; }
  .footer p { font-size: 14px; }

  .toast { top: 84px; left: max(24px, calc(50% - 576px)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .toast { transition: none; }
}
