/* Main Styles */

:root {
    --primary: #0d47a1;
    --primary-light: #1565c0;
    --accent: #c6a24f;
    --display-font: "Playfair Display", Georgia, serif;
    --bg: #f4f6f8;
    --card: #ffffff;
    --card-elevated: #edf1f5;
    --text: #10131a;
    --text-secondary: #5b6675;
    --text-muted: #b2bcc8;
    --border: #dce2e9;
    --success: #2d8a5f;
    --warning: #d8892b;
    --danger: #c53c3c;
    --info: #2d6aa0;
    --loyalty: #2d6aa0;
    --safe-bottom: env(safe-area-inset-bottom);
    --shadow-color: rgba(13,71,161,0.08);
    --mobile-header-height: max(56px, env(safe-area-inset-top));
}

@media (max-width: 1199px) {
    :root {
        --bg: #f3f7f9;
        --card: #ffffff;
        --card-elevated: #e8f0f4;
        --text: #0d1f2f;
        --text-secondary: #536575;
        --border: #d8e2e8;
        --shadow-color: rgba(13, 31, 47, 0.12);
    }

    body {
        background:
            linear-gradient(180deg, rgba(13, 71, 161, 0.08), rgba(243, 247, 249, 0) 260px),
            var(--bg);
    }

    .app {
        background: transparent;
    }

    .home-hero-light {
        padding: 14px 14px 12px;
    }

    .home-hero-light__card {
        display: grid;
        gap: 14px;
        padding: 14px;
        border: 1px solid rgba(13, 71, 161, 0.12);
        border-radius: 18px;
        background: #ffffff;
        box-shadow: 0 18px 34px rgba(13, 31, 47, 0.12);
    }

    .home-hero-light__media {
        min-height: 160px;
        border-radius: 14px;
        overflow: hidden;
        background: linear-gradient(135deg, #e8f0f4, #ffffff);
        display: grid;
        place-items: center;
    }

    .home-hero-light__media img {
        width: 100%;
        height: 100%;
        min-height: 160px;
        object-fit: cover;
        display: block;
    }

    .home-hero-light__media span {
        font-size: 58px;
    }

    .home-hero-light__brand {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .home-hero-light__logo {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        background: #0d47a1;
        color: #ffffff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 10px 22px rgba(13, 71, 161, 0.2);
    }

    .home-hero-light__title {
        font-family: var(--display-font);
        font-size: 23px;
        font-weight: 800;
        color: #0d47a1;
        line-height: 1;
    }

    .home-hero-light__subtitle {
        color: #c6a24f;
        font-size: 11px;
        font-weight: 900;
        letter-spacing: 0.1em;
        text-transform: uppercase;
    }

    .home-hero-light__headline {
        margin: 0;
        font-family: var(--display-font);
        font-size: 30px;
        line-height: 1.04;
        color: #0d1f2f;
        letter-spacing: 0;
    }

    .home-hero-light__lead {
        margin: -6px 0 0;
        color: var(--text-secondary);
        font-size: 14px;
        line-height: 1.45;
    }

    .home-hero-light__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .home-hero-light__btn {
        min-height: 48px;
        border-radius: 10px;
        font-weight: 800;
    }

    .home-hero-light__btn--primary,
    .add-btn,
    .sticky-cart,
    .desktop-home-favourite-card__button {
        background: #0d47a1;
        color: #ffffff;
    }

    .home-hero-light__btn--secondary {
        border: 1px solid rgba(13, 71, 161, 0.18);
        color: #0d47a1;
        background: #ffffff;
    }

    .home-hero-light__meta {
        padding: 10px 2px 0;
        color: var(--text-secondary);
    }

    .quick-actions,
    .categories {
        position: sticky;
        top: var(--mobile-header-height);
        z-index: 20;
        background: rgba(243, 247, 249, 0.96);
        border-bottom: 1px solid rgba(13, 71, 161, 0.08);
        backdrop-filter: blur(10px);
    }

    .quick-btn,
    .chip,
    .menu-item,
    .desktop-popular-card,
    .section-card,
    .cart-modal-content,
    .item-modal-content {
        border-radius: 12px;
        border: 1px solid rgba(13, 71, 161, 0.1);
        background: #ffffff;
        box-shadow: 0 12px 24px rgba(13, 31, 47, 0.08);
    }

    .chip.active,
    .desktop-menu-category-chip.is-active {
        border-color: rgba(198, 162, 79, 0.72);
        background: #0d47a1;
        color: #ffffff;
    }

    .section-title,
    .item-name,
    .desktop-menu-intro__title,
    .desktop-popular-card__topline h3 {
        color: #0d1f2f;
        letter-spacing: 0;
    }

    .item-price,
    .desktop-popular-card__topline span {
        color: #0d47a1;
        font-weight: 900;
    }

    .item-image,
    .desktop-popular-card__media {
        background: #e8f0f4;
        border-radius: 10px;
        overflow: hidden;
    }

    .item-image-media,
    .desktop-popular-card__image {
        object-fit: cover;
    }

    .bottom-nav {
        border-top: 1px solid rgba(13, 71, 161, 0.12);
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 -12px 28px rgba(13, 31, 47, 0.1);
    }

    .nav-item.active {
        color: #0d47a1;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html {
    scrollbar-width: none;
    min-height: 100%;
    background: var(--bg);
}

/* Global focus-visible ring for keyboard navigation */
*:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}

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

body {
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    min-height: 100vh;
    padding-bottom: calc(100px + env(safe-area-inset-bottom));
}

/* App Container */
.app {
    max-width: 430px;
    margin: 0 auto;
    background: var(--bg);
    min-height: 100vh;
    position: relative;
}

.customer-shell {
    position: relative;
}

.customer-basket-region {
    display: none;
}

.desktop-site-header,
.desktop-site-footer,
.desktop-homepage,
.desktop-menu-intro,
.desktop-page-desktop-only {
    display: none;
}

.desktop-page-shell {
    padding: 24px 16px 40px;
}

/* On desktop, remove padding — the .customer-shell handles it */
@media (min-width: 1200px) {
    .desktop-page-shell {
        padding: 0;
        width: 100%;
    }

    .desktop-page-shell .desktop-site-container {
        padding: 0;
    }
}

.desktop-site-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
}

.desktop-site-container--narrow {
    max-width: 900px;
}

.desktop-page-hero {
    padding: 8px 0 24px;
}

.desktop-page-hero__eyebrow,
.desktop-page-card__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
}

.desktop-page-hero__title {
    font-size: 34px;
    line-height: 1.08;
    margin-bottom: 14px;
    letter-spacing: -0.03em;
}

.desktop-page-hero__lead {
    max-width: 760px;
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
}

.desktop-page-stack,
.desktop-page-grid {
    display: grid;
    gap: 18px;
}

.desktop-page-card {
    background: var(--card);
    border: 1px solid rgba(13,71,161,0.08);
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 16px 32px rgba(13,71,161,0.06);
}

.desktop-page-card h2 {
    font-size: 24px;
    margin-bottom: 12px;
    line-height: 1.2;
}

.desktop-page-card p {
    color: var(--text-secondary);
    line-height: 1.65;
}

.desktop-page-list {
    list-style: none;
    display: grid;
    gap: 10px;
    margin-top: 8px;
}

.desktop-page-list li {
    position: relative;
    padding-left: 18px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.desktop-page-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.desktop-contact-list,
.desktop-home-contact-list,
.desktop-page-mini-items {
    display: grid;
    gap: 12px;
}

.desktop-contact-list span,
.desktop-home-contact-list span,
.desktop-contact-list a,
.desktop-home-contact-list a {
    color: var(--text-secondary);
    text-decoration: none;
}

.desktop-page-mini-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 16px;
    background: var(--card-elevated);
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
}

/* Extend background to fill viewport on large screens */
.app::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    z-index: -1;
}

/* Header */
.header {
    background: var(--primary);
    padding: 12px 16px;
    padding-top: max(12px, env(safe-area-inset-top));
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    flex-shrink: 0;
}

.logo {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    font-family: var(--display-font);
    font-size: 25px;
    font-weight: 800;
    color: white;
    letter-spacing: -0.03em;
    line-height: 0.94;
    text-decoration: none;
}

.logo span {
    color: rgba(255,255,255,0.84);
    font-family: var(--display-font);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    line-height: 1;
    text-transform: uppercase;
}

.header-nav,
.header-cart-summary {
    display: none;
}

.header-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    cursor: pointer;
    position: relative;
}

.icon-btn i {
    font-size: 20px;
}

.header-cart-summary.is-emphasized,
.icon-btn.is-emphasized {
    box-shadow: 0 10px 22px rgba(13,71,161,0.18);
}

.badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--accent);
    color: var(--primary);
    font-size: 10px;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border: 2px solid var(--primary);
}

/* Main Content */
.content {
    overflow-x: hidden;
    position: relative;
}

.app.app-has-sticky-cart .content {
    padding-bottom: 88px;
}

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

.page {
    display: none;
    animation: fadeIn 0.2s ease;
}

