/* Full menu dialog + featured dishes (landing page) */
.fm-heat { display: inline-flex; gap: 1px; margin-left: 8px; vertical-align: -1px; color: var(--cinnabar); }
.fm-heat svg { width: 13px; height: 13px; }

/* What people love (landing) */
.loved {
  position: relative; z-index: 7; columns: 3 300px; column-gap: clamp(32px, 5vw, 72px);
  margin-top: clamp(48px, 7vw, 88px);
}
.loved__group { break-inside: avoid; margin-bottom: clamp(36px, 4vw, 52px); }
.loved__cat {
  font: 600 1rem/1 var(--f-sign); letter-spacing: .24em; text-transform: uppercase; color: var(--foil);
  padding-bottom: 12px; border-bottom: 1px solid #dcb46a73;
}
.loved .fm-dish { padding: 12px 0; border-bottom: 0; }
.loved .fm-dish__name { text-shadow: 0 1px 2px #280408b3, 0 0 18px #3a060bd9; }
.loved .fm-heat { color: #e85a40; }

.fm {
  width: min(720px, 100%); height: min(860px, 100%); max-width: 100%; max-height: 100%;
  margin: auto; padding: 0; border: 1px solid #dcb46a59; border-radius: 4px;
  background: var(--stock); color: var(--paper);
  box-shadow: 0 40px 80px -20px #000c;
}
.fm[open] { display: flex; flex-direction: column; animation: fm-in .45s var(--ease-out); }
.fm::backdrop { background: #0b0706d9; backdrop-filter: blur(4px); }
@keyframes fm-in { from { opacity: 0; transform: translateY(16px); } }

.fm__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 28px 32px 18px; }
.fm__title { font: 600 1.5rem/1 var(--f-sign); letter-spacing: .14em; text-transform: uppercase; color: var(--foil-hi); }
.fm__close {
  flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; color: var(--foil-hi); background: #dcb46a24;
}
.fm__close:hover { background: #dcb46a40; }
.fm__close svg { width: 20px; height: 20px; }

.fm__tabs {
  display: flex; gap: 8px; padding: 0 32px 14px; overflow-x: auto; scrollbar-width: none;
  border-bottom: 1px solid #dcb46a40;
  mask-image: linear-gradient(90deg, transparent 0, #000 24px, #000 calc(100% - 24px), transparent);
}
.fm__tabs::-webkit-scrollbar { display: none; }
.fm-tab {
  flex: none; min-height: 40px; padding: 0 16px; cursor: pointer; white-space: nowrap;
  font: 600 .74rem/1 var(--f-sign); letter-spacing: .16em; text-transform: uppercase;
  color: var(--paper-dim); background: var(--stock-deep);
  border: 1px solid #dcb46a4d; border-radius: 999px;
  transition: color .2s, background-color .2s, border-color .2s;
}
.fm-tab:hover { color: var(--foil-hi); border-color: #dcb46a99; }
.fm-tab[aria-selected="true"] { color: var(--stock-shade); background: var(--foil); border-color: var(--foil); }
.fm-tab:focus-visible, .fm__close:focus-visible { outline: 2px solid var(--foil-hi); outline-offset: 2px; }

.fm__panels { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 8px 32px 32px; }
.fm__foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap;
  padding: 14px 32px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid #dcb46a40;
}
.fm__legend { display: flex; align-items: center; gap: 2px; font-size: .85rem; color: var(--paper-dim); }
.fm__call {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 22px;
  font: 600 .76rem/1 var(--f-sign); letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
  color: var(--stock-shade); background: linear-gradient(105deg, #b8904a 0%, var(--foil) 30%, var(--foil-hi) 48%, var(--foil) 62%, #b8904a 100%) 0 0 / 220% 100%;
  border-radius: 2px; box-shadow: 0 6px 18px -6px #0009, inset 0 1px #fff5d299;
  transition: background-position .6s var(--ease-out), transform .35s var(--ease-out);
}
.fm__call:hover { background-position: 100% 0; transform: translateY(-2px); }
.fm__call:focus-visible { outline: 2px solid var(--foil-hi); outline-offset: 2px; }
.fm__call svg { width: 18px; height: 18px; flex: none; }
.fm__legend .fm-heat { margin: 0 6px 0 0; }

.fm-list { list-style: none; margin: 0; padding: 0; }
.fm-dish { display: flex; align-items: baseline; gap: 10px; padding: 15px 0; border-bottom: 1px solid #dcb46a1f; }
.fm-dish__name { font: 500 1.05rem/1.3 var(--f-body); color: var(--paper); }
.fm-dish__dots { flex: 1; min-width: 16px; border-bottom: 1px dotted #dcb46a59; transform: translateY(-4px); }
.fm-dish__price { flex: none; font: 600 .92rem/1 var(--f-sign); letter-spacing: .06em; color: var(--foil-hi); font-variant-numeric: tabular-nums; }

@media (width <= 600px) {
  .fm { width: 100%; height: 100%; border: 0; border-radius: 0; }
  .fm__head { padding: calc(16px + env(safe-area-inset-top)) 16px 14px; }
  .fm__title { font-size: 1.2rem; }
  .fm__tabs { padding: 0 16px 12px; }
  .fm__panels { padding: 4px 16px 24px; }
  .fm__foot { padding-inline: 16px; }
  .fm__call { width: 100%; }
  .fm-dish__name { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) { .fm[open] { animation: none; } }

/* Rotating tiles (bottom-left) */
.tile {
  position: fixed; z-index: 30; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom));
  display: flex; align-items: center; max-width: min(360px, calc(100vw - 32px));
  background: var(--stock-deep); color: var(--paper);
  border: 1px solid #dcb46a66; border-radius: 4px; box-shadow: 0 18px 40px -16px #000c;
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity .4s var(--ease-out), transform .5s var(--ease-out);
}
.tile.is-in { opacity: 1; transform: none; pointer-events: auto; }
.tile__body { display: flex; align-items: center; gap: 12px; padding: 12px 4px 12px 14px; color: inherit; text-decoration: none; }
.tile__icon {
  flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  color: var(--foil-hi); background: #dcb46a24;
}
.tile__icon svg { width: 16px; height: 16px; }
.tile__text { font: 400 .9rem/1.35 var(--f-body); }
.tile__body:hover .tile__text { color: var(--foil-hi); }
.tile__close {
  flex: none; width: 40px; height: 40px; margin-right: 4px; border: 0; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; color: var(--paper-dim); background: none;
}
.tile__close:hover { color: var(--foil-hi); }
.tile__close svg { width: 14px; height: 14px; }
.tile__body:focus-visible, .tile__close:focus-visible { outline: 2px solid var(--foil-hi); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .tile { transition: opacity .2s; transform: none; } }

/* Nav call button: short label on phones */
@media (width <= 600px) { .bar__call-more { display: none; } }
