/* ==========================================================
   Food Menu Page — extracted from page-template-food-menu.php
   ========================================================== */

/* ── Hide site header on food-menu pages ── */
.site-header,
#masthead,
header.site-header {
    display: none !important;
}

/* ── CSS Custom Properties (brand tokens) ── */
:root {
    --brand-primary: var(--so-bg-c41e3a);
    --brand-primary-dark: var(--so-bg-991b1b);
    --brand-primary-light: var(--so-bg-fff1f2);
    --brand-primary-muted: var(--so-bg-c41e3a-a08);
    --brand-accent: var(--so-bg-bb2a37);
    --brand-accent-dark: var(--so-bg-a52530);
    --brand-danger: var(--so-fg-dc2626);
    --brand-danger-dark: var(--so-bg-b91c1c);
    --color-text: var(--so-fg-111827);
    --color-text-muted: var(--so-fg-6b7280);
    --color-text-faint: var(--so-fg-9ca3af);
    --color-bg: var(--so-bg-f9f9f7);
    --color-bg-card: var(--so-bg-ffffff);
    --color-border: var(--so-ln-e5e7eb);
    --color-border-light: var(--so-ln-f0f0f0);
    --radius-sm: 4px;
    --radius-md: 0.625rem;
    --radius-lg: 1rem;
    --radius-full: 9999px;
    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.saigon-split-bill-card {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin: 0 0 14px;
    padding: 12px;
    border: 1px solid var(--so-ln-c41e3a-a22);
    border-radius: 8px;
    background: var(--so-bg-ffffff);
    color: var(--color-text);
}

.saigon-split-bill-card.is-deferred:not(.is-visible) {
    display: none;
}

.saigon-split-bill-overlay.is-deferred:not(.is-visible) {
    display: none;
}

.saigon-split-bill-overlay {
    position: fixed;
    inset: 0;
    z-index: 100010;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: var(--so-bg-0f172a-a48);
}

.saigon-split-bill-overlay .saigon-split-bill-card {
    width: min(100%, 430px);
    margin: 0;
    box-shadow: 0 18px 50px var(--so-sh-0f172a-a22);
}

.saigon-split-bill-card--cart {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px 12px;
    padding: 14px;
}

.saigon-split-bill-card.is-assigned {
    border-color: var(--so-ln-c41e3a-a34);
    background: var(--brand-primary-light);
}

.saigon-split-bill-overlay.is-assigned .saigon-split-bill-card {
    border-color: var(--so-ln-c41e3a-a34);
    background: var(--brand-primary-light);
}

.saigon-split-bill-card.is-error {
    border-color: var(--so-ln-dc2626-a38);
    background: var(--so-bg-fff6f6);
}

.saigon-split-bill-overlay.is-error .saigon-split-bill-card {
    border-color: var(--so-ln-dc2626-a38);
    background: var(--so-rs-fff6f6);
}

.saigon-split-bill-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 8px;
    background: var(--brand-primary-light);
    color: var(--brand-primary);
}

.saigon-split-bill-content {
    min-width: 0;
    flex: 1 1 auto;
}

.saigon-split-bill-card--cart .saigon-split-bill-content {
    flex: 1 1 calc(100% - 46px);
}

.saigon-split-bill-eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--brand-primary-dark);
}

.saigon-split-bill-title {
    display: block;
    margin-top: 2px;
    font-size: 15px;
    line-height: 1.25;
    color: var(--color-text);
}

.saigon-split-bill-copy,
.saigon-split-bill-status {
    margin: 3px 0 0;
    font-size: 12px;
    line-height: 1.35;
    color: var(--color-text-muted);
}

.saigon-split-bill-status {
    font-weight: 600;
    color: var(--so-fg-b7463a);
}

.saigon-split-bill-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
}

.saigon-split-bill-card--cart .saigon-split-bill-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    width: 100%;
    padding-left: 46px;
}

.saigon-split-bill-btn {
    min-height: 36px;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: var(--brand-primary);
    color: var(--so-fg-ffffff);
    font-size: 13px;
    font-weight: 700;
    line-height: 36px;
    white-space: nowrap;
    cursor: pointer;
}

.saigon-split-bill-btn--primary {
    background: var(--brand-primary);
    color: var(--so-fg-ffffff);
}

.saigon-split-bill-btn--secondary {
    border-color: var(--color-border);
    background: var(--so-bg-ffffff);
    color: var(--color-text);
}

.saigon-split-bill-btn--primary:hover,
.saigon-split-bill-btn--primary:focus {
    background: var(--brand-primary-dark);
}

.saigon-split-bill-btn--secondary:hover,
.saigon-split-bill-btn--secondary:focus {
    border-color: var(--so-ln-c41e3a-a35);
    color: var(--brand-primary-dark);
}

.saigon-split-bill-btn:disabled {
    cursor: wait;
    opacity: 0.68;
}

@media (max-width: 520px) {
    .saigon-split-bill-card {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .saigon-split-bill-actions {
        flex-direction: column;
        width: 100%;
    }

    .saigon-split-bill-card--cart .saigon-split-bill-actions {
        grid-template-columns: 1fr;
        padding-left: 0;
    }

    .saigon-split-bill-btn {
        width: 100%;
    }
}

/* ── Sticky category nav ── */
#menu-bar.sticky {
    position: sticky;
    top: 32px;
    z-index: 50;
}

@media screen and (max-width: 782px) {
    #menu-bar.sticky {
        top: 46px;
    }
}

body:not(.admin-bar) #menu-bar.sticky {
    top: 0;
}

#menu-bar {
    background: var(--saigon-menu-nav-background, #ffffff);
}

/* ── Promotion slideshow ── */
.saigon-promo-carousel {
    --saigon-promo-height: clamp(150px, 28vw, 320px);

    position: relative;
    background: var(--so-bg-ffffff);
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
    touch-action: pan-y;
}

.saigon-promo-carousel-track {
    position: relative;
    width: 100%;
    min-height: var(--saigon-promo-height);
}

.saigon-promo-carousel-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 1fr;
    min-height: var(--saigon-promo-height);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
}

.saigon-promo-carousel-slide.is-active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
}

.saigon-promo-carousel-media {
    position: absolute;
    inset: 0;
    background: var(--so-bg-111827);
}

.saigon-promo-carousel-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--so-bg-0f172a-a7) 0%, var(--so-bg-0f172a-a28) 48%, var(--so-bg-0f172a-a08) 100%);
}

.saigon-promo-carousel-slide--bright-image .saigon-promo-carousel-media::after {
    display: none;
}

.saigon-promo-carousel-image {
    width: 100%;
    height: 100%;
    min-height: var(--saigon-promo-height);
    object-fit: cover;
    object-position: center;
    display: block;
}

.saigon-promo-carousel-slide--bright-image .saigon-promo-carousel-image {
    object-position: center top;
}

.saigon-promo-carousel-copy {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.65rem;
    min-height: var(--saigon-promo-height);
    max-width: min(720px, 92vw);
    padding: clamp(1rem, 3vw, 2rem) clamp(1rem, 6vw, 4rem);
    color: var(--so-fg-ffffff);
}

@media (min-width: 1024px) {
    .saigon-promo-carousel {
        --saigon-promo-height: 260px;
        --saigon-promo-slide-width: min(1040px, 76vw);

        background: var(--so-bg-111827);
    }

    .saigon-promo-carousel-track {
        height: var(--saigon-promo-height);
        min-height: var(--saigon-promo-height);
        overflow: hidden;
        perspective: 1200px;
        perspective-origin: center;
    }

    .saigon-promo-carousel-slide {
        top: 0;
        right: auto;
        bottom: 0;
        left: 50%;
        width: var(--saigon-promo-slide-width);
        height: var(--saigon-promo-height);
        min-height: var(--saigon-promo-height);
        overflow: hidden;
        opacity: 0;
        backface-visibility: hidden;
        transform: translateX(-50%) rotateY(42deg) scale(0.9);
        transform-origin: center;
        transform-style: preserve-3d;
        transition: opacity 240ms ease, transform 520ms cubic-bezier(0.22, 1, 0.36, 1);
        will-change: transform, opacity;
    }

    .saigon-promo-carousel-slide.is-active,
    .saigon-promo-carousel-slide.is-prev,
    .saigon-promo-carousel-slide.is-next {
        position: absolute;
        pointer-events: auto;
    }

    .saigon-promo-carousel-slide.is-peek-clone {
        pointer-events: none;
    }

    .saigon-promo-carousel-slide.is-active {
        z-index: 3;
        opacity: 1;
        transform: translateX(-50%) rotateY(0deg) scale(1);
    }

    .saigon-promo-carousel-slide.is-prev {
        z-index: 1;
        opacity: 0.62;
        transform: translateX(-150%) rotateY(-34deg) scale(0.92);
        transform-origin: right center;
    }

    .saigon-promo-carousel-slide.is-next {
        z-index: 1;
        opacity: 0.62;
        transform: translateX(50%) rotateY(34deg) scale(0.92);
        transform-origin: left center;
    }

    .saigon-promo-carousel-media,
    .saigon-promo-carousel-copy,
    .saigon-promo-carousel-image {
        height: var(--saigon-promo-height);
        min-height: var(--saigon-promo-height);
        max-height: var(--saigon-promo-height);
    }

    .saigon-promo-carousel-media {
        background: var(--so-bg-111827);
    }

    .saigon-promo-carousel-image {
        object-fit: contain;
        object-position: center;
    }

    .saigon-promo-carousel-slide--bright-image .saigon-promo-carousel-media {
        background: var(--so-bg-fff7d6);
    }

    .saigon-promo-carousel-slide--bright-image .saigon-promo-carousel-image {
        object-fit: contain;
        object-position: center;
    }

    .saigon-promo-carousel-copy {
        padding: 1.25rem 2rem 2.15rem;
    }

}

.saigon-promo-carousel-slide--no-image {
    background: var(--so-bg-fff7ed);
}

.saigon-promo-carousel-slide--no-image .saigon-promo-carousel-copy {
    color: var(--so-fg-111827);
}

.saigon-promo-carousel-slide--no-image .saigon-promo-carousel-message {
    color: var(--so-fg-475569);
}

.saigon-promo-carousel-slide--no-image .saigon-promo-carousel-cta {
    background: var(--so-bg-111827);
    color: var(--so-fg-ffffff);
}

.saigon-promo-carousel-title {
    margin: 0;
    max-width: 16ch;
    color: inherit;
    font-size: clamp(1.35rem, 3vw, 2.3rem);
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: 0;
}

.saigon-promo-carousel-message {
    max-width: 42rem;
    color: var(--so-fg-ffffff-a92);
    font-size: 0.98rem;
    line-height: 1.5;
}

.saigon-promo-carousel-message p {
    margin: 0;
}

.saigon-promo-carousel-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem;
    padding: 0 1rem;
    border: 0;
    border-radius: 999px;
    background: var(--so-bg-ffffff);
    color: var(--so-fg-111827);
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 10px 24px var(--so-sh-0f172a-a18);
}

.saigon-promo-carousel-cta:hover,
.saigon-promo-carousel-cta:focus-visible {
    color: var(--so-fg-111827);
    background: var(--so-bg-f8fafc);
    text-decoration: none;
}

.saigon-promo-carousel-cta--color-brand {
    color: var(--so-fg-ffffff);
    background: var(--brand-primary);
}

.saigon-promo-carousel-cta--color-brand:hover,
.saigon-promo-carousel-cta--color-brand:focus-visible {
    color: var(--so-fg-ffffff);
    background: var(--brand-primary-dark);
}

.saigon-promo-carousel-cta--color-dark {
    color: var(--so-fg-ffffff);
    background: var(--so-bg-111827);
}

.saigon-promo-carousel-cta--color-dark:hover,
.saigon-promo-carousel-cta--color-dark:focus-visible {
    color: var(--so-fg-ffffff);
    background: var(--so-bg-374151);
}

.saigon-promo-carousel-cta--color-soft {
    color: var(--brand-primary-dark);
    background: var(--brand-primary-light);
}

.saigon-promo-carousel-cta--color-soft:hover,
.saigon-promo-carousel-cta--color-soft:focus-visible {
    color: var(--brand-primary-dark);
    background: var(--so-bg-ffe4e6);
}

.saigon-promo-carousel-cta--position-left {
    align-self: flex-start;
}

.saigon-promo-carousel-cta--position-center {
    align-self: center;
}

.saigon-promo-carousel-cta--position-right {
    align-self: flex-end;
}

.saigon-promo-carousel-cta--disabled,
.saigon-promo-carousel-cta--disabled:hover,
.saigon-promo-carousel-cta--disabled:focus-visible,
.saigon-promo-carousel-cta:disabled {
    color: var(--so-fg-6b7280);
    background: var(--so-bg-f3f4f6);
    cursor: not-allowed;
    box-shadow: none;
    opacity: 0.92;
}

.saigon-promo-carousel-availability {
    max-width: 28rem;
    margin-top: 0.45rem;
    color: inherit;
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.35;
    text-shadow: 0 1px 2px var(--so-sh-0f172a-a2);
}

.saigon-promo-carousel-slide--text-center-left .saigon-promo-carousel-copy,
.saigon-promo-carousel-slide--text-bottom-left .saigon-promo-carousel-copy {
    align-items: flex-start;
    justify-self: start;
    text-align: left;
}

.saigon-promo-carousel-slide--text-center-center .saigon-promo-carousel-copy,
.saigon-promo-carousel-slide--text-bottom-center .saigon-promo-carousel-copy {
    align-items: center;
    justify-self: center;
    text-align: center;
}

.saigon-promo-carousel-slide--text-center-right .saigon-promo-carousel-copy,
.saigon-promo-carousel-slide--text-bottom-right .saigon-promo-carousel-copy {
    align-items: flex-end;
    justify-self: end;
    text-align: right;
}

.saigon-promo-carousel-slide--text-center-left .saigon-promo-carousel-copy,
.saigon-promo-carousel-slide--text-center-center .saigon-promo-carousel-copy,
.saigon-promo-carousel-slide--text-center-right .saigon-promo-carousel-copy {
    justify-content: center;
}

.saigon-promo-carousel-slide--text-bottom-left .saigon-promo-carousel-copy,
.saigon-promo-carousel-slide--text-bottom-center .saigon-promo-carousel-copy,
.saigon-promo-carousel-slide--text-bottom-right .saigon-promo-carousel-copy {
    justify-content: flex-end;
    padding-bottom: clamp(2.25rem, 5vw, 4rem);
}

.saigon-promo-carousel-slide--text-white .saigon-promo-carousel-copy {
    color: var(--so-fg-ffffff);
}

.saigon-promo-carousel-slide--text-white .saigon-promo-carousel-message {
    color: var(--so-fg-ffffff-a92);
}

.saigon-promo-carousel-slide--text-dark .saigon-promo-carousel-copy {
    color: var(--so-fg-111827);
}

.saigon-promo-carousel-slide--text-dark .saigon-promo-carousel-message {
    color: var(--so-fg-475569);
}

.saigon-promo-carousel-slide--text-brand .saigon-promo-carousel-copy {
    color: var(--brand-primary);
}

.saigon-promo-carousel-slide--text-brand .saigon-promo-carousel-message {
    color: var(--brand-primary-dark);
}

.saigon-promo-carousel-controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.75rem;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 0.45rem;
    pointer-events: none;
}

.saigon-promo-carousel-dot {
    width: 0.6rem;
    height: 0.6rem;
    padding: 0;
    border: 1px solid var(--so-ln-ffffff-a82);
    border-radius: 999px;
    background: var(--so-bg-ffffff-a32);
    cursor: pointer;
    pointer-events: auto;
}

.saigon-promo-carousel-dot.is-active {
    width: 1.4rem;
    background: var(--so-bg-ffffff);
}

.saigon-promo-carousel-arrow {
    display: none;
}

@media (min-width: 1024px) {
    .saigon-promo-carousel-title {
        font-size: clamp(1.45rem, 2.1vw, 2rem);
    }

    .saigon-promo-carousel-message {
        max-width: 36rem;
        font-size: 0.94rem;
        line-height: 1.42;
    }

    .saigon-promo-carousel-controls {
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 4;
        align-items: flex-end;
        justify-content: center;
        height: var(--saigon-promo-height);
        padding: 0 1rem 0.75rem;
    }

    .saigon-promo-carousel-dot {
        margin-bottom: 0;
    }

    .saigon-promo-carousel-arrow {
        position: absolute;
        top: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        padding: 0;
        border: 0;
        border-radius: 999px;
        color: var(--so-fg-ffffff);
        background: var(--so-bg-0f172a-a78);
        font-size: 2rem;
        font-weight: 700;
        line-height: 1;
        cursor: pointer;
        pointer-events: auto;
        transform: translateY(-50%);
        box-shadow: 0 10px 24px var(--so-sh-0f172a-a28);
    }

    .saigon-promo-carousel-arrow:hover,
    .saigon-promo-carousel-arrow:focus-visible {
        color: var(--so-fg-ffffff);
        background: var(--so-bg-0f172a-a92);
    }

    .saigon-promo-carousel-arrow--prev {
        left: 1rem;
    }

    .saigon-promo-carousel-arrow--next {
        right: 1rem;
    }
}

@media (max-width: 1023px) {
    .saigon-promo-carousel {
        --saigon-promo-height: 172px;

        max-height: var(--saigon-promo-height);
    }

    .saigon-promo-carousel,
    .saigon-promo-carousel-track,
    .saigon-promo-carousel-slide {
        overflow: hidden;
    }

    .saigon-promo-carousel-track,
    .saigon-promo-carousel-slide,
    .saigon-promo-carousel-copy,
    .saigon-promo-carousel-image {
        height: var(--saigon-promo-height);
        min-height: 172px;
        max-height: var(--saigon-promo-height);
    }

    .saigon-promo-carousel-media::after {
        background: linear-gradient(180deg, var(--so-bg-0f172a-a58) 0%, var(--so-bg-0f172a-a32) 52%, var(--so-bg-0f172a-a72) 100%);
    }

    .saigon-promo-carousel-copy {
        justify-content: flex-end;
        gap: 0.35rem;
        overflow: hidden;
        padding: 0.85rem 1rem 2.25rem;
    }

    .saigon-promo-carousel-slide--text-center-left .saigon-promo-carousel-copy,
    .saigon-promo-carousel-slide--text-center-center .saigon-promo-carousel-copy,
    .saigon-promo-carousel-slide--text-center-right .saigon-promo-carousel-copy {
        justify-content: center;
        padding-bottom: 1rem;
    }

    .saigon-promo-carousel-slide--text-bottom-left .saigon-promo-carousel-copy,
    .saigon-promo-carousel-slide--text-bottom-center .saigon-promo-carousel-copy,
    .saigon-promo-carousel-slide--text-bottom-right .saigon-promo-carousel-copy {
        justify-content: flex-end;
        padding-bottom: 2.25rem;
    }

    .saigon-promo-carousel-title {
        max-width: 18ch;
        font-size: 1.18rem;
        display: -webkit-box;
        overflow: hidden;
        -webkit-box-orient: vertical;
        line-clamp: 2;
        -webkit-line-clamp: 2;
    }

    .saigon-promo-carousel-message {
        display: -webkit-box;
        max-width: 21rem;
        overflow: hidden;
        font-size: 0.82rem;
        line-height: 1.22;
        -webkit-box-orient: vertical;
        line-clamp: 3;
        -webkit-line-clamp: 3;
    }

    .saigon-promo-carousel-availability {
        display: none;
    }

    .saigon-promo-carousel-cta {
        min-height: 2.25rem;
        padding: 0 0.85rem;
        font-size: 0.84rem;
    }
}

