/* Customer app shell — mobile-first, responsive to desktop */

:root {
    --app-header-h: calc(3.25rem + env(safe-area-inset-top, 0px));
    --app-top-nav-h: 0px;
    --app-sidebar-w: 0px;
    --app-content-max: 48rem;
    --app-bottom-nav-h: calc(2.75rem + env(safe-area-inset-bottom, 0px));
}

.app-shell {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    background-color: #f9fafb;
}

.app-shell--no-nav .bottom-nav {
    display: none;
}

.app-shell--no-nav .app-main {
    padding-bottom: 0;
}

/* Cart FAB is a sibling of .app-shell — use :has for hide rules */
.app-shell--no-nav .cart-fab,
.app-shell--no-cart .cart-fab,
body:has(.app-shell--no-cart) .cart-fab,
body:has(.app-shell--no-nav) .cart-fab {
    display: none !important;
}

/* Turbo Drive progress */
.turbo-progress-bar {
    background: #067855;
    height: 2px;
}

.app-header {
    position: sticky;
    top: 0;
    z-index: 40;
    padding: 0.375rem 0.75rem;
    padding-top: calc(0.375rem + env(safe-area-inset-top, 0px));
    background: transparent;
    box-shadow: none;
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.24s ease;
}

.app-header__bar,
.app-pill {
    border: 1px solid rgba(229, 231, 235, 0.95);
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 2px 12px rgba(17, 24, 39, 0.07);
}

.app-header__location {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.4375rem;
    padding: 0.25rem 0.375rem 0.25rem 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.app-header__location-pin-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.app-header__location-pin {
    flex-shrink: 0;
    font-size: 1rem;
    color: #111827;
}

.app-header__location-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 0;
}

.app-header__location-eyebrow {
    display: none;
}

.app-header__location-chevron {
    flex-shrink: 0;
    font-size: 0.75rem;
    color: #9ca3af;
    margin-right: 0.125rem;
}

.app-header__chat {
    position: relative;
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    border: 0;
    background-color: #f3f4f6;
    color: #374151;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.app-header__chat i {
    font-size: 1.125rem;
}

.app-header__chat:hover,
.app-header__chat:focus-visible {
    background-color: #e5e7eb;
    color: #111827;
}

.header-location__city {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #111827;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-location__address {
    margin: 0;
    padding: 0;
    font-size: 0.6875rem;
    font-weight: 400;
    line-height: 1.25;
    color: #6b7280;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.header-location__address.hidden {
    display: none;
}

/* Shared city + street subtext (navbar, account, addresses) */
.location-lines {
    min-width: 0;
}

.location-lines__city {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.25;
}

.location-lines__sub {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.3;
    color: #6b7280;
    margin-top: 0.0625rem;
}

.location-lines__sub.hidden {
    display: none;
}

.location-lines__sub.text-muted {
    font-style: italic;
    color: #9ca3af;
}

.app-main {
    flex: 1;
    width: 100%;
    max-width: var(--app-content-max);
    margin-left: auto;
    margin-right: auto;
    padding-bottom: calc(var(--app-bottom-nav-h) + 0.75rem);
}

.app-header__bar {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    max-width: var(--app-content-max);
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    min-height: 2.5rem;
    padding: 0.1875rem 0.1875rem 0.1875rem 0.625rem;
}

.bottom-nav {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: calc(0.625rem + env(safe-area-inset-bottom, 0px));
    z-index: 50;
    border: 1px solid rgba(229, 231, 235, 0.9);
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 20px rgba(17, 24, 39, 0.08), 0 1px 2px rgba(17, 24, 39, 0.04);
    padding: 0.1875rem 0.375rem;
}

.bottom-nav__inner {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    max-width: var(--app-content-max);
    margin: 0 auto;
    align-items: center;
}

/* Links / groups are transparent on mobile so items stay in the 5-col grid */
.bottom-nav__links,
.bottom-nav__group {
    display: contents;
}

.bottom-nav__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.0625rem;
    padding: 0.25rem 0.125rem;
    font-size: 0.5625rem;
    line-height: 0.75rem;
    font-family: "Cabinet Grotesk", sans-serif;
    font-weight: 500;
    color: #9ca3af;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: color 0.2s ease, transform 0.15s ease, background-color 0.2s ease;
    border-radius: 9999px;
    position: relative;
}

.bottom-nav__icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.625rem;
    height: 1.625rem;
    border-radius: 9999px;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.bottom-nav__link i,
.bottom-nav__link .ph {
    font-size: 1.0625rem;
    line-height: 1;
    display: inline-block;
    speak: never;
    transition: transform 0.2s ease;
}

.bottom-nav__label {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bottom-nav__link:hover {
    color: #374151;
}

.bottom-nav__link--active {
    color: #111827;
    font-weight: 600;
    background-color: #e5e7eb;
}

.bottom-nav__link--active .bottom-nav__icon-wrap {
    background-color: transparent;
    color: #111827;
}

/* Desktop-only extras stay hidden in the mobile bottom pill */
.bottom-nav__link--desktop-only {
    display: none;
}

/* Logo / logout only in desktop floating pill */
.bottom-nav__brand,
.bottom-nav__footer {
    display: none;
}

/* Tablet: wider content column */
@media (min-width: 768px) {
    :root {
        --app-content-max: 64rem;
    }

    .app-main {
        padding-bottom: calc(var(--app-bottom-nav-h) + 1rem);
    }

    .bottom-nav {
        left: 1.25rem;
        right: 1.25rem;
    }
}

/* Desktop: vertical floating dock pill on the left */
@media (min-width: 1024px) {
    :root {
        --app-content-max: 68rem;
        --app-top-nav-h: 0px;
        --app-sidebar-w: 5.75rem;
        --app-bottom-nav-h: 0px;
        --app-rail-pad: 6.25rem;
    }

    .app-shell {
        display: flex;
        flex-direction: column;
        min-height: 100dvh;
        background-color: #f9fafb;
    }

    .bottom-nav {
        position: fixed;
        top: 50%;
        left: 0.875rem;
        right: auto;
        bottom: auto;
        z-index: 50;
        width: 5.25rem;
        height: auto;
        max-height: calc(100dvh - 2rem);
        transform: translateY(-50%);
        margin: 0;
        padding: 0.75rem 0.45rem;
        border: 1px solid rgba(255, 255, 255, 0.55);
        border-radius: 2.25rem;
        box-shadow:
            0 18px 40px rgba(17, 24, 39, 0.12),
            0 4px 12px rgba(17, 24, 39, 0.06),
            inset 0 1px 0 rgba(255, 255, 255, 0.75);
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(249, 250, 251, 0.92) 100%);
        backdrop-filter: blur(20px) saturate(1.2);
        -webkit-backdrop-filter: blur(20px) saturate(1.2);
        overflow-x: hidden;
        overflow-y: auto;
        scrollbar-width: none;
    }

    .bottom-nav::-webkit-scrollbar {
        display: none;
    }

    .bottom-nav__inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 0.625rem;
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0;
        height: auto;
        grid-template-columns: none;
    }

    .bottom-nav__brand {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 3rem;
        height: 3rem;
        margin: 0.125rem 0 0.125rem;
        padding: 0;
        border: 1px solid rgba(17, 24, 39, 0.08);
        border-radius: 9999px;
        overflow: hidden;
        flex-shrink: 0;
        text-decoration: none;
        background: #ffffff;
        box-shadow: 0 2px 8px rgba(17, 24, 39, 0.06);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .bottom-nav__brand:hover {
        transform: scale(1.04);
        box-shadow: 0 4px 14px rgba(17, 24, 39, 0.1);
    }

    .bottom-nav__logo {
        display: block;
        height: 1.85rem;
        width: auto;
        max-width: 2.35rem;
        object-fit: contain;
    }

    .bottom-nav__links {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0.5rem;
        width: 100%;
        min-width: 0;
        flex: 0 1 auto;
    }

    .bottom-nav__group {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0.125rem;
        width: 100%;
        padding: 0.2rem;
        border-radius: 1.5rem;
        background: rgba(17, 24, 39, 0.035);
    }

    .bottom-nav__group--more {
        background: transparent;
        padding: 0.35rem 0.2rem 0.15rem;
        border-top: 1px solid rgba(17, 24, 39, 0.08);
        border-radius: 0;
        gap: 0.1rem;
    }

    .bottom-nav__link--desktop-only {
        display: flex;
    }

    .bottom-nav__link--mobile-only {
        display: none;
    }

    .bottom-nav__link {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0.2rem;
        width: 100%;
        padding: 0.45rem 0.2rem 0.4rem;
        border-radius: 1.25rem;
        font-size: 0.5625rem;
        line-height: 0.75rem;
        color: #9ca3af;
        background: transparent;
    }

    .bottom-nav__icon-wrap {
        display: inline-flex;
        width: 2.15rem;
        height: 2.15rem;
        border-radius: 9999px;
        background-color: transparent;
        color: inherit;
        transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    }

    .bottom-nav__link i,
    .bottom-nav__link .ph {
        font-size: 1.2rem;
    }

    .bottom-nav__label {
        font-size: 0.5625rem;
        font-weight: 500;
        letter-spacing: 0.01em;
        white-space: nowrap;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .bottom-nav__link:hover {
        color: #374151;
        background-color: transparent;
    }

    .bottom-nav__link:hover .bottom-nav__icon-wrap {
        background-color: rgba(17, 24, 39, 0.06);
    color: #111827;
}

.bottom-nav__link--active {
        color: #111827;
        font-weight: 600;
        background-color: transparent;
    }

    .bottom-nav__link--active .bottom-nav__icon-wrap {
        background-color: #111827;
        color: #ffffff;
        box-shadow: 0 4px 12px rgba(17, 24, 39, 0.22);
    }

    .bottom-nav__footer {
        display: block;
        width: 100%;
        margin: 0.125rem 0 0;
        padding: 0.45rem 0.2rem 0.15rem;
        border: none;
        border-top: 1px solid rgba(17, 24, 39, 0.08);
        flex-shrink: 0;
    }

    .bottom-nav__logout {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.2rem;
        width: 100%;
        padding: 0.4rem 0.2rem;
        border: 0;
        background: transparent;
        border-radius: 1.25rem;
        font-family: "Cabinet Grotesk", sans-serif;
        font-size: 0.5625rem;
    font-weight: 500;
        line-height: 0.75rem;
        color: #a30418;
        cursor: pointer;
        text-align: center;
        transition: background-color 0.15s ease, color 0.15s ease;
    }

    .bottom-nav__logout .bottom-nav__icon-wrap {
        display: inline-flex;
        width: 2.35rem;
        height: 2.35rem;
        background: rgba(163, 4, 24, 0.08);
        color: #a30418;
    }

    .bottom-nav__logout .bottom-nav__icon-wrap i,
    .bottom-nav__logout .bottom-nav__icon-wrap .ph {
        font-size: 1.4rem;
    }

    .bottom-nav__logout .bottom-nav__label {
        font-size: 0.5625rem;
        white-space: nowrap;
    }

    .bottom-nav__logout:hover {
        background-color: transparent;
        color: #7f0212;
    }

    .bottom-nav__logout:hover .bottom-nav__icon-wrap {
        background: rgba(163, 4, 24, 0.14);
        color: #7f0212;
    }

    .app-header {
        position: sticky;
        top: 0;
        z-index: 40;
        padding: calc(0.75rem + env(safe-area-inset-top, 0px)) var(--app-rail-pad) 0.5rem;
        background: transparent;
        border-bottom: none;
    }

    .app-header__bar {
        max-width: var(--app-content-max);
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        gap: 0.625rem;
        padding: 0.45rem 0.5rem 0.45rem 0.55rem;
        min-height: 3.75rem;
        box-shadow:
            0 10px 28px rgba(17, 24, 39, 0.08),
            0 1px 2px rgba(17, 24, 39, 0.04);
    }

    .app-header__location {
        gap: 0.75rem;
        padding: 0.2rem 0.5rem 0.2rem 0.15rem;
    }

    .app-header__location-pin-wrap {
        width: 2.5rem;
        height: 2.5rem;
        border-radius: 9999px;
        background: rgba(17, 24, 39, 0.06);
    }

    .app-header__location-pin {
        font-size: 1.2rem;
    }

    .app-header__location-eyebrow {
        display: block;
        font-size: 0.625rem;
        font-weight: 600;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: #9ca3af;
        line-height: 1.2;
        margin-bottom: 0.1rem;
    }

    .header-location__city {
        font-family: "Cabinet Grotesk", sans-serif;
        font-size: 0.975rem;
        font-weight: 700;
    }

    .header-location__address {
        font-size: 0.75rem;
        margin-top: 0.05rem;
    }

    .app-header__location-chevron {
        font-size: 0.875rem;
        margin-right: 0.25rem;
    }

    .app-header__chat {
        width: 2.5rem;
        height: 2.5rem;
        background: rgba(17, 24, 39, 0.06);
    }

    .app-header__chat i {
        font-size: 1.25rem;
    }

    .app-main {
        max-width: min(var(--app-content-max), calc(100% - (2 * var(--app-rail-pad))));
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding: 0 0 1.75rem;
        min-width: 0;
    }

    .app-shell--no-nav {
        --app-rail-pad: 0px;
    }

    .app-shell--no-nav .app-header {
        padding-left: 0;
        padding-right: 0;
        padding-top: calc(0.625rem + env(safe-area-inset-top, 0px));
    }

    .app-shell--no-nav .app-main {
        max-width: var(--app-content-max);
        padding-bottom: 1.5rem;
    }

    .app-shell--chat:not(.app-shell--thread) .app-main {
        max-width: min(var(--app-content-max), calc(100% - (2 * var(--app-rail-pad))));
        padding-left: 0;
        padding-right: 0;
    }
}

@media (min-width: 1440px) {
    :root {
        --app-content-max: 78rem;
        --app-sidebar-w: 6rem;
        --app-rail-pad: 6.75rem;
    }

    .bottom-nav {
        left: 1rem;
        width: 5.5rem;
        padding: 0.85rem 0.5rem;
        border-radius: 2.5rem;
    }

    .bottom-nav__brand {
        width: 3.15rem;
        height: 3.15rem;
    }

    .bottom-nav__icon-wrap {
        width: 2.35rem;
        height: 2.35rem;
    }

    .bottom-nav__logout .bottom-nav__icon-wrap {
        width: 2.55rem;
        height: 2.55rem;
    }

    .bottom-nav__logout .bottom-nav__icon-wrap i,
    .bottom-nav__logout .bottom-nav__icon-wrap .ph {
        font-size: 1.5rem;
    }

    .bottom-nav__link i,
    .bottom-nav__link .ph {
        font-size: 1.28rem;
    }
}

@keyframes bottom-nav-tap {
    0% { transform: scale(1); }
    40% { transform: scale(0.92); }
    100% { transform: scale(1); }
}

@keyframes bottom-nav-icon-bounce {
    0% { transform: translateY(0) scale(1); }
    35% { transform: translateY(-3px) scale(1.15); }
    65% { transform: translateY(1px) scale(0.96); }
    100% { transform: translateY(0) scale(1); }
}

@keyframes app-tap-pop {
    0% { transform: scale(1); }
    40% { transform: scale(0.96); }
    70% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

@keyframes app-tap-shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-3px); }
    75% { transform: translateX(3px); }
}

.bottom-nav__link--tap {
    animation: bottom-nav-tap 0.32s ease;
    color: #111827;
}

.bottom-nav__icon--bounce {
    animation: bottom-nav-icon-bounce 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.bottom-nav__link--leaving {
    opacity: 0.7;
}

.app-tap-pop {
    animation: app-tap-pop 0.35s ease;
}

.app-tap-shake {
    animation: app-tap-shake 0.35s ease;
}

#checkoutBtn.is-loading {
    opacity: 1;
    cursor: wait;
}

.app-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

/* Account hub page */
.account-page {
    padding-bottom: 0.25rem;
}

.account-hub,
.account-hub--skeleton {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.account-hub__section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.account-hub__heading {
    display: none;
}

.account-hub__heading--skeleton {
    display: none;
}

.account-guest-wrap {
    width: 100%;
}

.account-guest {
    display: block;
    border-radius: 1rem;
    padding: 1.5rem 1.25rem;
    text-align: center;
    box-shadow: 0 2px 12px rgba(17, 24, 39, 0.07);
}

.account-guest__brand {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.account-guest__logo {
    height: 2.5rem;
    width: auto;
    max-height: 3rem;
    object-fit: contain;
}

.account-guest__title {
    font-family: "Cabinet Grotesk", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 0.25rem;
    line-height: 1.25;
}

.account-guest__sub {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0 auto 1.25rem;
    max-width: 22rem;
    line-height: 1.45;
}

.account-guest__actions {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    max-width: 16rem;
    margin: 0 auto;
}

.account-guest__btn {
    width: 100%;
    justify-content: center;
    padding-top: 0.625rem;
    padding-bottom: 0.625rem;
}

/* Shared guest sign-in cards (bookings, track, etc.) */
.app-guest-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 0.875rem;
    border-radius: 9999px;
    background: rgba(17, 24, 39, 0.06);
    color: #111827;
}

.app-guest-card__icon i {
    font-size: 1.375rem;
}

.app-guest-card__title {
    font-family: "Cabinet Grotesk", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.25;
}

.app-guest-card__sub {
    font-size: 0.8125rem;
    color: #6b7280;
    margin: 0.5rem auto 0;
    max-width: 20rem;
    line-height: 1.45;
}

.app-guest-card__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.625rem;
    margin-top: 1.125rem;
}

