@font-face {
    font-family: "Neue Montreal";
    src: url("/assets/fonts/neuemontreal-regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Neue Montreal";
    src: url("/assets/fonts/neuemontreal-medium.otf") format("opentype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

:root {
    --c-teal: #80d4c5;
    --c-yellow: #ffed90;
    --c-blue-600: #567dff;
    --c-blue-800: #2c3e50;
    --c-slate: #2c3e50;
    --c-text: #2c3e50;
    --c-text-2: #464646;
    --c-orange: #e67e22;
    --c-white: #ffffff;
    --c-bg: #ffffff;
    --c-border: rgba(0, 0, 0, 0.1);
    --radius: 4px;
    --shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: "Neue Montreal", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-weight: 400;
    color: var(--c-text);
    background: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
textarea {
    font: inherit;
}

.pickup-app {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    background: var(--c-bg);
    position: relative;
    overflow: visible;
    padding-bottom: 64px;
}

.pickup-main {
    padding: 0 16px 24px;
    overflow: visible;
}

.pickup-app-product {
    padding-bottom: 0;
}

.pickup-app-no-nav {
    padding-bottom: 24px;
}

.pickup-main-product {
    padding: 0;
}

.route-cart .pickup-main,
.route-checkout .pickup-main {
    padding-bottom: 24px;
}

.pickup-header {
    position: sticky;
    top: 30px; /* sit just below the sticky promo-bar (its min-height) */
    z-index: 20;
    background: var(--c-bg);
}

/* Header / tabs / side-cart sticky offsets when the promo bar is hidden
   are driven by the --promo-bar-h CSS variable in catering.css (set to
   0px under body.no-promo-bar). No per-element overrides needed here. */

.promo-bar {
    position: sticky;
    top: 0;
    z-index: 21;
    background: var(--c-teal);
    color: var(--c-text);
    min-height: 30px;
    padding: 8px 16px;
    font-size: 12px;
    line-height: 1.2;
    display: grid;
    place-items: center;
    text-align: center;
}

.promo-progress {
    width: 100%;
    max-width: 250px;
    height: 2px;
    margin-top: 4px;
    background: rgba(0, 0, 0, 0.2);
}

.promo-progress span {
    display: block;
    height: 100%;
    background: var(--c-slate);
}

.order-strip {
    min-height: 70px;
    padding: 16px;
    border-bottom: 1px solid var(--c-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.order-strip-title {
    font-size: 16px;
    line-height: 1.2;
    font-weight: 500;
    color: var(--c-text-2);
}

.order-strip p {
    margin: 0;
    font-size: 16px;
    line-height: 1.2;
    color: var(--c-text-2);
}

.order-strip-link {
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    min-height: 35px;
    padding: 8px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--c-text-2);
    background: var(--c-white);
    cursor: pointer;
}

.order-details-modal[hidden] {
    display: none;
}

.order-details-modal {
    position: fixed;
    inset: 0;
    z-index: 40;
}

.order-details-backdrop {
    position: absolute;
    top: var(--order-details-top, 0px);
    left: var(--order-details-left, 0px);
    width: var(--order-details-width, 100%);
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
}

.order-details-sheet {
    position: absolute;
    top: var(--order-details-top, 0px);
    left: var(--order-details-left, 0px);
    width: var(--order-details-width, 100%);
    bottom: 0;
    background: var(--c-white);
    border-radius: 0;
    border: 0;
    padding: 14px 16px max(16px, env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
}

.order-details-sheet > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.order-details-sheet > header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
}

.icon-plain-btn {
    border: 0;
    background: transparent;
    padding: 0;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.icon-plain-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.order-details-form {
    display: grid;
    gap: 8px;
    min-height: calc(100% - 42px);
    align-content: start;
}

.order-details-row {
    display: grid;
    gap: 4px;
}

.order-details-actions {
    margin-top: 8px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    position: sticky;
    bottom: 0;
    padding-top: 8px;
    background: var(--c-white);
}

.location-strip {
    display: none;
}

.btn {
    border: 1px solid transparent;
    border-radius: var(--radius);
    min-height: 53px;
    padding: 16px;
    font-size: 16px;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    font-weight: 500;
}

.btn-primary {
    background: var(--c-blue-800);
    color: var(--c-white);
}

.btn-light {
    background: var(--c-white);
    border-color: var(--c-border);
    color: var(--c-text-2);
}

.btn-soft {
    background: var(--c-white);
    border-color: var(--c-border);
    color: var(--c-text);
    min-height: 36px;
    font-size: 12px;
    padding: 8px 12px;
}

.btn-block {
    width: 100%;
}

.step1-hero-media {
    margin: 0 -16px;
    height: 157px;
    border-radius: 0 0 16px 16px;
    overflow: hidden;
    background: linear-gradient(180deg, #dce9f3 0%, #f2f5f9 100%);
    border-bottom: 1px solid var(--c-border);
}

.step1-hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.step1-intro {
    margin-top: 32px;
}

.step1-intro h1 {
    margin: 0;
    font-size: 24px;
    line-height: 1.2;
    font-weight: 500;
    color: var(--c-text);
}

.step1-intro p {
    margin-top: 4px;
    font-size: 16px;
    line-height: 1.2;
    color: var(--c-text);
}

.step1-cta-group {
    margin-top: 24px;
    display: grid;
    gap: 8px;
}

.quick-add-home {
    margin-top: 20px;
}

.quick-add-home .section-title h2 {
    font-size: 18px;
}

.home-quick-track {
    margin-top: 10px;
    grid-auto-columns: 224px;
}

.home-quick-track .favorite-card {
    min-height: 222px;
    display: flex;
    flex-direction: column;
}

.home-quick-track .favorite-card-copy {
    padding: 8px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.home-quick-track .favorite-card-copy h3 {
    font-size: 15px;
}

.home-quick-track .favorite-card-copy p {
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.quick-add-row {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.quick-add-row .btn {
    min-height: 24px;
    padding: 4px 8px;
    font-size: 11px;
    margin-left: auto;
    align-self: flex-end;
}

.gift-card-home-track {
    grid-auto-flow: unset;
    grid-auto-columns: unset;
    grid-template-columns: 1fr;
    overflow: visible;
}

.gift-card-home-card .favorite-card-image {
    height: 132px;
}

.gift-card-home-card .favorite-card-copy p {
    -webkit-line-clamp: 3;
}

.catering-card {
    min-height: 53px;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 8px 16px;
    display: grid;
    place-items: center;
    text-align: center;
    background: var(--c-white);
}

.catering-card strong {
    font-size: 16px;
    font-weight: 500;
}

.catering-card span {
    font-size: 12px;
    line-height: 1.2;
}

.store-summary-card {
    margin-top: 16px;
    min-height: 108px;
    border-radius: var(--radius);
    border: 1px solid var(--c-border);
    background: var(--c-white);
    padding: 16px;
    display: grid;
    align-content: center;
    gap: 6px;
}

.store-summary-card h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 500;
    color: var(--c-text);
}

.store-summary-card p {
    margin-top: 4px;
    font-size: 16px;
    color: var(--c-text-2);
}

.menu-title-row {
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.menu-title-row h1 {
    margin: 0;
    font-size: 24px;
    font-weight: 500;
}

.filter-select-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    min-width: 162px;
}

.filter-select {
    appearance: none;
    border: 1px solid var(--c-border);
    border-radius: 999px;
    background: var(--c-white);
    min-height: 38px;
    width: 100%;
    padding: 8px 36px 8px 14px;
    font-size: 16px;
    color: var(--c-text-2);
    cursor: pointer;
}

.filter-select-wrap:hover .filter-select,
.filter-select:focus {
    background: var(--c-white);
    color: var(--c-text-2);
    outline: none;
}

.filter-select-arrow {
    position: absolute;
    right: 12px;
    width: 14px;
    height: 14px;
    pointer-events: none;
    transform: rotate(90deg);
    transition: transform 0.18s ease, filter 0.18s ease;
}

.filter-select-wrap:hover .filter-select-arrow,
.filter-select:focus + .filter-select-arrow {
    transform: rotate(-90deg);
}

.category-tabs {
    position: sticky;
    top: var(--sticky-tabs-top, 100px);
    z-index: 19;
    margin: 16px 0 0;
    padding: 0 16px;
    display: flex;
    gap: 18px;
    align-items: flex-end;
    height: 46px;
    overflow-x: auto;
    overflow-y: hidden;
    background: var(--c-bg);
    border-bottom: 1px solid var(--c-border);
    scroll-padding-inline: 16px;
    touch-action: pan-x;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
    display: none;
}

.category-tab {
    position: relative;
    white-space: nowrap;
    text-decoration: none;
    color: var(--c-text-2);
    font-size: 14px;
    font-weight: 600;
    padding: 0 0 10px;
    border: 0;
    background: transparent;
    flex-shrink: 0;
}

.category-tab::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: transparent;
    transition: background-color 0.15s ease;
}

.category-tab.active {
    color: var(--c-text);
}

.category-tab.active::after {
    background: var(--c-teal);
}

.featured-section {
    margin-top: 8px;
}

.section-title h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 500;
}

.section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.carousel-controls {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.carousel-control {
    border: 0;
    background: transparent;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.carousel-control img {
    width: 24px;
    height: 24px;
}

.featured-track {
    margin-top: 10px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 262px;
    gap: 10px;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.featured-track::-webkit-scrollbar {
    display: none;
}

.favorite-card {
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    background: var(--c-white);
    overflow: hidden;
}

.favorite-card-image {
    position: relative;
    height: 112px;
    background: #eef3f7;
}

.favorite-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.favorite-card-image span {
    position: absolute;
    left: 8px;
    top: 8px;
    min-height: 20px;
    padding: 3px 8px;
    border-radius: 2px;
    background: var(--c-yellow);
    color: var(--c-slate);
    font-size: 12px;
}

.favorite-card-copy {
    padding: 10px;
}

.favorite-card-copy h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
}

.favorite-card-copy p {
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.2;
    color: var(--c-text-2);
}

.favorite-card-copy strong {
    display: inline-block;
    margin-top: 8px;
    font-size: 14px;
    color: var(--c-text);
    font-weight: 500;
}

.menu-list {
    margin-top: 16px;
    display: grid;
    gap: 16px;
    min-width: 0;
}

.menu-category {
    scroll-margin-top: 12px;
    min-width: 0;
    /* Native CSS virtualization: skip render+layout for off-screen
       categories until scrolled into view. Cuts initial paint by 30-60%
       on long menu pages. contain-intrinsic-size reserves a placeholder
       so scroll position stays stable. */
    content-visibility: auto;
    contain-intrinsic-size: 0 600px;
}

.menu-category > header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 500;
}

.menu-category > header p {
    margin-top: 4px;
    font-size: 14px;
    color: var(--c-text-2);
}

.menu-grid {
    margin-top: 10px;
    display: grid;
    gap: 10px;
    min-width: 0;
}

.menu-track {
    margin-top: 10px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 14px) / 2.25);
    gap: 10px;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    min-width: 0;
}

.menu-track::-webkit-scrollbar {
    display: none;
}

.menu-track .product-card {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 0;
}

.menu-track .product-media {
    order: -1;
    padding: 8px 8px 0;
    min-height: 0;
}

.menu-track .product-media-frame {
    aspect-ratio: 4 / 3;
}

.menu-track .product-copy {
    padding: 8px;
}

.menu-track .product-copy h4 {
    font-size: 14px;
}

.menu-track .product-copy p {
    font-size: 11px;
}

.section-controls-row {
    margin-top: 8px;
    display: flex;
    justify-content: flex-end;
}

.product-card {
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    background: var(--c-white);
    min-height: 136px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 142px;
    gap: 16px;
    min-width: 0;
}

.product-card.no-image {
    grid-template-columns: 1fr;
    gap: 0;
}

.product-card.no-image .product-copy {
    padding: 12px;
}

.product-copy {
    min-width: 0;
    min-height: 100%;
    padding: 8px 0 8px 8px;
    display: flex;
    flex-direction: column;
}

.product-copy h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 500;
    color: var(--c-text);
}

.product-copy p {
    margin-top: 5px;
    font-size: 12px;
    color: var(--c-text-2);
    line-height: 1.25;
}

.dietary-badges {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
}

.dietary-badge {
    font-size: 10px;
    color: var(--c-text-2);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    line-height: 1.15;
}

.dietary-badge i {
    width: 10px;
    height: 10px;
    stroke-width: 1.9;
}

.dietary-badge i.badge-icon-halal {
    width: 5px;
    height: 5px;
    stroke-width: 1.15;
}

.dietary-badge img {
    width: 10px;
    height: 10px;
    object-fit: contain;
}

.dietary-badge img.badge-icon-halal-svg {
    width: 7px;
    height: 7px;
}

.product-copy strong {
    margin-top: auto;
    padding-top: 8px;
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    color: var(--c-text);
    align-self: flex-start;
}

.product-media {
    padding: 8px 8px 8px 0;
    min-height: 100%;
    display: flex;
    align-items: center;
}

.product-media-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 3px;
    overflow: hidden;
    background: #edf2f6;
}

.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-media-plus {
    position: absolute;
    right: 8px;
    bottom: 8px;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    border: 1px solid var(--c-border);
    background: var(--c-white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.product-media-plus img {
    min-height: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-sheet {
    background: var(--c-white);
    min-height: 100vh;
    padding-bottom: 0;
}

.product-sheet-hero {
    height: 268px;
    position: relative;
    overflow: hidden;
    background: #e8edf3;
}

.product-sheet-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-sheet-hero--video .product-hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #000;
}

.product-sheet-hero--video .product-hero-video-embed {
    width: 100%;
    height: 100%;
}

.product-sheet-hero--video .product-hero-video-embed iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* No-image variant — collapse the gray placeholder block to a compact strip
   that only carries the back / close icons. */
.product-sheet-hero-empty {
    height: 48px;
    background: transparent;
    overflow: visible;
}

.product-sheet-no-hero .product-sheet-body {
    padding-top: 4px;
}

.product-hero-action {
    position: absolute;
    top: 12px;
    display: inline-flex;
    z-index: 2;
    width: 20px;
    height: 20px;
    padding: 0;
}

.product-hero-action img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-hero-back {
    left: 12px;
}

.product-hero-close {
    right: 12px;
}

.product-sheet-body {
    padding: 12px 16px 0;
}

.product-dietary-badges {
    margin-top: 8px;
}

.product-sheet-body h1 {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
}

.product-price {
    margin-top: 6px;
    font-size: 14px;
    color: var(--c-text);
    font-weight: 500;
}

.product-description {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.25;
    color: var(--c-text-2);
}

.modifier-groups {
    margin-top: 12px;
}

.modifier-groups h2 {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 500;
}

.modifier-group {
    border-top: 1px solid var(--c-border);
    padding-top: 12px;
    margin-top: 12px;
}

.modifier-group--pending ul {
    opacity: 0.45;
    pointer-events: none;
}

.modifier-group--pending > header span {
    color: #b45309;
    font-weight: 500;
}

.modifier-group > header {
    display: grid;
    justify-items: start;
    gap: 2px;
    margin-bottom: 4px;
}

.modifier-group > header h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
}

.modifier-group > header span {
    font-size: 12px;
    color: var(--c-text-2);
}

.modifier-group ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.modifier-group li + li {
    border-top: 1px solid var(--c-border);
}

/* ── Flavor + size layout (Select sauce & size) ─────────────────────────────── */
.modifier-group--flavor-size > ul { display: none; }

/* Named shawarma plate — Full vs Half & Half */
.half-half-picker {
    display: grid;
    gap: 12px;
    margin-top: 8px;
}

.half-half-modes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.half-half-mode {
    display: block;
    cursor: pointer;
}

.half-half-mode input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.half-half-mode-card {
    display: grid;
    gap: 2px;
    min-height: 64px;
    padding: 12px 14px;
    border: 1.5px solid var(--c-border);
    border-radius: 10px;
    background: var(--c-surface, #fff);
    transition: border-color 0.15s ease, background 0.15s ease;
}

.half-half-mode-card strong {
    font-size: 14px;
    font-weight: 600;
    color: var(--c-text);
}

.half-half-mode-card small {
    font-size: 12px;
    color: var(--c-text-2);
    line-height: 1.3;
}

.half-half-mode input:checked + .half-half-mode-card {
    border-color: var(--c-text, #1a1a1a);
    background: color-mix(in srgb, var(--c-text, #1a1a1a) 4%, white);
}

.half-half-mode input:focus-visible + .half-half-mode-card {
    outline: 2px solid var(--c-text, #1a1a1a);
    outline-offset: 2px;
}

.half-half-second-label {
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 500;
    color: var(--c-text-2);
}

.half-half-options {
    list-style: none;
    margin: 0;
    padding: 0;
}

.half-half-options li + li {
    margin-top: 6px;
}

@media (max-width: 420px) {
    .half-half-modes {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .half-half-mode-card {
        transition: none;
    }
}
.flavor-size-picker {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 4px;
}
.flavor-size-step-label {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6b7280;
}
.flavor-size-sauces {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.flavor-size-sauce {
    display: block;
    cursor: pointer;
    margin: 0;
}
.flavor-size-sauce input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.flavor-size-sauce-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
.flavor-size-sauce:hover .flavor-size-sauce-card {
    border-color: #1B3A4B;
}
.flavor-size-sauce input:focus-visible + .flavor-size-sauce-card {
    outline: 2px solid #1B3A4B;
    outline-offset: 2px;
}
.flavor-size-sauce input:checked + .flavor-size-sauce-card {
    border-color: #1B3A4B;
    background: #eef4f7;
    box-shadow: inset 0 0 0 1px #1B3A4B;
}
.flavor-size-sauce-name {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
}
.flavor-size-sauce-desc {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.35;
}
.flavor-size-sauce-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 2px;
}
.flavor-size-step--size[hidden] {
    display: none !important;
}
.flavor-size-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.flavor-size-chip {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-width: 5.5rem;
    padding: 10px 12px;
    border: 1px solid #d6d0c4;
    border-radius: 10px;
    background: #fff;
    color: #1a1a1a;
    cursor: pointer;
    font: inherit;
    line-height: 1.2;
    transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
.flavor-size-chip:hover { border-color: #1B3A4B; }
.flavor-size-chip:focus-visible {
    outline: 2px solid #1B3A4B;
    outline-offset: 2px;
}
.flavor-size-chip.is-selected {
    border-color: #1B3A4B;
    background: #eef4f7;
    box-shadow: inset 0 0 0 1px #1B3A4B;
}
.flavor-size-chip-name {
    font-size: 14px;
    font-weight: 700;
}
.flavor-size-chip-price {
    font-size: 12px;
    font-weight: 600;
    color: #15803d;
    font-variant-numeric: tabular-nums;
}

.modifier-option {
    position: relative;
    min-height: 46px;
    padding: 10px 0;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

/* Visually hidden but still focusable. Without position:relative on the label
   above, focusing this input would scroll the page to viewport (0,0) and yank
   the modal off-screen. */
.modifier-option input {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
    margin: 0;
}

.modifier-option-left {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.modifier-option-copy {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.modifier-option-title-row {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    min-width: 0;
}

.modifier-option-control {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 1px solid var(--c-border);
    display: inline-block;
    flex-shrink: 0;
    position: relative;
}

.modifier-option input:checked + .modifier-option-left .modifier-option-control {
    border-color: var(--c-blue-800);
    background: var(--c-blue-800);
}

.modifier-option input:checked + .modifier-option-left .modifier-option-control::after {
    content: "";
    position: absolute;
    inset: 5px;
    border-radius: 999px;
    background: var(--c-white);
}

.modifier-option-text {
    font-size: 14px;
    line-height: 1.2;
}

.modifier-option-description {
    font-size: 11px;
    line-height: 1.2;
    color: #737373;
    display: block;
}

.modifier-option-tags {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 6px;
}

.modifier-option strong {
    font-size: 12px;
    color: var(--c-text-2);
}

.product-form-extras {
    margin-top: 10px;
    display: grid;
    gap: 10px;
}

.inline-form-row,
.form-field {
    display: grid;
    gap: 6px;
}

.form-field small {
    font-size: 11px;
    color: var(--c-text-2);
    line-height: 1.2;
}

.pickup-schedule {
    border: 0;
    margin: 0;
    padding: 0;
    min-width: 0;
}

.pickup-schedule-legend {
    padding: 0;
    margin: 0 0 6px;
    font-size: 14px;
    color: var(--c-text-2);
}

.pickup-schedule-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.pickup-schedule-field {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.pickup-schedule-field label {
    font-size: 12px;
    color: var(--c-text-2);
}

.pickup-schedule select {
    width: 100%;
    min-height: 40px;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 9px 30px 9px 10px;
    font-size: 14px;
    color: var(--c-text);
    background: var(--c-white) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23737373'><path d='M3.5 5.5l4.5 5 4.5-5z'/></svg>") no-repeat right 10px center;
    background-size: 14px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.pickup-schedule input:focus-visible,
.pickup-schedule select:focus-visible,
.pickup-asap-btn:focus-visible {
    outline: 2px solid var(--c-primary, #2aaa8a);
    outline-offset: 2px;
}

.pickup-schedule-actions {
    margin-top: 8px;
}

.pickup-asap-btn {
    border: 1px solid var(--c-border);
    background: #f7f7f7;
    color: var(--c-text);
    border-radius: 999px;
    min-height: 32px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 550;
    cursor: pointer;
    touch-action: manipulation;
}

.pickup-asap-btn:hover {
    background: #efefef;
}

.pickup-asap-btn[hidden] {
    display: none;
}

.pickup-schedule-hint {
    display: block;
    margin-top: 6px;
}

.pickup-schedule-stale-banner {
    margin-top: 8px;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #f0c36d;
    background: #fff8e8;
    color: #7a4e00;
    font-size: 13px;
    line-height: 1.4;
}

.pickup-schedule-stale-banner[hidden] {
    display: none;
}

.pickup-time-confirm {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: rgba(15, 23, 42, 0.45);
    padding: 16px 16px max(16px, env(safe-area-inset-bottom, 0px));
}
.pickup-time-confirm[hidden] {
    display: none;
}
.pickup-time-confirm-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 16px;
    padding: 22px 20px 16px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.22);
}
.pickup-time-confirm-title {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 650;
    color: #1b3a4b;
}
.pickup-time-confirm-copy {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.45;
    color: #475569;
}
.pickup-time-confirm-time {
    margin: 0 0 16px;
    padding: 14px 12px;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1b3a4b;
    background: #f0fdf6;
    border: 1px solid #b7e4c7;
    border-radius: 12px;
}
.pickup-time-confirm-card .btn {
    width: 100%;
    min-height: 48px;
    background: #2e8158;
}
.pickup-time-confirm-alt {
    display: block;
    width: 100%;
    margin-top: 4px;
    padding: 12px 8px;
    border: 0;
    background: none;
    color: #475569;
    font-size: 14px;
    min-height: 44px;
    cursor: pointer;
}
body.pickup-time-confirm-open {
    overflow: hidden;
}
@media (min-width: 900px) {
    .pickup-time-confirm {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .pickup-schedule-row {
        grid-template-columns: 1fr;
    }
}

label {
    font-size: 14px;
    color: var(--c-text-2);
}

input,
textarea {
    min-height: 40px;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 9px 10px;
    font-size: 14px;
    color: var(--c-text);
    background: var(--c-white);
}

textarea {
    min-height: 72px;
    resize: vertical;
}

.quantity-control {
    border: 1px solid var(--c-border);
    border-radius: 999px;
    overflow: hidden;
    width: fit-content;
    display: grid;
    grid-template-columns: 32px 58px 32px;
}

.quantity-control button {
    border: 0;
    background: #f6f6f6;
    cursor: pointer;
}

.quantity-control input {
    border: 0;
    text-align: center;
    min-height: 32px;
    padding: 0;
}

.quantity-control.compact {
    grid-template-columns: 24px 40px 24px;
}

.quantity-control.compact input {
    min-height: 24px;
}

.quantity-control.compact button {
    min-height: 24px;
    font-size: 12px;
}

.qty-max-hint {
    margin: 6px 0 0;
    font-size: 12px;
    color: #6b7280;
}

.form-error {
    margin-top: 4px;
    font-size: 12px;
    color: #b92d2d;
}

.floating-notice {
    position: fixed;
    left: 50%;
    /* Sit clearly ABOVE the sticky add-to-cart bar (which is ~80–96px tall
       including safe-area inset). 100px + safe-area keeps it out of the
       button's hit area on iPhones / Android with on-screen nav. */
    bottom: calc(108px + env(safe-area-inset-bottom, 0px));
    transform: translateX(-50%);
    width: min(92vw, 360px);
    min-height: 40px;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #fff7f7;
    color: #9c1f1f;
    font-size: 13px;
    line-height: 1.25;
    text-align: center;
    z-index: 90; /* above sticky bar (z-index 18) */
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
    transition: opacity 0.16s ease, transform 0.16s ease;
}

.floating-notice.is-success {
    background: #f2fcf7;
    color: #06663f;
}

.floating-notice.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 10px);
}

.modifier-group.is-invalid > header h3,
.modifier-group.is-invalid > header span {
    color: #b92d2d;
}

.product-sticky-bar {
    position: sticky;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 10px 16px max(8px, env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid var(--c-border);
    z-index: 18;
}

.product-add-btn {
    width: 100%;
    min-height: 52px;
    border: 0;
    border-radius: 8px;
    background: #008054;
    color: var(--c-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
}

.product-popular-section {
    margin-top: 14px;
}

.product-popular-section .section-title h2 {
    font-size: 14px;
}

.product-popular-track {
    margin-top: 8px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(156px, 1fr);
    gap: 8px;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.product-popular-track::-webkit-scrollbar {
    display: none;
}

.popular-option-card {
    position: relative;
    border: 1px solid var(--c-border);
    border-radius: 8px;
    background: var(--c-white);
    padding: 10px 38px 10px 10px;
    display: grid;
    gap: 6px;
    text-align: left;
    cursor: pointer;
}

.popular-option-card::after {
    content: "";
    position: absolute;
    top: 12px;
    right: 12px;
    width: 14px;
    height: 14px;
    border-radius: 999px;
    border: 1px solid var(--c-border);
    background: #fff;
}

.popular-option-card small {
    font-size: 10px;
    color: var(--c-text-2);
}

.popular-option-card strong {
    font-size: 14px;
    font-weight: 500;
}

.popular-option-card span {
    font-size: 13px;
    color: var(--c-text-2);
    line-height: 1.25;
}

.popular-option-card.active {
    border-color: rgba(0, 0, 0, 0.34);
    background: #f9f9f9;
}

.popular-option-card.active::after {
    border-color: #111;
    background: #111;
}

.special-instructions-toggle {
    min-height: 22px;
    border: 0;
    background: transparent;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    font-size: 13px;
    color: var(--c-text);
    cursor: pointer;
}

.special-instructions-toggle img {
    width: 12px;
    height: 12px;
}

.special-instructions-toggle.is-open {
    opacity: 0.85;
}

.special-instructions-box {
    margin-top: 2px;
    display: none;
}

.special-instructions-box.is-open {
    display: grid;
}

.cart-step-header {
    margin-top: 8px;
}

.cart-step-header h1 {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
}

.cart-step-header p {
    margin-top: 2px;
    font-size: 14px;
    color: var(--c-text-2);
}

.pickup-time-row {
    margin-top: 8px;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    min-height: 49px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pickup-time-row strong,
.pickup-time-row span {
    font-size: 14px;
}

.cart-list {
    margin-top: 12px;
    display: grid;
    gap: 8px;
}

.cart-item {
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    background: var(--c-white);
    min-height: 96px;
    padding: 8px;
    display: grid;
    grid-template-columns: 72px 1fr auto;
    gap: 8px;
    align-items: center;
}

.cart-item-media {
    width: 72px;
    height: 72px;
    border-radius: 3px;
    overflow: hidden;
    background: #eef2f6;
}

.cart-item-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-copy h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
}

.cart-item-copy p {
    margin-top: 4px;
    font-size: 10px;
    color: var(--c-text-2);
    white-space: pre-line;
}

.cart-item-actions {
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.text-danger {
    border: 0;
    background: transparent;
    color: var(--c-text-2);
    font-size: 10px;
    cursor: pointer;
    text-transform: lowercase;
}

.cart-item-edit {
    border: 0;
    background: transparent;
    color: var(--c-text-2);
    font-size: 10px;
    cursor: pointer;
    text-transform: lowercase;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.cart-item-edit:hover {
    color: var(--c-text);
}

.cart-item-total {
    font-size: 14px;
    font-weight: 500;
    color: var(--c-text);
}

.upsell-card {
    margin-top: 10px;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    background: var(--c-white);
    min-height: 96px;
    padding: 10px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 98px;
    gap: 12px;
}

.upsell-copy h3 {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
}

.upsell-copy p {
    margin: 4px 0 0;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 500;
    color: var(--c-text);
}

.upsell-copy small {
    margin-top: 2px;
    font-size: 12px;
    color: var(--c-text);
    display: block;
}

.upsell-add-btn {
    margin-top: 8px;
    justify-self: start;
    min-height: 26px;
    padding: 4px 8px;
}

.upsell-media {
    width: 98px;
    height: 72px;
    border-radius: 4px;
    overflow: hidden;
    background: #edf2f6;
}

.upsell-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tip-panel {
    margin-top: 10px;
    border: 1px solid var(--c-border);
    border-radius: 10px;
    background: var(--c-white);
    padding: 14px 14px 12px;
}

.tip-panel-head {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.tip-panel-emoji {
    font-size: 22px;
    line-height: 1.1;
    flex: 0 0 auto;
}

.tip-panel h2,
.tip-panel-head label {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--c-text);
}

.tip-panel-head p,
.tip-panel-copy {
    margin: 4px 0 0;
    font-size: 12px;
    line-height: 1.45;
    color: var(--c-text-2);
}

.tip-options {
    margin-top: 10px;
    display: flex;
    gap: 0;
    flex-wrap: nowrap;
    border: 1px solid var(--c-border);
    border-radius: 999px;
    overflow: hidden;
}

.tip-option {
    min-width: 0;
    min-height: 36px;
    flex: 1 1 0;
    border: 0;
    border-right: 1px solid var(--c-border);
    border-radius: 0;
    background: var(--c-white);
    font-size: 13px;
    font-weight: 500;
    color: var(--c-text-2);
    cursor: pointer;
}

.tip-option:last-child {
    border-right: 0;
}

.tip-option.active {
    background: rgba(0, 128, 84, 0.14);
    color: #008054;
    font-weight: 600;
}

.tip-custom-input {
    margin-top: 8px;
    width: 100%;
}

.tip-no-tip-link {
    margin-top: 8px;
    background: none;
    border: none;
    padding: 0;
    color: var(--c-text-2);
    font-size: 12px;
    text-decoration: underline;
    cursor: pointer;
}

.cart-utensils-panel {
    margin-top: 12px;
    background: #f8faf9;
    border: 1px solid var(--c-border);
    border-radius: 10px;
    padding: 14px 16px;
}

.checkout-utensils-panel {
    margin-top: 4px;
}

.cart-utensils-label {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    margin: 0;
}

.cart-utensils-copy {
    flex: 1 1 240px;
}

.cart-utensils-copy strong {
    font-size: 14px;
    display: block;
    margin-bottom: 2px;
    color: var(--c-text);
}

.cart-utensils-copy small {
    color: var(--c-text-2);
    line-height: 1.5;
    font-size: 12px;
}

.cart-utensils-copy em {
    font-style: normal;
    font-weight: 600;
    color: var(--c-text);
}

.cart-utensils-label input[type="checkbox"] {
    flex: 0 0 auto;
    width: auto;
    margin: 4px 0 0;
    transform: scale(1.25);
    accent-color: #008054;
}

.cart-summary {
    margin-top: 12px;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    background: var(--c-white);
    padding: 10px;
    display: grid;
    gap: 8px;
}

.cart-summary > div {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 12px;
    color: var(--c-text-2);
}

.summary-total {
    border-top: 1px solid var(--c-border);
    padding-top: 8px;
    font-size: 16px;
    color: var(--c-text);
}

.summary-total strong {
    font-weight: 500;
}

.cart-complete-bar {
    position: sticky;
    bottom: 0;
    left: 0;
    width: 100%;
    border-top: 1px solid var(--c-border);
    background: rgba(255, 255, 255, 0.98);
    padding: 10px 16px max(12px, env(safe-area-inset-bottom, 0px));
    z-index: 18;
    margin: 0 -16px;
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
}

.cart-complete-bar .btn {
    min-height: 46px;
    width: 100%;
    justify-content: space-between;
    background: #2e8158;
}

.checkout-submit-bar {
    position: sticky;
    bottom: 0;
    left: 0;
    width: 100%;
    border-top: 1px solid var(--c-border);
    background: rgba(255, 255, 255, 0.98);
    padding: 10px 16px max(12px, env(safe-area-inset-bottom, 0px));
    z-index: 18;
    margin: 0 -16px;
    padding-left: max(16px, env(safe-area-inset-left, 0px));
    padding-right: max(16px, env(safe-area-inset-right, 0px));
}

.checkout-submit-bar .btn {
    min-height: 46px;
    width: 100%;
    justify-content: space-between;
    background: #2e8158;
}

.page-header {
    margin-top: 16px;
}

.page-header h1 {
    margin: 0;
    font-size: 24px;
    font-weight: 500;
}

.page-header p {
    margin-top: 4px;
    font-size: 14px;
    color: var(--c-text-2);
}

.inline-form,
.checkout-form {
    margin-top: 12px;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    background: var(--c-white);
    padding: 10px;
    display: grid;
    gap: 10px;
}

.checkout-layout {
    margin-top: 12px;
    display: grid;
    gap: 10px;
}

.checkout-summary {
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    background: var(--c-white);
    padding: 10px;
    display: grid;
    gap: 6px;
}

.checkout-summary h2 {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 500;
}

.checkout-summary > div {
    font-size: 12px;
    color: var(--c-text-2);
    display: flex;
    justify-content: space-between;
}

.checkout-summary small {
    margin-top: 4px;
    font-size: 11px;
    color: var(--c-text-2);
}

.orders-list {
    margin-top: 12px;
    display: grid;
    gap: 8px;
}

.order-card {
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    background: var(--c-white);
    padding: 10px;
}

.order-card > header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.order-card > header strong {
    font-size: 14px;
    font-weight: 500;
}

.order-card p {
    margin-top: 6px;
    font-size: 12px;
    color: var(--c-text-2);
}

.order-meta {
    margin-top: 8px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
}

.status-pill {
    min-height: 20px;
    padding: 3px 8px;
    border: 1px solid var(--c-border);
    border-radius: 2px;
    font-size: 10px;
}

.status-pill.is-pending {
    background: #f5f5f5;
}

.status-pill.is-progress {
    background: rgba(86, 125, 255, 0.12);
    color: var(--c-blue-600);
}

.status-pill.is-ready {
    background: rgba(128, 212, 197, 0.25);
    color: var(--c-slate);
}

.status-pill.is-cancelled {
    background: rgba(230, 126, 34, 0.18);
    color: var(--c-orange);
}

.confirmation-screen,
.empty-state {
    margin-top: 16px;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    background: var(--c-white);
    padding: 22px 14px;
    text-align: center;
}

.confirmation-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 10px;
    border: 1px solid var(--c-border);
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(128, 212, 197, 0.22);
}

.confirmation-icon i {
    width: 28px;
    height: 28px;
    color: var(--c-slate);
}

.confirmation-screen h1,
.empty-state h1,
.empty-state h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 500;
}

.confirmation-screen p,
.empty-state p,
.empty-text {
    margin-top: 6px;
    font-size: 14px;
    color: var(--c-text-2);
}

.confirmation-actions {
    margin-top: 12px;
    display: grid;
    gap: 8px;
}

.bottom-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    min-height: 56px;
    border-top: 1px solid var(--c-border);
    background: var(--c-bg);
    z-index: 22;
    padding: 8px 12px;
    display: grid;
    grid-template-columns: 96px 52px 96px;
    align-items: center;
    justify-content: space-between;
    column-gap: 16px;
}

.bottom-nav-left {
    display: grid;
    grid-template-columns: repeat(2, 40px);
    align-items: center;
    gap: 16px;
    width: fit-content;
    min-width: 0;
}

.bottom-nav-left .bottom-nav-item {
    width: 40px;
    min-width: 0;
}

.bottom-nav-item,
.bottom-nav-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--c-text);
    font-size: 14px;
    line-height: 1;
    position: relative;
    min-height: 37px;
}

.bottom-nav-item {
    width: 40px;
}

.bottom-nav-item span,
.bottom-nav-checkout span {
    white-space: nowrap;
}

.bottom-nav-item img {
    width: 15px;
    height: 16px;
}

.bottom-nav-center img {
    width: 43px;
    height: 40px;
}

.bottom-nav-checkout {
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    min-height: 35px;
    background: var(--c-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--c-text-2);
    width: 96px;
}

.bottom-nav-item.active,
.bottom-nav-center.active,
.bottom-nav-checkout.active {
    color: var(--c-blue-800);
}

.cart-badge {
    position: absolute;
    top: -2px;
    right: 10px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--c-orange);
    color: var(--c-white);
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* The mobile-first 390px-locked column was removed because at viewports
   >390px (e.g. iPhone Pro Max, iPad portrait, narrow desktop) it created a
   visible bordered column with empty space on the sides that read as "double
   lateral padding". The shell now spans flush to the viewport edges below
   1024px; ≥1024px the desktop grid layout takes over. */

.gift-card-panel {
    display: grid;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    background: #f8fafc;
}

.cart-gift-card {
    margin-top: 10px;
    border: 0;
    background: transparent;
    padding: 0;
    gap: 8px;
}

.gift-card-toggle {
    width: fit-content;
}

.gift-card-content {
    display: grid;
    gap: 10px;
}

.gift-card-content[hidden] {
    display: none !important;
}

.cart-gift-card .gift-card-content {
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    background: #f8fafc;
    padding: 10px;
}

.gift-card-panel h2 {
    margin: 0;
    font-size: 18px;
}

.gift-card-panel p {
    margin: 0;
    color: var(--c-text-2);
    font-size: 13px;
}

.gift-card-controls {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
    align-items: center;
}

.gift-card-input {
    width: 100%;
    min-height: 38px;
    border: 1px solid var(--c-border);
    border-radius: 10px;
    padding: 8px 10px;
    font-size: 14px;
    text-transform: uppercase;
}

.gift-card-hint {
    display: block;
    font-size: 11px;
    line-height: 1.35;
    opacity: 0.56;
    margin-top: -2px;
}

.bundle-card .favorite-card-copy small {
    display: inline-block;
    margin-top: 2px;
    color: var(--c-text-2);
    font-size: 12px;
}

.bundle-item-list {
    margin: 4px 0 0;
    padding-left: 16px;
    color: var(--c-text-2);
    font-size: 12px;
    line-height: 1.4;
}

.closed-screen {
    min-height: calc(100vh - 24px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 12px 28px;
}

.closed-card {
    width: 100%;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    background: var(--c-white);
    box-shadow: var(--shadow);
    padding: 22px 16px;
    display: grid;
    gap: 10px;
    text-align: center;
}

.closed-card h1 {
    margin: 0;
    font-size: 26px;
    line-height: 1.2;
    font-weight: 500;
}

.closed-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
    color: var(--c-text-2);
}

.closed-message-es {
    opacity: 0.88;
}

.closed-reason {
    display: inline-block;
    margin-top: 2px;
    font-size: 11px;
    opacity: 0.55;
}

.closed-actions {
    margin-top: 4px;
    display: grid;
    gap: 8px;
}

/* Glass Modal */
.glass-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.glass-modal-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

.glass-modal {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 24px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 24px 48px rgba(0,0,0,0.12), inset 0 1px 0 rgba(255,255,255,0.8);
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    padding: 32px 24px 24px 24px;
}

.glass-modal-overlay.is-open .glass-modal {
    transform: translateY(0) scale(1);
}

.glass-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0,0,0,0.05);
    border: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--color-muted);
    transition: background 0.2s;
    z-index: 10;
}

.glass-modal-close:hover {
    background: rgba(0,0,0,0.1);
    color: var(--color-primary);
}

.glass-modal-body {
    position: relative;
}

.gift-card-purchase-modal {
    display: grid;
    gap: 12px;
}

.gift-card-purchase-modal header h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 500;
}

.gift-card-purchase-modal header p {
    margin: 4px 0 0;
    font-size: 13px;
    color: var(--c-text-2);
}

.gift-card-amount-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.gift-card-amount-chip {
    min-height: 40px;
    border: 1px solid var(--c-border);
    border-radius: 999px;
    background: #fff;
    color: var(--c-text);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}

.gift-card-amount-chip.active {
    background: rgba(128, 212, 197, 0.34);
    border-color: rgba(0, 0, 0, 0.25);
}

.gift-card-custom-wrap {
    display: grid;
    gap: 6px;
}

.gift-card-custom-wrap label {
    font-size: 12px;
    color: var(--c-text-2);
}

.gift-card-custom-wrap input {
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--c-border);
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 14px;
}

@media (max-width: 360px) {
    .gift-card-amount-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.glass-carousel-track::-webkit-scrollbar {
    display: none;
}
.glass-carousel-track {
    scrollbar-width: none;
}

/* Welcome / Mediterranean guide modal */
.glass-modal--guide {
    max-width: 520px;
    padding: 28px 22px 22px;
}

.welcome-guide {
    text-align: left;
}

.welcome-guide--center {
    text-align: center;
}

.welcome-eyebrow {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--c-text-2, #464646);
}

.welcome-title {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 500;
    color: var(--c-text, #253068);
    line-height: 1.25;
    text-wrap: balance;
}

.welcome-lead {
    margin: 0 0 22px;
    font-size: 15px;
    line-height: 1.45;
    color: var(--c-text-2, #464646);
}

.welcome-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.welcome-actions .btn {
    width: 100%;
    border-radius: 999px;
    text-align: center;
    justify-content: center;
}

.mezze-compare {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    align-items: start;
    margin: 4px 0 16px;
    padding: 14px 0;
    border-top: 1px solid rgba(37, 48, 104, 0.1);
    border-bottom: 1px solid rgba(37, 48, 104, 0.1);
}

.mezze-compare-col h3 {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 500;
    color: var(--c-text, #253068);
}

.mezze-compare-col p {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: var(--c-text-2, #464646);
}

.mezze-compare-divider {
    width: 1px;
    align-self: stretch;
    background: rgba(37, 48, 104, 0.12);
    min-height: 48px;
}

.mezze-glossary {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.mezze-glossary li {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: var(--c-text-2, #464646);
}

.mezze-glossary strong {
    color: var(--c-text, #253068);
    font-weight: 500;
}

.welcome-fav-wrap {
    margin: 4px 0 0;
}

.welcome-fav-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 4px 2px 12px;
    margin: 0 -4px;
    scrollbar-width: thin;
}

.welcome-fav-track::-webkit-scrollbar {
    height: 4px;
}

.welcome-fav-card {
    flex: 0 0 200px;
    scroll-snap-align: start;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(37, 48, 104, 0.08);
    box-shadow: 0 8px 20px rgba(37, 48, 104, 0.08);
    display: flex;
    flex-direction: column;
}

.welcome-fav-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.welcome-fav-card.no-image img {
    display: none;
}

.welcome-fav-info {
    padding: 10px 12px 12px;
}

.welcome-fav-info h3 {
    margin: 0 0 4px;
    font-size: 14px;
    font-weight: 500;
    color: var(--c-text, #253068);
}

.welcome-fav-info p {
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
    color: var(--c-text-2, #464646);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.welcome-fav-empty {
    margin: 16px 0;
    text-align: center;
    font-size: 14px;
    color: var(--c-text-2, #464646);
}

.welcome-loading {
    margin: 28px auto;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(37, 48, 104, 0.12);
    border-top-color: var(--c-text, #253068);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@media (max-width: 480px) {
    .mezze-compare {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .mezze-compare-divider {
        width: 100%;
        height: 1px;
        min-height: 0;
    }

    .welcome-fav-card {
        flex-basis: 168px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .welcome-loading {
        animation: none;
        border-top-color: rgba(37, 48, 104, 0.35);
    }

    .glass-modal-overlay,
    .glass-modal {
        transition: none;
    }
}

/* Default (mobile-first): logo/cart icons in header are hidden. They surface only on desktop. */
.pickup-desktop-logo,
.pickup-desktop-cart {
    display: none;
}

/* The desktop main wrapper is transparent on mobile (no padding/margin). */
.pickup-main-wrap {
    display: block;
}

/* Side cart panel is desktop-only. Kept in DOM so it reflects cart state without JS. */
.side-cart {
    display: none;
}

/* =========================
   Desktop layout (≥1024px)
   ezCater-inspired: top-bar header, 2-col home/menu (content + sticky side-cart),
   single-column cart/checkout, product detail as modal overlay.
   Mobile-first base above is fully preserved — every desktop rule lives below.
   ========================= */
@media (min-width: 1024px) {
    body {
        background: #ffffff;
    }

    .pickup-app {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0;
        background: transparent;
        box-shadow: none;
        border: 0;
        border-radius: 0;
        overflow: visible;
    }

    .pickup-app-no-nav,
    .pickup-app-product {
        padding-bottom: 0;
    }

    /* Hide mobile bottom-nav on desktop */
    .bottom-nav {
        display: none !important;
    }

    /* ── Promo bar: standalone sticky root element (sibling of the header).
       Naturally spans 100% of .pickup-app — no negative-margin bleed needed. */
    .promo-bar {
        min-height: 30px;
        padding: 6px 16px;
        font-size: 13px;
    }

    .promo-bar > span { padding: 0 8px; }
    .promo-progress { max-width: 320px; }

    /* ── Header desktop is now provided entirely by catering.css for the
       .pickup-header.cat-header structure (cat-topbar + cat-event-strip).
       The legacy logo/order-strip/cart-icon helpers are kept only as hidden
       fallbacks in case some legacy view still renders them. */
    .pickup-desktop-logo,
    .pickup-desktop-cart,
    .pickup-header > .location-strip {
        display: none;
    }

    /* ── Main wrapper: same calc as header on the left only; right is flush so
       the side-cart column hugs the viewport's right edge. ── */
    .pickup-main-wrap {
        display: block;
        max-width: none;
        margin: 0;
        padding: 0;
        padding-left: max(24px, calc((100% - 1360px) / 2));
    }

    .pickup-main-wrap:not(.has-side-cart) {
        padding-top: 24px;
        padding-bottom: 64px;
    }

    .pickup-main-wrap.has-side-cart {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 320px;
        column-gap: 0;
        align-items: stretch;
    }

    .pickup-main {
        padding: 0;
        min-width: 0;
    }

    .pickup-main-wrap.has-side-cart > .pickup-main {
        grid-column: 1;
        padding: 24px 32px 64px 0;
        min-width: 0;
        width: 100%;
    }

    /* ── Side cart: a flush right-side column, not a floating card ── */
    .side-cart {
        display: flex;
        grid-column: 2;
        position: sticky;
        top: 96px; /* promo (~30) + topbar (~65) + border. Collapses below when promo is off. */
        flex-direction: column;
        height: calc(100vh - 96px);
        background: #fff;
        border: 0;
        border-left: 1px solid var(--c-border);
        border-radius: 0;
        box-shadow: none;
        overflow: hidden;
        margin: 0;
    }

    .side-cart-header {
        padding: 16px 18px 12px;
        border-bottom: 1px solid var(--c-border);
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .side-cart-header h2 {
        margin: 0;
        font-size: 16px;
        font-weight: 500;
    }

    .side-cart-header span {
        font-size: 12px;
        color: var(--c-text-2);
    }

    .side-cart-promo {
        padding: 10px 18px;
        background: var(--c-teal);
        color: var(--c-text);
    }

    .side-cart-promo p {
        margin: 0;
        font-size: 12px;
        line-height: 1.3;
        text-align: center;
    }

    .side-cart-promo p strong { font-weight: 500; }

    .side-cart-progress {
        margin-top: 6px;
        height: 2px;
        background: rgba(0, 0, 0, 0.18);
    }

    .side-cart-progress span {
        display: block;
        height: 100%;
        background: var(--c-slate);
    }

    .side-cart-body {
        flex: 1 1 auto;
        overflow-y: auto;
        padding: 14px 18px;
    }

    .side-cart-empty {
        text-align: center;
        padding: 28px 8px;
    }

    .side-cart-empty p {
        margin: 0;
        font-size: 14px;
        font-weight: 500;
        color: var(--c-text);
    }

    .side-cart-empty small {
        display: block;
        margin-top: 6px;
        font-size: 12px;
        color: var(--c-text-2);
        line-height: 1.4;
    }

    .side-cart-list {
        list-style: none;
        margin: 0;
        padding: 0;
        display: grid;
        gap: 14px;
    }

    .side-cart-item {
        display: grid;
        grid-template-columns: 48px 1fr auto;
        gap: 10px;
        align-items: start;
    }

    .side-cart-item.no-image {
        grid-template-columns: 1fr auto;
    }

    .side-cart-item-media {
        width: 48px;
        height: 48px;
        border-radius: 6px;
        overflow: hidden;
        background: #eef2f6;
    }

    .side-cart-item-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .side-cart-item-body {
        min-width: 0;
    }

    .side-cart-item-body strong {
        display: block;
        font-size: 13px;
        font-weight: 500;
        line-height: 1.3;
        color: var(--c-text);
    }

    .side-cart-item-body small {
        display: block;
        margin-top: 2px;
        font-size: 11px;
        color: var(--c-text-2);
        line-height: 1.3;
    }

    .side-cart-item-controls {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-top: 8px;
    }

    .side-cart-qty {
        grid-template-columns: 26px 36px 26px;
    }

    .side-cart-qty input {
        font-size: 12px;
        min-height: 26px;
        -moz-appearance: textfield;
    }

    .side-cart-qty input::-webkit-outer-spin-button,
    .side-cart-qty input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    .side-cart-qty button {
        min-height: 26px;
        font-size: 14px;
        line-height: 1;
        color: var(--c-text);
    }

    .side-cart-qty button:disabled {
        opacity: 0.45;
        cursor: not-allowed;
    }

    .side-cart-remove {
        width: 26px;
        height: 26px;
        border: 0;
        border-radius: 50%;
        background: #f3f4f6;
        color: #6b7280;
        font-size: 16px;
        line-height: 1;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        padding: 0;
    }

    .side-cart-remove:hover {
        background: #fef3f2;
        color: #b42318;
    }

    .side-cart-remove:disabled {
        opacity: 0.45;
        cursor: not-allowed;
    }

    .side-cart-item-total {
        font-size: 13px;
        font-weight: 500;
        white-space: nowrap;
    }

    .side-cart-footer {
        padding: 14px 18px 16px;
        border-top: 1px solid var(--c-border);
        background: #fff;
        display: grid;
        gap: 8px;
    }

    .side-cart-summary {
        display: grid;
        gap: 4px;
        margin-bottom: 4px;
    }

    .side-cart-summary > div {
        display: flex;
        justify-content: space-between;
        font-size: 13px;
        color: var(--c-text-2);
    }

    .side-cart-summary > div strong {
        font-weight: 500;
        color: var(--c-text);
    }

    .side-cart-summary-discount strong { color: #008054; }

    .side-cart-checkout {
        background: #2e8158;
        color: #fff;
        min-height: 48px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 16px;
        font-weight: 500;
    }

    .side-cart-checkout:hover { background: #246b47; }

    .side-cart-view-link {
        text-align: center;
        font-size: 12px;
        color: var(--c-text-2);
        text-decoration: underline;
    }

    /* ── Home / store-summary tweaks ── */
    .store-summary-card { margin-top: 0; }

    .step1-hero-media {
        margin: 0;
        height: 320px;
        border-radius: 14px;
    }

    .step1-intro h1 { font-size: 32px; }
    .step1-intro p { font-size: 18px; max-width: 60ch; }

    .home-quick-track {
        grid-auto-flow: row;
        grid-auto-columns: unset;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
        overflow: visible;
    }

    /* ── Menu page tweaks ── */
    .menu-title-row h1 { font-size: 32px; }

    .category-tabs {
        top: 96px;
        padding: 0;
        gap: 24px;
        height: 50px;
    }

    .category-tab {
        font-size: 15px;
        padding: 0 0 12px;
    }

    /* Featured/bundles carousel: bigger cards */
    .featured-track {
        grid-auto-columns: 320px;
        gap: 16px;
    }

    .favorite-card-image { height: 168px; }
    .favorite-card-copy h3 { font-size: 18px; }

    /* Menu grid: 2 columns on desktop */
    .menu-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .product-card {
        min-height: 152px;
        grid-template-columns: minmax(0, 1fr) 168px;
        transition: box-shadow 0.18s ease, transform 0.18s ease;
    }

    a.product-card:hover {
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
        transform: translateY(-1px);
    }

    .product-copy h4 { font-size: 17px; }
    .product-copy p { font-size: 13px; }

    .menu-track {
        grid-auto-columns: 280px;
        gap: 14px;
    }

    /* When the side-cart is visible, the menu grid is narrower → 2 cols still works.
       Without side-cart (e.g. orders), allow 3 cols. */
    .pickup-main-wrap:not(.has-side-cart) .menu-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    /* ── Cart page (no side-cart, single centered column) ── */
    .route-cart .pickup-main-wrap {
        max-width: 880px;
        margin: 0 auto;
        padding: 24px 24px 64px;
    }

    .route-cart .pickup-main {
        padding-bottom: 0;
    }

    .route-cart .cart-step-header h1 { font-size: 28px; }

    .cart-item {
        min-height: 112px;
        grid-template-columns: 96px 1fr auto;
        padding: 12px;
    }
    .cart-item-media { width: 96px; height: 96px; }
    .cart-item-copy h3 { font-size: 16px; }
    .cart-item-copy p { font-size: 12px; }

    .cart-complete-bar {
        position: static;
        transform: none;
        width: 100%;
        max-width: none;
        border-top: 0;
        background: transparent;
        padding: 0;
        margin-top: 16px;
    }

    .cart-complete-bar .btn { min-height: 52px; font-size: 16px; }

    /* ── Checkout page (no side-cart, single centered column) ── */
    .route-checkout .pickup-main-wrap {
        max-width: 880px;
        margin: 0 auto;
        padding: 24px 24px 64px;
    }

    .route-checkout .pickup-main { padding-bottom: 0; }
    .route-checkout .page-header h1 { font-size: 28px; }

    .checkout-layout {
        grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
        gap: 24px;
        align-items: start;
    }

    .checkout-summary {
        position: sticky;
        top: 120px;
    }

    .checkout-submit-bar {
        position: static;
        transform: none;
        width: 100%;
        max-width: none;
        border-top: 0;
        background: transparent;
        padding: 0;
        margin-top: 16px;
        grid-column: 1 / -1;
    }

    .checkout-submit-bar .btn { min-height: 52px; font-size: 16px; }

    /* ── Orders / confirmation pages: simple centered column ── */
    .route-orders .pickup-main-wrap,
    .route-confirmation .pickup-main-wrap {
        max-width: 720px;
        margin: 0 auto;
        padding: 24px 24px 64px;
    }

    /* ── Product detail as modal overlay ──
       The product page already renders without header/bottom-nav. On desktop we
       darken the body, float the product-sheet as a centered card with a fixed
       close button, and let the inner sticky add-to-cart bar ride along. */
    body[class*="route-product-"] {
        background: rgba(15, 23, 42, 0.55);
    }

    body[class*="route-product-"] .pickup-app {
        background: transparent;
        min-height: 100vh;
        padding: 32px 16px;
        display: grid;
        place-items: start center;
    }

    body[class*="route-product-"] .pickup-main-wrap,
    body[class*="route-product-"] .pickup-main-product {
        max-width: 720px;
        width: 100%;
        margin: 0;
        padding: 0;
        display: block;
    }

    body[class*="route-product-"] .product-sheet {
        background: #fff;
        border-radius: 16px;
        box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18);
        min-height: 0;
        max-height: calc(100vh - 64px);
        overflow-y: auto;
        padding-bottom: 0;
    }

    body[class*="route-product-"] .product-sheet-hero {
        height: 320px;
    }

    body[class*="route-product-"] .product-sheet-hero-empty {
        height: 56px;
    }

    /* Hero action icons already include their own circular look — keep them flat. */
    body[class*="route-product-"] .product-hero-back,
    body[class*="route-product-"] .product-hero-close {
        background: transparent;
        box-shadow: none;
        padding: 0;
        top: 16px;
        width: 32px;
        height: 32px;
    }

    body[class*="route-product-"] .product-hero-back { left: 16px; }
    body[class*="route-product-"] .product-hero-close { right: 16px; }

    body[class*="route-product-"] .product-sticky-bar {
        position: sticky;
        bottom: 0;
        left: auto;
        transform: none;
        width: 100%;
        max-width: none;
        background: #fff;
        padding: 12px 16px !important;
    }

    body[class*="route-product-"] .product-sheet-body h1 {
        font-size: 24px;
    }

    /* ── Closed page: keep centered card ── */
    .closed-screen { padding: 40px 16px; }
    .closed-card { max-width: 520px; margin: 0 auto; }

    /* ── Order details modal: center as proper dialog (mobile uses anchored sheet) ── */
    .order-details-backdrop {
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
    }

    .order-details-sheet {
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%);
        width: min(560px, 92vw) !important;
        max-height: 86vh;
        bottom: auto !important;
        border-radius: 14px;
        box-shadow: 0 24px 48px rgba(0, 0, 0, 0.18);
    }

    /* ── Glass modal: keep centered, no width change needed ── */
}

@media (min-width: 1280px) {
    /* Slightly wider product images and tighter content */
    .product-card { grid-template-columns: minmax(0, 1fr) 192px; }
}

/* Disabled state — when max selections reached for a group */
.modifier-option--disabled {
    opacity: 0.38;
    cursor: not-allowed;
    pointer-events: none;
}
.modifier-option--disabled .modifier-option-control {
    background: #f3f4f6 !important;
    border-color: #d1d5db !important;
}

/* ── Addon stepper rows (+/- DoorDash style) ─────────────────────────────── */
.addon-option{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid #f3f4f6;min-width:0;}
.addon-option:last-child{border-bottom:none;}
.addon-option-info{flex:1;min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:4px;}
.addon-option-name{font-size:14px;font-weight:500;color:#1a1a1a;line-height:1.2;}
.addon-option-desc{font-size:12px;color:#6b7280;}
.addon-variant-select{width:auto !important;max-width:140px;align-self:flex-start;margin-top:0 !important;font-size:12px !important;padding:3px 22px 3px 8px !important;border:1px solid #d1d5db !important;border-radius:6px !important;background:#fff !important;line-height:1.3 !important;color:#374151;}
.addon-option-right{display:flex;align-items:center;gap:10px;flex-shrink:0;}
.addon-option-price{font-size:13px;font-weight:600;color:#374151;min-width:44px;text-align:right;}
.addon-stepper{display:inline-flex;align-items:center;border:1px solid #d1d5db;border-radius:999px;overflow:hidden;background:#fff;height:28px;}
.addon-stepper-btn{width:28px;height:28px;border:none;background:transparent;font-size:16px;line-height:1;color:#374151;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0;padding:0;}
.addon-stepper-btn:hover{background:#f3f4f6;}
.addon-stepper-count{min-width:20px;text-align:center;font-size:13px;font-weight:600;color:#111827;}
input.addon-stepper-count{width:36px;height:100%;border:none;background:transparent;padding:0 2px;outline:none;-moz-appearance:textfield;appearance:textfield;}
input.addon-stepper-count::-webkit-outer-spin-button,input.addon-stepper-count::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}
input.addon-stepper-count:focus{background:#f9fafb;}
.addon-option--active .addon-stepper{border-color:#1B3A4B;}
.addon-option--active .addon-stepper-btn{color:#1B3A4B;}

/* Phase 4.2 — edit-mode banner shown on every storefront page while the
   customer is adding items to an existing paid order. */
.order-edit-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px;
    background: #fef3c7;
    color: #78350f;
    border-bottom: 1px solid #fde68a;
    font-size: 13px;
    line-height: 1.35;
}
.order-edit-banner-text strong {
    font-weight: 700;
    margin-right: 6px;
}
.order-edit-banner-text span {
    color: #92400e;
}
.order-edit-banner-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.order-edit-banner-link,
.order-edit-banner-exit {
    color: #78350f;
    text-decoration: underline;
    font-weight: 600;
    white-space: nowrap;
    font-size: 12px;
}
.order-edit-banner-exit {
    color: #b91c1c;
}
@media (max-width: 600px) {
    .order-edit-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 10px 14px;
    }
    .order-edit-banner-text span {
        display: block;
        margin-top: 2px;
    }
}

/* ==================================================================== */
/* === Item / Modifier info tooltip ==================================== */
/* ==================================================================== */
.info-tip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin-left: 6px;
    border-radius: 999px;
    background: rgba(0,0,0,0.06);
    color: rgba(0,0,0,0.55);
    cursor: pointer;
    flex-shrink: 0;
    vertical-align: middle;
    position: relative;
    transition: background 0.15s ease, color 0.15s ease;
    line-height: 1;
}
.info-tip:hover,
.info-tip:focus-visible,
.info-tip.is-open {
    background: rgba(0,0,0,0.1);
    color: #111;
    outline: none;
}
.info-tip i,
.info-tip svg {
    width: 12px;
    height: 12px;
}
/* Bubble (the tooltip card itself) */
.info-tip::after {
    content: attr(data-tip);
    position: absolute;
    z-index: 50;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    min-width: 180px;
    max-width: 260px;
    width: max-content;
    padding: 10px 12px;
    background: #fff;
    color: #1f2937;
    font-size: 12.5px;
    font-weight: 400;
    line-height: 1.45;
    letter-spacing: -0.005em;
    text-align: left;
    text-transform: none;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    white-space: normal;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.12s ease, transform 0.12s ease;
}
.info-tip:hover::after,
.info-tip:focus-visible::after,
.info-tip.is-open::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
/* Anchor flips to the right edge near the viewport border */
.info-tip[data-tip-align="right"]::after {
    left: auto;
    right: 0;
    transform: translateY(4px);
}
.info-tip[data-tip-align="right"]:hover::after,
.info-tip[data-tip-align="right"]:focus-visible::after,
.info-tip[data-tip-align="right"].is-open::after {
    transform: translateY(0);
}
/* Same for the left edge (mobile, short product names near the
   viewport's left side were clipping the bubble). */
.info-tip[data-tip-align="left"]::after {
    left: 0;
    right: auto;
    transform: translateY(4px);
}
.info-tip[data-tip-align="left"]:hover::after,
.info-tip[data-tip-align="left"]:focus-visible::after,
.info-tip[data-tip-align="left"].is-open::after {
    transform: translateY(0);
}
@media (max-width: 720px) {
    .info-tip::after {
        max-width: 78vw;
        font-size: 13px;
    }
}

/* ==================================================================== */
/* === Menu FAQ accordion ============================================== */
/* ==================================================================== */
.menu-faq {
    /* Full-width: no max-width clamp. Margin/padding only tighten the
       vertical gap from the last menu card and inset us from the
       viewport edges by the same gutter the storefront uses elsewhere. */
    margin: 20px 0 48px;
    padding: 0 16px;
}
.menu-faq-header {
    text-align: center;
    margin-bottom: 18px;
}
.menu-faq-header h2 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1f2937;
    letter-spacing: -0.01em;
    margin: 0 0 4px;
}
.menu-faq-header p {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0;
}
.menu-faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.menu-faq-item {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
    overflow: hidden;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.menu-faq-item[open] {
    border-color: rgba(0,0,0,0.14);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.menu-faq-q {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 16px;
    font-size: 0.94rem;
    font-weight: 500;
    color: #1f2937;
    line-height: 1.35;
    user-select: none;
}
.menu-faq-q::-webkit-details-marker { display: none; }
.menu-faq-q-text { flex: 1; }
.menu-faq-q-chev {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(0,0,0,0.04);
    color: #4b5563;
    transition: background 0.15s ease, color 0.15s ease;
}
.menu-faq-q-chev i,
.menu-faq-q-chev svg {
    width: 16px;
    height: 16px;
    stroke-width: 2;
}
/* Show arrow-down when closed, arrow-up when [open]. */
.menu-faq-chev-open  { display: none; }
.menu-faq-item[open] .menu-faq-chev-closed { display: none; }
.menu-faq-item[open] .menu-faq-chev-open   { display: inline-flex; }
.menu-faq-item[open] .menu-faq-q-chev {
    background: rgba(0,0,0,0.08);
    color: #1f2937;
}
.menu-faq-a {
    padding: 4px 16px 16px;
    color: #4b5563;
    font-size: 0.9rem;
    line-height: 1.55;
}
.menu-faq-a p {
    margin: 0 0 10px;
}
.menu-faq-a p:last-child { margin-bottom: 0; }
@media (max-width: 600px) {
    .menu-faq { margin: 16px 0 36px; padding: 0 12px; }
    .menu-faq-header h2 { font-size: 1.16rem; }
    .menu-faq-q { padding: 13px 14px; font-size: 0.9rem; }
    .menu-faq-a { padding: 0 14px 14px; font-size: 0.88rem; }
}

/* Exit-intent help — shown when a shopper with a cart moves to leave */
.gl-exit-help {
    position: fixed;
    inset: 0;
    z-index: 12000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.gl-exit-help-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
}
.gl-exit-help-card {
    position: relative;
    width: min(420px, 100%);
    background: #fff;
    border-radius: 16px;
    padding: 24px 22px 20px;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
}
.gl-exit-help-card h2 {
    margin: 0 0 10px;
    font-size: 1.2rem;
    line-height: 1.3;
    color: #111827;
}
.gl-exit-help-text {
    margin: 0 0 18px;
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.5;
}
.gl-exit-help-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
}
.gl-exit-help-btn {
    display: block;
    text-align: center;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid #d1d5db;
    color: #111827;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
}
.gl-exit-help-btn-primary {
    background: #0d9488;
    border-color: #0d9488;
    color: #fff;
}
.gl-exit-help-dismiss {
    display: block;
    width: 100%;
    padding: 8px;
    border: 0;
    background: transparent;
    color: #6b7280;
    font-size: 0.88rem;
    cursor: pointer;
}
.gl-exit-help-dismiss:hover { color: #374151; }

/* ── Group orders (/group/new, /group/{token}) ─────────────────────────── */
.group-layout { display: flex; flex-direction: column; gap: 14px; margin: 16px 0 40px; }
.group-card {
    border: 1px solid var(--c-border);
    border-radius: 10px;
    background: var(--c-white);
    padding: 16px;
}
.group-new-form { margin: 16px 0; display: flex; flex-direction: column; gap: 14px; }
.group-card-title { margin: 0 0 8px; font-size: 18px; font-weight: 500; }
.group-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.group-card p { margin: 0 0 10px; font-size: 14px; color: var(--c-text-2); line-height: 1.45; }
.group-kicker { margin: 0 0 4px; font-size: 13px; color: var(--c-text-2); }
.group-paymode-note { font-size: 13px; }
.group-field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; border: 0; padding: 0; margin: 0; }
.group-field > span, .group-field legend { font-weight: 500; }
.group-field small { color: #6b7280; font-weight: 400; }
.group-field input, .group-field select {
    font: inherit;
    padding: 12px;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    background: var(--c-white);
    color: var(--c-text);
    width: 100%;
}
.group-paymode { gap: 8px; }
.group-choice {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 12px;
    border: 1px solid var(--c-border);
    border-radius: 8px;
    cursor: pointer;
}
.group-choice input { margin-top: 3px; accent-color: var(--c-blue-800); }
.group-choice span { display: flex; flex-direction: column; gap: 3px; }
.group-error { color: #b92d2d; font-size: 14px; margin: 0; }
.group-card .group-error { color: #b92d2d; }
.group-flash {
    margin: 0;
    padding: 11px 14px;
    border-radius: 8px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    font-size: 14px;
}
.group-flash-warn { background: #fef3c7; border-color: #fde68a; color: #78350f; }
.group-status {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 12px;
    background: #f3f4f6;
    color: #374151;
}
.group-status-open { background: #ecfdf5; color: #065f46; }
.group-status-converted { background: #eff6ff; color: #1e40af; }
.group-status-cancelled, .group-status-expired { background: #f3f4f6; color: #6b7280; }
.group-share.is-highlighted { border-color: var(--c-teal); box-shadow: 0 0 0 3px rgba(128, 212, 197, 0.35); }
.group-share-row { display: flex; gap: 8px; }
.group-share-row input {
    flex: 1;
    min-width: 0;
    font: inherit;
    font-size: 13px;
    padding: 12px;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    background: #f9fafb;
    color: var(--c-text);
}
.group-share-row .btn { min-height: 44px; padding: 10px 16px; white-space: nowrap; }
.group-join-form { display: flex; flex-direction: column; gap: 12px; }
.group-subtotal { font-weight: 500; }
.group-empty { font-size: 14px; color: #6b7280; }
.group-people, .group-items, .group-menu-list, .group-history { list-style: none; margin: 0; padding: 0; }
.group-person { padding: 12px 0; border-top: 1px solid var(--c-border); }
.group-person:first-child { border-top: 0; }
.group-person-head { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.group-person-total { margin-left: auto; font-size: 14px; }
.group-tag { font-size: 11px; padding: 1px 7px; border-radius: 999px; background: #f3f4f6; color: #374151; }
.group-item { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: 14px; }
.group-item-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.group-item-main small { color: #6b7280; font-size: 12px; }
.group-item-side { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; flex-shrink: 0; }
.group-item-status { font-size: 11px; color: #6b7280; }
.group-item-paid .group-item-status { color: #065f46; }
.group-item-dropped { opacity: 0.55; text-decoration: line-through; }
.group-link-btn {
    border: 0;
    background: none;
    padding: 0;
    font: inherit;
    font-size: 12px;
    color: #b91c1c;
    text-decoration: underline;
    cursor: pointer;
}
.group-totals { margin: 0 0 12px; font-size: 14px; }
.group-totals div { display: flex; justify-content: space-between; padding: 3px 0; }
.group-totals dt, .group-totals dd { margin: 0; }
.group-total { border-top: 1px solid var(--c-border); margin-top: 4px; padding-top: 8px !important; font-weight: 500; font-size: 16px; }
.group-tips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.group-tip {
    flex: 1;
    min-width: 64px;
    padding: 10px 8px;
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    background: var(--c-white);
    color: var(--c-text);
    font: inherit;
    font-size: 14px;
    cursor: pointer;
}
.group-tip.is-active { border-color: var(--c-blue-800); background: var(--c-blue-800); color: var(--c-white); }
.group-pay .group-field { margin-bottom: 12px; }
.group-card-container {
    min-height: 90px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 12px;
}
.group-pay .btn + .btn { margin-top: 8px; }
.group-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.group-actions .btn { min-height: 44px; padding: 10px 16px; }
.group-help { margin-top: 10px !important; font-size: 13px !important; }
.group-menu-cat { margin: 16px 0 6px; font-size: 15px; font-weight: 500; }
.group-menu-cat:first-of-type { margin-top: 4px; }
.group-menu-list li a {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid var(--c-border);
    font-size: 14px;
}
.group-menu-list li:first-child a { border-top: 0; }
.group-menu-list li a strong { font-weight: 500; white-space: nowrap; }
.group-history li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-top: 1px solid var(--c-border);
}
.group-history li:first-child { border-top: 0; }
.group-history a { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.group-history a span { font-size: 12px; color: #6b7280; }
.group-add-banner {
    margin: 0 0 16px;
    padding: 12px 16px;
    border-radius: 10px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    font-size: 14px;
}
.group-add-banner a { text-decoration: underline; }
