@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;700&family=Playfair+Display:wght@700&family=Poppins:wght@400;600;700&display=swap');

:root {
    --primary: #daf4c9;
    --primary-dark: #a7d08b;
    --accent: #8ec07c;
    --bg: #f6f8f4;
    --surface: #ffffff;
    --muted: #6e7b63;
    --text: #1f1f2b;
    --border: rgba(138, 188, 117, 0.25);
}

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

body {
    font-family: "Poppins","Noto Sans SC","Maiandra GD", sans-serif;
    background-color: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    overflow-x: clip;
    width: 100%;
}

html,
html body {
    overflow-x: hidden;
    overflow-x: clip;
    max-width: 100%;
    width: 100%;
}

.layout-shell > main {
    overflow-x: hidden;
    overflow-x: clip;
    max-width: 100vw;
}

.layout-shell .container {
    max-width: 1120px;
    overflow-x: hidden;
    overflow-x: clip;
}

.store-card {
    max-width: 100%;
    overflow: hidden;
    overflow: clip;
}

a {
    color: inherit;
}

.sticky-header {
    top: 0;
    left: 0;
    right: 0;
    z-index: 1200;
}

.customer-nav {
    border-radius: 28px 28px 46px 46px;
    padding: 0.9rem 1.3rem;
    background: #ffffff;
    box-shadow: 0 18px 26px rgba(0, 0, 0, 0.12);
    border: 2px solid #f0d89f;
    border-top-color: #f6e9c7;
    position: relative;
    gap: 1rem;
}

.layout-shell main {
    padding-top: 7.5rem;
}

.floating-cart-bar-wrap {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0px;
    z-index: 1180;
    pointer-events: none;
}

.modal-backdrop {
    z-index: 1390;
}

.modal {
    z-index: 1400;
}

.floating-cart-bar {
    pointer-events: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-radius: 999px;
    padding: 0.45rem 1.2rem;
    background: linear-gradient(to right,#d1f2bb, #f6bb76, #ffb35b);
    color: #285f58;
    box-shadow: 0 18px 28px rgba(240, 141, 45, 0.18);
    min-height: 44px;
}
#floatingCartText{
    color:white;
}

#floatingCartAmount{
    color:white;
}

.floating-cart-bar:hover,
.floating-cart-bar:focus-visible {
    color: #285f58;
    transform: translateY(-1px);
    box-shadow: 0 22px 34px rgba(240, 141, 45, 0.24);
}

.floating-cart-bar__side {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    min-width: 0;
}

.floating-cart-bar__icon {
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #d8efb7, #b7d58b);
    color: #2d6b61;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75);
    flex: 0 0 auto;
}

.floating-cart-bar__text,
.floating-cart-bar__amount {
    font-weight: 700;
    white-space: nowrap;
}

.floating-cart-bar__text {
    overflow: hidden;
    text-overflow: ellipsis;
}

.floating-cart-bar__amount {
    font-size: 0.98rem;
    flex: 0 0 auto;
    color: #e48a2a;
}

.brand-identity {
    padding: 0.35rem 0.5rem;
    gap: 0.6rem;
}

.brand-wordmark {
    display: flex;
    flex-direction: column;
    line-height: 1;
    color: #1e6c65;
    letter-spacing: -0.015em;
    width: 100px;
}

.brand-butterfly {
    width: 100px;
    height: auto;
    display: block;
    flex: 0 0 auto;
    transform: translateY(2px);
}

.brand-wordmark__kicker {
    font-size: clamp(0.82rem, 1.2vw, 1rem);
    letter-spacing: 0.08em;
    text-transform: lowercase;
    font-weight: 600;
    color: #2f7c73;
}

.brand-wordmark__name {
    font-size: clamp(1.8rem, 3vw, 2.35rem);
    font-family: "Maiandra GD", "Playfair Display", serif;
    font-weight: 700;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-meta {
    color: #7d897e;
}

.nav-pill {
    border-radius: 999px;
    padding: 0.7rem 1.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 700;
    border: none;
    background: linear-gradient(135deg, #ffb45c, #f08d2d);
    color: #fff;
    box-shadow: 0 12px 18px rgba(240, 141, 45, 0.25);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
    min-height: 44px;
}

.nav-pill--cart {
    background: linear-gradient(135deg, #f9c978, #f08d2d);
}

.nav-pill--login {
    background: linear-gradient(135deg, #ffba73, #ff8f3d);
    box-shadow: 0 16px 28px rgba(255, 143, 61, 0.3);
}

.nav-pill:hover,
.nav-pill:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.18);
    filter: brightness(0.98);
}

.nav-pill__icon {
    font-size: 1rem;
}

.nav-pill:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 163, 72, 0.28);
}

/* Search area */
.home-search-content {
    transition: opacity 0.18s ease;
}

.home-search-content.is-loading {
    opacity: 0.6;
    pointer-events: none;
}

.search-card {
    background: linear-gradient(135deg, #ffe7d0, #e2f2d9);
    border-radius: 28px;
    padding: 1.4rem 1.45rem;
    box-shadow: 0 18px 36px rgba(27, 62, 73, 0.16);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    overflow: clip;
}

.search-card__bar {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: #fff;
    border-radius: 999px;
    padding: 0.75rem 1.1rem;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
    border: 1px solid rgba(0, 0, 0, 0.06);
    min-height: 52px;
}

.search-card__icon {
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #3a4f4a;
    font-size: 1.1rem;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.search-card__input {
    border: none;
    outline: none;
    flex: 1;
    font-size: 1rem;
    background: transparent;
    color: var(--text);
    min-height: 44px;
}

.search-card__input:focus {
    outline: none;
}

.search-chip-group {
    margin-top: 1rem;
}

.search-chip-group--secondary {
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    padding-top: 0.8rem;
}

.chip-track {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    contain: paint;
    padding-bottom: 0.2rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.chip-track__divider {
    width: 1px;
    background: rgba(15, 23, 42, 0.15);
    align-self: stretch;
    flex-shrink: 0;
}

.chip-track--stall {
    flex-wrap: nowrap;
    overflow-x: hidden;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: auto;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
    overscroll-behavior: contain;
    padding-bottom: 0;
    margin-bottom: 0;
    min-height: 0;
    height: auto;
    box-sizing: border-box;
    align-items: center;
}

.chip-track--stall .search-chip {
    flex: 0 0 auto;
}

.chip-track--stall.dragging {
    cursor: grabbing;
}

.chip-track--stall > a {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    margin-bottom: 0;
    box-sizing: border-box;
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
}

.popular-strip--scroll,
.menu-card-row--scroll {
    scroll-behavior: smooth;
}

.stall-chip-nav {
    display: block;
    overflow: hidden;
    min-width: 0;
}

.stall-chip-nav > [data-stall-chip-track] {
    min-width: 0;
    width: 100%;
}

.stall-chip-arrow {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.18);
    background: #fff;
    color: #1f2725;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.stall-chip-arrow:hover:not(:disabled),
.stall-chip-arrow:focus-visible:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12);
}

.stall-chip-arrow:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

@media (min-width: 769px) {
    .search-card {
        overflow: visible;
    }
}

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

.search-chip {
    border-radius: 999px;
    padding: 0.45rem 1.05rem;
    border: 1.6px solid #1f1f1f;
    background: #f7f7f5;
    color: #1f2725;
    font-weight: 700;
    font-size: 0.92rem;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
}

.search-chip:hover,
.search-chip:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.38), 0 12px 18px rgba(0, 0, 0, 0.14);
}

.search-chip.is-active {
    background: #b5d7b3;
}

.search-chip--ghost {
    background: #fef2e3;
}

.search-chip--muted {
    background: #e3f2de;
}

.search-chip--clear {
    background: #e3f2de;
    border-color: #1f1f1f;
    color: #1f2725;
    font-size: 1.2rem;
    line-height: 1;
    padding: 0.35rem 0.75rem;
    min-width: 38px;
    min-height: 38px;
}

.search-chip--clear:hover,
.search-chip--clear:focus-visible {
    background: #b5d7b3;
}

@media (max-width: 768px) {
    .search-card {
        padding: 1.1rem 1.2rem;
    }

    .chip-track {
        flex-wrap: nowrap;
    }

    .stall-chip-nav {
        display: block;
    }

    .stall-chip-arrow {
        display: none;
    }
}

@media (max-width: 768px) {
    .layout-shell main {
        padding-bottom: 8rem;
    }

    .customer-nav {
        padding: 1rem 1.25rem;
        border-radius: 22px 22px 34px 34px;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
    }

    .nav-actions {
        width: auto;
        flex-wrap: nowrap;
        justify-content: flex-end;
        gap: 0.5rem;
        flex-shrink: 0;
    }

    .brand-identity {
        width: auto;
        flex: 1 1 auto;
    }

    .nav-pill {
        padding: 0.55rem 1.1rem;
        font-size: 0.95rem;
        white-space: nowrap;
    }
}

@media (min-width: 992px) {
    .floating-cart-bar-wrap {
        display: none !important;
    }
}

@media (max-width: 576px) {
    .customer-nav {
        padding: 0.82rem 0.9rem;
        gap: 0.45rem;
    }

    .brand-identity {
        flex: 0 1 auto;
        min-width: 0;
        padding-right: 0.1rem;
        gap: 0.35rem;
    }

    .brand-wordmark__kicker {
        font-size: 0.78rem;
    }

    .brand-wordmark__name {
        font-size: 1.65rem;
    }
    .brand-wordmark {
        width: 80px;
    }

    .brand-butterfly {
        width: 48px;
    }

    .nav-actions {
        gap: 0.3rem;
        flex: 1 1 auto;
        min-width: 0;
        justify-content: flex-end;
    }

    .nav-pill {
        padding: 0.35rem 0.75rem;
        font-size: 0.78rem;
        gap: 0.28rem;
        flex: 0 1 auto;
        min-width: 0;
        box-shadow: 0 8px 14px rgba(240, 141, 45, 0.2);
        min-height: 44px;
    }

    .nav-pill span {
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .nav-pill__icon {
        font-size: 0.82rem;
        flex: 0 0 auto;
    }

    .nav-pill--login {
        padding-left: 0.72rem;
        padding-right: 0.72rem;
    }

    .layout-shell main {
        padding-top: 6.5rem;
    }
}

.home-slider {
    width: 100%;
    /* background: linear-gradient(135deg, #fff7e9, #e8f2e6); */
    border-radius: 30px;
    /* box-shadow: 0 16px 30px rgba(0, 0, 0, 0.16);
    border: 1px solid rgba(0, 0, 0, 0.05); */
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
}

.home-slider__carousel .carousel-inner img,
.home-slider__placeholder img {
    width: 100%;
    /* height: clamp(220px, 36vw, 420px); */
    object-fit: cover;
    display: block;
    border-radius: 10%;
}

.home-slider__placeholder {
    /* background: linear-gradient(135deg, #fff1d6, #e2f0e4); */
    padding: 0;
    overflow: hidden;
}

.home-slider__carousel .carousel-indicators [data-bs-target] {
    background-color: rgba(15, 23, 42, 0.18);
    width: 12px;
    height: 6px;
    border-radius: 999px;
}

.home-slider__carousel .carousel-indicators .active {
    background-color: var(--accent);
}

.home-slider__link {
    display: block;
}

/* Search block styling */
.search-panel {
    background: linear-gradient(135deg, #ffe6c6, #e5f3e2);
    border-radius: 32px;
    padding: 1.45rem 1.55rem;
    box-shadow: 0 18px 32px rgba(0, 0, 0, 0.16);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.search-panel__bar {
    background: #fff;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 0.95rem;
    padding: 0.65rem 1.45rem;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 10px 18px rgba(0, 0, 0, 0.14);
    border: 1.4px solid #e2d9c8;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.search-panel__bar i {
    color: #8b9484;
    font-size: 1.2rem;
}

.search-panel__bar input {
    border: none;
    box-shadow: none;
    background: transparent;
    font-size: 1rem;
    color: var(--text);
}

.search-panel__bar input:focus {
    outline: none;
}

.chip-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    align-items: center;
    text-align: center;
}

.chip-group__items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    justify-content: center;
    max-width: 900px;
}

.search-panel .chip-group + .chip-group {
    padding-left: 1.5rem;
    border-left: 1px solid rgba(47, 57, 52, 0.35);
}

.pill-filter {
    border-radius: 999px;
    padding: 0.45rem 1.1rem;
    font-size: 0.9rem;
    border: 1.6px solid #1f1f1f;
    background: #f7f7f5;
    color: #1f2725;
    font-weight: 700;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.35), 0 9px 12px rgba(0, 0, 0, 0.12);
    white-space: nowrap;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.pill-filter:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 0 rgba(0, 0, 0, 0.38), 0 12px 18px rgba(0, 0, 0, 0.14);
}

