html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body { background: var(--espresso); padding-bottom: env(safe-area-inset-bottom); }
.eyebrow { font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 12px; color: var(--nau-khoi); }
.eyebrow.light { color: var(--cam-sang); }
.muted { color: var(--xam); }
.small { font-size: 14px; }
.code { font-variant-numeric: tabular-nums; font-weight: 500; white-space: nowrap; }

/* Thanh trên */
.top { position: sticky; top: 0; z-index: 20; background: rgba(218, 150, 94, .92); backdrop-filter: saturate(1.2) blur(8px); -webkit-backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid rgba(34, 17, 9, .08); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.logo { font-family: var(--f-title); font-weight: 300; font-size: 22px; letter-spacing: -0.02em; text-decoration: none; margin: 0; }

/* Hero: giống poster, khối cam trên, khối espresso dưới */
.hero { background: var(--gradient); color: var(--espresso); }
.hero-in { padding: 40px 20px 32px; }
.hello { font-weight: 500; font-size: clamp(17px, 4.4vw, 24px); margin: 0 0 4px; }
.hero h1 { font-size: clamp(80px, min(30vw, 22vh), 200px); line-height: .9; margin: 0 0 0 -0.04em; letter-spacing: -0.02em; }
.motto { background: var(--espresso); color: var(--kem); padding: 36px 0 56px; }
.tagline { font-weight: 300; font-size: clamp(24px, 6.2vw, 44px); line-height: 1.45; margin: 0 0 20px; }
.tagline b { font-weight: 600; }
.tagline .a1 { color: var(--cam-sang); }
.tagline .a2 { color: var(--thi-la); }
.intro { max-width: 34em; margin: 0 0 28px; color: rgba(242, 227, 207, .8); font-size: 17px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.btn.light { background: var(--cam-sang); border-color: var(--cam-sang); color: var(--espresso); }
.btn.light:hover { background: var(--kem); }
.btn.ghost-light { background: transparent; color: var(--kem); border-color: rgba(242, 227, 207, .4); }
.btn.ghost-light:hover { background: rgba(242, 227, 207, .08); }

/* Các món */
.menu { background: var(--kem-nhat); padding: 64px 0; }
.menu h2 { font-size: clamp(28px, 7vw, 44px); margin-bottom: 24px; }
.cards { display: grid; gap: 16px; }
.card-p { background: var(--giay); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; }
.card-p .band { background: var(--gradient); padding: 20px 20px 16px; }
.card-p h3 { font-size: 30px; }
.card-p .subt { margin: 2px 0 0; font-weight: 500; }
.card-p .photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: var(--nau-khoi); }
.card-p .body { padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card-p .body p { margin: 0; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; }
.status::before { content: ''; width: 8px; height: 8px; border-radius: 4px; background: var(--xam); }
.status.open::before { background: var(--thi-la); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 0; background: var(--line); border-radius: 12px; overflow: hidden; }
.facts div { background: var(--kem-nhat); padding: 10px 12px; }
.facts dt { font-size: 11px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--xam); }
.facts dd { margin: 2px 0 0; font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums; }
.card-p .acts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }

/* Câu chuyện từng món */
.story { background: var(--espresso); color: var(--kem); padding: 72px 0; border-top: 1px solid var(--line-dark); }
.story h2 { font-size: clamp(32px, 8vw, 56px); margin-bottom: 20px; }
.story .hl { color: var(--cam-sang); }
.lead { font-size: 18px; max-width: 34em; margin: 0 0 40px; color: rgba(242, 227, 207, .85); }
.shots { list-style: none; margin: 0 -20px 40px; padding: 0 20px; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 20px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.shots::-webkit-scrollbar { display: none; }
.shots li { flex: 0 0 72%; max-width: 300px; scroll-snap-align: start; }
.shots figure { margin: 0; }
.shots img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); background: var(--nau-khoi); }
.shots figcaption { margin-top: 8px; font-size: 14px; color: rgba(242, 227, 207, .75); }
.steps { list-style: none; padding: 0; margin: 0 0 40px; display: grid; }
.steps li { display: grid; grid-template-columns: 56px 1fr; gap: 12px; padding: 20px 0; border-top: 1px solid var(--line-dark); }
.steps .n { font-family: var(--f-title); font-size: 28px; color: var(--cam-sang); line-height: 1; padding-top: 2px; }
.steps h3 { font-size: 22px; margin-bottom: 6px; }
.steps p { margin: 0; color: rgba(242, 227, 207, .8); }
.enjoy { background: var(--nau-khoi); border-radius: var(--radius); padding: 24px 20px; }
.enjoy h3 { font-size: 24px; margin-bottom: 12px; }
.enjoy ul { margin: 0; padding-left: 18px; display: grid; gap: 8px; }
.enjoy li::marker { color: var(--thi-la); }

