/* Boutique mobile menu. Load after styles.css; motion.js owns transforms. */
:root {
  --ink: #153943;
  --navy: #123946;
  --cream: #fbf8f1;
  --muted: #586e70;
  --gold: #c7aa75;
  --line: #e7e4dc;
  --gutter: 18px;
  --hero-height: clamp(280px, 40svh, 340px);
  --discovery-height: 116px;
  --serif: Georgia, "Times New Roman", serif;
}

html {
  scroll-padding-top: calc(var(--discovery-height) + 12px);
  background: #0b2430;
}
body {
  background: #0b2430;
  font-size: 15px;
  line-height: 1.5;
}
.app-shell { position: relative; box-shadow: 0 0 90px #0003; }
.menu-main { position: relative; }
button { transition: background-color 160ms ease, color 160ms ease; }
.add-button { transition: background-color 160ms ease, color 160ms ease; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* The brand and the first dish form one uninterrupted photograph. */
.header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 15;
  padding: calc(18px + env(safe-area-inset-top)) 20px 18px;
  gap: 12px;
  background: transparent;
  color: #fffaf0;
}
.brand { min-width: 0; gap: 10px; }
.brand img { width: 46px; height: 46px; flex-shrink: 0; }
.brand-name { font-size: 28px; letter-spacing: 3px; line-height: 1.1; }
.brand-label { color: #ead9b8; font-size: 9px; letter-spacing: 3px; margin-bottom: 4px; }
.table-button {
  min-width: 82px;
  min-height: 48px;
  flex-shrink: 0;
  padding: 7px 10px;
  border: 1px solid #fff5dd40;
  border-radius: 13px;
  background: #0a2634b8;
}
.small-label { font-size: 9px; color: #e8e6dc; letter-spacing: .8px; }
.table-button > span:last-child { font-size: 16px; }
.table-button svg { margin-left: 5px; color: #e2c893; }
.featured { position: relative; background: var(--navy); }
.feature { height: var(--hero-height); }
.feature > img {
  object-position: center 46%;
  transition: none;
}
.feature::after {
  inset: 0;
  background: radial-gradient(ellipse 60% 31% at 12% 61%, #041b29b3 0%, #041b2970 46%, #041b2900 100%), linear-gradient(180deg, #041b29cf 0%, #041b2940 27%, transparent 42%, #092b394d 57%, #062534e8 88%, #062534 100%);
}
.feature-text { left: 20px; right: 20px; bottom: 74px; }
.feature .eyebrow { font-size: 9px; letter-spacing: 1.8px; margin-bottom: 6px; color: #f0ddb6; }
.feature h3 {
  max-width: calc(100% - 55px);
  font-family: var(--serif);
  font-size: clamp(28px, 8vw, 34px);
  line-height: 1.08;
  letter-spacing: -.7px;
  font-weight: 400;
  text-wrap: balance;
}
.feature-price { margin-top: 10px; font-size: 16px; font-weight: 500; letter-spacing: .15px; }
.feature-arrow {
  width: 44px;
  height: 44px;
  border-color: #f4e9d360;
  background: #f4e9d31a;
  backdrop-filter: none;
}
.featured-pagination {
  position: absolute;
  top: calc(var(--hero-height) - 60px);
  bottom: auto;
  left: 12px;
  right: 12px;
  height: 44px;
  justify-content: flex-start;
  gap: 0;
  z-index: 6;
  pointer-events: none;
}
.featured-pagination button { width: 40px; min-width: 44px; height: 44px; pointer-events: auto; }
.featured-pagination i { width: 5px; height: 5px; background: #f8f4e780; }
.featured-pagination .active i { width: 22px; background: #ead4ab; }
.feature:active > img, .dish-photo-button:active img,
.feature:hover > img, .dish-photo-button:hover img { transform: none; }
.add-button:active { transform: none; }

/* One calm, sticky discovery surface; the tab underline is driven by JS. */
.menu-surface {
  z-index: 7;
  padding: 0 var(--gutter) calc(124px + env(safe-area-inset-bottom));
  margin-top: -12px;
  border-radius: 28px 28px 0 0;
  background: var(--cream);
}
.discovery-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  margin: 0 calc(-1 * var(--gutter));
  padding: 16px var(--gutter) 0;
  border-radius: 28px 28px 0 0;
  background: var(--cream);
  box-shadow: 0 1px 0 var(--line), 0 7px 14px #fbf8f1d9;
}
.menu-tools { scroll-margin-top: calc(var(--discovery-height) + 10px); }
.search-wrap {
  height: 48px;
  min-width: 0;
  padding: 0 12px;
  gap: 9px;
  border: 1px solid #e2e3dc;
  border-radius: 14px;
  background: #fffdf8;
  color: #657c7d;
}
.search-wrap:focus-within { border-color: #b6a17b; box-shadow: 0 0 0 2px #c7aa7526; }
.search-wrap input { padding: 12px 0; font-size: 16px; line-height: 24px; }
.search-wrap input::placeholder { color: #637779; }
.search-wrap .icon-button {
  width: 44px;
  min-width: 44px;
  height: 44px;
  margin-right: -10px;
  font-size: 25px;
}
.search-wrap input:focus-visible { outline: 0; }
.mobile-categories {
  position: relative;
  top: auto;
  z-index: auto;
  height: 52px;
  min-height: 52px;
  gap: 23px;
  margin: 0 calc(-1 * var(--gutter));
  padding: 5px var(--gutter) 3px;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  scroll-padding-inline: var(--gutter);
}
.mobile-categories button {
  padding: 0;
  min-height: 44px;
  border-radius: 0;
  background: transparent;
  color: #627779;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}
.mobile-categories button.active { background: transparent; color: var(--navy); font-weight: 650; }
.mobile-categories button:not(.active) { color: #627779; }
.category-indicator {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
  pointer-events: none;
}
.menu-result-head { gap: 12px; margin: 24px 0 20px; }
.menu-result-head h2 { font-family: var(--serif); font-size: 25px; line-height: 1.12; letter-spacing: -.4px; font-weight: 400; }
.menu-result-head > span { font-size: 12px; color: var(--muted); }
.showing-all .menu-result-head {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
.showing-all .menu-content { padding-top: 24px; }
.category-section { margin-bottom: 32px; scroll-margin-top: calc(var(--discovery-height) + 18px); }
.category-title {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 400;
  letter-spacing: -.4px;
  line-height: 1.18;
  margin-bottom: 18px;
  gap: 9px;
}
.category-title small { padding-top: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 11px; color: #687e7e; }

/* Controls float on the image. Changing quantity never changes card layout. */
.dish-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 12px; }
.dish { min-width: 0; height: 100%; }
.dish-visual { position: relative; min-width: 0; }
.dish-photo-button { aspect-ratio: 1.07; border-radius: 16px; background: #163b49; }
.dish-photo-button img { transition: none; object-fit: cover; }
.dish-actions-overlay {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 2;
  max-width: calc(100% - 16px);
  border-radius: 13px;
  box-shadow: 0 3px 12px #082c3733;
}
.dish .dish-actions-overlay .add-button {
  min-height: 44px;
  height: 44px;
  max-width: 100%;
  padding: 0 10px;
  background: #fcf9f0;
  color: var(--navy);
  font-size: 11px;
  font-weight: 600;
  border-radius: 13px;
}
.dish .dish-actions-overlay .add-button[data-qty] { width: 44px; padding: 0; font-size: 0; }
.dish .dish-actions-overlay .add-button svg { width: 20px; height: 20px; stroke-width: 1.6; }
.dish-actions-overlay .quantity-control {
  width: 112px;
  min-width: 112px;
  max-width: 100%;
  height: 44px;
  background: #fcf9f0;
  color: var(--navy);
  border-radius: 13px;
}
.dish-actions-overlay .quantity-control button { flex: 0 0 44px; width: 44px; min-width: 44px; height: 44px; min-height: 44px; }
.dish-actions-overlay .quantity-control span { flex: 1; min-width: 24px; font-size: 13px; font-variant-numeric: tabular-nums; }
.quantity-control button:focus-visible { outline-offset: -4px; }
.dish-info { padding: 11px 1px 0; min-width: 0; }
.dish-title-button {
  display: block;
  width: 100%;
  min-height: 44px;
  font-size: 15px;
  line-height: 19px;
  letter-spacing: -.1px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.dish-name { display: block; }
.dish-title-button .dish-meta { display: block; font-weight: 400; margin-top: 3px; }
.dish-meta { font-size: 12px; line-height: 17px; margin-top: 3px; color: #607677; }
.dish-action {
  display: block;
  min-height: 32px;
  margin-top: auto;
  padding-top: 8px;
  flex-wrap: nowrap;
}
.dish-action .price { font-size: 18px; font-weight: 650; letter-spacing: -.25px; line-height: 24px; }
.dish-action .price.unknown { display: inline-block; max-width: 100%; font-size: 13px; font-weight: 500; line-height: 24px; }
.price { font-variant-numeric: tabular-nums; }
.text-only .dish-visual { min-height: 136px; border-radius: 16px; background: var(--navy); }

/* A compact floating dock, visually distinct from the catalogue. */
.bottom-dock {
  bottom: calc(10px + env(safe-area-inset-bottom));
  width: calc(100% - 28px);
  max-width: calc(var(--phone) - 28px);
  min-height: 68px;
  padding: 8px;
  gap: 4px;
  border: 1px solid #d6cdb21a;
  border-radius: 23px;
  background: #123946;
  box-shadow: 0 10px 35px #07263136, 0 2px 6px #07263120;
  backdrop-filter: none;
}
.dock-menu, .dock-waiter {
  flex-shrink: 0;
  width: 61px;
  min-height: 52px;
  gap: 4px;
  justify-content: center;
  border-radius: 15px;
  color: #d9e0db;
  font-size: 10px;
  line-height: 13px;
}
.dock-menu.active, .dock-waiter.active { color: #f8eed8; background: #f5ead20d; }
.dock-menu svg, .dock-waiter svg { width: 22px; height: 22px; }
.cart-button {
  min-width: 0;
  min-height: 52px;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 16px;
  background: #f6efdf;
  color: var(--navy);
}
.cart-label { min-width: 0; font-size: 11px; line-height: 14px; }
.cart-label strong { font-size: 16px; letter-spacing: -.2px; line-height: 19px; margin-top: 2px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.cart-count {
  width: auto;
  min-width: 20px;
  height: 20px;
  padding: 0 4px;
  right: -9px;
  top: -8px;
  border: 2px solid #f6efdf;
  color: #fcf7e8;
  background: var(--navy);
  font-size: 10px;
  line-height: 1;
}
#toast {
  bottom: calc(94px + env(safe-area-inset-bottom));
  max-width: min(380px, calc(100% - 40px));
  padding: 13px 17px;
  border-radius: 15px;
  font-size: 13px;
  background: #123946f2;
}

/* Native sheets retain their scroll container and accessible modal behaviour. */
.dialog {
  max-height: 94svh;
  border-radius: 28px 28px 0 0;
  background: var(--cream);
  box-shadow: 0 -16px 65px #052a3430;
}
.dialog[open] { animation: none; }
.dialog::backdrop { background: #0827339e; backdrop-filter: none; opacity: var(--scrim-opacity, 1); }
.sheet-header {
  position: sticky;
  top: 0;
  z-index: 5;
  gap: 16px;
  padding: 23px 20px 20px;
  background: var(--cream);
}
.sheet-header > div { min-width: 0; }
.sheet-header h2 { font-family: var(--serif); font-size: 29px; font-weight: 400; line-height: 1.15; letter-spacing: -.5px; }
.eyebrow { color: #927344; font-size: 10px; letter-spacing: 1.6px; }
.close-button { flex-shrink: 0; background: #ecece4; color: var(--ink); }
.dish-dialog .close-button { right: 16px; top: 16px; background: #fcf9f0; box-shadow: 0 2px 12px #0c2c3526; }
.detail-image { height: clamp(220px, 35svh, 320px); object-position: center; background: var(--navy); }
.detail-body { padding: 25px 20px 0; margin-top: -22px; border-radius: 27px 27px 0 0; background: var(--cream); }
.detail-body h2 { margin-top: 9px; font-size: clamp(28px, 7.6vw, 33px); line-height: 1.12; letter-spacing: -.65px; text-wrap: balance; }
.detail-body .dish-meta { font-size: 13px; line-height: 18px; margin-top: 10px; }
.detail-description { margin-top: 20px; font-size: 15px; line-height: 1.65; color: #526b6e; }
.detail-note { font-size: 12px; line-height: 1.6; padding: 16px 0 20px; color: var(--muted); }
.detail-bottom {
  position: sticky;
  bottom: 0;
  z-index: 4;
  margin: 0 -20px;
  padding: 15px 20px calc(15px + env(safe-area-inset-bottom));
  gap: 12px;
  min-height: 82px;
  border-top: 1px solid var(--line);
  background: var(--cream);
  box-shadow: 0 -8px 14px #fbf8f1e6;
}
.detail-bottom .price { font-size: 24px; line-height: 1.15; letter-spacing: -.45px; }
.detail-bottom .price.unknown { max-width: 108px; font-size: 14px; line-height: 1.3; }
.detail-controls { flex: 0 0 148px; min-width: 0; }
.detail-controls .add-button { width: 100%; min-width: 0; height: 52px; min-height: 52px; padding: 0 12px; font-size: 14px; border-radius: 15px; }
.detail-controls .quantity-control { width: 148px; min-width: 0; height: 52px; border-radius: 15px; background: #e8eae2; }
.detail-controls .quantity-control button { flex: 0 0 48px; min-width: 48px; width: 48px; height: 52px; min-height: 52px; }
.detail-controls .quantity-control span { min-width: 24px; font-size: 16px; font-variant-numeric: tabular-nums; }
.dialog.dish-dialog { inset: 0; height: 100svh; max-height: none; overflow: visible; border-radius: 0; background: transparent; box-shadow: none; }
#dish-content { position: absolute; bottom: 0; width: 100%; max-height: 94svh; overflow: auto; overscroll-behavior: contain; border-radius: 28px 28px 0 0; background: var(--cream); box-shadow: 0 -16px 65px #052a3430; }
.dish-dialog.bridge-active #dish-content { background: transparent; box-shadow: none; }
.dish-dialog.bridge-active .detail-body { z-index: 7; border-radius: 27px 27px 0 0; }
.cart-dialog { padding-bottom: 0; }
#cart-content { padding: 0 20px; }
.cart-row { padding: 18px 0; gap: 12px; }
.cart-row > img { width: 76px; height: 85px; flex-shrink: 0; border-radius: 13px; background: var(--navy); }
.cart-row-name { font-size: 15px; line-height: 20px; letter-spacing: -.1px; }
.cart-row .dish-meta { font-size: 12px; }
.cart-row-bottom { gap: 8px; margin-top: 10px; }
.cart-row-bottom strong { font-size: 15px; font-variant-numeric: tabular-nums; }
.cart-row .quantity-control { width: 112px; min-width: 112px; height: 44px; border-radius: 12px; background: #e8eae2; }
.cart-row .quantity-control button { min-width: 44px; width: 44px; height: 44px; }
.cart-row .quantity-control span { min-width: 24px; font-size: 13px; font-variant-numeric: tabular-nums; }
.cart-comment { margin: 20px 0 24px; }
.cart-comment label, .table-form label { font-size: 13px; }
.cart-comment textarea { min-height: 92px; padding: 14px; font-size: 16px; border-color: #dfe2d9; background: #fffdf8; border-radius: 14px; }
.cart-checkout {
  position: sticky;
  bottom: 0;
  z-index: 6;
  margin: 0 -20px;
  padding: 16px 20px calc(15px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--cream);
  box-shadow: 0 -8px 14px #fbf8f1e6;
}
.cart-checkout .cart-summary { padding: 0; margin: 0 0 13px; gap: 12px; }
.cart-summary > span { font-size: 13px; color: var(--muted); }
.cart-summary strong { font-size: 27px; letter-spacing: -.65px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.primary-button { min-height: 52px; font-size: 15px; font-weight: 500; border-radius: 15px; background: var(--navy); }
.primary-button:active { background: #1e4c59; }
.demo-note { font-size: 11px; line-height: 1.5; margin-top: 11px; color: var(--muted); }
.secondary-button { min-height: 48px; font-size: 13px; line-height: 1.4; color: #526b6e; }

/* Quiet supporting states use the same scale and material as the menu. */
.utility-dialog { padding: 24px 20px calc(24px + env(safe-area-inset-bottom)); }
.utility-top { gap: 14px; margin-bottom: 22px; }
.utility-top > div:not(.utility-symbol) { min-width: 0; }
.utility-dialog h2 { font-size: 31px; line-height: 1.13; letter-spacing: -.55px; text-wrap: balance; }
.utility-copy { font-size: 15px; line-height: 1.6; color: #526b6e; margin: 18px 0 25px; }
.utility-symbol { width: 60px; height: 60px; border-radius: 20px; background: #e9ece3; color: var(--navy); }
.success-icon { background: #e6ece0; color: #496c4e; }
.waiter-options { gap: 10px; margin-bottom: 24px; }
.waiter-option { min-height: 56px; padding: 14px; border-radius: 14px; font-size: 14px; line-height: 20px; background: #fffdf8; }
.waiter-option:has(:checked) { border-color: #a4b5ad; background: #eaf0e7; }
.waiter-option input { width: 18px; height: 18px; flex-shrink: 0; }
.table-form input { min-height: 52px; font-size: 16px; background: #fffdf8; border-radius: 14px; }
.category-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.category-picker button { min-width: 0; min-height: 64px; gap: 6px; font-size: 13px; line-height: 19px; color: #536e70; }
.category-picker button span { min-width: 0; overflow-wrap: anywhere; }
.category-picker button.active { color: var(--navy); }
.category-picker small { flex-shrink: 0; color: #637a7b; font-size: 11px; }
.category-picker button:first-child { min-height: 56px; }
.order-receipt { padding: 18px; border-color: var(--line); border-radius: 16px; background: #fffdf8; }
.receipt-row { font-size: 13px; line-height: 19px; gap: 12px; }
.receipt-row > span { min-width: 0; }
.receipt-total { font-size: 17px; }
.empty-cart, .no-results, .loading { padding: 46px 6px 42px; }
.empty-cart h3, .no-results h3 { font-family: var(--serif); font-size: 28px; font-weight: 400; line-height: 1.15; letter-spacing: -.4px; }
.empty-cart svg { color: #a88852; margin-bottom: 18px; }
.empty-cart p, .no-results p { font-size: 14px; line-height: 1.6; color: var(--muted); margin-top: 15px; }
.no-results button { min-height: 48px; border-radius: 14px; font-size: 14px; }
.empty-cart + .primary-button { margin-bottom: calc(22px + env(safe-area-inset-bottom)); }
.footer { margin-top: 30px; padding: 35px 0 0; }
.footer img { width: 44px; height: 44px; margin-bottom: 13px; }
.footer > span { font-size: 23px; letter-spacing: -.3px; }
.footer p { font-size: 12px; line-height: 1.65; color: var(--muted); }
.footer .photo-note { font-size: 11px; line-height: 1.65; color: #627879; margin-top: 20px; }

/* The skip action is the only interactive element added to the cinema. */
.intro-play .welcome-motion { pointer-events: auto; }
.intro-skip {
  position: absolute;
  bottom: calc(24px + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  z-index: 120;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid #dfc99d55;
  border-radius: 25px;
  background: #0a2634d9;
  color: #f4e7cc;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

@media (max-width: 359px) {
  :root { --gutter: 16px; }
  .header { padding-left: 16px; padding-right: 16px; gap: 10px; }
  .brand { gap: 8px; }
  .brand img { width: 42px; height: 42px; }
  .brand-name { font-size: 25px; letter-spacing: 2.5px; }
  .brand-label { font-size: 8px; letter-spacing: 2.5px; }
  .table-button { min-width: 77px; padding-left: 8px; padding-right: 8px; }
  .feature-text { left: 16px; right: 16px; }
  .feature h3 { font-size: 28px; }
  .dish-grid { gap: 23px 12px; }
  .category-title { font-size: 23px; }
  .mobile-categories { gap: 20px; }
  .search-wrap { gap: 7px; padding-left: 10px; padding-right: 10px; }
  .search-wrap input { font-size: 16px; }
  .dish-title-button { font-size: 15px; }
  .dish-actions-overlay { right: 7px; bottom: 7px; max-width: calc(100% - 14px); }
  .dock-menu { width: 54px; }
  .dock-waiter { width: 58px; }
  .cart-button { gap: 8px; padding-left: 9px; padding-right: 9px; }
  .cart-label strong { font-size: 14px; }
  .detail-controls { flex-basis: 136px; }
  .detail-controls .quantity-control { width: 136px; }
  .detail-controls .quantity-control button { flex-basis: 44px; min-width: 44px; width: 44px; }
  .detail-bottom .price { font-size: 22px; }
  .detail-bottom .price.unknown { max-width: 112px; font-size: 13px; }
  .cart-row > img { width: 70px; height: 80px; }
  .cart-row-bottom { flex-wrap: wrap; gap: 7px 8px; }
  .cart-row-bottom strong { flex: 1 0 100%; text-align: right; order: -1; }
  .category-picker { gap: 0 14px; }
  .category-picker button { font-size: 13px; }
  .cart-summary > span { font-size: 12px; }
  .cart-summary strong { font-size: 25px; }
}

@media (min-width: 600px) {
  .header { padding-top: 22px; }
  .dialog { max-height: min(850px, 94svh); }
  .bottom-dock { border: 1px solid #d6cdb21a; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .featured-pagination i, button, .search-wrap { transition: none; }
  .dialog[open] { animation: none; }
  .welcome-motion { display: none !important; }
}
