/* ═══════════════════════════════════════════════════════════
   Spice Garden — Customer-Facing Styles (LIGHT THEME)
   Clean white design with warm amber/gold accents
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --bg-body: #f4f4f8;
    --bg-surface: #ffffff;
    --bg-card: #ffffff;
    --bg-accent-light: #fffbeb;
    --bg-hover: #f9f9fc;
    --border: #e5e7eb;
    --border-hover: rgba(245, 158, 11, 0.4);
    --accent: #f59e0b;
    --accent-light: #fbbf24;
    --accent-dark: #d97706;
    --accent-bg: #fef3c7;
    --accent-glow: rgba(245, 158, 11, 0.1);
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --text-muted: #9ca3af;
    --success: #16a34a;
    --success-bg: #f0fdf4;
    --danger: #dc2626;
    --danger-bg: #fef2f2;
    --warning: #d97706;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --container-max: 480px;
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.07);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.1);
    --shadow-card: 0 2px 8px rgba(0,0,0,0.06);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }

body {
    font-family: var(--font-body);
    background: var(--bg-body);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

a { color: var(--accent-dark); text-decoration: none; }
button { cursor: pointer; font-family: var(--font-body); }
input { font-family: var(--font-body); }

/* ── Container ────────────────────────────────────────────── */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 16px;
}

/* ── Header ───────────────────────────────────────────────── */
.header {
    padding: 16px 0 10px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 100;
    background: linear-gradient(to bottom, var(--bg-body) 70%, transparent);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 2px;
}

.logo-icon { font-size: 26px; }

.logo-text {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-dark);
}

.header-subtitle {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
}

.table-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 5px 14px;
    background: var(--accent-bg);
    border: 1px solid var(--accent);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-dark);
}

.table-badge svg { width: 13px; height: 13px; }

/* User bar */
.user-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    padding: 8px 14px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 13px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--text-primary);
}

.user-links { display: flex; gap: 10px; }

.user-link {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-dark);
    padding: 4px 10px;
    background: var(--accent-bg);
    border-radius: var(--radius-full);
    transition: all 0.2s;
}

.user-link:hover { background: var(--accent); color: #fff; }

.user-link.logout { background: var(--danger-bg); color: var(--danger); }
.user-link.logout:hover { background: var(--danger); color: #fff; }

/* ── Category Tabs ────────────────────────────────────────── */
.category-tabs {
    display: flex;
    gap: 8px;
    padding: 14px 0;
    overflow-x: auto;
    scrollbar-width: none;
    position: sticky;
    top: 90px;
    z-index: 99;
    background: linear-gradient(to bottom, var(--bg-body) 80%, transparent);
}

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

.category-pill {
    flex-shrink: 0;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    background: var(--bg-surface);
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    transition: all 0.25s;
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
}

.category-pill:hover {
    border-color: var(--border-hover);
    color: var(--accent-dark);
    background: var(--accent-bg);
}

.category-pill.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

/* ── Menu ─────────────────────────────────────────────────── */
.menu-section { padding-bottom: 100px; }

.menu-category { margin-bottom: 24px; animation: fadeInUp 0.4s ease both; }

.category-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-title .emoji { font-size: 20px; }

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

/* ── Menu Card ────────────────────────────────────────────── */
.menu-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all 0.25s;
    box-shadow: var(--shadow-sm);
}

.menu-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.menu-card.unavailable { opacity: 0.4; pointer-events: none; }

.card-emoji {
    font-size: 34px;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-accent-light);
    border-radius: var(--radius-sm);
}

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

.card-name {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 1px;
}

.card-desc {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-price {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 15px;
    color: var(--accent-dark);
    margin-top: 3px;
}

.card-actions { flex-shrink: 0; }

.add-btn {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--accent);
    background: var(--accent-bg);
    color: var(--accent-dark);
    font-size: 20px;
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.add-btn:hover {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

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

.qty-controls {
    display: none;
    align-items: center;
    gap: 2px;
}

.qty-controls .qty-btn {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg-surface);
    color: var(--text-primary);
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.qty-controls .qty-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.qty-controls .qty-btn.minus:hover { background: var(--danger); border-color: var(--danger); }

.qty-controls .qty-value {
    min-width: 26px;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    color: var(--accent-dark);
}

/* ── Floating Cart Button ─────────────────────────────────── */
.cart-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    border: none;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
    z-index: 200;
    transition: all 0.3s;
}

.cart-fab:hover { transform: scale(1.08); box-shadow: 0 6px 24px rgba(245, 158, 11, 0.5); }
.cart-fab:active { transform: scale(0.95); }
.cart-fab.pulse { animation: cartPulse 0.6s ease; }

.cart-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--danger);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: none;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-body);
}