/* Track order lookup */
.track-page-header__inner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.track-page-header__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    background: rgba(17, 24, 39, 0.06);
    color: #111827;
    flex-shrink: 0;
}

.track-page-header__icon i {
    font-size: 1.125rem;
}

.track-page-header__text {
    min-width: 0;
}

.track-page-header__title {
    font-family: "Cabinet Grotesk", sans-serif;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
    margin: 0;
}

.track-page-header__sub {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0.125rem 0 0;
    line-height: 1.35;
}

.track-lookup-form {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.track-lookup-form__input {
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.track-lookup-form__error {
    font-size: 0.8125rem;
    color: #dc2626;
    margin: 0;
}

.track-lookup-form__error.hidden {
    display: none;
}

.track-lookup-card__alert {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.875rem;
    padding: 0.75rem 0.875rem;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    font-size: 0.8125rem;
    color: #374151;
    line-height: 1.4;
}

.track-lookup-card__alert i {
    flex-shrink: 0;
    margin-top: 0.125rem;
    color: #111827;
}

.track-lookup-note__text {
    font-size: 0.8125rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.45;
}

.track-lookup-note__link {
    color: #111827;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Account profile card — never inherit app-pill stadium radius (breaks when status expands) */
.account-profile-card.app-pill,
.account-profile-card {
    overflow: hidden;
    padding: 0.75rem 0.875rem;
    border-radius: 1rem;
}

.account-profile-card__top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.account-profile-card__avatar {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 9999px;
    background-color: #f3f4f6;
    border: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.account-profile-card__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.account-profile-card__avatar .ph-user {
    font-size: 1.375rem;
    color: #9ca3af;
}

.account-profile-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.0625rem;
    min-width: 0;
}

.account-profile-card__eyebrow {
    display: none;
    margin: 0;
}

.account-profile-card__name {
    font-family: "Cabinet Grotesk", sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #111827;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-profile-card__email {
    font-size: 0.75rem;
    color: #6b7280;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-profile-card__edit {
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    color: #374151;
    text-decoration: none;
    background: #f3f4f6;
    transition: background-color 0.15s ease, color 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.account-profile-card__edit-label {
    display: none;
}

.account-profile-card__edit:hover,
.account-profile-card__edit:focus-visible {
    background-color: #e5e7eb;
    color: #111827;
}

.account-profile-card__edit i {
    font-size: 1rem;
}

.account-profile-card__status {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(243, 244, 246, 0.95);
    min-width: 0;
}

.account-profile-card__status.hidden {
    display: none;
}

.account-profile-card__status-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #92400e;
    margin-bottom: 0.5rem;
}

.account-profile-card__status-list {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    margin: 0 0 0.5rem;
    padding: 0;
    list-style: none;
    min-width: 0;
}

.account-profile-card__status-list > li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    min-width: 0;
}

.account-profile-card__status-list > li > span:first-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-profile-card__status-link {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #111827;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.account-profile-card__status-link:hover {
    color: #000000;
}

.skeleton--account-photo {
    width: 2.75rem;
    height: 2.75rem;
    flex-shrink: 0;
    border-radius: 9999px;
}

.skeleton--account-body {
    flex: 1;
    min-width: 0;
    padding-top: 0.125rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.375rem;
}

/* Account menu — stacked pills on mobile */
.account-menu {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.account-menu__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 0;
    color: inherit;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.account-menu__item + .account-menu__item {
    border-top: 0;
}

.account-menu__item:hover,
.account-menu__item:focus-visible {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 3px 14px rgba(17, 24, 39, 0.09);
}

.account-menu__item--logout:hover,
.account-menu__item--logout:focus-visible {
    background-color: #fef2f2;
    box-shadow: 0 3px 14px rgba(163, 4, 24, 0.08);
}

.account-menu__icon {
    width: 2.125rem;
    height: 2.125rem;
    border-radius: 9999px;
    background-color: #f3f4f6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #111827;
}

.account-menu__icon i {
    font-size: 1.0625rem;
}

.account-menu__icon--danger {
    background-color: #fef2f2;
    color: #dc2626;
}

.account-menu__text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.0625rem;
}

.account-menu__title {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #111827;
    line-height: 1.25;
}

.account-menu__title--danger {
    color: #dc2626;
}

.account-menu__sub {
    display: block;
    font-size: 0.6875rem;
    color: #6b7280;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-menu__chevron {
    flex-shrink: 0;
    color: #d1d5db;
    font-size: 0.9375rem;
}

/* Tablet: wider profile + 2-col quick links */
@media (min-width: 768px) {
    .account-page {
        padding-top: 0.5rem;
        padding-bottom: 0.75rem;
    }

    .account-hub,
    .account-hub--skeleton {
        gap: 1rem;
    }

    .account-hub__section {
        gap: 0.75rem;
    }

    .account-hub__heading,
    .account-hub__heading--skeleton {
        display: flex;
        flex-direction: column;
        gap: 0.2rem;
        padding: 0 0.25rem;
    }

    .account-hub__title {
        font-family: "Cabinet Grotesk", sans-serif;
        font-size: 1.125rem;
        font-weight: 700;
        color: #111827;
        margin: 0;
        line-height: 1.2;
    }

    .account-hub__sub {
        font-size: 0.8125rem;
        color: #6b7280;
        margin: 0;
        line-height: 1.35;
    }

    .account-guest {
        max-width: 28rem;
        margin: 1.5rem auto 0;
        padding: 2rem 1.75rem;
        border-radius: 1.5rem;
    }

    .account-guest__title {
        font-size: 1.375rem;
    }

    .account-guest__sub {
        font-size: 0.9375rem;
        margin-bottom: 1.5rem;
    }

    .account-guest__actions {
        max-width: 18rem;
        gap: 0.75rem;
    }

    .account-profile-card.app-pill,
    .account-profile-card {
        padding: 1.125rem 1.25rem;
        border-radius: 1.5rem;
    }

    .account-profile-card__top {
        gap: 1rem;
    }

    .account-profile-card__avatar {
        width: 3.5rem;
        height: 3.5rem;
    }

    .skeleton--account-photo {
        width: 3.5rem;
        height: 3.5rem;
    }

    .account-profile-card__avatar .ph-user {
        font-size: 1.75rem;
    }

    .account-profile-card__eyebrow {
        display: block;
        font-size: 0.6875rem;
        font-weight: 600;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: #9ca3af;
        margin-bottom: 0.125rem;
    }

    .account-profile-card__name {
        font-size: 1.25rem;
        font-weight: 700;
    }

    .account-profile-card__email {
        font-size: 0.8125rem;
    }

    .account-profile-card__edit {
        width: auto;
        height: 2.25rem;
        padding: 0 0.875rem;
        border-radius: 9999px;
    }

    .account-profile-card__edit-label {
        display: inline;
        font-size: 0.75rem;
        font-weight: 600;
    }

    .account-menu {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }

    .account-menu__item.app-pill {
        border-radius: 1.25rem;
        align-items: flex-start;
        flex-direction: column;
        gap: 0.875rem;
        min-height: 8rem;
        padding: 1.125rem 1.125rem 1rem;
    }

    .account-menu__item--logout.app-pill {
        grid-column: 1 / -1;
        flex-direction: row;
        align-items: center;
        min-height: 0;
        padding: 0.875rem 1.125rem;
    }

    .account-menu__icon {
        width: 2.5rem;
        height: 2.5rem;
    }

    .account-menu__icon i {
        font-size: 1.2rem;
    }

    .account-menu__title {
        font-size: 0.9375rem;
    }

    .account-menu__sub {
        font-size: 0.75rem;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .account-menu__chevron {
        position: absolute;
        top: 1rem;
        right: 1rem;
    }

    .account-menu__item--logout .account-menu__chevron {
        display: none;
    }
}

/* Desktop: roomy hub that fills the content column */
@media (min-width: 1024px) {
    .account-page {
        padding-top: 0.75rem;
        padding-bottom: 1.25rem;
    }

    .account-hub,
    .account-hub--skeleton {
        gap: 1.5rem;
    }

    .account-hub__section {
        gap: 1rem;
    }

    .account-hub__title {
        font-size: 1.35rem;
    }

    .account-hub__sub {
        font-size: 0.875rem;
    }

    .account-guest {
        max-width: 34rem;
        margin-top: 2.5rem;
        padding: 2.5rem 2.25rem;
        border-radius: 1.75rem;
    }

    .account-guest__logo {
        height: 3rem;
    }

    .account-guest__title {
        font-size: 1.75rem;
    }

    .account-guest__sub {
        font-size: 1rem;
        max-width: 26rem;
    }

    .account-profile-card.app-pill,
    .account-profile-card {
        padding: 1.5rem 1.75rem;
        border-radius: 1.75rem;
        background:
            linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(249, 250, 251, 0.95) 100%);
        box-shadow:
            0 10px 28px rgba(17, 24, 39, 0.08),
            0 1px 2px rgba(17, 24, 39, 0.04);
    }

    .account-profile-card__top {
        gap: 1.25rem;
    }

    .account-profile-card__avatar {
        width: 5rem;
        height: 5rem;
        border: 3px solid #ffffff;
        box-shadow: 0 4px 14px rgba(17, 24, 39, 0.12);
        background: #e5e7eb;
    }

    .skeleton--account-photo {
        width: 5rem;
        height: 5rem;
    }

    .account-profile-card__avatar .ph-user {
        font-size: 2.25rem;
    }

    .account-profile-card__eyebrow {
        font-size: 0.75rem;
        margin-bottom: 0.25rem;
    }

    .account-profile-card__name {
        font-size: 1.75rem;
        line-height: 1.15;
    }

    .account-profile-card__email {
        font-size: 0.9375rem;
        margin-top: 0.2rem;
    }

    .account-profile-card__edit {
        height: 2.5rem;
        padding: 0 1.125rem;
    }

    .account-profile-card__edit i {
        font-size: 1.0625rem;
    }

    .account-profile-card__edit-label {
        font-size: 0.8125rem;
    }

    .account-profile-card__status {
        margin-top: 1.125rem;
        padding-top: 1.125rem;
    }

    .account-menu {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
    }

    .account-menu__item.app-pill {
        border-radius: 1.35rem;
        min-height: 9.5rem;
        padding: 1.35rem 1.25rem 1.15rem;
        gap: 1rem;
        background-color: rgba(255, 255, 255, 0.94);
        transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
    }

    .account-menu__item.app-pill:hover,
    .account-menu__item.app-pill:focus-visible {
        transform: translateY(-2px);
        box-shadow: 0 12px 28px rgba(17, 24, 39, 0.1);
    }

    .account-menu__item--logout.app-pill {
        min-height: 0;
        padding: 1rem 1.35rem;
        transform: none;
    }

    .account-menu__item--logout.app-pill:hover,
    .account-menu__item--logout.app-pill:focus-visible {
        transform: none;
    }

    .account-menu__icon {
        width: 2.75rem;
        height: 2.75rem;
        background: rgba(17, 24, 39, 0.05);
    }

    .account-menu__icon i {
        font-size: 1.3rem;
    }

    .account-menu__title {
        font-family: "Cabinet Grotesk", sans-serif;
        font-size: 1.0625rem;
        font-weight: 700;
    }

    .account-menu__sub {
        font-size: 0.8125rem;
        line-height: 1.4;
        margin-top: 0.2rem;
    }

    .account-menu__chevron {
        top: 1.15rem;
        right: 1.15rem;
        font-size: 1.0625rem;
    }
}

@media (min-width: 1440px) {
    .account-menu {
        gap: 1.125rem;
    }

    .account-menu__item.app-pill {
        min-height: 10.25rem;
        padding: 1.5rem 1.35rem 1.25rem;
    }

    .account-profile-card {
        padding: 1.75rem 2rem;
    }

    .account-profile-card__name {
        font-size: 1.9rem;
    }
}

/* Saved address cards */
.address-card--default {
    border: 2px solid #111827;
    background-color: #f9fafb;
    box-shadow: 0 0 0 1px rgba(17, 24, 39, 0.08);
}

.address-card__pin {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background-color: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #111827;
}

.address-card__pin i {
    font-size: 1.125rem;
}

.address-card__label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
}

.address-card__meta {
    margin-top: 0.375rem;
}

.address-card__actions {
    display: flex;
    align-items: center;
    gap: 0.125rem;
    flex-shrink: 0;
}

.address-card__action {
    width: 2.25rem;
    height: 2.25rem;
    border: 0;
    border-radius: 0.5rem;
    background: transparent;
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.address-card__action:hover:not(:disabled) {
    background-color: #f3f4f6;
    color: #111827;
}

.address-card__action--default {
    color: #111827;
    background-color: #e5e7eb;
    cursor: default;
}

.address-card__action--delete:hover {
    background-color: #fef2f2;
    color: #dc2626;
}

.address-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.6875rem;
    font-weight: 500;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    background: #111827;
    color: #ffffff;
}

.address-card__range {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: #6b7280;
}

.address-card__range--ok {
    color: #374151;
}

.addresses-toolbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.addresses-hint {
    font-size: 0.75rem;
    color: #6b7280;
    line-height: 1.4;
    max-width: 16rem;
}

/* Booking history cards */
.history-card__icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background-color: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #111827;
}

.history-card__icon i {
    font-size: 1.125rem;
}

.history-card__icon--podcast {
    background-color: #eef2ff;
    color: #3730a3;
}

.history-card__title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
    line-height: 1.25;
}

.history-card__meta {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    margin-top: 0.625rem;
    font-size: 0.8125rem;
    color: #374151;
}

.history-card__meta i {
    color: #9ca3af;
    font-size: 0.9375rem;
}

.history-card__note {
    margin-top: 0.5rem;
    font-size: 0.8125rem;
    color: #6b7280;
    line-height: 1.4;
}

.history-card .location-lines__city {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #374151;
}

.history-card .booking-badge {
    flex-shrink: 0;
    margin-top: 0.0625rem;
}

/* Settings page */
.settings-tabs .booking-filter i {
    font-size: 0.9375rem;
}

.settings-avatar-block {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f3f4f6;
}

.settings-avatar-block__preview {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 9999px;
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.settings-avatar-block__preview.border-amber-300 {
    border-color: #fcd34d;
}

.settings-avatar-block__preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.settings-avatar-block__preview .ph-user {
    font-size: 1.75rem;
    color: #9ca3af;
}

.settings-avatar-block__badge {
    position: absolute;
    bottom: -0.125rem;
    right: -0.125rem;
    font-size: 0.625rem;
    font-weight: 500;
    color: #b45309;
    background: #fffbeb;
    border: 1px solid #fde68a;
    padding: 0.125rem 0.375rem;
    border-radius: 9999px;
}

.settings-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.settings-field-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 480px) {
    .settings-field-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.settings-field__label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.25rem;
}

.settings-field__badge {
    margin-left: 0.25rem;
}

.settings-field__input {
    width: 100%;
    padding: 0.625rem 0.75rem;
    font-size: 0.875rem;
    font-family: "Cabinet Grotesk", sans-serif;
    color: #111827;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.settings-field__input:focus {
    outline: none;
    border-color: #111827;
    box-shadow: 0 0 0 2px rgba(17, 24, 39, 0.08);
}

.settings-field__input.border-amber-300 {
    border-color: #fcd34d;
}

.settings-field__input.border-red-500 {
    border-color: #ef4444;
}

.settings-field__input--readonly {
    background: #f9fafb;
    color: #6b7280;
    cursor: not-allowed;
}

.auth-page--signup {
    gap: 0.625rem;
}

.auth-page-card--signup .auth-form--signup {
    gap: 0.5rem;
}

.settings-field__hint {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 0.25rem;
}

.settings-field__password {
    position: relative;
}

.settings-field__password .settings-field__input {
    padding-right: 2.75rem;
}

.settings-field__toggle {
    position: absolute;
    right: 0.625rem;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #9ca3af;
    padding: 0.25rem;
    cursor: pointer;
    line-height: 0;
}

.settings-field__toggle:hover {
    color: #374151;
}

.settings-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid #f3f4f6;
    margin-top: 0.25rem;
}

.settings-actions--modal {
    border-top: 0;
    padding-top: 0;
    margin-top: 0.5rem;
}

.settings-info-list {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.settings-info-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.8125rem;
}

