:root {
  --bg: #f6efe3;
  --paper: #fffaf2;
  --ink: #2a1c14;
  --muted: #6e5a48;
  --line: #e4d6c1;
  --maroon: #5a1f17;
  --maroon-deep: #3a130e;
  --gold: #c8932f;
  --gold-soft: #f3dfb0;
  --warn-bg: #fdf0e6;
  --warn: #a5482c;
  --ok-bg: #eef5e8;
  --ok: #4f7a34;
  --radius: 14px;
  --font-body: 'Be Vietnam Pro', system-ui, sans-serif;
  --font-head: 'Noto Serif', Georgia, serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.65 var(--font-body);
}
img, svg { max-width: 100%; display: block; }
a { color: var(--maroon); }

.wrap { max-width: 520px; margin: 0 auto; padding: 0 16px; }

/* Hero */
.hero {
  background: radial-gradient(120% 80% at 50% 0%, #7a2a1f 0%, var(--maroon-deep) 70%);
  color: #fbeed5;
  text-align: center;
  padding: 36px 0 44px;
}
.hero .leaf { width: 92px; margin: 0 auto 14px; filter: drop-shadow(0 6px 18px rgba(200, 147, 47, .45)); }
.eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); margin: 0 0 6px; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.3; margin: 0 0 .5em; }
.hero h1 { font-size: 28px; color: #fff4dc; }
.hero p { margin: 0; color: #ead6b6; }

/* Card */
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 18px;
  margin: 16px 0;
  box-shadow: 0 2px 10px rgba(58, 19, 14, .06);
}
.pull-up { margin-top: -24px; position: relative; }

/* Form */
label { display: block; font-weight: 600; font-size: 15px; margin: 14px 0 6px; }
input[type=text], input[type=tel], select, textarea {
  width: 100%;
  font: inherit;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200, 147, 47, .2); }
