/* Màu nền kem anh duyệt (CVP-20261105-15) */
:root {
  --nen: #FFF6E6;
  --the: #FFFFFF;
  --kem-dam: #F6E6CB;
  --vien: #E6CFAE;
  --chu: #2A1810;
  --chu-phu: #5C4636;
  --do: #B3200F;
  --do-cam: #D0351B;
  --xanh: #1F7A3A;
  --bo: 18px;
  --font: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--nen); color: var(--chu); font: 400 17px/1.6 var(--font); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.05; font-weight: 800; }
p { margin: 0 0 .75em; }
:focus-visible { outline: 3px solid var(--do); outline-offset: 3px; }

.khung { width: min(1280px, 100% - 32px); margin-inline: auto; }
.khung--hep { width: min(900px, 100% - 32px); }
.bo-qua { position: absolute; left: -999px; top: 8px; background: var(--chu); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 8px; }
.bo-qua:focus { left: 16px; }

/* Nút */
.nut { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px; border-radius: 999px; font: 700 16px/1 var(--font); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s, color .15s; }
.nut:hover { transform: translateY(-2px); }
.nut--nho { min-height: 42px; padding: 0 18px; font-size: 15px; }
.nut--do { background: var(--do); color: #fff; }
.nut--do:hover { background: #8F190B; }
.nut--vien { background: var(--the); color: var(--chu); border-color: var(--chu); }
.nut--vien:hover { background: var(--chu); color: #fff; }
.nut--trang { background: #fff; color: var(--do); }
.nut--vien-trang { color: #fff; border-color: #fff; background: transparent; }
.nut--vien-trang:hover { background: #fff; color: var(--do); }
.hang-nut { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }

/* Đầu trang */
.dau-trang { position: sticky; top: 0; z-index: 50; background: var(--the); border-bottom: 1px solid var(--vien); }
.dau-trang__trong { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.logo img { width: 132px; border-radius: 6px; }
.dau-trang nav { margin-left: auto; }
.menu-chinh { list-style: none; display: flex; gap: 6px; margin: 0; padding: 0; }
.menu-chinh a { display: block; padding: 10px 12px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; color: var(--chu); }
.menu-chinh a:hover { background: var(--kem-dam); color: var(--do); }
.nut-menu { display: none; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--chu); cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nut-menu span { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-mo .nut-menu span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-mo .nut-menu span:nth-child(2) { opacity: 0; }
.menu-mo .nut-menu span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { background: var(--nen); }
.hero__chu { padding: 40px 0 36px; }
.bien-nho { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--chu-phu); }
.cham { width: 9px; height: 9px; border-radius: 50%; background: #E9A21B; flex: none; }
.hero h1 { font-size: clamp(44px, 7vw, 104px); letter-spacing: -.02em; margin: 12px 0 18px; }
.sang { color: var(--do); }
.hero__phu { max-width: 34em; font-size: clamp(17px, 1.6vw, 20px); color: var(--chu-phu); }
.hero__anh { position: relative; border-top: 6px solid var(--do-cam); }
.hero__anh > img { width: 100%; max-height: 78vh; object-fit: cover; }
.neon { position: absolute; top: 6%; right: 5%; margin: 0; padding: 10px 22px; border: 3px solid #FFD27A; border-radius: 14px; background: rgba(42, 24, 16, .78); color: #FFE9B8; font: 900 clamp(22px, 3vw, 44px)/1 var(--font); text-transform: uppercase; text-align: center; text-shadow: 0 0 10px rgba(255, 190, 80, .8); box-shadow: 0 0 18px rgba(255, 190, 80, .55); }
.neon small { display: block; font-size: .38em; letter-spacing: .25em; margin-top: 4px; }
.phieu { position: absolute; left: 4%; bottom: 8%; width: min(300px, 44%); background: var(--the); color: var(--chu); border-radius: 6px; padding: 16px 18px 12px; box-shadow: 0 14px 30px rgba(42, 24, 16, .3); transform: rotate(-3deg); font-size: 14px; }
.phieu::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 8px; background: radial-gradient(circle at 6px 0, transparent 6px, var(--the) 6.5px) 0 0 / 12px 8px repeat-x; }
.phieu__dau { font-weight: 900; color: var(--do); text-transform: uppercase; letter-spacing: .1em; border-bottom: 2px dashed var(--vien); padding-bottom: 6px; }
.phieu ul { list-style: none; margin: 0; padding: 0; }
.phieu li { display: flex; justify-content: space-between; gap: 12px; padding: 4px 0; }
.phieu b { color: var(--do); }

.ticker { background: var(--do); color: #fff; overflow: hidden; padding: 12px 0; }
.ticker__chay { display: flex; width: max-content; animation: chay 40s linear infinite; }
.ticker span { font: 900 clamp(20px, 2.4vw, 32px)/1 var(--font); text-transform: uppercase; white-space: nowrap; }
@keyframes chay { to { transform: translateX(-50%); } }

/* Khối chung */
.khoi { padding: clamp(64px, 9vw, 120px) 0; background: var(--the); }
.khoi--kem { background: var(--nen); }
.tieu-de-lon { font-size: clamp(38px, 6.2vw, 88px); text-transform: uppercase; letter-spacing: -.01em; margin-bottom: 20px; overflow-wrap: anywhere; }
.tieu-de-vua { font-size: clamp(30px, 3.6vw, 48px); text-transform: uppercase; margin-bottom: 14px; }
.mo-ta { color: var(--chu-phu); font-size: 18px; max-width: 40em; }
.dau-khoi { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 32px; margin-bottom: 36px; }
.ghi-nho { color: var(--chu-phu); font-size: 15px; margin-top: 18px; }

.the { background: var(--the); border: 1px solid var(--vien); border-radius: var(--bo); overflow: hidden; }
.the--chu { padding: 28px; }
.the--chu h3 { font-size: 24px; margin-bottom: 10px; }
.the--chu p { color: var(--chu-phu); }
.so { display: inline-block; font-weight: 900; color: var(--do); font-size: 15px; letter-spacing: .1em; margin-bottom: 14px; }
.luoi-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.luoi-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.nhan { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--do); margin: 0 0 6px; display: block; }
.gia { font-weight: 800; color: var(--do); font-size: 20px; display: block; }
.cho-anh { display: grid; place-items: center; aspect-ratio: 16 / 10; background: var(--kem-dam); color: var(--chu-phu); font-weight: 600; border-bottom: 1px solid var(--vien); }

/* Thẻ nhóm món */
.luoi-nhom { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.the--nhom { padding: 0; text-align: left; cursor: pointer; font: inherit; color: inherit; transition: transform .15s, box-shadow .15s; }
.the--nhom:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(42, 24, 16, .12); }
.the--nhom[aria-pressed="true"] { outline: 3px solid var(--do); }
.the--nhom img, .the--nhom .cho-anh { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.the--nhom .the__than { display: block; padding: 16px 18px 18px; }
.ten-nhom { display: block; font-size: 22px; font-weight: 800; line-height: 1.15; margin-bottom: 6px; }

.bang-mon { margin-top: 36px; background: var(--nen); border: 1px solid var(--vien); border-radius: var(--bo); padding: clamp(20px, 3vw, 36px); }
.bang-mon__nhom + .bang-mon__nhom { margin-top: 32px; }
.bang-mon h3 { font-size: 26px; text-transform: uppercase; margin-bottom: 8px; }
.bang-mon ul { list-style: none; margin: 0; padding: 0; columns: 2 320px; column-gap: 40px; }
.bang-mon li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px dashed var(--vien); break-inside: avoid; }
.bang-mon__ten small { display: block; color: var(--chu-phu); font-size: 14px; }
.bang-mon__gia { font-weight: 800; color: var(--do); white-space: nowrap; }

/* Signature */
.the--mon { display: flex; flex-direction: column; }
.the--mon > img, .the--mon > .cho-anh { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.the--mon .the__than { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.the--mon h3 { font-size: clamp(24px, 2.4vw, 34px); text-transform: uppercase; margin-bottom: 10px; }
.the--mon p:not(.nhan):not(.gia) { color: var(--chu-phu); }
.the--mon .gia { margin: auto 0 14px; }
.the--mon .nut { align-self: flex-start; }

/* Câu chuyện, Hỏi đáp */
details summary { cursor: pointer; list-style: none; }
details summary::-webkit-details-marker { display: none; }
.cau-chuyen summary { display: inline-block; font-weight: 700; border-bottom: 2px solid var(--do); padding-bottom: 2px; margin-top: 4px; }
.cau-chuyen[open] summary { margin-bottom: 18px; }
.cau-chuyen p { font-size: 18px; max-width: 42em; }
.hoi-dap { border-top: 1px solid var(--vien); margin-bottom: 28px; }
.hoi-dap details { border-bottom: 1px solid var(--vien); }
.hoi-dap summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-size: clamp(18px, 2vw, 24px); font-weight: 800; text-transform: uppercase; }
.hoi-dap summary::after { content: "+"; flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--the); border: 1px solid var(--vien); color: var(--do); font-size: 22px; transition: transform .2s; }
.hoi-dap details[open] summary::after { transform: rotate(45deg); }
.hoi-dap details p { color: var(--chu-phu); padding-bottom: 18px; max-width: 46em; }

/* Đặt món, chi nhánh */
.the--ngang { display: grid; grid-template-columns: 1fr 1.2fr; align-items: stretch; }
.the--ngang > img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.the--ngang .the__than { padding: clamp(24px, 4vw, 48px); }
.chi-nhanh h3 { text-transform: uppercase; font-size: clamp(24px, 2.6vw, 32px); }
.trang-thai { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; background: var(--kem-dam); color: var(--chu); padding: 6px 12px; border-radius: 999px; }
.chi-nhanh .cham { background: #C77700; }
.chi-nhanh.dang-mo .cham { background: var(--xanh); }

/* Kêu gọi + chân trang */
.khoi--keu-goi { background: var(--do); color: #fff; }
.khoi--keu-goi .tieu-de-lon { max-width: 14em; }
.chan-trang { background: var(--nen); padding: 56px 0 32px; border-top: 1px solid var(--vien); }
.chan-trang .chan-trang__lon { font: 900 clamp(32px, 6vw, 84px)/1 var(--font); color: var(--do); text-align: center; margin-bottom: 48px; }
.chan-trang__luoi { display: grid; grid-template-columns: 2fr 1fr; gap: 32px; }
.chan-trang__luoi img { width: 132px; border-radius: 6px; margin-bottom: 14px; }
.chan-trang p { color: var(--chu-phu); font-size: 15px; }
.chan-trang__link { list-style: none; margin: 0; padding: 0; columns: 2; }
.chan-trang__link a { display: inline-block; padding: 6px 0; font-weight: 600; text-decoration: none; }
.chan-trang__link a:hover { color: var(--do); }
.ban-quyen { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--vien); }

/* Các trang con (dựng bởi scripts/build.js) */
.menu-chinh a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--do); }
.trang-dau { padding: clamp(40px, 6vw, 80px) 0 clamp(28px, 4vw, 48px); }
.trang-dau .tieu-de-lon { margin-bottom: 14px; }
.tieu-de-nho { font-size: 22px; text-transform: uppercase; margin: 28px 0 8px; }
.noi-dung-chu p { font-size: 18px; max-width: 42em; }
.khoang-tren { margin-top: 28px; }
.the--chu h2 { font-size: clamp(22px, 2.4vw, 30px); text-transform: uppercase; margin-bottom: 10px; }
.duong-dan ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 24px; padding: 0; font-size: 15px; color: var(--chu-phu); }
.duong-dan li + li::before { content: "›"; margin-right: 6px; }
.duong-dan a { color: var(--chu); font-weight: 600; }
.loc { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chip { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--chu); background: var(--the); color: var(--chu); font: 600 15px/1 var(--font); cursor: pointer; }
.chip:hover { background: var(--kem-dam); }
.chip[aria-pressed="true"] { background: var(--chu); color: #fff; }
.bang-mon--trang { margin-top: 0; }
.bang-mon h2 { font-size: 26px; text-transform: uppercase; margin-bottom: 8px; }
.bang-mon li > a { flex: 1; display: flex; justify-content: space-between; gap: 16px; text-decoration: none; }
.bang-mon li > a:hover .bang-mon__ten { color: var(--do); text-decoration: underline; }
.mon-chi-tiet { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.mon-chi-tiet figure { margin: 0; }
.mon-chi-tiet img, .mon-chi-tiet .cho-anh { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--bo); border: 1px solid var(--vien); }
.mon-chi-tiet figcaption { font-size: 14px; color: var(--chu-phu); margin-top: 8px; }
.mon-chi-tiet h1 { font-size: clamp(34px, 4.6vw, 64px); text-transform: uppercase; margin-bottom: 12px; overflow-wrap: anywhere; }
.gia--lon { font-size: 32px; margin: 0 0 16px; }
.luu-y { list-style: none; margin: 8px 0 0; padding: 0; }
.luu-y li { position: relative; padding-left: 20px; color: var(--chu-phu); margin-bottom: 4px; }
.luu-y li::before { content: ""; position: absolute; left: 4px; top: .65em; width: 7px; height: 7px; border-radius: 50%; background: var(--do); }
.hop-kem { margin-top: 24px; padding: 16px 20px; background: var(--kem-dam); border-radius: 12px; }
.hop-kem p { margin: 0; }
.luoi-mon-khac { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.luoi-mon-khac a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 22px 24px; text-decoration: none; }
.luoi-mon-khac a:hover .ten-mon { color: var(--do); text-decoration: underline; }
.ten-mon { font-size: 22px; font-weight: 800; line-height: 1.2; }
.ten-app { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.ten-app li { padding: 8px 16px; border-radius: 999px; background: var(--kem-dam); font-weight: 700; }
.ten-app a { color: inherit; }
.trang-404 { min-height: 50vh; }
.khong-ngat { white-space: nowrap; }
@media (max-width: 700px) {
  .mon-chi-tiet, .luoi-mon-khac { grid-template-columns: 1fr; }
  .mon-chi-tiet img, .mon-chi-tiet .cho-anh { aspect-ratio: 16 / 10; }
}

/* Máy tính rộng: chữ trái, ảnh phải */
@media (min-width: 1101px) {
  .hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: minmax(min(80vh, 820px), auto) auto; }
  .hero__chu { width: auto; margin: 0; align-self: center; padding: 56px 40px 56px max(16px, (100vw - 1280px) / 2); }
  .hero h1 { font-size: clamp(52px, 4.2vw, 84px); }
  .hero__anh { border-top: 0; border-left: 6px solid var(--do-cam); }
  .hero__anh > img { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; }
  .ticker { grid-column: 1 / -1; }
}

/* Máy bảng và điện thoại: menu gập */
@media (max-width: 1100px) {
  .nut-menu { display: inline-flex; }
  .dau-trang nav { margin-left: 0; }
  .dau-trang .nut--do { margin-left: auto; }
  .menu-chinh { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--the); border-bottom: 1px solid var(--vien); padding: 8px 16px 16px; box-shadow: 0 16px 24px rgba(42, 24, 16, .12); }
  .menu-mo .menu-chinh { display: flex; }
  .menu-chinh a { font-size: 18px; padding: 14px 8px; border-radius: 10px; }
}
@media (max-width: 900px) {
  .luoi-3, .the--ngang, .chan-trang__luoi { grid-template-columns: 1fr; }
  .the--ngang > img { min-height: 0; height: auto; aspect-ratio: 2 / 1; }
}
@media (max-width: 700px) {
  .luoi-2 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .dau-trang__trong { gap: 12px; min-height: 64px; }
  .logo img { width: 108px; }
  .hero__anh > img { aspect-ratio: 4 / 3; max-height: none; }
  .phieu { position: relative; left: auto; bottom: auto; width: auto; margin: -36px 16px 20px; transform: rotate(-1.5deg); }
  .neon { top: 5%; right: 4%; padding: 6px 12px; border-width: 2px; }
  .hang-nut .nut { flex: 1 1 100%; }
  .the--mon .nut, .chi-nhanh .nut { flex: 0 0 auto; }
  .the--mon > .cho-anh { aspect-ratio: 2 / 1; }
  .bien-nho { font-size: 12px; letter-spacing: .04em; align-items: flex-start; }
  .bien-nho .cham { margin-top: 4px; }
  .luoi-nhom { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .the--nhom .the__than { padding: 12px; }
  .ten-nhom { font-size: 17px; }
  .the--nhom .cho-anh { font-size: 13px; text-align: center; padding: 8px; }
  .bang-mon ul { columns: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker__chay { animation: none; }
  .nut, .the--nhom { transition: none; }
}
