/* Customer-facing mobile-first ordering UI. Loaded after shared styles. */

.customer-public {
    --customer-ink: #18231d;
    --customer-muted: #647067;
    --customer-green: #1b4332;
    --customer-green-2: #2d6a4f;
    --customer-mint: #dff4e8;
    --customer-cream: #fffaf1;
    --customer-coral: #e76f51;
    --customer-gold: #f4a261;
    --customer-blue: #eaf3ff;
    --customer-line: rgba(27, 67, 50, 0.12);
    --customer-shadow: 0 12px 34px rgba(27, 67, 50, 0.08);
    --customer-shadow-strong: 0 22px 70px rgba(27, 67, 50, 0.14);
    --customer-nav-height: 64px;
    min-height: 100vh;
    background: linear-gradient(180deg, #fffdf8 0%, #f0f8f3 52%, #fff8f1 100%);
    color: var(--customer-ink);
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
}

.customer-public h1,
.customer-public h2,
.customer-public h3,
.customer-public h4,
.customer-public h5,
.customer-public p,
.customer-public a,
.customer-public button,
.customer-public .btn,
.customer-public .badge {
    letter-spacing: 0 !important;
}

.customer-public p {
    color: var(--customer-muted);
}

.customer-main {
    min-height: calc(100vh - var(--customer-nav-height));
}

.customer-shell {
    width: min(100%, 1180px);
    margin: 0 auto;
    padding: 0.85rem 0.875rem 2rem;
}

.customer-topbar {
    position: sticky;
    top: 0;
    z-index: 1040;
    background: rgba(255, 253, 248, 0.9);
    border-bottom: 1px solid rgba(27, 67, 50, 0.1);
    box-shadow: 0 12px 34px rgba(27, 67, 50, 0.10);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.customer-nav-inner {
    width: min(100%, 1180px);
    min-height: var(--customer-nav-height);
    margin: 0 auto;
    padding: 0 0.875rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.customer-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
    color: var(--customer-green);
    font-size: 1.08rem;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.customer-brand:hover {
    color: var(--customer-green);
}

.customer-brand-mark {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 12px;
    background: var(--customer-mint);
    color: var(--customer-green);
}

.customer-desktop-nav {
    display: none;
}

.customer-menu-button,
.customer-drawer-close {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border: 1px solid var(--customer-line);
    border-radius: 14px;
    background: #ffffff;
    color: var(--customer-green);
    font-size: 1.35rem;
    box-shadow: 0 8px 20px rgba(27, 67, 50, 0.08);
}

.customer-drawer-close {
    font-size: 1rem;
}

.customer-mobile-drawer {
    width: min(88vw, 360px) !important;
    border-left: 1px solid var(--customer-line);
    background: linear-gradient(180deg, #fffdf8 0%, #eff8f3 100%);
}

.customer-mobile-drawer .offcanvas-header {
    min-height: 72px;
    border-bottom: 1px solid var(--customer-line);
}

.customer-drawer-nav {
    display: grid;
    gap: 0.65rem;
}

.customer-drawer-link {
    min-height: 52px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem 0.9rem;
    border: 1px solid transparent;
    border-radius: 16px;
    color: var(--customer-ink);
    font-weight: 800;
    text-decoration: none;
}

.customer-drawer-link i {
    color: var(--customer-green);
    font-size: 1.1rem;
}

.customer-drawer-link.is-active,
.customer-drawer-link:hover {
    border-color: rgba(27, 67, 50, 0.14);
    background: rgba(223, 244, 232, 0.82);
    color: var(--customer-green);
}

.customer-hero {
    display: grid;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid rgba(27, 67, 50, 0.1);
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 250, 241, 0.78)),
        linear-gradient(90deg, rgba(223, 244, 232, 0.8), rgba(234, 243, 255, 0.62));
    box-shadow: var(--customer-shadow);
    overflow: hidden;
}

.customer-hero-copy {
    min-width: 0;
}

.customer-kicker,
.customer-section-label {
    display: inline-flex;
    align-items: center;
    color: var(--customer-coral);
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
}

.customer-hero h1 {
    margin: 0.25rem 0 0.35rem;
    color: var(--customer-green);
    font-size: 2rem;
    line-height: 1.05;
    font-weight: 900;
}

.customer-hero p {
    max-width: 42rem;
    margin: 0;
    font-size: 0.96rem;
    line-height: 1.5;
}

.customer-hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
    margin-top: 1rem;
}

.customer-primary-action,
.customer-secondary-action,
.customer-card-action {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 900;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
}

.customer-primary-action {
    background: linear-gradient(135deg, var(--customer-green), var(--customer-green-2));
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(27, 67, 50, 0.18);
}

.customer-primary-action:hover {
    color: #ffffff;
}

.customer-secondary-action {
    border: 1px solid rgba(27, 67, 50, 0.18);
    background: #ffffff;
    color: var(--customer-green);
}

.customer-hero-media {
    min-height: 150px;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(72px, 0.65fr);
    gap: 0.55rem;
}

.customer-home-hero .customer-hero-media {
    height: 160px;
    min-height: 0;
}

.customer-hero-primary-slot,
.customer-hero-pair-slot {
    min-height: 0;
}

.customer-hero-primary-slot {
    height: 100%;
    border-radius: 18px;
}

.customer-hero-image,
.customer-hero-primary-slot img,
.customer-hero-pair-slot img {
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: 100%;
    display: block;
    object-fit: cover;
}

.customer-hero-image {
    border-radius: 18px;
}

.customer-hero-pair-slot img {
    border-radius: 14px;
}

.customer-strip-cell {
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    min-height: 0;
    background: var(--customer-mint);
}

.customer-strip-cell img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 14px;
}