@keyframes slide-down {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(0); }
}

#menu-bar a.active {
    background-color: var(--brand-primary);
    color: var(--so-fg-ffffff);
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* ── Top header bar ── */
.menu-top-header {
    background-color: var(--saigon-menu-header-background, var(--color-bg-card));
    border-bottom: 1px solid var(--color-border);
    padding: 0.25rem 0 0.25rem 0.75rem;
    position: sticky;
    top: 0;
    z-index: 99990;
}

.menu-top-header-inner {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem;
    padding: 0.25rem 0.75rem;
}

.menu-top-header-logo {
    flex: 0 1 auto;
    min-width: 0;
}

.menu-top-header-logo img {
    max-height: 40px;
    height: auto;
    width: auto;
    max-width: 100%;
}

.menu-top-header-lang {
    margin-left: auto;
    flex: 0 1 auto;
    min-width: 0;
    display: flex;
    justify-content: flex-end;
}

.menu-top-header-actions {
    margin-left: auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.55rem;
    min-width: 0;
}

.menu-top-header-lang .gtranslate_wrapper,
.menu-top-header-lang .gt_switcher-popup {
    min-width: 0;
    max-width: 100%;
}

.menu-top-header-lang .gt_float_switcher,
.menu-top-header-lang .gt_float_switcher .gt-selected,
.menu-top-header-lang .gt-current-lang,
.menu-top-header-lang .gt-selected,
.menu-top-header-lang a {
    max-width: 100%;
}

/* ── Table indicator ── */
.menu-current-table-banner {
    background-color: var(--color-bg-card);
    padding: 0.125rem 1rem;
    text-align: center;
    font-family: var(--font-sans);
}

.menu-current-table-label {
    display: inline-block;
    margin-right: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

.menu-current-table-value {
    display: inline-block;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-text);
}

/* ── Warning banner ── */
.menu-top-header-warning {
    background: linear-gradient(90deg, var(--so-bg-b91c1c), var(--so-bg-ef4444));
    color: var(--so-fg-ffffff);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 4px 6px var(--so-sh-000000-a15);
}

.menu-top-header-warning-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    border: 2px solid var(--so-ln-ffffff-a8);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    background-color: var(--so-bg-000000-a2);
}

.menu-top-header-warning-text {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    max-width: 720px;
}

/* ── Category scroll arrows ── */
.menu-scroll-wrapper {
    position: relative;
}

#menu-scroll-container {
    cursor: grab;
    user-select: none;
}

#menu-scroll-container.cursor-grabbing {
    cursor: grabbing !important;
}

.menu-scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    border: none;
    background-color: var(--so-bg-111827-a85);
    color: var(--so-fg-ffffff);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 6px var(--so-sh-000000-a2);
    z-index: 60;
}

.menu-scroll-arrow-left {
    left: 0.25rem;
}

.menu-scroll-arrow-right {
    right: 0.25rem;
}

@media (min-width: 768px) {
    .menu-scroll-arrow {
        display: none;
    }
}

body.admin-bar .menu-top-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .menu-top-header {
        top: 46px;
    }
}

@media (max-width: 640px) {
    .menu-top-header-inner {
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
    }

    .menu-top-header-logo {
        flex: 1 1 auto;
        min-width: 0;
    }

    .menu-top-header-actions {
        flex: 0 1 auto;
        max-width: 62%;
        gap: 0.4rem;
    }

    .menu-top-header-lang {
        flex: 0 1 auto;
        max-width: 100%;
    }

    .menu-top-header-lang .gtranslate_wrapper,
    .menu-top-header-lang .gt_switcher-popup,
    .menu-top-header-lang .gt_float_switcher,
    .menu-top-header-lang .gt_float_switcher .gt-selected {
        width: auto;
        max-width: 100%;
    }

    .menu-top-header-lang .gt-current-lang,
    .menu-top-header-lang .gt-selected,
    .menu-top-header-lang a {
        display: block;
        width: 100%;
        max-width: 100%;
        text-align: right;
        line-height: 1.2;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .menu-top-header-site-name {
        font-size: 1rem;
    }
}

/* ── Scroll lock ── */
/* Lock on <html> only, never position: fixed and never on <body>: both break the sticky
   category bar behind a popup (body with overflow hidden becomes its own scroll box). */
html.saigon-scroll-locked {
    overflow: hidden;
    /* Keep the scrollbar width on desktop so the menu does not re-wrap and shift. */
    scrollbar-gutter: stable;
}

#food-modal-overlay,
#cart-modal-overlay {
    overscroll-behavior: contain;
}

/* ── Modal logo spinner ── */
.saigon-logo-spinner {
    width: 96px;
    height: 96px;
    border-radius: var(--radius-full);
    background: var(--color-bg-card);
    box-shadow: 0 20px 45px var(--so-sh-0f172a-a15);
    border: 2px solid var(--so-ln-94a3b8-a4);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: saigon-loader-pulse 1.4s ease-in-out infinite;
}

.saigon-logo-spinner img {
    max-width: 70%;
    max-height: 70%;
    display: block;
}

@keyframes saigon-loader-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.06); opacity: 0.88; }
}

/* ── Page background ── */
main.menu-content {
    background-color: var(--saigon-menu-content-background, var(--color-bg));
}

/* ── Category sections ── */
.menu-form-section {
    margin-bottom: 0.75rem;
}

.menu-category-img-wrap {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0.5rem 0;
    gap: 0.75rem;
}

.menu-category-img-wrap img {
    height: 72px;
    width: auto;
    object-fit: contain;
}

/* ── Category title bar ── */
.menu-form-category-title {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--so-fg-ffffff);
    background-color: var(--so-bg-1a1a1a);
    padding: 0.5rem 0.75rem 0.5rem 1rem;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    border-left: 4px solid var(--brand-primary);
}

.menu-form-subcategory-title {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    min-height: 2.35rem;
    padding: 0.65rem 0.95rem;
    background: var(--so-bg-f8fafc);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border-light);
    color: var(--so-fg-334155);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

/* ── Product list ── */
.menu-form-list {
    border: 1px solid var(--color-border);
    border-top: none;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    overflow: hidden;
    background: var(--color-bg-card);
}

@media (min-width: 768px) {
    .menu-form-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .menu-form-row:nth-child(odd) {
        border-right: 1px solid var(--color-border);
    }
}

/* ── Product row ── */
.menu-form-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    gap: 0.95rem;
    padding: 0.9rem 0.95rem;
    border-bottom: 1px solid var(--color-border-light);
    background: var(--color-bg-card);
    transition: background-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
    min-height: 124px;
    cursor: pointer;
    -webkit-tap-highlight-color: var(--brand-primary-muted);
    position: relative;
}

.menu-form-row--with-image {
    min-height: 138px;
}

.menu-form-row:active {
    background-color: var(--so-bg-fff5f5) !important;
}

.menu-form-row:hover {
    background-color: var(--so-bg-fcfcfd);
    transform: translateY(-1px);
    box-shadow: 0 12px 24px var(--so-sh-0f172a-a06);
}

.menu-form-row:nth-child(even) {
    background-color: var(--so-bg-fafafa);
}

@media (min-width: 768px) {
    .menu-form-row:nth-child(even) {
        background-color: var(--color-bg-card);
    }
    .menu-form-row:nth-child(4n+3),
    .menu-form-row:nth-child(4n+4) {
        background-color: var(--so-bg-fafafa);
    }
}

.menu-form-row.menu-row-selected {
    background-color: var(--brand-primary-light) !important;
    border-bottom-color: var(--so-ln-fecdd3);
    box-shadow: inset 3px 0 0 var(--brand-primary);
}

.menu-form-row-main {
    min-width: 0;
    display: flex;
    align-items: center;
}

.menu-form-row-copy {
    width: 100%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.34rem;
}

.menu-form-row-heading {
    display: flex;
    flex-direction: column;
    gap: 0.22rem;
    min-width: 0;
}

.menu-form-row-aside {
    position: relative;
    width: 108px;
    min-width: 108px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-form-row-aside.no-image {
    width: auto;
    min-width: 0;
    align-self: center;
}

.menu-form-row-aside.no-image .menu-form-row-media--placeholder {
    display: none;
}

.menu-form-row-aside.no-image .menu-form-row-visual-shade {
    display: none;
}

.menu-form-row-aside.no-image .menu-form-qty-controls {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--so-bg-f1f5f9);
    border-radius: 999px;
    padding: 0.22rem;
}

.menu-form-row-aside.no-image .menu-form-qty-controls.is-zero {
    background: transparent;
    padding: 0;
}

.menu-form-row-aside.no-image .menu-form-qty-btn {
    position: static;
    box-shadow: 0 1px 4px var(--so-sh-0f172a-a1);
    background: var(--so-bg-ffffff);
    border-color: var(--so-ln-e2e8f0);
}

.menu-form-row-aside.no-image .menu-form-qty-btn:hover {
    border-color: var(--so-ln-94a3b8);
    background: var(--so-bg-f8fafc);
}

.menu-form-row-aside.no-image .menu-form-qty-display {
    position: static;
    background: var(--so-bg-1e293b);
    color: var(--so-fg-ffffff);
    min-width: 1.6rem;
    height: 1.6rem;
    line-height: 1.6rem;
    font-size: 0.75rem;
    border-radius: 999px;
    text-align: center;
    padding: 0 0.35rem;
}

/* No-image: override the hide/show — always show buttons in inline pill */
.menu-form-row-aside.no-image .menu-form-qty-controls:not(.is-zero) .menu-form-qty-minus,
.menu-form-row-aside.no-image .menu-form-qty-controls:not(.is-zero) .menu-form-qty-plus {
    opacity: 1;
    pointer-events: auto;
    transform: none;
}
.menu-form-row:hover .menu-form-row-aside.no-image .menu-form-qty-controls:not(.is-zero) .menu-form-qty-minus,
.menu-form-row:hover .menu-form-row-aside.no-image .menu-form-qty-controls:not(.is-zero) .menu-form-qty-plus,
.menu-form-row-aside.no-image .menu-form-qty-controls:not(.is-zero).is-active .menu-form-qty-minus,
.menu-form-row-aside.no-image .menu-form-qty-controls:not(.is-zero).is-active .menu-form-qty-plus {
    opacity: 1;
    pointer-events: auto;
    transform: none;
}

.menu-form-row-visual-shade {
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: linear-gradient(180deg, var(--so-bg-111827-a04) 0%, var(--so-bg-111827-a24) 100%);
    pointer-events: none;
    opacity: 0.88;
}

.menu-form-row-aside.has-image .menu-form-row-visual-shade {
    display: none;
}

.menu-form-row-media {
    width: 108px;
    height: 108px;
    border-radius: 18px;
    overflow: hidden;
    flex-shrink: 0;
    background: transparent;
    align-self: center;
    box-shadow: none;
    cursor: zoom-in;
    -webkit-touch-callout: none;
    user-select: none;
    -webkit-user-select: none;
}

.menu-form-row-media--placeholder {
    background: var(--so-bg-f3f4f6);
    background:
        radial-gradient(circle at top left, var(--so-bg-ffffff-a9), var(--so-bg-e2e8f0-a9) 55%, var(--so-bg-cbd5e1-a95) 100%),
        linear-gradient(135deg, var(--so-bg-f8fafc), var(--so-bg-e2e8f0));
}

.menu-form-row-image {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
    -webkit-user-drag: none;
    pointer-events: none;
}

.menu-form-row-image--contain {
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.menu-form-row-media--contain {
    position: relative;
}

/* Whole photos (bottles, glasses on white): plain white box so the photo edge disappears,
   no blurred copy and no shading. Overrides the !important placeholder background below. */
.menu-form-row-media.menu-form-row-media--contain {
    background: var(--so-bg-ffffff) !important;
}

.menu-form-row-media--contain .menu-form-row-image-blur,
.menu-form-row-aside:has(.menu-form-row-media--contain) .menu-form-row-visual-shade {
    display: none;
}

.menu-form-row-image-blur {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: blur(20px) saturate(1.4);
    transform: scale(1.15);
    opacity: 0.55;
}

#food-modal-content .so-modal-img-wrap {
    --so-modal-image-height: 220px;

    height: calc(var(--so-modal-image-height) + 0.5rem);
    overflow: hidden;
    position: relative;
}

#food-modal-content .so-modal-img-wrap::after {
    content: '';
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    bottom: 0;
    left: 0.5rem;
    border-radius: 1rem;
    background: var(--saigon-modal-image-background, #ffffff);
    opacity: 0;
    transition: opacity 160ms ease;
}

#food-modal-content .so-modal-img-wrap--adaptive::after {
    opacity: 1;
}

#food-modal-content .so-modal-img-wrap--adaptive-contain {
    --so-modal-image-height: 176px;
}

#food-modal-content .so-modal-img-wrap--adaptive-contain::after {
    background: var(--saigon-modal-image-background, #ffffff);
    opacity: 1;
}

#food-modal-content .so-modal-img {
    position: relative;
    z-index: 1;
    height: var(--so-modal-image-height);
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center;
}

#food-modal-content .so-modal-img--adaptive-contain {
    width: auto;
    max-width: 56%;
    height: calc(var(--so-modal-image-height) - 28px);
    margin: 14px auto 0;
    object-fit: contain;
}

#food-modal-content .so-modal-img--adaptive-cover {
    width: 100%;
    height: var(--so-modal-image-height);
    margin: 0;
    object-fit: cover;
}

#food-modal-content .so-modal-title-stack {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    flex-direction: column;
    gap: 0.45rem;
}

#food-modal-content .so-modal-title-stack .so-modal-title {
    flex: 0 1 auto;
}

#food-modal-content .so-modal-tags--hydrated {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    padding: 0;
    margin: 0;
}

#food-modal-content .so-modal-tags--hydrated .tag-icon,
#food-modal-content .so-modal-tags--hydrated span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

#food-modal-content .so-modal-tags--hydrated img {
    width: 22px !important;
    height: 22px !important;
    object-fit: contain;
}

@media (max-width: 767px) {
    #food-modal-content .so-modal-img-wrap {
        --so-modal-image-height: 210px;
    }

    #food-modal-content .so-modal-img-wrap--adaptive-contain {
        --so-modal-image-height: 168px;
    }
}

/* Product shots on white (bottles, cans): tall plain white area, photo fills its height. */
#food-modal-content .so-modal-img-wrap--contain.so-modal-img-wrap--adaptive-contain {
    --so-modal-image-height: 260px;
}

#food-modal-content .so-modal-img-wrap--contain.so-modal-img-wrap--adaptive-contain::after {
    background: var(--so-rs-ffffff);
}

#food-modal-content .so-modal-img-wrap--contain .so-modal-img-blur {
    display: none;
}

#food-modal-content .so-modal-img-wrap--contain .so-modal-img--adaptive-contain {
    max-width: 100%;
    height: calc(var(--so-modal-image-height) - 12px);
    margin: 12px auto 0;
    border-radius: 0;
}

.saigon-image-preview-overlay {
    position: fixed;
    inset: 0;
    z-index: 100120;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: var(--so-bg-0f172a-a78);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
}

.saigon-image-preview-overlay--visible {
    opacity: 1;
    pointer-events: auto;
}

.saigon-image-preview-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(92vw, 720px);
    max-height: 82vh;
    padding: 0.5rem;
}

.saigon-image-preview-image {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 78vh;
    border-radius: 22px;
    box-shadow: 0 30px 60px var(--so-sh-000000-a28);
    background: var(--so-bg-ffffff);
}

.saigon-image-preview-close {
    position: absolute;
    top: max(1rem, env(safe-area-inset-top));
    right: max(1rem, env(safe-area-inset-right));
    width: 2.75rem;
    height: 2.75rem;
    border: none;
    border-radius: 9999px;
    background: var(--so-bg-ffffff-a14);
    color: var(--so-fg-ffffff);
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 120ms ease, transform 100ms ease;
}

.saigon-image-preview-close:hover {
    background: var(--so-bg-ffffff-a22);
}

.saigon-image-preview-close:active {
    transform: scale(0.95);
}

@media (max-width: 767px) {
    .menu-form-row {
        gap: 0.82rem;
        padding: 0.72rem 0.72rem;
        min-height: 122px;
    }

    .menu-form-row--with-image {
        min-height: 122px;
    }

    .menu-form-row-aside {
        width: 116px;
        min-width: 116px;
    }

    .menu-form-row-aside.no-image {
        width: auto;
        min-width: 0;
    }

    .menu-form-row-media,
    .menu-form-row-media--placeholder {
        width: 116px;
        height: 116px;
        border-radius: 15px;
    }

    .menu-form-row-visual-shade {
        border-radius: 15px;
    }
}

/* ── Qty controls ── */
.menu-form-qty-controls {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}

/* Zero state: only plus visible */
.menu-form-qty-controls.is-zero .menu-form-qty-minus,
.menu-form-qty-controls.is-zero .menu-form-qty-display {
    display: none;
}

/* ── Uber Eats–style: hide +/- when not interacting ── */
/* By default (qty > 0, not hovered), hide plus & minus, show only the badge */
.menu-form-qty-controls:not(.is-zero) .menu-form-qty-minus,
.menu-form-qty-controls:not(.is-zero) .menu-form-qty-plus {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.7);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