.pill-filter.active,
.pill-filter--light {
    background: #b7d6b1;
}

.pill-filter--ghost {
    background: #fef2e3;
}

@media (max-width: 768px) {
    .search-panel {
        padding: 1.2rem 1.25rem;
        border-radius: 26px;
    }

    .search-panel .chip-group + .chip-group {
        padding-left: 0;
        border-left: none;
    }

    .search-panel__bar {
        max-width: 100%;
    }
}

.food-hero {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 32px;
    padding: 2.8rem;
    color: #0f172a;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 55px rgba(123, 44, 191, 0.4);
}

.food-hero::after {
    content: '';
    position: absolute;
    inset: 20px;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    pointer-events: none;
}

.food-hero__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 2;
    color: #0f172a;
}

.food-hero--simple {
    padding: 1.5rem;
    margin: 0 auto 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.food-hero--simple::after {
    display: none;
}

.filter-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.filter-chip {
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    font-size: 0.85rem;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: rgba(255, 255, 255, 0.85);
    color: #0f172a;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.filter-chip.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    box-shadow: 0 10px 25px rgba(138, 188, 117, 0.4);
}

.filter-chip:hover {
    transform: translateY(-1px);
}

.food-hero__card {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
    color: #0f172a;
}

.account-shell {
    max-width: 1100px;
    margin: 0 auto;
}

.account-header {
    margin-bottom: 1.5rem;
}

.account-header h4,
.account-header h5 {
    font-weight: 700;
    color: #0f172a;
}

.account-header p {
    color: var(--muted);
    margin-bottom: 0.35rem;
}

.account-card {
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.95), rgba(218, 244, 201, 0.45));
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.12);
}

.account-card .form-control,
.account-card .pill-input,
.account-card select {
    border-radius: 18px;
    border: 1px solid var(--border);
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: none;
}

.account-card .form-control:focus,
.account-card .pill-input:focus,
.account-card select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(123, 44, 191, 0.08);
}

.account-primary-btn {
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, #f7c46a, #f29a30);
    color: #fff;
    font-weight: 600;
    padding: 0.85rem 1.75rem;
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.18);
}

.account-secondary-btn {
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.15);
    background: rgba(255, 255, 255, 0.85);
    color: #0f172a;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
}

.account-secondary-btn.account-secondary-btn--sm {
    padding: 0.45rem 1rem;
    font-size: 0.9rem;
}

.account-balance-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.account-balance-value {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--primary);
}

.account-table table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}

.account-table thead {
    background: rgba(15, 23, 42, 0.05);
}

.account-table th {
    font-weight: 600;
    color: var(--muted);
    border-bottom: none;
}

.account-table td {
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.account-table tbody tr:last-child td {
    border-bottom: none;
}

.order-history-card hr {
    opacity: 0.12;
}

.order-history-card .badge {
    background: rgba(15, 23, 42, 0.08);
    color: #0f172a;
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
}

.order-history-card .fw-semibold {
    color: #0f172a;
}

.account-orders-page {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
}

.account-orders-page .account-secondary-btn.active {
    background: linear-gradient(135deg, #ffd079, #f4a13d);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 12px 24px rgba(244, 161, 61, 0.2);
}

.account-orders-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.4rem;
    align-items: start;
    padding: clamp(1.4rem, 3vw, 1.9rem);
    overflow: hidden;
}

.account-orders-hero__accent {
    position: absolute;
    right: 1.25rem;
    bottom: -0.85rem;
    width: 72px;
    opacity: 0.18;
    pointer-events: none;
}

.account-orders-hero__content {
    position: relative;
    z-index: 1;
}

.account-orders-hero__kicker {
    margin: 0 0 0.4rem;
    color: #f09b35;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.account-orders-hero__title {
    margin: 0;
    color: #272928;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 500;
    letter-spacing: -0.03em;
}

.account-orders-hero__copy {
    max-width: 44rem;
    margin: 0.6rem 0 0;
    color: #79766d;
    line-height: 1.7;
}

.account-orders-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.1rem;
}

.account-orders-stat {
    min-width: 122px;
    padding: 0.8rem 0.95rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(213, 189, 143, 0.34);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.account-orders-stat__label {
    display: block;
    color: #8b846f;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.account-orders-stat__value {
    display: block;
    margin-top: 0.3rem;
    color: #2b2d2c;
    font-size: 1.5rem;
    font-weight: 700;
}

.account-orders-hero__notice {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin-top: 1rem;
    padding: 0.75rem 0.95rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(213, 189, 143, 0.34);
    color: #5a5d56;
    line-height: 1.5;
}

.account-orders-hero__notice i {
    color: #f09b35;
    font-size: 1rem;
}

.account-orders-hero__actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    justify-content: flex-end;
    align-content: flex-start;
}

.account-order-group {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.account-order-group__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.account-order-group__eyebrow {
    margin: 0 0 0.35rem;
    color: #8d856f;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.account-order-group__title {
    margin: 0;
    color: #262726;
    font-size: clamp(1.45rem, 3vw, 2rem);
    font-weight: 600;
    letter-spacing: -0.03em;
}

.account-order-group__meta {
    margin: 0.55rem 0 0;
    color: #7b786f;
    line-height: 1.6;
}

.account-order-group__queue-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.55rem;
}

.account-order-stack {
    display: grid;
    gap: 1rem;
}

.account-order-entry {
    padding: 1.2rem;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 251, 244, 0.9));
    border: 1px solid rgba(213, 189, 143, 0.28);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.account-order-entry__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.account-order-entry__queue {
    color: #262726;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.account-order-entry__timestamp {
    margin-top: 0.3rem;
    color: #8b8578;
    font-size: 0.88rem;
}

.account-order-entry__aside {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.55rem;
}

.account-order-entry__total {
    color: #2b2d2c;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.account-order-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0.48rem 0.82rem;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid transparent;
    white-space: nowrap;
}

.account-order-status--pending {
    background: rgba(255, 247, 226, 0.96);
    border-color: rgba(226, 189, 115, 0.35);
    color: #8f661c;
}

.account-order-status--cooking {
    background: rgba(255, 241, 232, 0.96);
    border-color: rgba(229, 154, 112, 0.35);
    color: #a35527;
}

.account-order-status--delivery {
    background: rgba(234, 244, 255, 0.96);
    border-color: rgba(109, 164, 224, 0.35);
    color: #336ea7;
}

.account-order-status--ready {
    background: rgba(236, 249, 223, 0.96);
    border-color: rgba(132, 177, 91, 0.35);
    color: #44743f;
}

.account-order-status--done {
    background: rgba(239, 247, 229, 0.96);
    border-color: rgba(123, 171, 94, 0.35);
    color: #3f6f3f;
}

.account-order-status--danger {
    background: rgba(255, 239, 236, 0.96);
    border-color: rgba(197, 112, 94, 0.35);
    color: #9c3f31;
}

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

.account-order-info-card {
    padding: 0.95rem 1rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(213, 189, 143, 0.3);
}

.account-order-info-card__label {
    color: #918976;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.account-order-info-card__value {
    margin-top: 0.4rem;
    color: #2d3130;
    font-weight: 700;
    line-height: 1.35;
}

.account-order-info-card__meta {
    margin-top: 0.35rem;
    color: #7f796d;
    font-size: 0.84rem;
    line-height: 1.45;
}

.account-order-note {
    margin-top: 0.85rem;
    padding: 0.9rem 1rem;
    border-radius: 22px;
    background: linear-gradient(180deg, #fffdf9, #fcf7ee);
    border: 1px dashed rgba(213, 189, 143, 0.45);
}

.account-order-note__label {
    color: #948770;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.account-order-note__value {
    margin-top: 0.38rem;
    color: #2f3330;
    font-weight: 600;
    line-height: 1.55;
}

.account-order-items {
    display: grid;
    gap: 0.7rem;
    margin-top: 1rem;
}

.account-order-item {
    padding: 0.95rem 1rem;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(213, 189, 143, 0.24);
}

.account-order-item__row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.account-order-item__name {
    color: #2d3130;
    font-weight: 700;
    line-height: 1.45;
}

.account-order-item__price {
    color: #2d3130;
    font-weight: 700;
    white-space: nowrap;
}

.account-order-item__variations {
    display: grid;
    gap: 0.28rem;
    margin-top: 0.55rem;
}

.account-order-item__variation {
    color: #7c796f;
    font-size: 0.86rem;
    line-height: 1.45;
}

.account-order-totals {
    display: grid;
    gap: 0.45rem;
    margin-top: 1rem;
    padding-top: 0.95rem;
    border-top: 1px dashed rgba(213, 189, 143, 0.38);
}

.account-order-totals__row,
.account-order-totals__total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.account-order-totals__row {
    color: #58564f;
    font-size: 0.92rem;
}

.account-order-totals__row--discount {
    color: #a44d3a;
}

.account-order-totals__total {
    margin-top: 0.2rem;
    color: #2d3130;
    font-size: 1.05rem;
    font-weight: 700;
}

.account-order-qr-wrap {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed rgba(213, 189, 143, 0.38);
}

.account-order-qr-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.account-order-qr-grid .account-order-qr-card {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
}

.account-order-qr-title {
    color: #2d3130;
    font-size: 1rem;
    font-weight: 700;
}

.account-order-qr-copy {
    margin-top: 0.25rem;
    color: #7a7569;
    font-size: 0.88rem;
    line-height: 1.5;
}

.account-order-qr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.85rem;
}

.account-order-qr-card {
    padding: 1rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(213, 189, 143, 0.28);
    box-shadow: 0 12px 24px rgba(36, 48, 42, 0.06);
}

.account-order-qr-card__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.8rem;
    margin-bottom: 0.85rem;
}

.account-order-qr-card__label {
    color: #2d3130;
    font-weight: 700;
    line-height: 1.35;
}

.account-order-qr-card__meta {
    margin-top: 0.25rem;
    color: #8a8374;
    font-size: 0.82rem;
}