/* Đặt hàng */
.order { background: var(--kem-nhat); padding: 64px 0 140px; }
.order-in { max-width: 640px; }
.order-head h2 { font-size: clamp(32px, 8vw, 48px); margin-bottom: 8px; }
.sec-label { font-size: 14px; font-weight: 600; margin: 36px 0 12px; padding: 0; }
.group { margin-bottom: 24px; }
.group-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.group-head h3 { font-size: 24px; }
.group-head .pr { font-size: 14px; font-weight: 500; color: var(--nau-khoi); }
.group .meta { font-size: 14px; color: var(--xam); margin: 0 0 10px; }
.opts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.opt { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 14px 14px 14px 18px; background: var(--giay); border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .15s, box-shadow .15s; }
.opt.on { border-color: var(--cam-dam); box-shadow: 0 0 0 1px var(--cam-dam); }
.opt .w { font-family: var(--f-title); font-size: 24px; letter-spacing: -0.02em; line-height: 1.1; }
.opt .p { font-size: 15px; color: var(--nau-khoi); font-variant-numeric: tabular-nums; }
.opt .tagx { display: inline-block; font-family: var(--f-body); font-size: 12px; font-weight: 500; color: #4d5c17; background: rgba(152, 178, 60, .2); border-radius: 999px; padding: 1px 8px; margin-left: 6px; vertical-align: 4px; letter-spacing: 0; }
.group-off { padding: 14px 18px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--xam); font-size: 15px; }
.step { display: flex; align-items: center; gap: 4px; }
.step button { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--kem-nhat); font-size: 22px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.step button:disabled { opacity: .35; cursor: not-allowed; }
.step output { min-width: 28px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.pay { border: 0; padding: 0; margin: 0 0 12px; }
.pay legend { margin-top: 20px; }
.radio { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid var(--line); background: var(--giay); border-radius: var(--radius); margin-bottom: 10px; cursor: pointer; }
.radio input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--espresso); flex: none; }
.radio small { display: block; color: var(--xam); font-size: 14px; }
.radio:has(input:checked) { border-color: var(--espresso); }
.form-err { color: var(--do); font-weight: 500; min-height: 1em; }
.done { padding: 16px; background: rgba(152, 178, 60, .18); border-radius: var(--radius); font-weight: 500; }
#closed { margin-top: 24px; }

/* Thanh tổng tiền */
.bar { visibility: hidden; transform: translateY(110%); transition: transform .2s var(--ease), visibility .2s; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--espresso); color: var(--kem); padding: 12px 20px calc(12px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 24px rgba(34, 17, 9, .18); }
.bar.show { visibility: visible; transform: translateY(0); }
.bar-in { max-width: 640px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.bar-count { display: block; font-size: 13px; color: rgba(242, 227, 207, .7); }
.bar strong { font-size: 20px; }
.bar .btn { background: var(--cam-sang); color: var(--espresso); border-color: var(--cam-sang); min-width: 140px; }
.bar .btn:hover { background: var(--kem); }

.foot { background: var(--espresso); color: rgba(242, 227, 207, .75); padding: 40px 0 120px; font-size: 14px; border-top: 1px solid var(--line-dark); }
.foot .logo { color: var(--kem); font-size: 26px; margin-bottom: 8px; }
.foot p { margin: 0 0 4px; }

@media (min-width: 760px) {
  .hero-in { padding: 56px 20px 36px; }
  .motto { padding: 44px 0 80px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .shots { margin: 0 0 56px; padding: 0; overflow: visible; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .shots li { max-width: none; }
  .story { padding: 112px 0; }
  .enjoy { padding: 32px; }
}
@media (max-width: 400px) {
  .facts { grid-template-columns: 1fr; }
  .facts div { display: flex; justify-content: space-between; align-items: baseline; }
}