.customer-hero-pair {
    display: grid;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    height: 100%;
    min-height: 0;
    overflow: hidden;
}

.customer-menu-hero {
    align-items: stretch;
}

.customer-menu-hero-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    min-height: 92px;
}

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

.customer-public .customer-trending-card {
    align-items: stretch;
}

.customer-public .customer-trending-thumb-frame {
    align-self: center;
}

.customer-section,
.customer-menu-catalog {
    margin-top: 1.35rem;
}

.customer-section-heading,
.customer-category-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 0.8rem;
    margin-bottom: 0.75rem;
}

.customer-section-heading h2,
.customer-category-heading h2 {
    margin: 0.12rem 0 0;
    color: var(--customer-green);
    font-size: 1.32rem;
    line-height: 1.18;
    font-weight: 900;
}

.customer-section-link {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: var(--customer-green);
    font-weight: 900;
    text-decoration: none;
}

.customer-category-wrap {
    position: sticky;
    top: var(--customer-nav-height);
    z-index: 30;
    margin: 0.9rem -0.875rem 0;
    padding: 0.55rem 0.875rem;
    background: rgba(255, 253, 248, 0.88);
    border-bottom: 1px solid rgba(27, 67, 50, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 12px 30px rgba(27, 67, 50, 0.08);
}

.customer-category-bar {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.customer-category-bar::-webkit-scrollbar,
.customer-trending-rail::-webkit-scrollbar {
    display: none;
}

.customer-category-chip {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    scroll-snap-align: start;
    padding: 0.58rem 0.86rem;
    border: 1px solid rgba(27, 67, 50, 0.13);
    border-radius: 999px;
    background: #ffffff;
    color: var(--customer-green);
    font-size: 0.88rem;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 10px 22px rgba(27, 67, 50, 0.08);
    transition: transform 0.16s ease, background 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.customer-category-chip.is-active,
.customer-category-chip:hover {
    background: linear-gradient(135deg, var(--customer-green), var(--customer-green-2));
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(27, 67, 50, 0.18);
    transform: translateY(-1px);
}

.customer-category-section {
    scroll-margin-top: 132px;
    margin-top: 1.35rem;
}

.customer-count-pill {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: var(--customer-blue);
    color: #1c4b6f;
    font-size: 0.78rem;
    font-weight: 900;
}

.customer-product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.72rem;
    align-items: stretch;
}

.customer-product-card {
    min-width: 0;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(27, 67, 50, 0.12);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: var(--customer-shadow);
    transition: transform 0.22s ease, border-color 0.22s ease;
}

.customer-product-card.is-unavailable {
    opacity: 0.72;
}

.customer-product-media {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--customer-mint);
    border-radius: 18px 18px 0 0;
}

.customer-product-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.customer-product-ribbon {
    position: absolute;
    left: 0.5rem;
    top: 0.5rem;
    max-width: calc(100% - 1rem);
    padding: 0.28rem 0.5rem;
    border-radius: 999px;
    background: rgba(255, 250, 241, 0.92);
    color: #7a3b22;
    font-size: 0.66rem;
    font-weight: 900;
    box-shadow: 0 6px 16px rgba(24, 35, 29, 0.12);
}

.customer-product-content {
    min-width: 0;
    min-height: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.44rem;
    padding: 0.68rem;
}

.customer-product-topline {
    min-height: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.45rem;
}

.customer-product-category {
    color: var(--customer-muted);
    font-size: 0.72rem;
    font-weight: 800;
}

.customer-status {
    min-height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    padding: 0.22rem 0.48rem;
    border-radius: 999px;
    font-size: 0.66rem;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

.customer-status.is-available {
    background: var(--customer-mint);
    color: var(--customer-green);
}

.customer-status.is-unavailable {
    background: #fff0ec;
    color: #a23a24;
}

.customer-status.is-trending {
    background: #fff0d8;
    color: #81521a;
}

.customer-product-title,
.customer-trending-copy h3 {
    margin: 0;
    color: var(--customer-ink);
    font-size: 0.94rem;
    line-height: 1.2;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.customer-product-title {
    min-height: 2.4em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.customer-product-description,
.customer-unavailable-note {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.45;
}

.customer-unavailable-note {
    color: #a23a24;
}

.customer-product-bottom {
    display: grid;
    gap: 0.5rem;
    margin-top: auto;
}

.customer-price {
    color: var(--customer-green);
    font-size: 0.94rem;
    line-height: 1;
    font-weight: 900;
}

.customer-card-action {
    width: 100%;
    min-height: 40px;
    padding: 0.45rem 0.62rem;
    background: var(--customer-green);
    color: #ffffff;
    font-size: 0.78rem;
}

.customer-card-action:hover {
    color: #ffffff;
}

.customer-card-action.is-disabled {
    background: #e7ebe5;
    color: #7a817a;
}

.customer-empty-state {
    grid-column: 1 / -1;
    padding: 1rem;
    border: 1px solid var(--customer-line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.86);
    color: var(--customer-muted);
    font-weight: 700;
}

.customer-trending-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(238px, 82%);
    gap: 0.75rem;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.25rem;
}

.customer-trending-card {
    min-width: 0;
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 0.8rem;
    align-items: center;
    scroll-snap-align: start;
    padding: 0.65rem;
    border: 1px solid rgba(27, 67, 50, 0.1);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 8px 20px rgba(27, 67, 50, 0.07);
}

.customer-trending-thumb {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    border-radius: 14px;
}

.customer-trending-copy {
    min-width: 0;
    display: grid;
    gap: 0.35rem;
}

.customer-trending-copy .customer-product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.customer-public .public-page-shell {
    width: min(100%, 1180px);
    padding: 0.85rem 0.875rem 2rem !important;
}

.customer-public .public-hero {
    margin-bottom: 1.2rem !important;
    padding: 1rem !important;
    border-radius: 22px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(255, 250, 241, 0.78)),
        linear-gradient(90deg, rgba(223, 244, 232, 0.8), rgba(234, 243, 255, 0.62));
    box-shadow: var(--customer-shadow);
    text-align: left !important;
}

.customer-public .public-hero h1 {
    color: var(--customer-green);
    font-size: 1.85rem;
    line-height: 1.08;
    font-weight: 900;
}

.customer-public .public-hero p {
    font-size: 0.96rem;
}

.customer-public .card {
    border-color: rgba(27, 67, 50, 0.1) !important;
    border-radius: 18px !important;
    box-shadow: 0 6px 16px rgba(27, 67, 50, 0.06) !important;
    background: rgba(255, 255, 255, 0.94) !important;
}

.customer-public .card:hover,
.customer-public .interactive-card:hover {
    transform: none;
    box-shadow: 0 6px 16px rgba(27, 67, 50, 0.06) !important;
}

.customer-public .card-body {
    padding: 1rem !important;
}

.customer-public footer {
    margin-top: 2rem !important;
    background: linear-gradient(135deg, var(--customer-green), #123226) !important;
}

.customer-public footer .container {
    width: min(100%, 1180px);
    padding-left: 0.875rem;
    padding-right: 0.875rem;
}

.reservation-form-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 999px;
    background: rgba(149, 213, 178, 0.24);
}

.reservation-picker {
    display: grid;
    gap: 1rem;
    padding: 0.85rem;
    border: 1px solid rgba(27, 67, 50, 0.1);
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 253, 248, 0.86), rgba(240, 248, 243, 0.68));
}

