/* =====================================================================================
   css/shell.css: the shared Yolk header ("shell") for i.eatyolk.com, catering.eatyolk.com
   and (later) eatyolk.com. Markup: shell/header.html. Behaviour: js/app.js in the SPA,
   js/shell.js elsewhere.

   SELF-SUFFICIENT: a blank page that loads only Poppins + this file + the partial renders the
   header and dropdown. Do not make it depend on css/style.css.
   ONE COPY: these rules were moved here out of css/style.css. Do not re-add header rules there.
   CASCADE: index.html and lib/menu-page.html load this file immediately AFTER style.css, so on
   an equal-specificity tie a rule here beats style.css. View-state rules that hide/fade the
   header (body.promo-active, body.qr-scanner-active, body.map-fullscreen, body.cards-entering)
   stay in style.css; they out-specify or !important everything here. lib/menu-page.html keeps
   its own inline overrides (z-index 10050+, poc-condensed, poc-lock), which load after this.

   Rules below keep their original style.css order. font-size values that were rem are written
   in px: both templates pin html{font-size:16px}, so they are value-identical there.
   ===================================================================================== */

/* Brand tokens the shell needs (moved from style.css :root; style.css keeps the rest). */
:root {
  --safe-area-inset-top: env(safe-area-inset-top);
  --safe-area-inset-bottom: env(safe-area-inset-bottom);
  --yolk-blue: #16214d;
  --yolk-yellow: #f8dc12;
  --yolk-off-white: #f5f3ed;
  --yolk-gray: #808080;
  --header-height: 58px;
}

/* Inherited-type baseline. In the SPA and the menu page these equal what the header already
   inherits (html 16px, line-height normal, Poppins body), so they change nothing there; they
   stop a host page with different body type (eatyolk.com) from leaking into the shell. */
header.tab-container,
#app-menu-dropdown {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: normal;
}

