/* Reference-led customer menu polish — mobile-first, built for real table-side use. */
@media (max-width: 720px) {
  body {
    --menu-paper: #f3ead8;
    --menu-ink: #201b18;
    --menu-red: #81251e;
    --menu-gold: #b78a46;
    background: var(--menu-paper) !important;
    color: var(--menu-ink) !important;
    overflow-x: hidden;
  }

  html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
  }

  body .wrap {
    position: relative;
    inset-inline: 0;
    width: 100% !important;
    max-width: 520px !important;
    margin-inline: auto !important;
    padding-inline: 16px;
    overflow: hidden;
    background: var(--menu-paper);
  }

  body header {
    min-height: 420px;
    width: 100%;
    max-width: 100%;
    margin-inline: 0;
    padding: 40px 22px 34px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: start;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 28px 28px;
    isolation: isolate;
  }

  body header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
      linear-gradient(180deg, rgba(22,8,5,.15), rgba(22,8,5,.96)),
      url("/demos/restaurant/assets/images/grill-platter-v3.webp") center 38% / cover no-repeat;
  }

  body header::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: radial-gradient(circle at 80% 12%, rgba(255,218,156,.22), transparent 38%);
  }

  body header .emblem,
  body header .logo,
  body header .logo-fallback {
    align-self: flex-start;
    margin: 0 0 auto;
    transform: scale(.78);
    transform-origin: top left;
  }

  [dir="rtl"] body header .emblem,
  [dir="rtl"] body header .logo,
  [dir="rtl"] body header .logo-fallback {
    align-self: flex-end;
    transform-origin: top right;
  }

  body header .tag-line {
    margin: 0 0 10px;
    color: #d7b981;
    letter-spacing: .16em;
  }

  body header h1,
  body header .display {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0;
    color: #fff8ec;
    font-size: clamp(2rem, 9vw, 2.65rem) !important;
    line-height: 1.05;
    text-align: right;
    direction: rtl;
    overflow-wrap: anywhere;
    white-space: normal !important;
  }

  body header .addr,
  body header .sub {
    margin-top: 16px;
    color: rgba(255,248,236,.74);
    text-align: inherit;
  }

  body header .ornament { display: none; }

  body .chips {
    position: sticky;
    top: 0;
    z-index: 40;
    width: 100%;
    max-width: 100%;
    margin: 0 0 22px;
    padding: 14px 16px;
    background: rgba(243,234,216,.94);
    border-bottom: 1px solid rgba(61,40,29,.14);
    backdrop-filter: blur(14px);
  }

  body .chip {
    flex: 0 0 auto;
    min-height: 42px;
    padding-inline: 17px;
    border: 1px solid rgba(61,40,29,.18);
    border-radius: 999px;
    background: transparent;
    color: var(--menu-ink);
  }

  body .chip.on,
  body .chip:hover {
    background: var(--menu-red);
    border-color: var(--menu-red);
    color: #fff9ed;
    box-shadow: none;
  }

  body .msearch {
    width: 100%;
    max-width: 100%;
    min-height: 54px;
    margin-bottom: 42px;
    border: 1px solid rgba(61,40,29,.2);
    border-radius: 16px;
    background: rgba(255,255,255,.54);
    box-shadow: none;
  }

  body .msearch input {
    min-width: 0;
    background: transparent !important;
    color: var(--menu-ink) !important;
  }

  body .sec-head,
  body section > h2 {
    text-align: start;
  }

  body .sec-head .display,
  body section > h2 {
    color: var(--menu-ink);
    font-family: "El Messiri","Cormorant Garamond",serif;
    font-size: 2rem;
    line-height: 1.15;
  }

  body .sec-head .rule { justify-content: flex-start; }

  body .special-grid {
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px;
  }

  body .special-card,
  body .pcard,
  body .item {
    overflow: hidden;
    border: 1px solid rgba(61,40,29,.13);
    border-radius: 20px;
    background: #fffaf0 !important;
    color: var(--menu-ink);
    box-shadow: 0 14px 34px rgba(67,41,23,.08);
  }

  body .special-card {
    padding: 14px;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
  }

  body .special-card .special-top {
    display: grid;
    width: 100%;
    max-width: 100%;
    grid-template-columns: 78px minmax(0, 1fr) !important;
    align-items: center;
    gap: 14px;
  }

  body .special-card .special-top img {
    width: 78px;
    height: 78px;
    border-radius: 14px;
    object-fit: cover;
    grid-row: 1 / span 2;
  }

  body .special-flag,
  body .badge,
  body .save {
    border-radius: 999px;
    background: #efe1c4;
    color: var(--menu-red);
    box-shadow: none;
  }

  body .special-price,
  body .pr,
  body .price {
    color: var(--menu-red);
    font-weight: 800;
  }

  body .pcard > img,
  body .item > img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
  }

  body section,
  body .special-section {
    width: 100%;
    max-width: 100%;
  }

  body .pcard,
  body .row-wrap,
  body .item {
    max-width: 100%;
  }

  body .wa {
    right: 18px;
    bottom: 18px;
    width: 58px;
    height: 58px;
    border: 4px solid var(--menu-paper);
    box-shadow: 0 12px 28px rgba(27,19,15,.22);
  }
}