.row3 { display: grid; grid-template-columns: 1fr 1.25fr 1.15fr; gap: 8px; }
.row3 select { padding: 12px 8px; }
.gender { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gender input { position: absolute; opacity: 0; }
.gender label {
  margin: 0; text-align: center; padding: 12px; border: 1.5px solid var(--line);
  border-radius: 10px; background: #fff; cursor: pointer; font-weight: 600;
}
.gender input:checked + label { border-color: var(--maroon); background: var(--maroon); color: #fff; }
.gender input:focus-visible + label { box-shadow: 0 0 0 3px rgba(200, 147, 47, .4); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; color: var(--muted); }
.check input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.hint { font-size: 13px; color: var(--muted); margin: 8px 0 0; }
.error { color: var(--warn); font-size: 14px; margin: 10px 0 0; min-height: 1em; }

.btn {
  display: block; width: 100%; margin-top: 20px; padding: 15px 18px;
  font: 700 17px/1.3 var(--font-body); text-align: center; text-decoration: none;
  color: #2a1c14; background: linear-gradient(180deg, #f0c766, var(--gold));
  border: 0; border-radius: 12px; cursor: pointer;
  box-shadow: 0 6px 16px rgba(200, 147, 47, .35);
}
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .6; cursor: wait; }
.btn-ghost { background: none; box-shadow: none; border: 1.5px solid var(--line); color: var(--maroon); font-weight: 600; }

/* Result */
.star-badge { text-align: center; }
.star-badge .meta { color: var(--muted); font-size: 15px; margin: 0; }
.star-badge .star { font-family: var(--font-head); font-size: 34px; color: var(--maroon); margin: 6px 0; }
.level { display: inline-block; font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 999px; }
.level.luuY { background: var(--warn-bg); color: var(--warn); }
.level.thuan { background: var(--ok-bg); color: var(--ok); }
.hook { border-left: 4px solid var(--gold); background: #fff6e6; }
.hook p { margin: 0; font-size: 18px; }
.section h3 { font-size: 18px; color: var(--maroon); display: flex; gap: 8px; align-items: center; }
.section p { margin: 0; }
.months { background: var(--maroon); color: #fbeed5; text-align: center; }
.months strong { color: #ffd98a; font-size: 20px; }
ol.todo { margin: 0; padding-left: 22px; }
ol.todo li { margin: 8px 0; }
.closing { font-family: var(--font-head); font-style: italic; font-size: 19px; text-align: center; color: var(--maroon); }
.bridge { background: var(--maroon-deep); color: #fbeed5; border: 0; }
.bridge .leaf { width: 64px; margin: 0 auto 10px; }
.bridge p { margin: 0; }
.bridge strong { color: #ffd98a; }
.disclaimer { font-size: 13px; color: var(--muted); text-align: center; margin: 24px 0 32px; }

/* Sales */
.pain li { margin: 8px 0; }
.price { text-align: center; }
.price .now { font-family: var(--font-head); font-size: 36px; color: var(--maroon); font-weight: 700; }
.price del { color: var(--muted); margin-right: 8px; }
.perks { list-style: none; padding: 0; margin: 12px 0 0; }
.perks li { margin: 6px 0; }
.countdown { display: flex; justify-content: center; gap: 8px; margin-top: 10px; }
.countdown span { background: var(--maroon); color: #fff; border-radius: 8px; padding: 6px 10px; font-weight: 700; min-width: 48px; text-align: center; }
.countdown small { display: block; font-size: 11px; font-weight: 400; opacity: .8; }
.specs { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 15px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; }
.total { display: flex; justify-content: space-between; font-weight: 700; margin-top: 16px; padding-top: 12px; border-top: 1px dashed var(--line); }
.dev-banner { background: #b3261e; color: #fff; padding: 10px 16px; font-size: 14px; text-align: center; }
.sticky-cta {
  position: sticky; bottom: 0; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(246, 239, 227, .96); border-top: 1px solid var(--line);
}
.sticky-cta .btn { margin: 0 auto; max-width: 488px; }
footer { text-align: center; font-size: 13px; color: var(--muted); padding: 20px 16px 40px; }
[hidden] { display: none !important; }

/* Landing: chỉ CTA */
body.landing {
  min-height: 100vh;
  background: radial-gradient(120% 70% at 50% 0%, #7a2a1f 0%, var(--maroon-deep) 75%);
  color: #fbeed5;
}
.landing-main { min-height: 100vh; display: flex; align-items: center; text-align: center; padding: 40px 0; }
.landing .leaf { width: 110px; margin: 0 auto 18px; filter: drop-shadow(0 8px 22px rgba(200, 147, 47, .5)); }
.landing h1 { font-size: 26px; color: #fff4dc; }
.gender-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 28px 0; }
.pick {
  font: 700 22px/1.2 var(--font-head); color: #2a1c14; cursor: pointer;
  background: linear-gradient(180deg, #f6d27c, var(--gold)); border: 0; border-radius: 16px;
  padding: 22px 10px; box-shadow: 0 8px 22px rgba(200, 147, 47, .35);
  animation: pulse 1.8s ease-in-out infinite;
}
.pick span { display: block; font-size: 30px; margin-bottom: 4px; }
.pick:nth-child(2) { animation-delay: .9s; }
@keyframes pulse { 50% { transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) { .pick { animation: none; } }
.blessing { color: #ead6b6; font-size: 16px; margin: 0; }

dialog {
  width: min(440px, calc(100% - 32px)); border: 0; border-radius: var(--radius);
  padding: 22px 18px; background: var(--paper); color: var(--ink);
}
dialog::backdrop { background: rgba(20, 8, 5, .65); }
dialog h2 { font-size: 20px; color: var(--maroon); padding-right: 24px; }
dialog .eyebrow { color: var(--gold); font-weight: 700; }
.close { position: absolute; top: 8px; right: 10px; border: 0; background: none; font-size: 28px; line-height: 1; color: var(--muted); cursor: pointer; padding: 6px; }

/* Kết quả: bảng thông tin + khối nhấn */
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; text-align: left; }
.facts div { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.facts small { display: block; color: var(--muted); font-size: 12px; }
.facts b { font-size: 16px; color: var(--maroon); }
.facts .wide { grid-column: 1 / -1; }
.red { color: #c0392b; font-weight: 600; }
.mark { background: #ffeb3b; color: #2a1c14; padding: 2px 4px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.year-badge { text-align: center; margin: 8px 0; }
.year-badge span { display: inline-block; background: #111; color: #ffe14d; font: 700 34px/1.1 var(--font-head); padding: 8px 18px; }
.year-badge small { display: block; color: var(--muted); margin-top: 6px; }

/* Trang bán hàng */

/* Trang dẫn dắt */
.frame { margin: 16px 0; border: 2px solid var(--gold); border-radius: var(--radius); overflow: hidden; box-shadow: 0 4px 16px rgba(58, 19, 14, .15); }
.frame svg { width: 100%; height: auto; }
.remember { border-left: 4px solid #6b3fa0; background: #f6f0fb; }
.remember p { color: #4b2a7a; font-weight: 600; margin: 4px 0; }
.cta-lead { color: var(--maroon); }

/* Trang con số chủ đạo */
.numer {
  background: radial-gradient(120% 60% at 50% 0%, #6b2418 0%, var(--maroon-deep) 70%);
  color: #fbeed5; border: 1px solid #8a5a22;
  box-shadow: inset 0 0 0 4px var(--maroon-deep), inset 0 0 0 5px rgba(200, 147, 47, .55);
}
.numer-title { font: 700 20px/1.3 var(--font-head); color: #ffd98a; text-align: center; margin: 4px 0 14px; letter-spacing: .02em; }
.n-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.n-table th, .n-table td { padding: 10px 6px; border-bottom: 1px solid rgba(200, 147, 47, .3); text-align: center; vertical-align: middle; }
.n-table thead th { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-soft); border-bottom: 1px solid rgba(200, 147, 47, .6); }
.n-table thead th:first-child, .n-table tbody th, .n-table tfoot th { text-align: left; }
.n-table tbody th { font-weight: 400; color: #ead6b6; }
.n-table tbody th b { color: #fff4dc; letter-spacing: .06em; }
.n-table tbody th small { display: block; font-size: 12px; color: var(--gold); font-style: italic; }
.n-table td { color: #fbeed5; letter-spacing: .04em; }
.n-table tfoot th { font: 700 16px var(--font-head); color: #ffd98a; border-bottom: 0; }
.n-table tfoot td { border-bottom: 0; color: #ead6b6; }
.n-table tfoot td b { color: #ffd98a; }
.n-cell { display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 6px; border-radius: 50%; border: 1.5px solid var(--gold); color: #ffd98a; font: 700 18px var(--font-head); }
.n-cell.sum { background: rgba(200, 147, 47, .18); }
.medallion { text-align: center; margin-top: 20px; }
.medallion small { display: block; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 10px; }
.halo {
  width: 112px; height: 112px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle, #ffe7a3 0%, #d9a441 55%, #9c6a1c 100%);
  box-shadow: 0 0 0 6px rgba(200, 147, 47, .18), 0 0 0 12px rgba(200, 147, 47, .08), 0 0 36px rgba(255, 217, 138, .55);
}
.halo b { font: 700 54px/1 var(--font-head); color: var(--maroon-deep); }
.n-archetype { font: 700 20px/1.3 var(--font-head); color: #ffd98a; margin: 16px 0 0; }
.n-meaning { margin: 6px 0 0; text-align: center; color: #ead6b6; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; }
.pillars div { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 10px 4px; }
.pillars small { display: block; color: var(--muted); font-size: 12px; }
.pillars b { display: block; color: var(--maroon); font-size: 16px; }
.pillars span { font-size: 13px; color: var(--muted); }
.el-bar { display: grid; grid-template-columns: 44px 1fr 18px; align-items: center; gap: 8px; font-size: 15px; margin: 4px 0; }
.el-bar div { height: 12px; background: #efe6d6; border-radius: 6px; overflow: hidden; }
.el-bar i { display: block; height: 100%; border-radius: 6px; }
.color-pick { display: flex; gap: 14px; align-items: center; margin-top: 16px; padding: 14px; border-radius: 12px; background: #fff6e6; border: 1px solid var(--gold-soft); }
.color-pick p { margin: 2px 0 0; }
.swatch { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }

/* Trang bán hàng: nền tối, cột hẹp giữa trang */
body.sales-dark { background: #070b14; color: #fff; }
.sp {
  max-width: 460px; margin: 0 auto; padding: 0 14px 24px;
  background: linear-gradient(180deg, #0d1626 0%, #18263d 45%, #0d1626 100%);
  font-weight: 700; font-size: 16.5px; line-height: 1.6;
}
.sp-banner {
  margin: 0 -14px; padding: 18px 18px 16px; text-align: center; color: #ffd84d;
  background: radial-gradient(circle at 20% 30%, rgba(200,147,47,.35), transparent 40%), radial-gradient(circle at 85% 70%, rgba(200,147,47,.3), transparent 45%), #1a1208;
  border: 2px solid #c8932f; border-radius: 0 0 12px 12px;
}
.sp-banner h1 { font: 800 21px/1.35 var(--font-body); margin: 0 0 6px; color: #fff; }
.sp-banner p { margin: 0; font-size: 17px; line-height: 1.5; }
.sp-photo { margin: 14px 0; border: 2px solid #e8b04b; border-radius: 12px; overflow: hidden; background: #0a101c; }
.sp-photo img { width: 100%; height: auto; }
.sp-full { margin-left: -14px; margin-right: -14px; border-radius: 0; border-left: 0; border-right: 0; }
.sp-hero { border-color: #fff; border-width: 3px; border-radius: 16px; }
.sp-hero.has-img figcaption { border-top: 2px solid #e8b04b; }
.sp-hero-art {
  aspect-ratio: 4 / 4.2; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 45%, rgba(255,226,140,.55), rgba(70,110,60,.35) 38%, #08110c 72%);
}
.sp-hero-art .leaf { width: 58%; filter: drop-shadow(0 0 28px rgba(255,214,120,.8)); }
.sp-hero figcaption {
  background: #0b0b08; color: #ffd84d; text-align: center; padding: 12px 8px 14px;
  font: 800 30px/1.15 var(--font-head); letter-spacing: .12em; text-shadow: 0 0 10px rgba(255,200,80,.6);
}
.sp-hero figcaption span { display: block; margin-top: 6px; font: italic 600 15px/1.3 var(--font-body); letter-spacing: .04em; color: #f3dfb0; }
.sp-ph {
  aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 16px; text-align: center;
  color: #e8b04b; font-size: 14px; border: 2px dashed #e8b04b; border-radius: 10px; margin: 6px;
}
.sp-body { padding: 8px 0; }
.sp-body p { text-align: justify; margin: 0 0 18px; }
.sp-center p { text-align: center; }
.sp-shout { text-align: center !important; color: #ffd84d; font-size: 25px; line-height: 1.3; margin: 28px 0 !important; }
.sp-yellow { color: #ffd84d; }
.sp-orange { color: #ff9a4d; font-size: 21px; line-height: 1.45; }
.sp-red { color: #ff3b30; font-size: 18px; }
.hl-red { color: #ff3b30; }
.hl-tag { background: #e3241b; color: #ffd84d; padding: 0 4px; }
.sp-blessing { color: #ffd84d; border-left: 3px solid #e8b04b; padding-left: 10px; }
.sp-band { margin: 0 -14px; padding: 26px 22px; background: #22324d; text-align: center; font-size: 17.5px; }
.sp-band p { margin: 0; }
.sp-specs { margin: 16px auto 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; text-align: left; max-width: 340px; font-weight: 600; font-size: 15px; }
.sp-specs dt { color: #e8b04b; }
.sp-specs dd { margin: 0; }
.sp-orn {
  height: 44px; margin: 20px 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 44'%3E%3Cg fill='none' stroke='%23e8963a' stroke-width='2'%3E%3Cpath d='M0 30H150M250 30H400'/%3E%3Cpath d='M150 30c15-2 25-10 30-22 3 10 10 18 20 20 10-2 17-10 20-20 5 12 15 20 30 22'/%3E%3Cpath d='M200 28c-6-8-6-16 0-24 6 8 6 16 0 24zM170 30c8-8 18-10 30-2M230 30c-8-8-18-10-30-2'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
.sp-h2 { font: 800 26px/1.35 var(--font-body); color: #ff9a4d; text-align: center; margin: 8px 0 18px; }
.sp-italic { font-style: italic; text-align: left; }
.sp-gallery { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.sp-gallery img { flex: 0 0 86%; scroll-snap-align: center; border: 2px solid #e8b04b; border-radius: 10px; }

.sp-order {
  margin: 24px -14px 0; padding: 26px 20px 30px; text-align: center;
  background:
    radial-gradient(circle at 15% 12%, rgba(255,230,200,.35) 0 5%, transparent 6%),
    radial-gradient(circle at 80% 22%, rgba(255,230,200,.3) 0 7%, transparent 8%),
    radial-gradient(circle at 30% 60%, rgba(255,210,180,.22) 0 9%, transparent 10%),
    radial-gradient(circle at 88% 75%, rgba(255,230,200,.25) 0 6%, transparent 7%),
    radial-gradient(120% 90% at 50% 40%, #c9545e 0%, #8e2a3b 60%, #5a1828 100%);
}
.sp-order-tag {
  display: inline-block; padding: 10px 22px; background: rgba(120,30,40,.75); box-shadow: 0 6px 16px rgba(0,0,0,.35);
  color: #ffe600; font: 800 26px/1.2 var(--font-body);
}
.sp-perks { list-style: none; padding: 0; margin: 10px 0 0; color: #fff; font-size: 15px; }
.sp-perks #perk-ship { color: #ff2a1a; font-weight: 800; text-shadow: 0 0 6px rgba(255,255,255,.4); }
.sp-price { margin: 10px 0 4px; font-size: 30px; color: #ffe600; line-height: 1.3; }
.sp-price del { display: block; font-size: 22px; color: #6fa8ff; }
.sp-price u { text-underline-offset: 5px; }
.sales-dark .countdown { flex-wrap: wrap; gap: 10px; margin: 6px 0 14px; }
.sp-cd-label { flex-basis: 100%; margin: 0; color: #ffe600; font-size: 20px; }
.sales-dark .countdown span { background: #ff1a0d; border-radius: 10px; min-width: 70px; padding: 8px 6px; font-size: 36px; line-height: 1.1; }
.sales-dark .countdown small { font-size: 12px; }
.sp-note { color: #ffe600; font-size: 15.5px; margin: 10px 0; }
.of-product { margin: -20px -18px 6px; padding-bottom: 16px; border-bottom: 1px solid #eee; }
.of-slider { position: relative; border-radius: 18px 18px 0 0; overflow: hidden; background: #1c1c1c; }
.of-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.of-track::-webkit-scrollbar { display: none; }
.of-track img { flex: 0 0 100%; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; scroll-snap-align: start; }
.of-nav {
  position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.85); color: #222; font: 700 26px/36px var(--font-body); cursor: pointer; padding: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.of-prev { left: 10px; } .of-next { right: 10px; }
.of-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 7px; }
.of-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; background: rgba(255,255,255,.55); cursor: pointer; transition: width .2s; }
.of-dots button.on { width: 22px; background: #fff; }
.of-pname { margin: 14px 18px 4px; font: 700 20px/1.3 var(--font-body); color: #222; }
.of-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin: 0 18px; }
.of-price b { font: 800 28px/1.2 var(--font-body); color: #ef4f2b; }
.of-price del { color: #999; font-size: 17px; }
.of-off { padding: 2px 8px; border-radius: 6px; background: #ef4f2b; color: #fff; font-weight: 700; font-size: 14px; }
.of-trust { list-style: none; margin: 12px 18px 0; padding: 0; display: grid; gap: 8px; }
.of-trust li { display: flex; align-items: center; gap: 10px; color: #333; font-size: 16px; font-weight: 600; }
.of-trust svg { width: 26px; height: 26px; flex: none; padding: 5px; border-radius: 50%; background: #fff3f0; color: #ef4f2b; box-sizing: content-box; }
/* Form đặt hàng: thẻ trắng */
.of-card {
  text-align: left; margin: 18px -6px 0; padding: 20px 18px 18px; background: #fff; color: #222;
  border-radius: 18px; box-shadow: 0 12px 30px rgba(0,0,0,.35); font-family: var(--font-body);
}
.of-title { margin: 14px -18px 6px; padding: 0 18px 14px; border-bottom: 1px solid #eee; font: 700 22px/1.3 var(--font-body); color: #222; }
.of-card label { display: block; color: #222; font-size: 17px; font-weight: 700; margin: 16px 0 8px; }
.of-card label i { font-style: normal; color: #222; }
.of-card input[type=text], .of-card input[type=tel], .of-card select {
  width: 100%; box-sizing: border-box; height: 56px; padding: 0 16px; border: 1px solid #ddd; border-radius: 10px;
  background: #fff; color: #222; font: 400 17px var(--font-body); outline: none;
}
.of-card input::placeholder { color: #b9b9b9; }
.of-card input:focus, .of-card select:focus { border-color: #ef4f2b; box-shadow: 0 0 0 3px rgba(239,79,43,.12); }
.of-card input:disabled { background: #f2f2f2; cursor: not-allowed; }
.of-card select { font-weight: 500; appearance: auto; }
.of-seg { display: flex; gap: 10px; }
.of-seg button {
  padding: 10px 22px; border: 1px solid #ddd; border-radius: 6px; background: #fff; color: #555;
  font: 600 16px var(--font-body); cursor: pointer;
}
.of-seg button.on { border-color: #ef4f2b; background: #fff3f0; color: #ef4f2b; }
.combo { position: relative; }
.combo-list {
  position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 4px); max-height: 240px; overflow-y: auto;
  margin: 0; padding: 4px 0; list-style: none; background: #fff; border: 1px solid #ddd; border-radius: 10px;
  box-shadow: 0 10px 24px rgba(0,0,0,.15);
}
.combo-list li { padding: 10px 16px; font-size: 16px; color: #222; cursor: pointer; }
.combo-list li:hover { background: #fff3f0; color: #ef4f2b; }
.combo-list li.none { color: #999; cursor: default; }
.combo-list li.none:hover { background: none; color: #999; }
.of-card .error { color: #d92d20; font-weight: 600; margin: 12px 0 0; min-height: 0; }
.of-card .error:empty { display: none; }
.of-qty { display: flex; align-items: stretch; width: 170px; height: 52px; border: 1px solid #ddd; border-radius: 10px; overflow: hidden; }
.of-qty button { width: 48px; border: 0; background: #f6f6f6; color: #222; font: 600 22px var(--font-body); cursor: pointer; }
.of-qty input { flex: 1; width: 0; border: 0; text-align: center; font: 700 18px var(--font-body); color: #222; -moz-appearance: textfield; }
.of-qty input::-webkit-inner-spin-button, .of-qty input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.of-bulk-note { margin: 8px 0 0; color: #ef4f2b; font-size: 14.5px; font-weight: 600; }
.of-btn {
  display: block; width: 100%; margin-top: 20px; padding: 18px 12px; border: 0; border-radius: 12px; cursor: pointer;
  background: #ef4f2b; color: #fff; font: 700 19px/1.2 var(--font-body);
}
.of-btn[disabled] { opacity: .6; cursor: wait; }
.of-safe { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 14px 0 0; color: #12a150; font-size: 14.5px; font-weight: 600; }
.of-safe svg { width: 18px; height: 18px; flex: none; }
.sp-btn {
  display: block; width: 100%; margin-top: 16px; padding: 18px 16px; border: 0; border-radius: 14px; cursor: pointer;
  background: #e8382c; color: #fff; text-align: center; text-decoration: none;
  font: 800 26px/1.2 var(--font-body); box-shadow: 0 8px 18px rgba(0,0,0,.35);
}
.sp-btn[disabled] { opacity: .6; cursor: wait; }
.rv-card { margin: 18px -8px 0; padding: 20px 18px; background: #fff; color: #222; border-radius: 18px; font-family: var(--font-body); }
.rv-title { margin: 0 0 14px; font: 700 21px/1.3 var(--font-body); color: #222; }
.rv-summary { display: flex; gap: 18px; align-items: center; padding: 14px; background: #fff8f5; border: 1px solid #fde3da; border-radius: 12px; }
.rv-score { text-align: center; flex: none; }
.rv-score b { display: block; font: 800 34px/1 var(--font-body); color: #ef4f2b; }
.rv-score small { display: block; color: #777; font-size: 13px; margin-top: 4px; }
.rv-stars { color: #f5a623; letter-spacing: 1px; font-size: 15px; }
.rv-stars i { font-style: normal; color: #ddd; }
.rv-bars { flex: 1; display: grid; gap: 4px; }
.rv-bar { display: grid; grid-template-columns: 34px 1fr 22px; gap: 8px; align-items: center; font-size: 13px; color: #555; }
.rv-track { height: 7px; border-radius: 4px; background: #eee; overflow: hidden; }
.rv-track span { display: block; height: 100%; background: #f5a623; }
.rv-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 4px; }
.rv-filter button { padding: 7px 14px; border: 1px solid #ddd; border-radius: 6px; background: #fff; color: #444; font: 600 14px var(--font-body); cursor: pointer; }
.rv-filter button.on { border-color: #ef4f2b; background: #fff3f0; color: #ef4f2b; }
.rv-item { padding: 14px 0; border-bottom: 1px solid #f0f0f0; }
.rv-item:last-child { border-bottom: 0; }
.rv-head { display: flex; gap: 10px; align-items: center; }
.rv-ava { width: 38px; height: 38px; flex: none; border-radius: 50%; background: #ffe2d8; color: #ef4f2b; display: grid; place-items: center; font-weight: 700; }
.rv-head b { font-size: 15px; }
.rv-ok { margin-left: 8px; color: #12a150; font-size: 12.5px; font-weight: 600; }
.rv-item p { margin: 8px 0; font-size: 15.5px; line-height: 1.55; color: #333; }
.rv-photos { display: flex; gap: 8px; overflow-x: auto; }
.rv-photos img { width: 84px; height: 84px; flex: none; object-fit: cover; border-radius: 8px; }
.rv-meta { display: block; margin-top: 6px; color: #999; font-size: 13px; }
.rv-empty { color: #888; }
.rv-more { display: block; width: 100%; margin-top: 8px; padding: 12px; border: 1px solid #ef4f2b; border-radius: 10px; background: #fff; color: #ef4f2b; font: 700 15px var(--font-body); cursor: pointer; }
.sp-foot { text-align: center; font-size: 13px; font-weight: 400; color: #9aa6b8; padding: 18px 4px 0; }
.sp-foot a { color: #e8b04b; }
.sales-dark .sticky-cta { background: rgba(7,11,20,.94); border-top-color: #22324d; }
.sales-dark .sticky-cta .sp-btn { margin: 0 auto; max-width: 432px; font-size: 18px; padding: 14px; }
.sales-dark .dev-banner { max-width: 460px; margin: 0 auto; }

/* Khung con giáp trên trang kết quả */
.con-giap { text-align: center; background: radial-gradient(120% 90% at 50% 0%, #6e2419 0%, var(--maroon-deep) 70%); border: 2px solid var(--gold); color: #fbeed5; }
.con-giap .meta { margin: 0 0 6px; color: var(--gold-soft); font-size: 15px; }
.cg-wheel { max-width: 300px; margin: 0 auto; }
.cg-wheel .ring { fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-dasharray: 3 4; opacity: .7; }
.cg-wheel g circle { fill: rgba(255,255,255,.06); stroke: rgba(232,176,75,.45); }
.cg-wheel g.on circle { fill: #ffd98a; stroke: #fff3cf; stroke-width: 2; }
.cg-wheel text { text-anchor: middle; }
.cg-wheel .ic { font-size: 15px; }
.cg-wheel .lb { font: 600 9.5px var(--font-body); fill: #f3dfb0; }
.cg-wheel g.on .lb { fill: var(--maroon-deep); font-weight: 700; }
.cg-wheel .core { fill: #fff6e1; stroke: var(--gold); stroke-width: 4; filter: drop-shadow(0 0 14px rgba(255,214,120,.7)); }
.cg-wheel .big { font-size: 64px; }
.cg-name { font: 700 24px/1.3 var(--font-head); color: #ffd98a; margin: 10px 0 4px; }
.cg-trait { margin: 0; font-style: italic; color: #f3dfb0; }
.sp-video { margin: 0 -14px; padding: 16px 0; background: #000; }
.sp-video iframe { display: block; width: min(100%, 320px); aspect-ratio: 9 / 16; margin: 0 auto; border: 0; border-radius: 10px; }
.sp-process .sp-h2 { margin-top: 20px; }
.sp-step { color: #ffd84d; font-size: 20px; margin: 22px 0 8px; }
.sp-cert figcaption { padding: 10px 12px; font-size: 14px; font-weight: 600; color: #f3dfb0; text-align: center; }

.use-steps { margin: 6px 0 0; padding-left: 22px; }
.use-steps li { margin: 0 0 8px; padding-left: 4px; line-height: 1.6; }
.use-steps li:last-child { margin-bottom: 0; }
.use-steps li::marker { color: var(--accent, #8a2b2b); font-weight: 700; }

/* Popup thanh toán */
body.no-scroll { overflow: hidden; }
.pay-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-end; justify-content: center; background: rgba(0,0,0,.55); }
.pay-modal[hidden] { display: none; }
.pay-box {
  width: 100%; max-width: 520px; max-height: 94vh; display: flex; flex-direction: column; background: #fff; color: #222;
  border-radius: 18px 18px 0 0; font-family: var(--font-body); animation: pay-up .25s ease-out;
}
@keyframes pay-up { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@media (min-width: 600px) { .pay-modal { align-items: center; } .pay-box { border-radius: 18px; } }
.pay-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid #eee; }
.pay-head h3 { margin: 0; font: 700 21px var(--font-body); color: #222; }
.pay-x { width: 40px; height: 40px; border: 0; border-radius: 50%; background: #f2f2f2; font-size: 24px; line-height: 1; cursor: pointer; color: #222; }
.pay-body { overflow-y: auto; padding: 14px 18px 20px; }
.pay-opts { display: grid; gap: 10px; }
.pay-opt {
  position: relative; display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: center; width: 100%;
  padding: 14px 12px; border: 1.5px solid #ddd; border-radius: 12px; background: #fff; text-align: left; cursor: pointer; font-family: var(--font-body); color: #222;
}
.pay-opt.on { border-color: #ef4f2b; background: #fff6f3; }
.pay-opt[data-pay="ck"].on { box-shadow: 0 0 0 3px rgba(239,79,43,.12); }
.pay-radio { width: 18px; height: 18px; border: 2px solid #bbb; border-radius: 50%; }
.pay-opt.on .pay-radio { border-color: #ef4f2b; background: radial-gradient(circle, #ef4f2b 0 45%, #fff 50%); }
.pay-opt-main b { display: block; font-size: 16px; }
.pay-opt-main small { color: #777; font-size: 13px; }
.pay-opt-price { text-align: right; }
.pay-opt-price b { display: block; font-size: 17px; color: #ef4f2b; }
.pay-opt-price del { color: #999; font-size: 13px; }
.pay-save {
  position: absolute; top: -10px; right: 10px; padding: 2px 10px; border-radius: 20px; background: #12a150; color: #fff;
  font-size: 12.5px; font-weight: 700; box-shadow: 0 2px 6px rgba(18,161,80,.35);
}
.pay-hint { margin: 16px 0 10px; text-align: center; color: #666; font-size: 15px; }
.pay-qr-card { padding: 16px; border-radius: 14px; background: #f4f4f4; text-align: center; }
.pay-qr-card img { display: block; width: 260px; max-width: 100%; height: auto; aspect-ratio: 1; margin: 0 auto; background: #fff; border-radius: 10px; }
.pay-amount { margin: 12px 0 2px; font-size: 19px; font-weight: 800; color: #222; }
.pay-memo { margin: 0; color: #666; font-size: 14.5px; }
.pay-manual { margin-top: 14px; padding: 14px; border: 1px solid #fbd3b5; border-radius: 12px; background: #fff8f2; font-size: 15px; }
.pay-manual p { margin: 0 0 8px; }
.pay-manual .pay-manual-t { color: #ef4f2b; font-weight: 700; }
.pay-red { color: #ef4f2b; }
.pay-copy { margin-left: 6px; padding: 3px 10px; border: 0; border-radius: 6px; background: #ef4f2b; color: #fff; font: 600 13px var(--font-body); cursor: pointer; }
.pay-warn { margin: 6px 0 0 !important; color: #666; font-size: 13.5px; }
.pay-foot { margin: 10px 0 0; text-align: center; color: #777; font-size: 13.5px; }
.pay-body .error { color: #d92d20; font-weight: 600; margin: 12px 0 0; }
.pay-body .error:empty { display: none; }
.pay-wait { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px 0 0; color: #555; font-size: 14.5px; text-align: center; }
.pay-wait[hidden] { display: none; }
.pay-wait.ok { color: #12a150; font-weight: 700; }
.pay-dot { width: 10px; height: 10px; flex: none; border-radius: 50%; background: #f5a623; animation: pay-blink 1.2s infinite; }
@keyframes pay-blink { 50% { opacity: .3; } }