.reservation-picker-section {
    display: grid;
    gap: 0.7rem;
}

.reservation-picker-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.8rem;
}

.reservation-picker-subtext,
.reservation-picker-error {
    color: var(--customer-muted);
    font-size: 0.86rem;
}

.reservation-picker-error {
    margin: 0;
    color: #a23a24;
    font-weight: 800;
}

.reservation-date-controls {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
    gap: 0.45rem;
}

.reservation-date-range {
    min-width: 7.4rem;
    color: var(--customer-green);
    font-size: 0.82rem;
    font-weight: 900;
    text-align: center;
}

.reservation-date-nav {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(27, 67, 50, 0.14);
    border-radius: 12px;
    background: #ffffff;
    color: var(--customer-green);
}

.reservation-date-nav:disabled {
    opacity: 0.42;
}

.reservation-date-grid,
.reservation-time-grid {
    display: grid;
    gap: 0.55rem;
}

.reservation-date-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.reservation-time-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.reservation-date-option,
.reservation-time-slot {
    min-width: 0;
    min-height: 52px;
    border: 1px solid rgba(27, 67, 50, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--customer-green);
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(27, 67, 50, 0.06);
}

.reservation-date-option {
    display: grid;
    gap: 0.1rem;
    padding: 0.6rem 0.72rem;
    text-align: left;
}

