/* ── Restaurant — Shared Stylesheet ─────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400&family=Source+Sans+3:wght@300;400;600;700&display=swap');
@import url('../shared/eo/eo-base.css'); /* hiệu ứng CSS lõi dùng chung: chuyển trang, nút nhún, gạch chân link, ảnh hiện dần */
/* CSS của các module thư viện + thanh hành động: nạp SẴN ở đây (không để JS chèn <link> — chèn đúng lúc trang mới hiện làm Chrome huỷ hiệu ứng
   chuyển trang). Bật thêm module trong _components.js (loadEoFx) thì thêm 1 dòng @import tương ứng ở đây. */
@import url('../shared/eo/eo-ui.css');
@import url('../shared/eo/eo-lightbox.css');
@import url('../shared/eo/eo-video.css');
@import url('../shared/eo/eo-slide.css');
@import url('../shared/eo/eo-gallery.css');
@import url('../shared/eo/eo-booking.css');
@import url('../shared/eo-action-bar.css');

/* ── Tokens: Light ── */
:root {
  --c-bg:          #faf7f2;
  --c-surface:     #ffffff;
  --c-surface2:    #f4ede3;
  --c-text:        #1a0f05;
  --c-text2:       #5a3e28;
  --c-muted:       #9a7d63;
  --c-border:      #e8d9c8;
  --c-accent:      #c8860a;
  --c-accent2:     #8b1a1a;
  --c-gold:        #d4a444;
  --c-green:       #2d6a4f;
  --c-nav-bg:      rgba(250,247,242,.92);
  --c-nav-text:    #1a0f05;
  --c-footer-bg:   #1a0a00;
  --c-footer-text: rgba(255,255,255,.65);
  --radius:        12px;
  --shadow:        0 4px 24px rgba(60,20,0,.1);
  --shadow-lg:     0 12px 48px rgba(60,20,0,.16);
  --nav-h:         68px;
  --ff-display:    'Playfair Display', Georgia, serif;
  --ff-body:       'Source Sans 3', 'Segoe UI', sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --c-bg:       #100500;
    --c-surface:  #1e0c00;
    --c-surface2: #2a1200;
    --c-text:     #f5e6d0;
    --c-text2:    #c9a880;
    --c-muted:    #8a6a4a;
    --c-border:   #3d2000;
    --c-accent:   #e8a020;
    --c-accent2:  #d45050;
    --c-gold:     #e8c060;
    --c-green:    #3d9a6a;
    --c-nav-bg:   rgba(16,5,0,.92);
    --c-nav-text: #f5e6d0;
  }}