.page.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Home Page */
.hero {
    background: linear-gradient(180deg, #161b22 0%, #0f1720 100%);
    padding: 20px 16px 24px;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    display: none;
}

.hero--shopfront {
    border-radius: 0 0 28px 28px;
}

.hero-shopfront {
    margin-bottom: 16px;
    border-radius: 16px;
    overflow: hidden;
    background: #101419;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 22px 44px rgba(0,0,0,0.28);
}

.hero-shopfront__fascia {
    padding: 18px 18px 16px;
    text-align: center;
    background: #171c23;
    border-bottom: 2px solid rgba(255,255,255,0.06);
}

.hero-shopfront__window {
    position: relative;
    padding: 18px 14px 14px;
    background: linear-gradient(180deg, #cfd6e0 0%, #edf1f6 25%, #97a3b4 25.5%, #252d38 26%, #151b23 100%);
}

.hero-shopfront__open {
    display: flex;
    width: fit-content;
    margin-left: auto;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(16,20,25,0.92);
    border: 1px solid rgba(255,109,106,0.56);
    color: #ff6d6a;
    font-size: 11px;
    font-weight: 800;
}

.hero-shopfront__wordband {
    margin-top: 58px;
    padding: 14px 12px;
    border-radius: 8px;
    background: rgba(245,247,250,0.84);
    border: 1px solid rgba(17,24,39,0.12);
    color: #111827;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
}

.loyalty-card {
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 16px;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.loyalty-card:active {
    transform: scale(0.98);
}

.loyalty-info h3 {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 4px;
    font-weight: 600;
}

.loyalty-points {
    font-size: 28px;
    font-weight: 800;
    color: var(--accent);
}

.loyalty-btn {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.hero-title {
    font-family: var(--display-font, "Playfair Display", Georgia, serif);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #ffffff;
    text-shadow: 0 2px 0 rgba(0,0,0,0.36);
}

.hero-subtitle {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
    margin-bottom: 0;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(198,162,79,0.18);
    color: #f2d37a;
    border: 1px solid rgba(198,162,79,0.24);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.hero-copy {
    margin-top: 14px;
    color: rgba(255,255,255,0.84);
    text-align: center;
    line-height: 1.6;
}

.hero-address {
    margin-top: 10px;
    color: rgba(255,255,255,0.68);
    text-align: center;
    font-size: 14px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Quick Actions */
.quick-actions {
    display: flex;
    gap: 12px;
    padding: 16px;
    overflow-x: auto;
    scrollbar-width: none;
}

.quick-actions::-webkit-scrollbar {
    display: none;
}

.quick-btn {
    flex-shrink: 0;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 12px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 80px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    text-decoration: none;
    color: inherit;
}

.quick-btn--primary {
    background: linear-gradient(135deg, rgba(13,71,161,0.10) 0%, rgba(21,101,192,0.18) 100%);
    border-color: rgba(13,71,161,0.18);
    box-shadow: 0 6px 16px rgba(13,71,161,0.10);
}

.quick-btn--primary .quick-icon {
    background: rgba(255,255,255,0.8);
}

.quick-btn--primary .quick-label {
    color: var(--primary);
}

.quick-btn:active {
    transform: scale(0.95);
}

.quick-icon {
    font-size: 24px;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(13,71,161,0.1) 0%, rgba(21,101,192,0.1) 100%);
    border-radius: 12px;
    margin-bottom: 4px;
}

.quick-icon i {
    font-size: 20px;
}

.quick-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
}

.home-helper-card {
    margin: 0 16px 16px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(13,71,161,0.12);
    background: linear-gradient(135deg, rgba(13,71,161,0.05) 0%, rgba(212,175,55,0.10) 100%);
    display: flex;
    gap: 12px;
    align-items: flex-start;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.home-helper-card--active {
    background: linear-gradient(135deg, rgba(52,199,89,0.10) 0%, rgba(13,71,161,0.10) 100%);
    border-color: rgba(52,199,89,0.18);
}

.home-helper-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(255,255,255,0.78);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.home-helper-icon i {
    font-size: 18px;
}

.home-helper-copy {
    min-width: 0;
}

.home-helper-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.home-helper-text {
    font-size: 12px;
    line-height: 1.45;
    color: var(--text-secondary);
}

/* Section Headers */
.section-header {
    padding: 16px;
    padding-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
}

.section-link {
    font-size: 15px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

/* Home Promo */
.home-offers {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 0 16px 4px;
    scrollbar-width: none;
}

.home-offers::-webkit-scrollbar {
    display: none;
}

.home-promo-card {
    min-width: min(320px, calc(100vw - 48px));
    margin-bottom: 16px;
    padding: 18px 16px;
    border-radius: 20px;
    color: white;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 65%, #3f6b2f 100%);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 10px 24px rgba(13,71,161,0.18);
    flex-shrink: 0;
    scroll-snap-align: start;
}

.home-promo-card::before {
    content: '';
    position: absolute;
    inset: auto -40px -60px auto;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(212,175,55,0.22) 0%, transparent 70%);
    pointer-events: none;
}

.home-promo-card--accent {
    background: linear-gradient(135deg, #8d5f10 0%, #d4af37 58%, #f0cd64 100%);
    color: #1f1f1f;
    border-color: rgba(255,255,255,0.18);
    box-shadow: 0 10px 24px rgba(141,95,16,0.18);
}

.home-promo-card--accent .home-promo-badge {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.24);
    color: white;
}

.home-promo-card--accent .home-promo-code {
    background: rgba(255,255,255,0.96);
}

.home-promo-card--accent .home-promo-text,
.home-promo-card--accent .home-promo-meta,
.home-promo-card--accent .home-promo-link {
    color: rgba(31,31,31,0.78);
}

.home-promo-card--light {
    background: linear-gradient(135deg, #f9faf6 0%, #eef3e8 100%);
    color: var(--text);
    border-color: rgba(13,71,161,0.08);
    box-shadow: 0 8px 20px rgba(13,71,161,0.08);
}

.home-promo-card--light .home-promo-badge {
    background: rgba(13,71,161,0.08);
    border-color: rgba(13,71,161,0.10);
    color: var(--primary);
}

.home-promo-card--light .home-promo-code {
    background: rgba(13,71,161,0.08);
    color: var(--primary);
}

.home-promo-card--light .home-promo-text,
.home-promo-card--light .home-promo-meta,
.home-promo-card--light .home-promo-link {
    color: var(--text-secondary);
}

.home-promo-topline,
.home-promo-meta,
.home-promo-actions {
    position: relative;
    z-index: 1;
}

.home-promo-topline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.home-promo-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.18);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.home-promo-code {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 12px;
    background: rgba(255,255,255,0.96);
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.8px;
}

.home-promo-title {
    position: relative;
    z-index: 1;
    font-size: 22px;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 8px;
}

.home-promo-text {
    position: relative;
    z-index: 1;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255,255,255,0.86);
    max-width: 280px;
}

.home-promo-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
    font-size: 12px;
    color: rgba(255,255,255,0.84);
}

.home-promo-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.home-promo-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
}

.home-promo-btn {
    border: none;
    background: white;
    color: var(--primary);
    padding: 11px 16px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.home-promo-btn--link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.home-promo-card--accent .home-promo-btn {
    color: #8d5f10;
}

.home-promo-card--light .home-promo-btn {
    background: var(--primary);
    color: white;
}

.home-promo-link {
    color: white;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    opacity: 0.96;
}

.home-promo-link::after {
    content: '→';
}

/* Menu Items */
.menu-list {
    padding: 0 16px;
}

.menu-item {
    background: var(--card);
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 10px;
    display: flex;
    gap: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid var(--border);
    position: relative;
}

.menu-list,
.desktop-menu-items-grid {
    transition: opacity 140ms ease;
}

.menu-list.is-menu-filtering,
.desktop-menu-items-grid.is-menu-filtering {
    opacity: 0.72;
}

.menu-item.is-filtered-out,
.desktop-popular-card.is-filtered-out {
    display: none;
}

.item-image {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #f2f2f7 0%, #e5e5ea 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    flex-shrink: 0;
}

.item-image--photo {
    overflow: hidden;
    background: #eef3ee;
}

.item-image picture {
    display: block;
    width: 100%;
    height: 100%;
}

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

.item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 3px;
}

.item-name {
    font-size: 15px;
    font-weight: 700;
    flex: 1;
    padding-right: 8px;
}

.item-price {
    font-size: 16px;
    font-weight: 800;
    color: var(--primary);
}

.item-desc {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: calc(1.4em * 2);
}

.item-meta {
    display: flex;
    gap: 12px;
    font-size: 11px;
    color: var(--text-secondary);
}

.add-btn {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 30px;
    height: 30px;
    background: var(--primary);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(13,71,161,0.2);
}

.add-btn:active {
    transform: scale(0.9);
}

.badge-best {
    position: absolute;
    top: -6px;
    left: -6px;
    background: var(--accent);
    color: var(--primary);
    font-size: 10px;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 8px;
    border: 2px solid white;
}

/* Category Chips */
.categories {
    padding: 14px 16px 16px;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    position: sticky;
    top: var(--mobile-header-height, max(0px, env(safe-area-inset-top)));
    background: linear-gradient(180deg, rgba(247, 248, 244, 0.98) 0%, rgba(247, 248, 244, 0.94) 82%, rgba(247, 248, 244, 0) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 120;
}

.app.app-page-menu {
    overflow: visible;
}

.app-page-menu .content {
    overflow: visible;
}

/* ============================================================
   SKELETON LOADERS
   ============================================================ */
@keyframes skeleton-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton-image,
.skeleton-btn,
.skeleton-media,
.skeleton-line {
    background: linear-gradient(90deg, #e8ecf0 25%, #f0f3f6 50%, #e8ecf0 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.6s ease-in-out infinite;
    border-radius: 8px;
}

.skeleton-card {
    pointer-events: none;
}

.skeleton-image {
    width: 72px;
    height: 72px;
    border-radius: 10px;
    flex-shrink: 0;
}

.skeleton-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

.skeleton-line {
    height: 12px;
    border-radius: 6px;
}

.skeleton-line--title {
    width: 60%;
    height: 16px;
}

.skeleton-line--desc {
    width: 85%;
}

.skeleton-line--meta {
    width: 40%;
}

.skeleton-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    position: absolute;
    right: 14px;
    bottom: 14px;
}

/* Desktop skeleton */
.skeleton-media {
    width: 100%;
    height: 128px;
    border-radius: 0;
}

.desktop-popular-card.skeleton-card .skeleton-body {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Show/hide logic */
.menu-items-real {
    opacity: 1;
}

.menu-list .menu-items-real,
.desktop-menu-items-grid .menu-items-real {
    display: contents;
}

.menu-list .skeleton-cards,
.desktop-menu-items-grid .skeleton-cards {
    display: none;
}

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

.chip {
    flex-shrink: 0;
    padding: 9px 16px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(13, 71, 161, 0.08);
    border-radius: 999px;
    box-shadow: 0 8px 20px rgba(13, 71, 161, 0.06);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    font-family: inherit;
    color: var(--text-secondary);
    text-decoration: none;
    transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.chip:hover {
    background: white;
    border-color: rgba(13, 71, 161, 0.16);
    color: var(--primary);
    box-shadow: 0 10px 24px rgba(13, 71, 161, 0.10);
}

.chip.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 12px 26px rgba(13, 71, 161, 0.18);
}

.chip:active {
    transform: translateY(1px);
}

/* Tracking Page */
.tracking-container {
    padding: 16px;
}

.order-card {
    background: var(--card);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid var(--border);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.order-id {
    font-size: 18px;
    font-weight: 800;
}

.order-status {
    background: rgba(52,199,89,0.1);
    color: var(--success);
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
}

.progress-track {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 24px;
}

.progress-line {
    position: absolute;
    top: 12px;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--border);
    z-index: 0;
}

.progress-fill {
    position: absolute;
    top: 12px;
    left: 0;
    height: 4px;
    background: var(--success);
    z-index: 1;
    width: 60%;
    transition: width 0.5s ease;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    z-index: 2;
    flex: 1;
}

.step-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.3s ease;
}

.step.active .step-dot {
    background: var(--success);
    color: white;
    animation: pulse 2s infinite;
}

.step.completed .step-dot {
    background: var(--success);
    color: white;
}

.step-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
}

.step.active .step-label {
    color: var(--success);
}

.eta-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border-radius: 16px;
    padding: 20px;
    text-align: center;
}

.eta-label {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 4px;
}

.eta-time {
    font-size: 32px;
    font-weight: 800;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.empty-text {
    color: var(--text-secondary);
    font-size: 15px;
}

/* Rewards Page */
.rewards-hero {
    background: linear-gradient(135deg, var(--loyalty) 0%, #5856d6 100%);
    padding: 24px 16px;
    color: white;
    text-align: center;
}

.rewards-points {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 8px;
}

.rewards-label {
    font-size: 17px;
    opacity: 0.9;
    margin-bottom: 16px;
}

.points-value {
    background: rgba(255,255,255,0.2);
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 600;
}

.rewards-list {
    padding: 16px;
}

.reward-item {
    background: var(--card);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.reward-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #f2f2f7 0%, #e5e5ea 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.reward-info {
    flex: 1;
}

.reward-name {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 4px;
}

.reward-desc {
    font-size: 13px;
    color: var(--text-secondary);
}

.reward-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
}

.reward-btn:disabled {
    background: var(--border);
    color: var(--text-secondary);
    cursor: not-allowed;
}

/* Profile Page */
.profile-header {
    background: var(--card);
    padding: 24px 16px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 50%;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
}

.profile-name {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 4px;
}

.profile-email {
    color: var(--text-secondary);
    font-size: 15px;
}

.menu-list {
    padding: 16px;
}

.menu-row {
    background: var(--card);
    padding: 16px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.menu-row:first-child {
    border-radius: 16px 16px 0 0;
}

.menu-row:last-child {
    border-radius: 0 0 16px 16px;
    border-bottom: none;
}

.menu-row-label {
    font-size: 17px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.menu-row-value {
    color: var(--text-secondary);
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 430px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-top: 1px solid rgba(13, 71, 161, 0.07);
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    z-index: 1000;
    box-shadow: 0 -1px 0 rgba(13, 71, 161, 0.04), 0 -8px 24px rgba(10, 18, 36, 0.06);
    min-height: 64px;
}

.sticky-cart-bar {
    position: fixed;
    left: 50%;
    bottom: calc(76px + env(safe-area-inset-bottom));
    transform: translateX(-50%);
    width: calc(100% - 24px);
    max-width: 398px;
    border: 1px solid rgba(13, 71, 161, 0.12);
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    box-shadow: 0 12px 30px rgba(13, 71, 161, 0.24);
    z-index: 990;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.sticky-cart-bar.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(14px);
}

.sticky-cart-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.sticky-cart-details {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
    text-align: left;
    flex: 1;
}

.sticky-cart-title {
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.sticky-cart-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.86);
    white-space: nowrap;
}

.sticky-cart-dot {
    opacity: 0.65;
}

.sticky-cart-chevron {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    flex-shrink: 0;
}

.nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 6px 4px;
    cursor: pointer;
    border: none;
    background: transparent;
    color: #8c9198;
    transition: color 0.2s ease, transform 0.15s ease;
    text-decoration: none;
    position: relative;
    border-radius: 14px;
    margin: 0 2px;
    min-height: 52px;
    -webkit-tap-highlight-color: transparent;
}

.nav-item:active {
    transform: scale(0.94);
}

.nav-item.active {
    color: var(--primary);
}

.nav-item.active::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 3px;
    border-radius: 0 0 2px 2px;
    background: var(--primary);
}

.nav-icon {
    font-size: 21px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    transition: transform 0.2s ease;
}

.nav-icon i {
    font-size: 22px;
}

.nav-item.active .nav-icon {
    transform: translateY(-1px);
}

.nav-item.active .nav-icon i {
    font-weight: 900;
}

.nav-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color 0.2s ease;
}

/* ==========================================
   MODALS - Professional Styling
   ========================================== */

/* Base Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    display: none;
    align-items: flex-end;
    justify-content: center;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: opacity 0.3s ease;
    opacity: 0;
}

.modal.active {
    display: flex;
    opacity: 1;
}

/* Modal Sheet Base */
.modal-sheet {
    background: var(--bg);
    width: 100%;
    max-width: 430px;
    max-height: 90vh;
    border-radius: 24px 24px 0 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 -10px 50px rgba(0,0,0,0.25), 0 -4px 20px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.06);
    border-bottom: none;
}

@keyframes slideUp {
    from {
        transform: translateY(100%) scale(0.96);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes pricePop {
    0% { transform: scale(1); }
    40% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

/* ==========================================
   ITEM CUSTOMIZATION MODAL
   ========================================== */

.item-modal-sheet {
    max-height: 92vh;
    max-height: 92dvh;
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    transform-origin: bottom center;
}

.item-modal-header {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
}

.item-modal-close {
    width: 44px; /* Larger touch target for mobile */
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.9);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: var(--text);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.item-modal-close:active {
    transform: scale(0.9);
    background: rgba(255,255,255,1);
}

.item-modal-content {
    flex: 1;
    overflow-y: auto;
    padding: 0;
}

/* Item Hero Section */
.item-hero {
    background: linear-gradient(160deg, #1a4a7a 0%, var(--primary) 40%, var(--primary-light) 100%);
    padding: 52px 20px 48px;
    text-align: center;
    color: white;
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
}

.item-hero-glow {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.item-hero-image {
    font-size: 76px;
    margin-bottom: 18px;
    filter: drop-shadow(0 6px 16px rgba(0,0,0,0.25));
    line-height: 1;
    position: relative;
    z-index: 1;
    animation: floatIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

.item-hero-image--photo {
    width: min(72vw, 280px);
    aspect-ratio: 1;
    margin: 0 auto 18px;
    border-radius: 28px;
    overflow: hidden;
    background: rgba(255,255,255,0.14);
    filter: none;
    box-shadow: 0 18px 44px rgba(0,0,0,0.18);
}

.item-hero-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-hero-name {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
    line-height: 1.15;
    padding: 0 48px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.15);
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.item-hero-desc {
    font-size: 15px;
    opacity: 0.95;
    margin-bottom: 18px;
    line-height: 1.5;
    padding: 0 24px;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.item-hero-meta {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 13px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}

.meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.18);
    backdrop-filter: blur(4px);
    font-weight: 600;
}

.meta-pill i {
    font-size: 12px;
    opacity: 0.9;
}

.meta-pill--spicy {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.25);
}

.item-hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 40px;
    z-index: 2;
    pointer-events: none;
}

.item-hero-wave svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* Section Labels */
.section-label {
    font-size: 12px;
    font-weight: 800;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-label::before {
    content: '';
    display: block;
    width: 3px;
    height: 14px;
    border-radius: 2px;
    background: var(--primary);
    opacity: 0.5;
}

.item-detail-card {
    margin: 0 16px 16px;
    padding: 20px;
    overflow: hidden;
}

.item-detail-media {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 72px;
    margin-bottom: 16px;
}

.item-detail-media--photo {
    margin: -20px -20px 20px;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(13,71,161,0.08) 0%, rgba(13,71,161,0.02) 100%);
}

.item-detail-photo {
    display: block;
    width: 100%;
    max-height: 320px;
    object-fit: cover;
}

.item-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 12px;
}

.item-detail-copy {
    min-width: 0;
}

.item-detail-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 6px;
}

.item-detail-category {
    color: var(--text-secondary);
    font-size: 14px;
}

.item-detail-price {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    flex-shrink: 0;
}

.item-detail-description {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.item-detail-meta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

/* Customizations Section */
.customizations-section {
    padding: 16px;
    background: #fafbfc;
    margin: 8px 12px;
    border-radius: 18px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.02);
    border: 1px solid var(--border);
    flex-shrink: 0;
    animation: fadeInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.customization-groups {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.customization-group {
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
}

.customization-group:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    gap: 8px;
}

.group-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
}

.group-hint {
    font-size: 12px;
    color: var(--text-secondary);
    background: var(--bg);
    padding: 4px 10px;
    border-radius: 12px;
    white-space: nowrap;
    flex-shrink: 0;
}

.group-required {
    color: var(--danger);
}

.customization-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.option-item {
    display: flex;
    align-items: center;
    padding: 14px 16px; /* Larger padding for mobile */
    background: var(--bg);
    border-radius: 12px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 52px; /* Minimum touch target */
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.option-item:hover {
    background: var(--card-elevated);
}

.option-item:active {
    transform: scale(0.98);
}

.option-item.selected {
    border-color: var(--primary);
    background: rgba(13,71,161,0.05);
}

.option-input {
    width: 22px;
    height: 22px;
    margin-right: 12px;
    flex-shrink: 0;
    accent-color: var(--primary);
}

.option-details {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    min-width: 0; /* Allow text truncation */
}

.option-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.option-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    flex-shrink: 0;
}

.option-price.free {
    color: var(--text-secondary);
}

/* Instructions Section */
.instructions-section {
    padding: 16px;
    background: #fafbfc;
    margin: 8px 12px;
    border-radius: 18px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.02);
    border: 1px solid var(--border);
    flex-shrink: 0;
    animation: fadeInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.35s both;
}