.settings-info-row dt {
    color: #6b7280;
    font-weight: 500;
}

.settings-info-row dd {
    color: #111827;
    font-weight: 500;
    text-align: right;
    margin: 0;
}

.settings-action-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem;
}

.settings-action-row + .settings-action-row {
    border-top: 1px solid #f3f4f6;
}

#settingsMissingSummary {
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    border: 1px solid #fde68a;
    background: #fffbeb;
    padding: 0.75rem 0.875rem;
}

.app-section-header {
    margin-bottom: 1rem;
}

.app-section-header h2 {
    font-family: "Cabinet Grotesk", sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
}

.app-section-header p {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

.menu-tab-bar {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 30;
}

.app-shell:has(.app-header) .menu-tab-bar {
    top: calc(var(--app-header-h) + var(--app-top-nav-h));
}

.menu-category-bar {
    position: sticky;
    top: 0;
    z-index: 30;
    background-color: #f9fafb;
    padding: 0;
    margin: 0;
}

.menu-category-bar__inner {
    padding: 0.75rem 1rem;
}

.menu-category-filters {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-wrap: nowrap;
}

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

.menu-category-btn {
    flex-shrink: 0;
    min-width: max-content;
}

.app-shell:has(.app-header) .menu-category-bar {
    top: calc(var(--app-header-h) + var(--app-top-nav-h));
}

.category-btn-section {
    /* legacy alias — sticky handled by .menu-category-bar */
}

.app-shell:has(.app-header) .category-btn-section {
    top: calc(var(--app-header-h) + var(--app-top-nav-h));
}

.app-shell:has(.app-header):has(.menu-tab-bar) .category-btn-section {
    top: calc(var(--app-header-h) + var(--app-top-nav-h) + 3.25rem);
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Menu item cards */
.menu-items-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.625rem;
    padding: 0 1rem 1rem;
}

.menu-items-grid > [id$="-empty"],
.menu-items-grid > .menu-items-empty,
.menu-items-grid > .menu-items-loader,
.menu-items-grid > .menu-items-sentinel,
.menu-items-grid > [id$="-loader"],
.menu-items-grid > [id$="-sentinel"],
.menu-items-grid > [data-menu-sentinel] {
    grid-column: 1 / -1;
}

.menu-item {
    overflow: hidden;
}

.menu-item__inner {
    display: flex;
    gap: 0.75rem;
    padding: 0.875rem;
}

.menu-item__media {
    width: 5.25rem;
    height: 5.25rem;
    flex-shrink: 0;
    border-radius: 0.5rem;
    overflow: hidden;
    background-color: #f3f4f6;
}

.menu-item__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.menu-item__media--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
}

.menu-item__media--placeholder i {
    font-size: 1.5rem;
}

.menu-item__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.menu-item__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
}

.menu-item__title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #111827;
    line-height: 1.3;
    margin: 0;
}

.menu-item__favorite {
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 0.5rem;
    background: transparent;
    color: #9ca3af;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.menu-item__favorite:hover {
    color: #ef4444;
    background-color: #fef2f2;
}

.menu-item__favorite i {
    font-size: 1.125rem;
}

.menu-item__desc {
    font-size: 0.75rem;
    color: #6b7280;
    line-height: 1.4;
    margin: 0;
}

.menu-item__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.375rem;
}

.menu-item__price {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
    white-space: nowrap;
}

.menu-item__actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

.menu-item__qty {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.125rem;
    border-radius: 0.5rem;
    background: #f9fafb;
    border: 1px solid #f3f4f6;
}

.menu-item__qty-btn {
    width: 1.75rem;
    height: 1.75rem;
    border: 0;
    border-radius: 0.375rem;
    background: #ffffff;
    color: #374151;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.menu-item__qty-btn i {
    font-size: 0.75rem;
}

.menu-item__qty-btn:hover {
    background: #f3f4f6;
}

.menu-item__qty-btn--plus {
    background: #111827;
    color: #ffffff;
}

.menu-item__qty-btn--plus:hover {
    background: #000000;
}

.menu-item__qty-value {
    width: 1.25rem;
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #111827;
}

.menu-item__add {
    border: 0;
    border-radius: 0.5rem;
    background: #111827;
    color: #ffffff;
    font-family: "Cabinet Grotesk", sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.5rem 0.875rem;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.15s ease, transform 0.15s ease;
}

.menu-item__add:hover {
    background: #000000;
}

.menu-items-empty__icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.5rem;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    color: #9ca3af;
}

.menu-items-empty__icon i {
    font-size: 1.5rem;
}

.menu-items-sentinel {
    height: 0.25rem;
    width: 100%;
}

/* Menu page sticky pill + category filters */
.menu-page-section {
    --menu-page-pill-offset: calc(var(--app-header-h) + 0.375rem);
    --menu-page-pill-stuck-top: calc(env(safe-area-inset-top, 0px) + 0.375rem);
}

.menu-page-sticky-sentinel {
    height: 1px;
    margin: 0;
    pointer-events: none;
}

.menu-page-sticky {
    position: sticky;
    top: var(--menu-page-pill-offset);
    z-index: 36;
    padding-bottom: 0.75rem;
    background: linear-gradient(to bottom, #f9fafb 78%, rgba(249, 250, 251, 0));
    transition: top 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

body.menu-page-is-stuck .app-header,
body.menu-page-search-pinned .app-header {
    transform: translateY(calc(-100% - 0.5rem));
    opacity: 0;
    pointer-events: none;
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.24s ease;
}

body.menu-page-is-stuck .menu-page-sticky,
body.menu-page-search-pinned .menu-page-sticky {
    top: var(--menu-page-pill-stuck-top);
    z-index: 42;
    padding-bottom: 0.875rem;
    background: linear-gradient(to bottom, #f9fafb 90%, rgba(249, 250, 251, 0));
}

.menu-page-pill {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    position: relative;
}

.menu-page-pill__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    background: rgba(17, 24, 39, 0.06);
    color: #111827;
    flex-shrink: 0;
}

.menu-page-pill__icon i {
    font-size: 1.125rem;
}

.menu-page-pill__body {
    min-width: 0;
}

.menu-page-pill__eyebrow {
    display: none;
    margin: 0;
}

.menu-page-pill__title {
    font-family: "Cabinet Grotesk", sans-serif;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
    margin: 0;
}

.menu-page-pill__sub {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0.125rem 0 0;
    line-height: 1.3;
    max-height: 2rem;
    overflow: hidden;
    transition: max-height 0.32s ease, opacity 0.24s ease, margin 0.32s ease;
}

.menu-page-pill__open-hint {
    font-size: 0.6875rem;
    font-weight: 600;
    color: #067855;
    margin: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.32s ease, opacity 0.28s ease, margin 0.32s ease;
}

body.menu-page-is-stuck .menu-page-pill__sub {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
}

body.menu-page-is-stuck .menu-page-pill__open-hint {
    max-height: 1.25rem;
    opacity: 1;
    margin-top: 0.125rem;
}

.menu-page-pill__search {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 0;
    border-radius: 9999px;
    background: rgba(17, 24, 39, 0.06);
    color: #111827;
    flex-shrink: 0;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.menu-page-pill__search:hover,
.menu-page-pill__search:focus-visible {
    background: rgba(17, 24, 39, 0.1);
    outline: none;
}

.menu-page-pill__search i {
    font-size: 1.0625rem;
}

.menu-page-pill__search-field {
    display: none;
    align-items: center;
    gap: 0.375rem;
    flex: 1;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
}

.menu-page-pill__search-field.hidden {
    display: none !important;
}

.menu-page-pill__search-leading {
    display: none;
    color: #9ca3af;
    flex-shrink: 0;
}

.menu-page-pill__search-leading i {
    font-size: 1.0625rem;
}

.menu-page-pill__search-input {
    flex: 1;
    min-width: 0;
    width: 100%;
    border: 0;
    background: transparent;
    box-shadow: none;
    outline: none;
    font-family: "Cabinet Grotesk", sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #111827;
    padding: 0.35rem 0;
}

.menu-page-pill__search-input:focus,
.menu-page-pill__search-input:focus-visible {
    outline: none;
    box-shadow: none;
    border: 0;
    background: transparent;
    transform: none;
}

.menu-page-pill__search-input::-webkit-search-cancel-button,
.menu-page-pill__search-input::-webkit-search-decoration {
    -webkit-appearance: none;
    appearance: none;
}

.menu-page-pill__search-input::placeholder {
    color: #9ca3af;
}

.menu-page-pill__search-close {
    display: none;
    align-items: center;
    justify-content: center;
    width: 1.875rem;
    height: 1.875rem;
    border: 0;
    border-radius: 9999px;
    background: rgba(17, 24, 39, 0.06);
    color: #6b7280;
    flex-shrink: 0;
    cursor: pointer;
}

.menu-page-pill__search-close:hover,
.menu-page-pill__search-close:focus-visible {
    background: rgba(17, 24, 39, 0.1);
    color: #111827;
    outline: none;
}

.menu-page-pill__search-close i {
    font-size: 0.9375rem;
}

.menu-page-pill--search-open .menu-page-pill__icon,
.menu-page-pill--search-open .menu-page-pill__body {
    display: none;
}

.menu-page-pill--search-open .menu-page-pill__search-field {
    display: flex !important;
}

.menu-page-pill--search-open .menu-page-pill__search-leading,
.menu-page-pill--search-open .menu-page-pill__search-close {
    display: inline-flex;
}

.menu-page-filters-bar {
    margin-top: 0.5rem;
}

.menu-page-filters {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.3rem;
    border-radius: 9999px;
    background: rgba(17, 24, 39, 0.04);
    border: 1px solid rgba(229, 231, 235, 0.9);
}

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

.menu-page-filter {
    flex-shrink: 0;
    border: 0;
    background: transparent;
    color: #6b7280;
    font-family: "Cabinet Grotesk", sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.2;
    padding: 0.55rem 0.9rem;
    border-radius: 9999px;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.menu-page-filter:hover,
.menu-page-filter:focus-visible {
    color: #111827;
    background: rgba(255, 255, 255, 0.85);
    outline: none;
}

.menu-page-filter--active,
.menu-page-filter.booking-filter--active {
    background: #111827;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(17, 24, 39, 0.18);
}

.menu-page .menu-items-grid {
    padding-left: 0;
    padding-right: 0;
}

@media (min-width: 768px) {
    .menu-items-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
        padding: 0 1rem 1.25rem;
    }

    .menu-page .menu-items-grid {
        padding-left: 0;
        padding-right: 0;
    }

    .menu-item__inner {
        flex-direction: column;
        padding: 0;
        gap: 0;
    }

    .menu-item__media {
        width: 100%;
        height: 9rem;
        border-radius: 0;
    }

    .menu-item__body {
        padding: 0.875rem;
    }

    .menu-page-pill {
        padding: 1rem 1.15rem;
        border-radius: 1.5rem;
    }

    .menu-page-pill__eyebrow {
        display: block;
        font-size: 0.625rem;
        font-weight: 600;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: #9ca3af;
        margin-bottom: 0.1rem;
    }

    .menu-page-pill__title {
        font-size: 1.25rem;
    }

    .menu-page-pill__sub {
        font-size: 0.8125rem;
    }

    .menu-page-pill__icon,
    .menu-page-pill__search {
        width: 2.5rem;
        height: 2.5rem;
    }

    .menu-page-filter {
        font-size: 0.875rem;
        padding: 0.6rem 1rem;
    }
}

@media (min-width: 1024px) {
    .menu-page-section {
        --menu-page-pill-offset: calc(var(--app-header-h) + 0.5rem);
    }

    .menu-items-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
        padding: 0 1.25rem 1.75rem;
    }

    .menu-page .menu-items-grid {
        padding-left: 0;
        padding-right: 0;
    }

    .menu-item.app-card {
        border-radius: 1.25rem;
        overflow: hidden;
        transition: transform 0.18s ease, box-shadow 0.18s ease;
    }

    .menu-item.app-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 28px rgba(17, 24, 39, 0.1);
    }

    .menu-item__media {
        height: 11rem;
    }

    .menu-item__title {
        font-size: 1.0625rem;
    }

    .menu-items-empty--desk {
        max-width: 28rem;
        margin-top: 2rem;
        padding: 2.5rem 2rem;
        border-radius: 1.5rem;
    }

    .menu-page-pill {
        padding: 1.15rem 1.35rem;
        border-radius: 1.65rem;
        box-shadow: 0 8px 24px rgba(17, 24, 39, 0.07);
    }

    .menu-page-pill__title {
        font-size: 1.45rem;
    }

    .menu-page-pill__sub {
        font-size: 0.875rem;
    }

    .menu-page-filters {
        flex-wrap: wrap;
        overflow: visible;
        border-radius: 1.25rem;
    }
}

@media (min-width: 1440px) {
    .menu-items-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.125rem;
    }

    .menu-item__media {
        height: 12rem;
    }
}

.menu-tab-btn {
    flex: 1;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-family: "Cabinet Grotesk", sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    background-color: #f3f4f6;
    border: 1px solid transparent;
    transition: background-color 0.2s ease, color 0.2s ease;
    cursor: pointer;
}

.menu-tab-btn:hover:not(.menu-tab-btn--active) {
    background-color: #e5e7eb;
}

.menu-tab-btn--active,
.menu-tab-btn.menu-tab-btn--active {
    background-color: #000000;
    color: #ffffff;
}

.menu-tab-btn.menu-tab-btn--active:hover {
    background-color: #111827;
    color: #ffffff;
}

.menu-panel {
    display: none;
}

.menu-panel--active {
    display: block;
}

.app-quick-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.25rem 1rem;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.app-quick-action:hover {
    background-color: #f9fafb;
    border-color: #067855;
}

.app-quick-action__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.5rem;
    background-color: #f3f4f6;
}

.app-quick-action__icon i {
    font-size: 1.375rem;
    color: #111827;
}

.app-quick-action__label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #374151;
}

/* Home page */
.home-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid #fde68a;
    background-color: #fffbeb;
}

.home-alert__icon {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    background-color: #fef3c7;
    color: #b45309;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.home-alert__icon i {
    font-size: 1.125rem;
}

.home-alert__title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #92400e;
    line-height: 1.3;
}

.home-alert__text {
    font-size: 0.75rem;
    color: #a16207;
    margin-top: 0.125rem;
    line-height: 1.4;
}

.home-alert__link {
    font-weight: 600;
    color: #92400e;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.home-location-prompt {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border: 1px dashed #d1d5db;
    background-color: #f9fafb;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.home-location-prompt:hover,
.home-location-prompt:focus-visible {
    background-color: #f3f4f6;
    border-color: #9ca3af;
}

.home-location-prompt__icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background-color: #111827;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.home-location-prompt__icon i {
    font-size: 1.125rem;
}

.home-location-prompt__text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.home-location-prompt__title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
}

.home-location-prompt__sub {
    font-size: 0.75rem;
    color: #6b7280;
    line-height: 1.3;
}

.home-location-prompt__chevron {
    flex-shrink: 0;
    color: #d1d5db;
    font-size: 1rem;
}

.home-hero-carousel {
    position: relative;
}

.home-hero-carousel__viewport {
    height: 11.5rem;
    overflow: hidden;
    touch-action: pan-y pinch-zoom;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.home-hero-carousel__viewport.is-dragging {
    cursor: grabbing;
    touch-action: none;
}

.home-hero-carousel__track {
    display: flex;
    flex-direction: row;
    height: 100%;
    will-change: transform;
    transition: transform 0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.home-hero-carousel__track.is-dragging {
    transition: none;
}

.home-hero-carousel__slide {
    position: relative;
    flex: 0 0 100%;
    min-width: 100%;
    height: 11.5rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.home-hero-carousel__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.72) 0%,
        rgba(0, 0, 0, 0.28) 52%,
        rgba(0, 0, 0, 0.08) 100%
    );
}

.home-hero-carousel__content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1rem 1.125rem 0.875rem;
    z-index: 1;
}

.home-hero-carousel__eyebrow {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}

.home-hero-carousel__title {
    font-family: "Cabinet Grotesk", sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin-top: 0.25rem;
}

.home-hero-carousel__sub {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.82);
    margin-top: 0.375rem;
    line-height: 1.35;
    max-width: 18rem;
}

.home-hero-carousel__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.625rem 0.875rem 0.75rem;
    border-top: 1px solid #f3f4f6;
    background: #ffffff;
}