.account-order-qr-card__frame {
    width: 100%;
    aspect-ratio: 1;
    border: 2px dashed rgba(208, 188, 153, 0.72);
    border-radius: 26px;
    background: linear-gradient(180deg, #fffdf9, #fff7ed);
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.account-order-qr-card__frame:hover,
.account-order-qr-card__frame:focus-visible {
    transform: translateY(-1px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 12px 24px rgba(36, 48, 42, 0.1);
}

.account-order-qr-card__frame svg {
    width: min(100%, 220px);
    height: auto;
}

.account-order-qr-card__value {
    margin-top: 0.75rem;
    color: #888275;
    font-size: 0.78rem;
    line-height: 1.45;
    word-break: break-all;
}

.account-order-qr-card__collect-label {
    margin-top: 0.5rem;
    padding: 0.35rem 0.65rem;
    background: #f0ece3;
    border-radius: 8px;
    color: #5a5346;
    font-size: 0.82rem;
    font-weight: 600;
    text-align: center;
}

.account-order-qr-placeholder {
    padding: 1.15rem 1rem;
    border-radius: 24px;
    background: linear-gradient(180deg, #fffefb, #f8f4eb);
    border: 1px dashed rgba(213, 189, 143, 0.42);
    text-align: center;
}

.account-order-qr-placeholder h3 {
    margin: 0;
    color: #343734;
    font-size: 1rem;
    font-weight: 700;
}

.account-order-qr-placeholder p {
    margin: 0.45rem auto 0;
    max-width: 24rem;
    color: #7b776d;
    line-height: 1.55;
}

.account-order-empty {
    padding: 1.8rem 1.5rem;
    text-align: center;
}

.account-order-empty__kicker {
    margin: 0 0 0.45rem;
    color: #f09b35;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.account-order-empty h2 {
    margin: 0;
    color: #272928;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 600;
}

.account-order-empty p {
    max-width: 32rem;
    margin: 0.7rem auto 0;
    color: #77756c;
    line-height: 1.7;
}

.account-order-empty .account-primary-btn {
    margin-top: 1.2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.account-orders-pagination {
    margin-top: 0.2rem;
}

.account-orders-pagination .pagination {
    justify-content: center;
}

.layout-shell .pagination {
    --bs-pagination-border-width: 0;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.layout-shell .page-item {
    display: inline-flex;
}

.layout-shell .page-link {
    min-width: 2.85rem;
    min-height: 2.85rem;
    padding: 0.7rem 0.95rem;
    border-radius: 999px !important;
    border: 1px solid rgba(240, 216, 159, 0.92);
    background: linear-gradient(180deg, #fffdf8 0%, #fff4df 100%);
    color: #335e56;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(240, 141, 45, 0.12);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.layout-shell .page-link:hover,
.layout-shell .page-link:focus {
    color: #234b44;
    background: linear-gradient(180deg, #fff9ef 0%, #ffe7be 100%);
    box-shadow: 0 14px 28px rgba(240, 141, 45, 0.18);
    transform: translateY(-1px);
}

.layout-shell .page-link:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 179, 91, 0.28), 0 14px 28px rgba(240, 141, 45, 0.18);
}

.layout-shell .page-item.active .page-link {
    color: #fff;
    background: linear-gradient(135deg, #ffb45c 0%, #f08d2d 52%, #d7efad 100%);
    border-color: transparent;
    box-shadow: 0 16px 32px rgba(240, 141, 45, 0.24);
}

.layout-shell .page-item.disabled .page-link,
.layout-shell .page-link.disabled {
    color: #b8a98b;
    background: linear-gradient(180deg, #fcf8ef 0%, #f4ead6 100%);
    border-color: rgba(233, 220, 187, 0.9);
    box-shadow: none;
    opacity: 0.75;
}

.layout-shell .pagination-sm .page-link {
    min-width: 2.45rem;
    min-height: 2.45rem;
    padding: 0.55rem 0.8rem;
    font-size: 0.9rem;
}

.account-orders-qr-modal__frame {
    width: 320px;
    height: 320px;
    max-width: 100%;
}

.account-orders-qr-modal__frame svg {
    width: min(100%, 290px);
    height: auto;
}

.account-orders-qr-modal__value {
    color: #7b776d;
    line-height: 1.6;
}

.account-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .account-card {
        padding: 1.5rem;
        border-radius: 24px;
    }

    .account-orders-hero {
        grid-template-columns: 1fr;
    }

    .account-orders-hero__actions {
        justify-content: flex-start;
    }

    .account-order-group__header,
    .account-order-entry__head,
    .account-order-qr-header {
        flex-direction: column;
    }

    .account-order-entry__aside {
        align-items: flex-start;
    }

    .account-order-group__queue-list {
        justify-content: flex-start;
    }

    .account-order-info-grid {
        grid-template-columns: 1fr;
    }

    .account-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .account-secondary-btn,
    .account-primary-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .account-orders-hero {
        padding: 1.25rem;
    }

    .account-orders-stat {
        flex: 1 1 calc(50% - 0.4rem);
        min-width: 0;
    }

    .account-order-entry,
    .account-order-qr-card {
        padding: 1rem;
    }

    .account-order-item__row,
    .account-order-totals__row,
    .account-order-totals__total {
        gap: 0.65rem;
    }

    .account-order-qr-grid .account-order-qr-card {
        max-width: none;
    }

    .account-orders-qr-modal__frame {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
    }
}

.highlight-card {
    background: #0f0f14;
    border-radius: 28px;
    padding: 1.75rem;
    color: #fff;
    box-shadow: 0 25px 45px rgba(15, 15, 20, 0.4);
}

.highlight-card__price {
    font-size: 2rem;
    margin: 0.2rem 0 1rem;
}

.highlight-card .btn {
    border-radius: 999px;
    padding: 0.7rem 1.5rem;
    background: var(--accent);
    border: none;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 15px 25px rgba(240, 101, 149, 0.45);
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.section-heading h5 {
    font-weight: 700;
    margin: 0;
}

.pill-link {
    font-size: 0.9rem;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
}

.popular-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    align-items: stretch;
    overflow: visible;
    overscroll-behavior-x: contain;
    padding-bottom: 0;
    -webkit-overflow-scrolling: touch;
}

.popular-strip::-webkit-scrollbar {
    display: none;
}

.popular-card {
    background: linear-gradient(135deg, #ffe7d0, #e2f2d9);
    border-radius: 18px;
    padding: 1rem 1.05rem;
    border: 1px solid #e1ecd5;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
    min-width: 0;
    height: 100%;
}

.popular-card__body {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.9rem;
    align-items: center;
}

.popular-card__thumb {
    width: 86px;
    height: 86px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.food-card__thumb {
    width: 82px;
    height: 82px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.12);
}

.popular-card__copy {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.popular-card__title {
    font-weight: 700;
    font-size: 1.02rem;
    color: #1f1f2b;
}

.popular-card__subtitle {
    font-size: 0.92rem;
    color: #4a554d;
}

.popular-card__badge-row,
.menu-card__badge-row {
    margin: 0.35rem 0 0.45rem;
}

.popular-card__meta {
    color: #5a665d;
    font-size: 0.92rem;
    margin: 0;
    line-height: 1.35;
}

.popular-card--store {
    cursor: pointer;
}

.popular-card__thumb-placeholder {
    width: 72px;
    height: 72px;
    min-width: 72px;
    border-radius: 14px;
    background: #e8e5df;
    color: #6b6a68;
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popular-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 0.3rem;
}

.popular-card__price {
    font-weight: 700;
    color: #111827;
}

.popular-card__cart {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid rgba(227, 143, 28, 0.45);
    background: #fff7ed;
    color: #e38f1c;
    box-shadow: 2px 8px 14px rgba(0, 0, 0, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
    padding: 0;
}

.popular-card__cart i {
    font-size: 1.05rem;
}

.popular-card__cart:hover,
.popular-card__cart:focus-visible {
    transform: translateY(-1px);
    box-shadow: 3px 10px 16px rgba(227, 143, 28, 0.2);
}

@media (max-width: 768px) {
    .popular-strip {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 0.75rem;
        padding-bottom: 0.25rem;
        scrollbar-width: none;
        -ms-overflow-style: none;
        touch-action: pan-x;
        scroll-snap-type: x mandatory;
    }

    .popular-strip::-webkit-scrollbar {
        display: none;
    }

    .popular-card {
        width: 80vw;
        min-width: 80vw;
        padding: 0.95rem 1rem;
        border-radius: 16px;
        flex: 0 0 auto;
        scroll-snap-align: start;
    }

    .popular-card__thumb {
        width: 82px;
        height: 82px;
    }

    .popular-card__footer {
        align-items: center;
    }
}

.stores-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.store-category-group {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.store-category-group__header {
    margin-bottom: 0;
}

.store-category-group__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    color: inherit;
}

.store-category-group__link:hover {
    color: #4caf50;
}

.store-category-group__title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    color: #333;
}

.store-category-group__arrow {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1;
    color: #999;
    transition: color 0.2s;
}

.store-category-group__link:hover .store-category-group__arrow {
    color: #4caf50;
}

/* Store-focused view: category sections */
.store-category-section {
    display: block;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    padding: 0.8rem 1rem;
    margin-bottom: 0.25rem;
    transition: background 0.2s;
    color: inherit;
}

.store-category-section:hover {
    background: rgba(255, 255, 255, 0.85);
    color: inherit;
}

.store-category-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.6rem;
}

.store-category-section__title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    color: #333;
}

.store-category-section__arrow {
    font-size: 1.2rem;
    font-weight: 700;
    color: #999;
    transition: color 0.2s;
}

.store-category-section:hover .store-category-section__arrow {
    color: #4caf50;
}

.menu-card-grid--preview {
    pointer-events: none;
}

.store-category-focus-bar {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.store-category-focus-bar__back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.06);
    color: #333;
    font-size: 1.1rem;
    text-decoration: none;
    transition: background 0.2s;
    flex-shrink: 0;
}

.store-category-focus-bar__back:hover {
    background: rgba(0, 0, 0, 0.12);
    color: #111;
}

.store-category-focus-bar__title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    color: #333;
}

.store-card {
    padding-left: 30px;
    background: #f0f9e4;
    border-radius: 49px;
    padding: 1.4rem 1.5rem;
    box-shadow: 4px 12px 24px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 30px;
}

.store-card:nth-of-type(even) {
    background: #fff7ec;
}

.store-card__header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.store-card__header:hover .store-card__title-text,
.store-card__header:focus-visible .store-card__title-text {
    text-decoration: underline;
}

.store-card__logo,
.store-card__logo-placeholder {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    object-fit: cover;
    background: #fff5fb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary);
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.store-card__title-row {
    font-size: 1rem;
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.store-card__title-text {
    font-weight: 700;
    color: #1f1f2b;
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.store-card__closed-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #b45140;
    background: #fde8e5;
    padding: 2px 8px;
    border-radius: 999px;
    flex-shrink: 0;
}

.store-card__waiting-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.68rem;
    font-weight: 600;
    color: #b37a00;
    background: #fff3cd;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid #ffe69c;
    flex-shrink: 0;
    white-space: nowrap;
}

.store-card__arrow {
    margin-left: auto;
    flex-shrink: 0;
    width: 12px;
    height: 12px;
    border-top: 3px solid #1f1f2b;
    border-right: 3px solid #1f1f2b;
    transform: rotate(45deg);
    display: inline-block;
}

.menu-card-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    overflow: hidden;
    overscroll-behavior-x: contain;
    padding-bottom: 0.2rem;
}

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

.menu-card-grid--portrait .menu-card {
    width: 100%;
    min-width: 0;
}

.menu-card-row::-webkit-scrollbar {
    display: none;
}

.popular-card {
    background: linear-gradient(135deg, #ffe7d0, #e2f2d9);
    border-radius: 18px;
    padding: 1.05rem 1.15rem;
    border: 1px solid #dfe7d3;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    min-width: 260px;
    flex: 0 0 auto;
}

.popular-card__body {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: center;
    flex: 1 1 auto;
}

.popular-card__thumb {
    width: 92px;
    height: 92px;
    border-radius: 18px;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.14);
}

.popular-card__title {
    font-weight: 700;
    font-size: 1.05rem;
    color: #1f1f2b;
}

.popular-card__subtitle {
    font-size: 0.9rem;
    color: #4f5a51;
    margin: 0;
}

.popular-card__meta {
    font-size: 0.9rem;
    color: #5f6b61;
    margin: 0;
    line-height: 1.35;
}

.popular-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 0.3rem;
    margin-top: auto;
}

.popular-card__price {
    font-weight: 700;
    font-size: 1.05rem;
    color: #111827;
    margin: 0;
}

.menu-card {
    background: white;
    border-radius: 18px;
    padding: 1.05rem 1.15rem;
    border: 1px solid #dfe7d3;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    min-width: 260px;
    flex: 1 1 calc(50% - 0.5rem);
}

.menu-card__body {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
}

.menu-card__content {
    min-width: 0;
    overflow: hidden;
}
.pork-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.pork-status-badge__image {
    display: block;
    width: auto;
    height: 28px;
    max-width: 120px;
    object-fit: contain;
}

.search-chip--status {
    padding: 0.4rem 0.8rem;
}

.search-chip--status .pork-status-badge__image {
    height: 24px;
}

.search-chip--pork-img {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border: 1px solid rgba(21, 38, 31, 0.08);
    background: rgba(255, 255, 255, 0.82);
    padding: 0.22rem 0.34rem;
    border-radius: 18px;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(27, 62, 73, 0.08);
    transition: transform 0.18s ease, opacity 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.search-chip--pork-img:hover,
.search-chip--pork-img:focus-visible {
    transform: translateY(-1px);
    opacity: 0.96;
    box-shadow: 0 12px 22px rgba(27, 62, 73, 0.14);
}

.search-chip--pork-img.is-active {
    background: linear-gradient(135deg, rgba(255, 242, 214, 0.96), rgba(225, 245, 214, 0.96));
    border-color: rgba(240, 143, 61, 0.38);
    box-shadow: inset 0 0 0 1px rgba(240, 143, 61, 0.12), 0 12px 22px rgba(240, 143, 61, 0.18);
    transform: translateY(-1px) scale(0.98);
}

.search-chip--pork-img:active {
    transform: translateY(0) scale(0.96);
    box-shadow: 0 6px 14px rgba(27, 62, 73, 0.12);
}

.search-chip--pork-img .pork-status-badge__image {
    height: 36px;
    max-width: none;
    display: block;
}

.menu-card__thumb {
    width: 92px;
    height: 92px;
    border-radius: 18px;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.14);
}

.menu-card__title {
    font-weight: 700;
    font-size: 1.05rem;
    color: #1f1f2b;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.menu-card__meta {
    font-size: 0.9rem;
    color: #4f5a51;
    margin: 0;
}

.menu-card__desc {
    font-size: 0.9rem;
    color: #5f6b61;
    margin: 0;
    line-height: 1.35;
    display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.menu-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 0.3rem;
    margin-top: auto;
}

.menu-card__price {
    font-weight: 700;
    font-size: 1.05rem;
    color: #111827;
    margin: 0;
}

.store-card.pork-surface--pork-free,
.menu-card.pork-surface--pork-free,
.popular-card.pork-surface--pork-free {
    background: #f0f9e4;
}

.store-card.pork-surface--non-pork-free,
.menu-card.pork-surface--non-pork-free,
.popular-card.pork-surface--non-pork-free {
    background: #fff7ec;
}

.store-card.pork-surface--pending,
.menu-card.pork-surface--pending,
.popular-card.pork-surface--pending {
    background: #f6fceb;
}

@media (max-width: 576px) {
    .menu-card__body,
    .popular-card__body {
        text-align: left;
    }

    .popular-card__thumb {
        width: 120px;
        height: 120px;
        max-width: 100%;
    }
}

@media (max-width: 640px) {
    .stores-grid {
        gap: 1rem;
    }

    .store-card {
        border-radius: 18px;
        padding: 1rem 1.1rem;
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    }

    .store-card__logo,
    .store-card__logo-placeholder {
        width: 54px;
        height: 54px;
        border-radius: 16px;
    }

    .store-card__title-row {
        font-size: 0.98rem;
    }

    .store-card__arrow {
        font-size: 1.05rem;
    }

    .menu-card-row {
        gap: 0.75rem;
        padding-bottom: 0.15rem;
    }

    .menu-card-row--scroll {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .menu-card-row--scroll::-webkit-scrollbar {
        display: none;
    }

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

    .menu-card-grid--portrait::-webkit-scrollbar {
        display: none;
    }

    .menu-card-grid--portrait .menu-card {
        width: 100%;
        min-width: 0;
    }

    .menu-card-row--scroll .menu-card {
        flex: 0 0 calc(50% - 0.375rem);
        min-width: calc(50% - 0.375rem);
    }

    .menu-card {
        min-width: 0;
        padding: 0.65rem 0.7rem;
        border-radius: 16px;
    }

    .menu-card__body {
        grid-template-columns: 48px 1fr;
        gap: 0.5rem;
    }

    .menu-card__thumb {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }

    .menu-card__title {
        font-size: 0.85rem;
    }

    .menu-card__meta,
    .menu-card__desc {
        font-size: 0.78rem;
    }

    .menu-card .pork-status-badge__image {
        height: 18px;
        max-width: 80px;
    }

    .menu-card__price {
        font-size: 0.88rem;
    }

    .popular-strip {
        gap: 0.75rem;
    }

    .popular-card {
        width: 92vw;
        min-width: 92vw;
        padding: 0.95rem 1rem;
        border-radius: 16px;
    }

    .popular-card__thumb {
        width: 82px;
        height: 82px;
    }

    .popular-card__footer {
        align-items: center;
    }
}

@media (min-width: 768px) {
    .popular-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }
}

@media (min-width: 769px) {
    .popular-strip--scroll {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 0.85rem;
        padding-bottom: 0;
        scrollbar-width: none;
        -ms-overflow-style: none;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: auto;
        cursor: grab;
        user-select: none;
        -webkit-user-select: none;
        touch-action: pan-x pan-y;
        overscroll-behavior-x: contain;
        min-height: 0;
        box-sizing: border-box;
        align-items: stretch;
    }

    .popular-strip--scroll::-webkit-scrollbar {
        display: none;
    }

.popular-strip--scroll.dragging {
    cursor: grabbing;
}

.popular-strip--scroll .popular-card {
    flex: 0 0 400px;
    width: 400px;
    min-width: 400px;
    max-width: 400px;
    align-self: stretch;
    height: auto;
    -webkit-user-drag: none;
    user-select: none;
    -webkit-user-select: none;
}

    .menu-card-row--scroll {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 0.2rem;
        scrollbar-width: none;
        -ms-overflow-style: none;
        -webkit-overflow-scrolling: touch;
    }

    .menu-card-row--scroll::-webkit-scrollbar {
        display: none;
    }

    .menu-card-row--scroll .menu-card {
        flex: 0 0 400px;
        min-width: 400px;
    }
}

.add-to-cart-btn {
    width: 42px;
    height: 42px;
    border-radius: 0;
    border: none;
    padding: 0;
    background: transparent;
    color: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    transition: transform 0.18s ease, filter 0.18s ease;
    position: relative;
    overflow: hidden;
}

.add-to-cart-btn__icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    pointer-events: none;
}

.menu-card__cart {
    width: 42px;
    height: 42px;
    border-radius: 0;
    background: transparent;
    color: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.18s ease, filter 0.18s ease;
    padding: 0;
}

.menu-card__cart:hover,
.menu-card__cart:focus-visible {
    transform: translateY(-1px) scale(1.03);
    filter: brightness(1.04);
}

.add-to-cart-btn i {
    display: none;
    font-size: 1.25rem;
    pointer-events: none;
}

.add-to-cart-btn:hover {
    transform: translateY(-1px) scale(1.03);
    filter: brightness(1.04);
}

.add-to-cart-btn.menu-card__cart,
.add-to-cart-btn.popular-card__cart {
    width: 30px;
    height: 30px;
    border-radius: 0;
    box-shadow: none;
    transition: transform 0.18s ease, filter 0.18s ease;
}

.add-to-cart-btn.menu-card__cart:hover,
.add-to-cart-btn.menu-card__cart:focus-visible,
.add-to-cart-btn.popular-card__cart:hover,
.add-to-cart-btn.popular-card__cart:focus-visible {
    transform: translateY(-1px) scale(1.03);
    filter: brightness(1.04);
}

.popular-card__cart i,
.menu-card__cart i {
    display: none;
    font-size: 1.05rem;
}

@media (max-width: 640px) {
    .menu-card-row {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.3rem;
        scrollbar-width: none;
        -ms-overflow-style: none;
        scroll-snap-type: x mandatory;
        gap: 4vw;
    }

    .menu-card-row .menu-card {
        width: 50vw;
        min-width: 50vw;
        flex: 0 0 50vw;
        scroll-snap-align: start;
    }

    .popular-strip {
        display: flex;
        overflow-x: auto;
        flex-wrap: nowrap;
        gap: 0.75rem;
        padding-bottom: 0.25rem;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .popular-strip::-webkit-scrollbar {
        display: none;
    }

    .popular-card {
        width: 88vw;
        min-width: 88vw;
        max-width: 88vw;
        flex: 0 0 auto;
        height: auto;
    }
}

.store-card__cta {
    border-radius: 999px;
    border: none;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    padding: 0.65rem 1.5rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.menu-list-item {
    min-height: 120px;
    align-items: center;
}

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

.badge-soft {
    background: rgba(138, 188, 117, 0.18);
    color: var(--text);
    border-radius: 999px;
    padding: 0.2rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.order-items-card {
    background: var(--surface);
    border-radius: 32px;
    padding: 2rem;
    box-shadow: 0 25px 55px rgba(15, 23, 42, 0.09);
    border: 1px solid var(--border);
}

.order-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.75));
    border-radius: 32px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.15);
}

.checkout-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 992px) {
    .checkout-grid {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.checkout-grid__col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

#checkoutForm .pill-input {
    border-radius: 18px;
    border: 1px solid var(--border);
    padding: 0.9rem 1rem;
    background: rgba(255, 255, 255, 0.9);
}

.checkout-btn {
    width: 100%;
    border: none;
    border-radius: 999px;
    padding: 0.95rem 1rem;
    background:linear-gradient(135deg, #ffba73, #ff8f3d);
    color: #fff;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}

.order-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 0;
    border-bottom: 1px dashed rgba(31, 31, 43, 0.08);
}

.order-line:last-child {
    border-bottom: none;
}

.order-line__meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.order-line__summary {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    gap: 1.25rem;
    justify-items: end;
}

.order-line__controls {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    justify-content: flex-end;
}

.order-line__price {
    min-width: 120px;
}

.order-line__thumb {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    object-fit: cover;
    background: #fff5fb;
}

.order-quantity {
    border-radius: 999px;
    border: 1px solid var(--border);
    padding: 0.3rem 0.85rem;
    min-width: 80px;
    text-align: center;
    background: #fff;
    font-weight: 600;
}

.total-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.5rem;
    font-weight: 700;
    font-size: 1.1rem;
}

.checkout-btn {
    width: 100%;
    border: none;
    border-radius: 999px;
    padding: 0.95rem 1rem;
    background:linear-gradient(135deg, #ffba73, #ff8f3d);
    color: #fff;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    box-shadow: 0 18px 36px rgba(123, 44, 191, 0.25);
}

.pill-input {
    border-radius: 18px;
    border: 1px solid var(--border);
    padding: 0.6rem 1rem;
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 28px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.45);
    box-shadow: 0 25px 45px rgba(15, 23, 42, 0.12);
}

.footer {
    background: linear-gradient(135deg, #ffba73, #ff8f3d);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.footer a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.35rem 0.2rem;
}

.btn-close {
    min-width: 44px;
    min-height: 44px;
    padding: 0.75rem;
    background-position: center;
}

.login-modal .modal-dialog {
    max-width: 460px;
}

.login-modal .modal-content {
    border-radius: 28px;
    border: none;
    padding: 1.5rem 1.5rem 2rem;
    background: #fbf6ef;
    box-shadow: 0 22px 40px rgba(0, 0, 0, 0.18);
}

#toastContainer .toast {
    background: linear-gradient(135deg, #8bb26d, #f4a440);
    color: #fff;
    border-radius: 18px;
    border: none;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.18);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

#toastContainer .toast .btn-close {
    filter: invert(1);
    opacity: 0.7;
}

#toastContainer .toast .btn-close:focus {
    outline: none;
    box-shadow: none;
}

.menu-modal {
    border-radius: 32px;
    border: none;
    background: #fff;
    box-shadow: 0 35px 70px rgba(15, 23, 42, 0.25);
    padding: 0.5rem 0.5rem 1.5rem;
}

.menu-modal__body {
    padding-top: 0;
}

.menu-modal__header {
    padding: 1.25rem 1.5rem 0.75rem;
    align-items: flex-start;
}

.menu-modal__header .modal-title {
    font-weight: 800;
}

.menu-modal__close {
    border: none;
    background: transparent;
    font-size: 1.2rem;
    color: #f4a440;
    margin-left: auto;
}

#menuAddModalImageWrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-modal__image {
    border-radius: 20px !important;
    object-fit: cover;
    width: min(100%, 320px);
    aspect-ratio: 4 / 3;
}

@media (max-width: 576px) {
    .menu-modal__image {
        width: 120px;
    }
}

.menu-modal__description {
    color: #4a554d;
    line-height: 1.5;
    min-height: 48px;
}

#menuAddVariationContainer .variation-group {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    padding: 0.85rem;
    background: #f9faf8;
}

