/* Theme "Nhà hàng & Cà phê" (ADR-0054 bổ sung) — kế thừa "Cơ bản": chỉ đổi lớp hiển thị, phong cách "Ấm cúng" (chủ doanh nghiệp
 * 20/11/2026). Màu / font của hồ sơ website (biến :root ghi sau file này) vẫn thắng — không dùng !important cho màu. Nền đầu trang chỉ
 * tô khi web chọn "Nền sáng" (.cb-hs-sang), để lựa chọn Nền tối / Màu thương hiệu (ADR-0055 mục 5) giữ nguyên.
 * Thực đơn: bảng trong khối văn bản (cột món | cột giá) → hàng có dấu chấm dẫn, giá chữ có chân màu nhấn. */
:root {
  --bg: #FFFCF7; --surface: #F6EDE1; --paper: #FFF8EE; --ink: #2B1D16; --muted: #76655A; --line: #EADBC8;
  --accent: #B5532C; --accent-dark: #93411F; --on-accent: #FFFFFF; --link: #9A4523;
  --band: #2B1D16; --on-band: #F7EFE4; --band-muted: #CDBBA8; --band-line: rgba(247, 239, 228, .16);
  --chip: #F6E2D3; --chip-ink: #93411F;
  --display: 'Fraunces', Georgia, 'Times New Roman', serif; --display-weight: 600;
  --r: 18px; --space: clamp(52px, 6.6vw, 100px);
  --shadow-warm: 0 1px 2px rgba(43, 29, 22, .05), 0 12px 32px -12px rgba(43, 29, 22, .18);
}
body { background: var(--bg); }
h1, h2, h3 { letter-spacing: -.012em; }
h1 { font-size: clamp(38px, 5.6vw, 68px); }
h2 { font-size: clamp(28px, 3.4vw, 42px); }
:is(h1, h2, h3) em { font-style: italic; font-weight: 500; color: var(--accent); }
.cb-eyebrow, h6 { letter-spacing: .2em; color: var(--accent); }

/* Nút: viên bo tròn, ấm; nút phụ viền mảnh */
.cb-btn, .blk-btn:not(.blk-btn--link) { border-radius: 999px; padding-inline: 26px; font-weight: 600; }
.cb-btn--primary, .blk-btn--primary { box-shadow: 0 8px 20px -10px color-mix(in srgb, var(--accent) 70%, transparent); }
.cb-btn--primary:hover, .blk-btn--primary:hover { transform: translateY(-1px); }
.cb-btn--secondary, .blk-btn--secondary { border-width: 1.5px; }
.cb-chip { border-radius: 999px; }
.cb-icon-btn, .cb-menu-btn { border-radius: 999px; }

/* Đầu trang: nền kem trong suốt nhẹ (chỉ khi web chọn Nền sáng), menu chữ vừa */
.cb-skin-nha-hang.cb-hs-sang .cb-header { background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: saturate(1.3) blur(8px); border-bottom: 1px solid var(--line); }
.cb-menu__link { font-weight: 500; }
.cb-topbar { letter-spacing: .02em; }

/* Phần nội dung: không vạch kẻ ngang, xen nền kem / be */
.blk-section { border-top: 0; }
.blk-section--surface { background: var(--surface); }

/* Tiêu đề phần: thay vạch ngang bằng hoạ tiết "— ✦ —" */
.cb-page-body > .blk-section:not(:first-child) > .blk-section__inner > .blk-heading:first-child::before,
.cb-page-body > .blk-section:not(:first-child) > .blk-section__inner > .blk-group:first-child > .blk-heading:first-child::before,
.blk-media-text__body > :is(h2, h3):first-child::before {
  content: '✦'; width: auto; height: auto; margin-bottom: 14px; background: none; color: var(--accent);
  font: 400 15px/1 var(--body, system-ui); letter-spacing: 0;
}
.cb-page-body > .blk-section:not(:first-child) > .blk-section__inner > .blk-heading.blk-center:first-child::before { content: '— ✦ —'; letter-spacing: .3em; }
.cb-page-body > .blk-section--band > .blk-section__inner > .blk-heading:first-child::before { background: none; color: var(--band-btn, var(--accent)); }

