/* ==========================================================================
   SPEISEKARTE (menu.html only). Loaded after style.css.
   New header, hero, category bar, dish cards, allergen legend and footer use
   their own mp- classes so the !important rules in style.css do not apply.
   Radius rule: buttons and pills are full-pill, cards 20-24px, chips 7px.
   ========================================================================== */

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../assets/fonts/bricolage-grotesque-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../assets/fonts/bricolage-grotesque-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../assets/fonts/plus-jakarta-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(../assets/fonts/plus-jakarta-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

body.page-menu {
  --bg-base: #FFFFFF;
  --mp-red: #C8102E;
  --mp-red-dark: #A30C25;
  --mp-ink: #181210;
  --mp-text: #3A2F2C;
  --mp-muted: #5E524C;
  --mp-line: #EEE6E2;
  --mp-tomato: #FFF0EC;
  --mp-butter: #FFF4D6;
  --mp-basil: #EAF4E4;
  --mp-soft: #F7F4F3;
  --mp-veg: #2F6B1F;
  --mp-head-h: 76px;
  --mp-display: 'Bricolage Grotesque', system-ui, sans-serif;
  --mp-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  background-color: #FFFFFF !important; /* style.css forces #fcfbf9 on body */
  font-family: var(--mp-body);
  color: var(--mp-text);
}

.mp-wrap {
  width: 100%;
  max-width: 1340px;
  margin: 0 auto;
  padding: 0 32px;
}

.mp-ic {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* Fonts inside the shared cart drawer and checkout modal (style.css uses Cinzel there) */
.page-menu :is(.cart-drawer-header h3, .cart-empty-state h4, .cart-item-price-total, .cart-item-total,
  .cart-summary-row.total-row span:last-child, .checkout-header-title, .cal-title, .checkout-pickup-card h5,
  .receipt-title-wrap h4, .checkout-item-price, .receipt-total-row .total-value, .checkout-modal h3) {
  font-family: var(--mp-display) !important;
  letter-spacing: -0.01em !important;
  text-transform: none !important;
}

/* ---------- Header ---------- */
.mp-head {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #FFFFFF;
  border-bottom: 1px solid var(--mp-line);
}
.mp-head .mp-wrap {
  height: var(--mp-head-h);
  display: flex;
  align-items: center;
  gap: 36px;
  white-space: nowrap;
}
.mp-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex: none;
}
.mp-brand .mp-hat { height: 28px; width: auto; }
.mp-brand .mp-word { height: 34px; width: auto; }
.page-menu .mp-head nav, .page-menu .mp-foot-bottom nav { flex: none; padding: 0; justify-content: flex-start; } /* style.css centres every nav */
.mp-nav {
  display: flex;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.mp-nav a {
  display: block;
  padding: 26px 0 23.5px;
  border-bottom: 2.5px solid transparent;
  color: var(--mp-ink);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: color .2s ease;
}
.mp-nav a:hover { color: var(--mp-red); }
.mp-nav a.active { color: var(--mp-red); border-bottom-color: var(--mp-red); }
.mp-head-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}
.mp-tel {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--mp-ink);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}
.mp-tel:hover { color: var(--mp-red); }
.mp-lang {
  display: flex;
  background: var(--mp-soft);
  border-radius: 99px;
  padding: 3px;
}
.page-menu .mp-lang .lang-btn {
  border: 0;
  background: transparent;
  color: var(--mp-muted);
  font: 600 13px/1 var(--mp-body);
  padding: 7px 11px;
  border-radius: 99px;
  cursor: pointer;
  box-shadow: none;
  min-width: 0;
  height: auto;
}
.page-menu .mp-lang .lang-btn:hover { background: transparent; color: var(--mp-ink); }
.page-menu .mp-lang .lang-btn.active {
  background: #FFFFFF;
  color: var(--mp-ink) !important; /* style.css forces white text on .lang-btn.active */
  box-shadow: 0 1px 2px rgba(24, 18, 16, 0.14);
}
.mp-cart {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--mp-red);
  color: #FFFFFF;
  border: 0;
  padding: 11px 18px;
  border-radius: 99px;
  font: 700 15px/1 var(--mp-body);
  cursor: pointer;
  transition: background .2s ease, transform .1s ease;
}
.mp-cart:hover { background: var(--mp-red-dark); }
.mp-cart:active { transform: scale(0.98); }
.mp-cart .mp-cart-count {
  background: #FFFFFF;
  color: var(--mp-red);
  font-size: 12px;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 99px;
  display: grid;
  place-items: center;
}
.mp-cart .mp-cart-count.bump { animation: mp-bump .35s ease; }
@keyframes mp-bump { 50% { transform: scale(1.25); } }
.mp-burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 99px;
  border: 0;
  background: var(--mp-soft);
  color: var(--mp-ink);
  place-items: center;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.mp-hero .mp-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 64px;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 48px;
}
.mp-hero h1 {
  font-family: var(--mp-display);
  font-size: 76px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0;
}
.mp-hero .mp-lead {
  font-size: 19px;
  line-height: 1.6;
  margin: 20px 0 30px;
  max-width: 30ch;
}
.mp-facts {
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-weight: 600;
  color: var(--mp-ink);
}
.mp-facts li { display: flex; align-items: center; gap: 12px; }
.mp-facts .mp-ic { width: 22px; height: 22px; color: var(--mp-red); }
.mp-hero-img {
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  background: #8E1A12;
}
.mp-hero-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% 50%;
  transform: scale(1.35);
  transform-origin: 72% 52%;
}