.instructions-textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: 14px;
    background: var(--bg);
    color: var(--text);
    font-size: 16px;
    min-height: 100px;
    resize: vertical;
    font-family: inherit;
    line-height: 1.5;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none;
    appearance: none;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.04);
}

.instructions-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(13,71,161,0.08), inset 0 1px 3px rgba(0,0,0,0.04);
}

.instructions-textarea::placeholder {
    color: var(--text-muted);
    opacity: 1;
}

/* Item Modal Footer */
.item-modal-footer {
    padding: 20px 20px;
    padding-bottom: max(20px, env(safe-area-inset-bottom));
    background: var(--card);
    border-top: 1px solid var(--border);
    box-shadow: 0 -6px 24px rgba(0,0,0,0.06);
    flex-shrink: 0;
    position: relative;
    z-index: 5;
}

.price-breakdown {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--border);
}

.price-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 6px;
    font-variant-numeric: tabular-nums;
}

.quantity-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    gap: 12px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 2px;
    background: var(--bg);
    border-radius: 14px;
    padding: 4px;
    flex-shrink: 0;
    border: 1px solid var(--border);
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.03);
}

.qty-btn-modal {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border: 1px solid var(--border);
    background: linear-gradient(180deg, #ffffff 0%, #f5f7fa 100%);
    border-radius: 11px;
    cursor: pointer;
    font-size: 16px;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    transition: all 0.15s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.qty-btn-modal:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0,0,0,0.08);
    background: linear-gradient(180deg, #ffffff 0%, #eef1f5 100%);
}

.qty-btn-modal:active {
    transform: translateY(0) scale(0.96);
    background: #e8ecf1;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.qty-value {
    font-weight: 800;
    font-size: 18px;
    min-width: 44px;
    text-align: center;
    color: var(--primary);
}

.total-price {
    font-weight: 800;
    font-size: 28px;
    color: var(--primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

.add-to-cart-btn {
    width: 100%;
    padding: 0 20px;
    font-size: 17px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 58px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    box-shadow: 0 6px 18px rgba(13,71,161,0.25), inset 0 1px 0 rgba(255,255,255,0.12);
    letter-spacing: 0.3px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    gap: 12px;
}

.add-to-cart-btn:hover {
    filter: brightness(1.08);
    box-shadow: 0 8px 24px rgba(13,71,161,0.3), inset 0 1px 0 rgba(255,255,255,0.15);
}

.add-to-cart-btn:active {
    transform: scale(0.98);
    filter: brightness(0.95);
    box-shadow: 0 3px 10px rgba(13,71,161,0.2);
}

.btn-cart-text {
    flex: 1;
    text-align: left;
}

.btn-price-badge {
    font-weight: 800;
    font-size: 15px;
    flex-shrink: 0;
    background: rgba(255,255,255,0.18);
    padding: 6px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.22);
    backdrop-filter: blur(4px);
}

/* ==========================================
   CART MODAL
   ========================================== */

.cart-modal-sheet {
    max-height: 88vh;
}

.cart-modal-header {
    background: var(--card);
    padding: 20px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-modal-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-modal-title i {
    color: var(--primary);
    font-size: 22px;
}

.item-count {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg);
    padding: 4px 10px;
    border-radius: 12px;
    margin-left: 4px;
}

.cart-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--bg);
    color: var(--text-secondary);
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.cart-modal-close:hover {
    background: var(--border);
    color: var(--text);
}

.cart-modal-content {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

/* Cart Items List */
.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-item-card {
    background: var(--card);
    border-radius: 16px;
    padding: 16px;
    display: flex;
    gap: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid var(--border);
}

.cart-item-image {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #f2f2f7 0%, #e5e5ea 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    flex-shrink: 0;
}

.cart-item-image--photo {
    overflow: hidden;
    background: #eef3ee;
}

.cart-item-image picture {
    display: block;
    width: 100%;
    height: 100%;
}

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

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-topline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}

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

.cart-item-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-customizations {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 8px;
}

.cart-item-note {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
    margin-bottom: 6px;
    font-style: italic;
}

.customization-tag {
    font-size: 11px;
    color: var(--text-secondary);
    background: var(--bg);
    padding: 3px 8px;
    border-radius: 8px;
}

.cart-item-unit-price {
    font-size: 13px;
    color: var(--text-secondary);
}

.cart-item-controls {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    min-width: 90px;
}

.cart-qty-selector {
    display: flex;
    align-items: center;
    gap: 2px;
    background: var(--bg);
    border-radius: 10px;
    padding: 3px;
}

.cart-qty-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: var(--card);
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: all 0.15s ease;
}

.cart-qty-btn:active {
    transform: scale(0.95);
    background: var(--border);
}

.cart-qty-value {
    font-weight: 700;
    font-size: 15px;
    min-width: 28px;
    text-align: center;
}

.cart-remove-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    font-size: 14px;
    flex-shrink: 0;
}

.cart-edit-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px 0;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.cart-edit-btn:hover,
.cart-remove-btn:hover {
    color: var(--primary);
}

.cart-item-total {
    font-weight: 800;
    font-size: 16px;
    color: var(--primary);
}

/* Promo Section */
.promo-section {
    margin-top: 16px;
    padding: 16px;
    background: var(--card);
    border-radius: 16px;
    border: 1px solid var(--border);
}

.promo-input-group {
    display: flex;
    gap: 8px;
    align-items: center;
}

.promo-icon {
    color: var(--text-secondary);
    font-size: 16px;
}

.promo-input {
    flex: 1;
    padding: 12px 14px;
    border: 2px solid var(--border);
    border-radius: 12px;
    background: var(--bg);
    color: var(--text);
    font-size: 15px;
    font-weight: 600;
    transition: border-color 0.2s ease;
}

.promo-input:focus {
    outline: none;
    border-color: var(--primary);
}

.promo-input::placeholder {
    color: var(--text-muted);
}

.promo-btn {
    padding: 12px 20px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.promo-btn:active {
    transform: scale(0.96);
    opacity: 0.9;
}

/* Cart Empty State */
.cart-empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--bg) 0%, var(--card-elevated) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 40px;
    color: var(--text-secondary);
}

.empty-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 8px;
}

.empty-text {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.browse-menu-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
}

.cart-empty-state--panel {
    padding: 28px 12px 32px;
}

.large-cart-panel {
    display: none;
}

.large-cart-panel__inner {
    background: linear-gradient(180deg, #ffffff 0%, #f8faf7 100%);
    border: 1px solid rgba(13,71,161,0.08);
    border-radius: 28px;
    box-shadow: 0 18px 40px rgba(28,28,30,0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.large-cart-panel__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    padding: 24px 24px 0;
}

.large-cart-panel__eyebrow {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.large-cart-panel__title {
    font-size: 28px;
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.large-cart-panel__count {
    white-space: nowrap;
}

.large-cart-panel__content {
    flex: 1;
    overflow-y: auto;
    padding: 16px 24px 20px;
}

.large-cart-panel__footer {
    padding: 0 24px 24px;
}

.large-cart-panel.is-highlighted .large-cart-panel__inner {
    box-shadow: 0 24px 50px rgba(13,71,161,0.16);
    outline: 2px solid rgba(212,175,55,0.45);
}

/* Cart Modal Footer */
.cart-modal-footer {
    background: var(--card);
    padding: 20px;
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.05);
}

.cart-summary {
    margin-bottom: 16px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 15px;
}

.summary-label {
    color: var(--text-secondary);
}

.summary-value {
    font-weight: 600;
    color: var(--text);
}

.discount-row .summary-value {
    color: var(--success);
}

.total-row {
    padding-top: 12px;
    border-top: 2px solid var(--border);
    margin-top: 12px;
}

.total-row .summary-label {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
}

.total-value {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
}

.checkout-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    padding: 18px 24px;
    border-radius: 16px;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(13,71,161,0.3);
}

.checkout-btn:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(13,71,161,0.2);
}

.checkout-total {
    font-size: 18px;
    font-weight: 800;
    opacity: 0.95;
}

/* Button Primary */
.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 16px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(13,71,161,0.25);
}

.btn-primary:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(13,71,161,0.2);
}

/* Auth Pages */
.auth-standalone-body {
    padding-bottom: 0;
    background:
        radial-gradient(circle at top left, rgba(212,175,55,0.12), transparent 34%),
        linear-gradient(180deg, #f6f7f4 0%, #eef1ec 100%);
}

.auth-standalone-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(280px, 1.05fr) minmax(360px, 520px);
    gap: 32px;
    align-items: stretch;
    padding: 32px;
}

.auth-standalone-brand {
    background: linear-gradient(155deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: 36px;
    padding: 40px;
    color: white;
    box-shadow: 0 24px 56px rgba(13,71,161,0.18);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100vh - 64px);
}

.auth-standalone-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.86);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.auth-standalone-title {
    font-size: clamp(34px, 4vw, 56px);
    line-height: 0.98;
    letter-spacing: -0.04em;
    margin-bottom: 18px;
    max-width: 12ch;
}

.auth-standalone-copy {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255,255,255,0.82);
    max-width: 34rem;
}

.auth-standalone-actions {
    margin-top: 28px;
}

.auth-standalone-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    font-weight: 700;
    padding: 12px 18px;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.16);
}

.auth-standalone-main {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 64px);
}

.auth-standalone-main .auth-page {
    width: min(100%, 520px);
    padding: 0;
}

.auth-page {
    padding: 20px 16px 120px;
}

.auth-shell {
    display: grid;
    gap: 16px;
}

.auth-hero {
    background: linear-gradient(160deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
    border-radius: 28px;
    padding: 24px 22px;
    box-shadow: 0 16px 32px rgba(13,71,161,0.18);
}

.auth-hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.72);
    margin-bottom: 10px;
}

.auth-hero-title {
    font-size: 32px;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.auth-hero-copy {
    color: rgba(255,255,255,0.82);
    font-size: 15px;
    line-height: 1.5;
}

.auth-card {
    background: var(--card);
    border-radius: 24px;
    padding: 22px 18px;
    box-shadow: 0 12px 26px rgba(28,28,30,0.08);
    border: 1px solid rgba(13,71,161,0.06);
}

.auth-card--centered {
    text-align: center;
    padding: 28px 22px;
}

.auth-card-header {
    margin-bottom: 18px;
}

.auth-card-header h1,
.auth-card-header h2 {
    font-size: 24px;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

.auth-card-header p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
}

.auth-card-header--centered p {
    max-width: 280px;
    margin: 0 auto;
}

.auth-form {
    display: grid;
    gap: 14px;
}

.auth-form-grid {
    display: grid;
    gap: 14px;
}

.auth-field {
    display: grid;
    gap: 8px;
}

.auth-field label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.auth-field-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.auth-inline-link,
.auth-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}

.auth-input {
    width: 100%;
    border: 2px solid var(--border);
    background: white;
    color: var(--text);
    border-radius: 16px;
    padding: 15px 16px;
    font-size: 16px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.auth-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(13,71,161,0.08);
}

.auth-input::placeholder {
    color: var(--text-muted);
}

.auth-checkbox-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 2px 2px;
    font-size: 14px;
    color: var(--text-secondary);
}

.auth-checkbox-row input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    flex: 0 0 auto;
}

.auth-submit-btn {
    width: 100%;
    justify-content: center;
    margin-top: 6px;
}

.auth-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 18px;
    color: var(--text-secondary);
    font-size: 14px;
}

.auth-footer--stacked {
    flex-direction: column;
    gap: 10px;
}

.auth-alert {
    border-radius: 16px;
    padding: 14px 16px;
    margin-bottom: 14px;
    font-size: 14px;
    line-height: 1.45;
}

.auth-alert--error,
.auth-field-errors {
    background: rgba(255,59,48,0.08);
    color: #a12721;
}

.auth-field-errors {
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 13px;
    line-height: 1.4;
}