:root[data-theme="dark"] {
  --c-bg:       #100500;
  --c-surface:  #1e0c00;
  --c-surface2: #2a1200;
  --c-text:     #f5e6d0;
  --c-text2:    #c9a880;
  --c-muted:    #8a6a4a;
  --c-border:   #3d2000;
  --c-accent:   #e8a020;
  --c-accent2:  #d45050;
  --c-gold:     #e8c060;
  --c-green:    #3d9a6a;
  --c-nav-bg:   rgba(16,5,0,.92);
  --c-nav-text: #f5e6d0;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
/* clip (not hidden): stops reveal translateX from widening the mobile viewport without breaking position:sticky */
html, body { overflow-x: clip; }
body {
  font-family: var(--ff-body);
  background: var(--c-bg);
  color: var(--c-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--c-accent); text-decoration: none; }
@media (hover: hover) and (pointer: fine){a:hover{ text-decoration: underline; }}
h1,h2,h3,h4 { font-family: var(--ff-display); line-height: 1.2; text-wrap: balance; }

/* ── Container ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── Nav ── */
.site-nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--c-nav-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--c-border);
  height: var(--nav-h);
}
.site-nav .container {
  height: 100%; display: flex; align-items: center; gap: 24px;
}
.nav-logo-wrap { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-logo-icon { font-size: 28px; line-height: 1; }
.nav-logo-name {
  display: block; font-family: var(--ff-display);
  font-size: 22px; font-weight: 900; color: var(--c-text); letter-spacing: -.5px;
}
.nav-logo-tag {
  display: block; font-size: 10px; letter-spacing: .06em;
  text-transform: uppercase; color: var(--c-muted);
}
.nav-links { list-style: none; display: flex; gap: 4px; margin-left: auto; }
.nav-links a {
  display: block; padding: 6px 14px; border-radius: 20px;
  font-size: 14px; font-weight: 600; color: var(--c-text2);
  text-decoration: none; transition: background .18s, color .18s;
}
.nav-links a[aria-current]{
  background: var(--c-surface2); color: var(--c-accent);
}@media (hover: hover) and (pointer: fine){.nav-links a:hover{
  background: var(--c-surface2); color: var(--c-accent);
}}
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-phone-btn {
  font-size: 13px; font-weight: 600; color: var(--c-text2);
  text-decoration: none; white-space: nowrap;
}
@media (hover: hover) and (pointer: fine){.nav-phone-btn:hover{ color: var(--c-accent); text-decoration: none; }}
.nav-reserve-btn {
  background: var(--c-accent2); color: #fff; border-radius: 24px;
  padding: 8px 18px; font-size: 13px; font-weight: 700;
  text-decoration: none; white-space: nowrap; transition: opacity .18s;
}
@media (hover: hover) and (pointer: fine){.nav-reserve-btn:hover{ opacity: .86; text-decoration: none; color: #fff; }}
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--c-text); border-radius: 2px; transition: .2s;
}

/* ── Drawer ── */
.nav-drawer {
  position: fixed; inset: 0; z-index: 200; transform: translateX(100%);
  background: var(--c-bg); padding: 80px 32px 40px;
  display: flex; flex-direction: column; gap: 4px;
  transition: transform .28s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
}
.nav-drawer.open { transform: none; }
.nav-drawer a {
  display: block; padding: 12px 0;
  font-size: 20px; font-weight: 600; font-family: var(--ff-display);
  color: var(--c-text); border-bottom: 1px solid var(--c-border);
  text-decoration: none;
}
@media (hover: hover) and (pointer: fine){.nav-drawer a:hover{ color: var(--c-accent); }}
.drawer-close {
  position: absolute; top: 20px; right: 24px;
  background: none; border: none; font-size: 24px;
  cursor: pointer; color: var(--c-text); padding: 8px;
}

/* ── Sections ── */
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-dark { background: var(--c-surface2); }

.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 700; color: var(--c-accent); margin-bottom: 12px;
}
.section-label::before { content:''; display:block; width:28px; height:2px; background:var(--c-accent); }
.section-title {
  font-size: clamp(28px,4vw,46px); font-weight: 900;
  color: var(--c-text); margin-bottom: 16px;
}
.section-sub { color: var(--c-text2); font-size: 16px; max-width: 560px; }

/* ── Reveal ── */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .5s, transform .5s; }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal="left"] { transform: translateX(-30px); }
[data-reveal="left"].is-visible { transform: none; }
[data-reveal="right"] { transform: translateX(30px); }
[data-reveal="right"].is-visible { transform: none; }