.reservation-date-option span {
    color: var(--customer-muted);
    font-size: 0.72rem;
    font-weight: 800;
}

.reservation-date-option strong {
    color: var(--customer-green);
    font-size: 0.95rem;
    line-height: 1.1;
}

.reservation-time-slot {
    padding: 0.58rem 0.7rem;
}

.reservation-date-option.is-selected,
.reservation-time-slot.is-selected {
    border-color: transparent;
    background: linear-gradient(135deg, var(--customer-green), var(--customer-green-2));
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(27, 67, 50, 0.18);
}

.reservation-date-option.is-selected span,
.reservation-date-option.is-selected strong {
    color: #ffffff;
}

.reservation-date-option:focus-visible,
.reservation-time-slot:focus-visible,
.reservation-date-nav:focus-visible {
    outline: 3px solid rgba(149, 213, 178, 0.72);
    outline-offset: 2px;
}

@media (max-width: 767.98px) {
    .customer-public .customer-product-category,
    .customer-public .customer-product-description,
    .customer-public .customer-unavailable-note,
    .customer-public .customer-product-ribbon {
        display: none !important;
    }

    .customer-public .customer-product-topline {
        justify-content: flex-start;
    }

    .customer-public .customer-section-heading,
    .customer-public .customer-category-heading {
        align-items: flex-start;
    }

    .reservation-picker-heading {
        display: grid;
    }

    .reservation-date-controls {
        justify-content: space-between;
        width: 100%;
    }
}

@media (max-width: 767.98px) and (orientation: landscape) {
    .customer-product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.65rem;
    }

    .customer-product-content {
        padding: 0.58rem;
    }

    .customer-product-title {
        font-size: 0.82rem;
    }

    .customer-status {
        font-size: 0.6rem;
    }

    .customer-card-action {
        min-height: 36px;
    }
}

@media (max-width: 991.98px) and (max-height: 500px) {
    .customer-public .customer-product-category,
    .customer-public .customer-product-description,
    .customer-public .customer-unavailable-note,
    .customer-public .customer-product-ribbon {
        display: none !important;
    }

    .customer-shell {
        padding-top: 0.75rem !important;
    }

    .customer-hero {
        grid-template-columns: minmax(0, 1fr) minmax(260px, 0.9fr);
        min-height: 0;
        padding: 1rem;
    }

    .customer-hero h1 {
        font-size: 2rem;
    }

    .customer-hero-media,
    .customer-menu-hero-strip {
        min-height: 130px;
    }

    .customer-category-section {
        margin-top: 1.15rem;
    }

    .customer-product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.72rem;
    }

    .customer-product-content {
        padding: 0.58rem;
    }

    .customer-product-title {
        font-size: 0.86rem;
    }

    .customer-product-topline {
        min-height: 26px;
        justify-content: flex-start;
    }

    .customer-card-action {
        min-height: 36px;
    }
}