.auth-icon-badge {
    width: 72px;
    height: 72px;
    border-radius: 22px;
    background: rgba(13,71,161,0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 16px;
}

.auth-copy-stack {
    display: grid;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.55;
    margin-top: 4px;
}

.auth-alert--info {
    background: rgba(13,71,161,0.08);
    color: var(--primary);
}

.auth-button-group {
    display: grid;
    gap: 10px;
}

.auth-secondary-btn,
.auth-danger-btn {
    width: 100%;
    border-radius: 16px;
    padding: 15px 18px;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.auth-secondary-btn {
    background: rgba(13,71,161,0.04);
    color: var(--primary);
    border: 1px solid rgba(13,71,161,0.14);
}

.auth-secondary-btn--link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.auth-danger-btn {
    background: rgba(255,59,48,0.06);
    color: #a12721;
    border: 1px solid rgba(255,59,48,0.14);
}

.auth-radio-list {
    display: grid;
    gap: 10px;
}

.auth-radio-row {
    display: block;
    border: 1px solid rgba(13,71,161,0.1);
    border-radius: 18px;
    padding: 14px 16px;
    background: rgba(13,71,161,0.02);
}

.auth-radio-main {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.auth-radio-main input[type="radio"] {
    margin-top: 4px;
    accent-color: var(--primary);
    flex: 0 0 auto;
}

.auth-radio-copy {
    display: grid;
    gap: 6px;
}

.auth-radio-copy strong {
    color: var(--text);
    word-break: break-word;
}

.auth-status-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.auth-status-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(13,71,161,0.08);
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.auth-status-pill--verified {
    background: rgba(40,167,69,0.12);
    color: #1f7a35;
}

.auth-status-pill--pending {
    background: rgba(212,175,55,0.16);
    color: #8a6512;
}

.auth-section-break {
    height: 1px;
    background: rgba(13,71,161,0.08);
    margin: 20px 0;
}

/* Toast Notification */
.toast {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: rgba(0,0,0,0.85);
    color: white;
    padding: 14px 28px;
    border-radius: 28px;
    font-size: 15px;
    font-weight: 600;
    z-index: 2000;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    backdrop-filter: blur(10px);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Desktop Responsive */
@media (min-width: 431px) {
    body {
        background: var(--bg);
    }

    .app {
        box-shadow: 0 0 40px rgba(0,0,0,0.08);
    }

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

@media (min-width: 768px) {
    body {
        padding-bottom: 0;
        background:
            radial-gradient(circle at top left, rgba(212,175,55,0.10), transparent 34%),
            linear-gradient(180deg, #f6f7f4 0%, #eef1ec 100%);
    }

    .app {
        max-width: min(1120px, calc(100vw - 40px));
        margin: 20px auto;
        min-height: calc(100vh - 40px);
        border-radius: 36px;
        overflow: hidden;
        box-shadow: 0 28px 70px rgba(28,28,30,0.10);
        background: #f7f8f4;
    }

    .customer-shell:not(.customer-shell--with-cart) .content {
        max-width: 1120px;
        margin: 0 auto;
    }

    .customer-shell--with-cart {
        display: block;
        min-height: auto;
    }

    .content {
        min-width: 0;
        padding-bottom: 32px;
    }

    .customer-shell--with-cart .content {
        border-right: none;
    }

    .customer-basket-region {
        display: none;
    }

    .large-cart-panel {
        display: none;
    }

    .header {
        padding: 20px 28px;
        padding-top: 20px;
        border-bottom: 1px solid rgba(13,71,161,0.08);
        gap: 18px;
    }

    .logo {
        font-size: 28px;
        flex-shrink: 0;
    }

    .header-nav {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-left: auto;
    }

    .header-nav-link {
        text-decoration: none;
        color: var(--text-secondary);
        font-size: 15px;
        font-weight: 700;
        padding: 12px 16px;
        border-radius: 999px;
        transition: background-color 0.2s ease, color 0.2s ease;
    }

    .header-nav-link:hover,
    .header-nav-link.is-active {
        color: var(--primary);
        background: rgba(13,71,161,0.08);
    }

    .header-actions {
        gap: 12px;
    }

    .header-cart-summary {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
        background: rgba(13,71,161,0.08);
        color: var(--primary);
        border: 1px solid rgba(13,71,161,0.08);
        border-radius: 18px;
        padding: 12px 18px;
        text-decoration: none;
        cursor: pointer;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .header-cart-summary-label {
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .header-cart-summary-meta {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 14px;
        font-weight: 700;
    }

    .header-cart-summary-dot {
        opacity: 0.45;
    }

    .header .icon-btn {
        display: none;
    }

    .sticky-cart-bar {
        display: none !important;
    }

    .bottom-nav {
        display: flex;
        bottom: 0;
        width: calc(100vw - 40px);
        max-width: min(1120px, calc(100vw - 40px));
        border: 1px solid rgba(13,71,161,0.08);
        border-bottom: none;
        border-radius: 22px 22px 0 0;
        box-shadow: 0 -8px 26px rgba(13,71,161,0.10);
        padding: 8px 10px calc(10px + env(safe-area-inset-bottom));
        background: rgba(255,255,255,0.96);
    }

    .nav-item {
        min-height: 56px;
    }

    .nav-label {
        font-size: 11px;
    }

    .app .content {
        padding-bottom: 104px;
    }

    .app.app-has-sticky-cart .content {
        padding-bottom: 104px;
    }

    .section-header {
        padding: 24px 24px 12px;
    }

    .hero {
        padding: 28px 24px 24px;
        border-radius: 0 0 30px 30px;
    }

    .hero-title {
        font-size: 46px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .loyalty-card {
        padding: 16px 18px;
        margin-bottom: 22px;
    }

    .quick-actions {
        padding: 20px 24px 0;
        overflow: visible;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }

    .quick-btn {
        min-width: 0;
        padding: 16px 14px;
        min-height: 120px;
        justify-content: center;
    }

    .quick-icon {
        width: 54px;
        height: 54px;
        border-radius: 16px;
        font-size: 28px;
    }

    .quick-label {
        font-size: 14px;
    }

    .home-helper-card {
        margin: 20px 24px 0;
        padding: 18px 20px;
    }

    .home-offers {
        overflow: visible;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 0 24px;
        gap: 16px;
    }

    .home-promo-card {
        min-width: 0;
        margin-bottom: 0;
    }

    #page-home {
        padding-bottom: 20px;
    }

    .home-hero-light {
        padding: 24px 24px 12px;
    }

    .home-hero-light__card {
        padding: 28px 24px;
        border-radius: 24px;
    }

    .home-hero-light__brand {
        margin-bottom: 24px;
    }

    .home-hero-light__title {
        font-size: 32px;
    }

    .home-hero-light__subtitle {
        font-size: 14px;
    }

    .home-hero-light__actions {
        gap: 14px;
    }

    .home-hero-light__btn {
        padding: 15px 18px;
        font-size: 15px;
    }

    .home-hero-light__meta {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }

    #page-home .menu-list,
    #page-menu .menu-list,
    #page-category .menu-list,
    #page-history .order-history-list,
    #page-rewards .rewards-list {
        display: grid;
        grid-template-columns: repeat(auto-fit, 220px);
        justify-content: center;
        gap: 16px;
        padding: 0 24px 8px;
    }

    #page-history .order-history-list .order-card {
        margin-bottom: 0 !important;
        height: 100%;
    }

    .menu-item,
    .reward-item {
        margin-bottom: 0;
        min-height: 100%;
    }

    .menu-item {
        padding: 16px;
    }

    .item-name {
        font-size: 16px;
    }

    .item-desc {
        font-size: 13px;
    }

    .item-meta {
        font-size: 12px;
    }

    .add-btn {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }

    .categories {
        top: var(--mobile-header-height, max(0px, env(safe-area-inset-top)));
        padding: 18px 24px 20px;
        background: linear-gradient(180deg, rgba(247, 248, 244, 0.99) 0%, rgba(247, 248, 244, 0.95) 80%, rgba(247, 248, 244, 0) 100%);
        box-shadow: none;
    }

    .chip {
        padding: 10px 18px;
        font-size: 15px;
    }

    #page-item-detail {
        padding-bottom: 8px;
    }

    .item-detail-card {
        margin: 0 24px 24px;
        padding: 28px;
    }

    .item-detail-media--photo {
        margin: -28px -28px 28px;
    }

    .item-detail-header {
        margin-bottom: 16px;
    }

    .item-detail-title {
        font-size: 34px;
    }

    .item-detail-description {
        font-size: 16px;
        line-height: 1.55;
    }

    #page-track {
        padding: 8px 24px 24px;
    }

    .tracking-container {
        padding: 0 0 16px;
    }

    .order-card {
        border-radius: 24px;
    }

    .progress-track {
        gap: 8px;
    }

    #page-profile .profile-header {
        margin: 24px;
        border-radius: 28px;
        border: 1px solid var(--border);
        box-shadow: 0 12px 28px rgba(28,28,30,0.06);
    }

    #page-profile .menu-list {
        padding: 0 24px;
    }

    .profile-app-meta {
        padding: 32px 24px 16px;
        text-align: center;
        color: var(--text-secondary);
        font-size: 13px;
    }

    #page-checkout .checkout-stack {
        display: grid;
        gap: 0;
        padding-top: 8px;
    }

    #page-checkout .checkout-summary-card {
        display: none;
    }

    #page-checkout .checkout-btn {
        margin-bottom: 24px !important;
    }

    .auth-page {
        padding: 28px 24px 40px;
    }

    .auth-shell {
        max-width: 1040px;
        margin: 0 auto;
        grid-template-columns: minmax(0, 0.95fr) minmax(380px, 1.05fr);
        align-items: stretch;
        gap: 20px;
    }

    #page-auth-reset-done .auth-shell {
        grid-template-columns: minmax(0, 520px);
        justify-content: center;
    }

    .auth-hero,
    .auth-card {
        border-radius: 28px;
    }

    .modal {
        align-items: center;
        padding: 28px;
    }

    .modal-sheet {
        max-width: min(760px, calc(100vw - 96px));
        max-height: min(86vh, 900px);
        border-radius: 32px;
    }

    .item-modal-sheet {
        max-width: min(860px, calc(100vw - 96px));
        border-radius: 32px;
    }

    .cart-modal-sheet {
        max-width: min(720px, calc(100vw - 96px));
        max-height: min(82vh, 820px);
    }

    .item-hero {
        padding: 64px 28px 52px;
    }

    .item-hero-image--photo {
        width: min(38vw, 320px);
    }

    .customizations-section,
    .instructions-section {
        margin: 12px 24px;
        padding: 20px;
    }

    .item-modal-footer {
        padding: 24px 28px 28px;
    }
}

@media (min-width: 768px) and (max-width: 899.98px) {
    #page-home .menu-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: stretch;
    }
}

@media (min-width: 900px) and (max-width: 1199.98px) {
    #page-home .menu-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        justify-content: stretch;
    }
}

@media (min-width: 1024px) and (max-width: 1199.98px) {
    .app.app-desktop-ordering .customer-shell--with-cart {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(300px, 320px);
        align-items: start;
        min-height: calc(100vh - 112px);
    }

    .app.app-desktop-ordering .customer-shell--with-cart .content {
        border-right: 1px solid rgba(13,71,161,0.06);
    }

    .app.app-desktop-ordering .customer-basket-region {
        display: block;
        padding: 24px 20px 32px 0;
    }

    .app.app-desktop-ordering .large-cart-panel {
        display: block;
        position: sticky;
        top: 24px;
    }
}

@media (min-width: 1200px) {
    .app-page-menu .customer-shell {
        min-height: 0;
        height: calc(100vh - 141px);
    }

    .app-page-menu .content {
        display: flex;
        flex-direction: column;
        min-height: 0;
        height: 100%;
        padding-bottom: 0;
        overflow: hidden;
    }

    .app-page-menu #page-menu {
        height: 100%;
        min-height: 0;
        overflow: hidden;
    }

    .app-page-menu .menu-desktop-shell {
        height: 100%;
        min-height: 0;
        display: grid;
        grid-template-rows: auto minmax(0, 1fr);
        overflow: hidden;
    }

    .app-page-menu #page-menu .categories {
        position: relative;
        top: auto;
        z-index: 3;
        padding: 20px 24px 16px;
        display: flex;
        flex-wrap: nowrap;
        gap: 10px;
        overflow-x: auto;
        overflow-y: hidden;
        background: linear-gradient(180deg, #f7f8f4 0%, #f7f8f4 78%, rgba(247,248,244,0.88) 100%);
        border-bottom: 1px solid rgba(13,71,161,0.05);
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }

    .app-page-menu #page-menu .menu-list {
        min-height: 0;
        height: 100%;
        overflow-y: auto;
        overflow-x: hidden;
        align-content: start;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 16px 24px 24px;
    }
}

@media (max-width: 1199.98px) {
    .app > .header {
        position: sticky;
        top: 0;
        z-index: 220;
    }

    .app-page-menu .desktop-page-shell.desktop-page-desktop-only {
        display: none !important;
    }

    .app-page-menu #page-menu.page.active {
        display: block !important;
    }

    .app-page-menu #page-menu .menu-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        justify-content: stretch;
    }

    .app-page-menu #page-menu .categories {
        position: sticky;
        top: var(--mobile-header-height, 56px);
        z-index: 180;
        background: linear-gradient(180deg, rgba(247, 248, 244, 0.99) 0%, rgba(247, 248, 244, 0.95) 78%, rgba(247, 248, 244, 0) 100%);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: none;
        border-bottom: 0;
    }
}