/* ── Cart Drawer ──────────────────────────────────────────── */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(3px);
    z-index: 300;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.cart-overlay.open { opacity: 1; visibility: visible; }

.cart-drawer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 75vh;
    background: var(--bg-surface);
    border-top-left-radius: var(--radius-lg);
    border-top-right-radius: var(--radius-lg);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 24px rgba(0,0,0,0.1);
    z-index: 301;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

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

.cart-handle { width: 36px; height: 4px; background: var(--border); border-radius: 2px; margin: 10px auto 0; }

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

.cart-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-close {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-body);
    color: var(--text-muted);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.cart-close:hover { background: var(--danger); color: #fff; border-color: var(--danger); }

.cart-body { flex: 1; overflow-y: auto; padding: 14px 20px; }

.cart-empty { text-align: center; padding: 36px 20px; color: var(--text-muted); }
.cart-empty-icon { font-size: 44px; margin-bottom: 10px; }
.cart-empty-text { font-size: 14px; font-weight: 500; }

.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    animation: fadeIn 0.2s ease;
}

.cart-item:last-child { border-bottom: none; }
.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 600; font-size: 13px; color: var(--text-primary); }
.cart-item-price { font-size: 12px; color: var(--accent-dark); font-weight: 600; margin-top: 1px; }

.cart-item-controls { display: flex; align-items: center; gap: 5px; }

.cart-item-controls .qty-btn {
    width: 26px; height: 26px; border-radius: 7px;
    border: 1px solid var(--border); background: var(--bg-body);
    color: var(--text-primary); font-size: 14px;
    display: flex; align-items: center; justify-content: center; transition: all 0.2s;
}

.cart-item-controls .qty-btn:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.cart-item-controls .qty-btn.minus:hover { background: var(--danger); border-color: var(--danger); }
.cart-item-controls .qty-value { min-width: 22px; text-align: center; font-weight: 700; font-size: 13px; }

.cart-item-controls .remove-btn {
    width: 26px; height: 26px; border-radius: 7px;
    border: 1px solid transparent; background: var(--danger-bg);
    color: var(--danger); font-size: 11px; margin-left: 4px;
    display: flex; align-items: center; justify-content: center; transition: all 0.2s;
}

.cart-item-controls .remove-btn:hover { background: var(--danger); color: #fff; }

.cart-footer { padding: 14px 20px; border-top: 1px solid var(--border); }

.cart-total-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }

.cart-total-label { font-family: var(--font-heading); font-size: 15px; font-weight: 600; color: var(--text-secondary); }

.cart-total-value { font-family: var(--font-heading); font-size: 20px; font-weight: 800; color: var(--accent-dark); }

.checkout-btn {
    width: 100%;
    padding: 13px;
    border-radius: var(--radius-md);
    border: none;
    background: var(--accent);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s;
    box-shadow: 0 3px 12px rgba(245, 158, 11, 0.3);
}

.checkout-btn:hover { transform: translateY(-1px); box-shadow: 0 5px 18px rgba(245, 158, 11, 0.4); }
.checkout-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* ── Checkout Page ────────────────────────────────────────── */
.checkout-page { padding: 16px 0 40px; min-height: 100vh; }

.back-link {
    display: inline-flex; align-items: center; gap: 5px;
    color: var(--text-muted); font-size: 13px; font-weight: 500;
    margin-bottom: 16px; transition: color 0.2s;
}

.back-link:hover { color: var(--accent-dark); }

.checkout-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 14px;
    box-shadow: var(--shadow-sm);
}