/* Show controls on row hover or when any control is focused */
.menu-form-row:hover .menu-form-qty-controls:not(.is-zero) .menu-form-qty-minus,
.menu-form-row:hover .menu-form-qty-controls:not(.is-zero) .menu-form-qty-plus,
.menu-form-qty-controls:not(.is-zero):focus-within .menu-form-qty-minus,
.menu-form-qty-controls:not(.is-zero):focus-within .menu-form-qty-plus,
.menu-form-row .menu-form-qty-controls:not(.is-zero).is-active .menu-form-qty-minus,
.menu-form-row .menu-form-qty-controls:not(.is-zero).is-active .menu-form-qty-plus {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

/* On touch devices, show controls after tap via .is-active (set by JS) */
@media (hover: none) {
    .menu-form-row:hover .menu-form-qty-controls:not(.is-zero) .menu-form-qty-minus,
    .menu-form-row:hover .menu-form-qty-controls:not(.is-zero) .menu-form-qty-plus {
        opacity: 0;
        pointer-events: none;
        transform: scale(0.7);
    }
    .menu-form-row .menu-form-qty-controls:not(.is-zero).is-active .menu-form-qty-minus,
    .menu-form-row .menu-form-qty-controls:not(.is-zero).is-active .menu-form-qty-plus {
        opacity: 1;
        pointer-events: auto;
        transform: scale(1);
    }
}

/* ── Trash icon SVG inside minus button when qty = 1 ── */
.menu-form-qty-minus .qty-icon-minus,
.menu-form-qty-minus .qty-icon-trash {
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.menu-form-qty-minus .qty-icon-trash { display: none; }
.menu-form-qty-minus.is-trash-mode .qty-icon-minus { display: none; }
.menu-form-qty-minus.is-trash-mode .qty-icon-trash { display: flex; }

.menu-form-qty-minus.is-trash-mode {
    color: var(--brand-primary, #e11d48);
}

.menu-form-qty-btn {
    position: absolute;
    z-index: 3;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--so-ln-ffffff-a85);
    background: var(--so-bg-ffffff-a96);
    color: var(--so-fg-374151);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1;
    transition: border-color 0.12s, background-color 0.12s, opacity 0.12s;
    padding: 0;
    touch-action: manipulation;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    pointer-events: auto;
    box-shadow: 0 10px 24px var(--so-sh-0f172a-a18);
}

.menu-form-qty-btn:active {
    transform: scale(0.88);
}

.menu-form-qty-btn:hover,
.menu-form-qty-btn:focus-visible {
    border-color: var(--so-ln-374151);
    background: var(--so-bg-f3f4f6);
    outline: none;
}

.menu-form-qty-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.menu-form-qty-minus {
    left: 0.48rem;
    bottom: 0.48rem;
}

.menu-form-qty-btn.menu-form-qty-plus {
    right: 0.48rem;
    bottom: 0.48rem;
    border-color: var(--so-ln-ffffff-a95);
    background-color: var(--so-bg-ffffff-a98);
    color: var(--so-fg-111827);
}

.menu-form-row--with-image .menu-form-qty-btn.menu-form-qty-plus {
    box-shadow: 0 14px 28px var(--so-sh-0f172a-a24);
}

.menu-form-qty-btn.menu-form-qty-plus:hover {
    background-color: var(--so-bg-ffffff);
    border-color: var(--so-ln-ffffff);
}

.menu-form-qty-btn.menu-form-qty-plus[aria-busy="true"] {
    background-color: var(--so-bg-ffffff-a95);
    border-color: var(--so-ln-ffffff-a95);
    opacity: 0.7;
    cursor: wait;
    pointer-events: none;
}

.menu-form-qty-minus[aria-busy="true"] {
    opacity: 0.7;
    cursor: wait;
    pointer-events: none;
}

.menu-form-qty-display {
    position: absolute;
    bottom: 0.48rem;
    right: 0.48rem;
    min-width: 1.8rem;
    height: 1.8rem;
    padding: 0 0.42rem;
    border-radius: 999px;
    background: var(--so-bg-111827-a82);
    color: var(--so-fg-ffffff);
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.8rem;
    pointer-events: auto;
    cursor: pointer;
    z-index: 4;
    transition: right 0.15s ease, transform 0.15s ease;
}

/* Center badge between buttons when controls are expanded — only with-image rows */
/* On hover: center badge but keep it clickable so user can click to lock */
.menu-form-row:hover .menu-form-row-aside.has-image .menu-form-qty-controls:not(.is-zero) .menu-form-qty-display {
    right: 50%;
    transform: translateX(50%);
}
/* On is-active (locked): badge centered, no longer needs to be clickable */
.menu-form-row .menu-form-row-aside.has-image .menu-form-qty-controls:not(.is-zero).is-active .menu-form-qty-display {
    right: 50%;
    transform: translateX(50%);
    pointer-events: none;
}

@media (hover: none) {
    .menu-form-row:hover .menu-form-row-aside.has-image .menu-form-qty-controls:not(.is-zero) .menu-form-qty-display {
        right: 0.48rem;
        transform: none;
    }
    .menu-form-row .menu-form-row-aside.has-image .menu-form-qty-controls:not(.is-zero).is-active .menu-form-qty-display {
        right: 50%;
        transform: translateX(50%);
        pointer-events: none;
    }
}

/* ── Product info ── */
.menu-form-row-name {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.3;
    display: block;
    cursor: default;
    letter-spacing: -0.01em;
    text-wrap: balance;
}

.menu-form-row-description {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    font-size: 0.82rem;
    line-height: 1.45;
    color: var(--color-text-muted);
    word-break: break-word;
}

.menu-form-row-customize {
    font-size: 0.7rem;
    color: var(--brand-primary);
    letter-spacing: 0.02em;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.2rem;
    opacity: 0.82;
}

.menu-form-row-tags {
    display: flex;
    gap: 0.3rem;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 0.08rem;
    opacity: 0.92;
}

/* ── Price column ── */
.menu-form-row-price {
    flex-shrink: 0;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--so-fg-111827);
    text-align: left;
    min-width: 0;
    white-space: nowrap;
}

.menu-form-row-price .woocommerce-Price-amount {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

.menu-form-row-price del {
    display: none;
}

@media (max-width: 767px) {
    .menu-form-row-name {
        font-size: 0.95rem;
        line-height: 1.28;
        letter-spacing: -0.01em;
    }

    .menu-form-row-price {
        font-size: 0.88rem;
    }

    .menu-form-row-description {
        -webkit-line-clamp: 2;
        line-clamp: 2;
        font-size: 0.78rem;
        line-height: 1.36;
        max-width: none;
    }

    .menu-form-row-tags {
        gap: 0.22rem;
        margin-top: 0.02rem;
    }

    .menu-form-row-customize {
        font-size: 0.7rem;
    }

    .menu-form-qty-btn {
        width: 40px;
        height: 40px;
        font-size: 0.96rem;
    }

    .menu-form-qty-display {
        min-width: 1.5rem;
        height: 1.5rem;
        padding: 0 0.34rem;
        line-height: 1.5rem;
        font-size: 0.68rem;
    }

    .menu-form-qty-minus {
        left: 0.38rem;
        bottom: 0.38rem;
    }

    .menu-form-qty-btn.menu-form-qty-plus {
        right: 0.38rem;
        bottom: 0.38rem;
    }

    .menu-form-qty-display {
        bottom: 0.38rem;
        right: 0.38rem;
    }
}

/* ── Sticky cart footer ── */
.sticky-cart-footer-wrapper {
    background: transparent;
    padding-bottom: 0;
    box-shadow: none;
}

.saigon-cart-card {
    background: var(--color-bg-card);
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 24px var(--so-sh-000000-a18);
    overflow: hidden;
    pointer-events: auto;
    max-width: 480px;
    width: calc(100% - 1.5rem);
    margin: 0 auto calc(0.6rem + env(safe-area-inset-bottom));
}

.cart-bar-row {
    display: flex;
    align-items: stretch;
    gap: 0;
    padding: 0;
}

.saigon-cart-bar-service-slot {
    flex: 0 0 auto;
    display: flex;
    align-items: stretch;
    justify-content: stretch;
    min-width: 4.5rem;
}

/* ── Request service (left section) ── */
.saigon-request-service-btn--bar {
    flex: 0 0 auto;
    width: auto;
    min-width: 4.5rem;
    background: var(--color-bg-card) !important;
    color: var(--color-text-muted) !important;
    border: none !important;
    border-right: 1px solid var(--color-border) !important;
    border-radius: 0 !important;
    padding: 0.75rem 0.5rem !important;
    font-size: 0.6rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    text-align: center !important;
    white-space: normal !important;
    box-shadow: none !important;
    cursor: pointer !important;
    transition: background-color 0.15s ease !important;
    line-height: 1.25 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.3rem !important;
}

.saigon-request-service-btn--bar svg {
    flex-shrink: 0;
    stroke: var(--color-text-faint);
}

.saigon-request-service-btn--bar:hover {
    background: var(--so-bg-f9fafb) !important;
}

.saigon-request-service-btn--bar.saigon-request-service-btn-disabled {
    opacity: 0.45 !important;
    cursor: not-allowed !important;
}

body.saigon-order-takeout .saigon-request-service-btn--bar,
body.page-template-page-template-takeout-menu .saigon-request-service-btn--bar {
    display: none !important;
}

body.saigon-order-table .saigon-cart-bar-service-slot,
body.page-template-page-template-food-menu .saigon-cart-bar-service-slot {
    display: flex !important;
}

body.saigon-request-service-disabled.page-template-page-template-food-menu .sticky-cart-footer-wrapper .saigon-cart-bar-service-slot,
body.saigon-order-takeout .sticky-cart-footer-wrapper .saigon-cart-bar-service-slot,
body.page-template-page-template-takeout-menu .sticky-cart-footer-wrapper .saigon-cart-bar-service-slot {
    display: none !important;
}

body.saigon-request-service-enabled.page-template-page-template-food-menu .sticky-cart-footer-wrapper .sticky-cart-button,
body.saigon-request-service-enabled.saigon-order-table.page-template-page-template-food-menu .sticky-cart-footer-wrapper .sticky-cart-button {
    margin-left: 4.6rem;
    width: calc(100% - 4.6rem);
}

body.saigon-order-table .saigon-cart-bar-service-slot > .saigon-request-service-btn--bar,
body.page-template-page-template-food-menu .saigon-cart-bar-service-slot > .saigon-request-service-btn--bar {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.saigon-request-service-floating-fallback {
    position: fixed;
    left: 50%;
    bottom: calc(2.35rem + env(safe-area-inset-bottom));
    z-index: 99982;
    width: calc(100% - 1.5rem);
    max-width: 480px;
    display: none;
    pointer-events: auto;
    transform: translateX(-50%);
    pointer-events: none;
}

.saigon-history-panel[hidden] {
    display: none !important;
}

.saigon-request-service-floating-fallback .saigon-request-service-btn--bar {
    width: 4.6rem;
    min-width: 4.6rem;
    height: 3.45rem;
    min-height: 3.45rem;
    border: none !important;
    border-right: 1px solid var(--color-border) !important;
    border-radius: var(--radius-lg) 0 0 0 !important;
    background: var(--color-bg-card) !important;
    color: var(--color-text-muted) !important;
    box-shadow: none !important;
    padding: 0.55rem 0.4rem !important;
    gap: 0.2rem !important;
    font-size: 0.56rem !important;
    line-height: 1.15 !important;
    pointer-events: auto;
}

.saigon-request-service-floating-fallback .saigon-request-service-btn--bar svg {
    stroke: var(--color-text-faint);
}

.saigon-request-service-menu-fixed {
    position: fixed;
    left: 50%;
    bottom: calc(2.35rem + env(safe-area-inset-bottom));
    z-index: 99982;
    width: calc(100% - 1.5rem);
    max-width: 480px;
    display: flex;
    justify-content: flex-start;
    transform: translateX(-50%);
    pointer-events: none;
}

.saigon-request-service-menu-fixed .saigon-request-service-btn--bar {
    width: 4.6rem;
    min-width: 4.6rem;
    height: 3.45rem;
    min-height: 3.45rem;
    border: none !important;
    border-right: 1px solid var(--color-border) !important;
    border-radius: var(--radius-lg) 0 0 0 !important;
    background: var(--color-bg-card) !important;
    color: var(--color-text-muted) !important;
    box-shadow: none !important;
    padding: 0.55rem 0.4rem !important;
    gap: 0.2rem !important;
    font-size: 0.56rem !important;
    line-height: 1.15 !important;
    pointer-events: auto;
}

.saigon-request-service-menu-fixed .saigon-request-service-btn--bar svg {
    stroke: var(--color-text-faint);
}

body.saigon-order-takeout .saigon-request-service-floating-fallback,
body.page-template-page-template-takeout-menu .saigon-request-service-floating-fallback,
body.saigon-order-takeout .saigon-request-service-menu-fixed,
body.page-template-page-template-food-menu:not(.saigon-order-table) .saigon-request-service-menu-fixed,
body.page-template-page-template-takeout-menu .saigon-request-service-menu-fixed {
    display: none !important;
}

/* ── Cart button (right section) ── */
.sticky-cart-button {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    overflow: hidden;
    background-color: var(--color-bg-card) !important;
    max-width: none !important;
    margin: 0 !important;
    border-radius: 0 !important;
    padding: 0.65rem 0.75rem !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 0.5rem !important;
    box-shadow: none !important;
}

.sticky-cart-button:hover,
.sticky-cart-button:active {
    background-color: var(--so-rs-f9fafb) !important;
}

body.page-template-page-template-food-menu .sticky-cart-footer-wrapper .sticky-cart-button,
body.saigon-order-table.page-template-page-template-food-menu .sticky-cart-footer-wrapper .sticky-cart-button {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center !important;
    justify-content: stretch !important;
}

body.saigon-request-service-enabled.page-template-page-template-food-menu .sticky-cart-footer-wrapper .sticky-cart-button,
body.saigon-request-service-enabled.saigon-order-table.page-template-page-template-food-menu .sticky-cart-footer-wrapper .sticky-cart-button {
    margin-left: 4.6rem !important;
    width: calc(100% - 4.6rem) !important;
    max-width: calc(100% - 4.6rem) !important;
    flex: 1 1 calc(100% - 4.6rem) !important;
    padding: 0.65rem 0.75rem 0.65rem 0.12rem !important;
    gap: 0.2rem !important;
}

body.saigon-request-service-enabled.page-template-page-template-food-menu .sticky-cart-footer-wrapper .sticky-cart-button .cart-bar-info,
body.saigon-request-service-enabled.saigon-order-table.page-template-page-template-food-menu .sticky-cart-footer-wrapper .sticky-cart-button .cart-bar-info {
    margin-left: 0 !important;
    padding-left: 0 !important;
}

body.page-template-page-template-food-menu .sticky-cart-footer-wrapper .sticky-cart-button .cart-bar-info,
body.saigon-order-table.page-template-page-template-food-menu .sticky-cart-footer-wrapper .sticky-cart-button .cart-bar-info {
    justify-self: start;
    align-self: center;
    width: 6.5rem;
    min-width: 6.5rem;
    max-width: 6.5rem;
}

body.saigon-request-service-enabled.page-template-page-template-food-menu .sticky-cart-footer-wrapper .sticky-cart-button .cart-bar-action,
body.saigon-request-service-enabled.saigon-order-table.page-template-page-template-food-menu .sticky-cart-footer-wrapper .sticky-cart-button .cart-bar-action {
    margin-left: auto;
}

body.page-template-page-template-food-menu .sticky-cart-footer-wrapper .sticky-cart-button .cart-bar-action,
body.saigon-order-table.page-template-page-template-food-menu .sticky-cart-footer-wrapper .sticky-cart-button .cart-bar-action {
    justify-self: end;
    align-self: center;
    flex-shrink: 0;
}

body.saigon-request-service-disabled.page-template-page-template-food-menu .sticky-cart-footer-wrapper .sticky-cart-button,
body.saigon-request-service-disabled.saigon-order-table.page-template-page-template-food-menu .sticky-cart-footer-wrapper .sticky-cart-button {
    margin-left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
}

@media (max-width: 1024px) {
    body.saigon-request-service-disabled.page-template-page-template-food-menu .sticky-cart-footer-wrapper .saigon-cart-card,
    body.saigon-request-service-disabled.saigon-order-table.page-template-page-template-food-menu .sticky-cart-footer-wrapper .saigon-cart-card {
        width: min(20rem, calc(100% - 2rem));
        max-width: 20rem;
    }
}

.cart-bar-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    flex-shrink: 1;
    min-width: 0;
}

.cart-bar-label {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-faint);
    line-height: 1;
}

.cart-bar-total {
    display: inline-flex;
    align-items: baseline;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-text);
    letter-spacing: -0.02em;
    white-space: nowrap;
    line-height: 1.2;
}

@media (max-width: 767px) {
    body.page-template-page-template-food-menu .sticky-cart-footer-wrapper .sticky-cart-button .cart-bar-info,
    body.saigon-order-table.page-template-page-template-food-menu .sticky-cart-footer-wrapper .sticky-cart-button .cart-bar-info {
        width: 5.85rem;
        min-width: 5.85rem;
        max-width: 5.85rem;
    }

    body.saigon-request-service-disabled.page-template-page-template-food-menu .sticky-cart-footer-wrapper .saigon-cart-card,
    body.saigon-request-service-disabled.saigon-order-table.page-template-page-template-food-menu .sticky-cart-footer-wrapper .saigon-cart-card {
        width: min(18.5rem, calc(100% - 1.5rem));
        max-width: 18.5rem;
    }

    body.saigon-request-service-enabled.page-template-page-template-food-menu .sticky-cart-footer-wrapper .sticky-cart-button {
        margin-left: 4.6rem !important;
        width: calc(100% - 4.6rem) !important;
        max-width: calc(100% - 4.6rem) !important;
        flex: 1 1 calc(100% - 4.6rem) !important;
        padding: 0.65rem 0.7rem 0.65rem 0.1rem !important;
        gap: 0.15rem !important;
    }

    body.saigon-request-service-disabled.page-template-page-template-food-menu .sticky-cart-footer-wrapper .sticky-cart-button {
        margin-left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: 1 1 100% !important;
    }

    .saigon-request-service-floating-fallback {
        bottom: calc(2.45rem + env(safe-area-inset-bottom));
    }

    .saigon-request-service-menu-fixed {
        bottom: calc(2.45rem + env(safe-area-inset-bottom));
    }
}

body.saigon-request-service-enabled.page-template-page-template-food-menu .sticky-cart-footer-wrapper .saigon-cart-bar-service-slot,
body.saigon-request-service-enabled.saigon-order-table.page-template-page-template-food-menu .sticky-cart-footer-wrapper .saigon-cart-bar-service-slot {
    display: flex !important;
}

body.saigon-request-service-disabled.page-template-page-template-food-menu .sticky-cart-footer-wrapper .saigon-cart-bar-service-slot,
body.saigon-request-service-disabled.saigon-order-table.page-template-page-template-food-menu .sticky-cart-footer-wrapper .saigon-cart-bar-service-slot {
    display: none !important;
}

body.saigon-request-service-enabled.page-template-page-template-food-menu .saigon-request-service-menu-fixed,
body.saigon-request-service-enabled.saigon-order-table.page-template-page-template-food-menu .saigon-request-service-menu-fixed,
body.saigon-request-service-enabled.page-template-page-template-food-menu .saigon-request-service-floating-fallback,
body.saigon-request-service-enabled.saigon-order-table.page-template-page-template-food-menu .saigon-request-service-floating-fallback {
    display: none !important;
}