/* Yolk inline vector icons - cross-platform emoji replacements */
i.yi {
    display: inline-block;
    width: 1.15em;
    height: 1.15em;
    vertical-align: -0.2em;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
i.yi-egg { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f8dc12'%3E%3Cpath d='M12 3C8.68 3 6 7.58 6 13c0 3.31 2.69 6 6 6s6-2.69 6-6c0-5.42-2.68-10-6-10z'/%3E%3C/svg%3E"); }
i.yi-sparkle { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f8dc12'%3E%3Cpath d='M19 9l1.25-2.75L23 5l-2.75-1.25L19 1l-1.25 2.75L15 5l2.75 1.25zM11.5 9.5L9 4 6.5 9.5 1 12l5.5 2.5L9 20l2.5-5.5L17 12zM19 15l-1.25 2.75L15 19l2.75 1.25L19 23l1.25-2.75L23 19l-2.75-1.25z'/%3E%3C/svg%3E"); }
i.yi-gift { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f8dc12'%3E%3Cpath d='M20 6h-2.18c.11-.31.18-.65.18-1 0-1.66-1.34-3-3-3-.86 0-1.64.37-2.18.97L12 3.88l-.82-.91C10.64 2.37 9.86 2 9 2 7.34 2 6 3.34 6 5c0 .35.07.69.18 1H4c-1.1 0-2 .9-2 2v11c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm-5-2c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zM9 4c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm11 15H4v-2h16v2zm0-5H4V8h5.08L7 10.83 8.62 12 12 7.4l3.38 4.6L17 10.83 14.92 8H20v6z'/%3E%3C/svg%3E"); }
i.yi-cake { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f8dc12'%3E%3Cpath d='M12 6c1.11 0 2-.9 2-2 0-.38-.1-.73-.29-1.03L12 0l-1.71 2.97c-.19.3-.29.65-.29 1.03 0 1.1.9 2 2 2zm4.6 9.99l-1.07-1.07-1.08 1.07c-1.3 1.3-3.58 1.31-4.89 0l-1.07-1.07-1.09 1.07C6.75 16.64 5.88 17 4.96 17c-.73 0-1.4-.23-1.96-.61V21c0 .55.45 1 1 1h16c.55 0 1-.45 1-1v-4.61c-.56.38-1.23.61-1.96.61-.92 0-1.79-.36-2.44-1.01zM18 9h-5V7h-2v2H6c-1.66 0-3 1.34-3 3v1.54c0 1.08.88 1.96 1.96 1.96.52 0 1.02-.2 1.38-.57l2.14-2.13 2.13 2.13c.74.74 2.03.74 2.77 0l2.14-2.13 2.13 2.13c.37.37.86.57 1.38.57 1.08 0 1.96-.88 1.96-1.96V12c.01-1.66-1.33-3-2.99-3z'/%3E%3C/svg%3E"); }
i.yi-truck { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f8dc12'%3E%3Cpath d='M20 8h-3V4H3c-1.1 0-2 .9-2 2v11h2c0 1.66 1.34 3 3 3s3-1.34 3-3h6c0 1.66 1.34 3 3 3s3-1.34 3-3h2v-5l-3-4zM6 18.5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm13.5-9l1.96 2.5H17V9.5h2.5zm-1.5 9c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5z'/%3E%3C/svg%3E"); }
i.yi-calendar { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f8dc12'%3E%3Cpath d='M17 12h-5v5h5v-5zM16 1v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-1V1h-2zm3 18H5V8h14v11z'/%3E%3C/svg%3E"); }
i.yi-clipboard { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f8dc12'%3E%3Cpath d='M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm2 14H7v-2h7v2zm3-4H7v-2h10v2zm0-4H7V7h10v2z'/%3E%3C/svg%3E"); }
i.yi-catering { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f8dc12'%3E%3Cpath d='M2 17h20v2H2zm11.84-9.21c.1-.24.16-.51.16-.79 0-1.1-.9-2-2-2s-2 .9-2 2c0 .28.06.55.16.79C6.25 8.6 3 12.42 3 17h18c0-4.58-3.25-8.4-7.16-9.21z'/%3E%3C/svg%3E"); }
i.yi-map { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f8dc12'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E"); }

/* Icons inside the shared rewards boxes (shell/modals.html) take the THEME colour (owner, 12/03/2026).
   The pictures above are painted yellow, which is right on navy but almost invisible on the white
   box of the light theme. Here the same picture is used as a mask and the colour comes from
   --mp-accent-ink: yellow in dark, navy in light, on every site. GENERATED from the nine rules
   above: if an icon is added or redrawn there, repeat it here. Browsers without mask support
   ignore the @supports block and keep the yellow pictures. */
@supports ((-webkit-mask-image: none) or (mask-image: none)) {
    .modal-overlay[data-shell-modal] i.yi {
        background-image: none;
        background-color: var(--mp-accent-ink, var(--yolk-yellow));
        -webkit-mask-size: contain; mask-size: contain;
        -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
        -webkit-mask-position: center; mask-position: center;
    }
    .modal-overlay[data-shell-modal] i.yi-egg { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f8dc12'%3E%3Cpath d='M12 3C8.68 3 6 7.58 6 13c0 3.31 2.69 6 6 6s6-2.69 6-6c0-5.42-2.68-10-6-10z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f8dc12'%3E%3Cpath d='M12 3C8.68 3 6 7.58 6 13c0 3.31 2.69 6 6 6s6-2.69 6-6c0-5.42-2.68-10-6-10z'/%3E%3C/svg%3E"); }
    .modal-overlay[data-shell-modal] i.yi-sparkle { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f8dc12'%3E%3Cpath d='M19 9l1.25-2.75L23 5l-2.75-1.25L19 1l-1.25 2.75L15 5l2.75 1.25zM11.5 9.5L9 4 6.5 9.5 1 12l5.5 2.5L9 20l2.5-5.5L17 12zM19 15l-1.25 2.75L15 19l2.75 1.25L19 23l1.25-2.75L23 19l-2.75-1.25z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f8dc12'%3E%3Cpath d='M19 9l1.25-2.75L23 5l-2.75-1.25L19 1l-1.25 2.75L15 5l2.75 1.25zM11.5 9.5L9 4 6.5 9.5 1 12l5.5 2.5L9 20l2.5-5.5L17 12zM19 15l-1.25 2.75L15 19l2.75 1.25L19 23l1.25-2.75L23 19l-2.75-1.25z'/%3E%3C/svg%3E"); }
    .modal-overlay[data-shell-modal] i.yi-gift { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f8dc12'%3E%3Cpath d='M20 6h-2.18c.11-.31.18-.65.18-1 0-1.66-1.34-3-3-3-.86 0-1.64.37-2.18.97L12 3.88l-.82-.91C10.64 2.37 9.86 2 9 2 7.34 2 6 3.34 6 5c0 .35.07.69.18 1H4c-1.1 0-2 .9-2 2v11c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm-5-2c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zM9 4c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm11 15H4v-2h16v2zm0-5H4V8h5.08L7 10.83 8.62 12 12 7.4l3.38 4.6L17 10.83 14.92 8H20v6z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f8dc12'%3E%3Cpath d='M20 6h-2.18c.11-.31.18-.65.18-1 0-1.66-1.34-3-3-3-.86 0-1.64.37-2.18.97L12 3.88l-.82-.91C10.64 2.37 9.86 2 9 2 7.34 2 6 3.34 6 5c0 .35.07.69.18 1H4c-1.1 0-2 .9-2 2v11c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm-5-2c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zM9 4c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm11 15H4v-2h16v2zm0-5H4V8h5.08L7 10.83 8.62 12 12 7.4l3.38 4.6L17 10.83 14.92 8H20v6z'/%3E%3C/svg%3E"); }
    .modal-overlay[data-shell-modal] i.yi-cake { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f8dc12'%3E%3Cpath d='M12 6c1.11 0 2-.9 2-2 0-.38-.1-.73-.29-1.03L12 0l-1.71 2.97c-.19.3-.29.65-.29 1.03 0 1.1.9 2 2 2zm4.6 9.99l-1.07-1.07-1.08 1.07c-1.3 1.3-3.58 1.31-4.89 0l-1.07-1.07-1.09 1.07C6.75 16.64 5.88 17 4.96 17c-.73 0-1.4-.23-1.96-.61V21c0 .55.45 1 1 1h16c.55 0 1-.45 1-1v-4.61c-.56.38-1.23.61-1.96.61-.92 0-1.79-.36-2.44-1.01zM18 9h-5V7h-2v2H6c-1.66 0-3 1.34-3 3v1.54c0 1.08.88 1.96 1.96 1.96.52 0 1.02-.2 1.38-.57l2.14-2.13 2.13 2.13c.74.74 2.03.74 2.77 0l2.14-2.13 2.13 2.13c.37.37.86.57 1.38.57 1.08 0 1.96-.88 1.96-1.96V12c.01-1.66-1.33-3-2.99-3z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f8dc12'%3E%3Cpath d='M12 6c1.11 0 2-.9 2-2 0-.38-.1-.73-.29-1.03L12 0l-1.71 2.97c-.19.3-.29.65-.29 1.03 0 1.1.9 2 2 2zm4.6 9.99l-1.07-1.07-1.08 1.07c-1.3 1.3-3.58 1.31-4.89 0l-1.07-1.07-1.09 1.07C6.75 16.64 5.88 17 4.96 17c-.73 0-1.4-.23-1.96-.61V21c0 .55.45 1 1 1h16c.55 0 1-.45 1-1v-4.61c-.56.38-1.23.61-1.96.61-.92 0-1.79-.36-2.44-1.01zM18 9h-5V7h-2v2H6c-1.66 0-3 1.34-3 3v1.54c0 1.08.88 1.96 1.96 1.96.52 0 1.02-.2 1.38-.57l2.14-2.13 2.13 2.13c.74.74 2.03.74 2.77 0l2.14-2.13 2.13 2.13c.37.37.86.57 1.38.57 1.08 0 1.96-.88 1.96-1.96V12c.01-1.66-1.33-3-2.99-3z'/%3E%3C/svg%3E"); }
    .modal-overlay[data-shell-modal] i.yi-truck { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f8dc12'%3E%3Cpath d='M20 8h-3V4H3c-1.1 0-2 .9-2 2v11h2c0 1.66 1.34 3 3 3s3-1.34 3-3h6c0 1.66 1.34 3 3 3s3-1.34 3-3h2v-5l-3-4zM6 18.5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm13.5-9l1.96 2.5H17V9.5h2.5zm-1.5 9c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f8dc12'%3E%3Cpath d='M20 8h-3V4H3c-1.1 0-2 .9-2 2v11h2c0 1.66 1.34 3 3 3s3-1.34 3-3h6c0 1.66 1.34 3 3 3s3-1.34 3-3h2v-5l-3-4zM6 18.5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5zm13.5-9l1.96 2.5H17V9.5h2.5zm-1.5 9c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5 1.5.67 1.5 1.5-.67 1.5-1.5 1.5z'/%3E%3C/svg%3E"); }
    .modal-overlay[data-shell-modal] i.yi-calendar { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f8dc12'%3E%3Cpath d='M17 12h-5v5h5v-5zM16 1v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-1V1h-2zm3 18H5V8h14v11z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f8dc12'%3E%3Cpath d='M17 12h-5v5h5v-5zM16 1v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2h-1V1h-2zm3 18H5V8h14v11z'/%3E%3C/svg%3E"); }
    .modal-overlay[data-shell-modal] i.yi-clipboard { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f8dc12'%3E%3Cpath d='M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm2 14H7v-2h7v2zm3-4H7v-2h10v2zm0-4H7V7h10v2z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f8dc12'%3E%3Cpath d='M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm2 14H7v-2h7v2zm3-4H7v-2h10v2zm0-4H7V7h10v2z'/%3E%3C/svg%3E"); }
    .modal-overlay[data-shell-modal] i.yi-catering { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f8dc12'%3E%3Cpath d='M2 17h20v2H2zm11.84-9.21c.1-.24.16-.51.16-.79 0-1.1-.9-2-2-2s-2 .9-2 2c0 .28.06.55.16.79C6.25 8.6 3 12.42 3 17h18c0-4.58-3.25-8.4-7.16-9.21z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f8dc12'%3E%3Cpath d='M2 17h20v2H2zm11.84-9.21c.1-.24.16-.51.16-.79 0-1.1-.9-2-2-2s-2 .9-2 2c0 .28.06.55.16.79C6.25 8.6 3 12.42 3 17h18c0-4.58-3.25-8.4-7.16-9.21z'/%3E%3C/svg%3E"); }
    .modal-overlay[data-shell-modal] i.yi-map { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f8dc12'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f8dc12'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E"); }
}

/* Enhanced scrollbar visibility for menu dropdowns */
.menu-dropdown-list::-webkit-scrollbar { width: 12px; }
.menu-dropdown-list::-webkit-scrollbar-track { 
  background: rgba(22, 33, 77, 0.3); 
  border-radius: 6px;
  border: 1px solid rgba(248, 220, 18, 0.2);
}
.menu-dropdown-list::-webkit-scrollbar-thumb { 
  background: linear-gradient(180deg, var(--yolk-yellow) 0%, #e6c040 100%); 
  border-radius: 6px;
  border: 1px solid rgba(22, 33, 77, 0.2);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.menu-dropdown-list::-webkit-scrollbar-thumb:hover { 
  background: linear-gradient(180deg, #fff4a3 0%, var(--yolk-yellow) 100%); 
}

/* Firefox scrollbar styling will be added to existing .menu-dropdown-list rule */

@keyframes headerSlideIn {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}
header.tab-container.header-slide-in {
    animation: headerSlideIn 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* --- HEADER STYLES --- */
header.tab-container {
    background-color: var(--yolk-yellow);
    width: 100%;
    height: calc(var(--header-height) + var(--safe-area-inset-top));
    z-index: 1000;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    transition: box-shadow 0.2s ease-in-out, visibility 0.1s;
    pointer-events: auto;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

#app-menu-container,
#rewards-logo-button {
  pointer-events: auto;
}

.header-content-wrapper {
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    height: var(--header-height);
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    position: relative;
}

.tab-side {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    height: 100%;
    box-sizing: border-box;
}
.tab-side.left { 
    left: calc(10px + env(safe-area-inset-left)); 
}
.tab-side.right { 
    right: calc(10px + env(safe-area-inset-right)); 
}

.center-logo-container {
    position: relative;
    top: 2px;
    z-index: 1001;
    pointer-events: none;
    grid-column: 2;
}
/* Same header position on every page (Peter, 12/02/2026). The header spans the page width, which
   is the window MINUS a classic scrollbar when the page scrolls (apex pages, menu pages) but the
   full window when it does not (the map page scrolls inside itself). So the whole bar, logo and
   buttons, sat half a scrollbar further left on scrolling pages. Fix: centre the bar on the WINDOW.
   100vw includes the scrollbar and 100cqw is the header's own width, so half the difference is the
   correction; it is 0 where there is no classic scrollbar (phones, overlay scrollbars, the map page).
   The bar moves by that amount, but never further than the free space beside it, so the cart can
   not slide under the scrollbar on a narrow window; the logo takes whatever is left, so it is
   window-centred at every width. --shell-wrap-max must equal the wrapper's max-width.
   Uses the standalone `translate` property so it adds to, and never replaces, any `transform`
   (the menu page's condensed header transforms the logo). Browsers without container units ignore
   all of this and keep the old behaviour. */
@supports (width: 1cqw) {
    header.tab-container {
        container-type: inline-size;
        --shell-sb-half: calc((100vw - 100cqw) / 2);
        --shell-bar-shift: min(var(--shell-sb-half), max(0px, (100cqw - var(--shell-wrap-max, 860px)) / 2));
    }
    .header-content-wrapper { translate: var(--shell-bar-shift) 0; }
    .center-logo-container { translate: calc(var(--shell-sb-half) - var(--shell-bar-shift)) 0; }
}

#rewards-logo-button {   /* id is historical: this is the HOME link now (shell/header.html) */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    /* The "Rewards" / "Catering Menu" pill that sat above the logo is gone on every site (12/02/2026).
       It used to set where the logo lands: in this column the pill was 28px tall (12px Poppins
       SemiBold, line-height normal = 1.5 from the font's typo metrics, USE_TYPO_METRICS set ->
       18px, + 4+4 padding + 1+1 border) with margin-bottom:-10px, so the logo started 28 - 10 = 18px
       below the top of this box (2px + 18px = 20px below the 58px bar's top, bottom at 88px:
       30px of overhang). This padding holds it exactly there, and keeps the column 86px tall, so
       the grid row and everything measured from it are unchanged. (Catering's smaller pill put its
       logo 4-6px higher: 13.92px pill line at <=430px, 15.36px above. All hosts now use i.'s spot.)
       UPDATE 12/03/2026 (owner): the logo sits at the TOP of the bar with a slight overhang, not
       hung low. 2px + 2px = 4px below the bar's top, bottom at 72px: 14px of overhang. The 16px
       moved to the bottom padding keeps the column 86px tall, so nothing measured from it moves. */
    padding-top: 2px;
    padding-bottom: 16px;
}
#rewards-logo-button:focus-visible { outline: 2px solid var(--yolk-blue); outline-offset: 2px; border-radius: 8px; }
#rewards-logo-button img {
    max-width: 80px;
    max-height: 68px;
    /* Elevated look (Peter, 12/02/2026): a soft shadow all the way round plus a deeper one beneath,
       so the mark reads as raised both on the yellow bar and where it overhangs a navy page. The
       old single 0 4px 5px / 0.35 shadow vanished against navy. drop-shadow follows the round
       artwork, not the image box. */
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.55)) drop-shadow(0 7px 12px rgba(0, 0, 0, 0.6));
    transition: transform 0.2s ease-in-out;
    /* No margin-left: the old egg logo was off-balance (the ® hung off the right) and got a 4px
       nudge; the round YOLK. badge is symmetric, so any nudge puts it off-centre under the pill. */
}
#rewards-logo-button:active img { transform: scale(0.95); }

#app-menu-container {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    color: var(--yolk-blue);
    cursor: pointer;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.2));
}

#app-menu-container { text-align: left; }
/* The hamburger is the primary nav control but its hit area was 148x19 — the glyph itself is only
   20x14. min-height brings it to the 44px minimum without moving anything: the container is already
   a centred flex row inside a 58px header, so the icon and greeting stay exactly where they were. */
#app-menu-container { min-height: 44px; }

#app-menu-label {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--yolk-blue);
    max-width: calc(50vw - 80px); /* Leave more space for dropdown arrow and REWARDS button */
    line-height: 1.2;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    transition: opacity 0.3s ease;
}


.hamburger-icon-wrapper { display: flex; align-items: center; height: 100%; width: 20px; transition: transform 0.15s ease-out; }
.hamburger-icon { display: inline-flex; flex-direction: column; gap: 4px; transition: transform 0.3s ease; }
.hamburger-icon span { background: var(--yolk-blue); height: 2px; width: 18px; border-radius: 1px; }

#app-menu-label { transition: transform 0.15s ease-out; }

/* Click scale animations - smoother and less abrupt */
.hamburger-icon-wrapper:active { transform: scale(0.95); }
#app-menu-label:active { transform: scale(0.97); }

/* Hamburger animation */
.hamburger-icon-wrapper.active .hamburger-icon { transform: rotate(180deg); }

.menu-dropdown-list {
    position: fixed;
    top: calc(var(--header-height) + var(--safe-area-inset-top) + 2px);
    left: 8px; /* Align to left edge near hamburger icon */
    background-color: rgba(22, 33, 77, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 2px solid var(--yolk-yellow);
    border-radius: 12px;
    padding: 10px;
    z-index: 999; /* Above map but below logo (1001) */
    width: fit-content;
    max-width: 300px;
    min-width: 250px;
    max-height: calc(100vh - var(--header-height, 58px) - var(--rewards-bar-height, 48px) - var(--safe-area-inset-top, 0px) - var(--safe-area-inset-bottom, 0px) - 80px);
    max-height: calc(100dvh - var(--header-height, 58px) - var(--rewards-bar-height, 48px) - var(--safe-area-inset-top, 0px) - var(--safe-area-inset-bottom, 0px) - 80px);
    overflow-y: auto;
    box-shadow: 0 8px 20px rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: opacity 0.2s ease-out, visibility 0s 0.2s, transform 0.2s ease-out;
    touch-action: pan-y;
    pointer-events: none; /* No interaction when hidden */
    /* Enhanced Firefox scrollbar visibility */
    scrollbar-width: auto;
    scrollbar-color: var(--yolk-yellow) rgba(22, 33, 77, 0.3);
    /* Force vertical stacking */
    display: flex !important;
    flex-direction: column !important;
}

@media screen and (min-width: 768px) {
    .menu-dropdown-list {
        max-width: none;
    }
}

.menu-dropdown-list.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto; /* Enable interaction when shown */
    transition: opacity 0.2s ease-out, visibility 0s 0s, transform 0.2s ease-out;
}

.menu-dropdown-item {
    display: flex; align-items: center; justify-content: space-between; padding: 14px; color: var(--yolk-off-white);
    text-decoration: none; font-family: 'Poppins', sans-serif; font-weight: 500; font-size: 17.6px;
    border-radius: 8px; transition: background-color 0.2s ease, color 0.2s ease; cursor: pointer;
    white-space: normal; /* Allow text wrapping */
    width: 100%; /* Take full width of container */
    box-sizing: border-box;
    min-height: 50px; /* Minimum height for touch targets */
}
.menu-item-text { 
  display: flex; 
  align-items: center; 
  gap: 12px; 
}

.menu-dropdown-item:hover { background-color: var(--yolk-yellow); color: var(--yolk-blue); }

/* ── main dropdown ────────────────────────────────────────────────────────────
   The yi sprites are filled brand yellow and .menu-dropdown-item:hover paints the row
   yellow, so every icon vanished under the cursor. Same fix as .menu-header-icon .yi-clipboard
   above: re-fill navy for the hovered/active row. Fill is baked into the data URI, so each
   icon needs its own override — there is no single colour property to flip.
   The desktop bar links (.shell-desk-link, >= 1024px) sit on the same yellow, so they share these
   navy fills (selector appended to each rule) instead of a second copy of every data URI. */
.menu-dropdown-item:hover .yi-map,      .menu-dropdown-item.is-current .yi-map      , .shell-desk-link .yi-map { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2316214d'%3E%3Cpath d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3C/svg%3E"); }
.menu-dropdown-item:hover .yi-egg,      .menu-dropdown-item.is-current .yi-egg      { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2316214d'%3E%3Cpath d='M12 3C8.68 3 6 7.58 6 13c0 3.31 2.69 6 6 6s6-2.69 6-6c0-5.42-2.68-10-6-10z'/%3E%3C/svg%3E"); }
.menu-dropdown-item:hover .yi-clipboard,.menu-dropdown-item.is-current .yi-clipboard{ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2316214d'%3E%3Cpath d='M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm2 14H7v-2h7v2zm3-4H7v-2h10v2zm0-4H7V7h10v2z'/%3E%3C/svg%3E"); }
.menu-dropdown-item:hover .yi-catering, .menu-dropdown-item.is-current .yi-catering , .shell-desk-link .yi-catering { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2316214d'%3E%3Cpath d='M2 17h20v2H2zm11.84-9.21c.1-.24.16-.51.16-.79 0-1.1-.9-2-2-2s-2 .9-2 2c0 .28.06.55.16.79C6.25 8.6 3 12.42 3 17h18c0-4.58-3.25-8.4-7.16-9.21z'/%3E%3C/svg%3E"); }
.menu-dropdown-item:hover .yi-sparkle,  .menu-dropdown-item.is-current .yi-sparkle  , .shell-desk-link .yi-sparkle { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2316214d'%3E%3Cpath d='M19 9l1.25-2.75L23 5l-2.75-1.25L19 1l-1.25 2.75L15 5l2.75 1.25zM11.5 9.5L9 4 6.5 9.5 1 12l5.5 2.5L9 20l2.5-5.5L17 12zM19 15l-1.25 2.75L15 19l2.75 1.25L19 23l1.25-2.75L23 19l-2.75-1.25z'/%3E%3C/svg%3E"); }
.menu-dropdown-item:hover .yi-gift,     .menu-dropdown-item.is-current .yi-gift     , .shell-desk-link .yi-gift { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2316214d'%3E%3Cpath d='M20 6h-2.18c.11-.31.18-.65.18-1 0-1.66-1.34-3-3-3-.86 0-1.64.37-2.18.97L12 3.88l-.82-.91C10.64 2.37 9.86 2 9 2 7.34 2 6 3.34 6 5c0 .35.07.69.18 1H4c-1.1 0-2 .9-2 2v11c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V8c0-1.1-.9-2-2-2zm-5-2c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zM9 4c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm11 15H4v-2h16v2zm0-5H4V8h5.08L7 10.83 8.62 12 12 7.4l3.38 4.6L17 10.83 14.92 8H20v6z'/%3E%3C/svg%3E"); }

/* Icons sat at whatever size the font happened to be, so rows never lined up. Fix the column. */
.menu-dropdown-item .menu-item-text > i.yi { width: 22px; height: 22px; flex: 0 0 22px; vertical-align: middle; }
.menu-dropdown-item .menu-item-text { gap: 14px; }

/* Two groups: places and menus first, then the account. A hairline is enough to say so. */
.menu-dropdown-sep { height: 1px; margin: 8px 6px; background: rgba(248,220,18,0.22); flex: 0 0 1px; }

/* The surface you are already on, so the two menu links do not read as identical choices. */
.menu-dropdown-item.is-current { background-color: var(--yolk-yellow); color: var(--yolk-blue); }
.menu-dropdown-item.is-current .menu-item-text { font-weight: 700; }

body.is-pwa #menu-item-install, #menu-item-install:not(.show-install-button):not(.prompt-available) { display: none !important; }
.menu-dropdown-list #menu-item-install.prompt-available,
.menu-dropdown-list #menu-item-install.show-install-button {
    display: flex !important; background-color: var(--yolk-yellow); color: var(--yolk-blue);
    filter: drop-shadow(0 0 6px var(--yolk-yellow));
}
#app-version-display { font-size: 12px; color: var(--yolk-gray); text-align: center; padding-top: 8px; padding-bottom: 8px; cursor: default; }

/* 1. Apply the transparent, blurred style to menu dropdowns (excluding hours dropdown) */
#app-menu-dropdown {
  background: rgba(16, 22, 78, 0.6); /* Further increased transparency */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(248, 220, 18, 0.3);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

/* Desktop hover support for main menu - only applies to non-touch devices */
@media (hover: hover) and (pointer: fine) {
  /* (No "#app-menu-container:hover #app-menu-dropdown" here: the dropdown is a sibling <nav> after
     </header>, never inside the container, so that rule could not match. Hover-open is done in JS.) */
  #app-menu-container:hover .hamburger-icon {
    transform: rotate(180deg);
  }

  /* Also style the dropdown when hovering directly on it to keep it open */
  #app-menu-dropdown:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

/* ================================ */
/* HEADER MENU BUTTON (right slot)  */
/* ================================ */
/* TAB-BAR STYLE (owner, 12/02/2026): every labelled button in the bar is a vertical stack, icon on
   top, label under it: this Menu button at every width, and the desktop links (.shell-desk-link,
   below). Hamburger + greeting, the cart (icon + bubble) and the waitlist pill are not part of it.
   Sizes, shared by both: icon 22px, gap 2px, label Poppins 700 12px, line-height 1.15 (13.8px):
   stack 22 + 2 + 13.8 = 37.8px, centred in the 58px bar (about 10px clear above and below, so the
   bar height and the logo are untouched). Button = 6px side padding + max(label, 22px), at least
   44x44. Navy (#16214d) on the yellow bar exactly as before, so contrast is unchanged. */
.menu-header-icon {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 44px;
    min-height: 44px;
    padding: 0 6px;
    box-sizing: border-box;
    border-radius: 12px;
    text-decoration: none;
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.2s ease;
    cursor: pointer;
}
.menu-header-icon:active {
    background: rgba(22, 33, 77, 0.15);
    transform: scale(0.92);
}
.menu-header-icon:focus-visible { outline: 2px solid var(--yolk-blue); outline-offset: 0; }
.menu-header-icon .yi {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}
.menu-header-label {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.15;
    color: var(--yolk-blue, #16214d);
    white-space: nowrap;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.2));
}
/* (The catering-only pill and Menu-label tightening that lived here went with the pill.) */
/* The shared yi-clipboard sprite is filled brand yellow, which is invisible on the yellow header
   bar, so the header Menu button re-fills it navy. */
.menu-header-icon .yi-clipboard {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2316214d'%3E%3Cpath d='M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm2 14H7v-2h7v2zm3-4H7v-2h10v2zm0-4H7V7h10v2z'/%3E%3C/svg%3E");
}

/* ================================ */
/* WAITLIST HEADER INDICATOR        */
/* ================================ */
.waitlist-header-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(22, 33, 77, 0.1);
    border: 1.5px solid var(--yolk-blue);
    border-radius: 20px;
    padding: 4px 10px 4px 8px;
    cursor: pointer;
    min-height: 32px;
    min-width: 44px;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    transition: background 0.2s ease;
    pointer-events: auto;
}
.waitlist-header-pill:active {
    background: rgba(22, 33, 77, 0.2);
    transform: scale(0.96);
}
.waitlist-header-pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--yolk-blue);
    flex-shrink: 0;
    animation: waitlistHeaderPulse 2s ease-in-out infinite;
}
@keyframes waitlistHeaderPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
}
.waitlist-header-loc {
    font-family: 'Poppins', sans-serif;
    font-size: 11.2px;
    font-weight: 600;
    color: var(--yolk-blue);
    white-space: nowrap;
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.waitlist-header-count {
    font-family: 'Poppins', sans-serif;
    font-size: 10.4px;
    font-weight: 700;
    color: var(--yolk-yellow);
    background: var(--yolk-blue);
    border-radius: 10px;
    padding: 1px 6px;
    min-width: 16px;
    text-align: center;
    line-height: 1.3;
}
@media screen and (max-width: 340px) {
    .waitlist-header-loc { display: none; }
}

/* ================================ */
/* HEADER CART BUTTON (right slot)  */
/* ================================ */
/* #shell-cart-btn: ALWAYS part of the right slot (owner, 12/02/2026): bag + count bubble, "0" with no
   cart (js/shell-cart.js; markup visible by default in shell/header.html). The only time it is hidden is
   the menu page's table mode (the `hidden` attribute, rule below). js/shell-cart.js adds .shell-wl-on to
   the right slot while the waitlist pill shows; the width rule below keys on it. */
.shell-cart-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 44px;
    height: 44px;
    box-sizing: border-box;
    border-radius: 22px;
    color: var(--yolk-blue);
    text-decoration: none;
    cursor: pointer;
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
    transition: transform 0.15s ease-out;
}
.shell-cart-btn[hidden] { display: none !important; }
.shell-cart-btn:active { transform: scale(0.92); }
.shell-cart-btn:focus-visible { outline: 2px solid var(--yolk-blue); outline-offset: 0; }
.shell-cart-icon {
    display: block;
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.2));
}
.shell-cart-count {
    position: absolute;
    top: 3px;
    right: 1px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    box-sizing: border-box;
    border-radius: 9px;
    background: var(--yolk-blue);
    color: var(--yolk-yellow);
    box-shadow: 0 0 0 2px var(--yolk-yellow);   /* yellow ring keeps the bubble off the navy icon */
    font-family: 'Poppins', sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    font-variant-numeric: tabular-nums;
    font-feature-settings: "tnum" 1;
    pointer-events: none;
}
@keyframes shellCartBump {
    0%   { transform: scale(1); }
    40%  { transform: scale(1.25); }
    100% { transform: scale(1); }
}
.shell-cart-count.shell-cart-bump { animation: shellCartBump 0.3s ease-out; }
@media (prefers-reduced-motion: reduce) {
    .shell-cart-btn { transition: none; }
    .shell-cart-count.shell-cart-bump { animation: none; }
}
/* Room beside the centred logo (right slot is absolute, right:10px, growing leftward). The logo
   column is the 68px badge on every host, so the room is W/2 - 34 - 10: 136px at 360, 143.5 at
   375, 151 at 390, 171 at 430, the same on i. and catering. Widths from the Poppins font files'
   advance widths (layout not measured): stacked Menu button = 6 + "Menu" 12px Bold 34.6 + 6 =
   46.6px; cart 44px; together 90.6px, 45.4px clear at 360 (measured in headless Chrome 12/02/2026:
   45.4 / 52.9 / 60.4 / 80.4px at 360 / 375 / 390 / 430). The cart is always shown, so this pair is
   the normal phone layout. No label-hiding rule is needed.
   Waitlist pill: 8+10 padding + 8 dot + 6 gap + location (11.2px SemiBold, capped at 80px) + 6 gap
   + count ("12 ahead", 10.4px Bold 46.7 + 12 padding) + 3 border = up to ~179.7px. Menu + pill
   (~221px measured) is still wider than the room on every phone even with the cart yielded (an old
   limit, not touched here: it needs W >= ~541px; measured, the Menu button overlaps the logo by 30-50px
   at 360-430 while the pill shows). Menu + pill + cart = 270.3px needs W/2 - 44 >= 270.3, i.e.
   W >= ~629px; below 660px (15.7px margin) the cart yields to the pill, the time-critical state
   (a guest physically waiting). From 660px up all three fit. */
@media (max-width: 659px) {
    .tab-side.right.shell-wl-on .shell-cart-btn { display: none !important; }
}
/* Waitlist pill on phones (fix, 12/02/2026). Measured in headless Chrome with Poppins, store name
   "Streeterville Michigan Avenue" (capped at 80px) and the widest count "12 ahead": full pill 178.7px,
   Menu button 46.6px, together 225.3px, which needs W >= 551px for 6px clear of the logo (room =
   W/2 - 44). So:
   <= 559px  the store name goes (the count / "Waiting" / "Next!" stays): pill 92.7px, + Menu = 139.3px,
             clear from W >= 379px (11.7px at 390).
   <= 389px  also the "Menu" word (icon kept, 44px button, aria-label unchanged) and the pill's side
             padding 8/10 -> 6/6 and inner gap 6 -> 4: pill 84.7px, + Menu = 128.7px, 7.3px clear at 360.
   No font size changes; the pill keeps min-width 44px. */
@media (max-width: 559px) {
    .tab-side.right.shell-wl-on .waitlist-header-loc { display: none; }
}
@media (max-width: 389px) {
    .tab-side.right.shell-wl-on .menu-header-label { display: none; }
    .tab-side.right.shell-wl-on .waitlist-header-pill { padding-left: 6px; padding-right: 6px; gap: 4px; }
}

/* SEO: Anchor tags in nav dropdown inherit parent styling */
.menu-dropdown-item a.menu-item-text {
    color: inherit;
    text-decoration: none;
}

/* ================================ */
/* DESKTOP TEXT LINKS (>= 1024px)   */
/* ================================ */
/* Below 1024px these links do not exist (display:none) and nothing in this block applies, so the
   phone and tablet header is byte-for-byte the layout above.
   At >= 1024px the two sides stop being absolutely positioned and become the outer columns of the
   wrapper's existing 1fr | auto | 1fr grid. The logo keeps the centre column at its own width, so
   the side content can never run under it.
   Each link is the same stacked tab as the Menu button (icon 22px over a 12px label, 6px side
   padding). Widths from the Poppins font files' advance widths (layout not measured). A side
   column is (W - 20 padding - 68 logo - 2x12 gap) / 2: 456px at 1024, 504px from 1120 (the wrapper
   cap). Left, longest greeting ("Handling YOUR Huevos" + emoji ~212px) = 20 hamburger + 6 + 212 +
   12 + Locations (6+59.6+6 = 71.6) + Catering (6+54.5+6 = 66.5) = 388.1px: 67.9px spare at 1024.
   Right, worst case = Rewards (6+53.7+6 +4 margin = 69.7) + Gift cards (6+59.8+6 +4 = 75.8) + Menu
   46.6 + cart 44 + waitlist pill with an 80px store name and "12 ahead" 179.7 = 415.8px: 40.2px
   spare at 1024. Everything fits from 1024 up, so there is no fallback rule here. (With side-by-side
   label + icon it was 486.1px left / 555.1px right, which forced 1120px and a hidden Gift cards.) */
.shell-desk-link { display: none; }

@media (min-width: 1024px) {
    header.tab-container { --shell-wrap-max: 1120px; }   /* keep equal to the max-width below */
    .header-content-wrapper {
        max-width: 1120px;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        column-gap: 12px;
        padding-left: calc(10px + env(safe-area-inset-left));
        padding-right: calc(10px + env(safe-area-inset-right));
    }
    /* Same box as the absolute version: the top 58px of the wrapper, content centred in it.
       position:relative + z-index:0 keeps each side its own stacking context, as the old
       transform did, so the logo (z-index 1001, 10051 on the menu page) still paints above. */
    .tab-side {
        position: relative;
        top: auto;
        transform: none;
        z-index: 0;
        grid-row: 1;
        align-self: start;
        height: var(--header-height);
        min-width: 0;
    }
    .tab-side.left { left: auto; grid-column: 1; justify-self: start; }
    .tab-side.right { right: auto; grid-column: 3; justify-self: end; }
    .center-logo-container { grid-row: 1; }

    .shell-desk-link {
        display: inline-flex;
        flex-direction: column;   /* icon first in the markup, label under it */
        align-items: center;
        justify-content: center;
        gap: 2px;
        flex: none;
        min-width: 44px;
        min-height: 44px;
        padding: 0 6px;
        box-sizing: border-box;
        border-radius: 12px;
        font-family: 'Poppins', sans-serif;
        font-size: 12px;
        font-weight: 700;
        line-height: 1.15;
        color: var(--yolk-blue);
        text-decoration: none;
        white-space: nowrap;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        filter: drop-shadow(0 2px 3px rgba(0,0,0,0.2));
        transition: transform 0.15s ease-out;
    }
    .shell-desk-link .yi { width: 22px; height: 22px; flex-shrink: 0; }
    #app-menu-container + .shell-desk-link { margin-left: 12px; }
    .tab-side.right .shell-desk-link { margin-right: 4px; }
    /* (hover: the lift in the HEADER BUTTONS block at the end of this file; the old underline is gone) */
    .shell-desk-link:active { transform: scale(0.96); }
    .shell-desk-link:focus-visible {
        outline: 2px solid var(--yolk-blue);
        outline-offset: 2px;
    }
}
@media (min-width: 1024px) and (prefers-reduced-motion: reduce) {
    .shell-desk-link { transition: none; }
}

/* ============================================================================================
   HEADER BUTTONS READ AS BUTTONS (owner, 12/03/2026)
   Every control on the yellow bar (the desktop links, Menu, the cart, and from 1024px the
   hamburger + greeting) sits on a raised chip: a lighter face with a top highlight and a soft navy
   shadow, in the family of the logo's elevated shadow. On hover the chip LIFTS and its shadow
   deepens; on press it sinks. Only transform and opacity are animated: the resting face is
   ::before, the hover face is ::after and fades in over it. Touch devices get the raised look and
   the press, no hover. The logo itself grows slightly on hover.
   ============================================================================================ */
.shell-desk-link,
.menu-header-icon,
.shell-cart-btn {
    position: relative;
    isolation: isolate;                 /* keeps the z-index:-1 faces inside the button */
    filter: none;                       /* the chip carries the depth; text and icons stay crisp */
    transition: transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.menu-header-label, .shell-cart-icon { filter: none; }
.shell-desk-link::before, .shell-desk-link::after,
.menu-header-icon::before, .menu-header-icon::after,
.shell-cart-btn::before, .shell-cart-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;
    z-index: -1;
    pointer-events: none;
}
.shell-desk-link::before, .menu-header-icon::before, .shell-cart-btn::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.2));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), inset 0 0 0 1px rgba(22, 33, 77, 0.1), 0 2px 5px rgba(22, 33, 77, 0.3);
}
.shell-desk-link::after, .menu-header-icon::after, .shell-cart-btn::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.5));
    box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(22, 33, 77, 0.14), 0 9px 16px rgba(22, 33, 77, 0.38);
    opacity: 0;
    transition: opacity 0.24s ease;
}
/* (the cart chip is a rounded rectangle like every other button: owner, 12/03/2026) */
.menu-header-icon { padding: 0 8px; transition: transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1); }
.menu-header-icon:active { background: none; }
.shell-cart-btn { margin-left: 6px; }
#rewards-logo-button img { transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1); }

@media (hover: hover) and (pointer: fine) {
    .shell-desk-link:hover, .menu-header-icon:hover, .shell-cart-btn:hover { transform: translateY(-2px); }
    .shell-desk-link:hover::after, .menu-header-icon:hover::after, .shell-cart-btn:hover::after { opacity: 1; }
    #rewards-logo-button:hover img { transform: scale(1.06); }
}
/* After the hover rules, so a press wins while the pointer is still over the button. */
.shell-desk-link:active, .menu-header-icon:active, .shell-cart-btn:active { transform: translateY(1px) scale(0.96); }
.shell-desk-link:active::after, .menu-header-icon:active::after, .shell-cart-btn:active::after { opacity: 0; }
#rewards-logo-button:active img { transform: scale(0.95); }

@media (min-width: 1024px) {
    .shell-desk-link { padding: 0 9px; }
    #app-menu-container + .shell-desk-link { margin-left: 10px; }
    .tab-side.right .shell-desk-link { margin-right: 6px; }
    .tab-side.left .shell-desk-link + .shell-desk-link { margin-left: 6px; }
    .menu-header-icon { padding: 0 9px; }
    /* The hamburger + greeting is the main menu button: same chip from desktop widths, where there
       is room for it (on a phone the greeting runs right up to the logo). */
    #app-menu-container {
        position: relative;
        isolation: isolate;
        filter: none;
        padding: 0 12px 0 10px;
        box-sizing: border-box;
        transition: transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1);
    }
    #app-menu-container::before, #app-menu-container::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 12px;
        z-index: -1;
        pointer-events: none;
    }
    #app-menu-container::before {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.2));
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), inset 0 0 0 1px rgba(22, 33, 77, 0.1), 0 2px 5px rgba(22, 33, 77, 0.3);
    }
    #app-menu-container::after {
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.5));
        box-shadow: inset 0 1px 0 #fff, inset 0 0 0 1px rgba(22, 33, 77, 0.14), 0 9px 16px rgba(22, 33, 77, 0.38);
        opacity: 0;
        transition: opacity 0.24s ease;
    }
    #app-menu-container:active { transform: translateY(1px) scale(0.98); }
}
@media (min-width: 1024px) and (hover: hover) and (pointer: fine) {
    #app-menu-container:hover { transform: translateY(-2px); }
    #app-menu-container:hover::after { opacity: 1; }
    #app-menu-container:active { transform: translateY(1px) scale(0.98); }
    #app-menu-container:active::after { opacity: 0; }
}
/* Labels a size up where the bar has the room for it. */
@media (min-width: 1200px) {
    .shell-desk-link, .menu-header-label { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
    .shell-desk-link, .menu-header-icon, .shell-cart-btn, #app-menu-container, #rewards-logo-button img,
    .shell-desk-link::after, .menu-header-icon::after, .shell-cart-btn::after, #app-menu-container::after { transition: none; }
    .shell-desk-link:hover, .menu-header-icon:hover, .shell-cart-btn:hover, #app-menu-container:hover { transform: none; }
}

/* Shared rewards boxes off the map app (menu page, eatyolk.com): not rendered at all until one is
   opened. Each box has a backdrop blur; merely invisible, the three of them still cost a blur pass
   per frame for anything moving underneath in Safari, which made the menu page's collapsing toolbar
   choppy (12/03/2026). js/shell.js adds .shell-live to open one and removes it after it has faded
   out. The map app (html[data-shell-owner="app"]) runs its own modals and is not touched. */
html:not([data-shell-owner="app"]) .modal-overlay[data-shell-modal]:not(.shell-live) { display: none !important; }

/* Cart count: EMPTY vs HAS ITEMS (owner, 12/03/2026). Empty (the markup's own "0", and any count of
   0) is a quiet hollow badge: yellow face, navy outline and number, slightly faded. With items
   js/shell-cart.js adds .shell-cart-has-items and the badge turns solid navy with a yellow number
   and sits a touch larger, so a non-empty cart is visible at a glance. */
.shell-cart-count {
    background: var(--yolk-yellow);
    color: var(--yolk-blue);
    box-shadow: inset 0 0 0 1.5px var(--yolk-blue);
    opacity: 0.75;
}
.shell-cart-has-items .shell-cart-count {
    background: var(--yolk-blue);
    color: var(--yolk-yellow);
    box-shadow: 0 0 0 2px var(--yolk-yellow), 0 2px 5px rgba(22, 33, 77, 0.45);
    opacity: 1;
    transform: scale(1.12);
    font-weight: 800;
}

/* Dropdown rows: the WHOLE highlighted row is the link (owner, 12/03/2026). The row carried the
   padding and the link inside it was only as big as its text, so most of the yellow hover area
   did nothing. The link (or the span, on rows the map app opens as a modal) now fills the row:
   the negative margin cancels the row's 14px padding and the same padding goes inside the link. */
.menu-dropdown-item > .menu-item-text {
    flex: 1 1 auto;
    align-self: stretch;
    margin: -14px;
    padding: 14px;
    min-height: 50px;
    box-sizing: border-box;
    border-radius: 8px;
}