.checkout-card-title {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.order-summary-list { list-style: none; }

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

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

.order-item-qty { color: var(--accent-dark); font-weight: 700; margin-right: 6px; }
.order-item-name { flex: 1; }
.order-item-price { color: var(--text-secondary); font-weight: 600; }

.order-total-row {
    display: flex; justify-content: space-between; align-items: center;
    padding: 14px 0 0; border-top: 2px solid var(--accent-bg); margin-top: 6px;
}

.order-total-label { font-family: var(--font-heading); font-weight: 700; font-size: 16px; }
.order-total-value { font-family: var(--font-heading); font-weight: 800; font-size: 20px; color: var(--accent-dark); }

/* Form */
.form-group { margin-bottom: 14px; }

.form-label {
    display: block; font-size: 12px; font-weight: 600;
    color: var(--text-secondary); margin-bottom: 5px;
    text-transform: uppercase; letter-spacing: 0.5px;
}

.form-input {
    width: 100%; padding: 12px 14px; border-radius: var(--radius-sm);
    border: 1.5px solid var(--border); background: var(--bg-body);
    color: var(--text-primary); font-size: 15px; transition: all 0.25s; outline: none;
}

.form-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-glow); background: #fff; }
.form-input::placeholder { color: var(--text-muted); }

.place-order-btn {
    width: 100%; padding: 14px; border-radius: var(--radius-md); border: none;
    background: #25D366; color: #fff;
    font-family: var(--font-heading); font-size: 16px; font-weight: 700;
    display: flex; align-items: center; justify-content: center; gap: 10px;
    transition: all 0.25s; box-shadow: 0 3px 12px rgba(37, 211, 102, 0.3); margin-top: 8px;
}

.place-order-btn:hover { transform: translateY(-1px); box-shadow: 0 5px 18px rgba(37, 211, 102, 0.4); }
.place-order-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* ── Confirmation Page ────────────────────────────────────── */
.confirmation-page {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    min-height: 100vh; padding: 20px; text-align: center;
}

.confirmation-icon { font-size: 72px; margin-bottom: 16px; animation: bounceIn 0.7s cubic-bezier(0.68, -0.55, 0.265, 1.55); }

.confirmation-title {
    font-family: var(--font-heading); font-size: 26px; font-weight: 800;
    margin-bottom: 6px; color: var(--success);
}

.confirmation-subtitle { color: var(--text-secondary); font-size: 14px; margin-bottom: 24px; max-width: 300px; line-height: 1.6; }

.whatsapp-btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 13px 28px; border-radius: var(--radius-full); border: none;
    background: #25D366; color: #fff;
    font-family: var(--font-heading); font-size: 15px; font-weight: 700;
    transition: all 0.25s; box-shadow: 0 3px 12px rgba(37, 211, 102, 0.3);
    text-decoration: none; margin-bottom: 14px;
}

.whatsapp-btn:hover { transform: translateY(-1px); box-shadow: 0 5px 18px rgba(37, 211, 102, 0.4); color: #fff; }
.whatsapp-btn svg { width: 20px; height: 20px; fill: currentColor; }

.home-link { color: var(--text-muted); font-size: 13px; transition: color 0.2s; }
.home-link:hover { color: var(--accent-dark); }

/* ── Customer Login ───────────────────────────────────────── */
.login-customer-page {
    display: flex; align-items: center; justify-content: center;
    min-height: 100vh; padding: 20px;
}

.login-customer-card {
    width: 100%; max-width: 400px; background: var(--bg-card);
    border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 36px 28px; text-align: center; box-shadow: var(--shadow-lg);
    animation: fadeInUp 0.4s ease;
}

.login-customer-subtitle { color: var(--text-muted); font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 24px; }
.login-customer-title { font-family: var(--font-heading); font-size: 20px; font-weight: 700; margin-bottom: 20px; color: var(--text-primary); }

.otp-form .form-group { text-align: left; }

.otp-submit-btn {
    width: 100%; padding: 13px; border-radius: var(--radius-md); border: none;
    background: var(--accent); color: #fff;
    font-family: var(--font-heading); font-size: 15px; font-weight: 700;
    margin-top: 6px; transition: all 0.25s;
    box-shadow: 0 3px 12px rgba(245, 158, 11, 0.25);
}

.otp-submit-btn:hover { transform: translateY(-1px); box-shadow: 0 5px 18px rgba(245, 158, 11, 0.4); }

.otp-error {
    background: var(--danger-bg); border: 1px solid rgba(220,38,38,0.2);
    color: var(--danger); padding: 10px 14px; border-radius: var(--radius-sm);
    font-size: 13px; font-weight: 500; margin-bottom: 16px;
}

.otp-display-box {
    background: var(--accent-bg); border: 2px dashed var(--accent);
    border-radius: var(--radius-md); padding: 20px; margin-bottom: 20px;
}

.otp-display-label { font-size: 11px; color: var(--accent-dark); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; margin-bottom: 6px; }
.otp-display-code { font-family: var(--font-heading); font-size: 40px; font-weight: 800; color: var(--accent-dark); letter-spacing: 8px; }
.otp-display-note { font-size: 11px; color: var(--text-muted); margin-top: 8px; line-height: 1.5; }
.otp-input { text-align: center; font-size: 24px !important; letter-spacing: 8px; font-weight: 700; }

.resend-btn {
    background: none; border: none; color: var(--accent-dark);
    font-size: 13px; font-weight: 600; padding: 6px 12px;
    border-radius: var(--radius-full); transition: all 0.2s;
}

.resend-btn:hover { background: var(--accent-bg); }

/* ── My Orders Page ───────────────────────────────────────── */
.my-orders-page { padding: 16px 0 40px; min-height: 100vh; }

.page-title-bar {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 16px;
}

.page-title {
    font-family: var(--font-heading); font-size: 22px; font-weight: 700;
}

.my-order-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-md); padding: 16px;
    margin-bottom: 12px; box-shadow: var(--shadow-sm);
    transition: all 0.2s;
}