/* Canonical sticky cart layout: rely on the row structure, not button offsets. */
body.page-template-page-template-food-menu .sticky-cart-footer-wrapper .sticky-cart-button,
body.saigon-order-table.page-template-page-template-food-menu .sticky-cart-footer-wrapper .sticky-cart-button {
    margin-left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 auto !important;
}

body.saigon-request-service-enabled.page-template-page-template-food-menu .sticky-cart-footer-wrapper .cart-bar-row,
body.saigon-request-service-enabled.saigon-order-table.page-template-page-template-food-menu .sticky-cart-footer-wrapper .cart-bar-row {
    grid-template-columns: 4.6rem minmax(0, 1fr) !important;
}

body.saigon-request-service-disabled.page-template-page-template-food-menu .sticky-cart-footer-wrapper .cart-bar-row,
body.saigon-request-service-disabled.saigon-order-table.page-template-page-template-food-menu .sticky-cart-footer-wrapper .cart-bar-row,
body.saigon-order-takeout.page-template-page-template-food-menu .sticky-cart-footer-wrapper .cart-bar-row,
body.page-template-page-template-takeout-menu .sticky-cart-footer-wrapper .cart-bar-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
}

body.saigon-request-service-disabled.page-template-page-template-food-menu .sticky-cart-footer-wrapper .saigon-cart-card,
body.saigon-request-service-disabled.saigon-order-table.page-template-page-template-food-menu .sticky-cart-footer-wrapper .saigon-cart-card,
body.saigon-order-takeout.page-template-page-template-food-menu .sticky-cart-footer-wrapper .saigon-cart-card,
body.page-template-page-template-takeout-menu .sticky-cart-footer-wrapper .saigon-cart-card {
    width: min(22rem, calc(100% - 1rem)) !important;
    max-width: 22rem !important;
}

body.saigon-request-service-enabled.page-template-page-template-food-menu .sticky-cart-footer-wrapper .sticky-cart-button,
body.saigon-request-service-enabled.saigon-order-table.page-template-page-template-food-menu .sticky-cart-footer-wrapper .sticky-cart-button {
    margin-left: 0 !important;
    width: auto !important;
    max-width: none !important;
    flex: 1 1 0 !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0.65rem 0.75rem !important;
    gap: 0.5rem !important;
}

body.saigon-request-service-enabled.page-template-page-template-food-menu .sticky-cart-footer-wrapper .sticky-cart-button .cart-bar-info,
body.saigon-request-service-enabled.saigon-order-table.page-template-page-template-food-menu .sticky-cart-footer-wrapper .sticky-cart-button .cart-bar-info {
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
}

body.saigon-request-service-enabled.page-template-page-template-food-menu .sticky-cart-footer-wrapper .sticky-cart-button .cart-bar-action,
body.saigon-request-service-enabled.saigon-order-table.page-template-page-template-food-menu .sticky-cart-footer-wrapper .sticky-cart-button .cart-bar-action {
    margin-left: auto !important;
    flex-shrink: 0 !important;
}

@media (max-width: 374px) {
    .cart-bar-total {
        font-size: 1rem;
    }
    .cart-bar-action {
        font-size: 0.65rem;
        padding: 0.55rem 0.65rem;
    }
}

.cart-bar-total .woocommerce-Price-amount,
.cart-bar-total bdi,
.cart-bar-total .woocommerce-Price-currencySymbol {
    color: inherit !important;
    font-size: inherit !important;
    font-weight: inherit !important;
}

/* ── Cart pill ── */
.cart-bar-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    background: var(--brand-danger);
    color: var(--so-fg-ffffff) !important;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.6rem 0.85rem;
    border-radius: var(--radius-full);
    flex-shrink: 1;
    min-width: 0;
    transition: background-color 0.15s ease;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    overflow-wrap: break-word;
    word-break: break-word;
}

@media (max-width: 374px) {
    .cart-bar-action {
        white-space: normal;
        line-height: 1.2;
        padding-top: 0.45rem;
        padding-bottom: 0.45rem;
    }
}

.sticky-cart-button:hover .cart-bar-action,
.sticky-cart-button:active .cart-bar-action {
    background: var(--brand-danger-dark);
}

.cart-bar-icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.cart-bar-icon-wrap svg {
    width: 18px;
    height: 18px;
    display: block;
    stroke: var(--so-fg-ffffff);
}

.cart-bar-badge {
    position: absolute;
    top: -5px;
    right: -7px;
    min-width: 15px;
    height: 15px;
    background: var(--so-rs-ffffff);
    color: var(--brand-danger);
    border-radius: 50%;
    font-size: 0.5rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 2px;
    line-height: 1;
    box-sizing: border-box;
}
.cart-bar-badge.is-empty {
    display: none;
}

/* ── Disclaimer ── */
.saigon-cart-disclaimer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.22rem 0.75rem;
    background: var(--so-bg-f9fafb);
    border-top: 1px solid var(--so-ln-f3f4f6);
    gap: 0;
}

.saigon-cart-disclaimer span {
    font-size: 0.52rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    line-height: 1.6;
    overflow-wrap: break-word;
    word-break: break-word;
    text-align: center;
    max-width: 100%;
}

.saigon-cart-disclaimer span:first-child {
    color: var(--brand-danger);
}

.saigon-cart-disclaimer span:last-child {
    color: var(--color-text-faint);
}

/* ── Order Confirmation Popup ── */
.so-order-confirm-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    background: var(--so-bg-000000-a55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    animation: soConfirmFadeIn 200ms ease-out;
}

@keyframes soConfirmFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes soConfirmSlideUp {
    from { opacity: 0; transform: translateY(24px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.so-order-confirm-card {
    background: var(--so-bg-ffffff);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem 1.25rem;
    max-width: 340px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px var(--so-sh-000000-a18);
    animation: soConfirmSlideUp 250ms ease-out;
}

.so-order-confirm-icon {
    width: 3.25rem;
    height: 3.25rem;
    margin: 0 auto 0.75rem;
    border-radius: var(--radius-full);
    background: var(--so-bg-fef3c7);
    color: var(--so-fg-d97706);
    display: flex;
    align-items: center;
    justify-content: center;
}

.so-order-confirm-title {
    font-family: 'Work Sans', var(--font-sans);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--so-fg-0f172a);
    margin: 0 0 0.5rem;
}

.so-order-confirm-msg {
    font-size: 0.875rem;
    color: var(--so-fg-64748b);
    line-height: 1.5;
    margin: 0 0 1.25rem;
    overflow-wrap: break-word;
    word-break: break-word;
}

.so-order-confirm-actions {
    display: flex;
    gap: 0.625rem;
}

.so-order-confirm-btn {
    flex: 1;
    padding: 0.7rem 0.5rem;
    border-radius: var(--radius-md);
    font-family: 'Work Sans', var(--font-sans);
    font-size: 0.85rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background 150ms ease, transform 90ms ease;
    text-align: center;
    overflow-wrap: break-word;
    word-break: break-word;
}

.so-order-confirm-btn:active {
    transform: scale(0.97);
}

.so-order-confirm-cancel {
    background: var(--so-bg-f1f5f9);
    color: var(--so-fg-334155);
}

.so-order-confirm-cancel:hover {
    background: var(--so-bg-e2e8f0);
}

.so-order-confirm-ok {
    background: var(--brand-accent);
    color: var(--so-fg-ffffff);
}

.so-order-confirm-ok:hover {
    background: var(--brand-accent-dark);
}

/* ── Bottom padding: clear floating card ── */
.menu-content {
    padding-bottom: calc(7rem + env(safe-area-inset-bottom));
}

/* ── Suppress WooCommerce "View basket" link ── */
.menu-form-row .added_to_cart,
.menu-form-qty-controls .added_to_cart {
    display: none !important;
}

/* ── GTranslate popup — bottom sheet override ── */
.gt_white_content {
    position: fixed !important;
    top: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: auto !important;
    max-width: 480px !important;
    max-height: 70vh !important;
    margin: 0 auto !important;
    padding: 0.75rem 0 calc(0.75rem + env(safe-area-inset-bottom)) !important;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important;
    background: var(--color-bg-card) !important;
    box-shadow: 0 -8px 30px var(--so-sh-000000-a18) !important;
    z-index: 19881206 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    box-sizing: border-box !important;
    text-align: left !important;
    color: var(--so-fg-0f172a) !important;
}

.gt_white_content .gt_languages {
    display: flex !important;
    flex-flow: column nowrap !important;
    flex-wrap: nowrap !important;
    max-height: none !important;
    overflow: visible !important;
    gap: 0 !important;
}

.gt_white_content .gt_languages a.glink {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    padding: 0.7rem 1.25rem !important;
    border-bottom: 1px solid var(--so-ln-f1f5f9) !important;
    text-decoration: none !important;
    color: var(--so-fg-0f172a) !important;
    font-family: var(--font-sans) !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    line-height: normal !important;
    flex-basis: auto !important;
    border-radius: 0 !important;
    transition: background 0.15s ease !important;
    box-sizing: border-box !important;
}

.gt_white_content .gt_languages a.glink:last-child {
    border-bottom: none !important;
}

.gt_white_content .gt_languages a.glink:hover,
.gt_white_content .gt_languages a.glink:active {
    background: var(--so-bg-f5f5f5) !important;
}

.gt_white_content .gt_languages a.glink.gt-current-lang {
    color: var(--brand-primary) !important;
    font-weight: 700 !important;
    background: var(--brand-primary-muted) !important;
}

.gt_white_content .gt_languages a.glink img {
    width: 24px !important;
    height: 24px !important;
    border-radius: 3px !important;
    flex-shrink: 0 !important;
    opacity: 1 !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

.gt_black_overlay {
    z-index: 19881205 !important;
}

/* ── Focus-visible outlines (accessibility) ── */
:focus-visible {
    outline: 2px solid var(--brand-primary);
    outline-offset: 2px;
}

button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
    outline: none;
}

/* ── Cart toast aria-live region — screen reader announce ── */
#saigon-cart-toast[aria-live] {
    display: block;
}

/* ── Empty cart state ── */
.saigon-empty-cart {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    text-align: center;
    min-height: 240px;
}

.saigon-empty-cart-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
    color: var(--color-text-faint);
    opacity: 0.5;
}

.saigon-empty-cart-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0 0 0.5rem;
}

.saigon-empty-cart-desc {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin: 0 0 1.25rem;
    line-height: 1.5;
}

.saigon-empty-cart-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 1.25rem;
    background: var(--brand-primary);
    color: var(--so-fg-ffffff);
    border: none;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease;
    text-decoration: none;
}

.saigon-empty-cart-btn:hover {
    background: var(--brand-primary-dark);
}

/* Old Chromium/WebView fallback (Android 7 era devices) */
@supports not ((position: sticky) or (position: -webkit-sticky)) {
    .menu-top-header,
    #menu-bar.sticky {
        position: static;
        top: auto;
    }
}

/* ── Kiosk page: hide Astra theme header and page elements ── */
body.saigon-kiosk-menu-page #masthead,
body.saigon-kiosk-menu-page .site-header,
body.saigon-kiosk-menu-page header.site-header,
body.saigon-kiosk-menu-page #ast-desktop-header,
body.saigon-kiosk-menu-page #ast-mobile-header,
body.saigon-kiosk-menu-page .ast-mobile-header-wrap,
body.saigon-kiosk-menu-page .ast-above-header-wrap,
body.saigon-kiosk-menu-page .ast-below-header-wrap,
body.saigon-kiosk-menu-page .ast-single-post-featured-section,
body.saigon-kiosk-menu-page .post-thumb-img-content,
body.saigon-kiosk-menu-page .entry-header {
    display: none !important;
}

body.saigon-kiosk-menu-page header.site-header,
body.saigon-kiosk-menu-page #masthead {
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
}

/* ── Kiosk: hide any floating (non-bar) request service button ── */
body.saigon-kiosk-menu-page .saigon-request-service-btn-wrapper,
body.saigon-kiosk-menu-page .saigon-request-service-btn:not(.saigon-request-service-btn--bar) {
    display: none !important;
}

body.saigon-request-service-enabled.page-template-page-template-food-menu .sticky-cart-footer-wrapper .cart-bar-row,
body.saigon-request-service-enabled.saigon-order-table.page-template-page-template-food-menu .sticky-cart-footer-wrapper .cart-bar-row {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    align-items: stretch !important;
}

body.saigon-request-service-enabled.page-template-page-template-food-menu .sticky-cart-footer-wrapper .saigon-cart-bar-service-slot,
body.saigon-request-service-enabled.saigon-order-table.page-template-page-template-food-menu .sticky-cart-footer-wrapper .saigon-cart-bar-service-slot {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    min-width: 4.6rem !important;
}

body.saigon-request-service-enabled.page-template-page-template-food-menu .sticky-cart-footer-wrapper .saigon-cart-bar-service-slot > .saigon-request-service-btn--bar,
body.saigon-request-service-enabled.saigon-order-table.page-template-page-template-food-menu .sticky-cart-footer-wrapper .saigon-cart-bar-service-slot > .saigon-request-service-btn--bar {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 4.6rem !important;
    min-width: 4.6rem !important;
    height: 100% !important;
}

body.saigon-request-service-enabled.page-template-page-template-food-menu .saigon-request-service-menu-fixed,
body.saigon-request-service-enabled.saigon-order-table.page-template-page-template-food-menu .saigon-request-service-menu-fixed,
body.saigon-request-service-enabled.page-template-page-template-food-menu .saigon-request-service-floating-fallback,
body.saigon-request-service-enabled.saigon-order-table.page-template-page-template-food-menu .saigon-request-service-floating-fallback {
    display: none !important;
}

body.saigon-request-service-enabled.page-template-page-template-food-menu .sticky-cart-footer-wrapper .sticky-cart-button,
body.saigon-request-service-enabled.saigon-order-table.page-template-page-template-food-menu .sticky-cart-footer-wrapper .sticky-cart-button {
    margin-left: 0 !important;
    width: auto !important;
    max-width: none !important;
    flex: 1 1 auto !important;
}

body.saigon-request-service-disabled.page-template-page-template-food-menu .sticky-cart-footer-wrapper .saigon-cart-bar-service-slot,
body.saigon-request-service-disabled.saigon-order-table.page-template-page-template-food-menu .sticky-cart-footer-wrapper .saigon-cart-bar-service-slot,
body.saigon-order-takeout .sticky-cart-footer-wrapper .saigon-cart-bar-service-slot,
body.page-template-page-template-takeout-menu .sticky-cart-footer-wrapper .saigon-cart-bar-service-slot {
    display: none !important;
}

body.page-template-page-template-food-menu .sticky-cart-footer-wrapper .sticky-cart-button,
body.saigon-order-table.page-template-page-template-food-menu .sticky-cart-footer-wrapper .sticky-cart-button {
    margin-left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 auto !important;
}

body.saigon-request-service-enabled.page-template-page-template-food-menu .sticky-cart-footer-wrapper .cart-bar-row,
body.saigon-request-service-enabled.saigon-order-table.page-template-page-template-food-menu .sticky-cart-footer-wrapper .cart-bar-row {
    display: grid !important;
    grid-template-columns: 4.6rem minmax(0, 1fr) !important;
    align-items: stretch !important;
}

body.saigon-request-service-disabled.page-template-page-template-food-menu .sticky-cart-footer-wrapper .cart-bar-row,
body.saigon-request-service-disabled.saigon-order-table.page-template-page-template-food-menu .sticky-cart-footer-wrapper .cart-bar-row,
body.saigon-order-takeout .sticky-cart-footer-wrapper .cart-bar-row,
body.page-template-page-template-takeout-menu .sticky-cart-footer-wrapper .cart-bar-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
}

body.saigon-request-service-disabled.page-template-page-template-food-menu .sticky-cart-footer-wrapper .saigon-cart-card,
body.saigon-request-service-disabled.saigon-order-table.page-template-page-template-food-menu .sticky-cart-footer-wrapper .saigon-cart-card,
body.saigon-order-takeout .sticky-cart-footer-wrapper .saigon-cart-card,
body.page-template-page-template-takeout-menu .sticky-cart-footer-wrapper .saigon-cart-card {
    width: min(22rem, calc(100% - 1rem)) !important;
    max-width: 22rem !important;
}

/* Final sticky-cart authority: keep the request-service button visible when enabled. */
body.page-template-page-template-food-menu .sticky-cart-footer-wrapper .saigon-cart-utility-row,
body.saigon-order-table.page-template-page-template-food-menu .sticky-cart-footer-wrapper .saigon-cart-utility-row,
body.saigon-order-takeout .sticky-cart-footer-wrapper .saigon-cart-utility-row,
body.page-template-page-template-takeout-menu .sticky-cart-footer-wrapper .saigon-cart-utility-row,
body.saigon-order-foodcart .sticky-cart-footer-wrapper .saigon-cart-utility-row {
    display: grid !important;
    align-items: stretch !important;
    border-bottom: 1px solid var(--color-border) !important;
    grid-template-columns: minmax(0, 1fr) !important;
}

body.page-template-page-template-food-menu .sticky-cart-footer-wrapper .saigon-cart-utility-row.has-history:not(.has-service),
body.saigon-order-table.page-template-page-template-food-menu .sticky-cart-footer-wrapper .saigon-cart-utility-row.has-history:not(.has-service),
body.saigon-order-takeout .sticky-cart-footer-wrapper .saigon-cart-utility-row.has-history:not(.has-service),
body.page-template-page-template-takeout-menu .sticky-cart-footer-wrapper .saigon-cart-utility-row.has-history:not(.has-service),
body.saigon-order-foodcart .sticky-cart-footer-wrapper .saigon-cart-utility-row.has-history:not(.has-service) {
    grid-template-columns: minmax(0, 1fr) !important;
}

body.page-template-page-template-food-menu .sticky-cart-footer-wrapper .cart-bar-row,
body.saigon-order-table.page-template-page-template-food-menu .sticky-cart-footer-wrapper .cart-bar-row,
body.saigon-order-foodcart .sticky-cart-footer-wrapper .cart-bar-row {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: stretch !important;
}

body.saigon-request-service-enabled.page-template-page-template-food-menu .sticky-cart-footer-wrapper .cart-bar-row.has-service,
body.saigon-request-service-enabled.saigon-order-table.page-template-page-template-food-menu .sticky-cart-footer-wrapper .cart-bar-row.has-service {
    grid-template-columns: 4.6rem minmax(0, 1fr) !important;
}

body.saigon-request-service-enabled.page-template-page-template-food-menu .sticky-cart-footer-wrapper .saigon-cart-bar-service-slot,
body.saigon-request-service-enabled.saigon-order-table.page-template-page-template-food-menu .sticky-cart-footer-wrapper .saigon-cart-bar-service-slot {
    display: flex !important;
    grid-column: 1 !important;
    width: 4.6rem !important;
    min-width: 4.6rem !important;
    max-width: 4.6rem !important;
    visibility: visible !important;
    opacity: 1 !important;
    overflow: visible !important;
}