/* ---------- Category bar (sticky under the header) ---------- */
.mp-bar {
  position: sticky;
  top: var(--mp-head-h);
  z-index: 90;
  background: #FFFFFF;
  border-top: 1px solid var(--mp-line);
  border-bottom: 1px solid var(--mp-line);
}
.mp-bar .mp-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.mp-search {
  flex: none;
  width: 250px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--mp-line);
  border-radius: 99px;
  padding: 0 16px;
  height: 44px;
  color: var(--mp-muted);
  background: #FFFFFF;
  transition: border-color .2s ease;
}
.mp-search:focus-within { border-color: var(--mp-red); }
.mp-search input {
  border: 0;
  outline: 0;
  background: transparent;
  width: 100%;
  min-width: 0;
  font: 500 15px var(--mp-body);
  color: var(--mp-ink);
}
.mp-search input::placeholder { color: var(--mp-muted); }
.page-menu .mp-search input:focus-visible { outline: 0; box-shadow: none; }
.mp-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  min-width: 0;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(to right, #000 92%, transparent);
  mask-image: linear-gradient(to right, #000 92%, transparent);
}
.mp-pills::-webkit-scrollbar { display: none; }
.mp-pill {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 15px;
  border: 0;
  border-radius: 99px;
  background: var(--mp-soft);
  color: var(--mp-ink);
  font: 600 14px/1 var(--mp-body);
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.mp-pill[hidden] { display: none; }
.mp-pill:hover { background: #EFE8E5; }
.mp-pill .menu-tab-count { color: var(--mp-muted); font-size: 12.5px; }
.mp-pill.active { background: var(--mp-red); color: #FFFFFF; }
.mp-pill.active .menu-tab-count { color: #FFD9D2; }

/* ---------- Offers ---------- */
.mp-offers {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.mp-offer { border-radius: 24px; padding: 28px 32px; }
.mp-offer h2 {
  font-family: var(--mp-display);
  font-size: 22px;
  font-weight: 700;
  margin: 0;
}
.mp-when { color: var(--mp-muted); font-weight: 600; font-size: 14.5px; margin-top: 2px; }
.mp-lunch { background: var(--mp-butter); }
.mp-deal { display: flex; flex-wrap: wrap; gap: 12px 40px; margin: 18px 0 10px; }
.mp-deal div { font-weight: 600; color: var(--mp-ink); }
.mp-deal b {
  display: block;
  font-family: var(--mp-display);
  font-size: 40px;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--mp-ink);
}
.mp-small { font-size: 13.5px; color: var(--mp-muted); }
.mp-extras { background: var(--mp-tomato); }
.mp-extras dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 18px;
  margin: 14px 0 0;
  font-size: 14.5px;
}
.mp-extras dt { font-weight: 700; color: var(--mp-ink); white-space: nowrap; }
.mp-extras dd { margin: 0; color: var(--mp-text); }
.mp-extras .mp-small { margin-top: 12px; }

/* ---------- Dish sections (rendered by js/cart.js) ---------- */
#menuGrid { scroll-margin-top: calc(var(--mp-head-h) + 90px); padding-bottom: 8px; }
.mp-loading { text-align: center; color: var(--mp-muted); padding: 60px 0; }
.mp-cat { padding-top: 48px; }
.mp-cat[hidden], .mp-dish[hidden] { display: none; }
.mp-cat-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; margin-bottom: 20px; }
.mp-cat-head h2 {
  font-family: var(--mp-display);
  font-size: 40px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}
.mp-cat-head span { color: var(--mp-muted); font-weight: 600; }
.mp-band { border-radius: 24px; overflow: hidden; height: 230px; margin-bottom: 28px; }
.mp-band img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 48%; }
.mp-dishes { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.mp-dish {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  background: #FFFFFF;
  border: 1px solid var(--mp-line);
  border-radius: 20px;
  padding: 20px 22px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.mp-dish:hover { border-color: #E2D6D1; box-shadow: 0 6px 20px rgba(200, 16, 46, 0.06); }
.mp-dish h3 {
  display: inline;
  font-family: var(--mp-display);
  font-size: 19px;
  line-height: 1.3;
  font-weight: 700;
  margin: 0 8px 0 0;
}
.mp-dish p { font-size: 14.5px; line-height: 1.55; margin: 6px 0 0; }
.mp-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  vertical-align: 2px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 5px 10px;
  border-radius: 99px;
  background: var(--mp-soft);
  color: var(--mp-text);
}
.mp-tag .mp-ic { width: 14px; height: 14px; }
.mp-tag-veg { background: var(--mp-basil); color: var(--mp-veg); }
.mp-tag-hot { background: var(--mp-tomato); color: var(--mp-red-dark); }
.mp-al-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--mp-muted);
}
.mp-al-row > span { margin-right: 4px; }
.mp-al {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 7px;
  background: var(--mp-soft);
  color: var(--mp-ink);
  font-weight: 800;
  font-size: 12px;
  text-decoration: none;
  cursor: help;
}
.mp-dish-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}
.mp-price {
  font-family: var(--mp-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--mp-ink);
  white-space: nowrap;
}
.mp-add {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 99px;
  background: var(--mp-red);
  color: #FFFFFF;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background .2s ease, transform .1s ease;
}
.mp-add:hover { background: var(--mp-red-dark); }
.mp-add:active { transform: scale(0.94); }
.mp-add .mp-ic { width: 22px; height: 22px; stroke-width: 2.2; }
/* Phone instead of + for dishes still missing allergen letters */
.mp-call {
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--mp-red);
  border-radius: 99px;
  background: #FFFFFF;
  color: var(--mp-red);
  display: grid;
  place-items: center;
  transition: background .2s ease;
}
.mp-call:hover { background: var(--mp-tomato); }
.mp-call .mp-ic { width: 20px; height: 20px; }
.mp-empty {
  text-align: center;
  padding: 56px 20px 24px;
  color: var(--mp-muted);
  font-weight: 600;
}