/* ── Cards ── */
.card {
  background: var(--c-surface); border-radius: var(--radius);
  border: 1px solid var(--c-border); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .22s, box-shadow .22s;
}
@media (hover: hover) and (pointer: fine){.card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-lg); }}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 28px; border-radius: 28px; font-weight: 700;
  font-size: 15px; cursor: pointer; border: none; text-decoration: none;
  transition: opacity .18s, transform .18s;
}
@media (hover: hover) and (pointer: fine){.btn:hover{ opacity: .88; transform: translateY(-1px); text-decoration: none; }}
.btn-primary { background: var(--c-accent2); color: #fff; }
.btn-secondary { background: var(--c-surface2); color: var(--c-text); }
.btn-outline {
  background: transparent; color: var(--c-accent2);
  border: 2px solid var(--c-accent2);
}
.btn-gold { background: var(--c-gold); color: #fff; }

/* ── Footer ── */
.site-footer {
  background: var(--c-footer-bg);
  color: var(--c-footer-text);
  padding: 56px 0 32px;
}
.footer-top {
  display: grid; gap: 40px;
  grid-template-columns: minmax(0,2fr) repeat(4,minmax(0,1fr));
}
.footer-brand .footer-logo-name {
  font-family: var(--ff-display); font-size: 22px; font-weight: 900;
  color: #fff; margin-bottom: 10px;
}
.footer-desc { font-size: 13px; color: var(--c-footer-text); line-height: 1.6; }
.footer-col-title {
  font-size: 11px; letter-spacing: .1em; text-transform: uppercase;
  font-weight: 700; color: rgba(255,255,255,.5); margin-bottom: 14px;
}
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col a, .site-footer a {
  font-size: 13px; color: var(--c-footer-text);
  text-decoration: none; transition: color .18s;
}
@media (hover: hover) and (pointer: fine){.footer-col a:hover,.site-footer a:hover{ color: var(--c-gold); text-decoration: none; }}
.footer-col p { font-size: 13px; }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,.08); margin: 32px 0 24px; }
.footer-bottom-bar {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px; font-size: 12px; color: rgba(255,255,255,.3);
}

/* ── Back to top ── */
#res-back-top {
  position: fixed; bottom: 32px; right: 24px; z-index: 50;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--c-accent2); color: #fff;
  border: none; cursor: pointer; font-size: 18px;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
  box-shadow: 0 4px 12px rgba(0,0,0,.25);
}
#res-back-top.visible { opacity: 1; pointer-events: auto; }
@media (hover: hover) and (pointer: fine){#res-back-top:hover{ transform: translateY(-2px); }}

/* ── Toast ── */
#eo-toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--c-text); color: var(--c-bg);
  padding: 10px 20px; border-radius: 24px; font-size: 14px;
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 300;
  white-space: nowrap;
}
#eo-toast.toast-show { opacity: 1; transform: translateX(-50%) translateY(0); }
#eo-toast.toast-success { background: var(--c-green); color: #fff; }
#eo-toast.toast-error { background: #b91c1c; color: #fff; }

/* ── Hero generic ── */
.page-hero {
  background: var(--c-surface2); padding: 60px 0;
  text-align: center; border-bottom: 1px solid var(--c-border);
}
.page-hero h1 { font-size: clamp(32px,5vw,52px); }
.breadcrumb {
  display: flex; justify-content: center; gap: 6px;
  font-size: 13px; color: var(--c-muted); margin-top: 12px;
}
.breadcrumb a { color: var(--c-muted); }
@media (hover: hover) and (pointer: fine){.breadcrumb a:hover{ color: var(--c-accent); }}

/* ── Badges ── */
.badge {
  display: inline-block; padding: 2px 10px; border-radius: 20px;
  font-size: 10px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase;
}
.badge-red { background: #fecaca; color: #991b1b; }
.badge-gold { background: #fef3c7; color: #92400e; }
.badge-green { background: #d1fae5; color: #065f46; }

/* ── Form ── */
.form-group { display: flex; flex-direction: column; gap: 6px; min-width: 0; }   /* min-width:0 — ô nhập không đẩy cột lưới rộng hơn khung form ở màn 320px (11/10) */
.form-label { font-size: 13px; font-weight: 600; color: var(--c-text2); }
.form-input, .form-select, .form-textarea {
  padding: 10px 14px; border-radius: 8px;
  border: 1.5px solid var(--c-border); background: var(--c-surface);
  color: var(--c-text); font-family: var(--ff-body); font-size: 14px;
  transition: border-color .18s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--c-accent);
}
.form-textarea { resize: vertical; min-height: 100px; }

/* ── Grid helpers ── */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill,minmax(280px,1fr)); gap: 24px; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .nav-links, .nav-phone-btn { display: none; }
  .nav-hamburger { display: flex; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .grid-3 { grid-template-columns: repeat(2,1fr); }}
@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .footer-top { grid-template-columns: 1fr; }
  .grid-2, .grid-3, .grid-4, .grid-auto {
    grid-template-columns: 1fr;
  }}

