/* ============================================================
   Nhà hàng Thăng Long Ninh Bình — styles.css (v1, 31/08/2026)
   Mobile-first · system fonts · không request ngoài
   ============================================================ */

/* Palette hợp nhất theo MASTER_PROMPT_BOSUNG_4 §7 (đồng bộ 31/08/2026):
   trắng ngà #FAF8F3 · nâu chữ #3C2B24 · đỏ trầm #A52A1A · nâu cam #9A5A2A ·
   vàng đậm #C9972B · xanh nhấn nhẹ #5F7A4A */
:root {
  --bg: #FAF8F3;
  --bg-soft: #F4EEE2;
  --brand-red: #670512; /* đỏ đô đo từ logo — màu chữ thương hiệu (lệnh 01/09) */
  /* 01/09/2026 — người quản lý yêu cầu đẩy chữ đậm hơn mấy tông, tương phản lớn hơn.
     Giá trị cũ giữ trong ngoặc để biết đã đi từ đâu; đừng lùi lại nếu không có lệnh mới. */
  --ink: #241812;        /* cũ #3C2B24 — chữ thân, tương phản ~15:1 trên nền #FAF8F3 */
  --ink-soft: #4A3B33;   /* cũ #6b5a4e — chữ phụ, nay vẫn đạt ~9:1 */
  --brown: #43302A;      /* cũ #5d4037 */
  --brown-cam: #8A4D22;  /* cũ #9A5A2A — đậm hơn cho nhãn/nhấn */
  --brown-light: #6B554C;/* cũ #8d6e63 — phụ đề dưới tên thương hiệu */
  --terra: #A52A1A;
  --terra-dark: #8C2115;
  --gold: #C9972B;
  --green: #5F7A4A;
  --card: #ffffff;
  --line: #EDE6D8;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(60, 43, 36, .08);
  --wrap: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

/* ============================================================
   SLOGAN "Tinh hoa ẩm thực Ninh Bình" (BOSUNG_5 — 01/09/2026)
   Font script Dancing Script, OFL, self-host (web/fonts/) —
   ngoại lệ thứ 3 bên cạnh 2 font chính, CHỈ dùng cho slogan.
   ============================================================ */
@font-face {
  font-family: "Dancing Script";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/dancing-script-vietnamese.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: "Dancing Script";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/dancing-script-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6,
    U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122;
}

.slogan {
  font-family: "Dancing Script", "Segoe Script", cursive;
  font-style: italic;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: .5px;
}
/* bản to trong hero trang chủ — điểm nhấn chính */
.slogan-hero { font-size: 2rem; line-height: 1.2; margin: 2px 0 10px; }
/* bản trong footer mọi trang (trên khối NAP) */
.slogan-footer {
  font-size: 1.5rem; color: #DBAF66; margin-bottom: 14px; text-align: center;
}
/* dòng phụ tiếng Anh của slogan (trang EN) */
.slogan-en-sub {
  font-size: .82rem; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--brown-light); margin: -4px 0 12px;
}
.site-footer .slogan-en-sub { color: #b3a291; text-align: center; margin: -8px 0 14px; }

/* Tên thương hiệu "Nhà hàng Thăng Long" — luôn đỏ đô logo (lệnh 01/09) */
.brand-name { color: var(--brand-red); font-weight: 700; }
/* nền tối (dải CTA nâu, footer nâu sẫm): đỏ đô không đủ tương phản → kế thừa màu chữ sáng */
.cta-band .brand-name, .site-footer .brand-name, .sticky-bar .brand-name { color: inherit; }

/* Dòng dịch vụ nổi bật "Phục vụ khách ăn trưa và ăn tối" (lệnh 01/09) */
.hero-service {
  font-family: Cambria, "Times New Roman", Georgia, serif;
  font-weight: 700; color: var(--brand-red);
  font-size: 1.02rem; letter-spacing: .3px; margin-bottom: 12px;
}

/* ============================================================
   NỀN VÂN MÂY — MỘT NỀN DUY NHẤT CHO TOÀN SITE
   ⭐ Người quản lý chốt 01/09/2026 (kèm ảnh tham chiếu vân mây sơn son thếp vàng trên cột đình):
      "Ảnh nền nên để họa tiết kiểu mây chứ ảnh kia nó làm lem nhem khó đọc chữ lắm.
       Như ảnh bố gửi nhưng nền vẫn trắng."
   ⛔ ĐÍNH CHÍNH luật ảnh 3 lớp (MASTER_PROMPT_BOSUNG_5): LỚP 3 KHÔNG còn là tranh cover địa danh.
      Tranh màu nước địa danh (nen-<slug>.jpg) chuyển sang chỉ dùng làm ảnh bìa/minh họa.
      Lý do bị loại khỏi vai trò nền: tranh phong cảnh nhiều chi tiết ⇒ chữ đè lên lem nhem;
      hạ đục cho dễ đọc thì tranh thành mảng xám loang lổ, xấu.
   ⛔ Cũng đã thử và loại: dùng chính tranh dân gian làm nền — rải lưới thì lộ mép ô như xếp gạch,
      đặt một bức lớn thì che chữ (tranh dân gian là ảnh CÓ KHUNG, không phải hoa văn liền mạch).
   Nền hiện dùng: vân mây xoắn ốc kiểu chạm khắc đình chùa, nét mảnh cam đất – vàng gold,
   rải thưa đều trên nền trắng ngà, PHẲNG tuyệt đối (không vùng tối, không điểm nhấn)
   ⇒ chữ nổi rõ ở mọi vị trí trên trang.
   Vẽ bằng gpt-image-2 (tools/ve_nen_may.ps1); gốc: media/AI-GENERATED/gpt/nen-van-may.png
   ============================================================ */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  /* 01/09/2026 (chiều) — người quản lý gửi ảnh tham chiếu MỚI: mây TRẮNG nổi trên nền giấy kem
     (mẫu giấy dán tường có watermark © Paul Montgomery, kèm 2 con chim).
     ⇒ Vẽ lại bản riêng theo hướng đó bằng tools/ve_nen_may_trang.ps1, BỎ CON CHIM theo lệnh.
     Dùng COVER thay vì REPEAT: khối này đã position:fixed phủ toàn màn hình nên không cần lát gạch
     — nhờ vậy KHÔNG lộ mép nối như nền cũ. */
  background: url(/media/bg/nen-may-trang.jpg) no-repeat center center;
  background-size: cover;
  /* Nét mây bản gốc khá rõ ⇒ phải hạ mạnh mới đúng mức "chìm sau chữ".
     01/09/2026 người quản lý phản hồi: mức .30 VẪN tranh chấp với chữ, khó đọc.
     Hạ .12 chụp lại thấy mây vẫn hiện rõ ở lề ⇒ .06 (mờ đi 80% so với .30).
     Người quản lý xem xong yêu cầu giảm tiếp một nửa ⇒ .03 (mờ đi 90% so với .30).
     ⚠️ Mốc .03 là dành cho NỀN CŨ (nét cam/vàng, tương phản cao). Nền mây trắng trên giấy kem
     vốn đã rất nhạt ⇒ để .03 thì gần như mất hẳn, phí ảnh.
     Bản v3 (mây to nhỏ khác nhau) nét rõ hơn v2 ⇒ hạ từ .45 xuống .35.
     ⛔ Nghiệm thu phải bằng ẢNH CHỤP trang nhiều chữ, không bằng đọc code. */
  opacity: .35;
  pointer-events: none;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  padding-bottom: 64px; /* chừa chỗ thanh cố định mobile */
}

