/*
Theme Name: Cơm Nhà Nha Trang
Theme URI: https://comnhanhatrang.vn
Author: Cơm Nhà Nha Trang
Description: Giao diện riêng cho Cơm Nhà Nha Trang – quán cơm gia đình, cơm văn phòng: nâu · vàng · kem. Hỗ trợ Polylang 3 ngôn ngữ (Việt · Anh · Hàn), đặt bàn (email + Zalo), thực đơn động (plugin "Cơm Nhà – Thực đơn").
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: comnha
*/

/* Layout: desktop > 1024px · tablet 601–1024px · phone ≤ 600px */

:root {
  --brown: #5C3317;
  --brown-dark: #331B09;
  --brown-mid: #4A2810;
  --yellow: #FFE766;
  --yellow-shadow: #C9A92E;
  --cream: #FFF6E0;
  --sand: #F7EACB;
  --red: #D62828;
  --red-dark: #B01E1E;
  --red-shadow: #9E1B1B;
  --ink: #3A1F0C;
  --muted: #6B4A33;
  --cream-text: #F6E7C8;
  --beige: #E6D3B3;
  --line: #D8C3A0;
  --wrap: 1200px;
  --display: 'Baloo 2', 'Be Vietnam Pro', system-ui, sans-serif;
  --body: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--cnh-sticky-top, 0px) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: clip;
}
/* Korean: Hangul headings in Jua (Baloo 2 has no Hangul); keep Korean words whole when wrapping. */
body.lang-ko { --display: 'Baloo 2', 'Jua', 'Be Vietnam Pro', sans-serif; word-break: keep-all; overflow-wrap: break-word; }
body.lang-ko .h2, body.lang-ko .hero__title, body.lang-ko .mp-head__title, body.lang-ko .mp-cta__title, body.lang-ko .bk__title, body.lang-ko .cnm-group__title { font-synthesis: none; }
img { max-width: 100%; height: auto; }
a { color: var(--brown); }
a:hover { color: var(--red); }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
[hidden] { display: none !important; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--yellow); color: var(--brown-dark); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip:focus { left: 8px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.show-phone { display: none; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap--text { max-width: 820px; }
.sec { padding: 80px 0; }
.sec--cream { background: var(--cream); }
.sec--sand { background: var(--sand); }
.sec--brown { background: var(--brown); color: var(--cream-text); }
.sec__sub { margin: 0; color: var(--muted); font-size: 17px; }
.center { display: flex; justify-content: center; }

.eyebrow { margin: 0 0 8px; font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow--red { color: var(--red); }
.eyebrow--dark-red { color: var(--red-dark); }
.eyebrow--yellow { color: var(--yellow); }
.eyebrow--cream { color: var(--cream-text); }
.h1, .h2 { margin: 0; font-family: var(--display); font-weight: 800; line-height: 1.1; color: var(--brown); }
.h1 { font-size: clamp(36px, 5vw, 56px); line-height: 1.05; }
.h2 { font-size: 46px; }
.h2--yellow { color: var(--yellow); }

/* ---------- Buttons (46px high, 15px bold) ---------- */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 24px; border: 0; border-radius: 999px;
  font-family: var(--body); font-weight: 700; font-size: 15px; line-height: 1.2;
  text-decoration: none; text-align: center; white-space: nowrap; cursor: pointer;
  transition: filter .15s, transform .15s;
}
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: translateY(1px); }
.btn svg { flex: 0 0 auto; }
.btn--red, .btn--red:hover { background: var(--red); color: #FFFFFF; }
.btn--yellow, .btn--yellow:hover { background: var(--yellow); color: var(--brown-dark); box-shadow: 0 4px 0 var(--yellow-shadow); }
.btn--white, .btn--white:hover { background: #FFFFFF; color: var(--brown); }
.btn--brown, .btn--brown:hover { background: var(--brown); color: var(--yellow); }
.btn--line-cream, .btn--line-cream:hover { background: transparent; border: 2px solid var(--cream-text); color: var(--cream-text); }
.btn--line-cream:hover { background: rgba(255, 255, 255, .08); }
.btn--line-brown, .btn--line-brown:hover { background: transparent; border: 2px solid var(--brown); color: var(--brown); }
.btn--line-brown:hover { background: rgba(92, 51, 23, .06); }

/* ---------- Header ---------- */
.hd { background: var(--cream); border-bottom: 1px solid rgba(92, 51, 23, .14); position: relative; z-index: 50; }
.hd__in { max-width: var(--wrap); margin: 0 auto; padding: 12px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.hd__logo { display: flex; flex: 0 0 auto; }
.hd__logo img { height: 48px; width: auto; display: block; }
.hd__nav { flex: 1 1 auto; }
.hd__menu, .mnav__menu, .langs { list-style: none; margin: 0; padding: 0; }
.hd__menu { display: flex; flex-wrap: wrap; gap: 4px 22px; font-weight: 600; font-size: 15px; }
.hd__menu a { display: inline-block; padding: 8px 0; color: var(--brown); text-decoration: none; }
.hd__menu a:hover { color: var(--red); }
.hd__menu a[aria-current], .hd__menu .current-menu-item > a { color: var(--red); box-shadow: inset 0 -2px 0 var(--red); }
.langs { display: flex; gap: 2px; font-size: 13px; font-weight: 700; }
.langs a { display: block; padding: 6px 10px; border-radius: 8px; color: var(--muted); text-decoration: none; line-height: 1.55; }
.langs a:hover { color: var(--brown); background: rgba(92, 51, 23, .07); }
.langs a[aria-current] { background: var(--brown); color: var(--yellow); }
.hd__book { padding: 0 22px; }
.hd__burger { display: none; width: 46px; height: 46px; flex: 0 0 46px; padding: 0; border-radius: 12px; border: 1.5px solid rgba(92, 51, 23, .35); background: #FFFFFF; color: var(--brown); cursor: pointer; align-items: center; justify-content: center; }
.mnav { background: var(--cream); padding-bottom: 6px; }
.mnav__menu a { display: flex; align-items: center; min-height: 48px; padding: 0 32px; border-top: 1px solid rgba(92, 51, 23, .1); text-decoration: none; font-weight: 600; font-size: 16px; color: var(--brown); }
.mnav__menu a[aria-current], .mnav__menu .current-menu-item > a { color: var(--red); }
.mnav__langs { display: none; }
@media (min-width: 1025px) { .mnav { display: none !important; } }

/* ---------- Hero ---------- */
.hero { background: var(--brown); color: var(--cream-text); border-bottom: 14px solid var(--yellow); }
.hero__in { max-width: var(--wrap); margin: 0 auto; padding: 56px 24px 64px; display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.hero__text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.hero__eyebrow { margin: 0; color: var(--yellow); font-size: 14px; letter-spacing: .14em; }
.hero__title { margin: 0; font-family: var(--display); font-weight: 800; font-size: 60px; line-height: 1.05; color: var(--yellow); }
.hero__title span { color: #FFFFFF; }
.hero__lead { margin: 0; font-size: 18px; max-width: 560px; }
.hero__book { padding: 0 28px; }
.hero__dir { padding: 0 26px; }
.hero__menu { padding: 0 24px; }
.hero__status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 15px; color: var(--beige); }
.hero__hours--short { display: none; }
.open { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: #FFFFFF; font-weight: 700; }
.open__dot { width: 9px; height: 9px; flex: 0 0 9px; border-radius: 50%; background: #3DDC84; }
.open.is-closed .open__dot { background: #F0B429; }
.hero__media { flex: 1 1 380px; min-width: 0; position: relative; }
.hero__media img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 28px; display: block; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); background: var(--brown-mid); }
.hero__badge { position: absolute; left: 16px; bottom: 20px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 12px; border-radius: 999px; background: var(--red); color: #FFFFFF; font-weight: 700; font-size: 15px; box-shadow: 0 10px 24px rgba(0, 0, 0, .25); transform: rotate(-2deg); }

/* ---------- Trust strip ---------- */
.trust { background: var(--sand); border-bottom: 1px solid rgba(92, 51, 23, .1); }
.trust__in { max-width: var(--wrap); margin: 0 auto; padding: 22px 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.trust__it { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); min-width: 0; }
.trust__it b { display: block; color: var(--brown); font-size: 16px; }
.trust__ic { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px; background: var(--brown); color: var(--yellow); display: flex; align-items: center; justify-content: center; }

/* ---------- Must-try dishes ---------- */
.dishes__h { margin: 0 0 12px; }
.dishes { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; margin: 32px 0; }
.dish { background: #FFFFFF; border-radius: 18px; overflow: hidden; box-shadow: 0 8px 24px rgba(92, 51, 23, .08); display: flex; flex-direction: column; }
.dish__img { position: relative; }
.dish__img img, .dish__noimg { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: #E8DCC0; }
.dish__price { position: absolute; right: 10px; top: 10px; padding: 5px 12px; border-radius: 999px; background: var(--yellow); color: var(--brown-dark); font-weight: 800; font-size: 16px; line-height: 1.5; }
.dish__body { padding: 14px 16px 16px; }
.dish__name { margin: 0; font-size: 17px; font-weight: 700; color: var(--brown); line-height: 1.3; }
.dish__vi { display: block; margin-top: 2px; font-size: 12px; font-weight: 500; color: #8A6A50; }
.dish__desc { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.dishes__all { padding: 0 28px; }

/* ---------- TikTok ---------- */
.tt { padding: 72px 0; }
.tt__h { margin-bottom: 28px; }
.tt__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; scrollbar-width: none; }
.tt__list::-webkit-scrollbar { display: none; }
.tt__card { position: relative; display: block; border-radius: 18px; overflow: hidden; text-decoration: none; background: var(--brown-dark); aspect-ratio: 9 / 14; }
.tt__card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.tt__card:hover img { transform: scale(1.03); }
.tt__play { position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%; background: rgba(51, 27, 9, .55); display: flex; align-items: center; justify-content: center; }
.tt__tag { position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 20px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 6px 12px; border-radius: 999px; background: var(--brown); color: var(--cream); font-size: 13px; font-weight: 600; }

/* ---------- Reviews ---------- */
.rv__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; }
.rv__score { display: flex; align-items: center; gap: 16px; }
.rv__n { font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 1; color: var(--brown); }
.rv__meta { display: flex; flex-direction: column; }
.rv__stars { color: #E3A008; font-size: 20px; letter-spacing: 2px; line-height: 1.2; }
.rv__count { font-size: 13px; color: var(--muted); }
.rv__maps { padding: 0 18px; gap: 6px; }
.rv__maps svg { width: 16px; height: 16px; }
.rv__slider { position: relative; }
.rv__track {
  --per: 3;
  --gap: 18px;
  display: flex; gap: var(--gap);
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.rv__track::-webkit-scrollbar { display: none; }
@media (hover: hover) and (pointer: fine) { .rv__track { cursor: grab; } }
.rv__track.is-drag { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.rv__track.is-drag * { pointer-events: none; }
.rv__track:focus-visible { outline-offset: 4px; }
.rv__card {
  flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per));
  min-width: 0; background: #FFFFFF; border-radius: 18px; padding: 20px 40px;
  display: flex; flex-direction: column; gap: 10px; min-height: 230px;
  scroll-snap-align: none;
}
.rv__card:nth-child(3n+1) { scroll-snap-align: start; }
.rv__who { display: flex; align-items: center; gap: 10px; }
.rv__av { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 50%; background: var(--brown); color: var(--yellow); font-weight: 700; display: flex; align-items: center; justify-content: center; object-fit: cover; }
.rv__name-wrap { display: flex; flex-direction: column; min-width: 0; }
.rv__name { color: var(--ink); font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rv__date { font-size: 13px; color: var(--muted); }
.rv__card-stars { color: #B8860B; letter-spacing: 1px; }
.rv__text { margin: 0; font-size: 15px; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; word-break: break-word; }
body.lang-ko .rv__text { word-break: keep-all; }
.rv__arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 58px; height: 58px; padding: 0; border-radius: 999px; border: 7px solid var(--sand);
  background: #FFFFFF; color: var(--brown); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(92, 51, 23, .18);
}
.rv__arrow:hover { color: var(--red); }
.rv__arrow--prev { left: -29px; }
.rv__arrow--next { right: -29px; }
.rv__slider.is-single .rv__arrow { display: none; }
.rv__dots { margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.rv__dot { width: 10px; height: 10px; padding: 0; border-radius: 999px; border: 0; background: var(--line); cursor: pointer; transition: width .2s, background .2s; }
.rv__dot.is-on { width: 26px; background: var(--brown); }
@media (max-width: 1260px) and (min-width: 1025px) {
  .rv__arrow--prev { left: -18px; }
  .rv__arrow--next { right: -18px; }
}

/* ---------- Booking ---------- */
.book { display: flex; flex-wrap: wrap; align-items: stretch; gap: 48px; }
.book__intro { flex: 1 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.book__intro .eyebrow { margin: 0; }
.book__lead { margin: 12px 0 0; font-weight: 700; color: var(--cream-text); }
.book__contact { display: flex; flex-wrap: wrap; gap: 10px; }
.cbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 16px; border-radius: 12px;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 231, 102, .4);
  color: var(--cream-text); font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap;
}
.cbtn:hover { background: rgba(255, 255, 255, .14); color: #FFFFFF; }
.book__img { width: 100%; flex: 1 1 0; min-height: 220px; object-fit: cover; border-radius: 20px; display: block; margin-top: 8px; }

.bk {
  flex: 1 1 480px; min-width: 0; align-self: flex-start;
  background: var(--cream); color: var(--ink); border-radius: 24px; padding: 30px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-content: start;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .25);
}
.bk__title { grid-column: 1 / -1; margin: 0; font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1.3; color: var(--brown); }
.bk__f { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; color: var(--brown); min-width: 0; }
.bk__f--full, .bk__submit, .bk__msg, .bk__alt { grid-column: 1 / -1; }
.bk input, .bk select, .bk textarea {
  width: 100%; min-width: 0; height: 50px; padding: 0 14px;
  border: 1.5px solid var(--line); border-radius: 12px; background: #FFFFFF;
  font-size: 16px; font-family: inherit; font-weight: 400; color: var(--ink);
}
.bk textarea { height: auto; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.bk input:focus, .bk select:focus, .bk textarea:focus { border-color: var(--brown); outline: 3px solid rgba(92, 51, 23, .15); outline-offset: 0; }
/* iOS Safari gives date inputs an intrinsic width that ignores width:100% and overlaps the next column. */
.bk input[type="date"] { -webkit-appearance: none; appearance: none; display: block; max-width: 100%; text-align: left; line-height: 46px; }
.bk input[type="date"]::-webkit-date-and-time-value { text-align: left; margin: 0; }
.bk__sel { position: relative; display: block; }
.bk select { -webkit-appearance: none; appearance: none; padding-right: 44px; cursor: pointer; }
.bk__sel .chev { position: absolute; right: 18px; top: 50%; margin-top: -4px; pointer-events: none; color: var(--brown); }
.bk__submit {
  height: 46px; border: 0; border-radius: 999px; background: var(--red); color: #FFFFFF;
  font-weight: 700; font-size: 15px; font-family: inherit; cursor: pointer; box-shadow: 0 4px 0 var(--red-shadow);
}
.bk__submit:hover { filter: brightness(1.06); }
.bk__submit[disabled] { opacity: .7; cursor: wait; }
.bk__msg { margin: 0; font-weight: 600; text-align: center; }
.bk__msg:empty { display: none; }
.bk__msg.is-ok { color: #1c6b3c; background: #E2F4E9; padding: 12px; border-radius: 12px; }
.bk__msg.is-err { color: var(--red-dark); background: #FCE3E0; padding: 12px; border-radius: 12px; }
.bk__alt { margin: 0; font-size: 13px; color: var(--muted); text-align: center; }
.bk__alt a { color: var(--red-dark); font-weight: 700; }
.bk__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Office lunch ---------- */
.office-sec { padding: 64px 0; }
.office { background: var(--yellow); border-radius: 28px; padding: 40px; color: var(--brown-dark); display: flex; flex-wrap: wrap; align-items: center; gap: 40px; }
.office__text { flex: 1 1 420px; min-width: 0; }
.office .h2 { margin: 0 0 12px; }
.office__list { margin: 16px 0 24px; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.office__btns .btn--brown { padding: 0 28px; }
.office__img { flex: 1 1 380px; min-width: 0; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; display: block; }

/* ---------- Gallery ---------- */
.gal__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { height: 46px; padding: 0 18px; border-radius: 999px; font-weight: 600; font-size: 15px; font-family: inherit; cursor: pointer; background: transparent; color: var(--brown); border: 1.5px solid rgba(92, 51, 23, .4); white-space: nowrap; }
.chip:hover { border-color: var(--brown); }
.chip.is-on { background: var(--brown); color: var(--yellow); border-color: var(--brown); }
.gal__stage { position: relative; height: 560px; border-radius: 24px; overflow: hidden; background: var(--ink); display: flex; align-items: center; justify-content: center; }
.gal__main { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; }
.gal__video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.gal__poster { position: absolute; inset: 0; background: var(--ink) center / cover no-repeat; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.gal__poster svg { width: 72px; height: 72px; }
.gal__nav { position: absolute; top: 50%; margin-top: -26px; z-index: 2; width: 52px; height: 52px; padding: 0; border-radius: 999px; border: 0; background: rgba(51, 27, 9, .8); color: var(--yellow); font-size: 28px; line-height: 1; cursor: pointer; font-family: inherit; }
.gal__nav:hover { background: rgba(51, 27, 9, .95); }
.gal__nav--prev { left: 16px; }
.gal__nav--next { right: 16px; }
.gal__cap, .gal__count { position: absolute; bottom: 16px; z-index: 2; padding: 6px 12px; border-radius: 999px; background: rgba(51, 27, 9, .8); color: var(--cream); font-size: 14px; line-height: 1.55; }
.gal__cap { left: 16px; }
.gal__count { right: 16px; font-weight: 600; }
.gal__thumbs { display: flex; gap: 10px; overflow-x: auto; margin-top: 14px; padding-bottom: 4px; scrollbar-width: none; }
.gal__thumbs::-webkit-scrollbar { display: none; }
.gal__thumb { flex: 0 0 120px; position: relative; padding: 0; border-radius: 12px; overflow: hidden; background: none; cursor: pointer; border: 3px solid transparent; opacity: .6; transition: opacity .15s; }
.gal__thumb:hover { opacity: .85; }
.gal__thumb.is-on { border-color: var(--brown); opacity: 1; }
.gal__thumb img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.gal__thumb-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }

/* ---------- Footer ---------- */
.ft { background: var(--brown-dark); color: #D9C3A0; border-top: 6px solid var(--yellow); }
.ft__in { max-width: var(--wrap); margin: 0 auto; padding: 48px 24px 28px; display: flex; flex-wrap: wrap; gap: 28px 40px; font-size: 15px; }
.ft__col { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.ft__brand { flex: 1 1 200px; gap: 8px; }
.ft__brand img { width: 120px; height: auto; display: block; }
.ft__hours { flex: 0 1 170px; }
.ft__contact { flex: 0 1 auto; }
.ft__addr { white-space: nowrap; }
.ft__map-col { flex: 1 1 280px; gap: 8px; }
.ft a { color: var(--cream-text); text-decoration: none; }
.ft a:hover { color: var(--yellow); }
.ft__h { margin: 0 0 4px; color: var(--yellow); font-family: var(--body); font-size: 16px; font-weight: 700; line-height: 1.55; }
.ft .ft__maps { display: inline-flex; align-items: center; gap: 6px; color: var(--yellow); }
.ft__maps svg { width: 16px; height: 16px; }
.ft .ft__book, .ft .ft__book:hover { align-self: flex-start; margin-top: 10px; padding: 0 28px; color: var(--brown-dark); }
.ft__map { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; border: 1px solid rgba(255, 231, 102, .25); border-radius: 14px; background: var(--brown-mid); }
.ft__copy { margin: 0; padding: 16px; text-align: center; font-size: 13px; color: #B89A78; border-top: 1px solid rgba(255, 255, 255, .08); }

/* Phone contact bar (phones only) */
.pbar { display: none; }

/* ---------- Menu page ---------- */
.mp-head { background: var(--brown); color: var(--cream-text); }
.mp-head__in { max-width: var(--wrap); margin: 0 auto; padding: 48px 24px 40px; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.mp-head__text { max-width: 640px; display: flex; flex-direction: column; gap: 10px; }
.mp-head__text .eyebrow { margin: 0; }
.mp-head__title { margin: 0; font-family: var(--display); font-weight: 800; font-size: 56px; line-height: 1.05; color: var(--yellow); }
.mp-head__lead { margin: 0; color: var(--beige); font-size: 17px; }
.mp-head__btns .btn--yellow { padding: 0 26px; }
.mp-head__btns .btn--line-cream { padding: 0 22px; }
.mp-head__btns svg { width: 18px; height: 18px; }
.mp-body { background: var(--cream); }
.mp-cta { background: var(--brown); color: var(--cream-text); }
.mp-cta__in { max-width: var(--wrap); margin: 0 auto; padding: 44px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.mp-cta__title { margin: 0; font-family: var(--display); font-weight: 800; font-size: 34px; line-height: 1.1; color: var(--yellow); }
.mp-cta__lead { margin: 6px 0 0; color: var(--beige); font-size: 16px; }
.mp-cta__btns .btn--yellow { padding: 0 26px; }
.mp-cta__btns .btn--line-cream { padding: 0 22px; }

/* ---------- Pages & blog ---------- */
.page__head { padding: 48px 0 32px; }
.page__head .eyebrow { color: var(--red); }
.prose { padding-bottom: 64px; font-size: 17px; }
.prose h2, .prose h3 { font-family: var(--display); color: var(--brown); line-height: 1.25; }
.prose img { border-radius: 14px; }
.prose a { text-decoration: underline; }
.single__img { width: 100%; border-radius: 20px; margin-bottom: 24px; display: block; }
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 24px; padding-bottom: 32px; }
.post-card { background: #FFFFFF; border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 8px 24px rgba(92, 51, 23, .08); }
.post-card__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.post-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.post-card__body p { margin: 0; color: var(--muted); }
.post-card__title { margin: 0; font-size: 20px; line-height: 1.3; }
.post-card__title a { color: var(--brown); text-decoration: none; }
.post-card__title a:hover { color: var(--red); }
.muted { color: var(--muted); font-size: 14px; margin: 0; }
.link { font-weight: 700; text-decoration: none; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; padding: 8px 0 64px; font-weight: 700; }
.pager .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; border: 2px solid rgba(92, 51, 23, .3); color: var(--brown); text-decoration: none; }
.pager a.page-numbers:hover { border-color: var(--brown); }
.pager .page-numbers.current { background: var(--brown); border-color: var(--brown); color: var(--yellow); }
.pager .page-numbers.dots { border-color: transparent; min-width: 24px; padding: 0; }

/* =========================================================
   Tablet (601–1024px) – artboards 13 & 15
   ========================================================= */
@media (max-width: 1024px) {
  .hd { position: sticky; top: 0; }
  .hd__in { flex-wrap: nowrap; padding: 10px 32px; gap: 12px; }
  .hd__logo { margin-right: auto; }
  .hd__logo img { height: 46px; }
  .hd__nav { display: none; }
  .hd__book { padding: 0 18px; }
  .hd__burger { display: flex; }

  .wrap { padding: 0 32px; }
  .sec { padding: 64px 0; }
  .h2 { font-size: 40px; }

  .hero { border-bottom-width: 10px; }
  .hero__in { flex-direction: column; align-items: stretch; flex-wrap: nowrap; padding: 48px 32px 56px; gap: 32px; }
  .hero__text { flex: none; gap: 16px; }
  .hero__eyebrow { font-size: 12px; letter-spacing: .12em; }
  .hero__title { font-size: 54px; }
  .hero__lead { max-width: none; }
  .hero__dir, .hero__menu { padding: 0 22px; }
  .hero__status { font-size: 14px; gap: 8px 12px; }
  .hero__hours--long { display: none; }
  .hero__hours--short { display: inline; }
  .hero__media { flex: none; }
  .hero__media img { aspect-ratio: 16 / 10; border-radius: 22px; box-shadow: 0 16px 40px rgba(0, 0, 0, .35); }
  .hero__badge { left: 12px; bottom: 14px; gap: 6px; padding: 7px 14px 7px 10px; font-size: 14px; box-shadow: 0 8px 20px rgba(0, 0, 0, .25); }
  .hero__badge svg { width: 16px; height: 16px; }

  .trust__in { padding: 18px 32px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; }
  .trust__it { gap: 10px; font-size: 13px; }
  .trust__it b { font-size: 14px; line-height: 1.3; }
  .trust__ic { width: 38px; height: 38px; flex-basis: 38px; border-radius: 10px; }
  .trust__ic svg { width: 20px; height: 20px; }

  .dishes__h { margin-bottom: 8px; }
  .sec__sub { font-size: 15px; }
  .dishes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 24px 0; }
  .dish { border-radius: 16px; box-shadow: 0 6px 18px rgba(92, 51, 23, .08); }
  .dish__price { right: 8px; top: 8px; padding: 3px 10px; font-size: 15px; }
  .dish__body { padding: 12px 14px 14px; }
  .dish__name { font-size: 16px; }
  .dish__desc { font-size: 13px; line-height: 1.4; }

  .tt { padding: 64px 0; }
  .tt__h { margin-bottom: 20px; }
  .tt__list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  .tt__card { border-radius: 16px; }
  .tt__play { width: 46px; height: 46px; margin: -23px 0 0 -23px; }
  .tt__tag { left: 8px; bottom: 8px; max-width: calc(100% - 16px); padding: 5px 10px; font-size: 12px; }

  .rv__head { display: block; margin-bottom: 0; }
  .rv__score { flex-wrap: wrap; gap: 12px 14px; margin: 16px 0 22px; }
  .rv__n { font-size: 40px; }
  .rv__stars { font-size: 18px; }
  .rv__maps { margin-left: auto; }
  .rv__track { --per: 2; --gap: 16px; }
  .rv__card { padding: 18px; min-height: 220px; }
  .rv__card:nth-child(n) { scroll-snap-align: none; }
  .rv__card:nth-child(2n+1) { scroll-snap-align: start; }
  .rv__arrow { display: none; }
  .rv__dots { margin-top: 16px; }

  .book { flex-direction: column; flex-wrap: nowrap; gap: 20px; }
  .book__intro { flex: none; gap: 12px; }
  .book__lead { margin-top: 4px; }
  .cbtn { padding: 0 14px; }
  .book__img { display: none; }
  .bk { flex: none; align-self: stretch; border-radius: 22px; padding: 28px; gap: 14px; box-shadow: 0 16px 40px rgba(0, 0, 0, .25); }
  .bk__title { line-height: 1.2; }

  .office { flex-direction: column; flex-wrap: nowrap; align-items: stretch; border-radius: 22px; padding: 32px; gap: 20px; }
  .office__text { flex: none; }
  .office .h2 { margin: 0; }
  .office__list { margin: 14px 0 20px; font-size: 15px; }
  .office__btns { gap: 10px; }
  .office__btns .btn--brown { padding: 0 24px; }
  .office__btns .btn--line-brown { padding: 0 22px; }
  .office__img { order: -1; flex: none; aspect-ratio: 16 / 9; border-radius: 16px; }

  .gal__head { display: block; margin-bottom: 0; }
  .gal__head .h2 { margin-bottom: 16px; }
  .chips { flex-wrap: nowrap; overflow-x: auto; gap: 8px; margin-bottom: 16px; }
  .chip { flex: 0 0 auto; padding: 0 16px; }
  .gal__stage { height: 460px; border-radius: 18px; }
  .gal__nav { width: 46px; height: 46px; margin-top: -23px; font-size: 26px; }
  .gal__nav--prev { left: 10px; }
  .gal__nav--next { right: 10px; }
  .gal__cap { display: none; }
  .gal__count { right: 10px; bottom: 10px; padding: 4px 10px; font-size: 13px; }
  .gal__thumbs { gap: 8px; margin-top: 12px; }
  .gal__thumb { flex-basis: 110px; border-radius: 10px; }

  .ft__in { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; padding: 40px 32px 24px; }
  .ft__brand img { width: 110px; }
  .ft__addr { white-space: normal; }

  .mp-head__in { flex-direction: column; flex-wrap: nowrap; align-items: stretch; padding: 44px 32px; gap: 16px; }
  .mp-head__text { max-width: none; gap: 16px; }
  .mp-head__title { font-size: 52px; }
  .mp-cta__in { flex-direction: column; align-items: flex-start; padding: 36px 32px; gap: 16px; }
  .mp-cta__title { font-size: 32px; }
  .mp-cta__lead { font-size: 15px; }
}
/* Sticky header under the WordPress admin bar (logged-in owner) */
@media (max-width: 1024px) and (min-width: 783px) { .admin-bar .hd { top: 32px; } }
@media (max-width: 782px) and (min-width: 601px) { .admin-bar .hd { top: 46px; } }

/* =========================================================
   Phone (≤ 600px) – artboards 12 & 14
   ========================================================= */
@media (max-width: 600px) {
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .show-phone { display: inline; }
  .hide-phone { display: none; }

  .hd__in { padding: 10px 16px; }
  .hd__logo img { height: 40px; }
  .hd__langs { display: none; }
  .mnav__menu a { padding: 0 16px; }
  .mnav__langs { display: flex; gap: 6px; padding: 12px 16px; border-top: 1px solid rgba(92, 51, 23, .1); font-size: 14px; }
  .mnav__langs a { padding: 6px 12px; }

  .wrap { padding: 0 16px; }
  .sec { padding: 48px 0; }
  .h2 { font-size: 32px; }

  .hero__in { padding: 36px 16px 40px; gap: 24px; }
  .hero__title { font-size: 40px; }
  .hero__lead { font-size: 16px; }
  .hero__btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .hero__book, .hero__dir { padding: 0 12px; }
  .hero__dir svg { width: 18px; height: 18px; }
  .hero__menu { grid-column: 1 / -1; }
  .hero__media img { aspect-ratio: 4 / 3; }

  .trust__in { padding: 18px 16px; gap: 14px 12px; }

  .dishes { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .dish__price { font-size: 13px; }
  .dish__body { padding: 10px 12px 12px; }
  .dish__name { font-size: 15px; }
  .dishes__all { width: 100%; padding: 0 24px; }

  .tt { padding: 48px 0; }
  .tt__list { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px; scroll-padding: 0 16px; }
  .tt__card { flex: 0 0 152px; align-self: flex-start; scroll-snap-align: start; }

  .rv__maps { width: 100%; margin-left: 0; }
  .rv__track { --per: 1; }
  .rv__card { min-height: 200px; }
  .rv__card:nth-child(n) { scroll-snap-align: start; }

  .book__contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cbtn--phone { grid-column: 1 / -1; }
  .bk { padding: 20px; }
  .bk__title { font-size: 22px; }

  .office { padding: 20px; }
  .office__img { aspect-ratio: 4 / 3; }
  .office__btns { display: grid; grid-template-columns: 1fr; }

  .gal__stage { height: 300px; }
  .gal__thumb { flex-basis: 84px; }

  .ft__in { display: flex; flex-direction: column; padding: 40px 16px 24px; gap: 24px; }

  .pbar {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: var(--brown); border-top: 2px solid var(--yellow);
  }
  .pbar svg { width: 18px; height: 18px; }
  .pbar a { display: flex; align-items: center; justify-content: center; gap: 6px; height: 50px; border-radius: 12px; font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; }
  .pbar__call, .pbar__call:hover { border: 1px solid rgba(255, 231, 102, .45); color: var(--cream-text); }
  .pbar__map, .pbar__map:hover { background: var(--yellow); color: var(--brown-dark); }
  .pbar__book, .pbar__book:hover { background: var(--red); color: #FFFFFF; }

  .mp-head__in { padding: 32px 16px; }
  .mp-head__title { font-size: 42px; }
  .mp-head__lead { font-size: 15px; }
  .mp-head__btns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .mp-head__btns .btn--yellow, .mp-head__btns .btn--line-cream { padding: 0 12px; }
  .mp-cta__in { align-items: stretch; padding: 36px 16px; }
  .mp-cta__title { font-size: 28px; }
  .mp-cta__btns { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .mp-cta__maps { display: none; }

  .page__head { padding: 32px 0 20px; }
}

/* Very small phones: keep the two hero buttons readable. */
@media (max-width: 359px) {
  .hero__btns, .mp-head__btns { grid-template-columns: 1fr; }
  .hero__title { font-size: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