@media (min-width: 576px) and (max-width: 991.98px) and (orientation: portrait) {
    .customer-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.85rem;
    }

    .customer-trending-rail {
        grid-auto-columns: minmax(260px, 46%);
    }
}

@media (min-width: 768px) {
    .customer-public {
        --customer-nav-height: 72px;
    }

    .customer-shell,
    .customer-public .public-page-shell {
        padding: 1.25rem 1.25rem 3rem !important;
    }

    .customer-hero {
        grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
        align-items: center;
        padding: 1.25rem;
        border-radius: 26px;
    }

    .customer-hero h1 {
        font-size: 2.45rem;
    }

    .customer-hero p {
        font-size: 1.02rem;
    }

    .customer-hero-media {
        min-height: 220px;
    }

    .customer-home-hero .customer-hero-media {
        height: 220px;
        min-height: 0;
    }

    .customer-menu-hero-strip {
        min-height: 160px;
    }

    .customer-section,
    .customer-menu-catalog {
        margin-top: 1.8rem;
    }

    .customer-section-heading,
    .customer-category-heading {
        margin-bottom: 1rem;
    }

    .customer-section-heading h2,
    .customer-category-heading h2 {
        font-size: 1.58rem;
    }

    .customer-category-wrap {
        top: var(--customer-nav-height);
        margin-left: -1.25rem;
        margin-right: -1.25rem;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .customer-category-chip {
        min-height: 44px;
        padding-inline: 1rem;
        font-size: 0.92rem;
    }

    .customer-category-section {
        scroll-margin-top: 142px;
        margin-top: 1.8rem;
    }

    .customer-product-content {
        padding: 0.82rem;
    }

    .customer-product-title,
    .customer-trending-copy h3 {
        font-size: 1rem;
    }

    .customer-card-action {
        min-height: 42px;
        font-size: 0.84rem;
    }

    .reservation-date-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .reservation-time-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .customer-public .public-hero {
        padding: 1.35rem !important;
        border-radius: 26px;
    }

    .customer-public .public-hero h1 {
        font-size: 2.35rem;
    }
}

@media (min-width: 768px) and (max-width: 1199.98px) and (orientation: landscape) {
    .customer-product-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 0.95rem;
    }

    .customer-product-content {
        padding: 0.72rem;
    }

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

@media (min-width: 992px) {
    .customer-menu-button {
        display: none;
    }

    .customer-desktop-nav {
        display: flex;
        align-items: center;
    }

    .customer-desktop-nav {
        gap: 0.25rem;
        padding: 0.25rem;
        border: 1px solid rgba(27, 67, 50, 0.08);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.72);
    }

    .customer-nav-link {
        min-height: 42px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0.55rem 0.9rem;
        border-radius: 999px;
        color: var(--customer-muted);
        font-size: 0.92rem;
        font-weight: 800;
        text-decoration: none;
    }

    .customer-nav-link:hover,
    .customer-nav-link.is-active {
        background: var(--customer-mint);
        color: var(--customer-green);
    }

    .customer-shell,
    .customer-public .public-page-shell {
        padding-top: 1.6rem !important;
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }

    .customer-hero {
        min-height: 320px;
        padding: 1.75rem;
    }

    .customer-home-hero .customer-hero-media {
        height: 260px;
    }

    .customer-hero h1 {
        font-size: 3rem;
    }

    .customer-hero-actions {
        display: flex;
        flex-wrap: wrap;
    }

    .customer-primary-action,
    .customer-secondary-action {
        padding-inline: 1.2rem;
    }

    .customer-product-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1.1rem;
    }

    .customer-product-card:hover {
        transform: translateY(-4px);
        border-color: rgba(27, 67, 50, 0.20);
        box-shadow: var(--customer-shadow-strong);
    }

    .customer-product-media {
        aspect-ratio: 4 / 3;
    }

    .customer-product-bottom {
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }

    .customer-card-action {
        width: auto;
        min-width: 106px;
        padding-inline: 0.9rem;
    }

    .customer-trending-rail {
        grid-auto-flow: initial;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        overflow: visible;
    }
}

