/* Extracted Cart & Order UI Styles */
        /* ═══ ORDER PAGE MOBILE-FIRST STYLES ═══ */
        .order-menu {
            max-width: 600px;
            margin: 0 auto;
        }

        .order-food-card {
            background: var(--card-bg);
            border: 1px solid rgba(200, 135, 46, 0.15);
            border-radius: 14px;
            overflow: hidden;
            margin-bottom: 1rem;
            transition: border-color 0.3s, box-shadow 0.3s;
            box-shadow: 0 2px 10px rgba(94, 58, 26, 0.08);
        }

        .order-food-card:hover {
            border-color: rgba(216, 125, 74, 0.3);
        }

        /* Inline cart summary bar (top & bottom fallback) */
        .inline-cart-bar {
            display: none;
            align-items: center;
            justify-content: space-between;
            background: linear-gradient(135deg, #2D3748 0%, #1A202C 100%);
            border: 2px solid var(--gold);
            border-radius: 14px;
            padding: 0.8rem 1.2rem;
            margin: 0 auto 1.2rem;
            max-width: 600px;
            cursor: pointer;
            transition: box-shadow 0.2s;
        }
        .inline-cart-bar.show {
            display: flex;
        }
        .inline-cart-bar:hover {
            box-shadow: 0 4px 16px rgba(0,0,0,0.2);
        }
        .inline-cart-bar .icb-left {
            display: flex;
            align-items: center;
            gap: 0.7rem;
        }
        .inline-cart-bar .icb-count {
            background: var(--rust);
            color: #fff;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 800;
            font-size: 0.9rem;
        }
        .inline-cart-bar .icb-info {
            color: #E2E8F0;
            font-weight: 700;
            font-size: 1rem;
        }
        .inline-cart-bar .icb-sub {
            color: #A0AEC0;
            font-size: 0.75rem;
        }
        .inline-cart-bar .icb-btn {
            background: var(--gold);
            color: #fff;
            border: none;
            border-radius: 10px;
            padding: 0.6rem 1.3rem;
            font-family: var(--body-font);
            font-weight: 700;
            font-size: 0.9rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 6px;
        }

        .order-food-card.in-cart {
            border-color: var(--gold);
            box-shadow: 0 0 16px rgba(212, 168, 83, 0.2);
        }

        .ofc-top {
            display: flex;
            align-items: center;
            gap: 0.8rem;
            padding: 0.8rem;
        }

        .ofc-img {
            width: 72px;
            height: 72px;
            border-radius: 10px;
            object-fit: cover;
            flex-shrink: 0;
            border: 2px solid var(--leather);
        }

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

        .ofc-name {
            font-family: var(--heading-font);
            font-size: 1.05rem;
            font-weight: 700;
            color: var(--text);
            margin-bottom: 2px;
        }

        .ofc-desc {
            font-size: 0.8rem;
            color: var(--text-muted);
            line-height: 1.3;
        }

        .ofc-price {
            font-weight: 800;
            color: var(--gold);
            font-size: 1.1rem;
            white-space: nowrap;
        }

        .ofc-actions {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 0 0.8rem 0.8rem;
            gap: 0.5rem;
        }

        .add-col {
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        .qty-controls {
            display: flex;
            align-items: center;
            background: var(--bg);
            border-radius: 10px;
            overflow: hidden;
            border: 1px solid var(--leather);
        }

        .qty-btn {
            width: 44px;
            height: 44px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: none;
            border: none;
            color: var(--gold);
            font-size: 1.3rem;
            font-weight: 700;
            cursor: pointer;
            -webkit-tap-highlight-color: transparent;
            transition: background 0.15s;
        }

        .qty-btn:active {
            background: rgba(212, 168, 83, 0.15);
        }

        .qty-val {
            width: 36px;
            text-align: center;
            font-weight: 700;
            font-size: 1.1rem;
            color: var(--text);
            font-family: var(--body-font);
        }

        .add-btn {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: var(--rust);
            color: #fff;
            border: none;
            border-radius: 10px;
            padding: 0.6rem 1.2rem;
            font-family: var(--body-font);
            font-weight: 700;
            font-size: 0.9rem;
            cursor: pointer;
            -webkit-tap-highlight-color: transparent;
            transition: background 0.2s, transform 0.15s;
        }

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

        .add-btn.added {
            background: var(--green);
        }

        .in-cart-badge {
            display: none;
            text-align: center;
            font-size: 0.72rem;
            font-weight: 700;
            color: var(--green);
            margin-top: 4px;
            animation: badgePop 0.3s ease;
        }

        .in-cart-badge.show {
            display: block;
        }

        .in-cart-badge i {
            margin-right: 3px;
        }

        @keyframes badgePop {
            from { transform: scale(0.8); opacity: 0; }
            to   { transform: scale(1);   opacity: 1; }
        }

        /* Customize */
        .ofc-customize {
            padding: 0 0.8rem 0.8rem;
            display: none;
        }

        .ofc-customize.open {
            display: block;
        }

        .customize-toggle {
            background: none;
            border: none;
            color: var(--text-muted);
            font-size: 0.82rem;
            cursor: pointer;
            padding: 0;
            font-family: var(--body-font);
            -webkit-tap-highlight-color: transparent;
        }

        .customize-toggle i {
            margin-right: 4px;
        }

        .ingredient-chips {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            margin-top: 0.5rem;
        }

        .ing-chip {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            padding: 8px 14px;
            border-radius: 20px;
            font-size: 0.85rem;
            font-weight: 600;
            cursor: pointer;
            -webkit-tap-highlight-color: transparent;
            transition: all 0.2s;
            border: 1.5px solid rgba(212, 168, 83, 0.2);
            background: rgba(212, 168, 83, 0.06);
            color: var(--text);
            user-select: none;
        }

        .ing-chip.removed {
            background: rgba(192, 84, 43, 0.12);
            border-color: var(--rust);
            color: var(--rust);
            text-decoration: line-through;
        }

        .ing-chip i {
            font-size: 0.7rem;
        }

        /* Size selector */
        .size-selector {
            display: flex;
            gap: 6px;
            margin-top: 4px;
        }

        .size-btn {
            padding: 6px 14px;
            border-radius: 8px;
            font-size: 0.82rem;
            font-weight: 700;
            cursor: pointer;
            border: 1.5px solid var(--leather);
            background: var(--bg);
            color: var(--text-muted);
            font-family: var(--body-font);
            -webkit-tap-highlight-color: transparent;
            transition: all 0.15s;
        }

        .size-btn.active {
            border-color: var(--gold);
            background: rgba(212, 168, 83, 0.12);
            color: var(--gold);
        }

        /* Flavor pills */
        .flavor-pick {
            display: flex;
            flex-wrap: wrap;
            gap: 6px;
            margin-top: 4px;
        }

        .flav-btn {
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 0.78rem;
            font-weight: 600;
            cursor: pointer;
            border: 1.5px solid rgba(90, 154, 60, 0.25);
            background: rgba(90, 154, 60, 0.08);
            color: var(--green);
            font-family: var(--body-font);
            -webkit-tap-highlight-color: transparent;
            transition: all 0.15s;
        }

        .flav-btn.active {
            background: var(--green);
            color: #fff;
            border-color: var(--green);
        }

        /* Floating cart bar */
        .cart-bar {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(180deg, #2D3748 0%, #1A202C 100%);
            border-top: 3px solid var(--gold);
            padding: 0.8rem 1.2rem;
            padding-bottom: calc(0.8rem + env(safe-area-inset-bottom, 0px));
            display: flex;
            align-items: center;
            justify-content: space-between;
            z-index: 900;
            transform: translateY(100%);
            transition: transform 0.3s ease;
            box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
        }

        .cart-bar.show {
            transform: translateY(0);
        }

        .cart-summary {
            display: flex;
            align-items: center;
            gap: 0.8rem;
            cursor: pointer;
        }

        .cart-count {
            background: var(--rust);
            color: #fff;
            width: 34px;
            height: 34px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 800;
            font-size: 0.95rem;
        }

        .cart-total {
            color: #E2E8F0;
            font-weight: 800;
            font-size: 1.2rem;
        }

        .cart-items-label {
            color: #A0AEC0;
            font-size: 0.78rem;
        }

        .checkout-btn {
            background: var(--rust);
            color: #fff;
            border: none;
            border-radius: 10px;
            padding: 0.7rem 1.5rem;
            font-family: var(--body-font);
            font-weight: 700;
            font-size: 0.95rem;
            cursor: pointer;
            -webkit-tap-highlight-color: transparent;
            transition: transform 0.15s;
        }

        .checkout-btn:active {
            transform: scale(0.96);
        }

        /* Cart drawer */
        .cart-drawer-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.6);
            z-index: 950;
        }

        .cart-drawer-overlay.show {
            display: block;
        }

        .cart-drawer {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            max-height: 85vh;
            background: linear-gradient(180deg, #2D3748 0%, #1A202C 100%);
            border-radius: 16px 16px 0 0;
            border-top: 3px solid var(--gold);
            overflow-y: auto;
            z-index: 960;
            transform: translateY(100%);
            transition: transform 0.3s ease;
            padding: 1.5rem;
            padding-bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
        }

        .cart-drawer.show {
            transform: translateY(0);
        }

        .cart-drawer h3 {
            color: #E2E8F0;
            margin-bottom: 1rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .cart-close {
            background: none;
            border: none;
            color: #A0AEC0;
            font-size: 1.5rem;
            cursor: pointer;
            padding: 8px;
        }

        .cart-line {
            background: rgba(255,255,255,0.03);
            border: 1px solid rgba(200,135,46,0.12);
            border-radius: 12px;
            padding: 0.7rem;
            margin-bottom: 0.7rem;
        }

        .cart-line-top {
            display: flex;
            align-items: center;
            gap: 0.7rem;
        }

        .cart-line-img {
            width: 56px;
            height: 56px;
            border-radius: 8px;
            object-fit: cover;
            flex-shrink: 0;
            border: 1.5px solid var(--leather);
        }

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

        .cart-line-name {
            color: #E2E8F0;
            font-size: 0.88rem;
            font-weight: 700;
            line-height: 1.25;
        }

        .cart-line-mods {
            color: #A0AEC0;
            font-size: 0.75rem;
            margin-top: 2px;
        }

        .cart-line-right {
            display: flex;
            align-items: center;
            gap: 4px;
            flex-shrink: 0;
        }

        .cart-line-price {
            color: var(--gold);
            font-weight: 700;
            white-space: nowrap;
            font-size: 0.95rem;
        }

        .cart-line-remove {
            background: none;
            border: none;
            color: var(--rust);
            font-size: 1rem;
            cursor: pointer;
            padding: 6px;
            -webkit-tap-highlight-color: transparent;
        }

        .cart-line-ings {
            display: flex;
            flex-wrap: wrap;
            gap: 5px;
            margin-top: 0.5rem;
            padding-top: 0.4rem;
            border-top: 1px solid rgba(255,255,255,0.05);
        }

        .cart-ing-chip {
            display: inline-flex;
            align-items: center;
            gap: 3px;
            padding: 4px 10px;
            border-radius: 14px;
            font-size: 0.72rem;
            font-weight: 600;
            cursor: pointer;
            -webkit-tap-highlight-color: transparent;
            transition: all 0.15s;
            border: 1px solid rgba(212,168,83,0.2);
            background: rgba(212,168,83,0.06);
            color: #D4C4AD;
            user-select: none;
        }

        .cart-ing-chip.removed {
            background: rgba(192,84,43,0.15);
            border-color: var(--rust);
            color: var(--rust);
            text-decoration: line-through;
        }

        .cart-ing-chip i {
            font-size: 0.6rem;
        }

        .cart-line-qty {
            display: flex;
            align-items: center;
            gap: 0;
            background: rgba(255,255,255,0.05);
            border-radius: 8px;
            overflow: hidden;
            border: 1px solid rgba(212,168,83,0.15);
            margin-top: 0.5rem;
            width: fit-content;
        }

        .cart-line-qty button {
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: none;
            border: none;
            color: var(--gold);
            font-size: 1.1rem;
            font-weight: 700;
            cursor: pointer;
            -webkit-tap-highlight-color: transparent;
        }

        .cart-line-qty span {
            width: 28px;
            text-align: center;
            font-weight: 700;
            font-size: 0.95rem;
            color: #E2E8F0;
        }

        .cart-drawer-total {
            display: flex;
            justify-content: space-between;
            padding: 1rem 0 0.5rem;
            font-size: 1.2rem;
            font-weight: 800;
            border-top: 2px solid var(--leather);
            margin-top: 0.5rem;
        }

        .cart-drawer-total span:last-child {
            color: var(--gold);
        }

        .customer-fields {
            margin-top: 1rem;
            display: flex;
            flex-direction: column;
            gap: 0.8rem;
        }

        .customer-fields input:not([type="checkbox"]),
        .customer-fields select,
        .customer-fields textarea {
            width: 100%;
            padding: 0.8rem;
            background: var(--bg);
            border: 1px solid var(--leather);
            border-radius: 8px;
            color: var(--text);
            font-family: var(--body-font);
            font-size: 1rem;
            -webkit-appearance: none;
            appearance: none;
        }

        .customer-fields input[type="checkbox"] {
            accent-color: var(--gold);
            cursor: pointer;
        }

        .customer-fields label {
            color: #E2E8F0;
            font-weight: 600;
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .cart-spacer {
            height: 80px;
        }

        /* Bundle highlight */
        .order-food-card.bundle-card {
            border: 2px solid var(--gold);
            background: linear-gradient(135deg, var(--card-bg) 0%, rgba(212, 168, 83, 0.04) 100%);
        }

        .bundle-save {
            color: var(--green);
            font-size: 0.78rem;
            font-weight: 700;
        }

        /* ═══ ITEM DETAIL MODAL ═══ */
        .ofc-img {
            cursor: pointer;
        }

        .item-detail-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: var(--bg);
            z-index: 970;
            overflow-y: auto;
            -webkit-overflow-scrolling: touch;
            animation: detailSlideUp 0.3s ease;
        }

        .item-detail-overlay.show {
            display: block;
        }

        @keyframes detailSlideUp {
            from {
                transform: translateY(100%);
                opacity: 0;
            }

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

        .detail-back {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 975;
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 0.8rem 1rem;
            background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
            color: #fff;
            font-weight: 700;
            font-size: 1rem;
            border: none;
            cursor: pointer;
            font-family: var(--body-font);
            -webkit-tap-highlight-color: transparent;
        }

        .detail-back i {
            font-size: 1.2rem;
        }

        .detail-hero-img {
            width: 100%;
            height: 300px;
            object-fit: cover;
            display: block;
        }

        .detail-body {
            padding: 1.5rem 1.2rem 6rem;
            max-width: 600px;
            margin: 0 auto;
        }

        .detail-name {
            font-family: var(--heading-font);
            font-size: 1.6rem;
            font-weight: 900;
            color: var(--gold);
            margin-bottom: 0.3rem;
        }

        .detail-price {
            font-size: 1.3rem;
            font-weight: 800;
            color: var(--gold);
            margin-bottom: 1rem;
        }

        .detail-desc {
            color: var(--text-muted);
            font-size: 1rem;
            line-height: 1.7;
            margin-bottom: 1.5rem;
        }

        .detail-section-label {
            font-weight: 700;
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--gold);
            margin-bottom: 0.6rem;
        }

        .detail-ings {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 1.5rem;
        }

        .detail-ing-chip {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 10px 16px;
            border-radius: 24px;
            font-size: 0.9rem;
            font-weight: 600;
            cursor: pointer;
            -webkit-tap-highlight-color: transparent;
            transition: all 0.2s;
            border: 2px solid rgba(212, 168, 83, 0.25);
            background: rgba(212, 168, 83, 0.08);
            color: var(--text);
            user-select: none;
        }

        .detail-ing-chip i {
            font-size: 0.75rem;
        }

        .detail-ing-chip.removed {
            background: rgba(192, 84, 43, 0.15);
            border-color: var(--rust);
            color: var(--rust);
            text-decoration: line-through;
        }

        .detail-size-row {
            display: flex;
            gap: 8px;
            margin-bottom: 1.5rem;
        }

        .detail-size-btn {
            flex: 1;
            padding: 12px 8px;
            border-radius: 10px;
            font-size: 0.95rem;
            font-weight: 700;
            cursor: pointer;
            border: 2px solid var(--leather);
            background: var(--card-bg);
            color: var(--text-muted);
            font-family: var(--body-font);
            text-align: center;
            -webkit-tap-highlight-color: transparent;
            transition: all 0.15s;
        }

        .detail-size-btn.active {
            border-color: var(--gold);
            background: rgba(212, 168, 83, 0.15);
            color: var(--gold);
        }

        .detail-flav-row {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 1.5rem;
        }

        .detail-flav-btn {
            padding: 10px 16px;
            border-radius: 24px;
            font-size: 0.85rem;
            font-weight: 600;
            cursor: pointer;
            border: 2px solid rgba(90, 154, 60, 0.3);
            background: rgba(90, 154, 60, 0.08);
            color: var(--green);
            font-family: var(--body-font);
            -webkit-tap-highlight-color: transparent;
            transition: all 0.15s;
        }

        .detail-flav-btn.active {
            background: var(--green);
            color: #fff;
            border-color: var(--green);
        }

        .detail-footer {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            z-index: 976;
            background: linear-gradient(180deg, #2D3748 0%, #1A202C 100%);
            border-top: 3px solid var(--gold);
            padding: 0.8rem 1.2rem;
            padding-bottom: calc(0.8rem + env(safe-area-inset-bottom, 0px));
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 0.8rem;
            box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
        }

        .detail-qty-controls {
            display: flex;
            align-items: center;
            background: var(--bg);
            border-radius: 12px;
            overflow: hidden;
            border: 1px solid var(--leather);
        }

        .detail-qty-btn {
            width: 48px;
            height: 48px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: none;
            border: none;
            color: var(--gold);
            font-size: 1.4rem;
            font-weight: 700;
            cursor: pointer;
            -webkit-tap-highlight-color: transparent;
        }

        .detail-qty-val {
            width: 40px;
            text-align: center;
            font-weight: 700;
            font-size: 1.2rem;
            color: #E2E8F0;
            font-family: var(--body-font);
        }

        .detail-add-btn {
            flex: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            background: var(--rust);
            color: #fff;
            border: none;
            border-radius: 12px;
            padding: 0.9rem 1.5rem;
            font-family: var(--body-font);
            font-weight: 700;
            font-size: 1.05rem;
            cursor: pointer;
            -webkit-tap-highlight-color: transparent;
            transition: background 0.2s, transform 0.15s;
        }

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

        .detail-add-btn.added {
            background: var(--green);
        }