@media (min-width: 1200px) {
    body {
        padding-bottom: 0;
        background:
            radial-gradient(circle at top left, rgba(212,175,55,0.12), transparent 28%),
            linear-gradient(180deg, #f7f7f2 0%, #f3f3ee 100%);
    }

    .desktop-site-header,
    .desktop-site-footer,
    .desktop-homepage,
    .desktop-menu-intro {
        display: block;
    }

    .desktop-site-header {
        position: sticky;
        top: 0;
        z-index: 320;
        box-shadow: 0 16px 36px rgba(13,71,161,0.08);
    }

    .desktop-site-header__utility {
        background: #0f2742;
        color: rgba(255,255,255,0.78);
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .desktop-site-header__utility-inner,
    .desktop-site-header__main-inner,
    .desktop-site-footer__cta-inner,
    .desktop-site-footer__grid,
    .desktop-site-footer__bottom-inner {
        width: min(1280px, calc(100vw - 64px));
        margin: 0 auto;
    }

    .desktop-site-header__utility-inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 18px;
        min-height: 46px;
    }

    .desktop-site-header__utility-copy {
        display: flex;
        align-items: center;
        gap: 18px;
        font-size: 13px;
        flex-wrap: wrap;
    }

    .desktop-site-header__utility-copy a,
    .desktop-site-header__utility-copy span {
        color: inherit;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

    .desktop-status-pill {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 8px 12px;
        border-radius: 999px;
        background: rgba(52,199,89,0.12);
        color: #dfffe8;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

    .desktop-status-pill i {
        font-size: 8px;
    }

    .desktop-site-header__main {
        background: rgba(255,255,255,0.94);
        backdrop-filter: blur(14px);
        border-bottom: 1px solid rgba(13,71,161,0.08);
    }

    .desktop-site-header__main-inner {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 28px;
        min-height: 88px;
    }

    .desktop-site-logo {
        display: inline-flex;
        flex-direction: column;
        gap: 4px;
        text-decoration: none;
    }

    .desktop-site-logo__wordmark {
        color: var(--primary);
        font-size: 28px;
        font-weight: 900;
        letter-spacing: -0.04em;
    }

    .desktop-site-logo__wordmark::after {
        content: "";
    }

    .desktop-site-logo__tagline {
        color: var(--text-secondary);
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
    }

    .desktop-site-nav {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        min-width: 0;
        flex-wrap: wrap;
    }

    .desktop-site-nav__link,
    .desktop-site-header__utility-link,
    .desktop-site-header__account {
        color: var(--text);
        text-decoration: none;
        font-size: 15px;
        font-weight: 800;
        padding: 12px 16px;
        border-radius: 999px;
        transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
    }

    .desktop-site-nav__link:hover,
    .desktop-site-nav__link.is-active,
    .desktop-site-header__utility-link:hover,
    .desktop-site-header__account:hover {
        background: rgba(13,71,161,0.08);
        color: var(--primary);
    }

    .desktop-site-header__actions {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 10px;
        min-width: 0;
    }

    .desktop-site-header__basket {
        display: inline-flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
        border: 1px solid rgba(13,71,161,0.08);
        background: #ffffff;
        border-radius: 18px;
        padding: 12px 16px;
        color: var(--primary);
        text-decoration: none;
        cursor: pointer;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .desktop-site-header__basket:hover {
        transform: translateY(-1px);
        box-shadow: 0 12px 24px rgba(13,71,161,0.1);
    }

    .desktop-site-header__basket-label {
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .desktop-site-header__basket-meta {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-weight: 800;
        font-size: 14px;
    }

    .desktop-site-header__basket-dot {
        opacity: 0.45;
    }

    .desktop-site-header__cta,
    .desktop-site-footer__button,
    .desktop-home-hero__button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 50px;
        padding: 0 22px;
        border-radius: 999px;
        text-decoration: none;
        font-weight: 800;
        font-size: 15px;
        transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    }

    .desktop-site-header__cta,
    .desktop-site-footer__button--primary,
    .desktop-home-hero__button--primary {
        background: var(--primary);
        color: white;
        box-shadow: 0 12px 26px rgba(13,71,161,0.18);
    }

    .desktop-home-hero__button--secondary,
    .desktop-site-footer__button--secondary {
        background: white;
        color: var(--primary);
        border: 1px solid rgba(13,71,161,0.1);
    }

    .desktop-site-header__cta:hover,
    .desktop-site-footer__button:hover,
    .desktop-home-hero__button:hover {
        transform: translateY(-1px);
    }

    .app {
        max-width: none;
        width: 100%;
        min-height: auto;
        margin: 0;
        background: transparent;
    }

    .app::before {
        background:
            radial-gradient(circle at top left, rgba(212,175,55,0.12), transparent 28%),
            linear-gradient(180deg, #f7f7f2 0%, #f3f3ee 100%);
    }

    .header {
        display: none;
    }

    .bottom-nav,
    .sticky-cart-bar {
        display: none !important;
    }

    .customer-shell {
        width: min(1240px, calc(100vw - 64px));
        margin: 0 auto;
        padding: 32px 0 80px;
        display: block;
    }

    .content {
        overflow: visible;
        padding-bottom: 0;
    }

    .app:not(.app-desktop-ordering) .customer-shell--with-cart {
        display: block;
        min-height: auto;
        height: auto;
    }

    .app:not(.app-desktop-ordering) .customer-basket-region {
        display: none !important;
    }

    .app:not(.app-desktop-ordering) .customer-shell--with-cart .content {
        border-right: none;
    }

    .app-page-home #page-home {
        display: none;
    }

    .desktop-homepage {
        padding-top: 16px;
    }

    .desktop-home-hero {
        display: grid;
        grid-template-columns: minmax(0, 1.3fr) 360px;
        gap: 28px;
        align-items: stretch;
    }

    .desktop-home-hero__content,
    .desktop-home-hero__panel-card,
    .desktop-home-info-card {
        background: var(--card);
        border-radius: 30px;
        border: 1px solid rgba(13,71,161,0.08);
        box-shadow: 0 18px 38px rgba(13,71,161,0.08);
    }

    .desktop-home-hero__content {
        padding: 42px;
        background:
            radial-gradient(circle at top right, rgba(212,175,55,0.16), transparent 34%),
            linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
        color: white;
    }

    .desktop-home-hero__eyebrow,
    .desktop-home-section__eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 0.1em;
        text-transform: uppercase;
    }

    .desktop-home-hero__eyebrow {
        color: rgba(255,255,255,0.72);
        margin-bottom: 18px;
    }

    .desktop-home-hero__title {
        font-size: clamp(44px, 4vw, 62px);
        line-height: 1;
        letter-spacing: -0.05em;
        margin-bottom: 18px;
        max-width: 840px;
    }

    .desktop-home-hero__lead {
        max-width: 700px;
        color: rgba(255,255,255,0.84);
        font-size: 18px;
        line-height: 1.6;
        margin-bottom: 28px;
    }

    .desktop-home-hero__actions {
        display: flex;
        gap: 14px;
        margin-bottom: 32px;
    }

    .desktop-home-hero__facts {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }

    .desktop-home-fact {
        padding: 16px 18px;
        border-radius: 20px;
        background: rgba(255,255,255,0.1);
        border: 1px solid rgba(255,255,255,0.16);
        backdrop-filter: blur(8px);
    }

    .desktop-home-fact__label {
        display: block;
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: rgba(255,255,255,0.72);
        margin-bottom: 8px;
    }

    .desktop-home-fact__value {
        display: block;
        line-height: 1.45;
        font-size: 14px;
        color: white;
    }

    .desktop-home-hero__panel-card {
        padding: 28px;
    }

    .desktop-home-hero__panel-eyebrow {
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--primary);
        margin-bottom: 10px;
    }

    .desktop-home-hero__panel-card h2 {
        font-size: 28px;
        line-height: 1.1;
        margin-bottom: 16px;
    }

    .desktop-home-hero__panel-list {
        list-style: none;
        display: grid;
        gap: 12px;
        margin-bottom: 18px;
    }

    .desktop-home-hero__panel-list li {
        position: relative;
        padding-left: 18px;
        color: var(--text-secondary);
        line-height: 1.55;
    }

    .desktop-home-hero__panel-list li::before {
        content: "";
        position: absolute;
        left: 0;
        top: 10px;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--accent);
    }

    .desktop-home-hero__panel-link,
    .desktop-home-section__link {
        color: var(--primary);
        text-decoration: none;
        font-weight: 800;
    }

    .desktop-home-section__link--inline {
        display: inline-flex;
        margin-top: 16px;
    }

    .desktop-home-section {
        margin-top: 30px;
    }

    .desktop-home-section__header {
        display: flex;
        align-items: end;
        justify-content: space-between;
        gap: 20px;
        margin-bottom: 18px;
    }

    .desktop-home-section__header h2 {
        font-size: 34px;
        line-height: 1.1;
        letter-spacing: -0.04em;
    }

    .desktop-home-section__eyebrow {
        color: var(--primary);
        margin-bottom: 10px;
    }

    .desktop-home-offers-grid,
    .desktop-home-grid,
    .desktop-page-grid {
        display: grid;
        gap: 18px;
    }

    .desktop-home-offers-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .desktop-home-offers-grid--full {
        margin-bottom: 24px;
    }

    .desktop-home-popular-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }

    .desktop-popular-card {
        display: grid;
        grid-template-columns: 110px minmax(0, 1fr);
        gap: 18px;
        padding: 22px;
        border-radius: 26px;
        border: 1px solid rgba(13,71,161,0.08);
        background: var(--card);
        box-shadow: 0 16px 32px rgba(13,71,161,0.06);
    }

    .desktop-popular-card__media {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 110px;
        height: 110px;
        border-radius: 22px;
        background: #f0f1f5;
        overflow: hidden;
    }

    .desktop-popular-card__image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .desktop-popular-card__icon {
        font-size: 54px;
    }

    .desktop-popular-card__topline {
        display: flex;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 10px;
    }

    .desktop-popular-card__topline h3 {
        font-size: 22px;
        line-height: 1.1;
        letter-spacing: -0.03em;
    }

    .desktop-popular-card__topline span {
        color: var(--primary);
        font-size: 20px;
        font-weight: 900;
        white-space: nowrap;
    }

    .desktop-popular-card__body p {
        color: var(--text-secondary);
        line-height: 1.6;
        margin-bottom: 14px;
    }

    .desktop-popular-card__meta {
        display: flex;
        gap: 14px;
        flex-wrap: wrap;
        color: var(--text-secondary);
        font-size: 13px;
        font-weight: 700;
    }

    .desktop-home-grid,
    .desktop-page-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .desktop-page-grid--account,
    .desktop-page-grid--rewards {
        align-items: start;
    }

    .desktop-page-desktop-only {
        display: block;
    }

    .app-page-profile #page-profile.page.active,
    .app-page-track #page-track.page.active,
    .app-page-history #page-history.page.active,
    .app-page-rewards #page-rewards.page.active,
    .app-page-checkout #page-checkout.page.active,
    .app-page-menu #page-menu.page.active,
    .app-page-category #page-category.page.active {
        display: none;
    }

    .desktop-home-info-card {
        padding: 28px;
    }

    .desktop-home-info-card h2 {
        font-size: 28px;
        line-height: 1.12;
        margin-bottom: 14px;
    }

    .desktop-home-info-card p {
        color: var(--text-secondary);
        line-height: 1.65;
    }

    .desktop-home-category-list {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .desktop-home-category-pill {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 12px 16px;
        border-radius: 999px;
        background: rgba(13,71,161,0.06);
        color: var(--primary);
        text-decoration: none;
        font-weight: 800;
    }

    .desktop-offer-schedule {
        font-size: 13px;
        line-height: 1.5;
        color: rgba(255,255,255,0.8);
        margin: 14px 0 0;
    }

    .desktop-account-hero,
    .desktop-rewards-hero-card {
        display: grid;
        gap: 24px;
        padding: 28px;
        margin-bottom: 24px;
        border-radius: 28px;
        background: var(--card);
        border: 1px solid rgba(13,71,161,0.08);
        box-shadow: 0 16px 32px rgba(13,71,161,0.06);
    }

    .desktop-account-hero {
        grid-template-columns: minmax(0, 1fr) minmax(340px, 420px);
        align-items: center;
    }

    .desktop-account-identity__name {
        font-size: 34px;
        line-height: 1.08;
        letter-spacing: -0.04em;
        margin-bottom: 8px;
    }

    .desktop-account-identity__meta {
        color: var(--text-secondary);
        font-size: 16px;
        line-height: 1.6;
        max-width: 560px;
    }

    .desktop-account-stat-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }

    .desktop-account-stat {
        padding: 18px;
        border-radius: 20px;
        background: rgba(13,71,161,0.05);
        border: 1px solid rgba(13,71,161,0.08);
    }

    .desktop-account-stat__label {
        display: block;
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--text-secondary);
        margin-bottom: 8px;
    }

    .desktop-account-stat strong {
        display: block;
        font-size: 18px;
        line-height: 1.3;
        color: var(--primary);
    }

    .desktop-account-link-list,
    .desktop-reward-card-list {
        display: grid;
        gap: 12px;
    }

    .desktop-account-link {
        display: flex;
        justify-content: space-between;
        gap: 18px;
        padding: 16px 18px;
        border-radius: 18px;
        background: rgba(13,71,161,0.04);
        border: 1px solid rgba(13,71,161,0.08);
        text-decoration: none;
        color: var(--text);
    }

    .desktop-account-link span:first-child {
        font-weight: 800;
    }

    .desktop-account-link span:last-child {
        color: var(--text-secondary);
        text-align: right;
    }

    .desktop-account-link--danger span:first-child {
        color: var(--danger);
    }

    .desktop-track-grid,
    .desktop-history-grid {
        display: grid;
        gap: 20px;
    }

    .desktop-track-card,
    .desktop-history-card {
        background: var(--card);
        border-radius: 26px;
        border: 1px solid rgba(13,71,161,0.08);
        box-shadow: 0 16px 32px rgba(13,71,161,0.06);
        padding: 24px;
    }

    .desktop-track-card__header,
    .desktop-history-card__header,
    .desktop-history-card__footer {
        display: flex;
        justify-content: space-between;
        gap: 20px;
        align-items: flex-start;
    }

    .desktop-track-card__header {
        margin-bottom: 20px;
    }

    .desktop-track-card__eyebrow,
    .desktop-history-card__eyebrow,
    .desktop-history-card__date {
        color: var(--text-secondary);
        font-size: 13px;
    }

    .desktop-track-card__header h2 {
        font-size: 28px;
        line-height: 1.1;
        margin-top: 6px;
    }

    .desktop-track-card__meta {
        display: grid;
        gap: 8px;
        justify-items: end;
        color: var(--text-secondary);
        font-size: 13px;
        font-weight: 700;
    }

    .desktop-track-card__meta span {
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

    .desktop-track-card .progress-track {
        margin-bottom: 22px;
    }

    .desktop-track-card__footer {
        align-items: stretch;
        gap: 24px;
    }

    .desktop-track-card__footer .eta-box {
        min-width: 260px;
    }

    .desktop-track-card__links {
        display: grid;
        gap: 12px;
        align-content: center;
    }

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

    .desktop-history-card__status-group {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .desktop-history-card__favorite {
        background: none;
        border: none;
        font-size: 20px;
        cursor: pointer;
    }

    .desktop-history-status {
        padding: 6px 12px;
        border-radius: 999px;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

    .desktop-history-status--completed {
        background: rgba(52,199,89,0.12);
        color: var(--success);
    }

    .desktop-history-status--cancelled {
        background: rgba(255,59,48,0.12);
        color: var(--danger);
    }

    .desktop-history-status--pending,
    .desktop-history-status--confirmed,
    .desktop-history-status--preparing,
    .desktop-history-status--ready {
        background: rgba(255,149,0,0.12);
        color: var(--warning);
    }

    .desktop-history-items {
        display: grid;
        gap: 8px;
        margin: 18px 0;
    }

    .desktop-history-item-line {
        display: flex;
        justify-content: space-between;
        gap: 18px;
        color: var(--text-secondary);
        font-size: 14px;
        line-height: 1.5;
    }

    .desktop-history-item-line span:last-child {
        text-align: right;
        color: var(--text-muted);
    }

    .desktop-history-item-line--muted {
        color: var(--text-muted);
    }

    .desktop-history-card__footer {
        padding-top: 16px;
        border-top: 1px solid rgba(13,71,161,0.08);
        align-items: center;
    }

    .desktop-history-total {
        font-size: 28px;
        font-weight: 900;
        color: var(--primary);
    }

    .desktop-history-actions {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
    }

    .desktop-history-action {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        min-height: 44px;
        padding: 0 16px;
        border-radius: 999px;
        text-decoration: none;
        font-weight: 800;
        border: none;
        cursor: pointer;
    }

    .desktop-history-action--primary {
        background: var(--primary);
        color: white;
    }

    .desktop-history-action--link {
        background: rgba(13,71,161,0.06);
        color: var(--primary);
    }

    .desktop-history-points {
        margin-top: 14px;
        padding-top: 14px;
        border-top: 1px solid rgba(13,71,161,0.08);
        color: var(--loyalty);
        font-size: 13px;
        font-weight: 800;
    }

    .desktop-pagination {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 12px;
        margin-top: 24px;
    }

    .desktop-pagination__link,
    .desktop-pagination__current {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        padding: 0 16px;
        border-radius: 999px;
        background: var(--card);
        color: var(--text);
        text-decoration: none;
        border: 1px solid rgba(13,71,161,0.08);
    }

    .desktop-rewards-hero-card {
        grid-template-columns: minmax(0, 1fr) 300px;
        align-items: center;
        margin-bottom: 28px;
        background:
            radial-gradient(circle at top right, rgba(255,255,255,0.18), transparent 28%),
            linear-gradient(135deg, var(--loyalty) 0%, #5856d6 100%);
        color: white;
    }

    .desktop-page-hero__eyebrow--light {
        color: rgba(255,255,255,0.72);
    }

    .desktop-rewards-hero-card__title {
        font-size: 40px;
        line-height: 1.02;
        letter-spacing: -0.05em;
        margin-bottom: 14px;
    }

    .desktop-rewards-hero-card__lead {
        color: rgba(255,255,255,0.82);
        line-height: 1.65;
        max-width: 740px;
    }

    .desktop-rewards-balance {
        padding: 24px;
        border-radius: 24px;
        background: rgba(255,255,255,0.14);
        border: 1px solid rgba(255,255,255,0.18);
        text-align: center;
        backdrop-filter: blur(8px);
    }

    .desktop-rewards-balance__value {
        font-size: 64px;
        font-weight: 900;
        line-height: 1;
        margin-bottom: 8px;
    }

    .desktop-rewards-balance__label {
        font-size: 14px;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        font-weight: 800;
        color: rgba(255,255,255,0.72);
        margin-bottom: 10px;
    }

    .desktop-rewards-balance__money {
        display: inline-flex;
        padding: 10px 14px;
        border-radius: 999px;
        background: rgba(255,255,255,0.18);
        font-weight: 800;
    }

    .desktop-reward-card {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 16px;
        border-radius: 18px;
        background: rgba(13,71,161,0.04);
        border: 1px solid rgba(13,71,161,0.08);
    }

    .desktop-reward-card--active {
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
        color: white;
    }

    .desktop-reward-card--active .reward-name,
    .desktop-reward-card--active .reward-desc {
        color: white;
    }

    .desktop-reward-card--active .reward-desc {
        opacity: 0.88;
    }

    .desktop-reward-card--muted {
        opacity: 0.82;
    }

    .desktop-reward-card__status {
        margin-left: auto;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        opacity: 0.9;
    }

    .desktop-reward-card__signin {
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .desktop-page-card__empty {
        color: var(--text-secondary);
        line-height: 1.6;
    }

    .desktop-empty-card {
        display: grid;
        justify-items: center;
        text-align: center;
        gap: 10px;
        padding: 48px 32px;
    }

    .app-desktop-ordering .customer-shell {
        width: min(1280px, calc(100vw - 64px));
        padding: 28px 0 72px;
    }

    .app-desktop-ordering .customer-shell--with-cart {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 360px;
        gap: 28px;
        align-items: start;
        min-height: auto;
        height: auto;
        max-height: none;
        overflow: visible;
    }

    .app-desktop-ordering .content {
        display: block;
        height: auto;
        overflow: visible;
    }

    .app-desktop-ordering .customer-shell--with-cart .content {
        border-right: none;
    }

    .app-desktop-ordering .customer-basket-region {
        display: block;
        align-self: start;
        position: relative;
        top: auto;
        height: auto;
        min-height: 0;
        overflow: visible;
        padding: 0;
    }

    .app-desktop-ordering .large-cart-panel {
        position: sticky;
        top: 24px;
        width: 100%;
        max-height: calc(100vh - 48px);
        overflow-y: auto;
    }

    .app-page-menu .customer-shell {
        min-height: auto;
        height: auto;
    }

    .app-page-menu .content {
        display: block;
        min-height: 0;
        height: auto;
        overflow: visible;
    }

    .app-page-menu #page-menu {
        height: auto;
        overflow: visible;
    }

    .app-page-menu .menu-desktop-shell {
        display: block;
        height: auto;
        overflow: visible;
    }

    .app-page-menu #page-menu .menu-list {
        height: auto;
        min-height: auto;
        overflow: visible;
    }

    .desktop-menu-intro {
        padding: 0 0 22px;
    }

    .desktop-menu-intro__copy {
        margin-bottom: 14px;
    }

    .desktop-menu-intro__eyebrow {
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--primary);
        margin-bottom: 12px;
    }

    .desktop-menu-intro__title {
        font-size: 42px;
        line-height: 1.02;
        letter-spacing: -0.05em;
        margin-bottom: 12px;
    }

    .desktop-menu-intro__text {
        color: var(--text-secondary);
        font-size: 16px;
        line-height: 1.6;
        max-width: 720px;
    }

    .desktop-menu-intro__meta {
        display: flex;
        gap: 14px;
        flex-wrap: wrap;
        color: var(--text-secondary);
        font-size: 13px;
        font-weight: 700;
    }

    .desktop-menu-intro__meta span {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 10px 14px;
        border-radius: 999px;
        background: rgba(13,71,161,0.06);
    }

    .app-page-menu #page-menu .categories {
        position: sticky;
        top: 132px;
        padding: 14px 0 18px;
        margin-bottom: 18px;
        background: linear-gradient(180deg, #f7f7f2 0%, #f7f7f2 86%, rgba(247,247,242,0.92) 100%);
        border-bottom: 1px solid rgba(13,71,161,0.05);
        z-index: 10;
    }

    .app-page-menu #page-menu .menu-list {
        height: auto;
        overflow: visible;
        align-content: start;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 0;
        gap: 18px;
    }

    .app-page-menu .menu-item {
        min-height: 150px;
    }

    .desktop-site-footer {
        margin-top: 16px;
        color: white;
    }

    .desktop-site-footer__cta {
        padding: 0 0 28px;
    }

    .desktop-site-footer__cta-inner {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 32px;
        padding: 28px 32px;
        border-radius: 30px;
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
        box-shadow: 0 18px 40px rgba(13,71,161,0.16);
    }

    .desktop-site-footer__eyebrow {
        font-size: 12px;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: rgba(255,255,255,0.68);
        margin-bottom: 10px;
    }

    .desktop-site-footer__title {
        font-size: 36px;
        line-height: 1.06;
        letter-spacing: -0.04em;
        margin-bottom: 10px;
    }

    .desktop-site-footer__text {
        max-width: 620px;
        color: rgba(255,255,255,0.82);
        line-height: 1.6;
    }

    .desktop-site-footer__cta-actions {
        display: flex;
        gap: 12px;
        flex-wrap: wrap;
    }

    .desktop-site-footer__main {
        background: #0d47a1;
        padding: 40px 0 28px;
    }

    .desktop-site-footer__grid {
        display: grid;
        grid-template-columns: 1.35fr repeat(3, minmax(0, 1fr));
        gap: 28px;
    }

    .desktop-site-footer__logo {
        display: inline-flex;
        margin-bottom: 14px;
        color: white;
        text-decoration: none;
        font-size: 28px;
        font-weight: 900;
        letter-spacing: -0.04em;
    }

    .desktop-site-footer__brand-copy {
        color: rgba(255,255,255,0.76);
        line-height: 1.7;
        max-width: 420px;
        margin-bottom: 16px;
    }

    .desktop-site-footer__contact {
        display: grid;
        gap: 10px;
    }

    .desktop-site-footer__contact span,
    .desktop-site-footer__contact a {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        color: rgba(255,255,255,0.82);
        text-decoration: none;
    }

    .desktop-site-footer__column h3 {
        font-size: 13px;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: rgba(255,255,255,0.62);
        margin-bottom: 14px;
    }

    .desktop-site-footer__column {
        display: grid;
        align-content: start;
        gap: 10px;
    }

    .desktop-site-footer__column a {
        color: rgba(255,255,255,0.88);
        text-decoration: none;
    }

    .desktop-site-footer__column a:hover,
    .desktop-site-footer__contact a:hover {
        color: white;
    }

    .desktop-site-footer__bottom {
        background: #102819;
        padding: 16px 0;
        border-top: 1px solid rgba(255,255,255,0.08);
    }

    .desktop-site-footer__bottom-inner {
        display: flex;
        justify-content: space-between;
        gap: 18px;
        color: rgba(255,255,255,0.62);
        font-size: 13px;
        line-height: 1.6;
    }

    .desktop-site-header {
        box-shadow: 0 16px 36px rgba(17, 24, 39, 0.08);
    }

    .desktop-site-header__announcement {
        background: #0d2237;
        color: rgba(255,255,255,0.94);
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .desktop-site-header__announcement-inner {
        width: min(1280px, calc(100vw - 64px));
        margin: 0 auto;
        min-height: 42px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 14px;
        font-size: 14px;
        font-weight: 700;
    }

    .desktop-site-header__announcement-pill {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 26px;
        padding: 0 12px;
        border-radius: 999px;
        background: rgba(212,175,55,0.18);
        color: var(--accent);
        font-size: 12px;
        font-weight: 900;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .desktop-site-header__announcement-copy strong {
        color: var(--accent);
    }

    .desktop-site-header__announcement-link {
        color: white;
        text-decoration: underline;
        text-underline-offset: 3px;
        font-weight: 800;
    }

    .desktop-site-header__utility {
        background: #111827;
    }

    .desktop-site-header__main {
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(18px);
        border-bottom: 1px solid rgba(17,24,39,0.06);
    }

    .desktop-site-header__main-inner {
        min-height: 94px;
        gap: 36px;
    }

    .desktop-site-logo {
        flex-direction: row;
        align-items: center;
        gap: 14px;
    }

    .desktop-site-logo__mark {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 54px;
        height: 54px;
        border-radius: 16px;
        background: linear-gradient(135deg, var(--primary) 0%, #0d2237 100%);
        color: white;
        box-shadow: 0 14px 24px rgba(13,71,161,0.22);
        font-size: 22px;
    }

    .desktop-site-logo__mark img {
        width: 38px;
        height: 38px;
        display: block;
    }

    .desktop-site-logo__copy {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .desktop-site-logo__wordmark {
        display: inline-flex;
        align-items: baseline;
        gap: 2px;
        font-size: 34px;
        font-weight: 900;
        letter-spacing: -0.05em;
        line-height: 0.92;
    }

    .desktop-site-logo__wordmark-main {
        color: var(--primary);
    }

    .desktop-site-logo__wordmark-accent {
        color: var(--accent);
    }

    .desktop-site-logo__tagline {
        font-size: 11px;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        color: var(--text-secondary);
    }

    .desktop-site-nav {
        gap: 8px;
        flex-wrap: nowrap;
    }

    .desktop-site-nav__link {
        position: relative;
        border-radius: 12px;
    }

    .desktop-site-nav__link.is-active::after {
        content: "";
        position: absolute;
        left: 16px;
        right: 16px;
        bottom: -16px;
        height: 3px;
        border-radius: 999px;
        background: var(--primary);
    }

    .desktop-site-header__actions {
        gap: 12px;
    }

    .desktop-site-header__basket {
        min-width: 152px;
        border-radius: 20px;
    }

    .customer-shell {
        width: min(1280px, calc(100vw - 64px));
        padding: 36px 0 72px;
    }

    .desktop-homepage {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .desktop-home-hero {
        gap: 24px;
        grid-template-columns: minmax(0, 1.35fr) 360px;
    }

    .desktop-home-hero__content,
    .desktop-home-hero__panel-card,
    .desktop-home-info-card,
    .desktop-home-trust-item,
    .desktop-home-step {
        box-shadow: 0 18px 34px rgba(17, 24, 39, 0.06);
    }

    .desktop-home-hero__content {
        padding: 52px 48px;
        background:
            radial-gradient(circle at top right, rgba(251,191,36,0.18), transparent 30%),
            linear-gradient(135deg, #0f5132 0%, #064e3b 100%);
    }

    .desktop-home-hero__title {
        max-width: 700px;
        font-size: clamp(54px, 4.8vw, 74px);
    }

    .desktop-home-hero__lead {
        max-width: 620px;
        font-size: 19px;
    }

    .desktop-home-hero__features {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
    }

    .desktop-home-hero__feature {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        min-width: 220px;
        padding: 14px 16px;
        border-radius: 20px;
        background: rgba(255,255,255,0.12);
        border: 1px solid rgba(255,255,255,0.14);
    }

    .desktop-home-hero__feature-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 42px;
        height: 42px;
        border-radius: 14px;
        background: rgba(255,255,255,0.14);
        color: var(--accent);
        flex: 0 0 auto;
    }

    .desktop-home-hero__feature-label {
        display: block;
        margin-bottom: 4px;
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: rgba(255,255,255,0.72);
    }

    .desktop-home-hero__feature strong {
        display: block;
        color: white;
        font-size: 14px;
        line-height: 1.4;
    }

    .desktop-home-hero__panel-card {
        padding: 32px 30px;
    }

    .desktop-home-hero__panel-card h2 {
        font-size: 30px;
    }

    .desktop-home-trust-bar {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px;
        margin-top: 22px;
    }

    .desktop-home-trust-item {
        display: flex;
        align-items: center;
        gap: 16px;
        padding: 22px;
        border-radius: 24px;
        background: var(--card);
        border: 1px solid rgba(17,24,39,0.06);
    }

    .desktop-home-trust-item__icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 52px;
        height: 52px;
        border-radius: 16px;
        background: rgba(13,71,161,0.08);
        color: var(--primary);
        flex: 0 0 auto;
    }

    .desktop-home-trust-item__label {
        display: block;
        margin-bottom: 6px;
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--text-secondary);
    }

    .desktop-home-trust-item strong {
        display: block;
        font-size: 16px;
        line-height: 1.45;
        color: var(--text);
    }

    .desktop-home-section {
        margin-top: 34px;
    }

    .desktop-home-section__header {
        margin-bottom: 22px;
    }

    .desktop-home-section__header h2 {
        font-size: 38px;
    }

    .desktop-home-offers-grid {
        gap: 20px;
    }

    .desktop-home-popular-grid {
        gap: 20px;
    }

    .desktop-home-steps {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }

    .desktop-home-step {
        padding: 28px;
        border-radius: 26px;
        border: 1px solid rgba(17,24,39,0.06);
        background: var(--card);
    }

    .desktop-home-step__number {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        margin-bottom: 18px;
        border-radius: 999px;
        background: var(--primary);
        color: white;
        font-size: 20px;
        font-weight: 900;
    }

    .desktop-home-step h3 {
        margin-bottom: 10px;
        font-size: 24px;
        line-height: 1.1;
    }

    .desktop-home-step p {
        color: var(--text-secondary);
        line-height: 1.65;
    }

    .desktop-home-grid {
        margin-top: 34px;
    }

    .app-page-menu .customer-shell {
        min-height: auto;
        height: auto;
        overflow: visible;
    }

    .app-page-menu .content {
        min-height: 0;
        height: auto;
        overflow: visible;
        padding-bottom: 32px;
    }

    .app-page-menu .desktop-page-shell {
        padding-bottom: 48px;
    }

    .app-page-menu #page-menu.page.active {
        display: none;
    }

    .app-desktop-ordering .customer-shell {
        padding-top: 30px;
    }

    .app-desktop-ordering .large-cart-panel {
        top: 24px;
        max-height: calc(100vh - 48px);
    }

    .desktop-menu-intro {
        padding: 24px 28px;
        border-radius: 28px;
        background: var(--card);
        border: 1px solid rgba(17,24,39,0.06);
        box-shadow: 0 16px 32px rgba(17, 24, 39, 0.05);
    }

    .desktop-menu-intro__copy {
        margin-bottom: 16px;
    }

    .desktop-menu-intro__title {
        font-size: 46px;
    }

    .desktop-menu-intro__text {
        max-width: 760px;
        font-size: 17px;
    }

    .app-page-menu #page-menu .categories {
        top: 188px;
        padding: 18px 0 18px;
        margin-bottom: 22px;
        background: linear-gradient(180deg, #f7f7f2 0%, #f7f7f2 82%, rgba(247,247,242,0.9) 100%);
    }

    .app-page-menu #page-menu .menu-list {
        gap: 20px;
    }

    .desktop-site-footer {
        margin-top: 32px;
    }

    .desktop-site-footer__cta-inner {
        padding: 36px 40px;
        border-radius: 32px;
        background: linear-gradient(135deg, #0f5132 0%, #064e3b 100%);
    }

    .desktop-site-footer__main {
        background: #111827;
        padding: 46px 0 30px;
    }

    .desktop-site-footer__grid {
        grid-template-columns: 1.5fr repeat(3, minmax(0, 0.9fr)) minmax(220px, 1.1fr);
        gap: 28px;
    }

    .desktop-site-footer__brand-copy {
        max-width: 420px;
    }

    .desktop-site-footer__column--hours {
        gap: 14px;
    }

    .desktop-site-footer__hours {
        display: grid;
        gap: 10px;
    }

    .desktop-site-footer__hours-row {
        display: flex;
        justify-content: space-between;
        gap: 18px;
        color: rgba(255,255,255,0.82);
        font-size: 14px;
    }

    .desktop-site-footer__hours-row strong {
        color: white;
        font-size: 13px;
        white-space: nowrap;
    }

    .desktop-site-footer__subheading {
        margin-top: 8px;
        font-size: 13px;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: rgba(255,255,255,0.62);
    }

    .desktop-site-footer__payments {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .desktop-site-footer__payments span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 34px;
        padding: 0 12px;
        border-radius: 999px;
        background: rgba(255,255,255,0.08);
        color: rgba(255,255,255,0.9);
        font-size: 13px;
        font-weight: 700;
    }

    .desktop-site-footer__bottom {
        background: #0d2237;
    }

    .desktop-site-footer__bottom-inner {
        align-items: center;
    }

    .desktop-site-footer__bottom-links {
        display: flex;
        align-items: center;
        gap: 16px;
        flex-wrap: wrap;
    }

    .desktop-site-footer__bottom-links a {
        color: rgba(255,255,255,0.78);
        text-decoration: none;
    }

    .desktop-site-footer__bottom-links a:hover {
        color: white;
    }
}

@media (max-width: 980px) {
    .auth-standalone-shell {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 20px;
    }

    .auth-standalone-brand,
    .auth-standalone-main {
        min-height: auto;
    }

    .auth-standalone-brand {
        padding: 28px 24px;
    }

    .auth-standalone-main .auth-page {
        width: 100%;
    }
}

/* Mobile-specific adjustments (Firefox/Edge on Android) */
@media (max-width: 430px) {
    .item-modal-sheet {
        max-height: 95vh;
        max-height: 95dvh;
    }

    .item-hero-name {
        font-size: 22px;
        padding: 0 40px;
    }

    .item-hero-image {
        font-size: 64px;
    }

    .customizations-section,
    .instructions-section {
        margin: 8px 8px;
        padding: 12px;
    }

    .option-item {
        padding: 12px 14px;
    }

    .item-modal-footer {
        padding: 12px 16px;
    }

    .add-to-cart-btn {
        font-size: 16px;
        padding: 0 18px;
        min-height: 54px;
    }

    .total-price {
        font-size: 24px;
    }

    .qty-btn-modal {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
    }
}

/* Safe Area Support */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .modal-sheet {
        padding-bottom: env(safe-area-inset-bottom);
    }
}

/* =================================================================
   Checkout Form Styles (Mobile)
   ================================================================= */
.checkout-stack {
    padding-bottom: 120px;
}

.checkout-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.checkout-summary-header h3 {
    font-size: 18px;
    font-weight: 700;
}

.checkout-prep-time {
    font-size: 13px;
    color: var(--text-secondary);
}

.checkout-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.checkout-item:last-child {
    border-bottom: none;
}

.checkout-item-media {
    width: 60px;
    height: 60px;
    background: var(--bg);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.checkout-item-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.checkout-item-icon {
    font-size: 28px;
}

.checkout-item-content {
    flex: 1;
}

.checkout-item-topline {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}

.checkout-item-name {
    font-weight: 700;
    font-size: 15px;
}

.checkout-item-price {
    font-weight: 700;
    color: var(--primary);
}

.checkout-item-customizations {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.checkout-item-note {
    font-size: 12px;
    color: var(--text-muted);
    font-style: italic;
}

.checkout-item-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
}

.checkout-item-controls {
    flex-shrink: 0;
}

.checkout-item-secondary-actions {
    display: inline-flex;
    align-items: center;
    gap: 16px;
}

.checkout-item-remove {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 0;
    color: var(--text-secondary);
    font-weight: 600;
}

.checkout-item-edit {
    font-weight: 600;
}

.checkout-totals {
    padding-top: 8px;
}

.checkout-total-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 15px;
}

.checkout-total-line span:first-child {
    color: var(--text-secondary);
}

.checkout-free {
    color: var(--success);
    font-weight: 600;
}

.checkout-total-discount {
    color: var(--success);
}

.checkout-total-grand {
    padding-top: 12px;
    border-top: 2px solid var(--border);
    margin-bottom: 0;
}

.checkout-grand-total {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
}

/* Checkout Form Fields */
.checkout-details-card h3,
.checkout-payment-card h3,
.checkout-notes-card h3 {
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 700;
}

.checkout-form-field {
    margin-bottom: 16px;
}

.form-input {
    width: 100%;
    padding: 14px;
    border: 2px solid var(--border);
    border-radius: 12px;
    font-size: 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
    background: var(--card);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 71, 42, 0.1);
}