/* ---------- Allergen legend ---------- */
.mp-legend { background: var(--mp-tomato); margin-top: 64px; padding: 56px 0; scroll-margin-top: calc(var(--mp-head-h) + 70px); }
.mp-legend .mp-wrap {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.mp-legend h2 {
  font-family: var(--mp-display);
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}
.mp-legend p { margin: 12px 0 0; line-height: 1.6; }
.mp-legend ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 32px;
}
.mp-legend li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--mp-ink); }
.mp-legend li b {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: #FFFFFF;
  display: grid;
  place-items: center;
  color: var(--mp-red);
  font-weight: 800;
}

/* ---------- Footer ---------- */
.mp-foot { background: var(--mp-soft); padding: 56px 0 96px; font-size: 15px; margin-top: auto; } /* room for the floating WhatsApp button */
.mp-foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.mp-foot h2 {
  font-family: var(--mp-display);
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 12px;
}
.mp-foot ul { list-style: none; margin: 0; padding: 0; }
.mp-foot li { margin-bottom: 8px; color: var(--mp-text); }
.mp-foot a { color: var(--mp-text); text-decoration: none; }
.mp-foot a:hover { color: var(--mp-red); }
.mp-foot-brand p { margin: 14px 0 0; max-width: 34ch; line-height: 1.6; }
.mp-foot-line { display: flex; gap: 10px; align-items: center; }
.mp-foot-line .mp-ic { width: 18px; height: 18px; color: var(--mp-red); }
.mp-foot-strong { color: var(--mp-ink); font-weight: 700; }
.mp-foot-bottom {
  border-top: 1px solid #E8E0DC;
  margin-top: 40px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
  color: var(--mp-muted);
  font-size: 14px;
}
.mp-foot-bottom nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.mp-foot-bottom nav a { color: var(--mp-ink); font-weight: 600; }