@media (min-width: 1200px) {
    .customer-shell,
    .customer-public .public-page-shell {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .customer-nav-inner {
        padding-left: 0;
        padding-right: 0;
    }

    .customer-category-wrap {
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
    }

    .customer-hero h1 {
        font-size: 3.28rem;
    }

    .customer-product-grid {
        grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
        gap: 1.25rem;
    }
}

@media (max-width: 991.98px) and (max-height: 500px) {
    .customer-shell {
        padding-top: 0.65rem !important;
    }

    .customer-hero {
        grid-template-columns: minmax(0, 1fr) minmax(240px, 0.86fr) !important;
        gap: 0.8rem;
        padding: 0.8rem !important;
        border-radius: 20px;
    }

    .customer-hero h1 {
        margin-block: 0.12rem 0.2rem;
        font-size: 1.78rem !important;
    }

    .customer-hero p {
        font-size: 0.9rem;
        line-height: 1.35;
    }

    .customer-menu-hero-strip,
    .customer-hero-media {
        min-height: 108px !important;
    }

    .customer-category-wrap {
        margin-top: 0.65rem;
        padding-top: 0.4rem;
        padding-bottom: 0.4rem;
    }

    .customer-category-chip {
        min-height: 38px;
        padding-inline: 0.8rem;
    }

    .customer-category-heading {
        margin-bottom: 0.6rem;
    }

    .customer-category-section {
        margin-top: 1rem;
    }

    .customer-product-media {
        aspect-ratio: 4 / 3;
    }

    .customer-product-content {
        gap: 0.32rem;
        padding: 0.54rem;
    }

    .customer-product-title {
        min-height: 2.1em;
        font-size: 0.84rem;
    }

    .customer-card-action {
        min-height: 34px;
    }
}

/* -------- Reservation session tray (public) -------- */

button.customer-card-action {
    appearance: none;
    border: none;
    cursor: pointer;
    font: inherit;
    text-align: center;
}

body.reservation-order-locked {
    overflow: hidden;
}

.customer-public .customer-main {
    padding-bottom: calc(5.25rem + env(safe-area-inset-bottom, 0px));
}

.reservation-order-host {
    position: fixed;
    z-index: 1080;
    right: 0.75rem;
    bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
    left: auto;
    top: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.6rem;
    pointer-events: none;
}

.reservation-order-host > * {
    pointer-events: auto;
}

.customer-cart-alert {
    position: fixed;
    top: calc(5.5rem + env(safe-area-inset-top, 0px));
    left: 50%;
    transform: translateX(-50%);
    z-index: 1090;
    max-width: min(90vw, 360px);
    padding: 0.55rem 0.85rem;
    border-radius: 14px;
    background: rgba(255, 251, 246, 0.96);
    border: 1px solid rgba(200, 74, 40, 0.35);
    color: #7a2b1f;
    font-size: 0.88rem;
    font-weight: 700;
    box-shadow: 0 18px 44px rgba(27, 67, 50, 0.16);
}

.reservation-order-fab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 52px;
    padding: 0.55rem 1.05rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, var(--customer-green), var(--customer-green-2));
    color: #fff;
    font-weight: 900;
    font-size: 0.92rem;
    letter-spacing: 0.02em;
    box-shadow: 0 18px 42px rgba(27, 67, 50, 0.26);
    transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.reservation-order-fab.is-empty {
    opacity: 0.92;
    box-shadow: 0 14px 34px rgba(27, 67, 50, 0.20);
}

.reservation-order-fab:hover {
    transform: translateY(-2px);
    color: #fff;
    box-shadow: 0 22px 50px rgba(27, 67, 50, 0.30);
}

.reservation-order-fab:focus-visible {
    outline: 3px solid rgba(149, 213, 178, 0.8);
    outline-offset: 3px;
}

.reservation-order-fab-icon i {
    font-size: 1.15rem;
}

.reservation-order-fab-count {
    font-variant-numeric: tabular-nums;
}

