        /* ========================================
                           AZEED Menu - Premium Modern UI
                           Exact Template Match
                           ======================================== */

        :root {
            --background: #f5f0e8;
            --foreground: #1a1a1a;
            --card: #ffffff;
            --card-foreground: #1a1a1a;
            --primary: #f5a623;
            --primary-foreground: #ffffff;
            --accent: #f5a623;
            --accent-foreground: #ffffff;
            --muted: #f5f0e8;
            --muted-foreground: #737373;
            --border: rgba(0, 0, 0, 0.08);
            --secondary: rgba(0, 0, 0, 0.03);
            --radius: 16px;
            --surface: #f9f9f9;
            --glass-bg: rgba(255, 255, 255, 0.85);
            --shadow-color: rgba(0, 0, 0, 0.05);
            --backdrop: rgba(0, 0, 0, 0.5);
            --btn-secondary-bg: #e5e5e5;
            --btn-secondary-hover: #d5d5d5;
        }

        [data-theme="dark"] {
            --background: #0f0f0f;
            --foreground: #e5e5e5;
            --card: #1a1a1a;
            --card-foreground: #e5e5e5;
            --primary: #f5a623;
            --primary-foreground: #1a1a1a;
            --accent: #f5a623;
            --accent-foreground: #1a1a1a;
            --muted: #1a1a1a;
            --muted-foreground: #a3a3a3;
            --border: rgba(255, 255, 255, 0.1);
            --secondary: rgba(255, 255, 255, 0.05);
            --surface: #1e1e1e;
            --glass-bg: rgba(15, 15, 15, 0.85);
            --shadow-color: rgba(0, 0, 0, 0.3);
            --backdrop: rgba(0, 0, 0, 0.7);
            --btn-secondary-bg: #2a2a2a;
            --btn-secondary-hover: #333333;
        }

        * {
            box-sizing: border-box;
        }

        body {
            background-color: var(--background);
            font-family: 'Cairo', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            color: var(--foreground);
            min-height: 100vh;
            padding-bottom: 100px;
            margin: 0;
        }

        /* ========================================
                           Glass Card Effect
                           ======================================== */
        .glass-card {
            background: var(--glass-bg);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
        }

        /* ========================================
                           Header
                           ======================================== */
        .menu-header {
            position: sticky;
            top: 0;
            z-index: 100;
            background: var(--glass-bg);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-bottom: none;
            padding: 16px 24px;
            box-shadow: 0 1px 3px var(--shadow-color);
        }

        .header-content {
            max-width: 448px;
            margin: 0 auto;
            display: flex;
            flex-direction: column;
            gap: 16px;
        }

        .header-top {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 8px;
            flex-wrap: nowrap;
        }

        .header-top-actions {
            display: flex;
            align-items: center;
            gap: 6px;
            flex-shrink: 0;
            position: relative;
        }

        .order-timer-anchor {
            position: relative;
            display: inline-flex;
            flex-direction: column;
            align-items: flex-end;
        }

        .order-timer-pill {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 6px 10px;
            border-radius: 999px;
            background: var(--primary);
            color: var(--primary-foreground);
            font-size: 0.8125rem;
            font-weight: 700;
            cursor: pointer;
            border: none;
            max-width: 88px;
        }

        .order-timer-pill svg {
            flex-shrink: 0;
        }

        .order-timer-dropdown {
            position: absolute;
            top: calc(100% + 8px);
            inset-inline-end: 0;
            z-index: 220;
            max-width: min(280px, calc(100vw - 32px));
        }

        .order-timer-popup {
            width: 280px;
            max-width: min(280px, calc(100vw - 32px));
            background: rgba(255, 255, 255, 0.92);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border-radius: var(--radius);
            padding: 20px;
            text-align: center;
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
        }

        .order-timer-popup-title {
            margin: 0 0 8px;
            font-size: 1.125rem;
            font-weight: 800;
        }

        .order-timer-popup-order {
            margin: 0 0 16px;
            color: var(--muted-foreground);
            font-size: 0.875rem;
        }

        .order-timer-circle {
            width: 80px;
            height: 80px;
            margin: 0 auto 16px;
            border-radius: 50%;
            border: 3px solid var(--primary);
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--card);
        }

        .order-timer-circle-value {
            font-size: 1.125rem;
            font-weight: 800;
            color: var(--foreground);
        }

        .order-timer-popup-hint {
            margin: 0 0 16px;
            font-size: 0.875rem;
            color: var(--muted-foreground);
            line-height: 1.4;
        }

        .order-timer-popup-close {
            width: 100%;
            padding: 12px;
            border-radius: 12px;
            border: none;
            background: var(--secondary);
            font-weight: 600;
            cursor: pointer;
        }

        .orders-history-icon-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 12px;
            color: var(--foreground);
            background: var(--secondary);
            transition: background 0.15s ease;
        }

        .orders-history-icon-btn:hover {
            background: rgba(0, 0, 0, 0.06);
        }

        .notification-bell-btn {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 12px;
            color: var(--foreground);
            background: var(--secondary);
            transition: background 0.15s ease;
            text-decoration: none;
            overflow: visible;
        }

        .notification-bell-btn:hover {
            background: rgba(0, 0, 0, 0.06);
        }

        .notification-badge {
            position: absolute;
            top: 2px;
            right: 2px;
            z-index: 2;
            min-width: 18px;
            height: 18px;
            padding: 0 4px;
            border-radius: 999px;
            background: #ef4444;
            color: #fff;
            font-size: 0.65rem;
            font-weight: 800;
            line-height: 18px;
            text-align: center;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
        }

        [dir="rtl"] .notification-badge {
            right: auto;
            left: 2px;
        }

        .theme-toggle-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 12px;
            color: var(--foreground);
            background: var(--secondary);
            border: none;
            cursor: pointer;
            transition: background 0.15s ease, transform 0.3s ease;
        }

        .theme-toggle-btn:hover {
            background: rgba(0, 0, 0, 0.06);
        }

        [data-theme="dark"] .theme-toggle-btn:hover,
        [data-theme="dark"] .orders-history-icon-btn:hover,
        [data-theme="dark"] .notification-bell-btn:hover {
            background: rgba(255, 255, 255, 0.1);
        }

        .brand-section {
            flex: 1;
            min-width: 0;
        }

        .brand-section h1 {
            font-size: 1.5rem;
            font-weight: 900;
            color: var(--foreground);
            margin: 0;
            letter-spacing: -0.5px;
            font-family: 'Inter', 'Cairo', sans-serif;
        }

        .brand-section .branch-name {
            font-size: 0.75rem;
            color: var(--muted-foreground);
            display: flex;
            align-items: center;
            gap: 4px;
            margin-top: 2px;
        }

        .brand-section .branch-name svg {
            width: 12px;
            height: 12px;
        }

        .user-avatar {
            width: 40px;
            height: 40px;
            background: rgba(245, 166, 35, 0.2);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid rgba(245, 166, 35, 0.3);
            cursor: pointer;
            transition: all 0.2s ease;
            text-decoration: none;
        }

        .user-avatar:hover {
            transform: scale(1.05);
            box-shadow: 0 4px 12px rgba(245, 166, 35, 0.2);
        }

        .user-avatar span {
            color: var(--foreground);
            font-weight: 700;
            font-size: 14px;
        }

        /* Language Switcher Modern */
        .language-switcher-modern {
            position: relative;
        }

        .lang-toggle-btn {
            display: flex;
            align-items: center;
            gap: 6px;
            background: rgba(245, 166, 35, 0.15);
            border: 1px solid rgba(245, 166, 35, 0.25);
            border-radius: 50px;
            padding: 8px 14px;
            cursor: pointer;
            transition: all 0.2s ease;
            color: var(--foreground);
        }

        .lang-toggle-btn:hover {
            background: rgba(245, 166, 35, 0.25);
            border-color: rgba(245, 166, 35, 0.4);
            transform: scale(1.02);
        }

        .lang-toggle-btn svg {
            color: var(--primary);
        }

        .lang-toggle-btn .current-lang {
            font-weight: 700;
            font-size: 12px;
            letter-spacing: 0.5px;
        }

        .lang-dropdown {
            position: absolute;
            top: calc(100% + 8px);
            right: 0;
            background: white;
            border-radius: 12px;
            box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
            min-width: 160px;
            overflow: hidden;
            z-index: 200;
        }

        [dir="rtl"] .lang-dropdown {
            right: auto;
            left: 0;
        }

        .lang-option {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 12px 16px;
            color: var(--foreground);
            text-decoration: none;
            transition: all 0.15s ease;
            font-weight: 500;
            font-size: 14px;
        }

        .lang-option:hover {
            background: var(--muted);
            color: var(--foreground);
            text-decoration: none;
        }

        .lang-option.active {
            background: rgba(245, 166, 35, 0.1);
            color: var(--primary);
            font-weight: 600;
        }

        .lang-option .lang-flag {
            font-size: 18px;
            line-height: 1;
        }

        .lang-option .lang-name {
            flex: 1;
        }

        .lang-option .check-icon {
            color: var(--primary);
            flex-shrink: 0;
        }

        /* Order Type Toggle */
        .order-type-toggle {
            display: flex;
            background: var(--secondary);
            padding: 4px;
            border-radius: 12px;
        }

        .order-type-btn {
            flex: 1;
            padding: 8px 16px;
            border-radius: 8px;
            font-size: 0.875rem;
            font-weight: 700;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            border: none;
            cursor: pointer;
            background: transparent;
            color: var(--muted-foreground);
        }

        .order-type-btn.active {
            background: white;
            color: var(--foreground);
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
        }

        .order-type-btn svg {
            width: 16px;
            height: 16px;
        }

        /* ========================================
                           Promo Banner
                           ======================================== */
        .promo-banner {
            max-width: 448px;
            margin: 24px auto 0;
            padding: 0 24px;
        }

        .promo-card {
            background: linear-gradient(135deg, #f5a623 0%, #e8941d 100%);
            border-radius: 16px;
            padding: 24px;
            color: white;
            position: relative;
            overflow: hidden;
            box-shadow: 0 10px 40px rgba(245, 166, 35, 0.25);
        }

        .promo-card::after {
            content: '';
            position: absolute;
            right: -16px;
            bottom: -32px;
            width: 128px;
            height: 128px;
            background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.5'%3E%3Cpath d='M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z'/%3E%3Ccircle cx='7.5' cy='7.5' r='.5' fill='white'/%3E%3C/svg%3E") no-repeat center;
            background-size: contain;
            transform: rotate(12deg);
            opacity: 0.1;
        }

        .promo-badge {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px);
            padding: 4px 8px;
            border-radius: 20px;
            font-size: 10px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 8px;
        }

        .promo-badge svg {
            width: 12px;
            height: 12px;
            fill: currentColor;
        }

        .promo-title {
            font-size: 1.5rem;
            font-weight: 900;
            margin: 0 0 4px 0;
            line-height: 1.1;
        }

        .promo-subtitle {
            font-size: 0.875rem;
            opacity: 0.9;
            margin: 0;
            font-weight: 500;
        }

        /* ========================================
                           Sticky browse (categories + search)
                           ======================================== */
        .menu-sticky-browse {
            position: sticky;
            top: var(--menu-sticky-offset, 96px);
            z-index: 95;
            background: var(--background);
            margin-top: 24px;
            padding-bottom: 8px;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
        }

        .menu-sticky-browse .categories-section {
            margin-top: 0;
        }

        .menu-sticky-browse .search-section-modern {
            margin-bottom: 12px;
        }

        /* ========================================
                           Categories
                           ======================================== */
        .categories-section {
            max-width: 448px;
            margin: 32px auto 0;
            padding: 0 24px;
        }

        .category-scroll {
            display: flex;
            gap: 8px;
            overflow-x: auto;
            padding-bottom: 16px;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
        }

        .category-scroll::-webkit-scrollbar {
            display: none;
        }

        .category-pill {
            padding: 10px 24px;
            border-radius: 50px;
            font-size: 0.875rem;
            font-weight: 700;
            white-space: nowrap;
            transition: all 0.3s ease;
            border: 1px solid var(--border);
            background: white;
            color: var(--muted-foreground);
            cursor: pointer;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 4px;
        }

        .category-pill:hover {
            background: rgba(255, 255, 255, 0.5);
            color: var(--foreground);
            text-decoration: none;
        }

        .category-pill.active {
            background: var(--foreground);
            color: white;
            border-color: var(--foreground);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            transform: scale(1.05);
        }

        .category-pill svg {
            width: 12px;
            height: 12px;
        }

        /* ========================================
                           Products
                           ======================================== */
        .products-section {
            max-width: 448px;
            margin: 16px auto 0;
            padding: 0 24px;
            transition: opacity 0.2s ease;
        }

        .products-section.menu-products-pending {
            pointer-events: none;
        }

        /* ========================================
                           Skeleton Loaders
                           ======================================== */
        @keyframes shimmer {
            0% { background-position: -200% 0; }
            100% { background-position: 200% 0; }
        }

        .skeleton {
            background: linear-gradient(90deg, var(--secondary) 25%, var(--border) 50%, var(--secondary) 75%);
            background-size: 200% 100%;
            animation: shimmer 1.5s ease-in-out infinite;
            border-radius: 8px;
        }

        .skeleton-product-card {
            background: var(--card);
            border-radius: 16px;
            padding: 16px;
            border: 1px solid var(--border);
            display: flex;
            gap: 16px;
        }

        .skeleton-product-card .skeleton-img {
            width: 110px;
            height: 110px;
            border-radius: 14px;
            flex-shrink: 0;
        }

        .skeleton-product-card .skeleton-content {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 10px;
            padding-top: 4px;
        }

        .skeleton-product-card .skeleton-title {
            height: 16px;
            width: 65%;
            border-radius: 6px;
        }

        .skeleton-product-card .skeleton-desc {
            height: 12px;
            width: 90%;
            border-radius: 6px;
        }

        .skeleton-product-card .skeleton-desc.short {
            width: 50%;
        }

        .skeleton-product-card .skeleton-price {
            height: 14px;
            width: 35%;
            border-radius: 6px;
            margin-top: auto;
        }

        /* Product Modal Skeleton */
        .product-modal-skeleton {
            padding: 24px;
        }

        .product-modal-skeleton .skeleton-modal-image {
            width: 100%;
            height: 200px;
            border-radius: 16px;
            margin-bottom: 20px;
        }

        .product-modal-skeleton .skeleton-modal-details {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .product-modal-skeleton .skeleton-modal-title {
            height: 20px;
            width: 60%;
            border-radius: 6px;
        }

        .product-modal-skeleton .skeleton-modal-desc {
            height: 14px;
            width: 85%;
            border-radius: 6px;
        }

        .product-modal-skeleton .skeleton-modal-desc.short {
            width: 45%;
        }

        .product-modal-skeleton .skeleton-modal-price {
            height: 18px;
            width: 30%;
            border-radius: 6px;
            margin-top: 8px;
        }

        .product-modal-skeleton .skeleton-modal-options {
            display: flex;
            flex-direction: column;
            gap: 8px;
            margin-top: 16px;
        }

        .product-modal-skeleton .skeleton-modal-option {
            height: 48px;
            border-radius: 12px;
        }

        .products-grid {
            display: flex;
            flex-direction: column;
            gap: 24px;
        }

        .load-more-infinite {
            margin-top: 8px;
            padding-bottom: 8px;
        }

        .load-more-sentinel {
            height: 2px;
            width: 100%;
            pointer-events: none;
        }

        .load-more-infinite-status {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            padding: 12px 16px;
            font-size: 0.875rem;
            font-weight: 600;
            color: var(--muted-foreground);
        }

        .product-card {
            background: var(--card);
            border-radius: 16px;
            padding: 16px;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
            border: 1px solid var(--border);
            display: flex;
            gap: 16px;
            align-items: center;
            position: relative;
            overflow: hidden;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .product-card:hover {
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
        }

        .product-card:hover .product-img img {
            transform: scale(1.1);
        }

        /* Product Badges Container - Compact Design */
        .product-badges {
            position: absolute;
            top: 6px;
            left: 6px;
            display: flex;
            flex-direction: column;
            gap: 3px;
            z-index: 10;
            max-height: 60px;
            overflow: hidden;
        }

        .product-badges .badge {
            padding: 3px 6px;
            border-radius: 4px;
            font-size: 8px;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 2px;
            box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
            text-transform: uppercase;
            letter-spacing: 0.1px;
            white-space: nowrap;
        }

        .product-badges .badge svg {
            width: 8px;
            height: 8px;
            flex-shrink: 0;
        }

        /* Featured Badge (Gold) */
        .product-badges .featured-badge {
            background: rgba(245, 166, 35, 0.95);
            color: white;
        }

        /* Discount Badge (Red) */
        .product-badges .discount-badge {
            background: rgba(239, 68, 68, 0.95);
            color: white;
        }

        /* Cashback Badge (Green) */
        .product-badges .cashback-badge {
            background: rgba(34, 197, 94, 0.95);
            color: white;
        }

        /* Keep old chef-badge for backwards compatibility */
        .chef-badge {
            position: absolute;
            top: 0;
            right: 0;
            background: var(--accent);
            color: white;
            padding: 4px 12px;
            border-bottom-left-radius: 12px;
            font-size: 10px;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 4px;
            box-shadow: 0 2px 8px rgba(245, 166, 35, 0.3);
            text-transform: uppercase;
            letter-spacing: 0.3px;
        }

        .chef-badge svg {
            width: 12px;
            height: 12px;
        }

        .product-img {
            width: 112px;
            height: 112px;
            border-radius: 12px;
            overflow: hidden;
            background: var(--muted);
            flex-shrink: 0;
        }

        .product-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .product-content {
            flex: 1;
            min-width: 0;
            padding-top: 8px;
        }

        .product-title {
            font-weight: 700;
            font-size: 1rem;
            color: var(--foreground);
            margin: 0 0 4px 0;
            line-height: 1.3;
            display: -webkit-box;
            -webkit-line-clamp: 1;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .product-description {
            font-size: 0.75rem;
            color: var(--muted-foreground);
            margin: 0 0 12px 0;
            line-height: 1.6;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .product-footer {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .product-price {
            font-weight: 900;
            font-size: 1rem;
            color: var(--foreground);
        }

        .product-price small {
            font-weight: 500;
            color: var(--muted-foreground);
            margin-left: 4px;
        }

        .add-to-cart-btn {
            background: var(--primary);
            color: white;
            border: none;
            padding: 8px 16px;
            border-radius: 12px;
            font-size: 0.75rem;
            font-weight: 700;
            display: inline-flex;
            align-items: center;
            gap: 4px;
            cursor: pointer;
            transition: all 0.2s ease;
            min-height: 36px;
        }

        .add-to-cart-btn:hover {
            background: #e8941d;
            box-shadow: 0 4px 12px rgba(245, 166, 35, 0.3);
        }

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

        .add-to-cart-btn:disabled {
            opacity: 0.55;
            cursor: not-allowed;
            background: #9ca3af;
        }

        .product-card--out-of-stock {
            opacity: 0.88;
        }

        .badge.oos-badge {
            background: #6b7280;
            color: #fff;
        }

        .badge.recommended-badge {
            background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
            color: #fff;
        }

        /* ========================================
                           Floating Cart Button - Modern
                           ======================================== */
        .floating-cart-modern {
            position: fixed;
            bottom: 24px;
            left: 50%;
            transform: translateX(-50%);
            background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
            color: white;
            padding: 12px 24px;
            border-radius: 50px;
            display: flex;
            align-items: center;
            gap: 12px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
            z-index: 1000;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            text-decoration: none;
            min-width: 180px;
            justify-content: center;
        }

        .floating-cart-modern:hover {
            transform: translateX(-50%) translateY(-3px);
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
            color: white;
            text-decoration: none;
        }

        .floating-cart-modern .cart-icon-wrapper {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .floating-cart-modern .cart-badge {
            position: absolute;
            top: -10px;
            right: -12px;
            background: linear-gradient(135deg, #f5a623 0%, #e8941d 100%);
            color: white;
            font-size: 11px;
            font-weight: 800;
            width: 22px;
            height: 22px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 8px rgba(245, 166, 35, 0.4);
            border: 2px solid #1a1a1a;
        }

        .floating-cart-modern .cart-divider {
            width: 1px;
            height: 20px;
            background: rgba(255, 255, 255, 0.25);
            flex-shrink: 0;
            margin: 0 4px;
        }

        .floating-cart-modern .cart-label {
            font-weight: 600;
            font-size: 0.9375rem;
            white-space: nowrap;
        }

        .floating-cart-modern .cart-total {
            font-weight: 800;
            font-size: 0.9375rem;
            letter-spacing: -0.2px;
            white-space: nowrap;
        }

        @keyframes cartBounce {
            0%, 100% { transform: translateX(-50%) scale(1); }
            50% { transform: translateX(-50%) scale(1.12); }
        }

        .floating-cart-modern.cart-bounce {
            animation: cartBounce 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }

        /* Old floating cart (hidden) */
        .floating-cart {
            display: none !important;
        }

        /* ========================================
                           Reorder Banner
                           ======================================== */
        .reorder-banner-wrapper {
            max-width: 448px;
            margin: 0 auto;
            padding: 0 24px 6px;
        }

        .reorder-banner {
            background: var(--card);
            border-radius: 14px;
            padding: 10px 12px;
            border: 1px solid var(--border);
            animation: fadeInUp 0.4s ease;
        }

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

        .reorder-banner-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 6px;
        }

        .reorder-banner-title-row {
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .reorder-wave {
            font-size: 1.05rem;
            line-height: 1;
        }

        .reorder-banner-header h3 {
            font-size: 0.875rem;
            font-weight: 700;
            margin: 0;
            line-height: 1.2;
            color: var(--foreground);
        }

        .reorder-dismiss {
            background: none;
            border: none;
            padding: 4px;
            cursor: pointer;
            color: var(--muted-foreground);
            border-radius: 8px;
        }

        .reorder-dismiss:hover {
            background: var(--secondary);
        }

        .reorder-banner-body {
            display: flex;
            align-items: center;
            gap: 8px;
            min-width: 0;
        }

        .reorder-items-row {
            display: flex;
            gap: 6px;
            margin-bottom: 0;
            overflow-x: auto;
            flex: 1;
            min-width: 0;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
        }

        .reorder-items-row::-webkit-scrollbar {
            display: none;
        }

        .reorder-item-thumb {
            width: 36px;
            height: 36px;
            border-radius: 8px;
            overflow: hidden;
            flex-shrink: 0;
            background: var(--muted);
        }

        .reorder-item-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .reorder-item-placeholder {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--muted-foreground);
        }

        .reorder-item-more {
            width: 36px;
            height: 36px;
            border-radius: 8px;
            background: var(--secondary);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.6875rem;
            font-weight: 700;
            color: var(--muted-foreground);
            flex-shrink: 0;
        }

        .reorder-item-count {
            font-size: 0.6875rem;
            color: var(--muted-foreground);
            flex-shrink: 0;
            white-space: nowrap;
        }

        .reorder-form {
            display: inline;
            flex-shrink: 0;
        }

        .reorder-btn {
            background: var(--primary);
            color: var(--primary-foreground);
            border: none;
            padding: 7px 12px;
            border-radius: 10px;
            font-weight: 700;
            font-size: 0.75rem;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            gap: 4px;
            line-height: 1;
            transition: all 0.2s;
        }

        .reorder-btn:hover {
            opacity: 0.9;
            transform: translateY(-1px);
        }

        /* ========================================
                           Upsell Bottom Sheet
                           ======================================== */
        .upsell-backdrop {
            position: fixed;
            inset: 0;
            background: var(--backdrop);
            z-index: 1040;
        }

        .upsell-sheet {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            z-index: 1041;
            background: var(--card);
            border-radius: 24px 24px 0 0;
            box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.15);
            max-height: 55vh;
            overflow: hidden;
            display: flex;
            flex-direction: column;
        }

        .upsell-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 20px 24px 12px;
            flex-shrink: 0;
        }

        .upsell-header h3 {
            font-size: 1.0625rem;
            font-weight: 800;
            margin: 0;
            color: var(--foreground);
        }

        .upsell-close {
            background: var(--secondary);
            border: none;
            width: 32px;
            height: 32px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            color: var(--muted-foreground);
            transition: all 0.15s ease;
        }

        .upsell-close:hover {
            background: var(--btn-secondary-bg);
            color: var(--foreground);
        }

        .upsell-items {
            display: flex;
            gap: 12px;
            padding: 8px 24px 28px;
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            -webkit-overflow-scrolling: touch;
            scrollbar-width: none;
        }

        .upsell-items::-webkit-scrollbar {
            display: none;
        }

        .upsell-card {
            flex-shrink: 0;
            width: 140px;
            background: var(--surface);
            border-radius: 16px;
            padding: 12px;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            scroll-snap-align: start;
            border: 1px solid var(--border);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .upsell-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px var(--shadow-color);
        }

        .upsell-card-img {
            width: 80px;
            height: 80px;
            border-radius: 14px;
            overflow: hidden;
            background: var(--muted);
            flex-shrink: 0;
        }

        .upsell-card-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .upsell-card-info {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4px;
            text-align: center;
            width: 100%;
        }

        .upsell-card-name {
            font-size: 0.8125rem;
            font-weight: 700;
            color: var(--foreground);
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            line-height: 1.3;
        }

        .upsell-card-price {
            font-size: 0.75rem;
            font-weight: 600;
            color: var(--muted-foreground);
        }

        .upsell-add-btn {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: var(--primary);
            color: var(--primary-foreground);
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s ease;
            flex-shrink: 0;
        }

        .upsell-add-btn:hover:not(:disabled) {
            transform: scale(1.1);
            box-shadow: 0 4px 12px rgba(245, 166, 35, 0.35);
        }

        .upsell-add-btn:disabled {
            opacity: 0.6;
            cursor: not-allowed;
        }

        .upsell-add-btn .spinner-sm {
            width: 16px;
            height: 16px;
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-top-color: white;
            border-radius: 50%;
            animation: spin 0.6s linear infinite;
        }

        /* ========================================
                           Menu order success page
                           ======================================== */
        .menu-success-page {
            max-width: 448px;
            margin: 0 auto;
            padding: 24px 20px 80px;
        }

        .success-container {
            text-align: center;
        }

        .success-check-wrap {
            margin-bottom: 20px;
        }

        .success-check-circle {
            width: 88px;
            height: 88px;
            margin: 0 auto;
            border-radius: 50%;
            background: linear-gradient(145deg, #22c55e, #16a34a);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #fff;
            animation: successPop 0.5s ease-out;
            box-shadow: 0 8px 24px rgba(34, 197, 94, 0.35);
        }

        @keyframes successPop {
            0% {
                transform: scale(0.6);
                opacity: 0;
            }

            70% {
                transform: scale(1.05);
            }

            100% {
                transform: scale(1);
                opacity: 1;
            }
        }

        .success-title {
            font-size: 1.5rem;
            font-weight: 900;
            margin: 0 0 8px;
            letter-spacing: -0.5px;
        }

        .success-sub {
            color: var(--muted-foreground);
            margin: 0 0 24px;
            line-height: 1.5;
        }

        .success-order-card {
            background: var(--card);
            border-radius: var(--radius);
            padding: 16px 18px;
            text-align: start;
            margin-bottom: 20px;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
        }

        .success-order-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 8px 0;
            font-size: 0.9375rem;
            border-bottom: 1px solid var(--border);
        }

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

        .timer-popup-card {
            display: flex;
            align-items: center;
            gap: 14px;
            background: rgba(245, 166, 35, 0.12);
            border: 1px solid rgba(245, 166, 35, 0.35);
            border-radius: var(--radius);
            padding: 14px 16px;
            margin-bottom: 24px;
            text-align: start;
        }

        .timer-popup-icon {
            flex-shrink: 0;
            color: var(--primary);
        }

        .timer-popup-label {
            font-size: 0.8125rem;
            color: var(--muted-foreground);
            margin-bottom: 4px;
        }

        .timer-popup-value {
            font-size: 1.0625rem;
            font-weight: 800;
            color: var(--foreground);
        }

        .success-redirect-hint {
            color: var(--muted-foreground);
            font-size: 0.9375rem;
            margin-bottom: 16px;
        }

        .success-countdown {
            font-weight: 800;
            color: var(--foreground);
        }

        .success-menu-link {
            display: inline-block;
            font-weight: 700;
            color: var(--primary);
            text-decoration: underline;
            text-underline-offset: 3px;
        }

        /* ========================================
                           Menu notifications page
                           ======================================== */
        .menu-notifications-page {
            max-width: 448px;
            margin: 0 auto;
            padding: 16px 16px 100px;
        }

        .menu-notifications-header {
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 18px;
            flex-wrap: wrap;
        }

        .menu-notifications-back {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 12px;
            background: var(--secondary);
            color: var(--foreground);
            flex-shrink: 0;
        }

        .menu-notifications-header h1 {
            margin: 0;
            font-size: 1.2rem;
            font-weight: 800;
            flex: 1;
            min-width: 0;
        }

        .menu-notifications-mark-all {
            border: none;
            background: transparent;
            color: var(--primary);
            font-weight: 700;
            font-size: 0.8125rem;
            cursor: pointer;
            padding: 6px 4px;
            white-space: nowrap;
        }

        .menu-notifications-list {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .menu-notif-card {
            width: 100%;
            display: flex;
            align-items: flex-start;
            gap: 12px;
            padding: 14px 14px;
            border-radius: var(--radius);
            border: 1px solid var(--border);
            background: var(--card);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            cursor: pointer;
            text-align: start;
            font: inherit;
            color: inherit;
            position: relative;
        }

        .menu-notif-card--unread {
            border-color: rgba(245, 166, 35, 0.45);
            background: rgba(245, 166, 35, 0.04);
        }

        .menu-notif-icon {
            flex-shrink: 0;
            width: 40px;
            height: 40px;
            border-radius: 12px;
            background: var(--secondary);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--foreground);
        }

        .menu-notif-body {
            flex: 1;
            min-width: 0;
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .menu-notif-title {
            font-weight: 700;
            font-size: 0.9375rem;
            line-height: 1.3;
        }

        .menu-notif-desc {
            font-size: 0.8125rem;
            color: var(--muted-foreground);
            line-height: 1.35;
        }

        .menu-notif-time {
            font-size: 0.7rem;
            color: var(--muted-foreground);
        }

        .menu-notif-dot {
            position: absolute;
            top: 14px;
            inset-inline-end: 12px;
            width: 8px;
            height: 8px;
            border-radius: 50%;
            background: var(--primary);
        }

        .menu-notifications-empty {
            text-align: center;
            padding: 48px 20px;
            color: var(--muted-foreground);
        }

        .menu-notifications-empty svg {
            margin-bottom: 12px;
            opacity: 0.5;
        }

        .menu-notifications-pagination {
            margin-top: 20px;
        }

        /* ========================================
                           Order history page
                           ======================================== */
        .orders-history-page {
            max-width: 448px;
            margin: 0 auto;
            padding: 16px 16px 100px;
        }

        .orders-history-header {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 20px;
        }

        .orders-back-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 12px;
            background: var(--secondary);
            color: var(--foreground);
        }

        .orders-history-header h1 {
            margin: 0;
            font-size: 1.25rem;
            font-weight: 800;
        }

        .order-history-card {
            background: var(--card);
            border-radius: var(--radius);
            margin-bottom: 12px;
            overflow: hidden;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        }

        .order-history-card-header {
            width: 100%;
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 14px 14px;
            border: none;
            background: transparent;
            cursor: pointer;
            text-align: start;
            font: inherit;
            color: inherit;
        }

        .order-history-info {
            flex: 1;
            min-width: 0;
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .order-history-number {
            font-weight: 800;
            font-size: 1rem;
        }

        .order-history-date {
            font-size: 0.75rem;
            color: var(--muted-foreground);
        }

        .order-history-meta {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            gap: 6px;
        }

        .order-history-total {
            font-weight: 700;
            font-size: 0.9375rem;
        }

        .order-history-chevron {
            flex-shrink: 0;
            transition: transform 0.2s ease;
            color: var(--muted-foreground);
        }

        .order-history-chevron.is-open {
            transform: rotate(180deg);
        }

        .order-status-badge {
            font-size: 0.6875rem;
            font-weight: 700;
            padding: 4px 8px;
            border-radius: 999px;
            text-transform: capitalize;
        }

        .order-status-badge--light {
            background: #f3f4f6;
            color: #4b5563;
        }

        .order-status-badge--warning {
            background: #fef3c7;
            color: #b45309;
        }

        .order-status-badge--success {
            background: #dcfce7;
            color: #15803d;
        }

        .order-status-badge--info {
            background: #e0f2fe;
            color: #0369a1;
        }

        .order-status-badge--primary {
            background: rgba(245, 166, 35, 0.2);
            color: #b45309;
        }

        .order-status-badge--danger {
            background: #fee2e2;
            color: #b91c1c;
        }

        .order-status-badge--secondary {
            background: #e5e7eb;
            color: #374151;
        }

        .order-history-body {
            padding: 0 14px 14px;
            border-top: 1px solid var(--border);
        }

        .order-history-item-row {
            display: flex;
            gap: 12px;
            padding: 12px 0;
            border-bottom: 1px solid var(--border);
        }

        .order-history-item-row:last-of-type {
            border-bottom: none;
        }

        .order-history-item-img {
            width: 56px;
            height: 56px;
            border-radius: 10px;
            object-fit: cover;
            flex-shrink: 0;
            background: var(--muted);
        }

        .order-history-item-details {
            flex: 1;
            min-width: 0;
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .order-history-item-name {
            font-weight: 700;
            font-size: 0.9375rem;
        }

        .order-history-item-var,
        .order-history-item-toppings {
            font-size: 0.75rem;
            color: var(--muted-foreground);
        }

        .order-history-item-qty-price {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            gap: 4px;
            font-size: 0.8125rem;
            font-weight: 600;
        }

        .order-history-summary {
            margin-top: 12px;
            padding-top: 12px;
            border-top: 1px dashed var(--border);
        }

        .order-history-summary-row {
            display: flex;
            justify-content: space-between;
            font-size: 0.875rem;
            padding: 6px 0;
        }

        .order-history-summary-row.discount {
            color: #15803d;
        }

        .order-history-summary-row.total {
            font-weight: 800;
            font-size: 1rem;
            padding-top: 10px;
            margin-top: 4px;
            border-top: 1px solid var(--border);
        }

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

        .orders-empty-state p {
            color: var(--muted-foreground);
            margin: 12px 0 20px;
        }

        .orders-empty-cta {
            display: inline-block;
            padding: 12px 24px;
            border-radius: 12px;
            background: var(--primary);
            color: var(--primary-foreground);
            font-weight: 700;
            text-decoration: none;
        }

        .orders-pagination {
            margin-top: 20px;
            display: flex;
            justify-content: center;
        }

        .orders-pagination nav {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            justify-content: center;
        }

        /* ========================================
                           Empty State
                           ======================================== */
        .empty-state {
            text-align: center;
            padding: 60px 24px;
        }

        .empty-state svg {
            width: 64px;
            height: 64px;
            color: var(--muted-foreground);
            margin-bottom: 16px;
        }

        .empty-state h3 {
            color: var(--muted-foreground);
            font-weight: 600;
            margin: 0;
        }

        /* ========================================
                           Mobile Responsive
                           ======================================== */
        @media (max-width: 480px) {
            .menu-header {
                padding: 12px 16px;
            }

            .header-content {
                gap: 12px;
            }

            .brand-section h1 {
                font-size: 1.25rem;
            }

            .promo-banner,
            .categories-section,
            .products-section {
                padding: 0 16px;
            }

            .promo-card {
                padding: 20px;
            }

            .promo-title {
                font-size: 1.25rem;
            }

            .product-img {
                width: 96px;
                height: 96px;
            }

            .product-card {
                padding: 12px;
                gap: 12px;
            }

            .category-pill {
                padding: 8px 20px;
                font-size: 0.8125rem;
            }
        }

        /* ========================================
                           Animations
                           ======================================== */
        .fade-in-up {
            animation: fadeInUp 0.4s ease-out forwards;
            opacity: 0;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Hide old styles completely */
        .carousel-container,
        .header-overlay,
        .store-banner,
        .categories-container {
            display: none !important;
        }

        /* —— Category nav: scroll affordance & snap —— */
        .categories-section {
            position: relative;
        }

        .categories-section::before,
        .categories-section::after {
            content: '';
            position: absolute;
            top: 0;
            bottom: 0;
            width: 28px;
            z-index: 2;
            pointer-events: none;
        }

        .categories-section::before {
            left: 0;
            background: linear-gradient(to right, var(--background, #f5f0e8), transparent);
        }

        .categories-section::after {
            right: 0;
            background: linear-gradient(to left, var(--background, #f5f0e8), transparent);
        }

        .category-scroll {
            scroll-snap-type: x mandatory;
            -webkit-overflow-scrolling: touch;
        }

        .category-pill {
            scroll-snap-align: start;
            position: relative;
        }

        .category-pill.active {
            color: var(--primary, #f5a623);
        }

        .category-pill.active::after {
            content: '';
            position: absolute;
            left: 12px;
            right: 12px;
            bottom: 4px;
            height: 3px;
            border-radius: 999px;
            background: var(--primary, #f5a623);
            animation: categoryUnderline 0.25s ease-out;
        }

        @keyframes categoryUnderline {
            from {
                transform: scaleX(0);
            }

            to {
                transform: scaleX(1);
            }
        }

        .category-count {
            font-size: 0.7rem;
            opacity: 0.75;
            font-weight: 600;
            margin-inline-start: 4px;
        }

        /* —— Product modal —— */
        @keyframes productModalAddedPulse {
            0% {
                transform: scale(1);
            }

            40% {
                transform: scale(1.02);
            }

            100% {
                transform: scale(1);
            }
        }

        .product-modal-added-pulse {
            animation: productModalAddedPulse 0.45s ease-out;
        }

        .product-modal-running-total {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 0 0;
            margin-top: 12px;
            border-top: 1px solid #f0f0f0;
            font-weight: 800;
            font-size: 1rem;
        }

        .product-modal-image-zoomable {
            cursor: zoom-in;
        }

        .product-modal-image-zoomable.is-zoomed {
            cursor: zoom-out;
        }

        .product-modal-image-zoomable.is-zoomed img {
            transform: scale(1.85);
            transform-origin: center center;
        }

        .required-badge--strong {
            font-size: 0.6875rem;
            padding: 4px 8px;
            box-shadow: 0 1px 4px rgba(239, 68, 68, 0.35);
        }

        /* —— Order status page —— */
        .order-status-page {
            max-width: 448px;
            margin: 0 auto;
            padding: 16px 20px 120px;
        }

        .order-status-header {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 20px;
        }

        .order-status-header h1 {
            margin: 0;
            font-size: 1.25rem;
        }

        .order-status-back {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 12px;
            background: #fff;
            color: #1a1a1a;
            box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
        }

        .order-status-card {
            background: #fff;
            border-radius: var(--radius, 16px);
            padding: 16px 18px;
            margin-bottom: 20px;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
        }

        .order-status-meta {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.9375rem;
        }

        .order-status-eta,
        .order-status-live {
            margin: 10px 0 0;
            font-size: 0.875rem;
            color: #737373;
        }

        .order-status-alert {
            padding: 14px 16px;
            border-radius: 12px;
            margin-bottom: 20px;
            font-weight: 600;
        }

        .order-status-alert--danger {
            background: #fef2f2;
            color: #991b1b;
            border: 1px solid #fecaca;
        }

        .order-status-timeline {
            list-style: none;
            margin: 0 0 24px;
            padding: 0;
        }

        .order-status-step {
            position: relative;
            padding: 0 0 16px 28px;
            font-size: 0.9rem;
            color: #a3a3a3;
        }

        .order-status-step.is-done {
            color: #525252;
        }

        .order-status-step.is-current {
            color: #1a1a1a;
            font-weight: 800;
        }

        .order-status-step.is-current .order-status-dot {
            background: var(--primary, #f5a623);
            box-shadow: 0 0 0 4px rgba(245, 166, 35, 0.25);
            animation: statusPulse 1.6s ease-in-out infinite;
        }

        @keyframes statusPulse {

            0%,
            100% {
                box-shadow: 0 0 0 4px rgba(245, 166, 35, 0.2);
            }

            50% {
                box-shadow: 0 0 0 8px rgba(245, 166, 35, 0.12);
            }
        }

        .order-status-dot {
            position: absolute;
            left: 0;
            top: 4px;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: #e5e5e5;
        }

        .order-status-step.is-done .order-status-dot {
            background: #22c55e;
        }

        .order-status-summary h2 {
            font-size: 1rem;
            margin: 0 0 10px;
        }

        .order-status-items {
            list-style: none;
            margin: 0;
            padding: 0;
            font-size: 0.875rem;
            color: #525252;
        }

        .order-status-items li {
            padding: 6px 0;
            border-bottom: 1px solid #f0f0f0;
        }

        /* —— Orders history enhancements —— */
        .orders-date-group-title {
            font-size: 0.75rem;
            font-weight: 800;
            text-transform: uppercase;
            letter-spacing: 0.04em;
            color: #737373;
            margin: 20px 0 8px;
            padding-inline-start: 4px;
        }

        .order-card-actions {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 12px;
            margin-top: 12px;
            padding: 0 4px 8px;
        }

        .order-track-status-link {
            font-size: 0.8125rem;
            font-weight: 700;
            color: #0f766e;
            text-decoration: none;
        }

        .order-track-status-link:hover {
            text-decoration: underline;
        }

        .order-reorder-form {
            margin-top: 0;
        }

        .order-reorder-btn {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 8px 14px;
            border-radius: 10px;
            border: none;
            background: rgba(245, 166, 35, 0.15);
            color: #b45309;
            font-weight: 700;
            font-size: 0.8125rem;
            cursor: pointer;
        }

        .order-history-item-count {
            font-size: 0.8125rem;
            color: #737373;
            margin-top: 4px;
        }

        /* —— Cart header / empty —— */
        .cart-continue-inline {
            font-size: 0.8125rem;
            font-weight: 600;
            color: var(--primary, #f5a623);
            text-decoration: none;
        }

        .cart-continue-inline:hover {
            text-decoration: underline;
        }

        .empty-cart-modern .empty-cart-illustration {
            margin-bottom: 8px;
        }

        /* —— Accessibility: focus —— */
        .product-card:focus-visible,
        .category-pill:focus-visible,
        .add-to-cart-btn:focus-visible,
        .cart-continue-inline:focus-visible,
        .order-reorder-btn:focus-visible {
            outline: 2px solid var(--primary, #f5a623);
            outline-offset: 2px;
        }

        .orders-flash {
            margin: 12px 16px 0;
            padding: 12px 14px;
            border-radius: 12px;
            font-size: 0.875rem;
            font-weight: 600;
        }

        .orders-flash--error {
            background: #fef2f2;
            color: #991b1b;
            border: 1px solid #fecaca;
        }

        .orders-flash--success {
            background: #ecfdf5;
            color: #065f46;
            border: 1px solid #a7f3d0;
        }

        .success-links {
            display: flex;
            flex-direction: column;
            gap: 10px;
            align-items: center;
            margin-top: 8px;
        }

        /* ========================================
                           Web push opt-in (menu index)
                           ======================================== */
        .menu-push-overlay {
            position: fixed;
            inset: 0;
            z-index: 1050;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px 16px;
            pointer-events: none;
        }

        .menu-push-overlay > * {
            pointer-events: auto;
        }

        .menu-push-backdrop {
            position: absolute;
            inset: 0;
            background: var(--backdrop);
        }

        .menu-push-dialog-wrap {
            position: relative;
            z-index: 1;
            width: 100%;
            max-width: 400px;
            margin: auto;
        }

        .menu-push-card {
            position: relative;
            border-radius: 22px;
            padding: 28px 24px 24px;
            box-shadow: 0 24px 64px var(--shadow-color), 0 0 0 1px var(--border);
            border: 1px solid var(--border);
            background: var(--card);
        }

        .menu-push-close {
            position: absolute;
            top: 14px;
            inset-inline-end: 14px;
            width: 36px;
            height: 36px;
            border-radius: 12px;
            border: none;
            background: var(--secondary);
            color: var(--muted-foreground);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.15s ease, color 0.15s ease, transform 0.12s ease;
            z-index: 2;
        }

        .menu-push-close:hover {
            background: var(--btn-secondary-bg);
            color: var(--foreground);
        }

        .menu-push-close:active {
            transform: scale(0.96);
        }

        .menu-push-body {
            text-align: center;
        }

        .menu-push-body--compact {
            padding-top: 4px;
        }

        .menu-push-hero {
            position: relative;
            width: 88px;
            height: 88px;
            margin: 0 auto 18px;
        }

        .menu-push-hero--muted {
            margin-bottom: 14px;
        }

        .menu-push-hero-ring {
            position: absolute;
            inset: 0;
            border-radius: 50%;
            background: conic-gradient(from 210deg, var(--primary), #ffd27a, var(--primary));
            opacity: 0.35;
            animation: menu-push-ring-spin 10s linear infinite;
        }

        @keyframes menu-push-ring-spin {
            to {
                transform: rotate(360deg);
            }
        }

        .menu-push-hero-icon {
            position: absolute;
            inset: 10px;
            border-radius: 50%;
            background: linear-gradient(145deg, var(--primary), #e89410);
            color: var(--primary-foreground);
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 10px 28px rgba(245, 166, 35, 0.45);
        }

        .menu-push-hero-icon--muted {
            position: static;
            inset: auto;
            width: 72px;
            height: 72px;
            margin: 0 auto;
            background: var(--secondary);
            color: var(--muted-foreground);
            box-shadow: none;
        }

        .menu-push-title {
            margin: 0 0 8px;
            font-size: 1.25rem;
            font-weight: 800;
            letter-spacing: -0.02em;
            color: var(--foreground);
            line-height: 1.35;
        }

        .menu-push-sub {
            margin: 0 0 20px;
            font-size: 0.9375rem;
            line-height: 1.55;
            color: var(--muted-foreground);
        }

        .menu-push-benefits {
            list-style: none;
            margin: 0 0 18px;
            padding: 0;
            text-align: start;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .menu-push-benefits li {
            display: flex;
            align-items: flex-start;
            gap: 10px;
            font-size: 0.875rem;
            font-weight: 600;
            color: var(--foreground);
            line-height: 1.45;
        }

        .menu-push-check {
            flex-shrink: 0;
            width: 22px;
            height: 22px;
            border-radius: 8px;
            background: rgba(245, 166, 35, 0.15);
            color: var(--primary);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-top: 1px;
        }

        [data-theme="dark"] .menu-push-check {
            background: rgba(245, 166, 35, 0.2);
        }

        .menu-push-footnote {
            margin: 0 0 22px;
            font-size: 0.75rem;
            line-height: 1.5;
            color: var(--muted-foreground);
        }

        .menu-push-actions {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        .menu-push-actions--single {
            margin-top: 4px;
        }

        .menu-push-primary {
            width: 100%;
            border: none;
            border-radius: 14px;
            padding: 14px 18px;
            font-size: 1rem;
            font-weight: 800;
            cursor: pointer;
            background: linear-gradient(135deg, var(--primary), #e89410);
            color: var(--primary-foreground);
            box-shadow: 0 10px 28px rgba(245, 166, 35, 0.35);
            transition: transform 0.12s ease, box-shadow 0.2s ease, opacity 0.2s ease;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }

        .menu-push-primary:hover:not(:disabled) {
            transform: translateY(-1px);
            box-shadow: 0 14px 36px rgba(245, 166, 35, 0.42);
        }

        .menu-push-primary:disabled {
            opacity: 0.65;
            cursor: not-allowed;
            transform: none;
        }

        .menu-push-secondary {
            width: 100%;
            border: none;
            border-radius: 14px;
            padding: 12px 18px;
            font-size: 0.9375rem;
            font-weight: 700;
            cursor: pointer;
            background: var(--secondary);
            color: var(--muted-foreground);
            transition: background 0.15s ease, color 0.15s ease;
        }

        .menu-push-secondary:hover:not(:disabled) {
            background: var(--btn-secondary-bg);
            color: var(--foreground);
        }

        .menu-push-spinner {
            width: 18px;
            height: 18px;
            border: 2px solid rgba(255, 255, 255, 0.35);
            border-top-color: #fff;
            border-radius: 50%;
            animation: menu-push-spin 0.7s linear infinite;
        }

        @keyframes menu-push-spin {
            to {
                transform: rotate(360deg);
            }
        }

        @media (max-width: 380px) {
            .menu-push-card {
                padding: 24px 18px 20px;
            }

            .menu-push-title {
                font-size: 1.125rem;
            }
        }

        /* Amount + Saudi Riyal SVG (same as product cards / menu.partials.sar-symbol) */
        .menu-price-with-sar {
            display: inline-flex;
            align-items: center;
            gap: 0.15em;
            font-variant-numeric: tabular-nums;
        }