.menu-modal__quantity {
    border-top: 1px solid rgba(31, 31, 43, 0.05);
    padding-top: 1rem;
}

.menu-modal__qty-group {
    max-width: 270px;
    border-radius: 999px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #f8f8f8;
    min-height: 44px;
}

.menu-modal__qty-btn {
    background: transparent;
    border: none;
    color: #f4a440;
    font-weight: 800;
    width: 44px;
    min-height: 44px;
}

.menu-modal__qty-input {
    border: none;
    font-weight: 700;
    background: transparent;
    box-shadow: none;
    min-height: 44px;
}

.menu-modal__qty-input:focus {
    outline: none;
    box-shadow: none;
}

.menu-modal__totals {
    border-top: 1px solid rgba(31, 31, 43, 0.05);
    padding-top: 1rem;
}

.menu-modal__cancel {
    border-radius: 999px;
    padding: 0.6rem 1.5rem;
    background: rgba(15, 23, 42, 0.05);
    border: none;
    font-weight: 600;
    color: var(--text);
}

.menu-modal__submit {
    border-radius: 999px;
    padding: 0.35rem 1.8rem;
    border: none;
    background: linear-gradient(to right,#d1f2bb, #f6bb76, #ffb35b);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    font-size: 1.05rem;
}

.menu-modal__close {
    background: transparent;
    border-radius: 999px;
    padding: 0.35rem;
}

.menu-modal__qty-label {
    font-size: 1.05rem;
}

.menu-modal__submit-text {
    font-weight: 800;
}

.menu-modal__submit-icon {
    width: 1.1rem;
    height: 1.1rem;
    object-fit: contain;
    vertical-align: middle;
}

#menuAddModal .form-check-input {
    accent-color: var(--primary);
}