body.saigon-request-service-enabled.page-template-page-template-food-menu .sticky-cart-footer-wrapper .saigon-cart-bar-service-slot > .saigon-request-service-btn--bar,
body.saigon-request-service-enabled.saigon-order-table.page-template-page-template-food-menu .sticky-cart-footer-wrapper .saigon-cart-bar-service-slot > .saigon-request-service-btn--bar {
    display: flex !important;
    width: 4.6rem !important;
    min-width: 4.6rem !important;
    max-width: 4.6rem !important;
    height: 100% !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 2 !important;
}

body.saigon-request-service-enabled.page-template-page-template-food-menu .sticky-cart-footer-wrapper .sticky-cart-button,
body.saigon-request-service-enabled.saigon-order-table.page-template-page-template-food-menu .sticky-cart-footer-wrapper .sticky-cart-button {
    grid-column: 2 !important;
    margin-left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: initial !important;
}

body.page-template-page-template-food-menu .sticky-cart-footer-wrapper .saigon-cart-utility-row .saigon-cart-history-btn,
body.saigon-order-table.page-template-page-template-food-menu .sticky-cart-footer-wrapper .saigon-cart-utility-row .saigon-cart-history-btn,
body.saigon-order-takeout .sticky-cart-footer-wrapper .saigon-cart-utility-row .saigon-cart-history-btn,
body.page-template-page-template-takeout-menu .sticky-cart-footer-wrapper .saigon-cart-utility-row .saigon-cart-history-btn,
body.saigon-order-foodcart .sticky-cart-footer-wrapper .saigon-cart-utility-row .saigon-cart-history-btn {
    width: 100% !important;
    min-width: 0 !important;
    justify-content: center !important;
    border-right: none !important;
}

body.saigon-request-service-disabled.page-template-page-template-food-menu .sticky-cart-footer-wrapper .sticky-cart-button,
body.saigon-request-service-disabled.saigon-order-table.page-template-page-template-food-menu .sticky-cart-footer-wrapper .sticky-cart-button,
body.saigon-order-takeout .sticky-cart-footer-wrapper .sticky-cart-button,
body.page-template-page-template-takeout-menu .sticky-cart-footer-wrapper .sticky-cart-button {
    grid-column: 1 !important;
}

/* ── Closed-store card (replaces the plugin countdown bar on the menu page) ── */
.saigon-closed-state {
    padding: 1.25rem 1rem 2rem;
}
.saigon-closed-card {
    position: relative;
    max-width: 420px;
    margin: 0 auto;
    padding: 2rem 1.5rem 1.75rem;
    overflow: hidden;
    text-align: center;
    background: var(--so-bg-ffffff);
    border: 1px solid var(--so-ln-efe6e3);
    border-radius: 20px;
    box-shadow: 0 12px 30px var(--so-sh-0f172a-a06);
}
.saigon-closed-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: var(--saigon-button-background, #bb2a37);
}
.saigon-closed-graphic {
    display: block;
    width: 112px;
    height: 112px;
    margin: 0 auto 1rem;
}
.saigon-closed-state-title {
    margin: 0 0 0.6rem;
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--so-fg-1f2937);
}
.saigon-closed-state-sub {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.45;
    color: var(--so-fg-374151);
}
.saigon-closed-state-hours {
    margin: 0;
    font-size: 0.9rem;
    color: var(--so-fg-6b7280);
}
.saigon-closed-state-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 260px;
    min-height: 3rem;
    margin-top: 1.5rem;
    padding: 0.7rem 1.6rem;
    border: 0;
    border-radius: 999px;
    background: var(--saigon-button-background, #bb2a37);
    color: var(--saigon-button-text, #ffffff);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: filter 0.15s;
}
.saigon-closed-state-btn:hover {
    filter: brightness(0.92);
}

/* Browsing while closed: one slim light strip above the categories. */
.saigon-closed-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.6rem 1rem;
    background: var(--so-bg-fbf1f2);
    border-bottom: 1px solid var(--so-ln-f1dcdf);
    color: var(--so-fg-8f1d2a);
    font-size: 0.9rem;
    text-align: center;
}

.saigon-closed-strip[hidden] {
    display: none;
}

/* When closed-state is visible, hide the menu content and sticky cart */
body.saigon-store-closed #menu-bar,
body.saigon-store-closed .saigon-promo-carousel,
body.saigon-store-closed .menu-diet-filters,
body.saigon-store-closed .menu-content,
body.saigon-store-closed .sticky-cart-footer-wrapper,
body.saigon-store-closed .lunch-special-banner {
    display: none !important;
}

/* In browse mode there is nothing to order: hide add buttons, option links and the cart bar. */
body.saigon-store-browsing .menu-form-qty-controls,
body.saigon-store-browsing .open-quick-view-btn,
body.saigon-store-browsing .menu-form-row-customize,
body.saigon-store-browsing .sticky-cart-footer-wrapper {
    display: none !important;
}

body.saigon-store-browsing .menu-top-header {
    position: static;
    top: auto;
    z-index: auto;
}

body.saigon-store-browsing .my-store-closed-banner {
    z-index: 100000;
}

body.saigon-store-browsing .my-store-closed-banner-inner {
    min-height: 0;
    padding: 0.8rem 1rem;
}

@media (max-width: 640px) {
    body.saigon-store-browsing .my-store-closed-banner-inner {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        padding: 0.75rem 1rem;
    }

    body.saigon-store-browsing .my-store-closed-text {
        justify-content: center;
    }

    body.saigon-store-browsing .my-store-closed-hide-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 32px;
        width: 32px;
        height: 32px;
        padding: 0;
        font-size: 0;
        line-height: 1;
    }

    body.saigon-store-browsing .my-store-closed-hide-btn::before {
        content: "\00d7";
        font-size: 24px;
        font-weight: 700;
    }
}

/* ── Menu page: Order History button ────────────────────────────────── */
.saigon-cart-history-btn {
    position: relative;
    z-index: 3;
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
    background: var(--so-bg-ffffff);
    color: var(--so-fg-111827);
    border: none;
    border-right: 1px solid var(--color-border);
    border-radius: 0;
    padding: 0.65rem 0.72rem;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    pointer-events: auto;
    white-space: nowrap;
    margin: 0;
    line-height: 1;
    box-shadow: none;
    letter-spacing: 0.01em;
    transition: background 0.15s, color 0.15s;
}
.saigon-cart-history-btn:hover {
    background: var(--so-bg-f9fafb);
}
.saigon-cart-history-btn-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}
.saigon-cart-history-btn-text {
    display: inline-block;
    line-height: 1;
}
.saigon-cart-history-btn svg {
    flex-shrink: 0;
    width: 17px;
    height: 17px;
    color: var(--color-text-muted);
}
.saigon-cart-history-btn-count {
    display: inline-flex;
    min-width: 15px;
    height: 15px;
    padding: 0 3px;
    border-radius: 999px;
    background: var(--so-bg-fff1f2);
    color: var(--brand-danger);
    font-size: 0.56rem;
    font-weight: 800;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

body.page-template-page-template-food-menu .sticky-cart-footer-wrapper .cart-bar-row,
body.saigon-order-table.page-template-page-template-food-menu .sticky-cart-footer-wrapper .cart-bar-row {
    display: grid !important;
    grid-template-columns: auto auto minmax(0, 1fr);
}

body.saigon-request-service-disabled.page-template-page-template-food-menu .sticky-cart-footer-wrapper .cart-bar-row,
body.saigon-request-service-disabled.saigon-order-table.page-template-page-template-food-menu .sticky-cart-footer-wrapper .cart-bar-row,
body.saigon-order-takeout.page-template-page-template-food-menu .sticky-cart-footer-wrapper .cart-bar-row,
body.page-template-page-template-takeout-menu .sticky-cart-footer-wrapper .cart-bar-row {
    grid-template-columns: auto minmax(0, 1fr) !important;
}

body.saigon-request-service-enabled.page-template-page-template-food-menu .sticky-cart-footer-wrapper .cart-bar-row,
body.saigon-request-service-enabled.saigon-order-table.page-template-page-template-food-menu .sticky-cart-footer-wrapper .cart-bar-row {
    grid-template-columns: 4.6rem auto minmax(0, 1fr) !important;
}

body.page-template-page-template-food-menu .sticky-cart-footer-wrapper .saigon-cart-history-btn,
body.saigon-order-table.page-template-page-template-food-menu .sticky-cart-footer-wrapper .saigon-cart-history-btn {
    min-width: 5.15rem;
}

@media (max-width: 640px) {
    .saigon-cart-history-btn {
        padding: 0.5rem 0.62rem;
        gap: 0.35rem;
    }

    .saigon-cart-history-btn-text {
        display: inline-block;
        font-size: 0.68rem;
    }

    body.page-template-page-template-food-menu .sticky-cart-footer-wrapper .saigon-cart-history-btn,
    body.saigon-order-table.page-template-page-template-food-menu .sticky-cart-footer-wrapper .saigon-cart-history-btn {
        min-width: 4.65rem;
    }
}

@media (max-width: 374px) {
    .saigon-cart-history-btn {
        padding: 0.5rem 0.56rem;
        min-width: 2.85rem !important;
        gap: 0;
    }

    .saigon-cart-history-btn-text,
    .saigon-cart-history-btn-count {
        display: none;
    }

    .saigon-cart-history-btn svg {
        width: 16px;
        height: 16px;
    }
}

/* ── Menu page: History slide-up panel ──────────────────────────────── */
.saigon-history-panel {
    position: fixed;
    inset: 0;
    z-index: 19900010;
    background: var(--so-bg-0f172a-a0);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    pointer-events: none;
    transition: background 0.25s;
}
.saigon-history-panel[hidden] {
    display: none !important;
}
.saigon-history-panel.is-open {
    background: var(--so-bg-0f172a-a52);
    pointer-events: auto;
}
.saigon-history-panel-inner {
    width: 100%;
    max-width: 560px;
    max-height: min(78vh, 720px);
    background: var(--so-bg-ffffff);
    border-radius: 1rem 1rem 0 0;
    overflow-y: auto;
    padding: 0 0 env(safe-area-inset-bottom, 16px);
    transform: translateY(100%);
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 -20px 50px var(--so-sh-0f172a-a22);
}
.saigon-history-panel.is-open .saigon-history-panel-inner {
    transform: translateY(0);
}
.saigon-history-open .sticky-cart-footer-wrapper,
.saigon-history-open .saigon-cart-toast {
    opacity: 0;
    pointer-events: none;
}
.saigon-history-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px 10px;
    position: sticky;
    top: 0;
    background: var(--so-bg-ffffff);
    z-index: 1;
    border-bottom: 1px solid var(--so-ln-eef2f7);
}
.saigon-history-panel-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin: 0;
    color: var(--so-fg-1f2937);
}
.saigon-history-panel-close {
    background: none;
    border: 0;
    font-size: 1.5rem;
    color: var(--so-fg-6b7280);
    cursor: pointer;
    padding: 4px 8px;
    line-height: 1;
}
.saigon-history-panel-close:hover {
    color: var(--so-fg-1f2937);
}

/* ── Shared history item styles (menu page) ─────────────────────────── */
.saigon-history-panel .so-thankyou-history-list {
    padding: 14px 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.saigon-history-panel .so-thankyou-history-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 14px 15px;
    background: var(--so-bg-f8fafc);
    border: 1px solid var(--so-ln-edf2f7);
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    transition: background 0.12s, border-color 0.12s, transform 0.12s;
}
.saigon-history-panel .so-thankyou-history-item.is-clickable:hover {
    background: var(--so-bg-f3f6fa);
    border-color: var(--so-ln-dbe4ee);
    transform: translateY(-1px);
}
.saigon-history-panel .so-thankyou-history-item-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex: 1 1 auto;
    min-width: 0;
    color: inherit;
    text-decoration: none;
}
.saigon-history-panel .so-thankyou-history-item-main {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    flex: 1 1 0;
    gap: 6px 10px;
    min-width: 0;
}
.saigon-history-panel .so-thankyou-history-item-number {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--so-fg-1f2937);
}
.saigon-history-panel .so-thankyou-history-item-time,
.saigon-history-panel .so-thankyou-history-item-count {
    font-size: 0.8rem;
    color: var(--so-fg-6b7280);
}
.saigon-history-panel .so-thankyou-history-item-end {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.saigon-history-panel .so-thankyou-history-item-total {
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
    margin-right: auto;
}
.saigon-history-panel .so-thankyou-history-badge--status {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 999px;
    background: var(--so-bg-e8eef5);
    color: var(--so-fg-445468);
    white-space: nowrap;
}
.saigon-history-panel .so-thankyou-reorder-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--brand-primary, #e11b22);
    color: var(--so-fg-ffffff);
    border: 0;
    border-radius: 6px;
    padding: 5px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
}
.saigon-history-panel .so-thankyou-reorder-btn:hover {
    background: var(--brand-primary-dark, #c2171d);
}
.saigon-history-panel .so-thankyou-reorder-btn:disabled {
    opacity: 0.6;
    cursor: wait;
}
@media (min-width: 768px) {
    .saigon-history-panel {
        align-items: center;
        padding: 24px;
    }

    .saigon-history-panel-inner {
        border-radius: 24px;
        max-height: min(78vh, 760px);
        transform: translateY(24px) scale(0.98);
    }

    .saigon-history-panel.is-open .saigon-history-panel-inner {
        transform: translateY(0) scale(1);
    }
}
@media (max-width: 520px) {
    .saigon-history-panel .so-thankyou-history-item {
        flex-wrap: wrap;
    }
    .saigon-history-panel .so-thankyou-history-item-link {
        flex: 1 1 100%;
        flex-wrap: wrap;
    }
    .saigon-history-panel .so-thankyou-history-item-main {
        flex: 1 1 100%;
    }
    .saigon-history-panel .so-thankyou-history-item-end {
        flex-basis: 100%;
        justify-content: space-between;
    }
}

/* ── Lazy panel loading / empty / error states ───────────────────────── */
.saigon-history-panel .so-history-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 40px 16px;
    color: var(--color-text-muted);
    font-size: 0.85rem;
}
.saigon-history-panel .so-history-loading-spinner {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    border: 2px solid var(--color-border);
    border-top-color: var(--brand-primary);
    border-radius: 50%;
    animation: saigon-history-spin 0.7s linear infinite;
}
@keyframes saigon-history-spin {
    to {
        transform: rotate(360deg);
    }
}
.saigon-history-panel .saigon-history-panel-empty,
.saigon-history-panel .so-history-load-error {
    padding: 32px 16px;
    margin: 0;
    text-align: center;
    color: var(--color-text-muted);
    font-size: 0.85rem;
}

/* ── Expandable item detail (menu-page panel only) ───────────────────── */
.saigon-history-panel .so-history-row {
    flex-wrap: wrap;
}
.saigon-history-panel .so-history-chevron {
    display: inline-block;
    font-size: 1.15rem;
    line-height: 1;
    color: var(--color-text-muted);
    transition: transform 0.2s ease, color 0.2s ease;
}
.saigon-history-panel .so-history-row.is-expanded .so-history-chevron {
    color: var(--brand-primary);
    transform: rotate(90deg);
}
.saigon-history-panel .so-history-item-details {
    flex: 1 1 100%;
    order: 3;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--color-border-light);
}
.saigon-history-panel .so-history-item-details ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.saigon-history-panel .so-history-item-details li {
    font-size: 0.85rem;
    color: var(--so-fg-1f2937);
}
.saigon-history-panel .so-history-item-details .qty {
    font-weight: 600;
    margin-right: 2px;
}
.saigon-history-panel .so-history-item-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 4px 0 0 22px;
}
.saigon-history-panel .so-history-item-meta-line {
    font-size: 0.78rem;
    color: var(--color-text-muted);
}
.saigon-history-panel .so-thankyou-reorder-btn {
    order: 4;
}