.home-hero-carousel__dots {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.home-hero-carousel__dot {
    width: 0.375rem;
    height: 0.375rem;
    padding: 0;
    border: 0;
    border-radius: 9999px;
    background: #d1d5db;
    cursor: pointer;
    transition: width 0.25s ease, background-color 0.25s ease;
}

.home-hero-carousel__dot.is-active {
    width: 1.125rem;
    background: #111827;
}

.home-hero-carousel__hint {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin: 0;
    font-size: 0.6875rem;
    font-weight: 500;
    color: #9ca3af;
    white-space: nowrap;
}

.home-hero-carousel__hint i {
    font-size: 0.75rem;
}

.home-hero-carousel__hint-icon--left {
    animation: home-hero-hint-nudge-left 1.6s ease-in-out infinite;
}

.home-hero-carousel__hint-icon--right {
    animation: home-hero-hint-nudge-right 1.6s ease-in-out infinite;
}

@keyframes home-hero-hint-nudge-left {
    0%, 100% { transform: translateX(0); opacity: 0.55; }
    50% { transform: translateX(-0.2rem); opacity: 1; }
}

@keyframes home-hero-hint-nudge-right {
    0%, 100% { transform: translateX(0); opacity: 0.55; }
    50% { transform: translateX(0.2rem); opacity: 1; }
}

@media (min-width: 768px) {
    .home-hero-carousel__viewport,
    .home-hero-carousel__slide {
        height: 14rem;
    }

    .home-hero-carousel__content {
        padding: 1.5rem 1.5rem 1.125rem;
    }

    .home-hero-carousel__title {
        font-size: 1.75rem;
    }

    .home-hero-carousel__sub {
        font-size: 0.875rem;
        max-width: 24rem;
    }
}

@media (min-width: 1024px) {
    .home-hero-carousel__viewport,
    .home-hero-carousel__slide {
        height: 22rem;
    }

    .home-hero-carousel__content {
        padding: 2rem 2rem 1.5rem;
    }

    .home-hero-carousel__eyebrow {
        font-size: 0.75rem;
        letter-spacing: 0.1em;
    }

    .home-hero-carousel__title {
        font-size: 2.35rem;
        line-height: 1.12;
        max-width: 28rem;
    }

    .home-hero-carousel__sub {
        font-size: 1rem;
        max-width: 30rem;
        margin-top: 0.5rem;
        line-height: 1.45;
    }

    .home-hero-carousel__footer {
        padding: 0.75rem 1.25rem 0.875rem;
    }

    .home-hero-carousel__hint {
        font-size: 0.75rem;
    }
}

@media (min-width: 1440px) {
    .home-hero-carousel__viewport,
    .home-hero-carousel__slide {
        height: 26rem;
    }

    .home-hero-carousel__content {
        padding: 2.5rem 2.5rem 1.75rem;
    }

    .home-hero-carousel__title {
        font-size: 2.85rem;
        max-width: 34rem;
    }

    .home-hero-carousel__sub {
        font-size: 1.0625rem;
        max-width: 34rem;
    }
}

.home-hero {
    height: 10.5rem;
    position: relative;
}

.home-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.15) 55%, transparent 100%);
}

.home-hero__content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1rem 1.125rem;
}

.home-hero__eyebrow {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}

.home-hero__title {
    font-family: "Cabinet Grotesk", sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin-top: 0.25rem;
}

.home-hero__sub {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.82);
    margin-top: 0.375rem;
    line-height: 1.35;
    max-width: 18rem;
}

@media (min-width: 768px) {
    .home-hero {
        height: 14rem;
    }

    .home-hero__content {
        padding: 1.5rem;
    }

    .home-hero__title {
        font-size: 1.75rem;
    }

    .home-hero__sub {
        font-size: 0.875rem;
        max-width: 24rem;
    }
}

@media (min-width: 1024px) {
    .home-hero {
        height: 22rem;
    }

    .home-hero__content {
        padding: 2rem;
    }

    .home-hero__title {
        font-size: 2.35rem;
    }

    .home-hero__sub {
        font-size: 1rem;
        max-width: 30rem;
    }
}

@media (min-width: 1440px) {
    .home-hero {
        height: 26rem;
    }

    .home-hero__title {
        font-size: 2.85rem;
    }
}

.home-quick__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.home-quick__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.125rem 0.75rem;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.15s ease;
    -webkit-tap-highlight-color: transparent;
    border-right: 1px solid #f3f4f6;
    border-bottom: 1px solid #f3f4f6;
}

.home-quick__item:nth-child(2n) {
    border-right: 0;
}

.home-quick__item:nth-last-child(-n+2) {
    border-bottom: 0;
}

.home-quick__item:hover,
.home-quick__item:focus-visible {
    background-color: #f9fafb;
}

.home-quick__item--muted {
    opacity: 0.65;
}

.home-quick__icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.625rem;
    background-color: #f3f4f6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #111827;
}

.home-quick__icon i {
    font-size: 1.375rem;
}

.home-quick__label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #374151;
    line-height: 1.25;
}

.home-promo__row {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
}

.home-promo__icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.625rem;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    color: #067855;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.home-promo__icon i {
    font-size: 1.25rem;
}

.home-promo__title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #111827;
    line-height: 1.25;
}

.home-promo__sub {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.25rem;
    line-height: 1.4;
}

.home-promo__link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.625rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #111827;
    text-decoration: none;
}

.home-promo__link:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.home-promo__link i {
    font-size: 0.875rem;
}

.home-newsletter__form {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.home-newsletter__hint {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 0.625rem;
    line-height: 1.35;
}

.home-modal {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.home-modal.hidden {
    display: none;
}

.home-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(2px);
}

.home-modal__panel {
    position: relative;
    width: 100%;
    max-width: 22rem;
    padding: 1.5rem;
    text-align: center;
    z-index: 1;
}

.home-modal__close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 0.5rem;
    background: transparent;
    color: #9ca3af;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.home-modal__close:hover {
    color: #374151;
    background-color: #f3f4f6;
}

.home-modal__icon {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    background-color: #ecfdf5;
    color: #067855;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
}

.home-modal__icon i {
    font-size: 1.75rem;
}

.home-modal__title {
    font-family: "Cabinet Grotesk", sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
}

.home-modal__text {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 0.375rem;
    margin-bottom: 1.25rem;
    line-height: 1.4;
}

/* Home — signup feature strip */
.home-signup-strip {
    margin-left: -0.25rem;
    margin-right: -0.25rem;
}

.home-signup-strip__scroll {
    display: flex;
    gap: 0.625rem;
    overflow-x: auto;
    padding: 0.125rem 0.25rem 0.25rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.home-signup-strip__scroll::-webkit-scrollbar {
    display: none;
}

.home-signup-card {
    flex: 0 0 72%;
    max-width: 16rem;
    scroll-snap-align: start;
    padding: 0.875rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    text-decoration: none;
    color: inherit;
    border-radius: 1rem;
    box-shadow: 0 2px 12px rgba(17, 24, 39, 0.07);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.home-signup-card:hover,
.home-signup-card:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(17, 24, 39, 0.1);
    outline: none;
}

.home-signup-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    background: rgba(17, 24, 39, 0.06);
    color: #111827;
}

.home-signup-card__icon i {
    font-size: 1.125rem;
}

.home-signup-card__title {
    font-family: "Cabinet Grotesk", sans-serif;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #111827;
}

.home-signup-card__sub {
    font-size: 0.75rem;
    color: #6b7280;
    line-height: 1.35;
}

.home-signup-cta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    color: inherit;
}

.home-signup-cta__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    background: rgba(17, 24, 39, 0.06);
    color: #111827;
    flex-shrink: 0;
}

.home-signup-cta__body {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    min-width: 0;
    flex: 1;
}

.home-signup-cta__title {
    font-family: "Cabinet Grotesk", sans-serif;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #111827;
}

.home-signup-cta__sub {
    font-size: 0.75rem;
    color: #6b7280;
}

.home-signup-cta__chevron {
    color: #9ca3af;
    flex-shrink: 0;
}

/* Home — order again section */
.home-orders-section {
    margin-top: 0.25rem;
}

.home-orders-pill {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    margin-bottom: 0.625rem;
}

.home-orders-pill__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    background: rgba(17, 24, 39, 0.06);
    color: #111827;
    flex-shrink: 0;
}

.home-orders-pill__icon i {
    font-size: 1.125rem;
}

.home-orders-pill__title {
    font-family: "Cabinet Grotesk", sans-serif;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
}

.home-orders-pill__sub {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.125rem;
    line-height: 1.3;
}

/* Home — recent orders carousel */
.home-orders-guest,
.home-orders-empty {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
}

.home-orders-guest__icon,
.home-orders-empty__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background: rgba(17, 24, 39, 0.06);
    color: #111827;
    flex-shrink: 0;
}

.home-orders-guest__title,
.home-orders-empty__title {
    font-family: "Cabinet Grotesk", sans-serif;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #111827;
}

.home-orders-guest__sub,
.home-orders-empty__sub {
    font-size: 0.8125rem;
    color: #6b7280;
    margin-top: 0.25rem;
    line-height: 1.35;
}

.home-orders-guest__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.home-orders-loading {
    padding: 0;
    height: 11.5rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.625rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.home-orders-loading__bar {
    height: 0.75rem;
    border-radius: 9999px;
    background: linear-gradient(90deg, #f3f4f6 0%, #e5e7eb 50%, #f3f4f6 100%);
    background-size: 200% 100%;
    animation: home-shimmer 1.2s ease-in-out infinite;
}

.home-orders-loading__bar--short {
    width: 55%;
}

@keyframes home-shimmer {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
}

.home-orders-carousel__viewport {
    height: 11.5rem;
    overflow: hidden;
    touch-action: pan-y;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
}

.home-orders-carousel__viewport.is-dragging {
    cursor: grabbing;
}

.home-orders-carousel__track {
    display: flex;
    transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.home-orders-carousel__track.is-dragging {
    transition: none;
}

.home-orders-carousel__slide {
    flex: 0 0 100%;
    min-width: 100%;
    height: 11.5rem;
}

.home-order-again-slide {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: none;
    background: #f3f4f6;
    text-align: center;
    color: inherit;
    cursor: pointer;
    overflow: hidden;
}

.home-order-again-slide:hover,
.home-order-again-slide:focus-visible {
    outline: none;
}

.home-order-again-slide--disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.home-order-again-slide__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.72) 0%,
        rgba(0, 0, 0, 0.22) 48%,
        rgba(0, 0, 0, 0.04) 100%
    );
    pointer-events: none;
}

.home-order-again-slide__visual {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 1rem 1.125rem 4.5rem;
    pointer-events: none;
}

.home-order-again-stack {
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-order-again-stack__thumb {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 0.875rem;
    border: 2px solid #ffffff;
    overflow: hidden;
    background: #e5e7eb;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
    margin-left: calc(var(--stack-index) * -0.875rem);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
}

.home-order-again-stack__thumb:first-child {
    margin-left: 0;
}

.home-order-again-stack__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-order-again-stack__thumb i {
    font-size: 1.125rem;
}

.home-order-again-stack__more {
    margin-left: 0.375rem;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.92);
    font-size: 0.6875rem;
    font-weight: 700;
    color: #374151;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.home-order-again-slide__names {
    max-width: 16rem;
    margin: 0;
    font-size: 0.75rem;
    font-weight: 500;
    color: #374151;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-order-again-slide__content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1rem 1.125rem 0.875rem;
    z-index: 1;
    text-align: left;
    pointer-events: none;
}

.home-order-again-slide__eyebrow {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
}

.home-order-again-slide__title {
    font-family: "Cabinet Grotesk", sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
    margin-top: 0.25rem;
}

.home-order-again-slide__sub {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.82);
    margin-top: 0.375rem;
    line-height: 1.35;
}

.home-orders-carousel__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.625rem 0.875rem 0.75rem;
    border-top: 1px solid #f3f4f6;
    background: #ffffff;
}

