:root {
  --ink: #14143a;
  --muted: #5d5b72;
  --brand: #e2531f;
  --brand-deep: #9e1b14;
  --soft: #fff3ea;
  --red: #c9302c;
  --red-deep: #a31f1b;
  --cream: #ffe4b8;
  --gold: #ffd76a;
  --line: #f1dccd;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #f3e7df;
  color: var(--ink);
  font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; line-height: 1.3; }
a { color: inherit; }

.page {
  max-width: 480px;
  margin: 0 auto;
  padding-bottom: 130px;
  background: #fff;
  overflow: hidden;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
  padding: 10px 14px;
  background: var(--brand-deep);
}
.topbar .brand {
  margin: 0;
  color: var(--gold);
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
}
.pill {
  padding: 9px 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, #e2504b, var(--red-deep));
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(163, 31, 27, 0.35);
  white-space: nowrap;
}

.hero { padding: 16px 14px 6px; background: linear-gradient(180deg, var(--soft), #fff); text-align: center; }
.hero-kicker {
  display: inline-block;
  margin: 0 0 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--brand-deep);
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.hero h1 { color: var(--brand-deep); font-size: 23px; font-weight: 800; text-transform: uppercase; }
.hero-img { width: 100%; margin: 8px 0 10px; border-radius: 16px; }
.hero-list { margin: 8px 0 12px; padding: 0; list-style: none; text-align: left; }
.hero-list li { position: relative; padding: 5px 0 5px 28px; font-size: 15px; font-weight: 700; }
.hero-list li::before {
  content: "✓";
  position: absolute;
  top: 5px;
  left: 0;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
}
.hero .offer-box { box-shadow: inset 0 0 0 2px var(--brand); }
.hero .cta { width: 100%; margin: 14px 0 10px; }
.trust { display: flex; justify-content: space-between; gap: 6px; margin: 0 0 6px; padding: 0; list-style: none; }
.trust li { flex: 1; padding: 6px 4px; border-radius: 8px; background: var(--soft); color: var(--brand-deep); font-size: 11px; font-weight: 700; line-height: 1.3; }

.offer { padding: 18px 14px; background: linear-gradient(180deg, var(--brand), var(--brand-deep)); color: #fff; text-align: center; }
.offer-title { margin: 0 0 12px; color: var(--gold); font-size: 21px; font-weight: 800; text-transform: uppercase; }
.offer-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  text-align: left;
}
.offer-label { margin: 0; font-weight: 700; }
.offer-price { margin: 0; color: var(--red); font-size: 30px; font-weight: 800; line-height: 1.15; }
.offer-price span { color: var(--ink); font-size: 16px; }
.offer-note { margin: 4px 0 0; color: #2b8a3e; font-size: 13px; font-weight: 700; }
.offer-gift {
  flex: none;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  margin: 0;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  line-height: 1.1;
  transform: rotate(-8deg);
}
.offer-gift b { font-size: 20px; }
.offer-gift span { margin-top: -18px; font-size: 15px; font-weight: 700; }

.cta, .buy {
  display: block;
  width: calc(100% - 64px);
  margin: 18px auto;
  padding: 14px 18px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, #e2504b, var(--red-deep));
  color: #fff;
  font: inherit;
  font-size: 18px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(163, 31, 27, 0.3);
  cursor: pointer;
  animation: pulse 1.8s ease-in-out infinite;
}
.buy:disabled { opacity: 0.7; animation: none; }
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

.order {
  margin: 18px 12px;
  padding: 18px 14px 6px;
  border-radius: 18px;
  background: var(--cream);
  text-align: center;
  scroll-margin-top: 64px;
}
.order h2 { color: var(--red-deep); font-size: 19px; font-weight: 800; text-transform: uppercase; }
.order-price { margin: 6px 0 0; font-weight: 700; }
.order-price strong { color: var(--red); font-size: 22px; }
.order-sub { margin: 8px 0 6px; font-size: 13px; font-weight: 700; text-transform: uppercase; }
.countdown { display: flex; justify-content: center; gap: 8px; margin-bottom: 14px; }
.countdown div { width: 56px; padding: 6px 0 4px; border-radius: 10px; background: var(--brand-deep); color: #fff; }
.countdown b { display: block; font-size: 20px; font-weight: 800; line-height: 1.1; }
.countdown span { font-size: 10px; font-weight: 600; text-transform: uppercase; opacity: 0.85; }
.order-form { text-align: left; }
.field { margin-bottom: 10px; }
.field input, .field select,
.dock-form input, .dock-form select {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1.5px solid #e2d3a8;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  outline: none;
}
.field select, .dock-form select {
  padding-right: 36px;
  font-size: 14px;
  font-weight: 700;
  appearance: none;
  -webkit-appearance: none;
  background: #fff 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='%23a31f1b' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 12px center;
}
.field input:focus, .field select:focus,
.dock-form input:focus, .dock-form select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(226, 83, 31, 0.18); }
.err { margin: 4px 2px 0; color: var(--red-deep); font-size: 12px; font-weight: 700; }
.form-error {
  margin: 0 0 10px;
  padding: 8px 10px;
  border-radius: 8px;
  background: #fde8e5;
  color: var(--red-deep);
  font-size: 13px;
  font-weight: 700;
}
.order .buy { width: 100%; margin: 6px 0 8px; }
.color-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.color-pick-label { font-size: 14px; font-weight: 800; }
.color-opt {
  position: relative;
  display: inline-flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 44px;
  border: 1.5px solid #e2d3a8;
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.color-opt input { position: absolute; opacity: 0; pointer-events: none; }
.color-dot { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.25); }
.color-opt:has(input:checked) { border-color: var(--brand); background: var(--soft); box-shadow: 0 0 0 3px rgba(226, 83, 31, 0.18); }
.color-opt:has(input:focus-visible) { outline: 2px solid var(--brand); outline-offset: 2px; }
.reassure { margin: 0 0 10px; color: var(--muted); font-size: 12px; font-weight: 600; text-align: center; }
.success { padding: 10px 0 14px; text-align: center; }
.success h3 { color: #2b8a3e; }

.card { margin: 14px 12px; padding: 16px 14px; border-radius: 16px; background: var(--soft); }
.info img { width: 78%; margin: 0 auto; }
.free-ship {
  margin: 8px 0 10px;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}
.info h2 { margin-bottom: 10px; color: var(--brand-deep); font-size: 18px; font-weight: 800; text-align: center; text-transform: uppercase; }
.specs { margin: 0; padding: 0; list-style: none; }
.specs li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 2px;
  border-bottom: 1px dashed #efc9b3;
  font-size: 14px;
}
.specs li:last-child { border-bottom: 0; }
.specs span { color: var(--muted); font-weight: 600; }
.specs b { text-align: right; }

.poster { margin: 0; }
.story { padding: 6px 0; }
.story h2 {
  margin: 14px 14px 10px;
  color: var(--brand-deep);
  font-size: 20px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.pricing { padding: 18px 14px; background: linear-gradient(180deg, var(--brand), var(--brand-deep)); color: #fff; }
.pricing h2 { color: var(--gold); font-size: 20px; font-weight: 800; text-align: center; text-transform: uppercase; }
.pricing-sub { margin: 4px 0 14px; font-size: 14px; font-weight: 600; text-align: center; }
.price-list { display: grid; gap: 10px; }
.price-item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
}
.price-item:active { transform: scale(0.98); }
.price-item b { font-size: 17px; font-weight: 800; }
.price-item strong { color: var(--red); font-size: 19px; font-weight: 800; text-align: right; }
.price-item span { grid-column: 2; color: var(--muted); font-size: 12px; font-weight: 600; text-align: right; }
.price-item small { grid-column: 1; grid-row: 2; color: #2b8a3e; font-size: 12px; font-weight: 700; }
.price-item.hot { box-shadow: inset 0 0 0 2px var(--gold); }
.price-item.hot::after {
  content: "Nhiều người mua";
  position: absolute;
  top: -9px;
  right: 12px;
  padding: 1px 8px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
}

.reviews { padding: 8px 14px; }
.reviews h2 { color: var(--brand-deep); font-size: 20px; font-weight: 800; text-align: center; text-transform: uppercase; }
.score { margin: 4px 0 12px; text-align: center; }
.score b { font-size: 20px; }
.score span, .stars { color: #f5a623; }
.review { display: grid; grid-template-columns: 44px 1fr; gap: 10px; margin-bottom: 12px; }
.avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
}
.review > div { padding: 8px 12px; border-radius: 14px; background: #f8f1ec; }
.review h3 { font-size: 14px; font-weight: 800; }
.stars { font-size: 12px; }
.review p { margin: 2px 0 0; font-size: 14px; }

.commit { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px 12px; background: var(--soft); }
.commit div { padding: 12px; border-radius: 12px; background: #fff; text-align: center; }
.commit b { display: block; color: var(--brand-deep); font-size: 14px; font-weight: 800; text-transform: uppercase; }
.commit span { display: block; margin-top: 4px; font-size: 12px; font-weight: 600; }

.footer { padding: 20px 16px 24px; background: var(--brand-deep); color: #fbe3dc; text-align: center; }
.footer h2 { color: var(--gold); font-size: 18px; font-weight: 800; text-transform: uppercase; }
.footer p { margin: 6px 0; font-size: 14px; }
.footer a { color: #fff; font-weight: 700; }
.links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 12px; margin-top: 12px; }
.links button {
  padding: 0;
  border: 0;
  background: none;
  color: #f3c3b6;
  font: inherit;
  font-size: 12px;
  text-decoration: underline;
  cursor: pointer;
}

.problems, .how, .features, .colors { padding: 14px 12px; }
.problems h2, .how h2, .features h2, .colors h2, .faq h2 {
  margin-bottom: 12px;
  color: var(--brand-deep);
  font-size: 20px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}
.problem-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.problem-grid figure, .feature-grid figure, .color-row figure { margin: 0; overflow: hidden; border-radius: 12px; background: var(--soft); }
.problem-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.problem-grid figcaption { padding: 6px 8px 8px; font-size: 13px; font-weight: 700; line-height: 1.35; }
.problem-grid .problem-text { display: grid; place-items: center; background: var(--brand-deep); color: #fff; text-align: center; }
.problem-grid .problem-text figcaption { padding: 12px; font-size: 14px; }
.answer {
  margin: 14px 0 10px;
  color: var(--brand);
  font-size: 22px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}
.problems > img, .how img { border-radius: 14px; }
.how { background: var(--soft); }
.anim-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 12px; }
.anim-grid figure { margin: 0; overflow: hidden; border-radius: 12px; background: #fff; }
.anim-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.anim-grid figcaption { padding: 6px 8px 8px; color: var(--brand-deep); font-size: 13px; font-weight: 800; text-align: center; }
.pricing .flames { width: calc(100% + 28px); max-width: none; height: 70px; margin: -18px -14px 4px; object-fit: cover; object-position: bottom; }
.how p { margin: 0 0 12px; font-size: 15px; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.feature-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: center 70%; }
.feature-grid figcaption { padding: 8px 10px 10px; font-size: 12px; font-weight: 600; line-height: 1.4; }
.feature-grid figcaption b { display: block; color: var(--brand-deep); font-size: 15px; font-weight: 800; }
.colors { background: var(--soft); }
.color-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.color-row figure { background: #fff; text-align: center; }
.color-row figcaption { padding: 4px 0 8px; font-weight: 800; }
.colors-note { margin: 10px 0 0; color: var(--muted); font-size: 13px; font-weight: 600; text-align: center; }
.who { margin: 0 14px 12px; padding: 0; list-style: none; }
.who li { position: relative; padding: 6px 0 6px 26px; font-weight: 700; border-bottom: 1px dashed var(--line); }
.who li::before { content: "♥"; position: absolute; left: 4px; color: var(--brand); }
.story img + img { margin-top: 8px; }
.faq { padding: 14px 12px; }
.faq details { margin-bottom: 8px; border-radius: 12px; background: var(--soft); }
.faq summary { position: relative; padding: 12px 36px 12px 14px; font-weight: 800; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; top: 9px; right: 14px; color: var(--brand); font-size: 20px; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 14px 12px; font-size: 14px; }
.disclaimer { color: #f3c3b6; font-size: 12px !important; font-style: italic; }

.dock {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 30;
  max-width: 480px;
  margin: 0 auto;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
  background: var(--cream);
  box-shadow: 0 -6px 18px rgba(0, 0, 0, 0.12);
}
.dock-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.dock-form input, .dock-form select { min-width: 0; height: 42px; margin: 0; padding: 0 8px; }
.dock-form select { grid-column: span 2; padding-right: 28px; font-size: 13px; text-overflow: ellipsis; background-position: right 8px center; }
.dock-form .buy { width: 100%; height: 42px; margin: 0; padding: 0 4px; border-radius: 10px; font-size: 13px; box-shadow: none; animation: none; }
.dock-form.has-color { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.dock-form.has-color > input { grid-column: span 4; }
.dock-form.has-color select[name="quantity"] { grid-column: span 5; }
.dock-form.has-color select[name="color"] { grid-column: span 3; }
.dock-form.has-color .buy { grid-column: span 4; }
.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 { margin: 2px 0; font-size: 13px; }

.thanks { padding: 20px 16px 30px; text-align: center; }
.thanks img { width: 70%; margin: 0 auto; border-radius: 16px; }
.mark {
  position: relative;
  width: 56px;
  height: 56px;
  margin: -28px auto 8px;
  border-radius: 50%;
  background: #2fae4f;
  color: #fff;
  font-size: 30px;
  font-weight: 800;
  line-height: 56px;
}
.thanks h1 { color: var(--brand-deep); font-size: 22px; font-weight: 800; }
.thanks .code { font-size: 18px; font-weight: 800; }
.note { margin: 16px 0; padding: 12px; border-radius: 12px; background: var(--soft); }
.note p { margin: 4px 0; }

dialog {
  width: min(92vw, 400px);
  border: 0;
  border-radius: 16px;
  padding: 18px 16px 14px;
}
dialog::backdrop { background: rgba(0, 0, 0, 0.5); }
dialog h3 { margin-bottom: 8px; color: var(--brand-deep); }
dialog p { margin: 0 0 8px; font-size: 14px; }
dialog button {
  height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 10px;
  background: var(--brand-deep);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
  .cta, .buy, .badge { animation: none; }
  html { scroll-behavior: auto; }
}
