:root {
  --ink: #2b1a12;
  --ink-2: #4a3326;
  --mut: #7c6555;
  --red: #9b2c10;
  --red-d: #7a200b;
  --gold: #e2a43b;
  --gold-l: #f3cf86;
  --cream: #fbf4e6;
  --paper: #fffaf2;
  --line: #ecdcc2;
  --dark: #24110a;
  --ok: #1f7a3d;
  --err: #b42318;
  --r: 18px;
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--cream); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
[hidden] { display: none !important; }

/* nút */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 0; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn-gold { background: linear-gradient(180deg, #f0b54c, #d9922a); color: #2b130b; box-shadow: 0 8px 24px -10px rgba(226,164,59,.8); }
.btn-gold:hover { background: linear-gradient(180deg, #f5c060, #e09a31); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fdf3e1; border: 1px solid rgba(253,243,225,.28); }
.btn-ghost:hover { background: rgba(255,255,255,.16); }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 24px -12px rgba(155,44,16,.9); }
.btn-red:hover { background: var(--red-d); }
.btn-red:disabled { opacity: .6; cursor: wait; }
.btn.big { width: 100%; min-height: 54px; font-size: 1.05rem; }
.btn-call { background: var(--red); color: #fff; min-height: 40px; padding: 0 18px; font-size: .95rem; }
.btn-call:hover { background: var(--red-d); }

/* đầu trang */
.top { position: sticky; top: 0; z-index: 30; background: rgba(36,17,10,.92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); color: #fdf3e1; border-bottom: 1px solid rgba(226,164,59,.18); }
.top-in { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.mark { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--red); color: #fdf3e1; font-family: var(--serif); font-weight: 700; font-size: 1rem; letter-spacing: .5px; box-shadow: inset 0 0 0 2px rgba(226,164,59,.65); }
.brand-t { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-t b { font-family: var(--serif); font-size: 1.15rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-t small { font-size: .74rem; color: var(--gold-l); letter-spacing: .4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav { display: flex; gap: 6px; margin-left: auto; }
.nav a { text-decoration: none; padding: 8px 14px; border-radius: 999px; font-weight: 500; font-size: .95rem; color: #f3e6d0; }
.nav a:hover { background: rgba(255,255,255,.08); color: #fff; }

/* hero */
.hero { position: relative; color: #fdf3e1; background:
  radial-gradient(900px 420px at 85% 10%, rgba(226,164,59,.22), transparent 60%),
  radial-gradient(700px 500px at 5% 100%, rgba(155,44,16,.55), transparent 60%),
  linear-gradient(160deg, #2e140b 0%, #1f0e08 100%); overflow: hidden; }
.hero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px); background-size: 22px 22px; pointer-events: none; }
.hero-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; padding: 72px 0 84px; }
.eyebrow { margin: 0 0 12px; font-size: .8rem; font-weight: 700; letter-spacing: 2.4px; text-transform: uppercase; color: var(--gold); }
.eyebrow.dark { color: var(--red); }
.hero h1 { margin: 0; font-family: var(--serif); font-weight: 700; font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.12; letter-spacing: -.5px; text-wrap: balance; }
.lead { margin: 18px 0 0; font-size: 1.08rem; color: #ead9bf; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.board { position: relative; background: linear-gradient(180deg, #1b120d, #140c08); border-radius: 22px; padding: 26px 26px 20px; border: 1px solid rgba(226,164,59,.35); box-shadow: 0 30px 60px -30px rgba(0,0,0,.8), inset 0 0 0 6px rgba(226,164,59,.06); transform: rotate(1.2deg); }
.board-h { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--gold-l); margin-bottom: 14px; }
.board-h i { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(226,164,59,.6), transparent); }
.board-list { list-style: none; margin: 0; padding: 0; }
.board-list li { display: flex; align-items: baseline; gap: 10px; padding: 9px 0; border-bottom: 1px dashed rgba(243,207,134,.16); }
.board-list li:last-child { border-bottom: 0; }
.board-list .n { font-weight: 600; color: #fdf3e1; }
.board-list .d { flex: 1; border-bottom: 2px dotted rgba(243,207,134,.28); transform: translateY(-4px); min-width: 16px; }
.board-list .p { font-family: var(--serif); font-weight: 700; color: var(--gold); white-space: nowrap; }
.board-list .p small { font-family: var(--sans); font-weight: 400; color: #bfa98c; font-size: .78rem; }
.board-f { margin: 12px 0 0; font-size: .8rem; color: #a8927a; }

/* cam kết */
.feats { background: var(--paper); border-bottom: 1px solid var(--line); }
.feats-in { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.feat { display: flex; align-items: center; gap: 14px; padding: 22px 18px; }
.feat + .feat { border-left: 1px solid var(--line); }
.feat-ic { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #f7e7cc; color: var(--red); }
.feat-ic svg { width: 24px; height: 24px; }
.feat b { font-weight: 600; font-size: .98rem; }

/* khu vực */
.sec { padding: 72px 0; }
.sec-h { text-align: center; max-width: 640px; margin: 0 auto 36px; }
.sec-h.left { text-align: left; margin: 0 0 20px; }
.sec-h h2 { margin: 0; font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.2; }
.sub { margin: 10px 0 0; color: var(--mut); }

/* thẻ món */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 22px; }
.card { display: flex; flex-direction: column; background: #fff; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 14px 30px -24px rgba(60,25,10,.55); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -26px rgba(60,25,10,.6); }
.pic { position: relative; aspect-ratio: 4 / 3; background: #f1e3cc; overflow: hidden; }
.pic img { width: 100%; height: 100%; object-fit: cover; }
.ph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,246,230,.95); font-family: var(--serif); font-weight: 700; font-size: 3.4rem; letter-spacing: 1px; text-shadow: 0 2px 10px rgba(0,0,0,.25); }
.ph::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.12) 1.5px, transparent 1.5px); background-size: 16px 16px; }
.ph span { position: relative; }
.ph small { position: absolute; bottom: 10px; left: 0; right: 0; text-align: center; font-family: var(--sans); font-size: .72rem; font-weight: 500; letter-spacing: .4px; opacity: .8; }
.tag-out { position: absolute; top: 12px; left: 12px; background: rgba(36,17,10,.85); color: #fff; font-size: .78rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.c-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.c-body h3 { margin: 0; font-family: var(--serif); font-size: 1.22rem; line-height: 1.25; }
.c-desc { margin: 0; color: var(--mut); font-size: .9rem; }
.c-price { margin-top: auto; padding-top: 8px; font-weight: 800; font-size: 1.2rem; color: var(--red); }
.c-price small { font-weight: 500; font-size: .85rem; color: var(--mut); }
.c-act { display: flex; flex-direction: column; align-items: stretch; gap: 8px; margin-top: 10px; }
.c-act .step { justify-content: space-between; }
.step { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }
.tc-l { display: none; }
.step button { width: 38px; height: 38px; border: 0; background: none; font-size: 1.2rem; font-weight: 700; cursor: pointer; color: var(--red); border-radius: 999px; }
.step button:hover { background: #f5e6cd; }
.step output { min-width: 44px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.add { flex: 1; min-height: 42px; border-radius: 999px; border: 0; background: var(--ink); color: #fff; font-weight: 700; cursor: pointer; padding: 0 14px; white-space: nowrap; }
.add:hover { background: #000; }
.add.in { background: var(--ok); }
.empty { text-align: center; color: var(--mut); padding: 30px; border: 1px dashed var(--line); border-radius: var(--r); }

/* đơn */
.sec-order { background: linear-gradient(180deg, #f6ead5, var(--cream)); border-top: 1px solid var(--line); }
.order-in { display: grid; grid-template-columns: 1fr 440px; gap: 36px; align-items: start; }
.cart-list { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.cart-list li { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.cart-list li:last-child { border-bottom: 0; }
.ci-n { font-weight: 600; }
.ci-n small { display: block; color: var(--mut); font-weight: 400; font-size: .84rem; }
.ci-t { font-weight: 700; min-width: 92px; text-align: right; font-variant-numeric: tabular-nums; }
.cart-sum { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; padding: 16px 18px; background: var(--dark); color: #fdf3e1; border-radius: var(--r); }
.cart-sum b { font-family: var(--serif); font-size: 1.5rem; color: var(--gold); }
.cart-sum small { color: #c6ae92; display: block; font-size: .8rem; }
.cart-empty { padding: 28px; text-align: center; background: #fff; border: 1px dashed #d9c3a0; border-radius: var(--r); color: var(--mut); }
.cart-empty a { color: var(--red); font-weight: 600; }

.form { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 26px; box-shadow: 0 24px 50px -36px rgba(60,25,10,.6); }
.form h3 { margin: 0 0 16px; font-family: var(--serif); font-size: 1.35rem; }
.form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 14px; }
.form input, .form textarea { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 1px solid #dcc8a8; border-radius: 12px; background: var(--paper); font-weight: 400; font-size: 1rem; resize: vertical; }
.form input:focus, .form textarea:focus { outline: 2px solid rgba(226,164,59,.7); outline-offset: 1px; border-color: var(--gold); background: #fff; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-err { min-height: 1.2em; margin: 10px 0 0; color: var(--err); font-weight: 600; font-size: .92rem; }
.form-note { margin: 6px 0 0; color: var(--mut); font-size: .85rem; }
.off-cta { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.off-cta .btn { width: 100%; }
.btn-line { background: #fff; color: var(--ink); border: 1px solid var(--line); }

/* chân trang */
.foot { background: var(--dark); color: #ead9bf; padding: 48px 0 24px; }
.foot-in { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.brand.light b { color: #fdf3e1; }
.foot-intro { margin: 14px 0 0; max-width: 420px; color: #c6ae92; font-size: .95rem; }
.foot-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.foot-list li { display: flex; gap: 12px; align-items: flex-start; }
.foot-list .k { flex: none; width: 92px; color: var(--gold); font-size: .85rem; font-weight: 600; padding-top: 2px; }
.foot-list a { color: #fdf3e1; text-decoration: none; font-weight: 600; }
.foot-list a:hover { text-decoration: underline; }
.foot-copy { margin-top: 32px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); font-size: .82rem; color: #8f7a64; }

/* thanh dưới (điện thoại) */
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,250,242,.96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px -20px rgba(60,25,10,.5); }
.bar-call { flex: none; width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); color: var(--red); font-size: 1.3rem; text-decoration: none; }
.bar-go { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 10px; height: 50px; border: 0; border-radius: 14px; background: var(--red); color: #fff; padding: 0 16px; cursor: pointer; font-weight: 600; }
.bar-go b { font-weight: 800; }

/* xác nhận */
.done { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; background: rgba(20,9,5,.6); }
.done-card { width: min(420px, 100%); background: #fff; border-radius: 24px; padding: 30px 26px 24px; text-align: center; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); }
.done-ic { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; background: #e5f4e8; color: var(--ok); font-size: 2rem; font-weight: 800; }
.done-card h3 { margin: 0; font-family: var(--serif); font-size: 1.5rem; }
.done-card p { color: var(--mut); margin: 10px 0 20px; }
.done-card .btn { width: 100%; }

@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; gap: 36px; padding: 48px 0 56px; }
  .board { transform: none; }
  .order-in { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .btn-call { margin-left: auto; padding: 0 16px; }
  .tc-l { display: inline; }
  .tc-n { display: none; }
  .feats-in { grid-template-columns: 1fr; }
  .feat { padding: 14px 0; }
  .feat + .feat { border-left: 0; border-top: 1px solid var(--line); }
  .sec { padding: 52px 0; }
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .c-body { padding: 12px 12px 14px; }
  .c-body h3 { font-size: 1.04rem; }
  .c-desc { font-size: .82rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .c-price { font-size: 1.04rem; }
  .c-act { flex-direction: column; align-items: stretch; gap: 8px; }
  .step { justify-content: space-between; }
  .ph { font-size: 2.4rem; }
  .form { padding: 20px 16px; }
  .foot-in { grid-template-columns: 1fr; }
  body.has-bar { padding-bottom: 76px; }
}
@media (max-width: 360px) {
  .grid { grid-template-columns: 1fr; }
  .brand-t small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
