/* =========================================================
   JAI'S v2 — Menu page
   ========================================================= */

.page-menu { background: var(--paper); }

/* Intro band */
.mhero {
  background: var(--cream);
  padding: calc(var(--header-h) + 14px + clamp(36px, 5vw, 64px)) 0 clamp(28px, 4vw, 44px);
  border-bottom: 1px solid #ECE4D8;
}
.mhero__inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; }
.mhero__title {
  font-family: var(--f-display); font-weight: 850; font-stretch: 70%;
  font-size: clamp(56px, 9vw, 120px); line-height: .9; text-transform: uppercase; color: var(--maroon);
}
.mhero__sub { color: var(--ink-2); font-size: 18px; margin-top: 10px; }

/* Sticky category chips */
.catnav {
  position: sticky; top: calc(var(--header-h) + 22px); z-index: 50;
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid #ECE4D8;
}
.catnav__track {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
  max-width: var(--container); margin: 0 auto; padding: 12px var(--gutter);
  scroll-snap-type: x proximity;
}
.catnav__track::-webkit-scrollbar { display: none; }
.catnav a {
  flex: none; scroll-snap-align: start;
  padding: 8px 16px; border-radius: var(--r-pill); border: 1.5px solid #E6DCCD;
  font-family: var(--f-display); font-weight: 800; font-stretch: 75%; font-size: 17px; letter-spacing: .02em;
  text-transform: uppercase; text-decoration: none; color: var(--maroon); white-space: nowrap;
  transition: background-color .15s, color .15s, border-color .15s;
}
.catnav a:hover { border-color: var(--maroon); }
.catnav a.is-active { background: var(--maroon); border-color: var(--maroon); color: #fff; }

/* The header pill sits over a white/cream page here */
.header--page .header__pill { background: rgba(251, 245, 236, .94); }

/* Sections */
.mbody { padding-top: 12px; padding-bottom: clamp(64px, 8vw, 110px); }
.msec { padding-top: clamp(40px, 5vw, 64px); scroll-margin-top: calc(var(--header-h) + 90px); }
.msec__head { margin-bottom: 22px; }
.msec__title {
  font-family: var(--f-display); font-weight: 850; font-stretch: 70%;
  font-size: clamp(38px, 5vw, 58px); line-height: .95; text-transform: uppercase; color: var(--maroon);
}
.msec__blurb { color: var(--ink-2); margin-top: 8px; max-width: 46em; }
.flavor-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.flavor-chips li { background: var(--cream); border: 1px solid #ECE0CE; color: var(--maroon); border-radius: var(--r-pill); padding: 5px 12px; font-size: 14px; font-weight: 600; }

/* Dish cards */
.dishes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.dish {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid #EEE6DA; border-radius: 22px; overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s;
}
.dish:hover { transform: translateY(-3px); box-shadow: 0 16px 36px -20px rgba(74, 26, 14, .35); border-color: #E2D5C2; }
.dish__img {
  height: 170px; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(ellipse at 50% 60%, #FBF5EC 0%, #FFFFFF 70%);
  padding: 14px 12px 4px;
}
.dish__img img {
  max-width: 92%; max-height: 100%; width: auto; height: auto; object-fit: contain;
  filter: drop-shadow(0 12px 10px rgba(74, 26, 14, .18));
  transition: transform .35s cubic-bezier(.2, .8, .3, 1.3);
}
.dish:hover .dish__img img { transform: scale(1.06) rotate(-1.5deg); }
.dish__img--none { background: repeating-linear-gradient(-45deg, #FBF5EC 0 12px, #F6EEE2 12px 24px); }
.dish__body { display: flex; flex-direction: column; flex: 1; padding: 14px 18px 18px; }
.dish .mtag { align-self: flex-start; margin-bottom: 6px; }
.dish__name {
  font-family: var(--f-display); font-weight: 800; font-stretch: 72%;
  font-size: 24px; line-height: 1.02; text-transform: uppercase; color: var(--maroon); letter-spacing: .01em;
}
.dish__desc { color: var(--ink-2); font-size: 14.5px; line-height: 1.45; margin-top: 6px; }
.dish__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; flex-wrap: wrap; }
.dish__price { font-family: var(--f-display); font-weight: 850; font-stretch: 95%; font-size: 22px; color: var(--ink); }
.dish__price small { font-family: var(--f-body); font-weight: 600; font-size: 13px; color: var(--muted); }
.sizes { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; border: 1px solid #E6DCCD; border-radius: 12px; overflow: hidden; width: 100%; }
.sizes li { display: flex; flex-direction: column; align-items: center; padding: 6px 4px; font-variant-numeric: tabular-nums; }
.sizes li + li { border-left: 1px solid #E6DCCD; }
.sizes__label { font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.sizes__price { font-family: var(--f-display); font-weight: 800; font-stretch: 95%; font-size: 16px; color: var(--ink); white-space: nowrap; }
.dish__foot--sizes { flex-direction: column; align-items: stretch; }
.dish__foot--sizes .dish__order { align-self: flex-start; }
.dish__order {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: var(--r-pill);
  background: var(--red); color: #fff; text-decoration: none;
  font-family: var(--f-display); font-weight: 750; font-size: 13px; letter-spacing: .05em; text-transform: uppercase;
  transition: background-color .15s;
}
.dish__order:hover { background: var(--red-deep); }
.dish__order::after { content: ""; position: absolute; inset: 0; } /* whole card is clickable */

@media (min-width: 1101px) { #combos .dishes { grid-template-columns: repeat(5, 1fr); } }

/* Compact grid (drinks, dips) */
.dishes--compact { grid-template-columns: repeat(6, 1fr); gap: 14px; }
.dish--compact .dish__img { height: 118px; }
.dish--compact .dish__body { padding: 10px 12px 14px; }
.dish--compact .dish__name { font-size: 19px; }
.dish--compact .dish__price { font-size: 18px; }
.dish--compact .dish__order { font-size: 0; padding: 0; min-height: 0; background: none; }
.dish--compact .dish__foot { padding-top: 8px; }
.dish--compact .sizes__price { font-size: 14px; }
.dish--compact .sizes li { padding: 4px 2px; }

.mnote { margin-top: 48px; color: var(--muted); font-size: 14px; text-align: center; }

/* Responsive */
@media (max-width: 1100px) {
  .dishes { grid-template-columns: repeat(3, 1fr); }
  .dishes--compact { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
  .catnav { top: calc(var(--header-h) + 16px); }
}
@media (max-width: 760px) {
  .dishes { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .dishes--compact { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .dish { border-radius: 18px; }
  .dish__img { height: 120px; padding: 10px 8px 2px; }
  .dish__body { padding: 10px 12px 14px; }
  .dish__name { font-size: 19px; }
  .dish__desc { font-size: 13px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
  .dish__price { font-size: 18px; }
  .dish__order { font-size: 0; padding: 0; min-height: 0; background: none; }
  .sizes { grid-auto-flow: row; }
  .sizes li { flex-direction: row; justify-content: space-between; align-items: baseline; padding: 4px 8px; }
  .sizes li + li { border-left: 0; border-top: 1px solid #E6DCCD; }
  .sizes__price { font-size: 14px; }
  .sizes__label { font-size: 10px; }
  .dish--compact .dish__img { height: 90px; }
  .dish--compact .dish__name { font-size: 16px; }
  .mhero__inner .btn { width: 100%; }
  .catnav a { font-size: 15px; padding: 7px 13px; }
}
