:root {
  --bg: #fff8f3;
  --bg-alt: #f3f7f6;
  --card: #ffffff;
  --ink: #14202b;
  --muted: #5b6775;
  --line: #eadfd6;
  --brand: #0e8a7c;
  --brand-dark: #0a6b60;
  --brand-soft: #e5f5f2;
  --accent: #ff4d3a;
  --accent-dark: #e03a29;
  --sale: #e11d48;
  --good: #0b7a4b;
  --bad: #9a3b3b;
  --shadow: 0 12px 40px rgba(20, 32, 43, 0.08);
  --radius: 20px;
  --font: "Be Vietnam Pro", system-ui, sans-serif;
  --max: 1140px;
  --header: 68px;
  --promo: 44px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  padding-bottom: 84px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

.wrap {
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}

.wrap.narrow {
  width: min(100% - 32px, 760px);
}

.promo-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(90deg, #e11d48, #ff4d3a);
  color: #fff;
  min-height: var(--promo);
}

.promo-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: var(--promo);
  flex-wrap: wrap;
  padding: 8px 0;
  font-size: 13.5px;
  font-weight: 600;
}

.countdown {
  display: flex;
  gap: 6px;
}

.countdown span {
  background: rgba(0, 0, 0, 0.22);
  border-radius: 8px;
  min-width: 46px;
  padding: 3px 8px;
  text-align: center;
  line-height: 1.15;
}

.countdown b {
  display: block;
  font-size: 15px;
}

.countdown small {
  font-size: 10px;
  font-weight: 500;
  opacity: 0.9;
}

