/*
Theme Name: Ốc Phủi
Theme URI: https://ocphui.vn
Author: Ốc Phủi
Description: Giao diện riêng cho Ốc Phủi – mẫu A "Đêm Nha Trang": nền xanh navy, chữ vàng, nút cam. Hỗ trợ Polylang 5 ngôn ngữ, đặt bàn (email + Zalo), thực đơn động (plugin Ốc Phủi – Thực đơn).
Version: 1.0.2
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: ocphui
*/

:root {
  --navy: #0B1736;
  --navy-2: #12224A;
  --navy-3: #071026;
  --gold: #FBB61A;
  --gold-hi: #FFD36B;
  --orange: #F6851F;
  --orange-text: #B3570A;
  --teal: #3FB5D6;
  --teal-hi: #6FD3F0;
  --cream: #F3EEE2;
  --ink-soft: #C9D2E6;
  --ink-mute: #3D4A66;
  --radius: 18px;
  --wrap: 1240px;
  --display: 'Paytone One', 'Be Vietnam Pro', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 16px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--cream);
  font-family: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', 'Noto Sans', 'Apple SD Gothic Neo', 'PingFang SC', sans-serif;
  font-size: 16px;
  line-height: 1.55;
}
body.lang-ko { word-break: keep-all; overflow-wrap: break-word; }
/* Display face per script (Latin glyphs still come from Paytone One). */
body.lang-ru { --display: 'Paytone One', 'Rubik', 'Be Vietnam Pro', sans-serif; }
body.lang-ko { --display: 'Paytone One', 'Black Han Sans', 'Be Vietnam Pro', sans-serif; }
body.lang-zh { --display: 'Paytone One', 'Noto Sans SC', 'Be Vietnam Pro', sans-serif; }
img { max-width: 100%; height: auto; }
a { color: var(--gold); }
a:hover { color: var(--gold-hi); }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 3px solid var(--teal-hi); outline-offset: 2px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--gold); color: var(--navy); padding: 10px 16px; border-radius: 8px; }
.skip:focus { left: 8px; }

.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); color: var(--navy); }
.sec--navy2 { background: var(--navy-2); }
.center { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.muted { color: var(--ink-soft); font-size: 14px; margin: 0; }
.sec--cream .muted { color: var(--ink-mute); }

.eyebrow { margin: 0 0 8px; color: var(--teal); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; font-size: 14px; }
.eyebrow--orange { color: var(--orange-text); }
.h1, .h2 { font-family: var(--display); font-weight: 400; color: var(--gold); margin: 0; line-height: 1.08; }
.h1 { font-size: clamp(36px, 5vw, 64px); }
.h2 { font-size: clamp(30px, 4vw, 48px); }
.h2--navy { color: var(--navy); }
.h3 { margin: 0; font-size: 20px; }
.link { font-weight: 600; text-decoration: none; }

/* Buttons */
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 24px; border-radius: 999px;
  font-weight: 700; font-size: 16px; text-decoration: none; text-align: center;
  border: 2px solid transparent; cursor: pointer; transition: filter .15s, background .15s;
}
.btn:hover { filter: brightness(1.08); }
.btn--orange { background: var(--orange); color: #1A0F02; }
.btn--orange:hover { color: #1A0F02; }
.btn--gold { border-color: var(--gold); color: var(--gold); background: transparent; }
.btn--teal { border-color: var(--teal); color: var(--teal); background: transparent; }
.btn--teal:hover { color: var(--teal-hi); }
.btn--navy { background: var(--navy); color: var(--gold); }
.btn--lg { font-size: 17px; padding: 16px 36px; }

/* Header */
.hd { border-bottom: 1px solid rgba(251,182,26,.18); background: var(--navy); position: relative; z-index: 30; }
.hd__in { max-width: var(--wrap); margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 16px 28px; }
.hd__logo { display: flex; flex: 0 0 auto; }
.hd__logo img { height: 56px; width: auto; display: block; }
.hd__nav { flex: 1 1 auto; }
.hd__menu, .hd__langs, .mnav__menu { list-style: none; margin: 0; padding: 0; }
.hd__menu { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.hd__menu a { color: var(--cream); text-decoration: none; padding: 10px 0; font-weight: 500; font-size: 15px; display: inline-block; }
.hd__menu a:hover, .hd__menu a[aria-current], .hd__menu .current-menu-item > a { color: var(--gold); }
.hd__menu a[aria-current], .hd__menu .current-menu-item > a { box-shadow: inset 0 -2px 0 var(--gold); }
.hd__langs { display: flex; gap: 4px; font-size: 13px; font-weight: 600; }
.hd__langs a { display: block; padding: 8px 9px; border-radius: 6px; color: var(--ink-soft); text-decoration: none; }
.hd__langs a[aria-current] { background: var(--gold); color: var(--navy); }
.hd__drop { display: none; position: relative; }
.hd__drop summary {
  list-style: none; cursor: pointer; min-height: 44px; padding: 0 14px; display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid rgba(251,182,26,.45); border-radius: 10px; font-weight: 600; font-size: 15px; color: var(--cream);
}
.hd__drop summary::-webkit-details-marker { display: none; }
.hd__drop ul { position: absolute; right: 0; top: calc(100% + 6px); list-style: none; margin: 0; padding: 6px; background: var(--navy-2); border: 1px solid rgba(251,182,26,.3); border-radius: 12px; min-width: 140px; box-shadow: 0 12px 30px rgba(0,0,0,.4); }
.hd__drop ul a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--cream); text-decoration: none; }
.hd__drop ul a[aria-current] { background: var(--gold); color: var(--navy); }
.hd__burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 10px; background: var(--gold); flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; flex: 0 0 auto; }
.hd__burger span { width: 20px; height: 2px; background: var(--navy); display: block; }
.mnav { border-top: 1px solid rgba(251,182,26,.18); padding: 8px 16px 16px; }
.mnav__menu a { display: block; padding: 14px 4px; color: var(--cream); text-decoration: none; font-weight: 600; font-size: 17px; border-bottom: 1px solid rgba(251,182,26,.12); }