img { max-width: 100%; height: auto; display: block; }

/* BOSUNG_4 §6: đúng 2 font family — serif nhẹ cho heading/tên thương hiệu, sans cho nội dung */
h1, h2, h3, .brand {
  font-family: Cambria, "Times New Roman", Georgia, serif;
}

a { color: var(--terra-dark); }
a:hover { color: var(--terra); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--terra);
  outline-offset: 2px;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 18px; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--brown); color: #fff; padding: 8px 16px; z-index: 100;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding-top: 10px; padding-bottom: 10px;
}
.brand {
  text-decoration: none; color: var(--brand-red); line-height: 1.25;
  display: flex; align-items: center; gap: 10px; min-width: 0;
}
.brand strong { color: var(--brand-red); }
.brand-logo { width: 40px; height: 40px; flex: 0 0 auto; }
/* dải 768–959px: nav đầy đủ nhưng hẹp — thu logo nhẹ cho chữ thương hiệu đỡ vụn dòng */
@media (min-width: 768px) and (max-width: 959px) {
  .brand-logo { width: 32px; height: 32px; }
  .brand { gap: 8px; }
}
.brand strong { font-size: 1.15rem; letter-spacing: .2px; }
.brand-text { white-space: nowrap; }
/* 01/09: nav 8 mục ở 1400px làm brand đè menu — thu chữ + cho co lại, vẫn không xuống dòng */
@media (min-width: 960px) and (max-width: 1200px) {
  .brand strong { font-size: 1rem; }
  .brand .brand-sub { font-size: .64rem; letter-spacing: .5px; }
  .brand-logo { width: 34px; height: 34px; }
  .site-nav a { padding: 8px 7px; font-size: .88rem; }
} /* BOSUNG feedback 01/09: "Thăng Long" không được xuống hàng */
.brand .brand-sub {
  display: block; font-size: .72rem; color: var(--brown-light);
  text-transform: uppercase; letter-spacing: .8px; white-space: nowrap;
}
.nav-toggle {
  border: 1px solid var(--brown-light); background: transparent;
  color: var(--brown); font: inherit; font-size: .95rem;
  padding: 7px 14px; border-radius: 8px; cursor: pointer;
}
.site-nav {
  display: none;
  position: absolute; top: 100%; left: 0; right: 0;
  background: #ffffff; border-bottom: 2px solid var(--line);
  padding: 10px 18px 18px;
}
body.nav-open .site-nav { display: block; }
.site-nav a {
  display: block; padding: 10px 4px; text-decoration: none;
  color: var(--brown); font-weight: 600; border-bottom: 1px solid var(--line);
}
.site-nav a:last-child { border-bottom: 0; }
.site-nav a.btn-cta { margin-top: 10px; border-bottom: 0; }
.site-nav a.nav-active { color: var(--terra); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  border-radius: var(--radius); padding: 13px 24px; text-align: center;
  line-height: 1.3;
}
.btn-cta { background: var(--terra); color: #fff !important; }
.btn-cta:hover { background: var(--terra-dark); }
.btn-ghost {
  background: transparent; color: var(--brown) !important;
  border: 2px solid var(--brown-light);
}
.btn-ghost:hover { background: var(--bg-soft); }
.btn-big { font-size: 1.1rem; padding: 15px 28px; }

/* ---------- Hero ---------- */
.hero { padding: 34px 0 26px; }
.hero h1 {
  font-size: 1.7rem; line-height: 1.3; color: var(--terra);
  margin-bottom: 12px;
}
.hero .lead { font-size: 1.05rem; color: var(--ink-soft); margin-bottom: 18px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 18px 0 8px; }
.hero-note { font-size: .88rem; color: var(--ink-soft); }
.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.badge {
  font-size: .82rem; font-weight: 600; color: var(--brown);
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 999px; padding: 5px 13px;
}

/* ---------- Sections & cards ---------- */
main { display: block; }
.section { padding: 30px 0; }
.section-alt { background: var(--bg-soft); }
h2 { font-size: 1.35rem; color: var(--brown-cam); margin-bottom: 14px; line-height: 1.35; }
h3 { font-size: 1.08rem; color: var(--ink); margin: 20px 0 8px; }
.section p, .section li { margin-bottom: 12px; }
.section ul, .section ol { padding-left: 22px; }
.section li { margin-bottom: 8px; }

.card-grid { display: grid; gap: 18px; grid-template-columns: 1fr; margin-top: 8px; }
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.card-body { padding: 16px 18px 18px; }
.card h3 { margin-top: 0; }
.card p { font-size: .95rem; color: var(--ink-soft); margin-bottom: 10px; }
.card a.more { font-weight: 700; text-decoration: none; }

/* ---------- Ảnh placeholder (chống CLS: luôn khai aspect-ratio) ----------
   BOSUNG_4 §5: bỏ gradient — nền phẳng nhẹ, chữ thuần, không icon */
.ph {
  aspect-ratio: 4 / 3; width: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; text-align: center;
  background: #EFE8DA;
  color: #5F4E42;
  border-radius: var(--radius);
}
.ph-wide { aspect-ratio: 16 / 7; }
.ph .ph-label { font-size: .82rem; letter-spacing: .4px; padding: 0 12px; }
.ph-green { background: #E9EDE0; }
.ph-terra { background: #F3E5DE; }
.card .ph { border-radius: 0; }

/* ---------- Tranh dân gian & chạm khắc rồng — ảnh bìa chuyên mục ----------
   Khung chuẩn 16:9 (1600x900). Ảnh nguồn đã được fit sẵn về đúng khung bằng
   tools/fit_folk_banner.ps1 (cắt neo cho ảnh chụp, ghép nền giấy điệp cho tranh),
   nên ở đây chỉ cần khóa aspect-ratio để không nhảy layout khi ảnh đang tải.
   Nguồn + license từng bức: media/metadata.json                                  */
.folk-banner { margin: 24px auto 10px; max-width: 760px; }
.folk-banner img {
  display: block; width: 100%; height: auto;
  aspect-ratio: 16 / 9; object-fit: cover;
  border-radius: var(--radius); border: 1px solid var(--line);
  background: #FAF8F3;
}
.folk-banner figcaption {
  font-size: .82rem; font-style: italic; line-height: 1.5;
  color: var(--ink-soft); text-align: center; margin-top: 8px;
}
@media (max-width: 640px) {
  .folk-banner { margin: 18px auto 8px; }
  .folk-banner figcaption { font-size: .78rem; }
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  font-size: .85rem; color: var(--ink-soft); padding: 14px 0 0;
}
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; }
.breadcrumb li + li::before { content: "›"; margin: 0 6px; color: var(--brown-light); }
.breadcrumb a { color: var(--brown-light); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ---------- FAQ ---------- */
.faq details {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); margin-bottom: 10px; padding: 0 16px;
}
.faq summary {
  cursor: pointer; font-weight: 700; color: var(--brown);
  padding: 13px 0; list-style-position: inside;
}
.faq details > p { padding: 0 2px 14px; color: var(--ink-soft); }

/* ---------- Bảng (BOSUNG_4 §12: sạch, ít đường kẻ) ---------- */
.table-scroll { overflow-x: auto; }
table {
  border-collapse: collapse; width: 100%; background: var(--card);
  font-size: .95rem; border: 1px solid var(--line);
}
th, td {
  border: 0; border-bottom: 1px solid var(--line);
  padding: 10px 12px; text-align: left; vertical-align: top;
}
th {
  background: var(--card); color: var(--brown-cam);
  border-bottom: 2px solid var(--gold);
}
tr:last-child td { border-bottom: 0; }

/* ---------- Menu (thực đơn) ---------- */
.menu-section { margin-bottom: 26px; }
.menu-item {
  display: flex; justify-content: space-between; gap: 14px;
  border-bottom: 1px dashed var(--line); padding: 10px 0;
}
.menu-item .mi-name { font-weight: 700; color: var(--brown); }
.menu-item .mi-desc { font-size: .9rem; color: var(--ink-soft); display: block; font-weight: 400; }
.menu-item .mi-price { white-space: nowrap; font-size: .85rem; color: var(--brown-light); text-align: right; }

/* ---------- Form đặt bàn ---------- */
.form-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 18px; box-shadow: var(--shadow);
}
.form-row { margin-bottom: 14px; }
.form-row label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 5px; color: var(--brown); }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; font: inherit; padding: 11px 12px;
  border: 1px solid var(--brown-light); border-radius: 8px;
  background: #fffdf9; color: var(--ink);
}
.form-row textarea { min-height: 96px; resize: vertical; }
.form-note { font-size: .88rem; color: var(--ink-soft); margin-top: 10px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--brown); color: #f6ede2; text-align: center;
  padding: 34px 0;
}
.cta-band h2 { color: #fff; }
.cta-band p { margin-bottom: 16px; }
.cta-band a.tel-big {
  color: #ffd9b0; font-size: 1.35rem; font-weight: 800; text-decoration: none;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #33261f; color: #d9cbbc; font-size: .92rem;
  padding: 34px 0 20px; margin-top: 10px;
}
.site-footer h2 { color: #f2e5d5; font-size: 1rem; margin-bottom: 10px; }
.footer-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
.site-footer a { color: #eeb98f; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.footer-bottom {
  border-top: 1px solid #4a3a30; margin-top: 24px; padding-top: 14px;
  font-size: .85rem; color: #b3a291;
}

/* ---------- Thanh cố định đáy mobile ---------- */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fffdf9; border-top: 2px solid var(--line);
  box-shadow: 0 -2px 8px rgba(61, 47, 39, .12);
}
.sticky-bar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1px; padding: 8px 2px 9px; text-decoration: none;
  font-size: .78rem; font-weight: 700; color: var(--brown);
  border-left: 1px solid var(--line);
}
.sticky-bar a:first-child { border-left: 0; }
.sticky-bar .sb-cta { background: var(--terra); color: #fff; }

/* ---------- Map iframe ---------- */
.map-embed { border: 0; width: 100%; height: 360px; border-radius: var(--radius); }

/* ---------- Trang 404 ---------- */
.page-404 { text-align: center; padding: 60px 0; }
.page-404 h1 { font-size: 2rem; color: var(--brown); margin-bottom: 12px; }

/* ============================================================
   ≥ 768px — tablet & desktop
   ============================================================ */
@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .sticky-bar { display: none; }
  .nav-toggle { display: none; }
  .site-nav {
    display: flex; position: static; background: transparent;
    border: 0; padding: 0; align-items: center; gap: 4px;
  }
  .site-nav a {
    display: inline-block; border-bottom: 0; padding: 8px 9px;
    font-size: .92rem; white-space: nowrap; /* mục menu không xuống dòng */
  }
  .site-nav a.btn-cta { margin: 0 0 0 6px; padding: 9px 18px; }
  .hero { padding: 52px 0 40px; }
  .hero h1 { font-size: 2.3rem; }
  .hero .lead { font-size: 1.15rem; max-width: 46em; }
  .section { padding: 44px 0; }
  h2 { font-size: 1.6rem; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid-3 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .two-col { display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: start; }
  .map-embed { height: 420px; }
}

@media (min-width: 1024px) {
  .card-grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Bảng giá thực đơn thật (menu.json 31/08/2026) ---------- */
.menu-updated {
  display: inline-block; font-size: .82rem; font-weight: 700; color: var(--green);
  background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 999px; padding: 4px 12px; margin-bottom: 10px;
}
.menu-note { font-size: .88rem; color: var(--ink-soft); }
.mi-flag { font-style: italic; font-weight: 400; font-size: .85rem; color: var(--green); }
/* "khách gọi nhiều": tag chữ thay dấu sao (BOSUNG_4 §4 — không icon) */
.mi-star { font-style: italic; font-weight: 400; font-size: .85rem; color: var(--brown-cam); }
.menu-item .mi-price { color: var(--terra); font-weight: 700; font-size: .95rem; }
/* Món chưa có giá niêm yết: in "liên hệ" tông nhạt, KHÔNG in số bịa (fail-closed, xem gen_menu.js) */
.mi-noprice { color: var(--ink-soft); font-weight: 400; font-style: italic; font-size: .9rem; }

/* ============================================================
   ẢNH THẬT CỦA QUÁN + ẢNH MÓN (01/09/2026)
   Bộ ảnh do người quản lý chụp tại quán rồi xử lý thành tranh màu nước.
   ⭐ figcaption LUÔN ghi "tranh vẽ lại từ ảnh chụp tại quán" — người quản lý duyệt 01/09.
   Lý do: ảnh không gian là bằng chứng về sức chứa; để khách hiểu nhầm là ảnh chụp
   thì thành "ảnh giả về không gian" mà MASTER_PROMPT.md §3 cấm.
   ============================================================ */
.anh-quan, .anh-mon { margin: 0 0 14px; }
.anh-quan img, .anh-mon img {
  width: 100%; height: auto; display: block;
  border-radius: 10px; border: 1px solid var(--line);
}
.anh-quan figcaption, .anh-mon figcaption {
  font-size: .85rem; color: var(--ink-soft);
  padding: 7px 2px 0; line-height: 1.45;
}
.anh-ghichu { font-size: .82rem; color: var(--ink-soft); font-style: italic; margin: -4px 0 16px; }

/* lưới 2 ảnh và 3 ảnh — xếp dọc trên điện thoại */
.anh-doi, .anh-ba { display: grid; gap: 14px; margin: 14px 0; }
.anh-doi { grid-template-columns: 1fr 1fr; }
.anh-ba  { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) {
  .anh-doi, .anh-ba { grid-template-columns: 1fr; }
}

/* Ảnh khổ DỌC dùng làm ảnh lớn đầu trang: giới hạn chiều cao rồi cắt khung,
   kẻo một tấm ảnh chiếm trọn màn hình đầu, đẩy hết nội dung xuống dưới. */
.anh-quan.anh-hero img { max-height: 440px; object-fit: cover; object-position: center 32%; }

/* ảnh trong thẻ card ở trang chủ — cắt khung đều nhau cho hàng 4 món thẳng lối */
.card-anh {
  width: 100%; height: 190px; object-fit: cover; display: block;
  border-radius: 10px 10px 0 0;
}
a.badge { text-decoration: none; }
a.badge:hover { background: var(--line); }

/* ---------- Set menu khách đoàn (accordion 2 cột) ---------- */
.set-tier summary .set-total { font-weight: 400; font-size: .88rem; color: var(--ink-soft); }
.set-cols { display: grid; gap: 6px 20px; grid-template-columns: 1fr; padding-bottom: 14px; }
.set-col-title { font-weight: 700; color: var(--brown); margin: 6px 0 4px; }
.set-cols ul { list-style: disc; padding-left: 20px; margin: 0; font-size: .93rem; color: var(--ink-soft); }
.set-cols li { margin-bottom: 4px; }
@media (min-width: 768px) {
  .set-cols { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   HUB DU LỊCH — chuẩn thiết kế MASTER_PROMPT_BOSUNG_4 (31/08/2026)
   Trang mới dùng body.dl: nền trắng ngà sáng, KHÔNG icon,
   serif nhẹ cho heading, màu nóng chỉ ở heading/line/CTA.
   (Token mới, không đụng trang cũ — đợt đồng bộ toàn site làm sau.)
   ============================================================ */
:root {
  --dl-bg: #FAF8F3;
  --dl-ink: #241812;   /* cũ #3C2B24 — đồng bộ với --ink sau lệnh tăng tương phản 01/09 */
  --dl-red: #A52A1A;
  --dl-brown: #9A5A2A;
  --dl-gold: #C9972B;
  --dl-green: #5F7A4A;
  --dl-line: #EDE6D8;
}
body.dl { background: var(--dl-bg); color: var(--dl-ink); }
body.dl .site-header { background: #ffffff; border-bottom: 1px solid var(--dl-line); }
body.dl h1, body.dl h2, body.dl h3, body.dl .brand {
  font-family: Cambria, "Times New Roman", Georgia, serif;
}
body.dl h1 { color: var(--dl-red); }
body.dl h2 { color: var(--dl-brown); }
body.dl h3 { color: var(--dl-ink); }
body.dl .btn-cta { background: var(--dl-red); }
body.dl .btn-cta:hover { background: #8C2115; }
body.dl .site-nav a.nav-active { color: var(--dl-red); }
body.dl .section-alt { background: #ffffff; }

.dl-head { padding: 26px 0 4px; }
.dl-head h1 { font-size: 1.75rem; line-height: 1.3; margin-bottom: 8px; }
.dl-meta { font-size: .85rem; color: #7d6c5f; }
.dl-prose h2 {
  margin-top: 34px; padding-bottom: 6px;
  border-bottom: 1px solid var(--dl-line);
}
.dl-prose h2:first-child { margin-top: 0; }
.dl-note { font-size: .85rem; color: #7d6c5f; }
.dl-hublink { margin-top: 26px; font-size: .95rem; }

/* hero ảnh địa điểm: ảnh là nhân vật chính, placeholder chữ khi chưa có ảnh */
.dl-hero-media {
  position: relative; width: 100%; aspect-ratio: 16 / 9;
  background: #EFE8DA; border-radius: 10px; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  margin: 18px 0 6px;
}
.dl-hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
}
.dl-hero-media .dl-ph-label {
  font-size: .9rem; color: #5F4E42; letter-spacing: .4px;
}
.dl-credit {
  position: absolute; right: 8px; bottom: 6px; z-index: 2;
  font-size: .72rem; color: #ffffff; background: rgba(60, 43, 36, .55);
  padding: 2px 8px; border-radius: 6px;
}

/* bảng sạch, ít đường kẻ (BOSUNG_4 §12) */
body.dl .dl-table { background: #ffffff; border: 1px solid var(--dl-line); }
body.dl .dl-table th {
  background: #ffffff; color: var(--dl-brown);
  border: 0; border-bottom: 2px solid var(--dl-gold);
  font-family: Cambria, "Times New Roman", Georgia, serif;
}
body.dl .dl-table td { border: 0; border-bottom: 1px solid var(--dl-line); }
body.dl .dl-table tr:last-child td { border-bottom: 0; }
body.dl .dl-table tr.dl-pending td { color: #7d6c5f; }
.dl-price-pending { color: var(--dl-brown); }

/* card địa điểm trên hub */
body.dl .dl-card { border: 1px solid var(--dl-line); box-shadow: 0 1px 2px rgba(60, 43, 36, .06); }
body.dl .dl-card h3 { margin: 0 0 6px; }
body.dl .dl-card h3 a { color: var(--dl-red); text-decoration: none; }
body.dl .dl-card h3 a:hover { text-decoration: underline; }
.dl-cardmeta { font-size: .85rem; color: var(--dl-green); }

/* khối "Ăn gì sau khi đi X" — VALUE FIRST, đặt cuối trang */
.dl-eat { background: #ffffff; border-top: 1px solid var(--dl-line); }
.dl-cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; }

/* ô tìm kiếm trang giá vé */
.dl-search {
  width: 100%; max-width: 420px; font: inherit;
  padding: 11px 14px; border: 1px solid var(--dl-line);
  border-radius: 8px; background: #ffffff; color: var(--dl-ink);
}
.dl-search:focus { outline: 2px solid var(--dl-gold); outline-offset: 1px; }

@media (min-width: 768px) {
  .dl-head { padding: 40px 0 8px; }
  .dl-head h1 { font-size: 2.2rem; }
}

/* ============================================================
   TRANG PHÁP LÝ (01/09/2026) — chính sách bảo mật · điều khoản
   sử dụng · chính sách đặt bàn. Giữ đúng BOSUNG_4: không icon,
   không trang trí thừa, chỉ chữ dễ đọc và nhiều khoảng thở.
   ============================================================ */
.muted { color: var(--ink-soft); font-size: .92rem; margin-bottom: 22px; }
.note {
  background: var(--bg-soft); border-left: 3px solid var(--gold);
  padding: 10px 14px; margin: 14px 0; font-size: .95rem;
}
.cta-inline { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
/* dòng liên kết pháp lý ở chân trang mọi trang */
.footer-policy {
  text-align: center; margin-top: 18px; padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.15); font-size: .92rem;
}
/* khối thông tin đăng ký kinh doanh trong footer (hiện khi đã có dữ liệu thật) */
.footer-legal {
  margin-top: 18px; padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.15);
  font-size: .82rem; line-height: 1.7; text-align: center;
  opacity: .85;
}
/* dòng đồng ý xử lý dữ liệu cá nhân dưới form đặt bàn */
.form-consent { font-size: .9rem; color: var(--ink-soft); margin-top: 14px; line-height: 1.6; }

/* ============================================================
   MENU V2 (MASTER_PROMPT_BOSUNG_8 + 3 mẫu tham chiếu 01/09 tối:
   Tiệm Cơm Nồi Điện · Phụng Thành · Jinseki)
   Bố cục TẠP CHÍ MENU: dải ảnh món tiêu biểu + danh sách có MÃ MÓN,
   tên nối sang giá bằng DÒNG CHẤM như menu in cao cấp.
   Kem + đỏ đô (logo) + vàng đồng nhẹ. Không icon, ít viền, thoáng.
   ============================================================ */

.menu-mo-dau { padding-top: 8px; }
.menu-mo-dau h1 { margin-bottom: 10px; }
.menu-dan { max-width: 62ch; margin-bottom: 18px; }

/* --- Thanh danh mục dính, cuộn ngang --- */
.menu-nav {
  position: sticky; top: 62px; z-index: 40;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(140%) blur(6px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 22px 0 8px;
}
.menu-nav-cuon {
  max-width: var(--wrap); margin: 0 auto; padding: 0 18px;
  display: flex; gap: 6px; overflow-x: auto;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.menu-nav-cuon::-webkit-scrollbar { display: none; }
.menu-nav a {
  flex: 0 0 auto; padding: 12px 13px; font-size: .93rem;
  color: var(--ink-soft); text-decoration: none;
  border-bottom: 2px solid transparent; white-space: nowrap;
}
.menu-nav a:hover { color: var(--terra-dark); }
.menu-nav a.dang-xem { color: var(--terra-dark); border-bottom-color: var(--terra); font-weight: 600; }
.menu-nav-doan { color: var(--brand-red) !important; font-weight: 700; }

/* --- Khối nhóm --- */
.menu-nhom { padding-top: 34px; scroll-margin-top: 118px; }
.nhom-dau {
  display: flex; align-items: baseline; gap: 12px;
  border-bottom: 2px solid var(--brand-red);
  padding-bottom: 8px; margin-bottom: 18px;
}
.nhom-ten { font-size: 1.45rem; color: var(--brand-red); }
.nhom-en {
  font-size: .78rem; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
}

/* Thân nhóm: ảnh bên trái + danh sách bên phải (máy tính); dọc trên điện thoại */
.nhom-than { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 900px) {
  .nhom-than { grid-template-columns: minmax(280px, 380px) 1fr; gap: 34px; align-items: start; }
  .menu-nhom-chu .nhom-than { grid-template-columns: 1fr; }
}

/* --- Dải ảnh món tiêu biểu --- */
.nhom-anh { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (min-width: 900px) {
  .nhom-anh { grid-template-columns: 1fr; position: sticky; top: 124px; }
}
.nhom-anh-mot { grid-template-columns: 1fr; }
.nhom-anh-o { margin: 0; }
.nhom-anh-o img {
  width: 100%; aspect-ratio: 5 / 4; object-fit: cover;
  border-radius: var(--radius); display: block;
}
.nhom-anh-o figcaption {
  font-size: .8rem; color: var(--ink-soft); margin-top: 4px; text-align: center;
}
.nhom-anh .anh-note {
  grid-column: 1 / -1;
  font-size: .72rem; font-style: italic; color: var(--ink-soft);
  text-align: center; margin-top: 2px;
}

/* --- Danh sách món kiểu menu in: mã · tên ..... giá --- */
.mon-ds { list-style: none; margin: 0; padding: 0; }
.mon-dong { padding: 9px 0; }
.mon-dong + .mon-dong { border-top: 1px dashed rgba(60,43,36,.12); }
.mon-hang { display: flex; align-items: baseline; gap: 9px; }
.mon-ma {
  flex: 0 0 auto; font-size: .74rem; font-weight: 700; letter-spacing: .5px;
  color: var(--gold); min-width: 32px;
}
.mon-ten {
  flex: 0 1 auto;
  font-family: Cambria, "Times New Roman", Georgia, serif;
  font-weight: 700; font-size: 1.02rem;
}
/* dòng chấm nối tên -> giá (leader dots) */
.mon-cham {
  flex: 1 1 24px; min-width: 24px;
  border-bottom: 2px dotted rgba(60,43,36,.28);
  transform: translateY(-4px);
}
.mon-gia { flex: 0 0 auto; font-weight: 700; color: var(--brand-red); white-space: nowrap; }
.mon-mota {
  font-size: .87rem; color: var(--ink-soft); line-height: 1.55;
  margin: 3px 0 0 41px; max-width: 58ch;
}
.mon-tag {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: .68rem; font-weight: 600; letter-spacing: .3px;
  color: var(--ink-soft); background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 1px 8px; vertical-align: 2px; white-space: nowrap;
}
.mon-tag-ds { color: var(--brand-red); border-color: rgba(103,5,18,.25); background: rgba(103,5,18,.05); }

.menu-cuoi { margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); }
.menu-cuoi h2 { margin-bottom: 10px; }
.menu-cuoi p { max-width: 66ch; }

@media (max-width: 480px) {
  .menu-nav { top: 58px; }
  .menu-nhom { scroll-margin-top: 108px; }
  .mon-mota { margin-left: 0; }
  .mon-ma { min-width: 28px; }
}

/* ============================================================
   MENU ĐOÀN 5 SAO — kiểu Jinseki: mã SET trong ô vuông vàng đồng,
   giá to, 2 phương án A/B, danh sách món đánh số.
   ============================================================ */
.doan-mo-dau { padding-top: 8px; }
.doan-mo-dau h1 { margin-bottom: 10px; }
.doan-dan { max-width: 64ch; margin-bottom: 12px; }

/* Bộ chọn theo số khách + ngân sách */
.bo-chon {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 20px 16px; margin-top: 18px;
}
.bo-chon h2 { font-size: 1.2rem; margin-bottom: 12px; }
.chon-hang { display: flex; flex-wrap: wrap; gap: 14px; }
.chon-o { display: flex; flex-direction: column; gap: 5px; flex: 1 1 180px; }
.chon-o span { font-size: .86rem; color: var(--ink-soft); }
.chon-o input, .chon-o select {
  font: inherit; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 8px; background: #fff;
  color: var(--ink);
}
.chon-ketqua { margin-top: 14px; }
.chon-tomtat, .chon-tong { margin-bottom: 6px; }
.so-lon { color: var(--brand-red); font-size: 1.15rem; }
.chon-nhac { font-size: .9rem; color: var(--ink-soft); }
.chon-nut { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 10px; }

/* Dải giá */
.dai-khoi { padding-top: 36px; }
.dai-dau { border-bottom: 2px solid var(--brand-red); padding-bottom: 8px; margin-bottom: 16px; }
.dai-dau h2 { color: var(--brand-red); font-size: 1.4rem; }
.dai-gia { font-size: .85rem; font-weight: 400; color: var(--ink-soft); margin-left: 8px; }
.dai-mo { color: var(--ink-soft); font-size: .95rem; }
.dai-anh { margin: 0 0 18px; }
.dai-anh img { width: 100%; max-height: 340px; object-fit: cover; border-radius: var(--radius); display: block; }
.dai-anh .anh-note { font-size: .72rem; font-style: italic; color: var(--ink-soft); margin-top: 4px; }

/* Một mức giá = một khối set */
.set-muc {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 20px 16px;
  margin-bottom: 18px; scroll-margin-top: 96px;
}
.set-dau { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; margin-bottom: 12px; }
/* mã SET kiểu Jinseki B02 — ô chữ vàng đồng */
.set-ma {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: .8rem; font-weight: 800; letter-spacing: 1.5px;
  color: #fff; background: var(--gold);
  padding: 4px 12px; border-radius: 4px;
}
.set-gia { font-size: 1.5rem; color: var(--brand-red); }
.set-dv { font-size: .85rem; color: var(--ink-soft); font-weight: 400; }
.set-mam { font-size: .92rem; color: var(--ink-soft); }
.set-luoi { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 760px) { .set-luoi { grid-template-columns: 1fr 1fr; gap: 22px; } }
.set-pa { border-top: 1px dashed rgba(60,43,36,.15); padding-top: 10px; }
.set-pa-ten { font-size: 1rem; margin-bottom: 8px; }
.set-pa-dem { font-size: .76rem; font-weight: 400; color: var(--ink-soft); margin-left: 6px; }
.set-mon { margin: 0; padding-left: 22px; }
.set-mon li { padding: 2px 0; font-size: .95rem; }
.set-cta { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 10px; }

.doan-cuoi { margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); }
.doan-cuoi h2 { margin-bottom: 10px; }
.doan-buoc { padding-left: 22px; max-width: 66ch; }
.doan-buoc li { padding: 3px 0; }

/* --- Trang chi tiết món trụ cột (BOSUNG_8 §12) --- */
.mon-ct { max-width: 760px; }
.mon-ct-dau h1 { margin-bottom: 6px; }
.mon-ct-gia { font-size: 1.15rem; font-weight: 700; color: var(--brand-red); margin-bottom: 16px; }
.muted-inline { font-size: .82rem; font-weight: 400; color: var(--ink-soft); }
.mon-ct-anh { margin: 0 0 18px; }
.mon-ct-anh img { width: 100%; border-radius: var(--radius); display: block; height: auto; }
.mon-ct-mo { font-size: 1.05rem; line-height: 1.75; }
.mon-ct h2 { font-size: 1.15rem; margin: 22px 0 8px; color: var(--brand-red); }
.mon-ct-lq { padding-left: 20px; }
.mon-ct-lq li { padding: 3px 0; }
.lq-gia { color: var(--ink-soft); font-size: .88rem; }
.mon-link { color: inherit; text-decoration: none; border-bottom: 1px dotted rgba(103,5,18,.4); }
.mon-link:hover { color: var(--terra-dark); }

/* ===== THƯ VIỆN ẢNH ĐỊA DANH (người quản lý chốt 01/09: mỗi bài 3–5 ảnh) =====
   Theo BOSUNG_4: nền trắng ngà, ít đường viền, KHÔNG icon, ảnh là nhân vật chính.
   Ảnh lazy-load và cao cố định theo tỉ lệ để trang không nhảy khi tải (tránh tụt CLS). */
.dl-thu-vien {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
  margin: 18px 0 6px;
}
.dl-thu-vien .dl-anh { margin: 0; }
.dl-thu-vien .dl-anh img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  border-radius: 4px;
  background: #ece5d8;
}
/* Ảnh đầu tiên chiếm trọn hàng cho có điểm nhấn, từ ảnh thứ hai xếp lưới */
.dl-thu-vien .dl-anh:first-child { grid-column: 1 / -1; }
.dl-thu-vien .dl-anh:first-child img { aspect-ratio: 16 / 9; }
.dl-anh-credit { margin: 2px 0 18px; color: var(--ink-soft); }
@media (max-width: 560px) {
  .dl-thu-vien { grid-template-columns: 1fr; gap: 10px; }
  .dl-thu-vien .dl-anh:first-child img { aspect-ratio: 3 / 2; }
}

/* --- Cẩm nang lưu trú (BOSUNG_9) --- */
.lt-luoi { display: grid; grid-template-columns: 1fr; gap: 14px; margin-top: 14px; align-items: start; }
@media (min-width: 640px) { .lt-luoi { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (min-width: 1000px) { .lt-luoi { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.lt-card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px 16px;
}
.lt-ten { font-size: 1.05rem; margin-bottom: 6px; }
.lt-ten a { color: inherit; text-decoration: none; border-bottom: 1px dotted rgba(103,5,18,.4); }
.lt-ten a:hover { color: var(--terra-dark); }
.lt-nhan { margin-bottom: 8px; display: flex; flex-wrap: wrap; gap: 5px; }
.lt-tomtat { font-size: .9rem; color: var(--ink-soft); line-height: 1.6; margin-bottom: 8px; }
.lt-gia-ngan { font-weight: 700; color: var(--brand-red); font-size: .95rem; }
.lt-gia { font-size: 1.05rem; margin: 6px 0 2px; }
.lt-gia strong { color: var(--brand-red); }
.lt-mientru { font-size: .82rem; font-style: italic; color: var(--ink-soft); margin-bottom: 12px; }
.lt-khu { padding-top: 30px; scroll-margin-top: 96px; }
.lt-khu h2 { border-bottom: 2px solid var(--brand-red); padding-bottom: 8px; margin-bottom: 14px; color: var(--brand-red); }
.lt-camnang { font-size: .82rem; font-weight: 400; margin-left: 10px; }
.lt-khu-anh { margin: 0 0 14px; }
.lt-khu-anh img { width: 100%; max-height: 260px; object-fit: cover; border-radius: var(--radius); display: block; }
/* --- Gallery anh co so luu tru + khoi tu van am thuc (02/09) --- */
.lt-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 6px 0 4px; }
@media (min-width: 720px) { .lt-gallery { grid-template-columns: repeat(2, 1fr); } }
.lt-gallery-mot { grid-template-columns: 1fr; }
.lt-anh-o { margin: 0; }
.lt-anh-o img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); display: block; }
.lt-anh-o figcaption { font-size: .8rem; color: var(--ink-soft); margin-top: 4px; }
.lt-tuvan {
  background: var(--bg-soft); border-left: 3px solid var(--brand-red);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 20px; margin: 26px 0 14px;
}
.lt-tuvan h2 { margin: 0 0 8px !important; }
.lt-tuvan-phu { font-size: .9rem; color: var(--ink-soft); margin-top: 10px; }
/* Anh nhan dien nha hang trong khoi tu van (02/09 dem - lenh tang nhan dien) */
.lt-tuvan-anh { margin: 0 0 14px; max-width: 640px; }
.lt-tuvan-anh img { width: 100%; height: auto; border-radius: var(--radius); display: block; }
.lt-tuvan-anh .anh-ghichu { margin-top: 4px; }
.dl-eat .lt-tuvan-anh { margin-top: 6px; }