.home-orders-carousel__dots {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.home-orders-carousel__dot {
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 9999px;
    border: none;
    padding: 0;
    background: #d1d5db;
    cursor: pointer;
    transition: width 0.25s ease, background-color 0.25s ease;
}

.home-orders-carousel__dot.is-active {
    width: 1.125rem;
    background: #111827;
}

.home-orders-carousel__hint {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.6875rem;
    color: #9ca3af;
    margin: 0;
}

.home-orders-carousel__hint.hidden {
    display: none;
}

@media (min-width: 768px) {
    .home-orders-loading {
        height: 14rem;
    }

    .home-orders-carousel__viewport,
    .home-orders-carousel__slide {
        height: 14rem;
    }

    .home-order-again-stack__thumb {
        width: 3.75rem;
        height: 3.75rem;
    }

    .home-order-again-slide__content {
        padding: 1.5rem 1.5rem 1.125rem;
    }

    .home-order-again-slide__title {
        font-size: 1.75rem;
    }

    .home-order-again-slide__sub {
        font-size: 0.875rem;
    }
}

@media (min-width: 1024px) {
    .home-orders-loading {
        height: 16rem;
    }

    .home-orders-carousel__viewport,
    .home-orders-carousel__slide {
        height: 16rem;
    }
}

/* Home — from the menu (sticky pill + lazy grid) */
.home-menu-section {
    --home-menu-pill-offset: calc(var(--app-header-h) + 0.375rem);
    --home-menu-pill-stuck-top: calc(env(safe-area-inset-top, 0px) + 0.375rem);
    margin-top: 0.25rem;
    padding-bottom: 0.5rem;
}

@media (min-width: 1024px) {
    .home-menu-section {
        --home-menu-pill-offset: calc(var(--app-header-h) + 0.375rem);
        --home-menu-pill-stuck-top: calc(env(safe-area-inset-top, 0px) + 0.375rem);
    }
}

.home-menu-sticky-sentinel {
    height: 1px;
    margin: 0;
    pointer-events: none;
}

.home-menu-sticky {
    position: sticky;
    top: var(--home-menu-pill-offset);
    z-index: 35;
    padding-bottom: 0.625rem;
    background: linear-gradient(to bottom, #f9fafb 75%, rgba(249, 250, 251, 0));
    transition: top 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

body.home-menu-is-stuck .app-header,
body.home-menu-search-pinned .app-header {
    transform: translateY(calc(-100% - 0.5rem));
    opacity: 0;
    pointer-events: none;
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.24s ease;
}

body.home-menu-is-stuck .home-menu-sticky,
body.home-menu-search-pinned .home-menu-sticky {
    position: sticky;
    top: var(--home-menu-pill-stuck-top);
    padding-bottom: 0.75rem;
    background: linear-gradient(to bottom, #f9fafb 88%, rgba(249, 250, 251, 0));
    z-index: 36;
}

body.home-menu-search-pinned .home-menu-section {
    min-height: calc(100dvh - var(--home-menu-pill-stuck-top) - 1rem);
}

.home-menu-pill {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    transition: box-shadow 0.32s ease, transform 0.32s ease, padding 0.32s ease;
}

.home-menu-pill__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    background: rgba(17, 24, 39, 0.06);
    color: #111827;
    flex-shrink: 0;
    transition: transform 0.35s ease, background-color 0.35s ease;
}

.home-menu-pill__icon i {
    font-size: 1.125rem;
    transition: transform 0.35s ease;
}

.home-menu-pill__body {
    min-width: 0;
}

.home-menu-pill__title {
    font-family: "Cabinet Grotesk", sans-serif;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
}

.home-menu-pill__sub {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.125rem;
    line-height: 1.3;
    max-height: 2rem;
    overflow: hidden;
    transition: max-height 0.32s ease, opacity 0.24s ease, margin 0.32s ease;
}

.home-menu-pill__open-hint {
    font-size: 0.6875rem;
    font-weight: 600;
    color: #067855;
    margin: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.32s ease, opacity 0.28s ease, margin 0.32s ease;
}

body.home-menu-is-stuck .home-menu-pill__sub {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
}

body.home-menu-is-stuck .home-menu-pill__open-hint {
    max-height: 1.25rem;
    opacity: 1;
    margin-top: 0.125rem;
}

.home-menu-pill__action {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    flex-shrink: 0;
    font-size: 0.75rem;
    font-weight: 600;
    color: #111827;
    white-space: nowrap;
}

.home-menu-pill__search {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: none;
    border-radius: 9999px;
    background: rgba(17, 24, 39, 0.06);
    color: #111827;
    flex-shrink: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.home-menu-pill__search:hover,
.home-menu-pill__search:focus-visible {
    background: rgba(6, 120, 85, 0.12);
    color: #067855;
    outline: none;
}

.home-menu-pill__search i {
    font-size: 1.0625rem;
}

.home-menu-pill__search-field {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    flex: 1;
    min-width: 0;
}

.home-menu-pill__search-leading {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #9ca3af;
    pointer-events: none;
}

.home-menu-pill__search-leading i {
    font-size: 1rem;
}

.home-menu-pill__search-input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    font-size: 0.875rem;
    color: #111827;
    padding: 0;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.home-menu-pill__search-input:focus,
.home-menu-pill__search-input:focus-visible {
    outline: none;
    border: none;
    background: transparent;
    box-shadow: none;
    transform: none;
}

.home-menu-pill__search-input::-webkit-search-cancel-button,
.home-menu-pill__search-input::-webkit-search-decoration {
    -webkit-appearance: none;
    appearance: none;
    display: none;
}

.home-menu-pill__search-input::placeholder {
    color: #9ca3af;
}

.home-menu-pill__search-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border: none;
    border-radius: 9999px;
    background: rgba(17, 24, 39, 0.06);
    color: #6b7280;
    flex-shrink: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.home-menu-pill__search-close:hover,
.home-menu-pill__search-close:focus-visible {
    background: rgba(17, 24, 39, 0.1);
    color: #111827;
    outline: none;
}

.home-menu-pill__search-close i {
    font-size: 0.875rem;
}

.home-menu-pill--search-open {
    gap: 0;
    padding: 0.4375rem 0.5rem;
}

.home-menu-pill--search-open .home-menu-pill__icon,
.home-menu-pill--search-open .home-menu-pill__body {
    display: none;
}

.home-menu-pill--search-open .home-menu-pill__search-field {
    flex: 1 1 100%;
    width: 100%;
    max-width: none;
    gap: 0.5rem;
    padding: 0.4375rem 0.5rem 0.4375rem 0.75rem;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.home-menu-pill--search-open .home-menu-pill__search-leading {
    color: #067855;
}

.home-menu-pill--search-open .home-menu-pill__search-close {
    background: transparent;
}

.home-menu-pill--search-open .home-menu-pill__search-close:hover,
.home-menu-pill--search-open .home-menu-pill__search-close:focus-visible {
    background: rgba(17, 24, 39, 0.06);
}

.home-menu-pill--search-open .home-menu-pill__sub,
.home-menu-pill--search-open .home-menu-pill__open-hint {
    display: none;
}

.home-menu-pill__search-field:not(.hidden) {
    display: flex;
}

.home-menu-pill--search-open .home-menu-pill__search-field:not(.hidden) {
    display: flex;
}

.home-menu-filters-bar {
    padding: 0 0 0.125rem;
    margin-top: 0.125rem;
}

.home-menu-category-filters {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-wrap: nowrap;
    padding-bottom: 0.125rem;
}

.home-menu-category-filters::-webkit-scrollbar {
    display: none;
}

.home-menu-category-btn {
    flex-shrink: 0;
    min-width: max-content;
}

.home-menu-picks-empty {
    margin-top: 0.625rem;
}

.home-menu-picks-empty__text {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

.home-menu-pill__action i {
    font-size: 0.875rem;
}

@keyframes home-menu-pill-open {
    0% {
        transform: scale(0.97);
        box-shadow: 0 2px 12px rgba(17, 24, 39, 0.07);
    }
    55% {
        transform: scale(1.015);
        box-shadow: 0 10px 28px rgba(17, 24, 39, 0.14);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 8px 22px rgba(17, 24, 39, 0.11);
    }
}

@keyframes home-menu-icon-open {
    0% { transform: rotate(0deg) scale(1); }
    45% { transform: rotate(-14deg) scale(1.08); }
    100% { transform: rotate(0deg) scale(1); }
}

body.home-menu-is-stuck .home-menu-pill,
.home-menu-pill.home-menu-pill--opening {
    animation: home-menu-pill-open 0.48s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 8px 22px rgba(17, 24, 39, 0.11);
    border-color: rgba(6, 120, 85, 0.22);
}

body.home-menu-is-stuck .home-menu-pill__icon,
.home-menu-pill.home-menu-pill--opening .home-menu-pill__icon {
    background: rgba(6, 120, 85, 0.1);
    color: #067855;
}

body.home-menu-is-stuck .home-menu-pill__icon i,
.home-menu-pill.home-menu-pill--opening .home-menu-pill__icon i {
    animation: home-menu-icon-open 0.52s ease;
}

.home-menu-picks__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.625rem;
}

.home-menu-picks-loader {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.625rem;
    margin-top: 0.625rem;
}

@media (min-width: 768px) {
    .home-page {
        padding-top: 0.75rem;
        padding-bottom: 1rem;
    }

    .home-page.space-y-3 {
        row-gap: 1rem;
    }

    .home-signup-strip {
        margin-left: 0;
        margin-right: 0;
    }

    .home-signup-strip__scroll {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.875rem;
        overflow: visible;
        padding: 0;
        scroll-snap-type: none;
    }

    .home-signup-card {
        flex: none;
        max-width: none;
        width: 100%;
        min-height: 8.5rem;
        padding: 1.25rem;
        border-radius: 1.25rem;
    }

    .home-signup-card__icon {
        width: 2.5rem;
        height: 2.5rem;
    }

    .home-signup-card__title {
        font-size: 1.0625rem;
    }

    .home-signup-card__sub {
        font-size: 0.8125rem;
    }

    .home-signup-cta {
        padding: 1.125rem 1.25rem;
        border-radius: 1.5rem;
    }

    .home-orders-pill,
    .home-menu-pill {
        padding: 1rem 1.25rem;
        border-radius: 1.5rem;
    }

    .home-orders-pill__title,
    .home-menu-pill__title {
        font-size: 1.125rem;
    }

    .home-orders-pill__sub,
    .home-menu-pill__sub {
        font-size: 0.8125rem;
    }

    .home-menu-picks__grid,
    .home-menu-picks-loader {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.875rem;
    }

    .home-menu-pick__name {
        font-size: 0.9375rem;
    }

    .home-menu-pick__price {
        font-size: 0.9375rem;
    }

    .home-location-prompt {
        padding: 1.125rem 1.25rem;
        border-radius: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .home-page {
        padding-top: 0.875rem;
        padding-bottom: 1.5rem;
    }

    .home-page.space-y-3 > * + * {
        margin-top: 1.25rem;
    }

    .home-hero-carousel.app-card {
        border-radius: 1.5rem;
        box-shadow: 0 12px 32px rgba(17, 24, 39, 0.1);
    }

    .home-hero-carousel__hint {
        font-size: 0.8125rem;
    }

    .home-signup-strip__scroll {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1rem;
    }

    .home-signup-card {
        min-height: 9.5rem;
        padding: 1.35rem 1.25rem;
    }

    .home-menu-picks__grid,
    .home-menu-picks-loader {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1rem;
    }

    .home-orders-pill__icon,
    .home-menu-pill__icon,
    .home-signup-cta__icon {
        width: 2.75rem;
        height: 2.75rem;
    }

    .home-orders-pill__icon i,
    .home-menu-pill__icon i {
        font-size: 1.3rem;
    }
}

@media (min-width: 1440px) {
    .home-menu-picks__grid,
    .home-menu-picks-loader {
        gap: 1.125rem;
    }
}

.home-menu-pick {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: inherit;
}

.home-menu-pick__media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f3f4f6;
}

.home-menu-pick__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-menu-pick__media--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
}

.home-menu-pick__media--placeholder i {
    font-size: 1.5rem;
}

.home-menu-pick__body {
    padding: 0.625rem 0.75rem 0.75rem;
}

.home-menu-pick__name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #111827;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.home-menu-pick__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.375rem;
    margin-top: 0.375rem;
}

.home-menu-pick__price {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.home-menu-pick__add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: none;
    border-radius: 9999px;
    background: #111827;
    color: #ffffff;
    cursor: pointer;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
    transition: background-color 0.15s ease, transform 0.15s ease;
}

.home-menu-pick__add i {
    font-size: 0.9375rem;
}

.home-menu-pick__add:hover,
.home-menu-pick__add:focus-visible {
    background: #067855;
    outline: none;
}

.home-menu-pick--skeleton {
    min-height: 9.5rem;
    background: linear-gradient(90deg, #f3f4f6 0%, #e5e7eb 50%, #f3f4f6 100%);
    background-size: 200% 100%;
    animation: home-shimmer 1.2s ease-in-out infinite;
}

.home-menu-picks-sentinel {
    height: 1px;
    width: 100%;
    pointer-events: none;
}

.home-menu-empty {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
}

.home-menu-empty__text {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

.home-browse-menu--muted {
    opacity: 0.72;
}

/* Legacy alias — keep for any cached markup */
.app-home-hero {
    height: 10.5rem;
}

.app-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
    padding: 2rem 1rem;
    text-align: center;
}

/* Cart drawer */
.cart-overlay {
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(2px);
    transition: opacity 0.25s ease;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 28rem;
    height: 100%;
    background: #ffffff;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.cart-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1rem 0.875rem;
    border-bottom: 1px solid #f3f4f6;
    flex-shrink: 0;
}

.cart-drawer__header-main {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.cart-drawer__header-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    background: #f3f4f6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #111827;
    flex-shrink: 0;
}

.cart-drawer__header-icon i {
    font-size: 1.125rem;
}

.cart-drawer__title {
    font-family: "Cabinet Grotesk", sans-serif;
    font-size: 1.0625rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
    margin: 0;
}

.cart-drawer__eyebrow {
    display: none;
    margin: 0;
}

.cart-drawer__subtitle {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0.125rem 0 0;
}

.cart-drawer__close {
    width: 2.25rem;
    height: 2.25rem;
    border: 0;
    border-radius: 0.5rem;
    background: transparent;
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.cart-drawer__close:hover {
    background: #f3f4f6;
    color: #111827;
}

.cart-drawer__close i {
    font-size: 1.25rem;
}

.cart-drawer__body {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.cart-drawer__items {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 0.75rem 1rem;
}

.cart-drawer__list {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.cart-drawer__empty {
    padding: 2rem 0.5rem;
    text-align: center;
}

.cart-drawer__empty-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.5rem;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    color: #9ca3af;
}

.cart-drawer__empty-icon i {
    font-size: 1.75rem;
}

.cart-drawer__footer {
    flex-shrink: 0;
    border-top: 1px solid #f3f4f6;
    background: #f9fafb;
    padding: 1rem;
    padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0));
}

.cart-drawer__summary {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0.875rem;
}

.cart-drawer__summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.8125rem;
    color: #6b7280;
}

.cart-drawer__summary-row span:last-child {
    font-weight: 600;
    color: #111827;
}

.cart-drawer__summary-row--total {
    margin-top: 0.25rem;
    padding-top: 0.625rem;
    border-top: 1px solid #e5e7eb;
    font-size: 0.9375rem;
    color: #111827;
}

.cart-drawer__summary-row--total span:last-child {
    font-size: 1rem;
    font-weight: 700;
}

.cart-drawer__actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cart-drawer__clear-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    width: 100%;
    border: 0;
    background: transparent;
    color: #6b7280;
    font-family: "Cabinet Grotesk", sans-serif;
    font-size: 0.8125rem;
    font-weight: 500;
    padding: 0.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.cart-drawer__clear-btn:hover {
    background: #fef2f2;
    color: #dc2626;
}

.cart-item {
    overflow: hidden;
}

.cart-item__inner {
    display: flex;
    gap: 0.75rem;
    padding: 0.875rem;
}

.cart-item__media {
    width: 4.5rem;
    height: 4.5rem;
    flex-shrink: 0;
    border-radius: 0.5rem;
    overflow: hidden;
    background: #f3f4f6;
}

.cart-item__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cart-item__media--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
}

.cart-item__media--placeholder i {
    font-size: 1.25rem;
}

.cart-item__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cart-item__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
}

.cart-item__title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
    line-height: 1.3;
    margin: 0;
}

.cart-item__remove {
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 0.5rem;
    background: transparent;
    color: #9ca3af;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.cart-item__remove:hover {
    background: #fef2f2;
    color: #dc2626;
}

.cart-item__desc {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.35;
}

.cart-item__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.375rem;
}

.cart-item__price {
    font-size: 0.875rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
    white-space: nowrap;
}

/* Floating cart button */