/* ---------- Smaller screens ---------- */
@media (max-width: 1280px) {
  .mp-tel span { display: none; }
  .mp-head .mp-wrap { gap: 28px; }
  .mp-nav { gap: 22px; }
}
@media (max-width: 1100px) {
  .mp-nav, .mp-head-right .mp-lang { display: none; }
  .mp-burger { display: grid; }
}
@media (max-width: 900px) {
  .mp-hero .mp-wrap { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .mp-hero-img { order: -1; }
  .mp-offers, .mp-dishes { grid-template-columns: minmax(0, 1fr); }
  .mp-legend .mp-wrap { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .mp-foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body.page-menu { --mp-head-h: 64px; }
  .mp-wrap { padding: 0 16px; }
  .mp-head .mp-wrap { gap: 10px; }
  .mp-head-right { gap: 8px; }
  .mp-tel { display: none; }
  .mp-brand .mp-hat { height: 24px; }
  .mp-brand .mp-word { height: 30px; }
  .mp-cart { padding: 9px 14px; font-size: 14px; }
  .mp-hero .mp-wrap { gap: 24px; padding-top: 20px; padding-bottom: 28px; }
  .mp-hero h1 { font-size: 48px; }
  .mp-hero .mp-lead { font-size: 17px; margin: 12px 0 20px; }
  .mp-hero-img { aspect-ratio: 16 / 10; border-radius: 22px; }
  .mp-bar .mp-wrap { gap: 10px; padding-top: 10px; padding-bottom: 10px; }
  .mp-search { width: 44px; padding: 0 12px; transition: width .2s ease; }
  .mp-search:focus-within, .mp-search.has-value { width: 100%; }
  .mp-bar .mp-wrap:has(.mp-search:focus-within) .mp-pills,
  .mp-bar .mp-wrap:has(.mp-search.has-value) .mp-pills { display: none; }
  .mp-pills { margin-right: -16px; padding-right: 16px; }
  .mp-offers { margin-top: 24px; gap: 14px; }
  .mp-offer { padding: 22px; border-radius: 20px; }
  .mp-deal b { font-size: 32px; }
  .mp-cat { padding-top: 36px; }
  .mp-cat-head { flex-direction: column; gap: 0; margin-bottom: 14px; }
  .mp-cat-head h2, .mp-legend h2 { font-size: 32px; }
  .mp-band { height: 160px; border-radius: 20px; margin-bottom: 20px; }
  .mp-dishes { gap: 12px; }
  .mp-dish { padding: 16px 18px; gap: 14px; }
  .mp-legend { margin-top: 48px; padding: 40px 0; }
  .mp-legend ul { gap: 10px 16px; }
  .mp-foot-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .mp-foot-bottom { flex-direction: column; }
}
@media (max-width: 380px) {
  .mp-cart .mp-cart-label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .page-menu * { transition: none !important; animation: none !important; }
}