@media (max-width: 768px) {
    .food-hero {
        padding: 1.75rem;
        border-radius: 24px;
    }

    .order-items-card {
        padding: 1.5rem;
    }

    .customer-nav {
        padding: 0.5rem 1rem;
    }
}

.add-to-cart-btn.is-loading {
    pointer-events: none;
    opacity: 0.7;
}

.add-to-cart-btn.is-loading::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(255,255,255,0), rgba(255,255,255,0.5), rgba(255,255,255,0));
    opacity: 0.8;
    transform: skewX(-15deg);
    animation: shimmer 1s infinite;
}

@keyframes shimmer {
    0% { left: -120%; }
    100% { left: 120%; }
}

.lazy-section {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.lazy-section.is-visible {
    opacity: 1;
    transform: none;
}

.lazy-section .lazy-card {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.lazy-section.is-visible .lazy-card {
    opacity: 1;
    transform: none;
}

@media (max-width: 576px) {
    .order-card {
        padding: 1.25rem;
        border-radius: 24px;
    }

    .order-line {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 0.75rem;
        align-items: flex-start;
    }

    .order-line__meta {
        gap: 0.75rem;
    }

    .order-line__summary {
        grid-template-columns: auto;
        gap: 0.35rem;
        justify-items: end;
    }

    .order-line__controls {
        flex-direction: column;
        align-items: flex-end;
        gap: 0.35rem;
    }

    .order-line__thumb {
        width: 44px;
        height: 44px;
    }

    .order-quantity {
        min-width: 62px;
    }
}

.lazy-image {
    opacity: 0;
    transform: scale(0.98);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.lazy-image.is-loaded {
    opacity: 1;
    transform: scale(1);
}

.brand-logo {
    height: 72px;
    width: auto;
    display: block;
}

.modal-content {
    border: none;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.btn-dark {
    background-color: #000;
    border: none;
}

.btn-dark:hover {
    background-color: #222;
}

.cart-items-list .cart-item {
    background: #fdfdfd;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.cart-items-list .cart-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.login-modal-card {
    position: relative;
    background: #fbf6ef;
    border: none;
    border-radius: 24px;
    box-shadow: 0 22px 40px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.login-modal-close-icon {
    position: absolute;
    top: 14px;
    right: 14px;
    border: none;
    background: transparent;
    color: #f4a440;
    font-size: 1.1rem;
    z-index: 2;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.login-modal-input {
    border-radius: 999px;
    border: 1px solid rgba(110, 131, 103, 0.35);
    background: #fff;
    font-weight: 600;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    min-height: 48px;
}

.login-modal-input:focus {
    border-color: rgba(244, 164, 64, 0.7);
    box-shadow: 0 0 0 3px rgba(244, 164, 64, 0.15);
}

.login-modal-link {
    color: #f4a440;
    text-decoration: none;
    font-weight: 600;
}

.login-modal-link:hover {
    text-decoration: underline;
}

.login-modal-btn-primary {
    border-radius: 999px;
    border: none;
    background: linear-gradient(  to right,  #b3c879 0%,  #b2c77a 50%,  #ffb35b 100%);
    color: #fff;
    font-size: 1.05rem;
    box-shadow: 0 14px 24px rgba(0, 0, 0, 0.15);
}

.login-modal-btn-secondary {
    border-radius: 999px;
    border: 2px solid #f4a440;
    color: #f28c2c;
    font-size: 1.05rem;
    background: transparent;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

#loginModalLabel{

    font-size: 54px;
}

.login-modal-label {
    color: #2d2d2d;
    margin-left: 12px;
}

.login-modal-remember .form-check-input {
    border-radius: 6px;
    border: 1px solid rgba(111, 135, 100, 0.6);
    width: 1.1rem;
    height: 1.1rem;
}

.login-modal-remember .form-check {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 44px;
}

.login-modal-remember .form-check-input:checked {
    background-color: #8bb26d;
    border-color: #8bb26d;
}
.checkout-page {
    background: #f5f7f2;
    padding: 0.5rem;
    border-radius: 20px;
}

.checkout-heading {
    margin-bottom: 1.25rem;
}

.checkout-title {
    font-weight: 800;
    color: #3d4a3f;
}

.checkout-subtitle {
    color: #7e8a7a;
    font-weight: 600;
}

.checkout-count {
    color: #6d7568;
    font-weight: 700;
    margin: 0;
}

.checkout-grid {
    align-items: start;
}

.checkout-order-shell {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stall-card {
    background: linear-gradient(180deg, #eaf7db 0%, #dff1cf 100%);
    border-radius: 26px;
    padding: 1rem;
    box-shadow: 0 18px 34px rgba(63, 102, 42, 0.15);
    border: 1px solid #cde4b5;
}

.stall-card__header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
}

.stall-card.pork-surface--pork-free {
    background: linear-gradient(180deg, #eaf7db 0%, #dff1cf 100%);
    border-color: #cde4b5;
    box-shadow: 0 18px 34px rgba(63, 102, 42, 0.15);
}

.stall-card.pork-surface--non-pork-free {
    background: linear-gradient(180deg, #fff4e4 0%, #ffe7c8 100%);
    border-color: #f4d8ad;
    box-shadow: 0 18px 34px rgba(138, 86, 26, 0.14);
}

.stall-card.pork-surface--pending {
    background: linear-gradient(180deg, #f3f7ec 0%, #e9f1de 100%);
    border-color: #d7e3c6;
    box-shadow: 0 18px 34px rgba(76, 92, 57, 0.12);
}

.stall-card__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(145deg, #f8b763, #f4a23a);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 6px 12px rgba(0, 0, 0, 0.12);
}

.stall-card__title {
    font-weight: 800;
    color: #3d4a3f;
    margin: 0;
}

.stall-card__title-wrap {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-wrap: wrap;
}

.stall-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.item-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.04);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.08);
    padding: 0.85rem;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.75rem;
}

.item-card__thumb {
    width: 92px;
    height: 92px;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
}

.item-card__content {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.item-card__top-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
}

.item-card__title {
    font-weight: 800;
    color: #2f3d32;
    line-height: 1.15;
}

.item-card__remove {
    border: none;
    background: #ffe5e5;
    color: #d94a4a;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 16px rgba(217, 74, 74, 0.18);
}

.item-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.item-tag {
    background: #f3f7ef;
    color: #3f5a3a;
    border-radius: 10px;
    padding: 0.2rem 0.65rem;
    font-size: 0.82rem;
    border: 1px solid #d5e3c6;
    font-weight: 700;
}

.item-card__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.item-card__quantity {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.item-card__label {
    font-weight: 700;
    color: #586454;
}

.qty-control {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    border: 1px solid #e4e6e1;
    background: #fbfbfb;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
    overflow: hidden;
    min-height: 44px;
}

.qty-btn {
    border: none;
    background: transparent;
    color: #f4a23a;
    font-weight: 800;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
}

.order-quantity {
    border: none;
    width: 76px;
    text-align: center;
    font-weight: 700;
    background: transparent;
    min-height: 44px;
}

.order-quantity:focus {
    outline: none;
}

.item-card__price {
    text-align: right;
}

.item-card__price-value {
    font-weight: 800;
    color: #1f1f2b;
    font-size: 1.05rem;
}

.checkout-details-card {
    background: linear-gradient(180deg, #fffef9 0%, #fffaf0 100%);
    border: 1px solid #f2d9b2;
    border-radius: 34px;
    box-shadow: 0 20px 36px rgba(83, 71, 45, 0.12);
    padding: 1.3rem 1.45rem 1.6rem;
    position: relative;
    overflow: hidden;
}

.checkout-details-card__accent {
    position: absolute;
    width: 50px;
    right: 1rem;
    top: 0.9rem;
    pointer-events: none;
    opacity: 0.9;
}

.checkout-details-header {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.checkout-details-header h5 {
    font-weight: 800;
    color: #28353a;
    font-size: clamp(1.7rem, 2.8vw, 2.15rem);
}

.checkout-details-header__note {
    color: #7d8574;
    font-size: 0.92rem;
}

.checkout-details-panel {
    border-radius: 30px;
    border: 1.5px solid #f2b15f;
    background: linear-gradient(180deg, #fffefb 0%, #fff8ee 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 10px 22px rgba(228, 169, 90, 0.08);
    padding: 1.3rem 1.2rem 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checkout-details-label {
    color: #2b3136;
    margin-bottom: 0.45rem;
}

.checkout-inline-note {
    font-size: 0.88rem;
    color: #7b7f70;
    line-height: 1.45;
}

.checkout-field {
    margin-bottom: 0;
}

.checkout-page .pill-input,
.checkout-page .form-control.pill-input {
    border-radius: 999px;
    background: #fff;
    border: 1px solid #ecd7b0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.82);
    min-height: 48px;
    padding: 0.78rem 1rem;
}

.pill-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.pill-radio {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1rem;
    border-radius: 18px;
    border: 1px solid #e8dcc3;
    background: #fff;
    font-weight: 700;
    color: #3d4a3f;
    min-height: 44px;
    position: relative;
    cursor: pointer;
    box-shadow: 0 8px 16px rgba(115, 98, 65, 0.06);
}

.pill-radio .form-check-input {
    position: absolute;
    opacity: 0;
    inset: 0;
    width: auto;
    height: auto;
    margin: 0;
    cursor: pointer;
}

.pill-radio span {
    position: relative;
    padding-left: 2rem;
}

.pill-radio span::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 999px;
    border: 2px solid #d9c8a1;
    background: #fff;
    transform: translateY(-50%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.pill-radio .form-check-input:checked + span::before {
    border-color: #f29a30;
    box-shadow: inset 0 0 0 0.32rem #f29a30;
}

.pill-radio .form-check-input:focus-visible + span::before {
    outline: 3px solid rgba(242, 154, 48, 0.2);
    outline-offset: 2px;
}

.checkout-payment-shell {
    border-radius: 24px;
    border: 1px solid #ecd8b3;
    background: #fffdf8;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
    padding: 1rem;
}

.checkout-payment-shell__title {
    font-weight: 800;
    color: #2f3738;
    margin-bottom: 0.9rem;
}

.checkout-payment-mode {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.checkout-payment-mode__label {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #9b8761;
}

.checkout-payment-mode__icon {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fff2dc, #ffe2b4);
    color: #e6942f;
    font-size: 1rem;
    flex: 0 0 auto;
}

.checkout-payment-mode__singlebox {
    border: 1px solid #efc27a;
    border-radius: 18px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 10px 18px rgba(106, 88, 51, 0.06);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.checkout-payment-mode__singlebox.is-open {
    border-color: #e4b463;
    box-shadow: 0 14px 24px rgba(106, 88, 51, 0.1);
}

.checkout-payment-mode__row,
.checkout-payment-mode__option {
    width: 100%;
    border: 0;
    background: #fff;
    padding: 0.9rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-align: left;
    color: inherit;
}

.checkout-payment-mode__row {
    min-height: 58px;
    cursor: pointer;
}

.checkout-payment-mode__row:disabled {
    cursor: default;
}

.checkout-payment-mode__leading {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-width: 0;
    flex: 1 1 auto;
}

.checkout-payment-mode__copy {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
    min-width: 0;
    flex: 1 1 auto;
}

.checkout-payment-mode__copy strong {
    color: #2e3130;
    font-size: 0.98rem;
}

.checkout-payment-mode__meta {
    display: block;
    color: #7b7f70;
    font-size: 0.82rem;
    line-height: 1.3;
}

.checkout-payment-mode__arrow {
    color: #b38b4c;
    font-size: 0.92rem;
    flex: 0 0 auto;
    transition: transform 0.25s ease;
}

.checkout-payment-mode__singlebox.is-open .checkout-payment-mode__arrow {
    transform: rotate(180deg);
}

.checkout-payment-mode__panel {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    background: #fffdfa;
    transition: max-height 0.28s ease, opacity 0.22s ease;
}

.checkout-payment-mode__option {
    min-height: 56px;
    background: #fffdfa;
    border-top: 1px solid rgba(239, 194, 122, 0.32);
    cursor: pointer;
    transition: background 0.18s ease, opacity 0.18s ease;
}

.checkout-payment-mode__option:hover,
.checkout-payment-mode__option:focus-visible {
    background: #fff4df;
}

.checkout-payment-mode__option[hidden],
.checkout-payment-mode__option.is-selected {
    display: none;
}

.checkout-payment-mode__option.is-locked {
    opacity: 0.6;
    cursor: not-allowed;
}

.checkout-payment-mode__option:disabled:hover,
.checkout-payment-mode__option:disabled:focus-visible {
    background: #fffdfa;
}

.checkout-payment-selector {
    position: relative;
}

.checkout-payment-selector__trigger {
    width: 100%;
    border: 1px solid #ecd6af;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 18px rgba(106, 88, 51, 0.06);
    min-height: 56px;
    padding: 0.8rem 0.95rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.9rem;
    text-align: left;
    color: inherit;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.checkout-payment-selector__trigger:hover,
.checkout-payment-selector__trigger:focus-visible,
.checkout-payment-selector__trigger.is-open {
    border-color: #e9bf73;
    box-shadow: 0 14px 24px rgba(106, 88, 51, 0.1);
}

.checkout-payment-selector__trigger.is-static {
    cursor: default;
}

.checkout-payment-selector__trigger:disabled {
    opacity: 1;
}

.checkout-payment-selector__leading {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
    flex: 1 1 auto;
}

.checkout-payment-selector__copy,
.checkout-payment-selector__option-copy {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.checkout-payment-selector__copy strong,
.checkout-payment-selector__option-copy strong {
    color: #2e3130;
    font-size: 0.98rem;
}

.checkout-payment-selector__copy span,
.checkout-payment-selector__option-copy span {
    color: #7b7f70;
    font-size: 0.82rem;
    line-height: 1.35;
}

.checkout-payment-selector__chevron {
    color: #b38b4c;
    font-size: 0.9rem;
    flex: 0 0 auto;
    transition: transform 0.18s ease;
}

.checkout-payment-selector__trigger[aria-expanded="true"] .checkout-payment-selector__chevron {
    transform: rotate(180deg);
}

.checkout-payment-selector__menu {
    display: grid;
    gap: 0.55rem;
    margin-top: 0.65rem;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: max-height 0.26s ease, opacity 0.2s ease, transform 0.2s ease;
}

.checkout-payment-selector.is-open .checkout-payment-selector__menu {
    opacity: 1;
    max-height: 320px;
    overflow-y: auto;
    transform: translateY(0);
    pointer-events: auto;
}

.checkout-payment-selector__option {
    width: 100%;
    border: 1px solid #ebd7b4;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 18px rgba(95, 78, 44, 0.05);
    min-height: 56px;
    padding: 0.8rem 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-align: left;
    color: inherit;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, opacity 0.18s ease;
}

.checkout-payment-selector__option:hover,
.checkout-payment-selector__option:focus-visible {
    border-color: #e9bf73;
    box-shadow: 0 14px 24px rgba(106, 88, 51, 0.1);
    transform: translateY(-1px);
}

.checkout-payment-selector__option.is-selected,
.checkout-payment-selector__option[hidden] {
    display: none;
}

.checkout-payment-selector__option.is-locked {
    border-style: dashed;
    background: #fcfaf5;
    opacity: 0.75;
    cursor: not-allowed;
}

.checkout-payment-selector__option:disabled:hover,
.checkout-payment-selector__option:disabled:focus-visible {
    transform: none;
    box-shadow: 0 10px 18px rgba(95, 78, 44, 0.05);
}

.checkout-benefit-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-top: 0.85rem;
}

.checkout-benefit-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    min-height: 94px;
    padding: 0.9rem 0.95rem;
    border-radius: 20px;
    border: 1px solid #ebd7b4;
    background: #fff;
    box-shadow: 0 10px 18px rgba(95, 78, 44, 0.05);
    overflow: hidden;
}

.checkout-benefit-card--point {
    cursor: pointer;
}

.checkout-benefit-card.is-empty {
    background: #fffdf8;
}

.checkout-benefit-card.is-locked {
    border-style: dashed;
    background: #fcfaf5;
}

.checkout-benefit-card.is-active,
.checkout-benefit-checkbox:checked ~ .checkout-benefit-card__content {
    color: inherit;
}

.checkout-benefit-card__icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fff2d8, #ffe4b5);
    color: #e2902a;
    font-size: 1.02rem;
    flex: 0 0 auto;
}

.checkout-benefit-card__content {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.checkout-benefit-card__eyebrow {
    color: #a0895d;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.checkout-benefit-card__title {
    color: #2d3436;
    font-weight: 800;
    line-height: 1.2;
}

.checkout-benefit-card__meta {
    color: #7f7a68;
    font-size: 0.82rem;
    line-height: 1.3;
}

.checkout-benefit-card__badge {
    margin-left: auto;
    align-self: flex-start;
    padding: 0.32rem 0.58rem;
    border-radius: 999px;
    background: #e6f4cc;
    color: #5f8b22;
    font-size: 0.78rem;
    font-weight: 800;
    flex: 0 0 auto;
}

.checkout-benefit-checkbox {
    position: absolute;
    inset: 0;
    opacity: 0;
    margin: 0;
    cursor: pointer;
    z-index: 2;
}

.checkout-benefit-card__toggle {
    margin-left: auto;
    width: 3.1rem;
    height: 1.8rem;
    border-radius: 999px;
    background: #ece3ce;
    padding: 0.2rem;
    display: inline-flex;
    align-items: center;
    transition: background 0.2s ease;
    flex: 0 0 auto;
}

.checkout-benefit-card__toggle-knob {
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 3px 7px rgba(0, 0, 0, 0.16);
    transition: transform 0.2s ease;
}

.checkout-benefit-checkbox:checked ~ .checkout-benefit-card__toggle {
    background: linear-gradient(135deg, #d7f1a2, #f3ac48);
}

.checkout-benefit-checkbox:checked ~ .checkout-benefit-card__toggle .checkout-benefit-card__toggle-knob {
    transform: translateX(1.28rem);
}

.checkout-benefit-checkbox:checked ~ .checkout-benefit-card__content .checkout-benefit-card__title,
.checkout-benefit-checkbox:checked ~ .checkout-benefit-card__content .checkout-benefit-card__meta {
    color: #406235;
}

.checkout-benefit-checkbox:focus-visible ~ .checkout-benefit-card__toggle {
    box-shadow: 0 0 0 3px rgba(242, 154, 48, 0.22);
}

.checkout-benefit-checkbox:disabled {
    cursor: not-allowed;
}

.checkout-benefit-checkbox:disabled ~ .checkout-benefit-card__toggle {
    opacity: 0.5;
}

.checkout-summary {
    border-top: 1px dashed rgba(0, 0, 0, 0.08);
    padding-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.98rem;
    color: #6e705f;
}

.checkout-summary__total {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 0.8rem;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    color: #20262d;
    font-weight: 800;
}

.checkout-summary__total strong {
    font-size: 1.75rem;
    line-height: 1;
}

.checkout-page .checkout-btn {
    background: linear-gradient(135deg, #d8f5a2, #f4a23a);
    color: white;
    font-weight: 800;
    border: 1px solid #f2d9b2;
    box-shadow: 0 18px 32px rgba(244, 162, 58, 0.26);
    min-height: 52px;
    border-radius: 999px;
    margin-top: 0.15rem;
}

.checkout-page .checkout-btn:hover {
    filter: brightness(0.98);
}

@media (max-width: 768px) {
    .checkout-page {
        padding: 0.25rem;
    }

    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .stall-card {
        padding: 0.85rem;
        border-radius: 20px;
    }

    .stall-card__header {
        gap: 0.5rem;
    }

    .item-card {
        grid-template-columns: 1fr;
        padding: 0.75rem;
        border-radius: 16px;
    }

    .item-card__thumb {
        width: 80px;
        height: 80px;
    }

    .item-card__remove {
        width: 44px;
        height: 44px;
    }

    .item-card__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .item-card__quantity {
        width: 100%;
        justify-content: space-between;
    }

    .qty-control {
        width: 100%;
        justify-content: space-between;
    }

    .item-card__price {
        width: 100%;
        text-align: left;
    }

    .checkout-details-card {
        border-radius: 22px;
        padding: 1rem 1.1rem 1.25rem;
    }

    .checkout-details-panel {
        padding: 1rem 0.95rem 1rem;
        border-radius: 24px;
    }

    .checkout-summary__total strong {
        font-size: 1.4rem;
    }
}
.food-card__footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.food-card__price {
    font-weight: 700;
    color: #0f172a;
}

.menu-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.alert {
    border-radius: 1rem;
}

.alert-info {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    box-shadow: 0 25px 45px rgba(138, 188, 117, 0.25);
    padding: 1rem 1.25rem;
}

.alert-info .btn-close {
    filter: invert(1);
}
.login-modal .btn-close {
    background: rgba(15, 23, 42, 0.08);
    border-radius: 999px;
    padding: 0.35rem;
}

.login-modal .btn-close:focus {
    box-shadow: none;
}

.login-modal .btn-close:hover {
    background: rgba(15, 23, 42, 0.15);
}
.btn-theme {
    background: linear-gradient(135deg, #f7c46a, #f29a30);
    color: #fff;
    border: none;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.18);
}

.btn-theme-outline {
    border: 1px solid var(--accent);
    color: var(--accent);
    background: transparent;
}

.btn-theme-outline:hover,
.btn-theme:hover {
    color: #fff;
    filter: brightness(0.95);
}
.auth-page-shell {
    min-height: calc(100vh - 140px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background: radial-gradient(circle at top, rgba(255, 255, 255, 0.92), #f6f1e9);
}

.auth-page-card {
    max-width: 520px;
    width: 100%;
    border-radius: 28px;
    box-shadow: 0 24px 46px rgba(0, 0, 0, 0.16);
    padding: 1.5rem 1.75rem 2rem;
}

.auth-page-form {
    margin-top: 0.5rem;
}

.auth-page-form .login-modal-input {
    border-radius: 14px;
}

.auth-page-form .login-modal-label {
    font-weight: 700;
}

/* Order Success */
.success-page {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-bottom: 1rem;
}

.success-page__flash {
    border-radius: 22px;
    padding: 0.95rem 1.15rem;
    font-weight: 600;
    box-shadow: 0 12px 24px rgba(30, 52, 45, 0.08);
}

.success-page__flash--success {
    background: #eef9df;
    color: #2f6d42;
    border: 1px solid rgba(80, 146, 81, 0.18);
}

.success-page__flash--danger {
    background: #fff0ec;
    color: #9c3f31;
    border: 1px solid rgba(184, 91, 72, 0.18);
}

.success-hero,
.success-collect-card,
.success-receipt-card,
.success-qr-modal {
    position: relative;
    background: linear-gradient(180deg, #fffdf8, #fffaf3);
    border: 1px solid rgba(213, 189, 143, 0.36);
    border-radius: 32px;
    box-shadow: 0 20px 34px rgba(36, 48, 42, 0.12);
    overflow: hidden;
}

.success-page--failed .success-hero,
.success-page--failed .success-collect-card,
.success-page--failed .success-receipt-card {
    border-color: rgba(197, 112, 94, 0.28);
}

.success-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
    min-height: 320px;
}

.success-hero--banner {
    display: block;
    min-height: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

.success-hero__banner-shell {
    overflow: hidden;
    border-radius: 0;
    background: transparent;
}

.success-hero__banner-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0;
}

.success-hero__content {
    padding: clamp(1.4rem, 3vw, 2rem);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.success-hero__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.success-hero__eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #f09b35;
}

.success-hero__title {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    letter-spacing: -0.03em;
}

.success-hero__copy {
    margin: 0.55rem 0 0;
    max-width: 42rem;
    color: #7b796d;
    font-size: 0.98rem;
    line-height: 1.65;
}

.success-hero__queue {
    flex: 0 0 auto;
    min-width: 154px;
    border-radius: 22px;
    padding: 0.9rem 1rem;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(214, 194, 157, 0.38);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
    text-align: center;
}

.success-hero__queue-label {
    display: block;
    margin-bottom: 0.2rem;
    color: #8f8779;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.success-hero__queue-value {
    display: block;
    color: #2b2d2c;
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.success-store-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.success-store-chip {
    border-radius: 999px;
    padding: 0.5rem 0.95rem;
    background: #fff;
    border: 1px solid rgba(213, 189, 143, 0.34);
    color: #5f6259;
    font-size: 0.82rem;
    font-weight: 600;
}

.success-progress {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.35rem;
    padding-top: 0.35rem;
    --progress-fill: 0%;
}

.success-progress::before,
.success-progress::after {
    content: "";
    position: absolute;
    left: 0;
    top: 1.1rem;
    height: 6px;
    border-radius: 999px;
}

.success-progress::before {
    right: 0;
    background: #ece3d5;
}

.success-progress::after {
    width: var(--progress-fill);
    background: linear-gradient(90deg, #aac557, #f4a33c);
}

.success-progress__step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
}

.success-progress__dot {
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #fff;
    border: 3px solid #efe4d6;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.84);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.success-progress__step.is-active .success-progress__dot {
    background: linear-gradient(180deg, #ffcf74, #f7a33a);
    border-color: #f3ac4a;
}

.success-progress__step.is-current .success-progress__dot {
    transform: scale(1.16);
    box-shadow: 0 0 0 7px rgba(255, 193, 87, 0.26);
}

.success-progress__label {
    color: #4b4c48;
    font-size: 0.86rem;
    font-weight: 500;
    line-height: 1.35;
}

.success-progress__step.is-active .success-progress__label {
    color: #2b2f2a;
}

.success-hero__nowline {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(214, 194, 157, 0.28);
    color: #262726;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 500;
    text-align: center;
}

.success-hero__nowtext {
    color: #6d6a63;
}

.success-hero__art {
    position: relative;
    padding: 1rem;
    display: flex;
    align-items: stretch;
    justify-content: center;
    background: radial-gradient(circle at top left, rgba(255, 216, 147, 0.45), rgba(246, 241, 230, 0.6) 38%, rgba(255, 255, 255, 0.2) 70%);
    border-left: 1px solid rgba(214, 194, 157, 0.28);
}

.success-hero__artboard {
    width: 100%;
    min-height: 250px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 82% 22%, rgba(255, 210, 120, 0.3), transparent 26%),
        radial-gradient(circle at 24% 76%, rgba(255, 255, 255, 0.9), rgba(244, 238, 228, 0.55));
    overflow: hidden;
    display: block;
    padding: 0.35rem;
}

.success-hero__art-image {
    width: 100%;
    height: 100%;
    min-height: 242px;
    display: block;
    object-fit: contain;
    object-position: center center;
    border-radius: 24px;
    box-shadow: 0 14px 30px rgba(36, 48, 42, 0.08);
}

.success-page__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    gap: 1.5rem;
    align-items: start;
}

.success-collect-card {
    padding: 1.45rem;
}

.success-section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

.success-section-heading__kicker {
    margin: 0 0 0.35rem;
    color: #8d856f;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.success-section-heading h2 {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 600;
    letter-spacing: -0.03em;
}

.success-section-heading p {
    margin: 0.55rem 0 0;
    color: #76746a;
    line-height: 1.65;
    max-width: 32rem;
}

.success-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0.5rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(213, 189, 143, 0.36);
    color: #4c5248;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
}

.success-pill--solid {
    background: linear-gradient(135deg, #ffd079, #f4a13d);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 12px 20px rgba(244, 161, 61, 0.2);
}

.success-qr-hero {
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1fr);
    gap: 1.2rem;
    align-items: center;
}

.success-qr-list {
    display: grid;
    gap: 1rem;
}

.success-qr-list__item {
    min-width: 0;
}

.success-receipt-pane {
    display: none;
}

.success-receipt-pane.is-active {
    display: block;
}

.success-qr-hero__frame {
    width: 100%;
    aspect-ratio: 1;
    border: 3px dashed rgba(208, 188, 153, 0.7);
    border-radius: 32px;
    background: linear-gradient(180deg, #fffdf9, #fff8ef);
    padding: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92);
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.success-qr-hero__frame:hover,
.success-qr-hero__frame:focus-visible {
    transform: translateY(-1px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 12px 28px rgba(36, 48, 42, 0.12);
}

.success-qr-hero__frame svg {
    width: min(100%, 320px);
    height: auto;
}

.success-qr-hero__status h3 {
    margin: 0.95rem 0 0.5rem;
    font-size: 1.55rem;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.success-qr-hero__status p {
    margin: 0;
    color: #75726b;
    line-height: 1.65;
}

.success-qr-hero__counter {
    margin-top: 0.8rem;
    color: #8b8578;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.success-qr-hero__meta {
    margin-top: 0.9rem;
    color: #8d8675;
    font-size: 0.9rem;
    font-weight: 600;
}

.success-qr-hero__collect-label {
    padding: 0.35rem 0.65rem;
    background: #f0ece3;
    border-radius: 8px;
    color: #5a5346;
    font-size: 0.88rem;
    font-weight: 600;
    display: inline-block;
}

.success-qr-nav,
.success-receipt-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.1rem;
}

.success-qr-nav__button,
.success-receipt-nav__button {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    border: 1px solid rgba(213, 189, 143, 0.36);
    background: rgba(255, 255, 255, 0.92);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #514b40;
    box-shadow: 0 10px 20px rgba(36, 48, 42, 0.08);
    transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.success-qr-nav__button:hover,
.success-qr-nav__button:focus-visible,
.success-receipt-nav__button:hover,
.success-receipt-nav__button:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(36, 48, 42, 0.1);
}

.success-qr-nav__count,
.success-receipt-nav__count {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-width: 84px;
    justify-content: center;
    color: #4b463c;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.success-qr-dots,
.success-receipt-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.9rem;
}

.success-qr-dot,
.success-receipt-dot {
    width: 11px;
    height: 11px;
    border-radius: 999px;
    border: 0;
    background: rgba(185, 176, 157, 0.5);
    padding: 0;
    transition: transform 0.16s ease, background-color 0.16s ease;
}

.success-qr-dot.is-active,
.success-receipt-dot.is-active {
    background: linear-gradient(135deg, #ffd079, #f4a13d);
    transform: scale(1.15);
}

.success-qr-placeholder {
    text-align: center;
    padding: 0.35rem 0 0.1rem;
}

.success-qr-placeholder__frame {
    position: relative;
    width: min(100%, 430px);
    aspect-ratio: 1;
    margin: 0 auto 1.25rem;
    border-radius: 34px;
    border: 3px dashed rgba(208, 188, 153, 0.7);
    background: linear-gradient(180deg, #fffdf9, #fdf6ea);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-qr-placeholder__frame--soft {
    background: linear-gradient(180deg, #fffefb, #f6f3eb);
}

.success-qr-placeholder__ghost {
    width: 72%;
    height: 72%;
    border-radius: 28px;
    background:
        linear-gradient(90deg, rgba(194, 192, 190, 0.54) 14%, transparent 14% 32%, rgba(194, 192, 190, 0.54) 32% 46%, transparent 46% 58%, rgba(194, 192, 190, 0.54) 58% 74%, transparent 74%),
        linear-gradient(rgba(194, 192, 190, 0.54) 14%, transparent 14% 32%, rgba(194, 192, 190, 0.54) 32% 46%, transparent 46% 58%, rgba(194, 192, 190, 0.54) 58% 74%, transparent 74%);
    filter: blur(3px);
    opacity: 0.85;
}

.success-qr-placeholder__lock,
.success-qr-placeholder__check {
    position: absolute;
    width: 94px;
    height: 94px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 28px rgba(41, 53, 47, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-qr-placeholder__lock i,
.success-qr-placeholder__check i {
    font-size: 2.5rem;
}

.success-qr-placeholder__lock i {
    color: #787979;
}

.success-qr-placeholder__check i {
    color: #84b15b;
}

.success-qr-placeholder h3 {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.success-qr-placeholder p {
    max-width: 28rem;
    margin: 0.65rem auto 0;
    color: #7b776d;
    line-height: 1.65;
}

.success-receipt-stack {
    display: grid;
    gap: 1.2rem;
}

.success-receipt-carousel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.success-receipt-card {
    padding: 1.35rem 1.3rem 1.45rem;
}

.success-receipt-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 86% 14%, rgba(253, 211, 130, 0.24), transparent 26%),
        linear-gradient(180deg, transparent 0, rgba(255, 255, 255, 0.1) 100%);
    pointer-events: none;
}

.success-status-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(213, 189, 143, 0.34);
    color: #4c5145;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.success-receipt-card__download {
    position: absolute;
    top: 0.95rem;
    right: 0.95rem;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    border: 1px solid rgba(213, 189, 143, 0.34);
    background: rgba(255, 255, 255, 0.92);
    color: #474a44;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 18px rgba(36, 48, 42, 0.08);
}

.success-receipt-card__download:hover,
.success-receipt-card__download:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(36, 48, 42, 0.12);
}

.success-receipt-card__brand {
    display: flex;
    justify-content: center;
    margin-bottom: 0.85rem;
    padding-top: 1.6rem;
}

.success-receipt-card__brand img {
    max-width: min(180px, 72%);
    max-height: 84px;
    object-fit: contain;
}

.success-receipt-card__queue,
.success-receipt-card__fulfilment,
.success-receipt-card__subtext,
.success-receipt-card__meta {
    text-align: center;
}

.success-receipt-card__queue {
    color: #2e2f2d;
    font-size: clamp(1.25rem, 2vw, 1.65rem);
    font-weight: 600;
    letter-spacing: 0.01em;
}

.success-receipt-card__fulfilment {
    margin-top: 0.45rem;
    color: #373a35;
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.success-receipt-card__subtext {
    margin-top: 0.2rem;
    color: #7c786e;
    font-size: 0.94rem;
}

.success-receipt-card__meta {
    margin-top: 0.55rem;
    color: #8d877a;
    font-size: 0.83rem;
}

.success-receipt-card__divider {
    margin: 1rem 0;
    border-top: 1px dashed rgba(163, 151, 126, 0.46);
}

.success-receipt-card__items,
.success-receipt-card__summary,
.success-receipt-card__customer {
    position: relative;
    z-index: 1;
}

.success-receipt-card__store-block {
    display: grid;
    gap: 1rem;
}

.success-receipt-card__store-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.9rem;
}

.success-receipt-card__store-copy {
    min-width: 0;
}

.success-receipt-card__store-title {
    color: #2c2d2b;
    font-size: 0.98rem;
    font-weight: 700;
}

.success-receipt-card__store-meta {
    margin-top: 0.22rem;
    color: #7c786e;
    font-size: 0.8rem;
    line-height: 1.55;
    text-transform: uppercase;
}

.success-receipt-card__store-status {
    flex: 0 0 auto;
    padding-top: 0.12rem;
    color: #5a5d57;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-align: right;
    text-transform: uppercase;
    white-space: nowrap;
}

.success-receipt-card__row,
.success-receipt-card__summary-row,
.success-receipt-card__customer-line {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.9rem;
}

.success-receipt-card__row + .success-receipt-card__row,
.success-receipt-card__summary-row + .success-receipt-card__summary-row,
.success-receipt-card__customer-line + .success-receipt-card__customer-line {
    margin-top: 0.7rem;
}

.success-receipt-card__row-copy {
    min-width: 0;
}

.success-receipt-card__item {
    color: #2c2d2b;
    font-size: 0.96rem;
    font-weight: 600;
}

.success-receipt-card__item-meta {
    margin-top: 0.18rem;
    color: #7c786e;
    font-size: 0.82rem;
    line-height: 1.55;
}

.success-receipt-card__amount {
    color: #2c2d2b;
    font-size: 0.92rem;
    font-weight: 700;
    white-space: nowrap;
}

.success-receipt-card__summary-row {
    color: #5c5e59;
    font-size: 0.9rem;
}

.success-receipt-card__summary-row--discount {
    color: #c06553;
}

.success-receipt-card__summary-row--total {
    color: #222523;
    font-size: 1rem;
    font-weight: 700;
}

.success-receipt-card__customer {
    color: #676a64;
    font-size: 0.83rem;
    line-height: 1.6;
}

.success-receipt-card__customer-line span:last-child {
    text-align: right;
}

.success-receipt-card__customer-note {
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px dashed rgba(163, 151, 126, 0.34);
    color: #50534e;
}

.success-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.success-detail-pagination {
    display: grid;
    gap: 0.9rem;
    justify-items: center;
    margin-bottom: 1.2rem;
}

.success-detail-pagination__meta {
    color: #7d7568;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.success-detail-pagination__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.success-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 164px;
    padding: 0.9rem 1.4rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(213, 189, 143, 0.34);
    color: #434743;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(36, 48, 42, 0.08);
}

.success-action:hover,
.success-action:focus-visible {
    color: #2f3330;
    transform: translateY(-1px);
}

.success-action--primary {
    background: linear-gradient(135deg, #ffcb72, #f29a30);
    border-color: transparent;
    color: #fff;
}

.success-action--primary:hover,
.success-action--primary:focus-visible {
    color: #fff;
}

.success-qr-modal {
    padding: 0.1rem 0.1rem 0.4rem;
}

.success-qr-modal__frame {
    width: min(100%, 340px);
    height: min(100vw - 4rem, 340px);
    margin: 0 auto 1rem;
    border-radius: 28px;
    border: 2px dashed rgba(208, 188, 153, 0.7);
    background: #fffdf8;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-qr-modal__frame svg {
    width: 100%;
    height: auto;
}

@media (max-width: 1199.98px) {
    .success-page__grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 991.98px) {
    .success-hero {
        grid-template-columns: minmax(0, 1fr);
    }

    .success-hero--banner {
        padding: 0;
    }

    .success-hero__art {
        border-left: 0;
        border-top: 1px solid rgba(214, 194, 157, 0.28);
    }

    .success-qr-hero {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 767.98px) {
    .success-hero__header,
    .success-section-heading {
        flex-direction: column;
        align-items: stretch;
    }

    .success-hero__queue {
        width: 100%;
    }

    .success-progress {
        gap: 0.18rem;
    }

    .success-progress__label {
        font-size: 0.72rem;
    }

    .success-hero__nowline {
        font-size: 1.85rem;
    }

    .success-receipt-card {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .success-receipt-card__queue {
        font-size: 1.15rem;
    }

    .success-receipt-card__fulfilment {
        font-size: 1.22rem;
    }

    .success-receipt-card__store-head {
        flex-direction: column;
        gap: 0.35rem;
    }

    .success-receipt-card__store-status {
        text-align: left;
    }

    .success-action {
        width: 100%;
    }

    .success-detail-pagination__actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }
}

@media print {
    body {
        background: #fff !important;
    }

    .sticky-header,
    .footer,
    .floating-cart-bar-wrap,
    .success-page__flash,
    .success-hero,
    .success-collect-card,
    .success-detail-pagination,
    .success-actions,
    .success-receipt-card__download,
    .modal {
        display: none !important;
    }

    .layout-shell main {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .layout-shell .container {
        max-width: none !important;
        width: 100% !important;
    }

    .success-page {
        gap: 0;
    }

    .success-page__grid {
        display: block;
    }

    .success-receipt-stack {
        gap: 1rem;
    }

    .success-receipt-card {
        box-shadow: none !important;
        border: 1px solid #d8d8d8 !important;
        break-inside: avoid;
        page-break-inside: avoid;
        margin-bottom: 1rem;
    }
}

/* â”€â”€ Narrow screens (Galaxy Z Fold cover, small phones) â”€â”€ */
@media (max-width: 399px) {
    .customer-nav {
        padding: 0.6rem 0.6rem;
        gap: 0.3rem;
        border-radius: 16px 16px 26px 26px;
    }

    .brand-butterfly {
        width: 36px;
    }

    .brand-wordmark {
        width: 64px;
    }

    .brand-wordmark__name {
        font-size: 1.3rem;
    }

    .brand-wordmark__kicker {
        font-size: 0.65rem;
    }

    .nav-pill {
        padding: 0.3rem 0.5rem;
        font-size: 0.7rem;
        min-height: 38px;
    }

    .layout-shell main {
        padding-top: 5.5rem;
    }

    .search-card {
        padding: 0.75rem 0.8rem;
    }

    .search-card__input {
        font-size: 0.85rem;
    }

    .search-chip {
        padding: 0.35rem 0.7rem;
        font-size: 0.78rem;
        min-height: 38px;
    }

    .store-card {
        border-radius: 14px;
        padding: 0.75rem 0.8rem;
        margin-bottom: 16px;
    }

    .store-card__header {
        gap: 0.6rem;
    }

    .store-card__logo,
    .store-card__logo-placeholder {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .store-card__title-row {
        font-size: 0.85rem;
    }

    .menu-card-grid--portrait {
        grid-template-columns: 1fr;
    }

    .menu-card-grid--portrait .menu-card {
        flex: 0 0 100%;
        min-width: 100%;
    }

    .menu-card {
        min-width: 0;
        padding: 0.55rem 0.6rem;
        border-radius: 14px;
    }

    .menu-card__body {
        grid-template-columns: 48px 1fr;
        gap: 0.45rem;
    }

    .menu-card__thumb {
        width: 48px;
        height: 48px;
        border-radius: 12px;
    }

    .menu-card__title {
        font-size: 0.8rem;
    }

    .menu-card__meta,
    .menu-card__desc {
        font-size: 0.72rem;
    }

    .menu-card__price {
        font-size: 0.82rem;
    }

    .menu-card__footer {
        gap: 0.5rem;
    }

    .popular-strip {
        grid-template-columns: 1fr;
    }

    .popular-card {
        width: 85vw;
        min-width: 85vw;
        padding: 0.75rem 0.8rem;
        border-radius: 14px;
    }

    .popular-card__body {
        grid-template-columns: 60px 1fr;
        gap: 0.6rem;
    }

    .popular-card__thumb {
        width: 60px;
        height: 60px;
        border-radius: 12px;
    }

    .popular-card__title {
        font-size: 0.88rem;
    }

    .popular-card__meta {
        font-size: 0.78rem;
    }

    .popular-card__price {
        font-size: 0.9rem;
    }

    .add-to-cart-btn {
        width: 32px;
        height: 32px;
    }

    .section-heading h5 {
        font-size: 1rem;
    }

    .floating-cart-bar {
        padding: 0.6rem 0.8rem;
        border-radius: 14px;
    }

    .pork-status-badge__image {
        height: 22px;
    }

    .search-chip--pork-img .pork-status-badge__image {
        height: 28px;
    }
}

/* â”€â”€â”€ Variation quantity stepper (table layout) â”€â”€â”€ */
.variation-table {
    display: table;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 0.15rem;
}

.variation-qty-row {
    display: table-row;
}

.variation-qty-name,
.variation-qty-price,
.variation-qty-group {
    display: table-cell;
    vertical-align: middle;
    padding: 0.3rem 0;
}

.variation-qty-name {
    font-size: clamp(0.72rem, 2.8vw, 0.88rem);
    line-height: 1.25;
    padding-right: 0.5rem;
    word-break: break-word;
}

.variation-qty-price {
    font-size: clamp(0.68rem, 2.5vw, 0.82rem);
    white-space: nowrap;
    padding-right: 0.5rem;
    text-align: right;
}

.variation-qty-group {
    white-space: nowrap;
    text-align: right;
    width: 1%;
}

.variation-qty-group .btn {
    width: 28px;
    height: 28px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    line-height: 1;
    border-radius: 50%;
}

.variation-qty-value {
    display: inline-block;
    font-weight: 600;
    font-size: 0.95rem;
    min-width: 1.5rem;
    text-align: center;
}


/* Preorder menu add modal — phone scroll fix */
#menuAddModal .modal-dialog {
    max-height: calc(100vh - 1rem);
}
#menuAddModal .menu-modal {
    max-height: calc(100vh - 1rem);
    overflow: hidden;
}
#menuAddModal .menu-modal__body {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex: 1 1 auto;
}
@media (max-width: 576px) {
    #menuAddModal .modal-dialog {
        margin: 0.5rem;
        max-height: calc(100vh - 1rem);
    }
    #menuAddModal .menu-modal {
        border-radius: 20px;
        padding: 0.25rem 0.25rem 0.75rem;
    }
    #menuAddModal .menu-modal__header {
        padding: 0.85rem 1rem 0.5rem;
    }
    #menuAddModal .menu-modal__body {
        padding: 0.5rem 1rem;
    }
}
