/* Shared mobile refinement layer for the v22 client-review build. */
.mobile-nav-toggle,
.mobile-nav-drawer {
  display: none;
}

@media (max-width: 680px) {
  .site-header,
  .menu-header,
  .sx-header {
    align-items: center;
    background: rgba(255, 250, 242, 0.94);
    backdrop-filter: blur(18px) saturate(1.08);
    border-bottom: 1px solid rgba(45, 33, 29, 0.1);
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    height: 74px;
    padding: 12px 16px;
    z-index: 80;
  }

  .sx-header {
    position: sticky;
    top: 0;
  }

  .site-header nav,
  .menu-header > p,
  .menu-header .header-drop,
  .sx-nav {
    display: none;
  }

  .site-header .brand,
  .menu-header .brand,
  .sx-logo {
    flex: none;
  }

  .sx-header .sx-logo img {
    height: auto;
    width: 84px;
  }

  .mobile-nav-toggle {
    align-items: center;
    background: transparent;
    border: 1px solid rgba(45, 33, 29, 0.34);
    border-radius: 999px;
    color: #2d211d;
    display: inline-flex;
    flex: none;
    font: inherit;
    font-size: 10px;
    gap: 7px;
    height: 44px;
    justify-content: center;
    margin-left: auto;
    min-width: 64px;
    padding: 0 11px;
  }

  .mobile-nav-toggle > span:first-child {
    border-bottom: 1px solid currentColor;
    border-top: 1px solid currentColor;
    display: block;
    height: 7px;
    width: 12px;
  }

  .site-header .header-order,
  .menu-header .header-order:not(.header-drop),
  .sx-header .sx-order {
    align-items: center;
    display: inline-flex;
    height: 44px;
    justify-content: center;
    margin-left: 0;
    min-height: 44px;
  }

  .sx-header .sx-order {
    font-size: 10px;
    padding: 0 13px;
  }

  .mobile-nav-drawer {
    background: rgba(45, 33, 29, 0.42);
    display: block;
    inset: 0;
    overflow: auto;
    padding-top: 74px;
    position: fixed;
    z-index: 999;
  }

  .mobile-nav-drawer[hidden] {
    display: none;
  }

  .mobile-nav-panel {
    background: #fffaf2;
    border-top: 1px solid rgba(45, 33, 29, 0.12);
    box-shadow: 0 28px 70px rgba(45, 33, 29, 0.26);
    color: #2d211d;
    min-height: min(620px, calc(100svh - 74px));
    padding: 18px 20px 34px;
  }

  .mobile-nav-panel-head {
    align-items: center;
    color: rgba(45, 33, 29, 0.72);
    display: flex;
    font-size: 9px;
    font-weight: 700;
    justify-content: space-between;
    letter-spacing: 0.13em;
    padding: 0 0 13px;
    text-transform: uppercase;
  }

  .mobile-nav-close {
    background: transparent;
    border: 0;
    border-bottom: 1px solid currentColor;
    color: #2d211d;
    font: inherit;
    height: 44px;
    min-width: 44px;
    padding: 0 4px;
  }

  .mobile-nav-panel nav {
    display: grid;
  }

  .mobile-nav-panel nav a {
    align-items: center;
    border-top: 1px solid rgba(45, 33, 29, 0.14);
    color: inherit;
    display: grid;
    font-family: "Lora", Georgia, serif;
    font-size: clamp(24px, 7vw, 32px);
    font-style: italic;
    grid-template-columns: 34px 1fr auto;
    line-height: 1.05;
    min-height: 62px;
    padding: 8px 4px;
    text-decoration: none;
  }

  .mobile-nav-panel nav a > span {
    color: #9f163a;
    font-family: "Bricolage", Arial, sans-serif;
    font-size: 9px;
    font-style: normal;
    letter-spacing: 0.1em;
  }

  .mobile-nav-panel nav a b {
    font-family: "Bricolage", Arial, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
  }

  .mobile-nav-panel nav .mobile-nav-order {
    color: #9f163a;
  }

  body.mobile-nav-open {
    overflow: hidden;
  }

  /* Prevent the animated homepage title from clipping at narrow widths. */
  .character-hero h1 {
    font-size: clamp(72px, 22vw, 102px);
    letter-spacing: -0.065em;
    line-height: 0.8;
    max-width: calc(100vw - 26px);
  }

  /* Keep the ordering title clear of the product parade. */
  .order-guide {
    padding-top: 310px;
  }

  .order-guide-lead h2,
  .order-guide h2 {
    font-size: clamp(46px, 13.2vw, 56px);
    letter-spacing: -0.045em;
    line-height: 0.9;
    margin: 18px 0 28px;
  }

  .order-guide-lead h2 > span,
  .order-guide-lead h2 > em {
    display: block;
  }

  .order-guide-lead h2 > em {
    font-size: 0.5em;
    letter-spacing: -0.035em;
    line-height: 1.08;
    margin: 0.38em 0 0 0.18em;
  }

  /* Category pills select the photo; the large rail is presentation-only on mobile. */
  .menu-card-rail button {
    cursor: default;
  }

  .menu-card-rail button > small {
    letter-spacing: 0.12em;
  }

  .menu-mobile-tabs {
    box-shadow: inset -20px 0 18px -20px rgba(45, 33, 29, 0.72);
    padding-bottom: 4px;
    padding-right: 22px;
    scrollbar-width: none;
  }

  .menu-mobile-tabs::-webkit-scrollbar {
    display: none;
  }

  .menu-mobile-tabs button {
    min-height: 44px;
    padding-bottom: 0;
    padding-top: 0;
  }

  .category-pill > a {
    min-height: 44px;
    min-width: 44px;
  }
}

@media (max-width: 360px) {
  .site-header,
  .menu-header,
  .sx-header {
    padding-left: 10px;
    padding-right: 10px;
  }

  .brand-logo {
    height: 40px;
    width: 81px;
  }

  .sx-header .sx-logo img {
    width: 78px;
  }

  .mobile-nav-label {
    display: none;
  }

  .mobile-nav-toggle {
    min-width: 44px;
    padding: 0 10px;
  }

  .header-order,
  .sx-order {
    padding-left: 10px;
    padding-right: 10px;
  }
}