.form-textarea {
    resize: none;
    font-family: inherit;
    min-height: 100px;
}

.form-required {
    color: var(--danger);
    font-weight: 600;
}

.form-optional {
    color: var(--text-muted);
    font-weight: 400;
    text-transform: none;
}

/* Payment Options */
.payment-options {
    display: grid;
    gap: 12px;
}

.payment-notice {
    margin-bottom: 14px;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.24);
    color: var(--text);
    font-size: 14px;
    line-height: 1.5;
}

.payment-notice strong {
    display: block;
    margin-bottom: 4px;
}

.payment-option {
    display: flex;
    align-items: center;
    padding: 16px;
    border: 2px solid var(--border);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: var(--card);
}

.payment-option:hover {
    border-color: var(--primary-light);
}

.payment-option.is-selected {
    border-color: var(--primary);
    background: rgba(26, 71, 42, 0.05);
}

.payment-radio {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    accent-color: var(--primary);
    flex-shrink: 0;
}

.payment-option-content {
    flex: 1;
}

.payment-option-name {
    font-weight: 700;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.payment-option-name i {
    font-size: 20px;
    color: var(--primary);
}

.payment-option-desc {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Checkout Submit Button */
.checkout-btn {
    width: calc(100% - 32px);
    margin: 0 16px 100px;
    padding: 18px 24px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 17px;
    font-weight: 800;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    box-shadow: 0 8px 24px rgba(26, 71, 42, 0.25);
}

.checkout-btn:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(26, 71, 42, 0.32);
}

.checkout-btn:active {
    transform: translateY(0);
}

.checkout-btn-total {
    font-size: 20px;
    font-weight: 900;
}

.checkout-btn:disabled,
.checkout-btn:disabled:hover {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    background: var(--primary);
}

/* Section Header Back Link */
.section-header-back {
    color: var(--primary);
    text-decoration: none;
    margin-right: 8px;
    font-size: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.section-header-back:hover {
    background: rgba(26, 71, 42, 0.08);
}

/* =================================================================
   Accessibility Improvements
   ================================================================= */
/* Visible focus states */
*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

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

/* Skip to content link */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    z-index: 1000;
    text-decoration: none;
    font-weight: 600;
    border-radius: 0 0 8px 0;
    transition: top 0.2s ease;
}

.skip-to-content:focus {
    top: 0;
}

/* Screen reader only utility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Better link tap targets */
a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

a:not([class]) {
    padding: 4px 0;
}

/* =================================================================
   Micro-animations & Transitions
   ================================================================= */
/* Page fade in animation */
.page.active {
    animation: pageFadeIn 0.3s ease-out;
}

@keyframes pageFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Staggered card animations */
.menu-item,
.order-card,
.reward-item {
    animation: cardSlideUp 0.4s ease-out both;
}

.menu-item:nth-child(1), .order-card:nth-child(1), .reward-item:nth-child(1) { animation-delay: 0.05s; }
.menu-item:nth-child(2), .order-card:nth-child(2), .reward-item:nth-child(2) { animation-delay: 0.1s; }
.menu-item:nth-child(3), .order-card:nth-child(3), .reward-item:nth-child(3) { animation-delay: 0.15s; }
.menu-item:nth-child(4), .order-card:nth-child(4), .reward-item:nth-child(4) { animation-delay: 0.2s; }
.menu-item:nth-child(5), .order-card:nth-child(5), .reward-item:nth-child(5) { animation-delay: 0.25s; }
.menu-item:nth-child(6), .order-card:nth-child(6), .reward-item:nth-child(6) { animation-delay: 0.3s; }
.menu-item:nth-child(7), .order-card:nth-child(7), .reward-item:nth-child(7) { animation-delay: 0.35s; }
.menu-item:nth-child(8), .order-card:nth-child(8), .reward-item:nth-child(8) { animation-delay: 0.4s; }

@keyframes cardSlideUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Add to cart button animation */
.add-btn {
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.2s ease,
                background 0.2s ease;
}

.add-btn:active {
    transform: scale(0.92);
}

.add-btn.adding {
    animation: addToCartPulse 0.4s ease;
}

@keyframes addToCartPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

/* Quick button hover lift */
.quick-btn {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.quick-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Loyalty card subtle shimmer */
.loyalty-card {
    position: relative;
    overflow: hidden;
}

.loyalty-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.15),
        transparent
    );
    animation: shimmer 3s infinite;
}

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

