/* ══════════════════════════════════════
   MENU PAGE
   Mobile: same rounded hero-card + centered title as every other inner
   page (About, Catering, Reservation, Contact).
   Tablet/desktop (768px+): sticky split layout matching the Qitchen
   reference -- hero panel pinned on the left, menu scrolls on the right.
   ══════════════════════════════════════ */

.menu-split {
  display: block;
}

.menu-split__left {
  position: relative;
  height: 480px;
  margin: var(--page-pad);
  border-radius: var(--tile-radius);
  overflow: hidden;
}
.menu-split__left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.45);
}
.menu-split__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 56px;
  gap: 12px;
  text-align: center;
}
.menu-split__title {
  font-family: var(--font-heading);
  font-weight: 400;
  text-transform: uppercase;
  color: var(--cream);
  line-height: 1;
  font-size: clamp(40px, 11vw, 56px);
}

.menu-split__right {
  padding: 40px var(--page-pad) 80px;
}

@media (min-width: 768px) {
  .menu-split {
    display: flex;
    align-items: flex-start;
  }
  .menu-split__left {
    position: sticky;
    top: var(--page-pad);
    width: 42%;
    height: calc(100vh - (var(--page-pad) * 2));
    flex-shrink: 0;
  }
  .menu-split__left img {
    filter: none;
  }
  .menu-split__left::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,11,10,0.85) 0%, rgba(10,11,10,0.15) 45%, rgba(10,11,10,0.55) 100%);
  }
  .menu-split__content {
    align-items: flex-start;
    justify-content: flex-end;
    text-align: left;
    padding-bottom: 0;
    inset: auto auto 48px 40px;
    z-index: 3;
  }
  .menu-split__title {
    font-size: clamp(48px, 6vw, 88px);
    line-height: 0.9;
  }
  .menu-split__right {
    flex: 1;
    min-width: 0;
    padding: 96px 56px 100px;
  }

  /* The site's shared floating nav (header.php's .inner-nav) is normally
     centered across the full page. On the Menu and Drinks pages only, once
     there's enough room for the condensed nav's own content (burger, logo,
     Menu/Our Story, Reserve Table) to fit inside the hero panel's narrower
     21%-of-viewport anchor point, it's centered over the hero panel
     instead (half the panel's own 42% width) at the same 28px top offset
     every other page uses -- position:fixed so it isn't clipped by
     .menu-split__left's overflow:hidden. Between 768-1023px there isn't
     room for that off-center anchor (it pushes the burger off-screen), so
     the nav stays in its default full-page-centered position there, which
     has enough width budget to fit the same condensed content. Condensed
     to Menu/Our Story only (matching the Qitchen reference's compact nav)
     so it stays contained within the hero panel instead of stretching
     across into the scrolling column. */
  @media (min-width: 1200px) {
    body.page-template-page-menu-php .inner-nav,
    body.page-template-page-drinks-php .inner-nav {
      top: 28px;
      left: 21%;
      transform: translateX(-50%);
    }
  }
  body.page-template-page-menu-php .inner-nav__links a[href*="/catering/"],
  body.page-template-page-menu-php .inner-nav__links a[href*="/contact/"],
  body.page-template-page-drinks-php .inner-nav__links a[href*="/catering/"],
  body.page-template-page-drinks-php .inner-nav__links a[href*="/contact/"] {
    display: none;
  }
  /* Catering/Contact are hidden from the inline links above, so the
     burger (normally mobile-only) stays available here to reach them via
     the same slide-out overlay every other page uses on mobile. */
  body.page-template-page-menu-php .inner-nav__burger,
  body.page-template-page-drinks-php .inner-nav__burger {
    display: flex;
  }
  /* Order Online also hidden here (reachable via the burger's Locations
     link) -- otherwise the pill grows wide enough that, centered on the
     hero panel's narrower anchor point, its left edge (starting with the
     burger) pushes off-screen and the burger becomes unreachable. */
  body.page-template-page-menu-php .inner-nav__order,
  body.page-template-page-drinks-php .inner-nav__order {
    display: none;
  }
}

/* ── Category filter bar ── */
.menu-filter {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 16px 0 20px;
  margin-bottom: 32px;
  background: linear-gradient(to bottom, var(--bg) 75%, transparent);
}

.menu-filter__btn {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: none;
  color: var(--cream-muted);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.menu-filter__btn:hover {
  color: var(--cream);
  border-color: rgba(255,255,255,0.3);
}
.menu-filter__btn.active {
  background: var(--cream);
  color: var(--bg);
  border-color: var(--cream);
}

/* ── Section ── */
.menu-section {
  margin-bottom: 8px;
}

/* Category header with flanking dividers, e.g. "— MAKI —" */
.menu-cat-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  margin: 48px 0 24px;
}
.menu-section:first-child .menu-cat-divider { margin-top: 0; }
.menu-cat-divider::before, .menu-cat-divider::after {
  content: '';
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: var(--border);
}
.menu-cat-divider span {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--cream);
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.menu-section__note {
  text-align: center;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--cream-muted);
  margin: -12px 0 24px;
  font-style: italic;
}

/* ── Menu list ── */
.menu-list {
  display: flex;
  flex-direction: column;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px;
  margin: 0 -12px;
  border-bottom: 1px solid var(--border);
  border-radius: var(--tile-radius);
  transition: background 0.25s var(--ease), padding-left 0.25s var(--ease);
}

.menu-item:hover {
  background: var(--surface);
  padding-left: 20px;
}

.menu-item:hover .menu-item__name { color: var(--gold); }

.menu-item__body {
  flex: 1;
  min-width: 0;
}

.menu-item__row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  margin-bottom: 4px;
}

.menu-item__name {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 400;
  color: var(--cream);
  white-space: nowrap;
  flex-shrink: 0;
}

.menu-item__dots {
  flex: 1;
  border-bottom: 1px dotted var(--border);
  min-width: 24px;
  margin-bottom: 4px;
}

.menu-item__price {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 400;
  color: var(--gold);
  white-space: nowrap;
  flex-shrink: 0;
}

.menu-item__desc {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  color: var(--cream-muted);
  line-height: 1.5;
}

@media (max-width: 640px) {
  .menu-item__name { font-size: 16px; }
  .menu-item__price { font-size: 16px; }
}