/* ── Industry pages: text menu, booking, spaces, offers, sticky CTA, map (2026-09-28) ── */
.res-split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: start; }
.res-form { display: grid; gap: 14px; padding: 24px; }
.res-form .grid-2, .res-form .grid-3 { gap: 14px; }
.res-form-note { font-size: 13px; color: var(--c-text2); margin: 0; }
.res-info h3 { font-size: 17px; margin-bottom: 8px; }
.res-hours { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.res-hours li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--c-border); padding-bottom: 6px; }
.res-list { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 8px; }
.res-list li { position: relative; padding-left: 24px; color: var(--c-text2); }
.res-list li::before { content: '✓'; position: absolute; left: 0; color: var(--c-green); font-weight: 800; }

.res-menu-nav { position: sticky; top: 72px; z-index: 5; display: flex; gap: 8px; overflow-x: auto; padding: 10px 0; margin-bottom: 20px; background: var(--c-bg); }
.res-menu-nav a { flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--c-border); color: var(--c-text); font-weight: 600; text-decoration: none; background: var(--c-surface); }
@media (hover: hover) and (pointer: fine){.res-menu-nav a:hover{ border-color: var(--c-accent2); color: var(--c-accent2); }}
.res-menu-group { scroll-margin-top: 140px; margin-bottom: 36px; }
.res-menu-group h2 { font-size: 24px; color: var(--c-accent2); border-bottom: 2px solid var(--c-border); padding-bottom: 8px; margin-bottom: 8px; }
.res-menu-group ul { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 48px; }
.res-menu-group li { break-inside: avoid; display: flex; align-items: baseline; gap: 8px; padding: 12px 0; border-bottom: 1px solid var(--c-border); }
.res-dish { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; min-width: 0; }
.res-dish-name { font-weight: 700; color: var(--c-text); font-size: 16px; }
.res-dish-note { flex-basis: 100%; font-size: 13px; color: var(--c-text2); }
.res-dots { flex: 1; border-bottom: 1px dotted var(--c-muted); transform: translateY(-4px); min-width: 16px; }
.res-price { font-weight: 800; color: var(--c-accent2); white-space: nowrap; }
.res-tag { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--c-surface2); color: var(--c-text); }
.res-tag-cay { background: #fee2e2; color: #991b1b; }
.res-tag-chay { background: #dcfce7; color: #166534; }
.res-tag-star { background: #fef3c7; color: #92400e; }
.res-menu-note { text-align: center; color: var(--c-text2); font-size: 14px; }

.res-photo { position: relative; margin: 0; aspect-ratio: 16 / 9; border-radius: var(--radius, 14px); background: repeating-linear-gradient(135deg, var(--c-surface2) 0 14px, var(--c-surface) 14px 28px); border: 1px dashed var(--c-border); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--c-text2); overflow: hidden; }
.res-photo span { font-size: 40px; }
.res-photo small, .res-photo figcaption { font-size: 13px; }
.res-space { padding: 0; overflow: hidden; }
.res-space .res-photo { border-radius: 0; border: 0; }
.res-space-body { padding: 18px 20px; }
.res-space-seats { color: var(--c-accent2); font-weight: 700; margin: 4px 0; }
.res-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.res-photo-wide { grid-column: span 2; }
.res-offer h3, .res-event h3 { margin: 10px 0 6px; font-size: 19px; }
.res-event { display: flex; flex-direction: column; }
.res-event .res-list { flex: 1; }
.res-event-price { color: var(--c-accent2); font-weight: 800; font-size: 18px; }

.res-map { border-radius: var(--radius, 14px); overflow: hidden; border: 1px solid var(--c-border); background: var(--c-surface2); }
.res-map iframe { display: block; width: 100%; height: 320px; border: 0; }
.res-map-link { display: flex; align-items: center; justify-content: center; min-height: 44px; font-weight: 700; color: var(--c-accent2); background: var(--c-surface); text-decoration: none; }

.nav-drawer a { display: flex; align-items: center; min-height: 44px; }
.nav-drawer br { display: none; }
.res-sticky-cta { display: none; }
@media (max-width: 768px) {
  .res-sticky-cta { display: grid; grid-template-columns: 1fr 1fr 1.6fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 300; padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px)); background: var(--c-surface); box-shadow: 0 -6px 24px rgba(26, 15, 5, .18); }
  .res-sticky-cta a { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 12px; font-weight: 700; text-decoration: none; }
  .res-sticky-call { background: #ecfdf5; color: #065f46; }
  .res-sticky-zalo { background: #eff6ff; color: #1d4ed8; }
  .res-sticky-book { background: var(--c-accent2); color: #fff; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
  #res-back-top { bottom: calc(84px + env(safe-area-inset-bottom, 0px)) !important; }}
@media (max-width: 900px) {
  .res-split { grid-template-columns: 1fr; }
  .res-menu-group ul { columns: 1; }
  .res-gallery { grid-template-columns: repeat(2, 1fr); }}
@media (max-width: 600px) {
  .res-form .grid-2, .res-form .grid-3 { grid-template-columns: 1fr; }
  .res-photo-wide { grid-column: span 2; }}
/* home extras */
.res-hero-info { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 6px; color: rgba(255, 255, 255, .92); font-size: 15px; }
.res-hero-info a { color: #fff; font-weight: 700; }
.res-chef { align-items: center; }
.res-chef .res-photo { aspect-ratio: 4 / 3; }
.res-menu-mini { list-style: none; padding: 0; margin: 10px 0 14px; display: grid; gap: 10px; }
.res-menu-mini li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--c-border); padding-bottom: 8px; }
.res-menu-mini strong { color: var(--c-accent2); white-space: nowrap; }
.res-more { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--c-accent2); }
.res-space-mini .res-space { text-decoration: none; color: inherit; }
.res-space-mini .res-photo { aspect-ratio: 4 / 3; }
.res-event-mini { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: inherit; min-height: 44px; }
.res-event-mini span { color: var(--c-accent2); font-weight: 700; }
/* header: 7 menu items → keep labels on one line; hamburger until they fit (wrapped at 901–1100px) */
.nav-links a { white-space: nowrap; }
@media (max-width: 1179px) { .nav-links { display: none; } .nav-hamburger { display: flex; }}
/* contrast rule (PIPELINE.md): gold --c-accent is 2.6:1 on the light header → text uses --c-accent2 / --c-text2 */
.nav-links a[aria-current]{ color: var(--c-accent2); }@media (hover: hover) and (pointer: fine){.nav-links a:hover{ color: var(--c-accent2); }}
.nav-logo-tag { color: var(--c-text2); }
/* touch targets ≥ 44px */
.nav-reserve-btn { display: inline-flex; align-items: center; min-height: 44px; }
.nav-hamburger { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
.drawer-close { min-width: 44px; min-height: 44px; }
/* forms on phones: 16px text (no iOS auto-zoom) + 44px tap height; buttons ≥ 44px */
.btn { min-height: 44px; }
@media (max-width: 768px) { .form-input, .form-select, .form-textarea, form input:not([type=checkbox]):not([type=radio]):not([type=hidden]), form select, form textarea { font-size: 16px; min-height: 44px; }}

/* ── Ảnh thật trong khung (RES_COMP.photo) — ảnh phủ kín khung, giữ tỉ lệ bằng cắt (object-fit), không méo ── */
.has-photo { position: relative; overflow: hidden; background: var(--c-surface2); }
.has-photo > .eo-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.res-photo.has-photo { border-style: solid; background: var(--c-surface2); }
.res-photo.has-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 28px 14px 12px; color: #fff; font-weight: 600;
  background: linear-gradient(to top, rgba(0,0,0,.65), transparent); text-align: left; }
.dish-card-photo { width: 100%; aspect-ratio: 4 / 3; border-radius: 10px; margin-bottom: 12px; }
.product-thumb.has-photo { padding: 0; }
.blog-visual-big.has-photo { height: 300px; border-radius: 16px; }
.sidebar-emoji.has-photo { width: 72px; height: 54px; border-radius: 8px; }
.about-visual.has-photo::after { display: none; }
.menu-card-visual.has-photo, .product-visual.has-photo, .related-visual.has-photo { font-size: 0; }

/* ── Khoảng đệm chuẩn (PIPELINE.md "Khoảng đệm"): chữ cách mép thẻ/panel/bảng/form ≥ 24px desktop, ≥ 16px mobile ──
   Token duy nhất --pad-card; thẻ có ảnh trên cùng → đệm phần thân (*-body), thẻ chỉ có chữ → đệm chính thẻ. */
:root { --pad-card: 24px; }
@media (max-width: 767px) { :root { --pad-card: 16px; }}
html body .card:not(:has(> .has-photo, > .res-photo, > [class*="visual"], > [class*="thumb"])),
html body .sidebar-card, html body blockquote { padding: var(--pad-card); }
html body :is(.menu-card-body, .res-space-body, .blog-card-body, .blog-body, .product-body, .related-body) { padding: var(--pad-card); }
html body .post-body blockquote { padding: var(--pad-card); }
/* form trong cột hẹp (tablet): lưới ô nhập tự xuống hàng, không tràn khỏi thẻ */
html body .res-form :is(.grid-2, .grid-3) { grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); }
html body .res-form :is(.form-group, .form-input, select, textarea) { min-width: 0; max-width: 100%; }
/* thanh hành động dùng chung đang chạy → ẩn nút lên-đầu cũ (component có nút riêng, nằm trên thanh) */
html.eo-ab #res-back-top, html.eo-ab .res-sticky-cta { display: none !important; }
:root { --eo-ab-cta-bg: var(--c-accent); }

/* Mobile không tràn (PIPELINE "Mobile — không tràn, không che"): cột lưới được co nhỏ hơn nội dung,
   nội dung dài tự xuống dòng; bảng rộng cuộn trong khung riêng (.ps-table-wrap/.table-wrap) */
:where([class*="grid"], [class*="layout"], [class*="split"], .ps-calc) > * { min-width: 0; }
:where(input, select, textarea, img, video, iframe, table) { max-width: 100%; }
:where(h1, h2, h3, p, li, dd, td) { overflow-wrap: anywhere; }
@media (max-width: 1023.98px) { html.eo-ab .nav-reserve-btn { display: none !important; }} /* < 1024: CTA chỉ ở thanh đáy (không trùng header) */
/* 10/10/2026 — chủ báo trên điện thoại: tải lại / chuyển trang thì nút "Đặt bàn" hiện ở header rồi tắt, nút ☰ nhảy vào chỗ đó.
   Gốc: quy tắc ẩn ở trên phụ thuộc class html.eo-ab, mà class này do eo-action-bar.js gắn — file đó được chèn bằng JS nên tới SAU lần vẽ đầu.
   Sửa: < 1024px ẩn nút bằng CSS thuần ngay từ lần vẽ đầu (thanh đáy — mới hoặc thanh cũ dự phòng — luôn có nút Đặt bàn). */
@media (max-width: 1023.98px) { .nav-reserve-btn { display: none !important; } }
/* 11/10/2026 — menu ☰: nút lớn "Đặt Bàn Ngay" phải HIỆN (quy tắc ẩn .nav-reserve-btn dưới 1024px ở trên chỉ nhằm vào nút trên thanh header;
   trước giờ nó ẩn luôn cả nút trong ngăn menu nên ngăn menu chỉ còn mục "Đặt Bàn" thường). */
@media (max-width: 1023.98px) { html body .nav-drawer a.nav-reserve-btn { display: flex !important; } }
/* Mục đang xem được làm nổi cả trong menu ☰ (quy tắc menu 11/10) */
.nav-drawer a[aria-current="page"]:not(.nav-reserve-btn) { color: var(--c-accent); }
.nav-drawer a[aria-current="page"]:not(.nav-reserve-btn)::before { content: ""; width: 4px; height: 1.1em; border-radius: 2px; background: currentColor; margin-right: 10px; flex: none; }
html body .nav-drawer a.nav-reserve-btn { color: #fff; border-bottom: 0; min-height: 52px; border-radius: 999px; font-size: 17px; }