/* =================================================================
   Order Status Indicators (Animated)
   ================================================================= */
.order-status-badge {
    position: relative;
    overflow: hidden;
}

.order-status-badge.status-pending,
.order-status-badge.status-confirmed {
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

.order-status-badge.status-ready {
    animation: statusReady 1.5s ease-in-out infinite;
}

@keyframes statusReady {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.4);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(52, 199, 89, 0);
    }
}

/* Progress bar active step animation */
.step.active .step-dot {
    animation: stepBounce 1.5s ease-in-out infinite;
}

@keyframes stepBounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

/* =================================================================
   Empty State Enhancements
   ================================================================= */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.5;
    display: block;
}

.empty-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.empty-text {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* =================================================================
   Loading Skeleton States
   ================================================================= */
.skeleton {
    background: linear-gradient(
        90deg,
        var(--card-elevated) 25%,
        #e8e8ed 50%,
        var(--card-elevated) 75%
    );
    background-size: 200% 100%;
    animation: skeletonLoading 1.5s ease-in-out infinite;
    border-radius: 8px;
}

.skeleton-text {
    height: 16px;
    margin-bottom: 8px;
}

.skeleton-title {
    height: 24px;
    width: 60%;
    margin-bottom: 12px;
}

.skeleton-image {
    height: 200px;
    border-radius: 12px;
}

@keyframes skeletonLoading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* =================================================================
   GDPR Cookie Consent Banner
   ================================================================= */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--card);
    border-top: 1px solid var(--border);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.12);
    padding: 20px;
    z-index: 9999;
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-consent-inner {
    max-width: 430px;
    margin: 0 auto;
}

.cookie-consent-text {
    margin-bottom: 16px;
}

.cookie-consent-text h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
}

.cookie-consent-text p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.cookie-consent-actions {
    display: flex;
    gap: 12px;
}

.cookie-accept-btn {
    flex: 1;
    padding: 12px 16px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cookie-accept-btn:hover {
    background: var(--primary-light);
}

.cookie-manage-btn {
    padding: 12px 16px;
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cookie-manage-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* =================================================================
   Enhanced Mobile Header with Blur Effect
   ================================================================= */
.header.scrolled {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(13, 71, 161, 0.95);
}

/* =================================================================
   Dark Mode Support (prefers-color-scheme: dark)
   ================================================================= */
@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0a0a0a;
        --card: #1c1c1e;
        --card-elevated: #2c2c2e;
        --text: #f5f5f7;
        --text-secondary: #98989d;
        --text-muted: #636366;
        --border: #38383a;
        --primary: #2d6aa0;
        --primary-light: #4b8ccc;
        --primary-darkest: #0d2237;
        --accent: #e8c83f;
        --success: #30d158;
        --warning: #ff9f0a;
        --danger: #ff453a;
        --info: #0a84ff;
        --loyalty: #4b8ccc;
    }

    /* Adjust body and app background */
    body {
        background: var(--bg);
        color: var(--text);
    }

    .app {
        background: var(--bg);
    }

    /* Header adjustments */
    .header {
        background: var(--primary-darkest);
    }

    /* Card and surface adjustments */
    .order-card,
    .menu-item,
    .home-promo-card,
    .reward-item,
    .profile-header,
    .loyalty-card {
        background: var(--card);
        border-color: var(--border);
    }

    /* Input fields */
    .form-input,
    .checkout-form input,
    .checkout-form textarea {
        background: var(--card-elevated);
        border-color: var(--border);
        color: var(--text);
    }

    /* Modal surfaces */
    .modal-content,
    .cart-modal,
    .item-modal-sheet {
        background: var(--card);
    }

    /* Bottom navigation */
    .bottom-nav {
        background: rgba(28, 28, 30, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top-color: var(--border);
    }

    /* Sticky cart */
    .sticky-cart-bar {
        background: rgba(28, 28, 30, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-top-color: var(--border);
    }

    /* Chips and tags */
    .chip {
        background: var(--card-elevated);
        color: var(--text);
    }
    .chip.active {
        background: var(--primary);
        color: white;
    }

    /* Badges */
    .badge {
        border-color: var(--primary-darkest);
    }

    /* Toast notifications */
    .toast {
        background: var(--card-elevated);
        color: var(--text);
        border-color: var(--border);
    }

    /* Empty states */
    .empty-state {
        color: var(--text);
    }

    /* Payment options */
    .payment-option {
        background: var(--card);
        border-color: var(--border);
    }
    .payment-option.is-selected {
        background: rgba(45, 106, 62, 0.15);
    }

    /* Progress tracking */
    .step-dot {
        background: var(--card-elevated);
        border-color: var(--border);
    }
    .step.completed .step-dot {
        background: var(--success);
        border-color: var(--success);
    }
    .step.active .step-dot {
        background: var(--accent);
        border-color: var(--accent);
    }

    /* Scrollbar for desktop */
    ::-webkit-scrollbar-thumb {
        background: var(--border);
    }
}

/* Manual dark mode toggle class support */
html.theme-dark {
    --bg: #0a0a0a;
    --card: #1c1c1e;
    --card-elevated: #2c2c2e;
    --text: #f5f5f7;
    --text-secondary: #98989d;
    --text-muted: #636366;
    --border: #38383a;
    --primary: #2d6aa0;
    --primary-light: #4b8ccc;
    --primary-darkest: #0d2237;
    --accent: #e8c83f;
    --success: #30d158;
    --warning: #ff9f0a;
    --danger: #ff453a;
    --info: #0a84ff;
    --loyalty: #4b8ccc;
}

/* =================================================================
   Info Page (About, FAQ, Privacy, Terms, etc.) - Mobile
   ================================================================= */
.info-page-hero {
    padding: 24px 16px 16px;
}

.info-page-title {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 8px;
    color: var(--text);
}

.info-page-lead {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.info-page-sections {
    padding: 0 16px;
}

.info-page-section {
    margin-bottom: 20px;
}

.info-page-section-title {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary);
}

.info-page-body {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 12px;
}

.info-page-list {
    list-style: none;
    padding: 0;
}

.info-page-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.55;
}

.info-page-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.info-contact-card {
    margin: 16px;
    padding: 20px;
}

.info-contact-card h3 {
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 700;
}

.info-contact-list {
    display: grid;
    gap: 12px;
}

.info-contact-list a,
.info-contact-list span {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 10px 12px;
    background: var(--card-elevated);
    border-radius: 10px;
    transition: background 0.2s ease;
}

.info-contact-list a:hover {
    background: rgba(26, 71, 42, 0.08);
    color: var(--primary);
}

.info-contact-list i {
    color: var(--primary);
    width: 16px;
    text-align: center;
}

.contact-form {
    display: grid;
    gap: 14px;
}

.contact-form .form-group {
    display: grid;
    gap: 8px;
}

.contact-form label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.contact-form .form-textarea {
    min-height: 132px;
    resize: vertical;
}

/* =================================================================
   Cookie Preferences Modal
   ================================================================= */
.cookie-preferences-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.cookie-preferences-modal.is-open {
    display: flex;
}

.cookie-preferences-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.cookie-preferences-modal__dialog {
    position: relative;
    z-index: 1;
    background: var(--card);
    border-radius: 24px;
    padding: 32px 28px;
    max-width: 440px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
    animation: modalSlideUp 0.3s ease-out;
}

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

.cookie-preferences-modal__title {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
}

.cookie-preferences-modal__desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 24px;
}