.site-header {
  background: rgba(255, 248, 243, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: var(--promo);
  z-index: 40;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header);
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-text strong {
  font-size: 15px;
}

.logo-text em {
  font-style: normal;
  font-size: 11px;
  color: var(--muted);
}

.logo-text.light em {
  color: #b7c2cc;
}

.nav-desk {
  display: none;
  gap: 22px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
}

.nav-desk a:hover {
  color: var(--brand);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-phone {
  display: none;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 14px;
  color: var(--brand-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.18s ease;
}

.btn-sm {
  padding: 9px 16px;
  font-size: 13.5px;
}

.btn-lg {
  padding: 15px 22px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(255, 77, 58, 0.28);
}

.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

.btn-ghost {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.hero {
  padding: 28px 0 12px;
}

.hero-grid {
  display: grid;
  gap: 28px;
}

.gallery-main {
  position: relative;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.gallery-main img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.sale-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--sale);
  color: #fff;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 14px;
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 10px;
}

@media (max-width: 759px) {
  .thumbs {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
  }

  .thumb {
    flex: 0 0 64px;
    scroll-snap-align: start;
  }
}

.thumb {
  border: 2px solid transparent;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
}

.thumb img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.thumb.is-active {
  border-color: var(--brand);
}

.buybox h1 {
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin: 6px 0 10px;
}

.eyebrow {
  color: var(--brand);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.rating-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 14px;
}

.stars {
  color: #f5a524;
  letter-spacing: 1px;
}

.price-card {
  margin: 16px 0;
  background: linear-gradient(135deg, #fff1ed, #fff);
  border: 1px solid #ffd4cc;
  border-radius: 18px;
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.price-old {
  display: block;
  text-decoration: line-through;
  color: var(--muted);
  font-size: 14px;
}

.price-now {
  font-size: 32px;
  font-weight: 800;
  color: var(--sale);
  letter-spacing: -0.03em;
}

.price-now span {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
}

.flash-pill {
  background: var(--sale);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin-bottom: 16px;
}

.trust-pills li {
  background: var(--brand-soft);
  color: var(--brand-dark);
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 999px;
}

.spec-mini {
  display: grid;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 14px;
  margin-bottom: 16px;
}

.spec-mini div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 8px;
  font-size: 14px;
}

.spec-mini span {
  color: var(--muted);
}

.packs {
  border: 0;
  display: grid;
  gap: 10px;
  margin: 8px 0 16px;
}

.packs legend {
  font-weight: 700;
  margin-bottom: 8px;
}

.pack {
  position: relative;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  cursor: pointer;
}

.pack input {
  margin-top: 4px;
  accent-color: var(--brand);
}

.pack strong {
  display: block;
}

.pack em {
  font-style: normal;
  color: var(--muted);
  font-size: 13.5px;
}

.pack.is-hot {
  border-color: var(--brand);
  background: #f3fbf9;
}

.pack-tag {
  position: absolute;
  top: -9px;
  right: 12px;
  background: var(--brand);
  color: #fff;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}

.buy-actions {
  display: grid;
  gap: 10px;
}

.fine {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}

.fine.center {
  text-align: center;
}

.strip {
  padding: 10px 0 36px;
}

.strip-grid {
  display: grid;
  gap: 12px;
}

.strip-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}

.strip-grid span {
  color: var(--brand);
  font-weight: 800;
}

.strip-grid h3 {
  margin: 4px 0 6px;
  font-size: 17px;
}

.strip-grid p {
  color: var(--muted);
  font-size: 14.5px;
}

.section {
  padding: 56px 0;
  scroll-margin-top: calc(var(--promo) + var(--header) + 12px);
}

.section.alt {
  background: var(--bg-alt);
}

.sec-head {
  max-width: 640px;
  margin-bottom: 28px;
}

.sec-head h2 {
  font-size: clamp(26px, 4vw, 38px);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 6px 0 8px;
}

.sec-head p:last-child {
  color: var(--muted);
}

.feat-split {
  display: grid;
  gap: 22px;
  align-items: center;
  margin-bottom: 36px;
}

.feat-split img {
  border-radius: 22px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.feat-copy h3 {
  font-size: 24px;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.check {
  list-style: none;
  display: grid;
  gap: 10px;
}

.check li {
  padding-left: 28px;
  position: relative;
}

.check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'><path d='M2 6.2l2.6 2.6L10 3.4' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/12px no-repeat;
}

.img-duo {
  display: grid;
  gap: 14px;
}

.img-duo img,
.compat img,
.compare img {
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.img-duo figcaption,
.compat figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.compare {
  display: grid;
  gap: 20px;
}

.compare-table {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.cmp-row {
  display: grid;
  grid-template-columns: 0.8fr 1.1fr 1.1fr;
  gap: 8px;
  padding: 12px 14px;
  font-size: 14px;
  border-top: 1px solid var(--line);
}

.cmp-row.head {
  border-top: 0;
  font-weight: 700;
  background: var(--brand-soft);
}

.good {
  color: var(--good);
  font-weight: 600;
}

.bad {
  color: var(--bad);
}

.spec-grid {
  display: grid;
  gap: 18px;
  margin-bottom: 22px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.spec-table th,
.spec-table td {
  text-align: left;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  font-size: 14.5px;
  vertical-align: top;
}

.spec-table tr:first-child th,
.spec-table tr:first-child td {
  border-top: 0;
}

.spec-table th {
  width: 38%;
  color: var(--muted);
  font-weight: 600;
}

.reviews {
  display: grid;
  gap: 14px;
}

.review {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 18px;
}

.review header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}

.review header p {
  font-size: 12.5px;
  color: var(--muted);
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #d7efe9;
  color: var(--brand-dark);
  font-weight: 800;
  font-size: 13px;
}

.avatar.a2 {
  background: #ffe4c7;
  color: #9a5b12;
}

.avatar.a3 {
  background: #e4defc;
  color: #4b3d9a;
}

.score-bar {
  margin-top: 22px;
  display: grid;
  gap: 8px;
}

.score-bar div {
  display: grid;
  grid-template-columns: 32px 1fr 48px;
  gap: 10px;
  align-items: center;
  font-size: 13.5px;
}

.score-bar i {
  height: 8px;
  background: #eadfd6;
  border-radius: 99px;
  display: block;
}

.score-bar em {
  display: block;
  height: 100%;
  width: var(--w);
  background: #f5a524;
  border-radius: inherit;
}

#dat-hang,
#san-pham,
#tinh-nang,
#danh-gia,
#faq {
  scroll-margin-top: calc(var(--promo) + var(--header) + 12px);
}

.order-grid {
  display: grid;
  gap: 28px;
}

@media (max-width: 759px) {
  .order-grid {
    display: flex;
    flex-direction: column-reverse;
  }
}

.order-copy h2 {
  font-size: clamp(26px, 4vw, 36px);
  letter-spacing: -0.03em;
  margin: 6px 0 10px;
}

.order-copy > p {
  color: var(--muted);
  margin-bottom: 14px;
}

.real-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}

.real-photos img {
  border-radius: 16px;
  height: 180px;
  width: 100%;
  object-fit: cover;
  border: 1px solid var(--line);
}

.order-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 12px;
}

.order-form h3 {
  font-size: 20px;
}

.order-form label,
.order-form fieldset {
  display: grid;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  border: 0;
}

.order-form input,
.order-form textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 12px 12px;
  background: #fffdfb;
  font-weight: 400;
}

.order-form input:focus,
.order-form textarea:focus {
  outline: 2px solid #9ad8cf;
  border-color: var(--brand);
}

.opt {
  display: flex !important;
  align-items: center;
  gap: 8px;
  font-weight: 500 !important;
  padding: 8px 0;
}

.opt input {
  width: auto;
  accent-color: var(--brand);
}

.form-total {
  background: #fff1ed;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 15px;
}

.form-total strong {
  color: var(--sale);
  font-size: 20px;
}

.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 10px;
}

.faq summary {
  font-weight: 700;
  cursor: pointer;
}

.faq details p {
  margin-top: 8px;
  color: var(--muted);
}

.site-footer {
  background: #14202b;
  color: #e8eef3;
  padding: 40px 0 110px;
}

.footer-grid {
  display: grid;
  gap: 24px;
}

.site-footer h3 {
  font-size: 15px;
  margin-bottom: 8px;
}

.site-footer p,
.site-footer a {
  color: #b7c2cc;
  font-size: 14px;
}

.copy {
  text-align: center;
  margin-top: 28px;
  font-size: 13px;
  color: #8b98a5;
}

.sticky-buy {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  background: #fff;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
}

.sticky-old {
  display: block;
  text-decoration: line-through;
  color: var(--muted);
  font-size: 12px;
}

.sticky-buy strong {
  color: var(--sale);
  font-size: 18px;
}

.float-btns {
  position: fixed;
  right: 14px;
  bottom: 88px;
  z-index: 46;
  display: grid;
  gap: 8px;
}

.float-zalo,
.float-call {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.float-zalo {
  background: #0068ff;
}

.float-call {
  background: #22c55e;
}

.thanks {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 16px 100px;
}

.thanks-card {
  width: min(100%, 560px);
  background: #fff;
  border-radius: 24px;
  padding: 32px 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  text-align: center;
}

.thanks-card h1 {
  font-size: 28px;
  margin: 10px 0;
}

.thanks-card p {
  color: var(--muted);
}

.thanks-summary {
  text-align: left;
  margin: 20px 0;
  background: var(--bg);
  border-radius: 14px;
  padding: 14px;
}

.thanks-summary div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding: 6px 0;
  font-size: 14.5px;
}

.thanks-summary b {
  text-align: right;
  overflow-wrap: anywhere;
}

.is-error {
  border-color: var(--sale) !important;
}

.addr-box {
  display: grid;
  gap: 10px;
  background: #fffdfb;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 12px;
}

.addr-label {
  font-size: 13.5px;
  font-weight: 600;
}

.addr-label small {
  display: block;
  font-weight: 500;
  color: var(--muted);
  margin-top: 2px;
}

.addr-box select,
.addr-box input[type="search"] {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  background: #fff;
  font: inherit;
  font-weight: 400;
}

.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.narrow h2 {
  font-size: 20px;
  margin: 22px 0 8px;
}

.narrow p {
  color: var(--muted);
  margin-bottom: 10px;
}

@media (min-width: 760px) {
  .nav-desk,
  .header-phone {
    display: flex;
  }

  .thumbs {
    grid-template-columns: repeat(5, 1fr);
  }

  .strip-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .feat-split {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .feat-split.reverse {
    grid-template-columns: 0.95fr 1.05fr;
  }

  .feat-split.reverse img {
    order: 2;
  }

  .img-duo,
  .spec-grid,
  .order-grid,
  .footer-grid,
  .compare {
    grid-template-columns: 1fr 1fr;
  }

  .reviews {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: start;
  }

  .buy-actions {
    grid-template-columns: 1.4fr 0.8fr;
  }

  .sticky-buy {
    display: none;
  }

  body {
    padding-bottom: 0;
  }

  .site-footer {
    padding-bottom: 32px;
  }

  .float-btns {
    bottom: 24px;
  }
}

@media (min-width: 980px) {
  .compare {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }
}