/* ── Discovery toast ──────────────────────────────────────────────────── */
.saigon-history-toast {
    position: fixed;
    left: 50%;
    bottom: 88px;
    transform: translateX(-50%);
    z-index: 19900005;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: calc(100% - 32px);
    width: 420px;
    padding: 12px 10px 12px 14px;
    background: var(--so-rs-ffffff);
    border-left: 4px solid var(--brand-primary);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px var(--so-sh-0f172a-a18);
    font-size: 0.85rem;
    line-height: 1.35;
    color: var(--so-fg-1f2937);
    animation: saigon-history-toast-in 0.25s ease;
}
.saigon-history-toast-dismiss {
    flex: 0 0 auto;
    background: none;
    border: 0;
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1;
    padding: 4px 6px;
    cursor: pointer;
    margin-left: auto;
}
.saigon-history-toast-dismiss:hover {
    color: var(--so-fg-1f2937);
}
@keyframes saigon-history-toast-in {
    from {
        opacity: 0;
        transform: translate(-50%, 8px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* ==========================================================
   Dietary Filter Pills
   ========================================================== */

.menu-diet-filters {
    background: var(--so-bg-ffffff);
    border-top: 1px solid var(--color-border-light);
    border-bottom: 1px solid var(--color-border);
    z-index: 49;
    transition: box-shadow 0.15s ease;
}

.menu-diet-filters.sticky {
    position: fixed;
    left: 0;
    right: 0;
    box-shadow: 0 6px 18px var(--so-sh-111827-a08);
}

.menu-diet-filters-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.45rem 0.75rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.menu-diet-filters-inner::-webkit-scrollbar {
    display: none;
}

.menu-diet-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.38rem;
    min-height: 2rem;
    padding: 0.24rem 0.76rem;
    border: 1px solid var(--so-ln-8b929a);
    border-radius: var(--radius-full);
    background: var(--so-bg-ffffff);
    color: var(--so-fg-343a40);
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: none;
    transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    flex-shrink: 0;
    line-height: 1.4;
}

.menu-diet-pill-label--short {
    display: none;
}

.menu-diet-pill:hover,
.menu-diet-pill:focus-visible {
    transform: translateY(-1px);
    border-color: var(--so-ln-4b5563);
    color: var(--so-fg-111827);
    background: var(--so-bg-f9fafb);
    box-shadow: 0 2px 6px var(--so-sh-111827-a08);
}

.menu-diet-pill[aria-pressed="true"] {
    background: var(--saigon-button-background, var(--brand-primary, #c41e3a));
    border-color: var(--saigon-button-background-dark, var(--brand-primary-dark, #991b1b));
    color: var(--so-fg-ffffff);
    font-weight: 700;
    box-shadow: 0 3px 10px var(--so-sh-c41e3a-a22);
}

.menu-diet-pill-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.22rem;
    height: 1.22rem;
    border-radius: var(--radius-full);
    background: var(--so-bg-ffffff);
    color: var(--so-fg-4b5563);
    line-height: 1;
    box-shadow: inset 0 0 0 1px var(--so-sh-8b929a);
    overflow: hidden;
}

.menu-diet-pill-icon img {
    display: block;
    width: 1rem;
    height: 1rem;
    object-fit: contain;
}

.menu-diet-pill--vegan .menu-diet-pill-icon img,
.menu-diet-pill--halal .menu-diet-pill-icon img {
    width: 1.18rem;
    height: 1.18rem;
}

.menu-diet-pill[aria-pressed="true"] .menu-diet-pill-icon {
    background: var(--so-bg-ffffff);
    box-shadow: inset 0 0 0 1px var(--so-sh-ffffff);
}

.menu-diet-pill-label {
    line-height: 1;
}

.menu-diet-search {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
}

.menu-diet-search-close {
    display: none;
    align-items: center;
    justify-content: center;
    width: 1.65rem;
    height: 1.65rem;
    padding: 0;
    border: 0;
    border-radius: var(--radius-full);
    background: var(--so-bg-f3f4f6);
    color: var(--so-fg-4b5563);
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
    -webkit-tap-highlight-color: transparent;
    position: absolute;
    right: 0.18rem;
    top: 50%;
    transform: translateY(-50%);
}

.menu-diet-search.is-open .menu-diet-search-close {
    display: inline-flex;
}

.menu-diet-search-close:hover,
.menu-diet-search-close:focus-visible {
    background: var(--so-bg-e5e7eb);
    color: var(--so-fg-111827);
    outline: none;
}

.menu-diet-search-close svg {
    width: 0.9rem;
    height: 0.9rem;
}

.menu-diet-search-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 1px solid var(--so-ln-8b929a);
    border-radius: var(--radius-full);
    background: var(--so-bg-ffffff);
    color: var(--so-fg-343a40);
    cursor: pointer;
    transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.menu-diet-search-toggle:hover,
.menu-diet-search-toggle:focus-visible,
.menu-diet-search.is-open .menu-diet-search-toggle {
    transform: translateY(-1px);
    border-color: var(--saigon-button-background-dark, var(--brand-primary-dark, #991b1b));
    background: var(--saigon-button-background, var(--brand-primary, #c41e3a));
    color: var(--so-fg-ffffff);
    box-shadow: 0 3px 10px var(--so-sh-c41e3a-a18);
}

.menu-diet-search-toggle svg {
    width: 1rem;
    height: 1rem;
}

.menu-diet-search-field {
    position: relative;
    display: inline-flex;
    align-items: center;
    width: 0;
    min-width: 0;
    height: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: width 0.18s ease, opacity 0.12s ease;
}

.menu-diet-search.is-open .menu-diet-search-field {
    width: 12.5rem;
    opacity: 1;
    pointer-events: auto;
}

.menu-diet-search-input {
    width: 100%;
    min-width: 0;
    height: 100%;
    padding: 0.25rem 2rem 0.25rem 0.8rem;
    border: 1px solid var(--so-ln-8b929a);
    border-radius: var(--radius-full);
    background: var(--so-bg-ffffff);
    color: var(--so-fg-111827);
    font-family: var(--font-sans);
    font-size: 0.78rem;
}

.menu-diet-search-input:focus {
    border-color: var(--saigon-button-background, var(--brand-primary, #c41e3a));
    outline: none;
    box-shadow: 0 0 0 2px var(--so-sh-c41e3a-a12);
}

@media (max-width: 520px) {
    .menu-diet-filters-inner {
        gap: 0.35rem;
        padding: 0.35rem 0.5rem;
        justify-content: stretch;
        overflow-x: hidden;
    }

    .menu-diet-pill {
        gap: 0.3rem;
        min-height: 1.82rem;
        padding: 0.2rem 0.45rem;
        font-size: 0.7rem;
        /* Share the row: three pills plus the search button must fit a 360px phone
           without horizontal scrolling. */
        flex: 1 1 auto;
        min-width: 0;
    }

    .menu-diet-pill .menu-diet-pill-label {
        display: none;
    }

    .menu-diet-pill .menu-diet-pill-label--short {
        display: inline;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .menu-diet-pill:not(:has(.menu-diet-pill-label--short)) .menu-diet-pill-label {
        display: inline;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .menu-diet-search {
        flex: 0 0 auto;
    }

    .menu-top-header-logo img {
        /* Wide wordmark logos: cap the width so they do not dominate a phone header. */
        max-width: min(100%, 46vw);
    }

    .menu-diet-pill-icon {
        width: 1rem;
        height: 1rem;
    }

    .menu-diet-pill-icon img {
        width: 0.82rem;
        height: 0.82rem;
    }

    .menu-diet-pill--vegan .menu-diet-pill-icon img,
    .menu-diet-pill--halal .menu-diet-pill-icon img {
        width: 0.98rem;
        height: 0.98rem;
    }

    .menu-diet-search-toggle {
        width: 1.82rem;
        height: 1.82rem;
    }

    .menu-diet-filters.is-search-open .menu-diet-filters-inner {
        justify-content: stretch;
        flex-wrap: nowrap;
        overflow-x: visible;
    }

    .menu-diet-filters.is-search-open .menu-diet-pill {
        display: none;
    }

    .menu-diet-search.is-open {
        flex: 1 1 auto;
        min-width: 0;
        justify-content: flex-start;
    }

    .menu-diet-search.is-open .menu-diet-search-field {
        flex: 1 1 auto;
        width: auto;
        min-width: 0;
        height: 1.9rem;
    }

    .menu-diet-search.is-open .menu-diet-search-input {
        font-size: 0.72rem;
    }
}

/* ── Filtered product rows ── */
.menu-form-row.diet-hidden,
.menu-form-row.menu-search-hidden {
    display: none !important;
}

.menu-form-section.menu-filter-section-empty {
    display: none !important;
}

.menu-form-section.diet-section-empty .menu-form-list,
.menu-form-section.diet-section-empty .menu-form-category-title,
.menu-form-section.diet-section-empty .menu-category-img-wrap {
    display: none;
}

.menu-form-section.diet-section-empty .menu-diet-empty-msg {
    display: block;
}

.menu-diet-empty-msg {
    display: none;
    text-align: center;
    color: var(--color-text-faint);
    font-size: 0.85rem;
    padding: 1.5rem 1rem;
    font-style: italic;
}

/* ── Out of stock row ── */
.menu-form-row--out-of-stock {
    opacity: 0.55;
    pointer-events: none;
    cursor: default;
}

.menu-form-row-out-of-stock-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--so-fg-b91c1c);
    background: var(--so-bg-fef2f2);
    border: 1px solid var(--so-ln-fecaca);
    border-radius: 4px;
    padding: 0.15em 0.5em;
    margin-top: 0.2rem;
    line-height: 1.3;
    letter-spacing: 0.01em;
}

.menu-form-row--time-unavailable {
    cursor: pointer;
}

.menu-form-row--time-unavailable .menu-form-row-price,
.menu-form-row--time-unavailable .menu-form-row-aside {
    opacity: 0.62;
}

.menu-form-row-availability-badge {
    display: inline-block;
    width: fit-content;
    max-width: 100%;
    margin-top: 0.28rem;
    padding: 0.2rem 0.5rem;
    border: 1px solid var(--so-ln-fed7aa);
    border-radius: 4px;
    background: var(--so-bg-fff7ed);
    color: var(--so-fg-9a3412);
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1.35;
}

/* Chang Control Colors tab: menu, modal, cart, and action surfaces. */
body.page-template-page-template-food-menu,
body.page-template-page-template-takeout-menu,
body.page-template-page-template-kiosk-menu,
body.saigon-kiosk-menu-page {
    --color-bg: var(--saigon-page-background, var(--saigon-background-color, #ffffff));
    --color-bg-card: var(--saigon-product-surface-background, var(--saigon-surface-background, #ffffff));
    --color-border: var(--saigon-surface-border, #e5e7eb);
    --color-border-light: var(--saigon-surface-border, #f0f0f0);
    --brand-primary: var(--saigon-button-background, #c41e3a);
    --brand-primary-dark: var(--saigon-button-background-dark, #991b1b);
    --brand-primary-light: var(--saigon-button-background-light, #fff1f2);
    --brand-primary-muted: var(--saigon-button-background-light, rgba(196, 30, 58, 0.08));
    background-color: var(--saigon-page-background, var(--saigon-background-color, #ffffff));
}

body.page-template-page-template-food-menu .site-main,
body.page-template-page-template-takeout-menu .site-main,
body.page-template-page-template-kiosk-menu .site-main,
body.saigon-kiosk-menu-page .site-main,
body.page-template-page-template-food-menu .ast-container,
body.page-template-page-template-takeout-menu .ast-container,
body.page-template-page-template-kiosk-menu .ast-container,
body.saigon-kiosk-menu-page .ast-container,
body.page-template-page-template-food-menu #primary.content-area,
body.page-template-page-template-takeout-menu #primary.content-area,
body.page-template-page-template-kiosk-menu #primary.content-area,
body.saigon-kiosk-menu-page #primary.content-area,
main.menu-content {
    background-color: var(--saigon-page-background, var(--saigon-background-color, #ffffff)) !important;
}

.menu-top-header {
    background-color: var(--saigon-menu-header-background, var(--saigon-surface-background, #ffffff)) !important;
    border-bottom-color: var(--saigon-surface-border, var(--color-border));
}

#menu-bar {
    background: var(--saigon-menu-nav-background, var(--saigon-surface-background, #ffffff)) !important;
    background-color: var(--saigon-menu-nav-background, var(--saigon-surface-background, #ffffff)) !important;
    border-bottom-color: var(--saigon-surface-border, var(--color-border)) !important;
}

#food-modal-content,
#food-modal-body,
#food-modal-spinner,
.saigon-image-preview-image,
.gt_white_content {
    background: var(--saigon-modal-surface-background, var(--saigon-surface-background, #ffffff)) !important;
    background-color: var(--saigon-modal-surface-background, var(--saigon-surface-background, #ffffff)) !important;
}

.saigon-promo-carousel,
.menu-diet-filters {
    background: var(--saigon-promo-surface-background, var(--saigon-surface-background, #ffffff)) !important;
    background-color: var(--saigon-promo-surface-background, var(--saigon-surface-background, #ffffff)) !important;
}

#cart-modal-content,
#cart-modal-body,
#cart-modal-spinner,
.saigon-logo-spinner,
.saigon-cart-card,
.saigon-cart-disclaimer,
.so-order-confirm-card,
.saigon-history-panel-inner,
.saigon-history-panel-header,
.saigon-history-panel .so-thankyou-history-item {
    background: var(--saigon-cart-surface-background, var(--saigon-surface-background, #ffffff)) !important;
    background-color: var(--saigon-cart-surface-background, var(--saigon-surface-background, #ffffff)) !important;
}

.menu-form-list {
    background: var(--saigon-surface-muted-background, var(--saigon-surface-background, #ffffff)) !important;
    border-color: var(--saigon-surface-border, var(--color-border));
}

.menu-form-row {
    background: var(--saigon-product-surface-background, var(--saigon-surface-background, #ffffff)) !important;
    background-color: var(--saigon-product-surface-background, var(--saigon-surface-background, #ffffff)) !important;
    border-bottom-color: var(--saigon-surface-border, var(--color-border-light));
}

.menu-form-row:nth-child(even) {
    background: var(--saigon-surface-muted-background, var(--saigon-surface-background, #ffffff)) !important;
    background-color: var(--saigon-surface-muted-background, var(--saigon-surface-background, #ffffff)) !important;
}

@media (min-width: 768px) {
    .menu-form-row:nth-child(even) {
        background: var(--saigon-product-surface-background, var(--saigon-surface-background, #ffffff)) !important;
        background-color: var(--saigon-product-surface-background, var(--saigon-surface-background, #ffffff)) !important;
    }

    .menu-form-row:nth-child(4n+3),
    .menu-form-row:nth-child(4n+4) {
        background: var(--saigon-surface-muted-background, var(--saigon-surface-background, #ffffff)) !important;
        background-color: var(--saigon-surface-muted-background, var(--saigon-surface-background, #ffffff)) !important;
    }
}

.menu-form-row:hover {
    background-color: var(--saigon-surface-hover-background, var(--saigon-surface-background, #ffffff)) !important;
}

.menu-form-row-media,
.menu-form-row-media--placeholder {
    background: var(--saigon-image-placeholder-background, var(--saigon-surface-muted-background, #ffffff)) !important;
}

.menu-form-row-image.lazyload:not(.lazyloaded):not(.so-img-loaded) {
    opacity: 0;
}

.sticky-cart-footer-wrapper .saigon-request-service-btn--bar,
.saigon-request-service-floating-fallback .saigon-request-service-btn--bar,
.saigon-request-service-menu-fixed .saigon-request-service-btn--bar {
    background-color: var(--saigon-cart-surface-background, var(--saigon-surface-background, #ffffff)) !important;
    color: var(--color-text-muted, #4b5563) !important;
}

.sticky-cart-footer-wrapper .saigon-request-service-btn--bar svg,
.saigon-request-service-floating-fallback .saigon-request-service-btn--bar svg,
.saigon-request-service-menu-fixed .saigon-request-service-btn--bar svg {
    stroke: var(--color-text-faint, #9ca3af) !important;
}

.sticky-cart-footer-wrapper .saigon-request-service-btn--bar:hover,
.saigon-request-service-floating-fallback .saigon-request-service-btn--bar:hover,
.saigon-request-service-menu-fixed .saigon-request-service-btn--bar:hover {
    background-color: var(--saigon-surface-hover-background, var(--saigon-cart-surface-background, #f9fafb)) !important;
}

.sticky-cart-footer-wrapper .sticky-cart-button {
    background-color: var(--saigon-cart-surface-background, var(--saigon-surface-background, #ffffff)) !important;
    color: var(--color-text, #111827) !important;
}

.sticky-cart-footer-wrapper .sticky-cart-button:hover,
.sticky-cart-footer-wrapper .sticky-cart-button:active {
    background-color: var(--saigon-surface-hover-background, var(--saigon-cart-surface-background, #f9fafb)) !important;
}

#menu-bar a.active,
.cart-bar-action {
    background-color: var(--saigon-button-background, var(--brand-primary, #c41e3a)) !important;
    border-color: var(--saigon-button-background-dark, var(--brand-primary-dark, #991b1b)) !important;
    color: var(--saigon-button-text, #ffffff) !important;
}

/* Optional full-width hero image above the menu (menu_hero_image_url). */
.menu-hero {
    margin: 0 0 1.25rem;
    border-radius: 14px;
    overflow: hidden;
    background: var(--saigon-surface-background, #f3f4f6);
}
.menu-hero img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
}
@media (min-width: 1024px) {
    .menu-hero img {
        height: 320px;
    }
}
@media (max-width: 520px) {
    .menu-hero {
        border-radius: 10px;
        margin-bottom: 0.9rem;
    }
    .menu-hero img {
        height: 160px;
    }
}

/* Hero text overlay (menu_hero_title / menu_hero_subtitle). */
.menu-hero {
    position: relative;
}
.menu-hero--has-text::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--so-bg-000000-a72) 0%, var(--so-bg-000000-a35) 45%, var(--so-bg-000000-a0) 100%);
    pointer-events: none;
}
.menu-hero-text {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding: 1rem 1.25rem 1.1rem;
    color: var(--so-fg-ffffff);
    text-shadow: 0 1px 2px var(--so-sh-000000-a45);
}
.menu-hero-title {
    margin: 0 0 0.25rem;
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--so-fg-ffffff);
}
.menu-hero-subtitle {
    margin: 0;
    font-size: 1rem;
    line-height: 1.35;
    color: var(--so-fg-ffffff-a92);
}
@media (min-width: 1024px) {
    .menu-hero-text {
        padding: 1.5rem 2rem 1.6rem;
    }
    .menu-hero-title {
        font-size: 2.25rem;
    }
    .menu-hero-subtitle {
        font-size: 1.125rem;
    }
}
@media (max-width: 520px) {
    .menu-hero-text {
        padding: 0.7rem 0.9rem 0.8rem;
    }
    .menu-hero-title {
        font-size: 1.2rem;
    }
    .menu-hero-subtitle {
        font-size: 0.85rem;
    }
}

/* Desktop menu (css/menu-desktop.css, food-menu and takeout templates >= 1024px only): hidden by default
   everywhere else, including the food cart and kiosk menus that do not load menu-desktop.css. */
#saigon-desktop-cart,
.saigon-variation-buttons,
.saigon-modal-add-total {
    display: none;
}

/* ---- Lunch deal banner ------------------------------------------------------
   One white card like the dish cards: a real photo of a main with its side tucked in,
   the deal name, what you get, when, then the price and "Stel samen". Red only on the
   button. Closed (outside the lunch window): same card in full colour, the button
   becomes the next time it can be ordered and nothing is tappable. Long translations
   wrap inside the text column; the button may drop under the price. */
.saigon-lunch-tile {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
        "art copy"
        "art foot";
    column-gap: 14px;
    row-gap: 8px;
    align-items: start;
    width: calc(100% - 24px);
    margin: 12px;
    padding: 12px;
    border: 1px solid var(--so-ln-ececec);
    border-radius: 16px;
    background: var(--so-bg-ffffff);
    box-shadow: 0 1px 2px var(--so-sh-0f172a-a05), 0 8px 20px var(--so-sh-0f172a-a06);
    text-align: left;
    font: inherit;
    color: var(--so-fg-1f2937);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.saigon-lunch-tile--no-photo {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
        "copy"
        "foot";
}

.saigon-lunch-tile:focus-visible {
    outline: 2px solid var(--so-ln-2563eb);
    outline-offset: 2px;
}

.saigon-lunch-tile--closed {
    box-shadow: none;
    cursor: default;
}

.saigon-lunch-tile-art {
    grid-area: art;
    position: relative;
    display: block;
    width: 100px;
    height: 112px;
}

.saigon-lunch-tile-main {
    display: block;
    width: 92px;
    height: 112px;
    border-radius: 12px;
    object-fit: cover;
    background: var(--so-bg-f3f4f6);
}

.saigon-lunch-tile-side {
    position: absolute;
    right: -4px;
    bottom: -4px;
    width: 48px;
    height: 48px;
    border: 3px solid var(--so-ln-ffffff);
    border-radius: 50%;
    object-fit: cover;
    background: var(--so-bg-f3f4f6);
    box-shadow: 0 2px 6px var(--so-sh-0f172a-a15);
}

.saigon-lunch-tile-copy {
    grid-area: copy;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.saigon-lunch-tile-title {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.01em;
    overflow-wrap: anywhere;
}

.saigon-lunch-tile-offer {
    font-size: 14px;
    line-height: 1.3;
}

.saigon-lunch-tile-hours {
    font-size: 12.5px;
    line-height: 1.35;
    color: var(--so-fg-6b7280);
}

.saigon-lunch-tile-hours::first-letter {
    text-transform: uppercase;
}

.saigon-lunch-tile-choice {
    display: none;
}

.saigon-lunch-tile-foot {
    grid-area: foot;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 10px;
    align-self: end;
    min-width: 0;
}

.saigon-lunch-tile-price {
    font-size: 20px;
    font-weight: 800;
    line-height: 1.2;
    white-space: nowrap;
}

.saigon-lunch-tile-cta {
    padding: 10px 16px;
    border-radius: 999px;
    background: var(--so-bg-c41e3a);
    color: var(--so-fg-ffffff);
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.2;
    white-space: nowrap;
    box-shadow: 0 3px 8px var(--so-sh-c41e3a-a22);
}

.saigon-lunch-tile:hover .saigon-lunch-tile-cta {
    background: var(--so-bg-9b1730);
}

.saigon-lunch-tile--closed .saigon-lunch-tile-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.saigon-lunch-tile-back {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--so-fg-9b1730);
}

.saigon-lunch-tile-back::first-letter {
    text-transform: uppercase;
}

/* Desktop menu: the card sits in the dish column (css/menu-desktop.css) with the price
   and button in their own column on the right and the dish count under the hours. */
@media (min-width: 1024px) {
    body.saigon-desktop-menu .saigon-lunch-tile {
        grid-template-columns: auto minmax(0, 1fr) auto;
        grid-template-areas: "art copy foot";
        align-items: center;
        column-gap: 18px;
        width: auto;
        margin: 24px 0 6px;
        padding: 14px;
    }

    body.saigon-desktop-menu .saigon-lunch-tile--no-photo {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas: "copy foot";
    }

    body.saigon-desktop-menu .saigon-lunch-tile-art {
        width: 124px;
        height: 116px;
    }

    body.saigon-desktop-menu .saigon-lunch-tile-main {
        width: 116px;
        height: 116px;
    }

    body.saigon-desktop-menu .saigon-lunch-tile-side {
        right: -6px;
        bottom: -6px;
        width: 54px;
        height: 54px;
    }

    body.saigon-desktop-menu .saigon-lunch-tile-copy {
        gap: 4px;
    }

    body.saigon-desktop-menu .saigon-lunch-tile-title {
        font-size: 22px;
    }

    body.saigon-desktop-menu .saigon-lunch-tile-offer {
        font-size: 15px;
    }

    body.saigon-desktop-menu .saigon-lunch-tile-hours {
        font-size: 13.5px;
    }

    body.saigon-desktop-menu .saigon-lunch-tile-choice {
        display: inline;
    }

    body.saigon-desktop-menu .saigon-lunch-tile-foot {
        flex-direction: column;
        align-items: flex-end;
        align-self: center;
        gap: 10px;
        padding-left: 18px;
        border-left: 1px solid var(--so-ln-ececec);
    }

    body.saigon-desktop-menu .saigon-lunch-tile-price {
        font-size: 26px;
    }

    body.saigon-desktop-menu .saigon-lunch-tile-cta {
        padding: 12px 22px;
        font-size: 15px;
    }

    body.saigon-desktop-menu .saigon-lunch-tile--closed .saigon-lunch-tile-foot {
        align-items: flex-end;
    }
}

/* Small phones: a narrower photo keeps the text column readable. */
@media (max-width: 360px) {
    .saigon-lunch-tile-art {
        width: 76px;
        height: 96px;
    }

    .saigon-lunch-tile-main {
        width: 70px;
        height: 96px;
    }

    .saigon-lunch-tile-side {
        width: 40px;
        height: 40px;
    }
}
/* The lunch deal category: one intro line with the price, and per main a note
   instead of a price, since every main costs the deal price. */
.menu-form-category-intro {
    margin: 0;
    padding: 0.55rem 1rem 0.65rem;
    background: var(--so-bg-ffffff);
    color: var(--so-fg-4b5563);
    font-size: 0.875rem;
    line-height: 1.45;
}
.menu-form-row-deal-note {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--so-fg-4b5563);
}
/* The branch line is a desktop-header element; the phone header has no room for it. */
.menu-top-header-branch {
    display: none;
}

/* ── Phone nav (v17): grid button, icon pills, search; diet chip row under it; category grid sheet ── */
.menu-nav-icon {
    display: none;
}
.menu-nav-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}
@media (min-width: 1024px) {
    .menu-jump-btn,
    .menu-nav-tools,
    .menu-subnav,
    .menu-diet-clear,
    #menu-jump-sheet {
        display: none !important;
    }
}
/* The kiosk menu (its own JS, no phone tools) keeps the v15 strip look. */
@media (max-width: 1023px) {
    body.saigon-kiosk-menu-page #menu-bar .menu-scroll-wrapper {
        display: flex;
        align-items: stretch;
        height: 46px;
        padding: 0;
    }
    body.saigon-kiosk-menu-page #menu-bar .menu-scroll-strip {
        position: relative;
        flex: 1 1 auto;
        min-width: 0;
        -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 28px), transparent);
        mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 28px), transparent);
    }
    body.saigon-kiosk-menu-page #menu-bar #menu-scroll-container {
        height: 100%;
        padding: 0 4px;
        display: flex;
        align-items: stretch;
    }
    body.saigon-kiosk-menu-page #menu-bar .menu-link {
        display: flex;
        align-items: center;
        position: relative;
        padding: 0 12px !important;
        margin: 0;
        border-radius: 0 !important;
        background: transparent !important;
        background-color: transparent !important;
        color: var(--so-fg-6f6a63) !important;
        font-size: 15px;
        font-weight: 600;
        line-height: 1;
        white-space: nowrap;
        transition: color 0.15s ease;
    }
    body.saigon-kiosk-menu-page #menu-bar .menu-link.active {
        color: var(--so-fg-17151a) !important;
    }
    body.saigon-kiosk-menu-page #menu-bar .menu-link.active::after {
        content: "";
        position: absolute;
        left: 12px;
        right: 12px;
        bottom: 0;
        height: 3px;
        border-radius: 3px 3px 0 0;
        background: var(--saigon-button-background, var(--brand-primary, #c41e3a));
    }
    body.so-skin-japanese.saigon-kiosk-menu-page #menu-bar .menu-link {
        color: var(--so-jp-muted) !important;
    }
    body.so-skin-japanese.saigon-kiosk-menu-page #menu-bar .menu-link.active {
        color: var(--so-jp-ink) !important;
    }
    body.so-skin-japanese.saigon-kiosk-menu-page #menu-bar .menu-link.active::after {
        background: var(--so-jp-red);
    }
}
@media (max-width: 1023px) {
    /* The logo bar slides away while scrolling down; the theme JS drops its
       height from the sticky stack when it carries is-collapsed. */
    /* No will-change here: a transformed header would become the containing block of
       the language switcher's fixed popup and push it off screen. */
    .menu-top-header {
        transition: transform 0.22s ease;
    }
    .menu-top-header.is-collapsed {
        transform: translateY(-100%);
        box-shadow: none;
    }
    #menu-bar.sticky {
        transition: top 0.22s ease;
    }
    #menu-bar {
        position: relative;
    }
    #menu-bar .menu-scroll-arrow {
        display: none !important;
    }

    /* Row 1: grid button, icon pills, search */
    body:not(.saigon-kiosk-menu-page) #menu-bar .menu-scroll-wrapper {
        display: flex;
        align-items: center;
        gap: 2px;
        height: 48px;
        padding: 0 4px;
    }
    #menu-bar .menu-jump-btn,
    #menu-bar .menu-nav-search {
        flex: none;
        width: 44px;
        height: 44px;
        display: grid;
        place-items: center;
        border: none;
        border-radius: 12px;
        background: none;
        color: var(--nav-ink, #24201e);
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    #menu-bar .menu-jump-btn svg,
    #menu-bar .menu-nav-search svg {
        width: 22px;
        height: 22px;
    }
    #menu-bar .menu-jump-btn[aria-expanded="true"] {
        color: var(--nav-accent, #c41e3a);
    }
    #menu-bar .menu-jump-btn:focus-visible,
    #menu-bar .menu-nav-search:focus-visible,
    body #menu-bar .menu-link:focus-visible {
        outline: 2px solid var(--nav-accent, #c41e3a);
        outline-offset: 2px;
    }
    #menu-bar .menu-nav-tools {
        flex: none;
        display: flex;
        align-items: center;
    }
    #menu-bar .menu-nav-search[hidden] {
        display: none;
    }
    body:not(.saigon-kiosk-menu-page) #menu-bar .menu-scroll-strip {
        position: relative;
        flex: 1 1 auto;
        min-width: 0;
        -webkit-mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 24px), transparent);
        mask-image: linear-gradient(90deg, #000 0, #000 calc(100% - 24px), transparent);
    }
    body:not(.saigon-kiosk-menu-page) #menu-bar #menu-scroll-container {
        height: 100%;
        padding: 6px 2px;
        display: flex;
        align-items: center;
        gap: 4px;
    }
    body:not(.saigon-kiosk-menu-page) #menu-bar .menu-link {
        display: flex;
        align-items: center;
        gap: 6px;
        height: 36px;
        padding: 0 13px !important;
        margin: 0;
        border-radius: 999px !important;
        background: transparent !important;
        background-color: transparent !important;
        color: var(--nav-muted, #706762) !important;
        font-size: 14px;
        font-weight: 600;
        line-height: 1;
        white-space: nowrap;
        transition: background-color 0.15s ease, color 0.15s ease;
    }
    body:not(.saigon-kiosk-menu-page) #menu-bar .menu-link:hover {
        color: var(--nav-ink, #24201e) !important;
    }
    body:not(.saigon-kiosk-menu-page) #menu-bar .menu-link.active {
        background: var(--nav-accent, #c41e3a) !important;
        background-color: var(--nav-accent, #c41e3a) !important;
        color: var(--nav-on-accent, #ffffff) !important;
    }

    /* Sub-category line */
    .menu-subnav {
        background: var(--nav-page, #faf8f5);
        border-top: 1px solid var(--nav-line, #e7e0da);
    }
    .menu-subnav[hidden] {
        display: none;
    }
    .menu-subnav-inner {
        display: flex;
        gap: 4px;
        padding: 6px 8px;
        overflow-x: auto;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .menu-subnav-inner::-webkit-scrollbar {
        display: none;
    }
    body #menu-bar .menu-subnav-link {
        flex: none;
        padding: 6px 10px;
        border-radius: 8px;
        border: none;
        background: transparent !important;
        color: var(--nav-muted, #706762) !important;
        font-size: 13px;
        font-weight: 600;
        white-space: nowrap;
        text-decoration: none;
        -webkit-tap-highlight-color: transparent;
    }
    body #menu-bar .menu-subnav-link.active {
        background: var(--nav-accent-soft, #fbe9ec) !important;
        background-color: var(--nav-accent-soft, #fbe9ec) !important;
        color: var(--nav-accent-strong, #9d1830) !important;
    }

    /* Row 2: diet chips in one scrolling row; folds away while scrolling down (food-menu.js) */
    body:not(.saigon-kiosk-menu-page) #menu-diet-filters {
        border-top: none;
        border-bottom: 1px solid var(--nav-line, #e7e0da);
        box-shadow: 0 6px 14px -12px var(--so-sh-24201e-a35);
        max-height: 64px;
        overflow: hidden;
        transition: max-height 0.2s ease, border-bottom-width 0.2s ease;
    }
    body:not(.saigon-kiosk-menu-page) #menu-diet-filters.is-collapsed {
        max-height: 0;
        border-bottom-width: 0;
        box-shadow: none;
    }
    body:not(.saigon-kiosk-menu-page) #menu-diet-filters .menu-diet-filters-inner {
        justify-content: flex-start;
        flex-wrap: nowrap;
        gap: 8px;
        /* 4px + the 8px gap after the centring spacer = 12px at each end. */
        padding: 8px 4px 10px;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    /* Centred while the chips fit; when they overflow the auto margins shrink to 0, so the
       first chip is never cut off (justify-content: center would clip it). */
    body:not(.saigon-kiosk-menu-page) #menu-diet-filters .menu-diet-filters-inner::before,
    body:not(.saigon-kiosk-menu-page) #menu-diet-filters .menu-diet-filters-inner::after {
        content: "";
        margin: auto;
    }
    body:not(.saigon-kiosk-menu-page) #menu-diet-filters .menu-diet-pill {
        flex: 0 0 auto;
        min-width: auto;
        gap: 6px;
        height: 36px;
        min-height: 36px;
        padding: 0 13px 0 10px;
        border: 1px solid var(--nav-chip-border, #cfc4bb);
        border-radius: 999px;
        background: var(--nav-surface, #ffffff);
        color: var(--nav-ink, #24201e);
        font-size: 13px;
        font-weight: 600;
        line-height: 1;
        transform: none;
        box-shadow: none;
    }
    body:not(.saigon-kiosk-menu-page) #menu-diet-filters .menu-diet-pill:hover,
    body:not(.saigon-kiosk-menu-page) #menu-diet-filters .menu-diet-pill:focus-visible {
        transform: none;
        box-shadow: none;
        background: var(--nav-surface, #ffffff);
        border-color: var(--nav-chip-border, #cfc4bb);
        color: var(--nav-ink, #24201e);
    }
    body:not(.saigon-kiosk-menu-page) #menu-diet-filters .menu-diet-pill:focus-visible {
        outline: 2px solid var(--nav-accent, #c41e3a);
        outline-offset: 2px;
    }
    body:not(.saigon-kiosk-menu-page) #menu-diet-filters .menu-diet-pill .menu-diet-pill-label {
        display: none;
    }
    body:not(.saigon-kiosk-menu-page) #menu-diet-filters .menu-diet-pill .menu-diet-pill-label--short {
        display: inline;
        overflow: visible;
    }
    body:not(.saigon-kiosk-menu-page) #menu-diet-filters .menu-diet-pill:not(:has(.menu-diet-pill-label--short)) .menu-diet-pill-label {
        display: inline;
        overflow: visible;
    }
    /* The coloured diet icons, as on the dishes, desktop and kiosk; no ring on the chip. */
    body:not(.saigon-kiosk-menu-page) #menu-diet-filters .menu-diet-pill-icon {
        display: inline-flex;
        flex: none;
        width: 20px;
        height: 20px;
        background: transparent;
        box-shadow: none;
    }
    body:not(.saigon-kiosk-menu-page) #menu-diet-filters .menu-diet-pill-icon img {
        width: 18px;
        height: 18px;
    }
    body:not(.saigon-kiosk-menu-page) #menu-diet-filters .menu-diet-pill--vegan .menu-diet-pill-icon img,
    body:not(.saigon-kiosk-menu-page) #menu-diet-filters .menu-diet-pill--halal .menu-diet-pill-icon img {
        width: 20px;
        height: 20px;
    }
    body:not(.saigon-kiosk-menu-page) #menu-diet-filters .menu-diet-pill[aria-pressed="true"] {
        border-color: var(--nav-accent, #c41e3a);
        background: var(--nav-accent-soft, #fbe9ec);
        color: var(--nav-accent-strong, #9d1830);
        font-weight: 600;
    }
    body:not(.saigon-kiosk-menu-page) #menu-diet-filters .menu-diet-pill[aria-pressed="true"] .menu-diet-pill-icon {
        background: transparent;
        box-shadow: none;
    }
    body:not(.saigon-kiosk-menu-page) #menu-diet-filters .menu-diet-pill[aria-pressed="true"]::after {
        content: "";
        width: 9px;
        height: 5px;
        margin-left: 2px;
        border-left: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: rotate(-45deg) translateY(-2px);
    }
    body:not(.saigon-kiosk-menu-page) #menu-diet-filters .menu-diet-clear {
        flex: 0 0 auto;
        height: 36px;
        padding: 0 13px;
        border: 1px dashed var(--nav-chip-border, #cfc4bb);
        border-radius: 999px;
        background: var(--nav-surface, #ffffff);
        color: var(--nav-muted, #706762);
        font-family: var(--font-sans);
        font-size: 13px;
        font-weight: 600;
        white-space: nowrap;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    body:not(.saigon-kiosk-menu-page) #menu-diet-filters .menu-diet-clear[hidden] {
        display: none;
    }
    /* Search opens from the bar's own button; the row only shows the field while it is open. */
    body:not(.saigon-kiosk-menu-page) #menu-diet-filters .menu-diet-search:not(.is-open) {
        display: none;
    }
    body:not(.saigon-kiosk-menu-page) #menu-diet-filters.is-search-open .menu-diet-pill,
    body:not(.saigon-kiosk-menu-page) #menu-diet-filters.is-search-open .menu-diet-clear {
        display: none;
    }

    /* Category sheet: two-column grid of categories with icon and name
       (scroll lock comes from the shared html/body.saigon-scroll-locked class) */
    body.menu-jump-open {
        overflow: hidden;
    }
    .menu-jump-backdrop,
    .gt_black_overlay {
        touch-action: none;
    }
    .menu-jump-list,
    .gt_white_content,
    .gt_white_content .gt_languages {
        overscroll-behavior: contain;
    }
    .menu-jump-sheet {
        position: fixed;
        inset: 0;
        z-index: 100001;
    }
    .menu-jump-sheet[hidden] {
        display: none;
    }
    .menu-jump-backdrop {
        position: absolute;
        inset: 0;
        background: var(--so-bg-17151a-a45);
        opacity: 0;
        transition: opacity 0.2s ease;
    }
    .menu-jump-panel {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        max-height: 84vh;
        display: flex;
        flex-direction: column;
        background: var(--nav-surface, #ffffff);
        border-radius: 22px 22px 0 0;
        box-shadow: 0 -8px 30px var(--so-sh-17151a-a18);
        transform: translateY(100%);
        transition: transform 0.24s ease;
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }
    .menu-jump-sheet.is-open .menu-jump-backdrop {
        opacity: 1;
    }
    .menu-jump-sheet.is-open .menu-jump-panel {
        transform: translateY(0);
    }
    .menu-jump-head {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1.15rem 1.1rem 0.6rem;
    }
    .menu-jump-grip {
        position: absolute;
        top: 0.55rem;
        left: 50%;
        width: 2.5rem;
        height: 0.25rem;
        margin-left: -1.25rem;
        border-radius: 999px;
        background: var(--nav-chip-border, #cfc4bb);
    }
    .menu-jump-title {
        font-family: var(--font-sans);
        font-size: 1.2rem;
        font-weight: 800;
        color: var(--nav-ink, #24201e);
    }
    .menu-jump-close {
        width: 2.15rem;
        height: 2.15rem;
        border: none;
        border-radius: 50%;
        background: var(--nav-page, #faf8f5);
        color: var(--nav-ink, #24201e);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }
    .menu-jump-close svg {
        width: 1rem;
        height: 1rem;
    }
    .menu-jump-list {
        list-style: none;
        margin: 0;
        padding: 4px 14px 16px;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        align-content: start;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    .menu-jump-item {
        min-width: 0;
        padding: 0;
    }
    .menu-jump-item.has-children {
        grid-column: 1 / -1;
    }
    .menu-jump-link {
        display: flex;
        align-items: center;
        gap: 8px;
        min-height: 48px;
        padding: 10px;
        border: 1px solid var(--nav-line, #e7e0da);
        border-radius: 12px;
        background: var(--nav-surface, #ffffff);
        color: var(--nav-ink, #24201e);
        font-family: var(--font-sans);
        font-size: 0.85rem;
        font-weight: 600;
        line-height: 1.25;
        text-decoration: none;
        -webkit-tap-highlight-color: transparent;
    }
    .menu-jump-link .menu-nav-icon {
        display: inline-flex;
        flex: none;
        width: 20px;
        height: 20px;
        color: var(--nav-muted, #706762);
    }
    .menu-jump-name {
        flex: 1 1 auto;
        min-width: 0;
        overflow-wrap: anywhere;
    }
    .menu-jump-link.is-current {
        border-color: var(--nav-accent, #c41e3a);
        background: var(--nav-accent-soft, #fbe9ec);
        color: var(--nav-accent-strong, #9d1830);
    }
    .menu-jump-link.is-current .menu-nav-icon {
        color: var(--nav-accent, #c41e3a);
    }
    .menu-jump-children {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        padding: 8px 0 2px;
    }
    .menu-jump-child {
        padding: 0.4rem 0.7rem;
        border: 1px solid var(--nav-line, #e7e0da);
        border-radius: 8px;
        background: var(--nav-page, #faf8f5);
        color: var(--nav-ink, #24201e);
        font-family: var(--font-sans);
        font-size: 0.82rem;
        font-weight: 600;
        text-decoration: none;
        -webkit-tap-highlight-color: transparent;
    }

    /* Content: quiet category titles, red small-caps sub-titles */
    .menu-form-category-title {
        background: transparent !important;
        background-color: transparent !important;
        color: var(--so-fg-17151a);
        font-size: 1.3rem;
        font-weight: 800;
        letter-spacing: -0.01em;
        text-transform: none;
        border-left: none;
        border-radius: 0;
        padding: 0.4rem 0 0.45rem 0.1rem;
    }
    .menu-form-subcategory-title {
        min-height: 0;
        padding: 1rem 1rem 0.35rem;
        background: transparent;
        border-top: none;
        border-bottom: none;
        color: var(--saigon-button-background, var(--brand-primary, #c41e3a));
        font-size: 0.74rem;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    /* Photo-less categories collapse to a name + price line. */
    #drinks .menu-form-row:not(.menu-form-row--with-image) .menu-form-row-description,
    #sauces .menu-form-row:not(.menu-form-row--with-image) .menu-form-row-description,
    #desserts .menu-form-row:not(.menu-form-row--with-image) .menu-form-row-description,
    #drinks .menu-form-row:not(.menu-form-row--with-image) .menu-form-row-customize,
    #sauces .menu-form-row:not(.menu-form-row--with-image) .menu-form-row-customize,
    #desserts .menu-form-row:not(.menu-form-row--with-image) .menu-form-row-customize {
        display: none;
    }
    #drinks .menu-form-row:not(.menu-form-row--with-image),
    #sauces .menu-form-row:not(.menu-form-row--with-image),
    #desserts .menu-form-row:not(.menu-form-row--with-image) {
        padding-top: 0.45rem;
        padding-bottom: 0.45rem;
        align-items: center;
        min-height: 0;
    }
    #drinks .menu-form-row:not(.menu-form-row--with-image) .menu-form-row-main,
    #sauces .menu-form-row:not(.menu-form-row--with-image) .menu-form-row-main,
    #desserts .menu-form-row:not(.menu-form-row--with-image) .menu-form-row-main {
        min-height: 0;
        align-items: center;
    }
    #drinks .menu-form-row:not(.menu-form-row--with-image) .menu-form-row-copy,
    #sauces .menu-form-row:not(.menu-form-row--with-image) .menu-form-row-copy,
    #desserts .menu-form-row:not(.menu-form-row--with-image) .menu-form-row-copy {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        column-gap: 0.6rem;
        row-gap: 0;
    }
    #drinks .menu-form-row:not(.menu-form-row--with-image) .menu-form-row-heading,
    #sauces .menu-form-row:not(.menu-form-row--with-image) .menu-form-row-heading,
    #desserts .menu-form-row:not(.menu-form-row--with-image) .menu-form-row-heading {
        flex: 1 1 auto;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: baseline;
        justify-content: space-between;
        column-gap: 0.75rem;
        row-gap: 0;
        margin: 0;
    }
    #drinks .menu-form-row:not(.menu-form-row--with-image) .menu-form-row-name,
    #sauces .menu-form-row:not(.menu-form-row--with-image) .menu-form-row-name,
    #desserts .menu-form-row:not(.menu-form-row--with-image) .menu-form-row-name {
        font-size: 0.98rem;
    }
    #drinks .menu-form-row:not(.menu-form-row--with-image) .menu-form-row-price,
    #sauces .menu-form-row:not(.menu-form-row--with-image) .menu-form-row-price,
    #desserts .menu-form-row:not(.menu-form-row--with-image) .menu-form-row-price {
        margin: 0;
        font-size: 0.95rem;
    }
    #drinks .menu-form-row:not(.menu-form-row--with-image) .menu-form-row-tags,
    #sauces .menu-form-row:not(.menu-form-row--with-image) .menu-form-row-tags,
    #desserts .menu-form-row:not(.menu-form-row--with-image) .menu-form-row-tags {
        flex: none;
        margin: 0;
    }
    /* A sub-category heading with nothing visible under it (diet filter, search) hides too. */
    .menu-form-subcategory-title.is-empty {
        display: none;
    }

    /* The allergy and pickup lines stay under the cart bar (and are copied into the cart sheet). */
    .sticky-cart-footer-wrapper .saigon-cart-disclaimer {
        padding: 0.3rem 0.75rem 0.4rem;
        background: transparent;
        border-top: 1px solid var(--nav-line, #e7e0da);
    }
    .sticky-cart-footer-wrapper .saigon-cart-disclaimer span {
        font-size: 0.6rem;
    }
    #cart-modal-body .saigon-cart-disclaimer--inline {
        display: flex;
        flex-direction: column;
        gap: 0.15rem;
        margin: 0.75rem 0 0;
        padding: 0.6rem 0.75rem;
        border-radius: 10px;
        background: var(--so-rs-f3f0ea);
        color: var(--so-fg-6f6a63);
        font-size: 0.68rem;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-align: center;
    }
}
@media (prefers-reduced-motion: reduce) {
    .menu-top-header,
    #menu-bar.sticky,
    #menu-diet-filters,
    .menu-jump-panel,
    .menu-jump-backdrop {
        transition: none !important;
    }
}

/* ── Japanese skin (v16): washi ground, Mincho titles with kanji, hanko sub-titles, noren edge, mascot ── */
@media (max-width: 1023px) {
    body.so-skin-japanese {
        --so-jp-ink: var(--so-fg-1f1b19);
        --so-jp-muted: var(--so-fg-6b625b);
        --so-jp-faint: var(--so-fg-a69c92);
        --so-jp-paper: var(--so-bg-fffdf8);
        --so-jp-ground: var(--so-bg-f4efe6);
        --so-jp-rule: var(--so-ln-e3dbcd);
        --so-jp-rule-soft: var(--so-ln-ede6da);
        --so-jp-red: var(--so-fg-b7282e);
        --so-jp-red-tint: var(--so-bg-f8e6e2);
        --so-jp-indigo: var(--so-fg-2b3a67);
        --so-jp-mincho: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", Georgia, serif;
        background: var(--so-jp-ground) !important;
        color: var(--so-jp-ink);
    }
    body.so-skin-japanese .menu-content,
    body.so-skin-japanese #primary,
    body.so-skin-japanese .ast-container {
        background-color: var(--so-jp-ground) !important;
        background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.35 0 0 0 0 0.28 0 0 0 0 0.2 0 0 0 0.06 0'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>") !important;
    }
    body.so-skin-japanese .menu-top-header,
    body.so-skin-japanese #menu-bar,
    body.so-skin-japanese .menu-subnav,
    body.so-skin-japanese #menu-diet-filters {
        background: var(--so-jp-paper) !important;
        background-color: var(--so-jp-paper) !important;
        border-bottom-color: var(--so-jp-rule) !important;
    }
    body.so-skin-japanese .menu-subnav {
        background: var(--so-pg-f3ede2) !important;
        background-color: var(--so-pg-f3ede2) !important;
    }
    body.so-skin-japanese #menu-bar .menu-jump-btn,
    body.so-skin-japanese #menu-bar .menu-nav-search {
        color: var(--so-jp-ink);
    }
    body.so-skin-japanese:not(.saigon-kiosk-menu-page) #menu-bar .menu-link:not(.active) {
        color: var(--so-jp-muted) !important;
    }
    body.so-skin-japanese #menu-bar .menu-subnav-link.active {
        background: var(--so-jp-red-tint) !important;
        background-color: var(--so-jp-red-tint) !important;
        color: var(--so-jp-red) !important;
    }

    /* Category titles in Mincho with the kanji name beside them. */
    body.so-skin-japanese .menu-form-category-title {
        display: flex;
        align-items: baseline;
        gap: 0.7rem;
        font-family: var(--so-jp-mincho);
        font-size: 1.5rem;
        font-weight: 800;
        letter-spacing: 0.01em;
        color: var(--so-jp-ink);
        padding-top: 0.6rem;
    }
    body.so-skin-japanese .menu-cat-kanji {
        font-family: var(--so-jp-mincho);
        font-size: 0.9rem;
        font-weight: 600;
        letter-spacing: 0.12em;
        color: var(--so-jp-faint);
    }

    /* The product list is a paper card on the washi. */
    body.so-skin-japanese .menu-form-list {
        background: var(--so-jp-paper) !important;
        border: 1px solid var(--so-jp-rule);
        border-radius: 12px;
        box-shadow: 0 1px 0 var(--so-sh-2b1d14-a04);
        overflow: hidden;
    }
    body.so-skin-japanese .menu-form-row,
    body.so-skin-japanese .menu-form-row:nth-child(even) {
        background-color: var(--so-jp-paper);
        border-bottom-color: var(--so-jp-rule-soft);
    }
    body.so-skin-japanese .menu-form-row-name {
        color: var(--so-jp-ink);
    }
    body.so-skin-japanese .menu-form-row-description {
        color: var(--so-jp-muted);
    }

    /* Sub-category titles as a small red seal stamp. */
    body.so-skin-japanese .menu-form-subcategory-title {
        display: inline-block;
        width: auto;
        margin: 0.9rem 0 0.15rem 0.95rem;
        padding: 0.2rem 0.55rem 0.15rem;
        border: 1.5px solid var(--so-jp-red);
        border-radius: 5px;
        background: var(--so-jp-paper);
        color: var(--so-jp-red);
        font-size: 0.68rem;
        letter-spacing: 0.12em;
        transform: rotate(-1.5deg);
        transform-origin: left center;
    }

    /* Seal press on the add buttons. */
    body.so-skin-japanese .menu-form-qty-btn.menu-form-qty-plus {
        transition: transform 0.12s ease, background-color 0.12s ease, color 0.12s ease;
    }
    body.so-skin-japanese .menu-form-qty-btn.menu-form-qty-plus:active {
        transform: scale(0.88);
        background-color: var(--so-jp-red-tint);
        color: var(--so-jp-red);
    }

    /* Bars and sheets on paper. */
    body.so-skin-japanese .sticky-cart-footer-wrapper .saigon-cart-card,
    body.so-skin-japanese .sticky-cart-footer-wrapper {
        background: var(--so-jp-paper) !important;
        background-color: var(--so-jp-paper) !important;
    }
    body.so-skin-japanese .saigon-request-service-btn--bar {
        color: var(--so-jp-indigo);
    }
    body.so-skin-japanese .menu-jump-panel {
        background: var(--so-jp-paper);
    }
    body.so-skin-japanese .menu-jump-title {
        font-family: var(--so-jp-mincho);
        font-size: 1.35rem;
    }
    body.so-skin-japanese .menu-jump-child,
    body.so-skin-japanese .menu-jump-close {
        background: var(--so-pg-f3ede2);
    }
    body.so-skin-japanese .menu-jump-link:not(.is-current) {
        background: var(--so-jp-paper);
        border-color: var(--so-jp-rule);
    }
    body.so-skin-japanese #cart-modal-content,
    body.so-skin-japanese #cart-modal-body {
        background: var(--so-jp-paper) !important;
        background-color: var(--so-jp-paper) !important;
    }
    body.so-skin-japanese .cart-modal-title {
        font-family: var(--so-jp-mincho);
    }

}
/* The mascot in the empty cart, on every layout (the desktop side panel too). */
body.so-skin-japanese .saigon-empty-cart-icon.has-mascot svg {
    display: none;
}
body.so-skin-japanese .saigon-empty-cart-icon.has-mascot {
    width: auto !important;
    height: auto !important;
    max-width: none !important;
    margin-left: auto;
    margin-right: auto;
    opacity: 1 !important;
    filter: none !important;
    color: inherit;
}
body.so-skin-japanese .saigon-empty-cart-icon .so-cart-mascot {
    width: 120px;
    height: auto;
    margin: 0 auto 0.25rem;
    display: block;
    opacity: 1;
    filter: none;
}
@media (min-width: 1024px) {
    body.so-skin-japanese .saigon-empty-cart-icon .so-cart-mascot {
        width: 96px;
    }
}
@media (min-width: 1024px) {
    /* The desktop layout keeps its own look; the kanji are a phone-skin detail. */
    .menu-cat-kanji {
        display: none;
    }
}

/* Phones: second part of "Name | Second name" under the name, as on desktop. */
.menu-form-row-name .saigon-desktop-name-sub {
    display: block;
    margin-top: 1px;
    font-size: 0.82em;
    font-weight: 500;
    line-height: 1.35;
    color: var(--so-fg-6b7280);
}

/* Search: the field's own clear cross duplicates the close button next to it. */
.menu-diet-search-input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    appearance: none;
}

/* Kiosk: the phone top-bar tools (all categories, search, filter pop-up) are wired in
   food-menu.js, which the kiosk page does not load. Keep the category strip and always
   show the diet pills instead. */
body.saigon-kiosk-menu-page .menu-jump-btn,
body.saigon-kiosk-menu-page .menu-nav-tools,
body.saigon-kiosk-menu-page .menu-diet-clear,
body.saigon-kiosk-menu-page #menu-jump-sheet,
body.saigon-kiosk-menu-page .menu-diet-search-toggle,
body.saigon-kiosk-menu-page .menu-diet-search-input {
    display: none !important;
}

@media (max-width: 1023px) {
    body.saigon-kiosk-menu-page #menu-diet-filters:not(.is-search-open) {
        display: block !important;
    }
}

/* Kiosk: skip layout and paint of categories far off screen (big win on low-power tablets). */
body.saigon-kiosk-menu-page main section[id] {
    content-visibility: auto;
    contain-intrinsic-size: 1px 1500px;
    contain-intrinsic-size: auto 1500px;
}

/* ── Phone qty stepper (v18): once a dish is in the cart its photo carries one white pill
      (remove, count, red +) that stays visible; the row itself stays calm ── */
@media (min-width: 1024px) {
    .menu-form-row-incart {
        display: none !important;
    }
}
.menu-form-row-incart[hidden] {
    display: none;
}
@media (max-width: 1023px) {
    body:not(.saigon-kiosk-menu-page) .menu-form-row-aside.has-image .menu-form-qty-controls:not(.is-zero) {
        inset: auto 0.38rem 0.38rem auto;
        display: flex;
        align-items: center;
        height: 40px;
        padding: 3px;
        border-radius: 999px;
        background: var(--nav-surface, #ffffff);
        box-shadow: 0 6px 16px var(--so-sh-24201e-a22);
        pointer-events: auto;
    }
    body:not(.saigon-kiosk-menu-page) .menu-form-row-aside.has-image .menu-form-qty-controls:not(.is-zero) .menu-form-qty-minus,
    body:not(.saigon-kiosk-menu-page) .menu-form-row-aside.has-image .menu-form-qty-controls:not(.is-zero) .menu-form-qty-plus {
        position: static;
        width: 34px;
        height: 34px;
        border: 0;
        box-shadow: none;
        opacity: 1;
        transform: none;
        pointer-events: auto;
    }
    body:not(.saigon-kiosk-menu-page) .menu-form-row-aside.has-image .menu-form-qty-controls:not(.is-zero) .menu-form-qty-minus:active,
    body:not(.saigon-kiosk-menu-page) .menu-form-row-aside.has-image .menu-form-qty-controls:not(.is-zero) .menu-form-qty-plus:active {
        transform: scale(0.9);
    }
    body:not(.saigon-kiosk-menu-page) .menu-form-row-aside.has-image .menu-form-qty-controls:not(.is-zero) .menu-form-qty-minus {
        background: transparent;
        color: var(--nav-ink, #24201e);
    }
    body:not(.saigon-kiosk-menu-page) .menu-form-row-aside.has-image .menu-form-qty-controls:not(.is-zero) .menu-form-qty-plus {
        background: var(--nav-accent, #c41e3a);
        color: var(--nav-on-accent, #ffffff);
    }
    body:not(.saigon-kiosk-menu-page) .menu-form-row-aside.has-image .menu-form-qty-controls:not(.is-zero) .menu-form-qty-plus:hover,
    body:not(.saigon-kiosk-menu-page) .menu-form-row-aside.has-image .menu-form-qty-controls:not(.is-zero) .menu-form-qty-plus:focus-visible {
        background: var(--nav-accent-strong, #9d1830);
    }
    /* !important: the older hover rule (.menu-form-row:hover ... display) outranks this and
       sticks on phones after a tap, sliding the count under the +. */
    body:not(.saigon-kiosk-menu-page) .menu-form-row-aside.has-image .menu-form-qty-controls:not(.is-zero) .menu-form-qty-display {
        position: static;
        transform: none !important;
        min-width: 24px;
        height: auto;
        padding: 0 2px;
        background: transparent;
        color: var(--nav-ink, #24201e);
        font-size: 15px;
        font-weight: 800;
        line-height: 1;
        font-variant-numeric: tabular-nums;
        pointer-events: none;
    }
    body:not(.saigon-kiosk-menu-page) .menu-form-row.menu-row-selected {
        background-color: var(--nav-surface, #ffffff) !important;
        border-bottom-color: var(--nav-line, #e7e0da);
        box-shadow: none;
    }
    .menu-form-row-incart {
        display: block;
        margin-top: 2px;
        font-size: 0.78rem;
        font-weight: 700;
        color: var(--nav-accent-strong, #9d1830);
    }
}