.cookie-preferences-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
}

.cookie-preferences-option:last-of-type {
    border-bottom: none;
}

.cookie-preferences-checkbox {
    margin-top: 2px;
    width: 20px;
    height: 20px;
    accent-color: var(--primary);
    flex-shrink: 0;
}

.cookie-preferences-option__name {
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 2px;
}

.cookie-preferences-option__desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.45;
}

.cookie-preferences-modal__actions {
    display: flex;
    gap: 12px;
    margin-top: 28px;
}

.cookie-preferences-modal__actions .cookie-manage-btn,
.cookie-preferences-modal__actions .cookie-accept-btn {
    flex: 1;
}


/* ============================================
   PRODUCTION POLISH — Bluefish Overrides
   ============================================ */

/* Script font for category headings and section titles */
.script-font,
.section-title,
.desktop-home-section__eyebrow,
.desktop-menu-intro__eyebrow {
    font-family: "Dancing Script", "Playfair Display", Georgia, serif;
}

.section-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.02em;
}

/* Mobile hygiene badge */
.hygiene-badge-mobile {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 12px auto 4px;
    padding: 8px 14px;
    background: var(--primary);
    color: var(--accent);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(13, 71, 161, 0.25);
}

.hygiene-badge-mobile__star {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    background: var(--accent);
    color: var(--primary);
    border-radius: 50%;
    font-size: 11px;
}

.hygiene-badge-mobile__text strong {
    color: #fff;
    font-size: 15px;
}

/* ============================================================
   MOBILE HOME HERO — LIGHT CLEAN DESIGN
   ============================================================ */
.home-hero-light {
    padding: 16px 16px 8px;
    background: var(--bg);
}

.home-hero-light__card {
    background: var(--card);
    border-radius: 20px;
    padding: 24px 20px;
    box-shadow: 0 4px 16px rgba(13, 71, 161, 0.06);
    border: 1px solid var(--border);
    margin-bottom: 14px;
}

.home-hero-light__brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.home-hero-light__logo {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--primary);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.home-hero-light__title {
    font-family: var(--display-font);
    font-size: 24px;
    font-weight: 800;
    color: var(--text);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.home-hero-light__subtitle {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 2px;
}

.home-hero-light__actions {
    display: flex;
    gap: 10px;
}

.home-hero-light__btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 16px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.home-hero-light__btn--primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(13, 71, 161, 0.18);
}

.home-hero-light__btn--secondary {
    background: var(--card-elevated);
    color: var(--text);
    border: 1px solid var(--border);
}

.home-hero-light__meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
    text-align: center;
    font-size: 13px;
    color: var(--text-secondary);
}

.home-hero-light__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.12);
    color: #8a6d1f;
    font-weight: 600;
    font-size: 12px;
}

.home-hero-light__badge i {
    color: var(--accent);
}

.home-hero-light__address {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Allergy banner */
.allergy-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 16px 16px;
    padding: 12px 14px;
    background: #fff8e6;
    border: 1px solid #f0d78c;
    border-radius: 12px;
    color: #8a6d1f;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}

.allergy-banner i {
    color: #d4a017;
    font-size: 16px;
    flex-shrink: 0;
}

/* Item modal allergy notice */
.item-modal-allergy {
    margin-top: 12px;
    padding: 8px 12px;
    background: rgba(212, 160, 23, 0.06);
    border-radius: 10px;
    color: #8a6d1f;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 8px;
    border-left: 3px solid #d4a017;
}

.item-modal-allergy i {
    color: #d4a017;
    font-size: 13px;
    flex-shrink: 0;
}

/* Improved chip active state with gold accent */
.chip.active {
    background: var(--primary);
    color: var(--accent);
    border-color: var(--primary);
    font-weight: 700;
}

/* Better menu item cards */
.menu-item {
    position: relative;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.menu-item:active {
    transform: scale(0.985);
}

.item-price {
    font-size: 16px;
    font-weight: 800;
    color: var(--primary);
}

.badge-best {
    background: var(--accent);
    color: var(--primary);
    font-weight: 800;
    letter-spacing: 0.04em;
    box-shadow: 0 2px 4px rgba(198, 162, 79, 0.3);
}

/* Hero copy polish */
.hero-copy {
    font-size: 15px;
    line-height: 1.55;
    color: var(--text-secondary);
}

/* Menu desktop shell spacing */
.menu-desktop-shell {
    padding-top: 8px;
}

/* =================================================================
   Utility Classes — Extracted from inline styles
   ================================================================= */

/* Back link with arrow */
.back-link {
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}
.back-link::before {
    content: '←';
    font-size: 18px;
    line-height: 1;
}

/* Centered page container (confirmation, empty states) */
.page-centered {
    padding: 16px;
    padding-top: 60px;
    text-align: center;
}

/* Large emoji/icon display */
.hero-emoji {
    font-size: 80px;
    line-height: 1;
    margin-bottom: 24px;
    display: block;
}

/* Order detail card */
.order-detail-card {
    background: var(--card);
    border-radius: 16px;
    padding: 20px;
    margin: 0 16px 16px;
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(13,71,161,0.04);
}

/* Key-value row */
.kv-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 14px;
}
.kv-row:last-child {
    margin-bottom: 0;
}
.kv-label {
    color: var(--text-secondary);
}
.kv-value {
    font-weight: 700;
}
.kv-value--large {
    font-weight: 800;
    font-size: 20px;
    color: var(--primary);
}

/* Status badge pill */
.status-badge-pill {
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.status-badge-pill--success {
    background: rgba(52,199,89,0.1);
    color: var(--success);
}
.status-badge-pill--danger {
    background: rgba(255,59,48,0.1);
    color: var(--danger);
}
.status-badge-pill--warning {
    background: rgba(255,149,0,0.1);
    color: var(--warning);
}

/* Order summary box */
.order-summary-box {
    background: var(--card-elevated);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
}

/* Section divider */
.section-divider {
    border-top: 1px solid var(--border);
    padding-top: 16px;
    margin-top: 16px;
}

/* Order items list */
.order-item-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}
.order-item-row:last-child {
    border-bottom: none;
}
.order-item-qty {
    background: var(--primary);
    color: white;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 8px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    min-width: 28px;
    justify-content: center;
}
.order-item-name {
    font-weight: 600;
}
.order-item-customizations {
    font-size: 13px;
    color: var(--text-secondary);
    margin-left: 36px;
    margin-top: 2px;
}
.order-item-price {
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    margin-left: 12px;
}

/* Progress tracker */
.progress-tracker {
    margin: 20px 0;
}
.progress-tracker__steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 8px;
}
.progress-tracker__step {
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 1;
}
.progress-tracker__dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 4px;
    border: 2px solid var(--border);
    background: var(--card-elevated);
    font-size: 14px;
    font-weight: 700;
}
.progress-tracker__dot.is-active {
    border-color: var(--success);
    background: var(--success);
    color: white;
}
.progress-tracker__label {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 600;
}
.progress-tracker__label.is-active {
    color: var(--text);
}
.progress-tracker__line {
    position: absolute;
    top: 17px;
    left: 20%;
    width: 60%;
    height: 3px;
    background: var(--border);
    z-index: 0;
    border-radius: 2px;
    overflow: hidden;
}

.progress-tracker__line-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--success) 0%, #34d058 100%);
    border-radius: 2px;
    transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Points earned banner */
.points-banner {
    background: linear-gradient(135deg, var(--loyalty) 0%, #5856d6 100%);
    color: white;
    padding: 16px;
    border-radius: 14px;
    text-align: center;
}
.points-banner__label {
    font-size: 14px;
    opacity: 0.9;
    display: block;
    margin-bottom: 4px;
}
.points-banner__value {
    font-size: 24px;
    font-weight: 800;
}

/* Favorite button */
.favorite-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    transition: transform 0.2s ease;
}
.favorite-btn:active {
    transform: scale(0.9);
}

/* Text link button */
.text-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.buy-again-list {
    display: grid;
    gap: 0;
}

.buy-again-card__items {
    display: grid;
    gap: 6px;
}

.buy-again-card__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.buy-again-card__button {
    min-height: 42px;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 14px;
    gap: 8px;
    box-shadow: 0 8px 18px rgba(13,71,161,0.16);
}

/* Provider list item */
.provider-row {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}
.provider-row:last-child {
    border-bottom: none;
}
.provider-row__name {
    flex: 1;
    font-weight: 600;
}
.provider-row__status {
    font-size: 13px;
}
.provider-row__status--ok {
    color: var(--success);
}
.provider-row__status--na {
    color: var(--text-secondary);
}

/* Inline empty state */
.inline-empty-state {
    text-align: center;
    padding: 48px 24px;
    color: var(--text-secondary);
}
.inline-empty-state__icon {
    font-size: 48px;
    margin-bottom: 12px;
    display: block;
}
.inline-empty-state__title {
    font-weight: 700;
    font-size: 16px;
    color: var(--text);
    margin-bottom: 4px;
}
.inline-empty-state__text {
    font-size: 14px;
    line-height: 1.5;
}

/* Action row */
.action-row {
    display: flex;
    gap: 12px;
    margin: 0 16px 16px;
}
.action-row .btn-primary {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Notes box */
.notes-box {
    font-size: 14px;
    color: var(--text-secondary);
    background: var(--card-elevated);
    padding: 12px;
    border-radius: 10px;
    line-height: 1.5;
}


/* Key-value definition list */
.kv-list {
    margin: 0;
    padding: 0;
}

/* Rewards item variants */
.reward-item--active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: white;
}
.reward-item--active .reward-name {
    color: white;
}
.reward-item--active .reward-desc {
    color: rgba(255,255,255,0.9);
}
.reward-item--active .reward-icon {
    background: rgba(255,255,255,0.2);
}

.reward-item--muted {
    opacity: 0.6;
}

/* Transaction list (semantic replacement for menu-list/menu-item) */
.txn-list {
    padding: 0 16px;
}
.txn-item {
    background: var(--card);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.txn-item__body {
    flex: 1;
    min-width: 0;
}
.txn-item__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
    gap: 12px;
}
.txn-item__title {
    font-size: 15px;
    font-weight: 700;
}
.txn-item__amount {
    font-size: 16px;
    font-weight: 800;
    flex-shrink: 0;
}
.txn-item__amount--earned {
    color: var(--success);
}
.txn-item__amount--redeemed {
    color: var(--danger);
}
.txn-item__meta {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Offline page */
.offline-page {
    text-align: center;
    padding: 60px 20px;
}
.offline-page__icon {
    font-size: 80px;
    line-height: 1;
    margin-bottom: 24px;
    color: var(--primary-light);
}
.offline-page__title {
    font-size: 28px;
    margin-bottom: 8px;
}
.offline-page__text {
    color: var(--text-secondary);
    margin-bottom: 32px;
}


/* Visually hidden / screen-reader only */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Menu row danger variant */
.menu-row--danger {
    color: var(--danger);
}
.menu-row--danger .menu-row-label {
    color: var(--danger);
}


/* Card title and text utilities */
.card-title {
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 700;
}
.card-text {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 16px;
}

/* Section header spacing variant */
.section-header--spaced {
    margin-top: 24px;
}

/* Compact rewards hero for sub-pages */
.rewards-hero--compact {
    margin: 0 16px 16px;
    border-radius: 16px;
}

/* Inline quick button variant */
.quick-btn--inline {
    display: inline-flex;
    text-decoration: none;
}


/* Spacing utility */
.mt-20 {
    margin-top: 20px;
}

/* Bluefish premium mobile finish */
@media (max-width: 1199px) {
    body {
        background:
            linear-gradient(180deg, rgba(13, 71, 161, 0.08), rgba(243, 247, 249, 0) 260px),
            #f3f7f9;
    }

    .home-hero-light__card {
        display: grid;
        gap: 14px;
        padding: 14px;
        border: 1px solid rgba(13, 71, 161, 0.12);
        border-radius: 18px;
        background: #ffffff;
        box-shadow: 0 18px 34px rgba(13, 31, 47, 0.12);
    }

    .home-hero-light__media {
        min-height: 160px;
        border-radius: 14px;
        overflow: hidden;
        background: linear-gradient(135deg, #e8f0f4, #ffffff);
        display: grid;
        place-items: center;
    }

    .home-hero-light__media img {
        width: 100%;
        height: 100%;
        min-height: 160px;
        object-fit: cover;
        display: block;
    }

    .home-hero-light__headline {
        margin: 0;
        font-family: var(--display-font);
        font-size: 30px;
        line-height: 1.04;
        color: #0d1f2f;
        letter-spacing: 0;
    }

    .home-hero-light__lead {
        margin: -6px 0 0;
        color: #536575;
        font-size: 14px;
        line-height: 1.45;
    }

    .home-hero-light__title {
        color: #0d47a1;
    }

    .home-hero-light__subtitle {
        color: #c6a24f;
    }

    .home-hero-light__btn--primary,
    .add-btn,
    .sticky-cart {
        background: #0d47a1;
        color: #ffffff;
    }

    .home-hero-light__btn--secondary {
        border: 1px solid rgba(13, 71, 161, 0.18);
        color: #0d47a1;
        background: #ffffff;
    }

    .categories {
        position: sticky;
        top: var(--mobile-header-height);
        z-index: 20;
        background: rgba(243, 247, 249, 0.96);
        border-bottom: 1px solid rgba(13, 71, 161, 0.08);
        backdrop-filter: blur(10px);
    }

    .chip.active {
        border-color: rgba(198, 162, 79, 0.72);
        background: #0d47a1;
        color: #ffffff;
    }
}