.cart-fab {
    position: fixed;
    right: 1rem;
    bottom: calc(var(--app-bottom-nav-h) + 2rem);
    z-index: 45;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 9999px;
    background-color: #000000;
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.cart-fab:hover {
    background-color: #111827;
    transform: scale(1.05);
}

@media (min-width: 1024px) {
    .cart-fab {
        right: 1.5rem;
        bottom: 1.75rem;
        width: auto;
        min-width: 3.75rem;
        height: 3.75rem;
        padding: 0 1.15rem;
        gap: 0.5rem;
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
    }

    .cart-fab::after {
        content: "Cart";
        font-family: "Cabinet Grotesk", sans-serif;
        font-size: 0.875rem;
        font-weight: 600;
        letter-spacing: 0.01em;
    }

    .cart-fab__badge {
        top: -0.2rem;
        right: -0.2rem;
        min-width: 1.35rem;
        height: 1.35rem;
        font-size: 0.75rem;
    }

    .cart-overlay {
        background: rgba(17, 24, 39, 0.38);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
    }

    .cart-drawer {
        top: 1rem;
        right: 1rem;
        bottom: 1rem;
        height: auto;
        max-height: calc(100dvh - 2rem);
        width: min(28rem, calc(100vw - 2rem));
        max-width: 28rem;
        border-radius: 1.65rem;
        border: 1px solid rgba(255, 255, 255, 0.55);
        box-shadow:
            0 24px 48px rgba(17, 24, 39, 0.18),
            0 4px 14px rgba(17, 24, 39, 0.08);
        overflow: hidden;
    }

    .cart-drawer__header {
        padding: 1.25rem 1.25rem 1rem;
        border-bottom-color: rgba(243, 244, 246, 0.95);
    }

    .cart-drawer__header-icon {
        width: 3rem;
        height: 3rem;
        border-radius: 9999px;
        background: rgba(17, 24, 39, 0.06);
    }

    .cart-drawer__header-icon i {
        font-size: 1.3rem;
    }

    .cart-drawer__title {
        font-size: 1.35rem;
    }

    .cart-drawer__eyebrow {
        display: block;
        font-size: 0.625rem;
        font-weight: 600;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: #9ca3af;
        margin-bottom: 0.15rem;
    }

    .cart-drawer__subtitle {
        font-size: 0.8125rem;
    }

    .cart-drawer__close {
        width: 2.5rem;
        height: 2.5rem;
        border-radius: 9999px;
        background: #f3f4f6;
    }

    .cart-drawer__items {
        padding: 1rem 1.25rem;
    }

    .cart-drawer__list {
        gap: 0.875rem;
    }

    .cart-drawer__empty {
        padding: 3rem 1rem;
    }

    .cart-drawer__empty-icon {
        width: 4.25rem;
        height: 4.25rem;
        border-radius: 9999px;
        margin-bottom: 1rem;
    }

    .cart-drawer__footer {
        padding: 1.15rem 1.25rem calc(1.15rem + env(safe-area-inset-bottom, 0));
        background:
            linear-gradient(180deg, rgba(249, 250, 251, 0.92) 0%, #f3f4f6 100%);
        border-top-color: rgba(229, 231, 235, 0.9);
    }

    .cart-drawer__summary {
        gap: 0.625rem;
        margin-bottom: 1rem;
    }

    .cart-drawer__summary-row {
        font-size: 0.875rem;
    }

    .cart-drawer__summary-row--total {
        font-size: 1.0625rem;
    }

    .cart-drawer__summary-row--total span:last-child {
        font-size: 1.2rem;
    }

    .cart-drawer__actions .portal-btn {
        border-radius: 9999px;
        padding-top: 0.85rem;
        padding-bottom: 0.85rem;
        font-size: 0.975rem;
    }

    .cart-item.app-card {
        border-radius: 1.15rem;
        box-shadow: 0 2px 10px rgba(17, 24, 39, 0.05);
    }

    .cart-item__inner {
        gap: 0.875rem;
        padding: 1rem;
    }

    .cart-item__media {
        width: 5.25rem;
        height: 5.25rem;
        border-radius: 0.85rem;
    }

    .cart-item__title {
        font-size: 0.975rem;
    }

    .cart-item__desc {
        font-size: 0.8125rem;
    }

    .cart-item__price {
        font-size: 1rem;
    }
}

@media (min-width: 1440px) {
    .cart-drawer {
        width: min(30rem, calc(100vw - 2.5rem));
        max-width: 30rem;
        top: 1.25rem;
        right: 1.25rem;
        bottom: 1.25rem;
        border-radius: 1.75rem;
    }

    .cart-fab {
        right: 1.75rem;
        bottom: 2rem;
    }

    .app-header__bar {
        min-height: 4rem;
        padding: 0.5rem 0.55rem 0.5rem 0.65rem;
    }
}

.cart-fab__badge {
    position: absolute;
    top: -0.125rem;
    right: -0.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 0.25rem;
    border-radius: 9999px;
    background-color: #ffffff;
    color: #000000;
    font-size: 0.6875rem;
    font-weight: 600;
    border: 2px solid #000000;
    transform-origin: center;
}

.cart-fab__badge.hidden {
    display: none;
}

@keyframes cart-fab-bounce {
    0% { transform: scale(1); }
    30% { transform: scale(1.18); }
    55% { transform: scale(0.94); }
    75% { transform: scale(1.06); }
    100% { transform: scale(1); }
}

@keyframes cart-fab-tap {
    0% { transform: scale(1); }
    40% { transform: scale(0.88); }
    100% { transform: scale(1); }
}

@keyframes cart-badge-pop {
    0% { transform: scale(0.4); }
    55% { transform: scale(1.25); }
    100% { transform: scale(1); }
}

@keyframes cart-fly-arc {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    70% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate(var(--cart-fly-x, 0), var(--cart-fly-y, 0)) scale(0.25);
    }
}

@keyframes menu-add-success {
    0% { transform: scale(1); }
    35% { transform: scale(0.94); }
    70% { transform: scale(1.04); }
    100% { transform: scale(1); }
}

.cart-fab--bounce {
    animation: cart-fab-bounce 0.48s cubic-bezier(0.22, 1, 0.36, 1);
}

.cart-fab--tap {
    animation: cart-fab-tap 0.28s ease;
}

.cart-fab__badge--pop {
    animation: cart-badge-pop 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.cart-fly {
    position: fixed;
    z-index: 70;
    width: 1.35rem;
    height: 1.35rem;
    margin-left: -0.675rem;
    margin-top: -0.675rem;
    border-radius: 9999px;
    background: #111827;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    pointer-events: none;
    animation: cart-fly-arc 0.55s cubic-bezier(0.22, 0.8, 0.3, 1) forwards;
    will-change: transform, opacity;
}

.cart-fly--image {
    width: 2.25rem;
    height: 2.25rem;
    margin-left: -1.125rem;
    margin-top: -1.125rem;
    background-size: cover;
    background-position: center;
    border: 2px solid #fff;
}

.menu-add-btn.menu-add-btn--added {
    background-color: #067855 !important;
    animation: menu-add-success 0.45s ease;
}

.menu-add-btn.menu-add-btn--added i {
    font-size: 1rem;
}

.cart-add-toast {
    position: fixed;
    right: 1rem;
    bottom: calc(8.5rem + env(safe-area-inset-bottom, 0));
    z-index: 55;
    max-width: min(16rem, calc(100vw - 5.5rem));
    padding: 0.55rem 0.85rem;
    border-radius: 0.75rem;
    background: #111827;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 500;
    line-height: 1.3;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(8px) scale(0.96);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

@media (min-width: 1024px) {
    .cart-add-toast {
        bottom: 5.5rem;
        right: 1.5rem;
    }
}

.cart-add-toast--show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.app-floating-actions {
    position: fixed;
    right: 1rem;
    bottom: calc(4.75rem + env(safe-area-inset-bottom, 0));
    z-index: 45;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@media (min-width: 1024px) {
    .app-floating-actions {
        right: 1.5rem;
        bottom: 1.5rem;
    }
}

.app-floating-actions a,
.app-floating-actions button {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.app-floating-actions a:hover,
.app-floating-actions button:hover {
    transform: scale(1.05);
}

/* Menu food sections — app card overrides */
.menu-food-content .category-btn.active,
.menu-food-content .category-btn.text-primary-green {
    color: #000000 !important;
}

.menu-food-content .category-btn.active span:last-child,
.menu-food-content .category-btn.text-primary-green span:last-child {
    background-color: #000000 !important;
}

.menu-food-content section[id="platters"],
.menu-food-content section[id="halal-guys"],
.menu-food-content section[id="bawarchi-khana"],
.menu-food-content section[id="your-picks"] {
    background-color: transparent;
}

.menu-food-content .add-to-cart-btn.bg-primary-green {
    background-color: #000000;
}

.menu-food-content .add-to-cart-btn.bg-primary-green:hover {
    background-color: #111827;
}

.menu-bar-content .order-button {
    background-color: #000000;
}

.menu-bar-content .order-button:hover {
    background-color: #111827;
}

/* Checkout page */
.app-shell--checkout .app-main {
    max-width: none;
    padding-bottom: 0;
}

.checkout-nav {
    position: sticky;
    top: 0;
    z-index: 40;
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding-top: env(safe-area-inset-top, 0px);
}

.checkout-nav__inner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 72rem;
    margin: 0 auto;
    padding: 0.75rem 1rem;
    min-height: 3.5rem;
}

.checkout-nav__back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid #e5e7eb;
    border-radius: 9999px;
    background: #ffffff;
    color: #4b5563;
    flex-shrink: 0;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.checkout-nav__back:hover {
    background: #f9fafb;
    color: #111827;
}

.checkout-nav__title {
    min-width: 0;
}

.checkout-nav__eyebrow {
    display: none;
    margin: 0;
}

.checkout-nav__title h1 {
    font-family: "Cabinet Grotesk", sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.25;
    color: #111827;
    margin: 0;
}

.checkout-nav__title > p:last-child {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0.125rem 0 0;
}

.checkout-page {
    min-height: calc(100dvh - 3.5rem);
    background-color: #f9fafb;
    padding-top: 1rem;
    padding-bottom: calc(1rem + 4.75rem + env(safe-area-inset-bottom, 0px));
}

.checkout-page__inner {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.checkout-layout {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.checkout-layout__main {
    flex: 1;
    min-width: 0;
}

.checkout-panel {
    background: #ffffff;
    padding: 1.25rem;
    border-radius: 1rem;
    border: 1px solid rgba(229, 231, 235, 0.95);
    box-shadow: 0 2px 12px rgba(17, 24, 39, 0.06);
}

.checkout-section-title {
    font-family: "Cabinet Grotesk", sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 0.25rem;
    line-height: 1.25;
}

.checkout-section-title--sm {
    font-size: 1rem;
    margin-bottom: 0;
}

.checkout-section-sub {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0 0 1rem;
    line-height: 1.4;
}

.checkout-type-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.checkout-inset {
    background: #f9fafb;
    border-radius: 0.875rem;
    padding: 1rem;
    border: 1px solid rgba(229, 231, 235, 0.8);
}

.checkout-order-summary {
    margin-bottom: 0.5rem;
}

.checkout-summary-title {
    font-family: "Cabinet Grotesk", sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 1.25rem;
    line-height: 1.2;
}

.checkout-qty-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    background: #ffffff;
    color: #374151;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.checkout-qty-btn:hover {
    background: #f3f4f6;
    color: #111827;
}

.checkout-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 45;
    background-color: #ffffff;
    border-top: 1px solid #e5e7eb;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.06);
}

.checkout-bar__inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 72rem;
    margin: 0 auto;
    padding: 0.75rem 1rem;
}

.checkout-bar__meta {
    min-width: 0;
    flex: 1;
}

.checkout-bar__total-label {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.2;
}

.checkout-bar__total {
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    margin: 0.125rem 0 0;
    line-height: 1.25;
}

.checkout-bar__hint {
    font-size: 0.6875rem;
    color: #6b7280;
    margin: 0.25rem 0 0;
    line-height: 1.3;
}

.checkout-bar__hint:empty {
    display: none;
}

.checkout-bar__btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 9.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 9999px;
    background: #000000;
    color: #ffffff;
    font-size: 0.9375rem;
    font-weight: 600;
    border: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: background-color 0.2s ease, opacity 0.2s ease, transform 0.15s ease;
}

.checkout-bar__btn:hover:not(:disabled) {
    background: #111827;
}

.checkout-bar__btn:active:not(:disabled) {
    transform: scale(0.97);
}

.checkout-bar__btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    background: #9ca3af;
}

.checkout-bar__btn.is-loading {
    opacity: 1;
    background: #111827;
    cursor: wait;
}

.checkout-bar__btn.app-tap-pop {
    animation: app-tap-pop 0.35s ease;
}

.checkout-bar__btn.app-tap-shake {
    animation: app-tap-shake 0.35s ease;
}

@media (min-width: 768px) {
    .checkout-nav__inner {
        padding: 0.875rem 1.25rem;
        gap: 1rem;
    }

    .checkout-nav__eyebrow {
        display: block;
        font-size: 0.6875rem;
        font-weight: 600;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: #9ca3af;
        margin-bottom: 0.125rem;
    }

    .checkout-nav__title h1 {
        font-size: 1.35rem;
    }

    .checkout-nav__title > p:last-child {
        font-size: 0.8125rem;
    }

    .checkout-nav__back {
        width: 2.5rem;
        height: 2.5rem;
    }

    .checkout-page {
        padding-top: 1.25rem;
    }

    .checkout-page__inner {
        padding: 0 1.25rem;
    }

    .checkout-panel {
        padding: 1.5rem;
        border-radius: 1.35rem;
    }

    .checkout-type-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }

    .checkout-section-title {
        font-size: 1.25rem;
    }

    .checkout-summary-title {
        font-size: 1.5rem;
    }

    .checkout-inset {
        padding: 1.25rem;
        border-radius: 1rem;
    }
}

