@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/bevietnam-400-vi.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/bevietnam-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/bevietnam-600-vi.woff2") format("woff2");
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: "Be Vietnam Pro";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/bevietnam-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/cormorant-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #07080c;
  --card: rgba(10, 12, 16, 0.9);
  --gold: #b5893d;
  --gold-2: #e8d5a3;
  --ink: #f4ecd8;
  --muted: rgba(244, 236, 216, 0.72);
  --line: rgba(232, 213, 163, 0.4);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  min-height: 100dvh;
  color: var(--ink);
  font-family: "Be Vietnam Pro", "Noto Sans", sans-serif;
  background:
    radial-gradient(ellipse at 80% -10%, rgba(181, 137, 61, 0.22), transparent 42%),
    var(--bg);
}
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--gold-2); }
img { max-width: 100%; }

.wrap {
  width: min(1080px, calc(100% - 28px));
  margin: 0 auto;
  padding: max(16px, env(safe-area-inset-top)) 0 48px;
}

.back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-2);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.kicker {
  margin: 18px 0 0;
  color: var(--gold-2);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 12px;
}
h1 {
  margin: 6px 0 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(42px, 10vw, 72px);
  line-height: 0.9;
  font-weight: 700;
}
.lead {
  margin: 12px 0 0;
  max-width: 38rem;
  color: var(--muted);
  line-height: 1.55;
}
.sample-note {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  color: var(--gold-2);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.tools {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}
.search {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: rgba(8, 10, 14, 0.72);
  outline: none;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.search:focus { border-color: var(--gold-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--gold-2);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.chip.is-on {
  background: linear-gradient(90deg, #c6a15a, #e8d5a3);
  color: #1a1208;
  border-color: transparent;
}

.grid {
  margin-top: 18px;
  display: grid;
  gap: 12px;
}
.card {
  padding: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px);
}
.card-top { display: flex; gap: 12px; align-items: flex-start; }
.mark {
  width: 52px;
  height: 52px;
  flex: none;
  display: grid;
  place-items: center;
  font-size: 24px;
  background: rgba(232, 213, 163, 0.08);
  border: 1px solid var(--line);
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}
.card h2 { margin: 0; font-size: 18px; }
.cat { margin: 2px 0 0; color: var(--gold-2); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.badge {
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 7px;
  color: #1a1208;
  background: var(--gold-2);
}
.badge.ghost {
  color: var(--gold-2);
  background: transparent;
  border: 1px solid var(--line);
}
.blurb { margin: 10px 0 0; color: var(--muted); font-size: 14px; line-height: 1.45; }
.plans {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.plan {
  min-height: 40px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 12px;
  color: var(--gold-2);
}
.plan.is-on {
  background: rgba(232, 213, 163, 0.16);
  color: var(--ink);
  border-color: var(--gold-2);
}
.price-row {
  margin-top: 12px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.price {
  font-family: "Cormorant Garamond", serif;
  font-size: 34px;
  line-height: 1;
}
.vnd { font-size: 14px; color: var(--gold-2); margin-left: 4px; }
.sample { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-2); }
.buy {
  margin-top: 12px;
  width: 100%;
  min-height: 46px;
  border: 0;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1a1208;
  background: linear-gradient(90deg, #c6a15a, #e8d5a3);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}
.empty {
  display: none;
  margin-top: 18px;
  padding: 18px;
  border: 1px dashed var(--line);
  color: var(--muted);
  text-align: center;
}
.empty.is-on { display: block; }

.section { margin-top: 36px; }
.section h2 {
  margin: 0 0 12px;
  font-family: "Cormorant Garamond", serif;
  font-size: 34px;
  font-weight: 700;
}
.reasons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.reason {
  padding: 12px;
  border: 1px solid var(--line);
  background: rgba(8, 10, 14, 0.65);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}
.reason b { display: block; color: var(--gold-2); margin-bottom: 4px; }
.reason span { color: var(--muted); font-size: 13px; line-height: 1.4; }

.faq { display: grid; gap: 8px; }
.faq details {
  border: 1px solid var(--line);
  background: rgba(8, 10, 14, 0.65);
  padding: 0 12px;
}
.faq summary {
  min-height: 48px;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
}
.faq p { margin: 0 0 12px; color: var(--muted); line-height: 1.5; }

.footer {
  margin-top: 36px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
}
.footer a { text-decoration: none; }
.footer .group {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  text-decoration: none;
  font-weight: 600;
  color: #1a1208;
  background: linear-gradient(90deg, #c6a15a, #e8d5a3);
  clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
}

.sheet-back {
  position: fixed;
  inset: 0;
  z-index: 20;
  background: rgba(0, 0, 0, 0.62);
  display: none;
  align-items: flex-end;
  justify-content: center;
}
.sheet-back.is-on { display: flex; }
.sheet {
  width: min(520px, 100%);
  max-height: min(92dvh, 760px);
  overflow: auto;
  padding: 16px 16px max(16px, env(safe-area-inset-bottom));
  background: #0c0e13;
  border: 1px solid var(--line);
  border-bottom: 0;
  clip-path: polygon(16px 0, 100% 0, 100% 100%, 0 100%, 0 16px);
}
.sheet-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.sheet h2 { margin: 0; font-family: "Cormorant Garamond", serif; font-size: 32px; }
.close {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--gold-2);
}
.summary {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.45;
}
.summary strong { color: var(--ink); }
.field { display: grid; gap: 6px; margin-top: 12px; }
.field span { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold-2); }
.field input {
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  outline: none;
}
.field input:focus { border-color: var(--gold-2); }
.pay { margin-top: 14px; display: grid; gap: 12px; justify-items: center; }
.qr-img {
  width: 168px;
  height: 168px;
  object-fit: contain;
  background: #fff;
  border: 8px solid var(--gold-2);
}
.qr-note { margin: 0; color: var(--muted); font-size: 12px; text-align: center; }
.bank { margin: 0; width: 100%; display: grid; gap: 8px; font-size: 13px; color: var(--muted); }
.bank div { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.bank b { color: var(--ink); font-weight: 600; text-align: right; }
.copy {
  flex: none;
  min-height: 32px;
  padding: 0 8px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--gold-2);
  font-size: 12px;
}
.wait { color: var(--gold-2); font-size: 13px; }
.ok-title { margin: 8px 0; font-size: 22px; font-weight: 700; }
.actions { margin-top: 14px; display: grid; gap: 8px; }
.actions button {
  min-height: 48px;
  border: 0;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.zalo-go { color: #1a1208; background: linear-gradient(90deg, #c6a15a, #e8d5a3); }
body.catalog-live .is-sample { display: none; }
.buy:disabled { opacity: 0.45; }
.toast {
  position: fixed;
  z-index: 30;
  left: 50%;
  bottom: max(16px, env(safe-area-inset-bottom));
  transform: translateX(-50%) translateY(12px);
  opacity: 0;
  pointer-events: none;
  margin: 0;
  padding: 10px 14px;
  background: rgba(8, 10, 14, 0.94);
  border: 1px solid var(--line);
  color: var(--gold-2);
  font-size: 13px;
}
.toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (min-width: 760px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .reasons { grid-template-columns: repeat(4, 1fr); }
  .sheet-back { align-items: center; padding: 24px; }
  .sheet { border-bottom: 1px solid var(--line); }
}
@media (min-width: 1040px) {
  .grid { grid-template-columns: 1fr 1fr 1fr; }
}