.my-order-card:hover { box-shadow: var(--shadow-md); }

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

.my-order-id { font-family: var(--font-heading); font-weight: 700; font-size: 14px; }
.my-order-status {
    padding: 3px 10px; border-radius: var(--radius-full);
    font-size: 11px; font-weight: 700; text-transform: uppercase;
}

.my-order-status.pending { background: #fef3c7; color: #d97706; }
.my-order-status.preparing { background: #dbeafe; color: #2563eb; }
.my-order-status.completed { background: #dcfce7; color: #16a34a; }

.my-order-items { font-size: 13px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 8px; }
.my-order-items .qty { color: var(--accent-dark); font-weight: 700; }

.my-order-footer {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 8px; border-top: 1px solid var(--border);
}

.my-order-total { font-family: var(--font-heading); font-weight: 800; color: var(--accent-dark); }
.my-order-time { font-size: 11px; color: var(--text-muted); }

.no-orders-msg { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.no-orders-msg .icon { font-size: 48px; margin-bottom: 10px; }
.no-orders-msg .text { font-size: 15px; font-weight: 500; }

/* ── Error Page ───────────────────────────────────────────── */
.error-page {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    min-height: 100vh; text-align: center; padding: 20px;
}

.error-icon { font-size: 60px; margin-bottom: 14px; }
.error-title { font-family: var(--font-heading); font-size: 22px; font-weight: 700; color: var(--danger); margin-bottom: 6px; }
.error-text { color: var(--text-secondary); font-size: 13px; max-width: 280px; }

/* ── Toast ────────────────────────────────────────────────── */
.toast {
    position: fixed; bottom: 96px; left: 50%; transform: translateX(-50%) translateY(16px);
    padding: 10px 22px; background: var(--text-primary); color: #fff;
    font-weight: 600; font-size: 13px; border-radius: var(--radius-full);
    z-index: 999; opacity: 0; transition: all 0.3s; pointer-events: none;
    box-shadow: var(--shadow-lg); white-space: nowrap;
}

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

/* ── Animations ───────────────────────────────────────────── */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes cartPulse { 0% { transform: scale(1); } 30% { transform: scale(1.2); } 60% { transform: scale(0.95); } 100% { transform: scale(1); } }
@keyframes bounceIn { 0% { transform: scale(0); } 50% { transform: scale(1.12); } 70% { transform: scale(0.96); } 100% { transform: scale(1); } }

.menu-card:nth-child(1) { animation: fadeInUp 0.35s 0.03s ease both; }
.menu-card:nth-child(2) { animation: fadeInUp 0.35s 0.06s ease both; }
.menu-card:nth-child(3) { animation: fadeInUp 0.35s 0.09s ease both; }
.menu-card:nth-child(4) { animation: fadeInUp 0.35s 0.12s ease both; }
.menu-card:nth-child(5) { animation: fadeInUp 0.35s 0.15s ease both; }
.menu-card:nth-child(6) { animation: fadeInUp 0.35s 0.18s ease both; }

/* ── Responsive ───────────────────────────────────────────── */
@media (min-width: 520px) {
    .container { padding: 0 24px; }
    .cart-drawer { max-width: 420px; left: auto; }
}

@media (min-width: 768px) {
    :root { --container-max: 560px; }
}