/* Hero */
.hero { max-width: var(--wrap); margin: 0 auto; padding: 56px 24px 40px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: center; }
.hero__text { display: flex; flex-direction: column; gap: 22px; grid-row: 1; grid-column: 1; }
.hero__media { grid-row: 1; grid-column: 2; position: relative; }
.hero__media picture { display: contents; }
.hero__media img { width: 100%; aspect-ratio: 1462 / 1600; object-fit: cover; object-position: center top; border-radius: 24px; display: block; }
.hero__shade { display: none; }
.hero__eyebrow { font-size: 15px; letter-spacing: .14em; margin: 0; }
.hero__title { margin: 0; font-family: var(--display); font-size: clamp(44px, 6vw, 80px); line-height: 1.02; color: var(--gold); }
.hero__lead { margin: 0; font-size: 18px; color: #D5DCEB; max-width: 600px; }
.hero__hours { margin: 0; font-size: 15px; color: var(--ink-soft); }
.hero .btns { margin-top: 6px; gap: 10px; }
.hero .btn { padding: 12px 20px; }

.wave { display: block; width: 100%; height: 48px; }

/* Must-try dishes */
#menu .h2 { margin-bottom: 32px; }
.dishes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-bottom: 32px; }
.dish { background: #fff; border: 1px solid rgba(11,23,54,.12); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.dish__img { position: relative; background: #e7e1d3; }
.dish__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.dish__price { position: absolute; right: 12px; top: 12px; background: var(--gold); color: var(--navy); font-weight: 800; font-size: 17px; padding: 6px 14px; border-radius: 999px; box-shadow: 0 2px 8px rgba(11,23,54,.35); white-space: nowrap; }
.dish__name { margin: 0; padding: 14px 16px 16px; font-size: 17px; font-weight: 700; line-height: 1.3; color: var(--navy); }
.dish__name span { display: block; font-size: 13px; font-weight: 400; color: var(--ink-mute); margin-top: 2px; }

/* Booking */
.book { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.book__intro { display: flex; flex-direction: column; gap: 16px; }
.book__intro .eyebrow { margin: 0; }
.book__lead { margin: 0; color: var(--ink-soft); font-size: 17px; }
.book__img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; margin-top: 8px; display: block; }
.bk { background: var(--cream); color: var(--navy); border-radius: 24px; padding: 32px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.bk__f { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; min-width: 0; }
.bk__f--full, .bk__submit, .bk__msg, .bk__alt { grid-column: 1 / -1; }
.bk input, .bk select, .bk textarea { width: 100%; padding: 13px 14px; border: 1.5px solid #B9BFCC; border-radius: 12px; background: #fff; font-size: 16px; color: var(--navy); min-height: 50px; }
.bk textarea { resize: vertical; min-height: 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; min-width: 0; max-width: 100%; text-align: left; }
.bk input[type="date"]::-webkit-date-and-time-value { text-align: left; margin: 0; }
@media (max-width: 480px) { .bk__f:has(input[type="date"]), .bk__f:has(select[name="time"]) { grid-column: 1 / -1; } }
.bk select { -webkit-appearance: none; appearance: none; padding-right: 44px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%230B1736' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center; }
.bk input:focus, .bk select:focus, .bk textarea:focus { border-color: var(--orange); outline: 2px solid rgba(246,133,31,.35); outline-offset: 0; }
.bk__submit { font-size: 17px; padding: 16px; border: 0; }
.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: #1c7c45; background: #E2F4E9; padding: 12px; border-radius: 12px; }
.bk__msg.is-err { color: #A1330B; background: #FCE6DA; padding: 12px; border-radius: 12px; }
.bk__alt { margin: 0; font-size: 14px; color: var(--ink-mute); text-align: center; }
.bk__alt a { color: var(--orange-text); font-weight: 700; }
.bk__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Reviews & TikTok */
.row-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 16px; margin-bottom: 28px; }
.rating { display: flex; align-items: center; gap: 12px; }
.rating__n { font-family: var(--display); font-size: 40px; line-height: 1; }
.rating__stars { color: var(--gold); font-size: 22px; letter-spacing: 2px; }
.reviews { margin-bottom: 48px; }
.reviews .wp-gr { color: var(--navy); }
.reviews .grw-header { display: none !important; }
.reviews .grw-row { flex-wrap: nowrap; }
/* The phone bar replaces the old floating contact buttons. */
.row-head--tt { justify-content: flex-start; margin-bottom: 18px; }
.row-head--tt .h3 { flex: 1 1 auto; }
.arrow { width: 44px; height: 44px; border-radius: 999px; border: 1.5px solid rgba(251,182,26,.55); background: transparent; color: var(--gold); font-size: 22px; line-height: 1; cursor: pointer; }
.arrow:hover { background: rgba(251,182,26,.12); }
.tt { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.tt::-webkit-scrollbar, .gal__thumbs::-webkit-scrollbar, .chips::-webkit-scrollbar { display: none; }
.tt__card { flex: 0 0 calc((100% - 64px) / 4.4); scroll-snap-align: start; position: relative; display: block; border-radius: var(--radius); overflow: hidden; text-decoration: none; background: var(--navy); }
.tt__card img { width: 100%; aspect-ratio: 9 / 14; object-fit: cover; display: block; transition: transform .3s; }
.tt__card:hover img { transform: scale(1.03); }
.tt__tag { position: absolute; left: 10px; bottom: 10px; right: 10px; width: fit-content; max-width: calc(100% - 20px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; background: var(--navy); color: var(--cream); font-size: 13px; font-weight: 600; padding: 6px 10px; border-radius: 999px; }

/* Gallery */
.gal .row-head { margin-bottom: 24px; }
.chips { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.chip { min-height: 44px; padding: 0 18px; border-radius: 999px; font-weight: 600; font-size: 15px; cursor: pointer; background: transparent; color: var(--cream); border: 1px solid rgba(251,182,26,.45); white-space: nowrap; }
.chip.is-on { background: var(--gold); color: var(--navy); border-color: var(--gold); }
/* Fixed-height stage; photos keep their own shape (portrait or landscape) and are never cropped or enlarged. */
.gal__stage { position: relative; border-radius: 24px; overflow: hidden; background: var(--navy-2); height: 600px; display: flex; align-items: center; justify-content: center; }
.gal__main { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; }
.gal__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 999px; border: 0; background: rgba(11,23,54,.78); color: var(--gold); font-size: 28px; line-height: 1; cursor: pointer; }
.gal__nav--prev { left: 16px; }
.gal__nav--next { right: 16px; }
.gal__count, .gal__cap { position: absolute; bottom: 16px; background: rgba(11,23,54,.78); color: var(--cream); font-size: 14px; padding: 6px 12px; border-radius: 999px; }
.gal__count { right: 16px; font-weight: 600; }
.gal__cap { left: 16px; }
.gal__thumbs { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-top: 14px; }
.gal__thumb { flex: 0 0 120px; padding: 0; border: 3px solid transparent; border-radius: 12px; overflow: hidden; background: none; cursor: pointer; scroll-snap-align: start; opacity: .6; }
.gal__thumb.is-on { border-color: var(--gold); opacity: 1; }
.gal__thumb[hidden] { display: none; }
.gal__thumb img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }

/* Footer */
.ft { background: var(--navy-3); border-top: 4px solid var(--orange); }
.ft__in { max-width: var(--wrap); margin: 0 auto; padding: 56px 24px 32px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.ft__col { display: flex; flex-direction: column; gap: 6px; }
.ft__col img { width: 180px; height: auto; }
.ft__h { margin: 0 0 4px; color: var(--gold); font-size: 16px; }
.ft__muted { margin: 0; color: var(--ink-soft); font-size: 14px; }
.ft__map { width: 100%; aspect-ratio: 16 / 10; border: 0; border-radius: 14px; background: var(--navy-2); }
.ft__maps { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.ft__maps:hover { text-decoration: underline; }
.ft__copy { margin: 0; text-align: center; padding: 16px; font-size: 13px; color: #8E9AB5; }

/* Phone contact bar */
.pbar { display: none; }

/* Menu page */
.mp-head { background: var(--navy); }
.mp-head__in { padding-top: 48px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-end; justify-content: space-between; }
.mp-head__text { max-width: 640px; display: flex; flex-direction: column; gap: 10px; }
.mp-head__text .eyebrow { margin: 0; }
.mp-head__lead { margin: 0; color: #D5DCEB; font-size: 17px; }
.mp-body { background: var(--cream); color: var(--navy); padding-bottom: 8px; overflow-x: clip; }
.mp-body .ocm-nav { margin: 0 calc(50% - 50vw) 24px; padding: 10px 0; }
/* Chips scroll edge-to-edge on phones; the first chip still lines up with the page content. */
.mp-body .ocm-nav__inner { padding: 0 max(16px, calc((100vw - var(--wrap)) / 2 + 16px)); scroll-padding-inline: 16px; }
.mp-cta { background: var(--navy); }
.mp-cta__in { padding-top: 48px; padding-bottom: 48px; display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.mp-cta .h2 { font-size: 34px; }
.mp-cta .muted { margin-top: 6px; font-size: 16px; }

/* Pages & blog */
.page__head { padding: 48px 0 32px; }
.page__head .h1 { font-size: clamp(32px, 4.4vw, 52px); }
.prose { padding-bottom: 64px; font-size: 17px; color: #E3E8F3; }
.prose h2, .prose h3 { color: var(--gold); 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: var(--navy-2); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.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(--ink-soft); }
.post-card__title { margin: 0; font-size: 20px; line-height: 1.3; }
.post-card__title a { color: var(--cream); text-decoration: none; }
.post-card__title a:hover { color: var(--gold); }
.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(251,182,26,.35); color: var(--gold); text-decoration: none; }
.pager a.page-numbers:hover { border-color: var(--gold); }
.pager .page-numbers.current { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.pager .page-numbers.dots { border-color: transparent; min-width: 24px; padding: 0; }
.pager .prev, .pager .next { font-size: 22px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Tablet & phone ---------- */
/* Narrow desktops / landscape tablets: give the text column more room so the three hero buttons stay on one row. */
@media (max-width: 1200px) and (min-width: 901px) {
  .hero { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px; }
  .hero .btn { padding: 10px 16px; font-size: 15px; }
}

@media (max-width: 1100px) {
  .hd__menu { gap: 4px 16px; }
  .dishes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ft__in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .hd__langs { display: none; }
  .hd__drop { display: block; margin-left: auto; }
  .hero { display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; position: relative; max-width: none; min-height: 880px; padding: 0; overflow: hidden; }
  .hero__media { position: absolute; inset: 0; overflow: hidden; }
  /* Phone/tablet photo (hero-m): shifted up 100px and cropped so the neon sign sits centred above the text. */
  .hero__media img { width: 100%; height: calc(100% + 100px); margin-top: -100px; aspect-ratio: auto; border-radius: 0; object-position: 32% center; }
  .hero__shade { display: block; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,23,54,.1) 0%, rgba(11,23,54,.2) 25%, rgba(11,23,54,.65) 50%, rgba(11,23,54,.88) 80%, var(--navy) 100%); }
  .hero__text { position: relative; z-index: 1; padding: 0 32px 48px; }
  .hero__eyebrow { align-self: flex-start; color: rgba(255,255,255,.85); font-size: 13px; font-weight: 600; text-shadow: 0 1px 2px rgba(0,0,0,.5), 0 2px 8px rgba(0,0,0,.35); }
  .hero__text p:not(.hero__eyebrow) { text-shadow: 0 1px 2px rgba(0,0,0,.5), 0 2px 10px rgba(0,0,0,.3); }
  .hero__text p.hero__title { text-shadow: 0 3px 3px rgba(0,0,0,.2), 0 2px 10px rgba(0,0,0,.3); }
  .hero__lead { max-width: none; font-size: 19px; }
  .hero__lead span { display: block; }
  .book { grid-template-columns: 1fr; }
  .book__img { display: none; }
  .tt__card { flex-basis: calc((100% - 32px) / 2.6); }
  .gal__stage { height: 480px; }
}

@media (max-width: 760px) {
  body { padding-bottom: 72px; }
  .hd__in { padding: 8px 16px; gap: 8px; }
  .hd__logo { margin-right: auto; }
  .hd__logo img { height: 44px; }
  .hd__nav { display: none; }
  .hd__drop { margin-left: 0; }
  .hd__burger { display: inline-flex; }
  .wrap { padding: 0 16px; }
  .sec { padding: 40px 0; }
  .hero { min-height: 640px; }
  .hero__text { padding: 0 16px 28px; gap: 14px; }
  .hero__eyebrow { font-size: 12px; letter-spacing: .1em; }
  .hero__title { font-size: 40px; }
  .hero__title .br-d { display: none; }
  .hero__lead { font-size: 16px; }
  .hero__lead span { display: inline; }
  .hero .btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .hero .btn--teal { grid-column: 1 / -1; }
  .hero__hours { font-size: 14px; }
  .btn { padding: 12px 16px; }
  .wave { height: 26px; }
  .dishes { gap: 12px; }
  .dish__price { right: 8px; top: 8px; font-size: 14px; padding: 4px 10px; }
  .dish__name { font-size: 14px; padding: 10px 10px 12px; }
  .bk { padding: 20px 16px; gap: 12px; border-radius: 20px; }
  .book { gap: 24px; }
  .book__img { display: none; }
  .row-head { margin-bottom: 18px; }
  .rating__n { font-size: 32px; }
  .row-head--tt .arrow { display: none; }
  .tt { margin: 0 -16px; padding: 0 16px; gap: 12px; }
  .tt__card { flex: 0 0 150px; }
  .gal__stage { height: 380px; }
  .gal__nav { width: 44px; height: 44px; font-size: 24px; }
  .gal__nav--prev { left: 8px; }
  .gal__nav--next { right: 8px; }
  .gal__thumb { flex-basis: 84px; }
  .ft__in { grid-template-columns: 1fr; 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: 40; height: 72px; padding: 10px 12px; background: var(--navy); border-top: 1px solid rgba(251,182,26,.35); }
  .pbar a { display: flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid rgba(251,182,26,.45); border-radius: 12px; color: var(--cream); text-decoration: none; font-weight: 600; font-size: 14px; }
  .pbar .pbar__book { background: var(--orange); border-color: var(--orange); color: #1A0F02; font-weight: 700; }
  .mp-head__in { padding-top: 24px; padding-bottom: 24px; }
  .mp-head .btns { width: 100%; }
  .mp-cta .h2 { font-size: 28px; }
  .page__head { padding: 32px 0 20px; }
}

/* Very small phones (iPhone SE 1st gen, small Androids): stack hero buttons so labels stay on one line. */
@media (max-width: 374px) {
  .hero .btns { grid-template-columns: 1fr; }
  .hero__title { font-size: 36px; }
}

/* Phones held sideways: a short screen, so let the hero shrink to its content instead of 820px of photo. */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 500px) {
  .hero { min-height: 0; padding-top: 140px; }
}

.dish__name { overflow-wrap: anywhere; hyphens: auto; }

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