@media (min-width: 1024px) {
    .checkout-nav {
        background: transparent;
        border-bottom: none;
        padding: calc(0.75rem + env(safe-area-inset-top, 0px)) 1.25rem 0;
    }

    .checkout-nav__inner {
        max-width: min(78rem, calc(100% - 0.5rem));
        padding: 1rem 1.35rem;
        border: 1px solid rgba(229, 231, 235, 0.95);
        border-radius: 1.5rem;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        box-shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
    }

    .checkout-nav__title h1 {
        font-size: 1.6rem;
    }

    .checkout-nav__title > p:last-child {
        font-size: 0.875rem;
    }

    .checkout-page {
        padding-top: 1.5rem;
        padding-bottom: calc(1.5rem + 5.5rem + env(safe-area-inset-bottom, 0px));
        background:
            radial-gradient(ellipse at top, rgba(255, 255, 255, 0.9), transparent 55%),
            #f9fafb;
    }

    .checkout-page__inner {
        max-width: min(78rem, calc(100% - 0.5rem));
        padding: 0 1.25rem;
    }

    .checkout-layout {
        flex-direction: row;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .checkout-layout__summary {
        width: min(24rem, 34%);
        flex-shrink: 0;
        position: sticky;
        top: 6.25rem;
        align-self: flex-start;
        margin-bottom: 0;
    }

    .checkout-panel {
        padding: 1.75rem;
        border-radius: 1.5rem;
        box-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);
    }

    .checkout-summary-card {
        padding: 1.5rem 1.5rem 1.35rem;
    }

    .checkout-summary-title {
        font-size: 1.6rem;
        margin-bottom: 1.35rem;
    }

    .checkout-bar {
        left: 0;
        right: 0;
        bottom: 0;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0 1.25rem calc(0.875rem + env(safe-area-inset-bottom, 0px));
        pointer-events: none;
    }

    .checkout-bar__inner {
        max-width: min(78rem, calc(100% - 0.5rem));
        pointer-events: auto;
        padding: 0.85rem 1rem 0.85rem 1.35rem;
        border: 1px solid rgba(229, 231, 235, 0.95);
        border-radius: 9999px;
        background: rgba(255, 255, 255, 0.96);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        box-shadow: 0 12px 32px rgba(17, 24, 39, 0.12);
    }

    .checkout-bar__total {
        font-size: 1.35rem;
    }

    .checkout-bar__btn {
        min-width: 11rem;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

@media (min-width: 1440px) {
    .checkout-nav__inner,
    .checkout-page__inner,
    .checkout-bar__inner {
        max-width: 84rem;
    }

    .checkout-layout {
        gap: 1.75rem;
    }

    .checkout-layout__summary {
        width: min(26rem, 32%);
    }
}

/* Cart, checkout & tracking — Switch brand accents */

.tracking-progress-fill {
    background-color: #000000;
}

/* Auth pages */

.app-main:has(.auth-page) {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.auth-page {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: var(--app-content-max);
    margin-inline: auto;
    padding-bottom: 1.5rem;
    overflow-y: auto;
    gap: 0.75rem;
}

.auth-page-top {
    display: flex;
    align-items: center;
    min-height: 2rem;
}

.auth-page-back {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.625rem 0.375rem 0.25rem;
    margin-left: -0.25rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #374151;
    text-decoration: none;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.auth-page-back i {
    font-size: 1rem;
}

.auth-page-back:hover,
.auth-page-back:focus-visible {
    color: #111827;
    background: rgba(17, 24, 39, 0.05);
    outline: none;
}

.auth-page-header__inner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.auth-page-header__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    background: rgba(17, 24, 39, 0.06);
    color: #111827;
    flex-shrink: 0;
}

.auth-page-header__icon i {
    font-size: 1.125rem;
}

.auth-page-header__text {
    min-width: 0;
}

.auth-page-header__title {
    font-family: "Cabinet Grotesk", sans-serif;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
    margin: 0;
}

.auth-page-header__sub {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0.2rem 0 0;
    line-height: 1.4;
}

.auth-page-card {
    border-radius: 1rem;
    box-shadow: 0 2px 12px rgba(17, 24, 39, 0.07);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    padding: 1rem 1.125rem;
}

.auth-page-card--shake,
.auth-page__card--shake {
    animation: auth-card-shake 0.42s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

@keyframes auth-card-shake {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-6px); }
    40% { transform: translateX(6px); }
    60% { transform: translateX(-4px); }
    80% { transform: translateX(4px); }
}

.auth-perks {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    margin: 0 0 0.875rem;
    padding: 0;
}

.auth-perks__item {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.625rem;
    border-radius: 9999px;
    background: rgba(17, 24, 39, 0.04);
    border: 1px solid rgba(229, 231, 235, 0.9);
    font-size: 0.6875rem;
    font-weight: 600;
    color: #374151;
}

.auth-perks__item i {
    font-size: 0.875rem;
    color: #111827;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.auth-form--signup {
    gap: 0.625rem;
}

.auth-field-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.auth-field-grid--two {
    grid-template-columns: 1fr 1fr;
    gap: 0.625rem;
}

@media (max-width: 380px) {
    .auth-field-grid--two {
        grid-template-columns: 1fr;
    }
}

.auth-step-intro {
    margin: 0;
}

.auth-step-intro__eyebrow {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #9ca3af;
    margin: 0;
}

.auth-step-intro__title {
    font-family: "Cabinet Grotesk", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    margin: 0.125rem 0 0;
    line-height: 1.25;
}

.auth-step-intro__sub {
    font-size: 0.8125rem;
    color: #6b7280;
    margin: 0.125rem 0 0;
    line-height: 1.4;
}

.auth-form__remember {
    cursor: pointer;
}

.auth-form__remember span {
    font-size: 0.8125rem;
    color: #6b7280;
}

.auth-form__forgot {
    color: #111827;
    text-decoration: none;
    transition: opacity 0.15s ease;
}

.auth-form__forgot:hover {
    opacity: 0.75;
}

.auth-form-footer {
    padding-top: 0;
}

.auth-form-footer__text {
    font-size: 0.8125rem;
    color: #6b7280;
    margin: 0;
}

.auth-form-footer__link {
    color: #111827;
    font-weight: 600;
    text-decoration: none;
}

.auth-form-footer__link:hover {
    text-decoration: underline;
}

.auth-form-legal {
    font-size: 0.6875rem;
    color: #9ca3af;
    text-align: center;
    margin: 0;
    line-height: 1.45;
}

.auth-form-actions__row {
    display: flex;
    gap: 0.625rem;
}

.auth-form-actions__btn {
    flex: 1;
    padding-block: 0.75rem;
}

.auth-password-panel {
    padding: 0.625rem 0.75rem;
    border-radius: 0.625rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}

.auth-password-panel__title {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #9ca3af;
    margin: 0 0 0.5rem;
}

.auth-field__control {
    position: relative;
}

.auth-field__control--password .auth-field__input--password {
    padding-right: 2.75rem;
}

.auth-field__input {
    width: 100%;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-field__input::placeholder {
    color: #9ca3af;
    opacity: 1;
}

.auth-field__status {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%) scale(0.6);
    opacity: 0;
    color: #067855;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.auth-field__control--password .auth-field__status {
    right: 2.5rem;
}

.auth-field--valid .auth-field__status {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.auth-field--valid .auth-field__input {
    border-color: rgba(6, 120, 85, 0.45);
}

.auth-field--invalid .auth-field__input {
    border-color: #ef4444;
}

.auth-field__toggle {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: none;
    background: transparent;
    color: #6b7280;
    cursor: pointer;
}

.auth-field__toggle:hover,
.auth-field__toggle:focus-visible {
    color: #111827;
    outline: none;
}

.auth-form-alert {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem 0.875rem;
    border-radius: 0.75rem;
    font-size: 0.8125rem;
    line-height: 1.4;
    animation: auth-alert-in 0.24s ease;
}

.auth-form-alert.hidden {
    display: none;
}

.auth-form-alert--error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.auth-form-alert--success {
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    color: #047857;
}

@keyframes auth-alert-in {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-submit-btn {
    position: relative;
    overflow: hidden;
    transition: transform 0.15s ease, background-color 0.15s ease, opacity 0.15s ease;
}

.auth-submit-btn__spinner {
    display: none;
    margin-left: 0.375rem;
}

.auth-submit-btn__spinner i {
    animation: auth-spin 0.8s linear infinite;
}

.auth-submit-btn.is-loading .auth-submit-btn__spinner {
    display: inline-flex;
}

.auth-submit-btn.is-loading {
    pointer-events: none;
    opacity: 0.92;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
}

.auth-submit-btn--success {
    background: #067855 !important;
}

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

.auth-signup-progress {
    display: flex;
    align-items: flex-start;
    width: 100%;
    gap: 0.25rem;
    margin: 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #f3f4f6;
}

.auth-signup-progress__dot {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 9999px;
    background: #e5e7eb;
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6875rem;
    font-weight: 700;
    transition: background-color 0.24s ease, color 0.24s ease, transform 0.24s ease;
}

.signup-step.active .auth-signup-progress__dot {
    background: #111827;
    color: #fff;
    transform: scale(1.04);
}

.signup-step.completed .auth-signup-progress__dot {
    background: #067855;
    color: #fff;
}

.auth-signup-progress__label {
    font-size: 0.625rem;
    color: #6b7280;
    margin-top: 0.25rem;
    text-align: center;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.auth-signup-progress__bar {
    flex: 1;
    height: 0.125rem;
    background: #e5e7eb;
    margin-top: 0.875rem;
    min-width: 0.5rem;
    overflow: hidden;
    border-radius: 9999px;
}

.auth-signup-progress__bar .signup-progress-fill {
    height: 100%;
    width: 0;
    background: #111827;
    transition: width 0.28s ease;
}

.auth-password-checks {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.25rem;
}

.auth-password-checks li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #6b7280;
    transition: color 0.2s ease;
}

.auth-password-checks li i {
    font-size: 0.875rem;
    color: #d1d5db;
    transition: color 0.2s ease;
}

.auth-password-checks li.is-met {
    color: #047857;
}

.auth-password-checks li.is-met i {
    color: #067855;
}

.auth-form-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.125rem;
}

.signup-steps-panel {
    margin: 0;
}

.signup-step-content--enter {
    animation: auth-step-in 0.28s ease;
}

.signup-step-content--exit {
    animation: auth-step-out 0.18s ease forwards;
}

@keyframes auth-step-in {
    from { opacity: 0; transform: translateX(12px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes auth-step-out {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(-12px); }
}

.auth-form__checkbox {
    width: 1rem;
    height: 1rem;
    border-radius: 0.25rem;
    accent-color: #111827;
}

/* Branch location map */
.branch-map {
    height: 220px;
    z-index: 0;
    background-color: #e5e7eb;
}

/* Bookings */
.bookings-page .booking-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.1875rem;
    padding: 0.1875rem;
}

.booking-tab {
    border: 0;
    background: transparent;
    border-radius: 9999px;
    padding: 0.625rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #6b7280;
    font-family: "Cabinet Grotesk", sans-serif;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.booking-tab--active {
    background: #e5e7eb;
    color: #111827;
    box-shadow: none;
}

.booking-toolbar {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .booking-toolbar {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.booking-filters {
    display: flex;
    flex: 1;
    gap: 0.1875rem;
    padding: 0.1875rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.booking-list-header {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .booking-list-header {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 1rem;
    }
}

.booking-list-header .app-section-header {
    margin-bottom: 0;
}

.booking-list-header__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.booking-mine-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 1px solid rgba(229, 231, 235, 0.9);
    background: rgba(255, 255, 255, 0.72);
    color: #374151;
    border-radius: 9999px;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.booking-mine-toggle__icon {
    display: block;
    flex-shrink: 0;
}

.booking-mine-toggle:hover {
    background: #f9fafb;
}

.booking-mine-toggle--active,
.booking-mine-toggle[aria-pressed="true"] {
    background: #111827;
    border-color: #111827;
    color: #ffffff;
}

.booking-slot-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.375rem;
}

@media (min-width: 640px) {
    .booking-slot-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.booking-slot-btn {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.0625rem;
    width: 100%;
    padding: 0.4375rem 0.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    background: #ffffff;
    color: #111827;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.booking-slot-btn__time {
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
}

.booking-slot-btn__meta {
    font-size: 0.625rem;
    color: #6b7280;
    line-height: 1.25;
}

.booking-slot-btn:hover:not(:disabled) {
    border-color: #111827;
}

.booking-slot-btn--selected {
    background: #111827;
    border-color: #111827;
    color: #ffffff;
}

.booking-slot-btn--selected .booking-slot-btn__meta {
    color: #d1d5db;
}

.booking-slot-btn--disabled,
.booking-slot-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    background: #f9fafb;
}

.booking-branch-filter {
    display: block;
    flex-shrink: 0;
}

.booking-branch-filter select {
    width: 100%;
    min-width: 9.5rem;
    border: 1px solid rgba(229, 231, 235, 0.9);
    background: rgba(255, 255, 255, 0.72);
    color: #111827;
    font-family: "Cabinet Grotesk", sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 9999px;
    padding: 0.625rem 0.75rem;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2rem;
}

.booking-branch-filter select:focus {
    outline: 2px solid #111827;
    outline-offset: 1px;
}

.booking-filter {
    flex: 1;
    min-width: max-content;
    border: 0;
    background: transparent;
    color: #6b7280;
    font-size: 0.8125rem;
    font-weight: 600;
    font-family: "Cabinet Grotesk", sans-serif;
    padding: 0.5rem 0.75rem;
    border-radius: 9999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.booking-filter--active {
    background: #e5e7eb;
    color: #111827;
    box-shadow: none;
}

.booking-filter__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.25rem;
    height: 1.25rem;
    padding: 0 0.35rem;
    border-radius: 9999px;
    background: #e5e7eb;
    color: #374151;
    font-size: 0.6875rem;
    font-weight: 700;
}

.booking-filter--active .booking-filter__count {
    background: #111827;
    color: #ffffff;
}

.booking-reserve-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    min-height: 2.75rem;
    padding: 0.625rem 1rem;
    border-radius: 9999px;
    border: 1px solid transparent;
    background-color: #111827;
    color: #ffffff;
    font-family: "Cabinet Grotesk", sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.25rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
    white-space: nowrap;
}

.booking-reserve-trigger:hover:not(:disabled) {
    background-color: #000000;
}

.booking-reserve-trigger--active {
    background-color: #374151;
}

@media (min-width: 640px) {
    .booking-reserve-trigger {
        width: auto;
        flex-shrink: 0;
        min-width: 9.5rem;
    }
}

.booking-reserve-trigger:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.booking-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border: 1px solid #e5e7eb;
    border-radius: 9999px;
    background: #ffffff;
    color: #4b5563;
    flex-shrink: 0;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.booking-icon-btn i {
    font-size: 1.125rem;
}

.booking-icon-btn:hover {
    background: #f9fafb;
    color: #111827;
}

.booking-status,
.booking-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.6875rem;
    font-weight: 600;
    background: #f3f4f6;
    color: #374151;
    white-space: nowrap;
}

.booking-status--matched,
.booking-badge--matched {
    background: #111827;
    color: #ffffff;
}

.booking-status--cancelled,
.booking-badge--cancelled {
    background: #fef2f2;
    color: #b91c1c;
}

.booking-status--open,
.booking-badge--open {
    background: #f3f4f6;
    color: #374151;
}

.bookings-page-header {
    padding: 0.75rem 0.875rem;
}

.bookings-page-header__inner {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    min-width: 0;
}

.bookings-page-header__icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.875rem;
    height: 1.875rem;
    border-radius: 9999px;
    background: #f3f4f6;
    color: #111827;
}

.bookings-page-header__icon i {
    font-size: 1rem;
}

.bookings-page-header__text {
    min-width: 0;
}

.bookings-page-header__eyebrow {
    display: none;
    margin: 0;
}

.bookings-page-header__text h2 {
    font-family: "Cabinet Grotesk", sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.25;
}

.bookings-page-header__text p {
    font-size: 0.6875rem;
    color: #6b7280;
    margin-top: 0.125rem;
    line-height: 1.35;
}

.booking-card-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@media (min-width: 768px) {
    .bookings-page {
        padding-top: 0.75rem;
        padding-bottom: 1rem;
    }

    .bookings-page.space-y-3 > * + * {
        margin-top: 1rem;
    }

    .bookings-page-header {
        padding: 1.125rem 1.25rem;
        border-radius: 1.5rem;
    }

    .bookings-page-header__inner {
        gap: 1rem;
    }

    .bookings-page-header__icon {
        width: 3rem;
        height: 3rem;
    }

    .bookings-page-header__icon i {
        font-size: 1.35rem;
    }

    .bookings-page-header__eyebrow {
        display: block;
        font-size: 0.6875rem;
        font-weight: 600;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: #9ca3af;
        margin-bottom: 0.125rem;
    }

    .bookings-page-header__text h2 {
        font-size: 1.35rem;
        line-height: 1.15;
    }

    .bookings-page-header__text p {
        font-size: 0.8125rem;
        margin-top: 0.25rem;
    }

    .bookings-page .booking-tabs {
        max-width: 28rem;
        padding: 0.25rem;
    }

    .booking-tab {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }

    .booking-card-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.875rem;
    }

    .booking-card-list > .app-card,
    .booking-card-list > .booking-card,
    .booking-card-list > .history-card {
        height: 100%;
    }

    .booking-card-list > [role="status"],
    .booking-card-list > .app-guest-card,
    .booking-card-list > .chat-empty-state,
    .booking-card-list > .text-center,
    .booking-card-list > .app-card.text-center {
        grid-column: 1 / -1;
    }

    .app-guest-card {
        max-width: 32rem;
        margin-left: auto;
        margin-right: auto;
        padding: 2rem 1.75rem;
        border-radius: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .bookings-page {
        padding-top: 0.875rem;
        padding-bottom: 1.5rem;
    }

    .bookings-page-header {
        padding: 1.5rem 1.75rem;
        border-radius: 1.75rem;
        box-shadow: 0 10px 28px rgba(17, 24, 39, 0.08);
    }

    .bookings-page-header__icon {
        width: 3.5rem;
        height: 3.5rem;
    }

    .bookings-page-header__icon i {
        font-size: 1.55rem;
    }

    .bookings-page-header__text h2 {
        font-size: 1.75rem;
    }

    .bookings-page-header__text p {
        font-size: 0.9375rem;
    }

    .booking-card-list {
        gap: 1rem;
    }

    .booking-toolbar {
        gap: 1rem;
    }

    .booking-reserve-trigger {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
        height: 2.75rem;
    }

    .reserve-card {
        padding: 1.5rem !important;
        border-radius: 1.35rem;
    }

    .booking-slot-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 0.5rem;
    }
}

.booking-card__actions {
    margin-top: 0.75rem;
}

.booking-card__header-actions {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    flex-shrink: 0;
}

.booking-info-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    padding: 0;
    border: 1px solid #e5e7eb;
    border-radius: 9999px;
    background: #ffffff;
    color: #6b7280;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.booking-info-btn:hover,
.booking-info-btn:focus-visible {
    color: #111827;
    background: #f9fafb;
    border-color: #d1d5db;
}

.booking-info-btn i {
    font-size: 1rem;
}

.booking-card__actions .settings-field__input {
    margin-bottom: 0.5rem;
}

.booking-guest-fields {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 0.25rem;
    border-top: 1px solid rgba(229, 231, 235, 0.8);
}

.reserve-card .app-section-header {
    margin-bottom: 0;
}

.booking-cancel-prompt {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 9999px;
    border: 1px solid #fde68a;
    background: #fffbeb;
}

.booking-cnic-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    padding: 0.75rem 0.875rem;
    border-radius: 0.75rem;
    border: 1px solid #fde68a;
    background: #fffbeb;
    color: #78350f;
}

.booking-cnic-notice.hidden {
    display: none;
}

.booking-cnic-notice i {
    font-size: 1.125rem;
    color: #b45309;
    flex-shrink: 0;
    margin-top: 0.0625rem;
}

.booking-cnic-notice p {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: #92400e;
}

.booking-card__cnic-notice {
    margin-top: 0.625rem;
}

/* Account nested subpages — back header */
.account-subpage-header {
    margin-bottom: 0.25rem;
}

.account-subpage-header__bar {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    width: 100%;
    min-height: 2.5rem;
}

.account-subpage-header__back {
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #374151;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.account-subpage-header__back i {
    font-size: 1.125rem;
}

.account-subpage-header__back:hover,
.account-subpage-header__back:focus-visible {
    background: #f3f4f6;
    border-color: #d1d5db;
    color: #111827;
}

.account-subpage-header__text h2 {
    font-family: "Cabinet Grotesk", sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
    margin: 0;
}

.account-subpage-header__text p {
    font-size: 0.8125rem;
    color: #6b7280;
    line-height: 1.35;
    margin: 0.125rem 0 0;
}

/* Dedicated chats page — lock shell so only inbox/messages scroll */
.app-shell--chat {
    height: 100dvh;
    max-height: 100dvh;
    overflow: hidden;
}

.app-shell--chat .app-header {
    flex-shrink: 0;
}

.app-shell--chat .app-main {
    max-width: none;
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

.app-shell--chat .cart-fab {
    display: none;
}

.app-shell--thread .bottom-nav {
    display: none !important;
}

.app-shell--thread .app-header {
    display: none;
}

.app-shell--thread .app-main {
    padding-bottom: 0;
}

.chat-app {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
    max-width: 48rem;
    width: 100%;
    margin: 0 auto;
    background: #f9fafb;
    overflow: hidden;
}

.chat-inbox {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
    padding-bottom: calc(var(--app-bottom-nav-h) + 0.75rem);
}

.chat-inbox__top {
    flex-shrink: 0;
}

.chat-page-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0.875rem;
}

.chat-page-header__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    background: rgba(17, 24, 39, 0.06);
    color: #111827;
    flex-shrink: 0;
}

.chat-page-header__icon i {
    font-size: 1.125rem;
}

.chat-page-header__eyebrow {
    display: none;
    margin: 0;
}

.chat-page-header__title {
    margin: 0;
    font-family: "Cabinet Grotesk", sans-serif;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.2;
}

.chat-page-header__sub {
    margin: 0.125rem 0 0;
    font-size: 0.75rem;
    color: #6b7280;
    line-height: 1.3;
}

.chat-pane-empty {
    display: none;
}

.chat-inbox .app-section-header,
.chat-inbox #chatGate,
.chat-inbox__top #chatGate {
    flex-shrink: 0;
}

.chat-inbox__list {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

/* Inbox conversation cards */
.chat-card {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    width: 100%;
    padding: 0.875rem 1rem;
    border: 0;
    background: #ffffff;
    text-align: left;
    cursor: pointer;
    color: inherit;
    transition: background-color 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.chat-card:hover,
.chat-card:focus-visible {
    background-color: #f9fafb;
}

.chat-card:active {
    background-color: #f3f4f6;
}

.chat-card--active {
    background-color: #f3f4f6;
    box-shadow: inset 0 0 0 1px rgba(17, 24, 39, 0.12);
}

.chat-card__avatar,
.chat-inbox__avatar {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 9999px;
    background: #f3f4f6;
    color: #4b5563;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.chat-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
    min-width: 0;
}

.chat-card__top,
.chat-card__middle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    min-width: 0;
}

.chat-card__name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
    line-height: 1.25;
    margin: 0;
}

.chat-card__time {
    font-size: 0.6875rem;
    color: #9ca3af;
    white-space: nowrap;
}

.chat-card__preview {
    flex: 1;
    min-width: 0;
    font-size: 0.75rem;
    color: #6b7280;
    line-height: 1.35;
    margin: 0;
}

.chat-card__preview--empty {
    color: #9ca3af;
    font-style: italic;
}

.chat-card__meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0;
}

.chat-card__branch {
    font-size: 0.6875rem;
    color: #9ca3af;
    min-width: 0;
}

.chat-empty-state__icon {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    background: #f3f4f6;
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
}

.chat-empty-state__icon i {
    font-size: 1.5rem;
}

.chat-empty-state__title {
    font-family: "Cabinet Grotesk", sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 0.375rem;
}

.chat-empty-state__text {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.45;
    margin: 0;
}

.chat-inbox__avatar img,
.chat-card__avatar img,
.chat-avatar img,
.chat-thread__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.chat-thread__avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    background: #f3f4f6;
    color: #4b5563;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.chat-thread {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: 100%;
    overflow: hidden;
    background: #f9fafb;
    padding-bottom: env(safe-area-inset-bottom, 0);
}

.chat-thread__header {
    flex-shrink: 0;
    z-index: 2;
    padding: 0.375rem 0.75rem;
    padding-top: calc(0.375rem + env(safe-area-inset-top, 0px));
    background: transparent;
}

.chat-thread__header-bar {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    max-width: var(--app-content-max);
    margin: 0 auto;
    width: 100%;
    min-height: 2.5rem;
    padding: 0.1875rem 0.375rem 0.1875rem 0.1875rem;
    border: 1px solid rgba(229, 231, 235, 0.95);
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 2px 12px rgba(17, 24, 39, 0.07);
}

.chat-thread__back {
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 9999px;
    background: #f3f4f6;
    color: #374151;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.chat-thread__back i {
    font-size: 1.125rem;
}