.reservation-order-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1065;
    background: rgba(12, 20, 16, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

.reservation-order-host.is-drawer-open .reservation-order-backdrop {
    opacity: 1;
    visibility: visible;
}

.reservation-order-drawer {
    position: fixed;
    inset: 0;
    z-index: 1070;
    pointer-events: none;
    display: flex;
    justify-content: stretch;
    align-items: flex-end;
}

.reservation-order-host.is-drawer-open .reservation-order-drawer {
    pointer-events: auto;
}

.reservation-order-drawer-panel {
    width: 100%;
    max-height: min(88vh, 680px);
    background: linear-gradient(180deg, #fffdf8 0%, #f2f8f5 100%);
    border-radius: 22px 22px 0 0;
    border: 1px solid rgba(27, 67, 50, 0.12);
    box-shadow: 0 -12px 32px rgba(27, 67, 50, 0.12);
    transform: translateY(105%);
    transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.reservation-order-host.is-drawer-open .reservation-order-drawer-panel {
    transform: translateY(0);
}

.reservation-order-drawer-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1rem 0.75rem;
    border-bottom: 1px solid rgba(27, 67, 50, 0.08);
}

.reservation-order-drawer-header h2 {
    font-size: 1.1rem;
    margin: 0;
    color: var(--customer-green);
}

.reservation-order-drawer-sub {
    margin: 0.2rem 0 0;
    font-size: 0.85rem;
    color: var(--customer-muted);
}

.reservation-order-drawer-x {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid rgba(27, 67, 50, 0.12);
    background: #fff;
    color: var(--customer-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.reservation-order-drawer-lines {
    max-height: min(46vh, 360px);
    overflow-y: auto;
    padding: 0.75rem 1rem 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.reservation-cart-row {
    display: grid;
    grid-template-columns: 72px 1fr auto;
    gap: 0.65rem;
    align-items: start;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(27, 67, 50, 0.08);
}

.reservation-cart-row:last-child {
    border-bottom: none;
}

.reservation-cart-row-media {
    position: relative;
    width: 72px;
    height: 72px;
    flex-shrink: 0;
}

.reservation-cart-row-media img {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    object-fit: cover;
    display: block;
}

.reservation-cart-row-name {
    font-size: 0.92rem;
    margin: 0 0 0.15rem;
    color: var(--customer-ink);
    font-weight: 900;
}

.reservation-cart-row-meta {
    margin: 0 0 0.45rem;
    font-size: 0.8rem;
    color: var(--customer-muted);
}

.reservation-cart-row-qty {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.reservation-cart-qty-form {
    margin: 0;
}

.reservation-cart-qty-btn {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    border: 1px solid rgba(27, 67, 50, 0.15);
    background: #fff;
    color: var(--customer-green);
    font-weight: 900;
    font-size: 1.05rem;
    line-height: 1;
}

.reservation-cart-qty-val {
    min-width: 1.5rem;
    text-align: center;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.reservation-cart-row-side {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
}

.reservation-cart-row-price {
    margin: 0;
    font-weight: 900;
    color: var(--customer-green);
    font-size: 0.9rem;
}

.reservation-cart-remove {
    border: none;
    background: transparent;
    color: #a23a24;
    padding: 0.25rem;
    font-size: 1.1rem;
    border-radius: 10px;
}

.reservation-cart-empty {
    text-align: center;
    padding: 1rem 0.5rem;
    color: var(--customer-muted);
    font-weight: 700;
}

.reservation-cart-empty-link {
    display: inline-flex;
    margin-top: 0.5rem;
    text-decoration: none;
}

.reservation-order-drawer-footer {
    padding: 0.75rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(27, 67, 50, 0.1);
    background: rgba(255, 255, 255, 0.9);
    display: grid;
    gap: 0.75rem;
}

.reservation-cart-footer-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--customer-green);
}

.reservation-cart-footer-actions {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.reservation-cart-clear-wrap {
    margin: 0;
    text-align: center;
}

.reservation-cart-clear {
    border: none;
    background: transparent;
    color: var(--customer-muted);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
}

.reservation-cart-continue {
    width: 100%;
    justify-content: center;
    text-decoration: none;
}

@media (min-width: 768px) {
    .reservation-order-drawer-panel {
        max-width: 420px;
        margin-left: auto;
        margin-right: 0;
        border-radius: 22px 22px 0 0;
    }
}
