/* Cache-safe responsive repair for the full menu page. */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.category-nav {
  width: 100%;
  max-width: 100%;
  overscroll-behavior-inline: contain;
}

.category-nav a {
  flex: 0 0 auto;
}

@media (max-width: 760px) {
  .menu-category {
    width: 100% !important;
    max-width: 100% !important;
    padding: 72px 20px !important;
    overflow: hidden !important;
  }

  .menu-hero {
    width: 100% !important;
    max-width: 100% !important;
    padding-inline: 24px !important;
    overflow: hidden !important;
  }

  .menu-hero h1 {
    width: 100% !important;
    max-width: 100% !important;
    font-size: clamp(3rem, 15vw, 4rem) !important;
    line-height: .92 !important;
    letter-spacing: -.055em !important;
    white-space: normal !important;
  }

  .menu-hero h1 span {
    display: block !important;
  }

  .menu-list {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .menu-list article {
    display: grid !important;
    grid-template-columns: 32px minmax(0, 1fr) !important;
    gap: 10px 14px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 26px 0 !important;
    overflow: hidden !important;
  }

  .item-copy {
    min-width: 0 !important;
  }

  .item-copy h3 {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 10px !important;
    font-size: clamp(1.2rem, 5vw, 1.65rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -.04em !important;
    overflow-wrap: anywhere !important;
  }

  .item-copy p {
    width: 100% !important;
    max-width: 100% !important;
    font-size: .9rem !important;
    line-height: 1.5 !important;
    overflow-wrap: anywhere !important;
  }

  .item-prices,
  .item-prices.four-prices {
    grid-column: 2 !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    justify-content: stretch !important;
    gap: 16px 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-top: 8px !important;
    text-align: left !important;
  }

  .item-prices span {
    min-width: 0 !important;
    font-size: .62rem !important;
  }

  .item-prices b,
  .single-price .item-prices > b {
    font-size: clamp(1.25rem, 6vw, 1.6rem) !important;
  }

  .single-price .item-prices {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 420px) {
  .menu-category {
    padding-inline: 16px !important;
  }

  .menu-hero {
    padding-inline: 20px !important;
  }

  .menu-list article {
    grid-template-columns: 28px minmax(0, 1fr) !important;
  }
}