/* Khối mở đầu (dải tối đầu trang chủ): ánh đèn ấm + hình tách cà phê nét mảnh */
.cb-page-body > .blk-section--band:first-child {
  position: relative; overflow: hidden; padding-block: clamp(72px, 10vw, 150px);
  background: radial-gradient(ellipse at 85% 15%, color-mix(in srgb, var(--accent) 38%, transparent), transparent 55%),
              radial-gradient(ellipse at 10% 110%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 50%), var(--band);
}
.cb-page-body > .blk-section--band:first-child::after {
  content: ''; position: absolute; right: clamp(-40px, 2vw, 60px); bottom: -10px; width: clamp(220px, 30vw, 420px); aspect-ratio: 1; pointer-events: none; opacity: .14;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200' fill='none' stroke='%23F7EFE4' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M48 98h88v34a40 40 0 0 1-40 40h-8a40 40 0 0 1-40-40z'/%3E%3Cpath d='M136 108h10a16 16 0 0 1 0 32h-12'/%3E%3Cpath d='M38 182h120'/%3E%3Cpath d='M74 80c-8-10 8-16 0-28M94 80c-8-10 8-16 0-28M114 80c-8-10 8-16 0-28'/%3E%3C/svg%3E");
}
.cb-page-body > .blk-section--band:first-child > .blk-section__inner { position: relative; z-index: 1; }
.cb-page-body > .blk-section--band:first-child h1 { max-width: 16ch; }
.cb-page-body > .blk-section--band:first-child .blk-rich-text { font-size: clamp(17px, 1.5vw, 19px); color: var(--band-muted); max-width: 40em; }

/* Đầu trang con: nền be có hoạ tiết chấm mờ */
.cb-page-head { background: radial-gradient(color-mix(in srgb, var(--accent) 10%, transparent) 1px, transparent 1.5px) 0 0 / 18px 18px, var(--surface); }

/* Thẻ: giấy kem, bo tròn, bóng ấm; ảnh món bo theo thẻ */
.blk-cards:not(.blk-cards--stats) .blk-card, .blk-post-list .blk-card, .cb-tile {
  padding: 14px 14px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-warm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.blk-cards:not(.blk-cards--stats) .blk-card:hover, .cb-tile:hover { transform: translateY(-3px); }
.blk-card img, .cb-media img { border-radius: calc(var(--r) - 6px); }
.blk-card :is(h2, h3, h4) { font-family: var(--display); font-weight: 600; }
.blk-section--band .blk-card { background: color-mix(in srgb, var(--on-band) 6%, transparent); border-color: var(--band-line); box-shadow: none; }

/* Thực đơn = bảng trong khối văn bản: dấu chấm dẫn, giá màu nhấn */
.blk-rich-text table, .blk-html table { display: table; width: 100%; max-width: 760px; border-collapse: collapse; font-size: 16px; }
.blk-rich-text th, .blk-rich-text td, .blk-html th, .blk-html td { border: 0; border-bottom: 1px dotted color-mix(in srgb, var(--ink) 28%, transparent); padding: 14px 4px; background: none; }
.blk-rich-text th, .blk-html th { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); padding-block: 8px; }
.blk-rich-text td strong, .blk-html td strong { font: 600 18px/1.3 var(--display); color: var(--ink); }
.blk-rich-text td small, .blk-html td small { display: block; margin-top: 3px; font-size: 14px; color: var(--muted); }
.blk-rich-text :is(td, th):last-child, .blk-html :is(td, th):last-child { text-align: right; white-space: nowrap; width: 1%; padding-left: 16px; }
.blk-rich-text td:last-child, .blk-html td:last-child { font: 600 18px/1.3 var(--display); color: var(--accent-dark); }
.blk-center .blk-rich-text table, .blk-cols .blk-rich-text table { margin-inline: auto; }
/* Phần có tiêu đề căn giữa: thực đơn, đoạn văn, nút cũng căn giữa theo */
.blk-section__inner:has(> .blk-heading.blk-center:first-child) > .blk-rich-text { margin-inline: auto; max-width: 760px; }
.blk-section__inner:has(> .blk-heading.blk-center:first-child) > .blk-rich-text table { margin-inline: auto; }
.blk-section__inner:has(> .blk-heading.blk-center:first-child) > .blk-rich-text > p { text-align: center; }
.blk-section__inner:has(> .blk-heading.blk-center:first-child) > .blk-buttons { justify-content: center; }
.blk-section--band .blk-rich-text :is(td, th) { border-bottom-color: var(--band-line); }
.blk-section--band .blk-rich-text td strong { color: var(--on-band); }
.blk-section--band .blk-rich-text td:last-child { color: var(--band-btn, var(--chip)); }

/* Kêu gọi đặt bàn, câu hỏi, ảnh */
.blk-cta { border-radius: var(--r); }
.blk-faq details { border-radius: 14px; }
.blk-gallery img, .blk-image img { border-radius: var(--r); }
.blk-rich-text blockquote { border-left-color: var(--accent); }

/* Sản phẩm (dùng làm món ăn khi web bật Sản phẩm) */
.cb-product { border-radius: var(--r); }

@media (max-width: 719.98px) {
  .cb-page-body > .blk-section--band:first-child::after { opacity: .08; }
  .blk-rich-text td strong, .blk-html td strong, .blk-rich-text td:last-child, .blk-html td:last-child { font-size: 16px; }
}