.chat-thread__back:hover,
.chat-thread__back:focus-visible {
    background: #e5e7eb;
    color: #111827;
}

.chat-thread__peer-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
    line-height: 1.2;
    margin: 0;
}

.chat-thread__peer-meta {
    font-size: 0.6875rem;
    color: #6b7280;
    line-height: 1.25;
    margin: 0.125rem 0 0;
}

.chat-thread__messages {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.chat-empty {
    margin: auto;
    text-align: center;
    font-size: 0.875rem;
    color: #6b7280;
    padding: 2rem 1rem;
}

.chat-load-older {
    margin: 0 0 0.5rem;
    text-align: center;
    font-size: 0.75rem;
    color: #9ca3af;
    padding: 0.5rem;
}

.chat-bubble {
    max-width: 82%;
    align-self: flex-start;
    padding: 0.625rem 0.875rem;
    border-radius: 1rem;
    border-bottom-left-radius: 0.375rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    color: #111827;
    font-size: 0.875rem;
    line-height: 1.45;
    word-break: break-word;
    box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04);
}

.chat-bubble--mine {
    align-self: flex-end;
    background: #111827;
    border-color: #111827;
    color: #ffffff;
    border-bottom-left-radius: 1rem;
    border-bottom-right-radius: 0.375rem;
    box-shadow: none;
}

.chat-bubble__meta {
    display: block;
    font-size: 0.6875rem;
    opacity: 0.65;
    margin-bottom: 0.1875rem;
}

.chat-bubble__body {
    display: block;
}

.chat-thread__composer {
    flex-shrink: 0;
    padding: 0.375rem 0.75rem 0.625rem;
    background: transparent;
}

.chat-composer__bar {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    max-width: var(--app-content-max);
    margin: 0 auto;
    width: 100%;
    padding: 0.1875rem 0.1875rem 0.1875rem 0.625rem;
    border: 1px solid rgba(229, 231, 235, 0.95);
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 2px 12px rgba(17, 24, 39, 0.07);
}

.chat-composer__input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    font-family: "Cabinet Grotesk", sans-serif;
    color: #111827;
}

.chat-composer__input:focus {
    outline: none;
}

.chat-composer__input::placeholder {
    color: #9ca3af;
}

.chat-composer__send {
    width: 2.25rem;
    height: 2.25rem;
    border: 0;
    border-radius: 9999px;
    padding: 0;
    flex-shrink: 0;
    background: #111827;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.chat-composer__send i {
    font-size: 1.0625rem;
}

.chat-composer__send:hover:not(:disabled) {
    background: #374151;
}

.chat-composer__send:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.chat-thread__hint {
    padding: 0 0.75rem 0.625rem;
    font-size: 0.75rem;
    color: #6b7280;
    text-align: center;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .app-shell--chat:not(.app-shell--thread) .bottom-nav {
        display: block;
    }

    .chat-page-header {
        padding: 1rem 1.125rem;
        border-radius: 1.5rem;
        gap: 0.875rem;
    }

    .chat-page-header__icon {
        width: 2.75rem;
        height: 2.75rem;
    }

    .chat-page-header__icon i {
        font-size: 1.3rem;
    }

    .chat-page-header__eyebrow {
        display: block;
        font-size: 0.6875rem;
        font-weight: 600;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: #9ca3af;
        margin-bottom: 0.125rem;
    }

    .chat-page-header__title {
        font-size: 1.25rem;
    }

    .chat-page-header__sub {
        font-size: 0.8125rem;
    }

    .chat-card {
        padding: 1rem 1.125rem;
        border-radius: 1.15rem;
    }

    .chat-card__name {
        font-size: 0.9375rem;
    }

    .chat-card__preview {
        font-size: 0.8125rem;
    }
}

@media (min-width: 1024px) {
    .app-shell--chat:not(.app-shell--thread) .bottom-nav,
    .app-shell--chat.app-shell--thread-split .bottom-nav {
        display: flex;
    }

    .app-shell--chat.app-shell--thread-split .app-header {
        display: block;
    }

    .app-shell--chat .app-main {
        max-width: min(var(--app-content-max), calc(100% - (2 * var(--app-rail-pad))));
        margin-left: auto;
        margin-right: auto;
        padding-top: 0.5rem;
        padding-bottom: 1rem;
    }

    .chat-app {
        display: grid;
        grid-template-columns: minmax(17.5rem, 23rem) minmax(0, 1fr);
        grid-template-rows: minmax(0, 1fr);
        gap: 0;
        max-width: none;
        height: calc(100dvh - var(--app-header-h) - 1.5rem);
        border: 1px solid rgba(229, 231, 235, 0.95);
        border-radius: 1.5rem;
        background: #ffffff;
        box-shadow: 0 12px 32px rgba(17, 24, 39, 0.08);
        overflow: hidden;
    }

    .chat-inbox {
        grid-column: 1;
        grid-row: 1;
        border-right: 1px solid rgba(229, 231, 235, 0.95);
        background: #f9fafb;
        padding-bottom: 0;
        min-height: 0;
    }

    .chat-inbox__top {
        padding-top: 1rem;
    }

    .chat-inbox__list {
        padding-bottom: 1rem;
    }

    .chat-pane-empty {
        grid-column: 2;
        grid-row: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        min-height: 0;
        padding: 2rem;
        background: #ffffff;
        text-align: center;
    }

    .chat-app.is-thread-open .chat-pane-empty {
        display: none;
    }

    .chat-pane-empty__icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 3.5rem;
        height: 3.5rem;
        margin-bottom: 0.5rem;
        border-radius: 9999px;
        background: rgba(17, 24, 39, 0.06);
        color: #6b7280;
    }

    .chat-pane-empty__icon i {
        font-size: 1.75rem;
    }

    .chat-pane-empty__title {
        margin: 0;
        font-family: "Cabinet Grotesk", sans-serif;
        font-size: 1.25rem;
        font-weight: 700;
        color: #111827;
    }

    .chat-pane-empty__sub {
        margin: 0;
        max-width: 18rem;
        font-size: 0.875rem;
        color: #6b7280;
        line-height: 1.4;
    }

    .chat-thread {
        grid-column: 2;
        grid-row: 1;
        min-height: 0;
        background: #ffffff;
    }

    .chat-thread.hidden {
        display: none !important;
    }

    .chat-card--active {
        background: #ffffff;
        box-shadow: 0 4px 14px rgba(17, 24, 39, 0.08);
    }

    .chat-thread__header-bar {
        border-radius: 0;
        border-left: 0;
        border-right: 0;
        border-top: 0;
    }

    .chat-thread__back {
        /* Keep back control — clears selection on desktop */
    }
}


.header-chat-btn,
.app-header__chat {
    position: relative;
}

.header-chat-badge {
    position: absolute;
    top: -0.2rem;
    right: -0.2rem;
    min-width: 1.125rem;
    height: 1.125rem;
    padding: 0 0.3rem;
    border-radius: 9999px;
    background: #a30418;
    color: #ffffff;
    font-size: 0.625rem;
    font-weight: 700;
    line-height: 1.125rem;
    text-align: center;
    pointer-events: none;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    box-shadow: 0 1px 2px rgba(17, 24, 39, 0.12);
}

.header-chat-badge:not(.hidden) {
    display: inline-flex;
}

.chat-inbox__unread {
    flex-shrink: 0;
    min-width: 1.15rem;
    height: 1.15rem;
    padding: 0 0.35rem;
    border-radius: 9999px;
    background: #111827;
    color: #ffffff;
    font-size: 0.625rem;
    font-weight: 700;
    line-height: 1.15rem;
    text-align: center;
}

.chat-toast-host {
    position: fixed;
    top: calc(var(--app-header-h) + 0.5rem);
    left: 0;
    right: 0;
    z-index: 120;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 0 0.75rem;
    pointer-events: none;
}

.chat-toast {
    pointer-events: auto;
    width: 100%;
    max-width: 24rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0.875rem;
    border-radius: 0.875rem;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    text-decoration: none;
    color: inherit;
    opacity: 0;
    transform: translateY(-0.5rem);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.chat-toast--show {
    opacity: 1;
    transform: translateY(0);
}

.chat-toast__icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    background: #f3f4f6;
    color: #111827;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chat-toast__title {
    font-size: 0.8125rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.chat-toast__body {
    font-size: 0.75rem;
    color: #4b5563;
    margin: 0.125rem 0 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chat-bubble--system {
    align-self: center;
    max-width: 92%;
    background: #f3f4f6;
    border-color: #e5e7eb;
    color: #4b5563;
    text-align: center;
    font-size: 0.75rem;
    border-radius: 0.75rem;
}

.chat-match-actions {
    margin: 0 0.75rem 0.5rem;
    padding: 0.875rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid #fde68a;
    background: #fffbeb;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    flex-shrink: 0;
}

.chat-match-actions__text {
    margin: 0;
    font-size: 0.8125rem;
    color: #78350f;
    line-height: 1.4;
}

/* Shadcn-style alert / confirm dialog */
body.ui-dialog-open {
    overflow: hidden;
}

.ui-dialog {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.ui-dialog__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
}

.ui-dialog__panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 24rem;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
    padding: 1.25rem;
    opacity: 0;
    transform: translateY(0.35rem) scale(0.98);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.ui-dialog__panel--show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.ui-dialog__body {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.ui-dialog__title {
    margin: 0;
    font-family: "Cabinet Grotesk", sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.3;
}

.ui-dialog__desc {
    margin: 0;
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.45;
    white-space: pre-line;
}

.ui-dialog__footer {
    display: flex;
    flex-direction: column-reverse;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

@media (min-width: 640px) {
    .ui-dialog__footer {
        flex-direction: row;
        justify-content: flex-end;
    }
}

.ui-dialog__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-family: "Cabinet Grotesk", sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.ui-dialog__btn:focus-visible {
    outline: 2px solid #111827;
    outline-offset: 2px;
}

.ui-dialog__btn--primary {
    background: #111827;
    color: #ffffff;
}

.ui-dialog__btn--primary:hover {
    background: #1f2937;
}

.ui-dialog__btn--destructive {
    background: #a30418;
    color: #ffffff;
}

.ui-dialog__btn--destructive:hover {
    background: #8a0314;
}

.ui-dialog__btn--ghost {
    background: #ffffff;
    color: #111827;
    border-color: #e5e7eb;
}

.ui-dialog__btn--ghost:hover {
    background: #f9fafb;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* —— Loading skeletons & motion —— */
@keyframes skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@keyframes app-fade-up {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes app-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes app-scale-in {
    from {
        opacity: 0;
        transform: scale(0.96);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes app-pulse-soft {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.55; }
}

.app-page-enter {
    /* Opacity only — transform on .app-main breaks position:fixed descendants (checkout bar). */
    animation: app-fade-in 0.3s ease-out both;
}

.app-reveal {
    animation: app-fade-up 0.32s ease-out both;
}

.app-reveal-scale {
    animation: app-scale-in 0.28s ease-out both;
}

.skeleton {
    display: block;
    background: linear-gradient(
        90deg,
        #e5e7eb 0%,
        #f3f4f6 40%,
        #e5e7eb 80%
    );
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.35s ease-in-out infinite;
    border-radius: 0.375rem;
}

.skeleton--sm {
    height: 0.625rem;
}

.skeleton--line {
    height: 0.875rem;
    width: 100%;
}

.skeleton--w-1\/4 { width: 25%; }
.skeleton--w-1\/3 { width: 33%; }
.skeleton--w-1\/2 { width: 50%; }
.skeleton--w-2\/3 { width: 66%; }
.skeleton--w-3\/4 { width: 75%; }

.skeleton--avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
}

.skeleton--avatar-lg {
    width: 5rem;
    height: 5rem;
    border-radius: 9999px;
}

.skeleton--avatar-xl {
    width: 6rem;
    height: 6rem;
    border-radius: 9999px;
}

.skeleton--icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
}

.skeleton--input {
    height: 2.5rem;
    width: 100%;
    border-radius: 0.5rem;
}

.skeleton--btn {
    height: 2.25rem;
    width: 5.5rem;
    border-radius: 0.5rem;
}

.skeleton--btn-wide {
    width: 7.5rem;
}

.skeleton--badge {
    height: 1.5rem;
    width: 4.5rem;
    border-radius: 9999px;
}

.skeleton--media {
    height: 12rem;
    width: 100%;
    border-radius: 0;
}

.skeleton--slot {
    height: 2.125rem;
    border-radius: 0.5rem;
}

.app-spinner {
    width: 1.5rem;
    height: 1.5rem;
    border: 2px solid #e5e7eb;
    border-top-color: #111827;
    border-radius: 9999px;
    animation: spin 0.7s linear infinite;
}

.app-spinner--lg {
    width: 2.75rem;
    height: 2.75rem;
    border-width: 3px;
}

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

.app-loading-overlay {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.45);
    animation: app-fade-in 0.2s ease-out;
}

.app-loading-overlay__card {
    background: #ffffff;
    border-radius: 0.75rem;
    padding: 1.75rem 2rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    animation: app-scale-in 0.25s ease-out;
    min-width: 12rem;
}

.app-loading-overlay__card p {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: #4b5563;
}

.is-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.85;
}

.btn-loading-label[hidden] {
    display: none !important;
}

@media (prefers-reduced-motion: reduce) {
    .skeleton,
    .app-page-enter,
    .app-reveal,
    .app-reveal-scale,
    .app-spinner,
    .app-loading-overlay,
    .app-loading-overlay__card,
    .order-success-icon,
    .cart-fab--bounce,
    .cart-fab--tap,
    .cart-fab__badge--pop,
    .cart-fly,
    .menu-add-btn--added,
    .cart-add-toast,
    .bottom-nav__link--tap,
    .bottom-nav__icon--bounce,
    .app-tap-pop,
    .app-tap-shake {
        animation: none !important;
        transition: none !important;
    }

    .skeleton {
        background: #e5e7eb;
    }

    .btn-press:active,
    .portal-btn:active:not(:disabled),
    .bottom-nav__link:active,
    .header-location__btn:active,
    .app-header__location:active,
    .app-header__chat:active,
    .home-quick__item:active,
    .home-location-prompt:active,
    .chat-card:active,
    .account-menu__item:active,
    .account-profile-card__edit:active,
    .chat-thread__back:active,
    .chat-composer__send:active,
    .cart-fab:active,
    .menu-tab-btn:active,
    .order-bucket-tab:active {
        transform: none;
    }
}

/* Mobile tap feedback */
.btn-press,
.portal-btn,
.bottom-nav__link,
.header-location__btn,
.app-header__location,
.app-header__chat,
.home-quick__item,
.home-location-prompt,
.chat-card,
.account-menu__item,
.account-profile-card__edit,
.account-subpage-header__back,
.chat-thread__back,
.chat-composer__send,
.cart-fab,
.menu-tab-btn,
.order-bucket-tab,
.favorite-btn,
.add-to-cart-btn {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    transition: transform 0.14s ease, opacity 0.14s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    user-select: none;
}

.btn-press:active,
.portal-btn:active:not(:disabled),
.bottom-nav__link:active,
.header-location__btn:active,
.app-header__location:active,
.app-header__chat:active,
.home-quick__item:active,
.home-location-prompt:active,
.chat-card:active,
.account-menu__item:active,
.account-profile-card__edit:active,
.account-subpage-header__back:active,
.chat-thread__back:active,
.chat-composer__send:active,
.cart-fab:active,
.menu-tab-btn:active,
.order-bucket-tab:active,
.favorite-btn:active,
.add-to-cart-btn:active {
    transform: scale(0.97);
    opacity: 0.92;
}

/* Favorited: solid red heart only — never paint the outer button */
.favorite-btn.favorited {
    background-color: transparent !important;
    background: none !important;
    color: inherit;
}

.favorite-btn.favorited i,
.favorite-btn.favorited .ph-heart {
    color: #ef4444 !important;
}

.btn-press--flash {
    animation: btn-flash 0.22s ease;
}

@keyframes btn-flash {
    0% { transform: scale(1); }
    40% { transform: scale(0.96); }
    100% { transform: scale(1); }
}

@keyframes order-success-pop {
    0% {
        opacity: 0;
        transform: scale(0.55);
    }
    60% {
        opacity: 1;
        transform: scale(1.08);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.order-success-icon {
    width: 5rem;
    height: 5rem;
    border-radius: 9999px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: order-success-pop 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.order-confirm-toast {
    position: fixed;
    left: 50%;
    bottom: calc(1.5rem + env(safe-area-inset-bottom, 0));
    transform: translateX(-50%) translateY(120%);
    z-index: 80;
    max-width: calc(100vw - 2rem);
    padding: 0.75rem 1.1rem;
    border-radius: 9999px;
    background: #111827;
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 500;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: transform 0.25s ease, opacity 0.25s ease;
    opacity: 0;
    pointer-events: none;
}

.order-confirm-toast--show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

