/* Storefront base styles (moved out of layouts/app.blade.php so browsers cache them) */
:root {
            --primary: #E10600;
            --primary-glow: rgba(225,6,0,0.4);
            --accent: #C80500;
            --accent-glow: rgba(200,5,0,0.4);
            --violet: #7C4DFF;
            --violet-glow: rgba(124,77,255,0.35);
            --cyan: #00E5FF;
            --success: #00E676;
            --danger: #FF5252;
            --bg: #F4F6FB;
            --bg-gradient: radial-gradient(ellipse at 20% 0%, rgba(255,214,0,0.08) 0%, transparent 50%),
                           radial-gradient(ellipse at 80% 20%, rgba(124,77,255,0.06) 0%, transparent 50%),
                           radial-gradient(ellipse at 50% 100%, rgba(0,229,255,0.05) 0%, transparent 50%);
            --card-bg: rgba(255,255,255,0.75);
            --card-border: rgba(255,255,255,0.6);
            --glass-blur: 20px;
            --text: #0F0F1A;
            --text-secondary: #5A5F7A;
            --text-light: #9AA0B8;
            --border: rgba(15,15,26,0.08);
            --shadow-sm: 0 2px 8px rgba(15,15,26,0.04);
            --shadow-md: 0 8px 32px rgba(15,15,26,0.08);
            --shadow-lg: 0 20px 60px rgba(15,15,26,0.12);
            --radius-sm: 10px;
            --radius: 16px;
            --radius-lg: 24px;
            --radius-xl: 32px;
            --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --header-h: 64px;
            --bottom-nav-h: 68px;
            --font-display: 'Space Grotesk', 'Cairo', sans-serif;
            --font-body: 'Inter', 'Cairo', sans-serif;
        }
        [data-theme="dark"] {
            --bg: #0A0A14;
            --bg-gradient: radial-gradient(ellipse at 20% 0%, rgba(255,214,0,0.12) 0%, transparent 50%),
                           radial-gradient(ellipse at 80% 20%, rgba(124,77,255,0.1) 0%, transparent 50%),
                           radial-gradient(ellipse at 50% 100%, rgba(0,229,255,0.08) 0%, transparent 50%);
            --card-bg: rgba(255,255,255,0.06);
            --card-border: rgba(255,255,255,0.1);
            --text: #F0F0F8;
            --text-secondary: #A0A5C0;
            --text-light: #6A6F8A;
            --border: rgba(255,255,255,0.08);
            --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
            --shadow-md: 0 8px 32px rgba(0,0,0,0.4);
            --shadow-lg: 0 20px 60px rgba(0,0,0,0.5);
        }
        * { box-sizing: border-box; margin: 0; padding: 0; }
        html { scroll-behavior: smooth; }
        body {
            font-family: var(--font-body); background: var(--bg); background-image: var(--bg-gradient);
            background-attachment: fixed; color: var(--text); min-height: 100vh;
            padding-bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom, 8px));
            -webkit-font-smoothing: antialiased; line-height: 1.6;
            transition: background 0.4s ease, color 0.4s ease; overflow-x: hidden;
        }
        [dir="rtl"] body { font-family: 'Cairo', sans-serif; }
        ::-webkit-scrollbar { width: 5px; }
        ::-webkit-scrollbar-track { background: transparent; }
        ::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--primary), var(--violet)); border-radius: 10px; }

        .aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
        .aurora::before, .aurora::after { content: ''; position: absolute; width: 60vw; height: 60vw; border-radius: 50%; filter: blur(80px); opacity: 0.15; animation: auroraFloat 20s ease-in-out infinite; }
        .aurora::before { background: var(--primary); top: -20%; left: -10%; }
        .aurora::after { background: var(--violet); bottom: -20%; right: -10%; animation-delay: -10s; }
        @keyframes auroraFloat { 0%,100% { transform: translate(0,0) scale(1);} 33% { transform: translate(5%,3%) scale(1.1);} 66% { transform: translate(-3%,-2%) scale(0.95);} }

        .header { position: sticky; top: 0; z-index: 100; background: var(--card-bg); backdrop-filter: blur(var(--glass-blur)) saturate(180%); -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%); border-bottom: 1px solid var(--border); padding: 0 14px; height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }
        .header-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); flex-shrink: 0; }
        .logo-icon { width: 38px; height: 38px; border-radius: 12px; background: linear-gradient(135deg, var(--primary), var(--accent)); display: flex; align-items: center; justify-content: center; font-size: 19px; color: white; box-shadow: 0 4px 16px var(--primary-glow); position: relative; overflow: hidden; }
        .logo-icon::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.3) 50%, transparent 70%); animation: shimmer 3s infinite; }
        @keyframes shimmer { 0% { transform: translateX(-100%);} 100% { transform: translateX(100%);} }
        .logo-text { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.5px; color: var(--text); white-space: nowrap; }
        .logo-text .dot { background: linear-gradient(135deg, var(--primary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
        .header-actions { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
        .header-btn { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--border); background: var(--card-bg); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; cursor: pointer; position: relative; transition: all var(--transition); color: var(--text); text-decoration: none; font-size: 1.1rem; }
        .header-btn:hover { border-color: var(--primary); box-shadow: 0 0 20px var(--primary-glow); transform: translateY(-1px); }
        .header-btn .badge-dot { position: absolute; top: 8px; right: 8px; width: 8px; height: 8px; background: var(--danger); border-radius: 50%; box-shadow: 0 0 8px var(--danger); }
        .header-btn-text { width: auto; padding: 0 12px; font-weight: 600; font-size: 0.78rem; gap: 6px; }
        .header-btn-primary { background: linear-gradient(135deg, var(--primary), var(--accent)); color: white !important; border: none; font-weight: 700; font-size: 0.78rem; box-shadow: 0 4px 16px var(--primary-glow); }
        .header-btn-primary:hover { box-shadow: 0 6px 24px var(--primary-glow); transform: translateY(-2px); }
        /* Improved WhatsApp-style contact icon */
        .header-contact {
            background: linear-gradient(135deg, #25D366, #128C7E);
            color: white !important;
            border: none;
            font-size: 1.2rem;
            box-shadow: 0 4px 14px rgba(37,211,102,0.35);
        }
        .header-contact:hover {
            box-shadow: 0 6px 22px rgba(37,211,102,0.55);
            transform: translateY(-2px) scale(1.05);
        }
        .header-contact i { filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2)); }
        .theme-toggle i { transition: transform 0.4s cubic-bezier(0.68,-0.55,0.265,1.55); }
        .theme-toggle:hover i { transform: rotate(180deg); }

        /* ===== TOP UTILITY BAR (Noon-style, admin-compatible) ===== */
        .top-utility {
            background: #1A1A2E;
            position: relative;
            z-index: 101;
        }
        .top-utility-inner {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 12px;
            height: 38px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
        }
        .top-utility-left, .top-utility-right {
            display: flex;
            align-items: center;
            gap: 4px;
            min-width: 0;
        }
        .top-utility-link {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: none;
            border: none;
            color: rgba(255,255,255,0.75);
            font-size: 0.74rem;
            font-weight: 500;
            cursor: pointer;
            padding: 4px 10px;
            border-radius: 6px;
            text-decoration: none;
            font-family: inherit;
            transition: all 0.2s;
            white-space: nowrap;
        }
        .top-utility-link:hover { color: #fff; background: rgba(255,255,255,0.08); }
        .top-utility-link i { font-size: 0.9rem; }
        .top-utility-link strong {
            color: #FFD54F;
            font-weight: 700;
            max-width: 140px;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        #headerLocation {
            max-width: 160px;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }
        .top-utility-lang { margin: 0; }
        .top-utility-lang .top-utility-link { border: none; }

        /* ===== MAIN HEADER (Noon-style, admin-compatible) ===== */
        .header {
            height: 68px;
            background: #FFFFFF;
            border-bottom: 1px solid var(--border);
            box-shadow: 0 1px 3px rgba(0,0,0,0.04);
        }
        [data-theme="dark"] .header {
            background: #14141F;
            border-bottom-color: rgba(255,255,255,0.08);
        }
        .header-search-box {
            flex: 1;
            max-width: 560px;
            margin: 0 20px;
            display: flex;
            align-items: center;
            background: #F4F6FB;
            border: 1.5px solid #E5E7EB;
            border-radius: 8px;
            overflow: hidden;
            transition: all 0.2s;
            position: relative;
        }
        [data-theme="dark"] .header-search-box {
            background: rgba(255,255,255,0.06);
            border-color: rgba(255,255,255,0.1);
        }
        .header-search-box:focus-within {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(225,6,0,0.12);
        }
        .header-search-box > i {
            position: absolute;
            left: 14px;
            top: 50%;
            transform: translateY(-50%);
            color: var(--text-light);
            font-size: 0.95rem;
            z-index: 1;
            pointer-events: none;
        }
        [dir="rtl"] .header-search-box > i { left: auto; right: 14px; }
        .header-search-box input {
            flex: 1;
            min-width: 0;
            border: none;
            background: transparent;
            padding: 11px 92px 11px 40px;
            font-size: 0.88rem;
            font-family: inherit;
            color: var(--text);
            outline: none;
        }
        [dir="rtl"] .header-search-box input { padding: 11px 40px 11px 92px; }
        .header-search-box input::placeholder { color: var(--text-light); }
        .header-search-btn {
            position: absolute;
            right: 4px;
            top: 50%;
            transform: translateY(-50%);
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            color: white;
            border: none;
            border-radius: 6px;
            padding: 7px 16px;
            font-size: 0.8rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.2s;
            white-space: nowrap;
            font-family: inherit;
        }
        [dir="rtl"] .header-search-btn { right: auto; left: 4px; }
        .header-search-btn:hover {
            box-shadow: 0 2px 10px rgba(225,6,0,0.4);
            transform: translateY(-50%) scale(1.03);
        }
        .header-search-btn i { display: none; }
        .header-account-btn {
            width: auto;
            padding: 0 14px;
            font-size: 0.82rem;
            font-weight: 600;
            color: var(--text);
            border-color: var(--border);
            background: #fff;
        }
        [data-theme="dark"] .header-account-btn { background: rgba(255,255,255,0.06); }
        .header-account-btn:hover { border-color: var(--primary); color: var(--primary); }
        .header-cart-btn {
            width: auto;
            padding: 0 14px;
            font-size: 0.85rem;
            font-weight: 600;
            background: #fff;
            color: var(--text);
            border-color: var(--border);
        }
        [data-theme="dark"] .header-cart-btn { background: rgba(255,255,255,0.06); }
        .header-cart-btn:hover { border-color: var(--primary); color: var(--primary); }
        .header-cart-count {
            position: absolute;
            top: 2px;
            right: 2px;
            min-width: 18px;
            height: 18px;
            background: linear-gradient(135deg, var(--danger), #FF8A80);
            color: white;
            border-radius: 9px;
            font-size: 10px;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0 5px;
            box-shadow: 0 2px 8px rgba(255,82,82,0.4);
        }

        @media (max-width: 767px) {
            .top-utility-inner { height: 34px; padding: 0 8px; }
            .top-utility-link { font-size: 0.68rem; padding: 3px 6px; gap: 4px; }
            .top-utility-link strong { max-width: 90px; }
            .top-utility-link i { font-size: 0.8rem; }
            .header { height: 60px; gap: 8px; }
            .header-search-box { margin: 0 8px; }
            .header-search-box input { padding: 9px 44px 9px 34px; font-size: 0.82rem; }
            [dir="rtl"] .header-search-box input { padding: 9px 34px 9px 44px; }
            .header-search-box > i { left: 10px; font-size: 0.85rem; }
            [dir="rtl"] .header-search-box > i { left: auto; right: 10px; }
            .header-search-btn { padding: 6px 10px; }
            .header-search-btn i { display: inline-flex; font-size: 0.85rem; }
            .header-logo { flex-shrink: 1; min-width: 0; }
            .logo-text { font-size: 0.95rem; }
        }

        .bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 100; background: var(--card-bg); backdrop-filter: blur(var(--glass-blur)) saturate(180%); -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(180%); border-top: 1px solid var(--border); display: flex; padding: 6px 0; padding-bottom: calc(6px + env(safe-area-inset-bottom, 4px)); height: var(--bottom-nav-h); }
        .bottom-nav-item { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; color: var(--text-light); font-size: 10px; font-weight: 600; transition: all var(--transition); gap: 3px; position: relative; border-radius: 14px; margin: 0 4px; }
        .bottom-nav-item i { font-size: 1.3rem; transition: all 0.3s cubic-bezier(0.68,-0.55,0.265,1.55); }
        .bottom-nav-item.active { color: var(--primary); }
        .bottom-nav-item.active i { transform: translateY(-2px) scale(1.15); filter: drop-shadow(0 0 8px var(--primary-glow)); }
        .bottom-nav-item.active::before { content: ''; position: absolute; top: -6px; width: 24px; height: 3px; background: linear-gradient(90deg, var(--primary), var(--accent)); border-radius: 0 0 4px 4px; box-shadow: 0 2px 8px var(--primary-glow); }
        .bottom-nav-item .cart-count { position: absolute; top: -2px; left: 50%; margin-left: 12px; min-width: 18px; height: 18px; background: linear-gradient(135deg, var(--danger), #FF8A80); color: white; border-radius: 9px; font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; padding: 0 5px; box-shadow: 0 2px 8px rgba(255,82,82,0.4); }

        .card { background: var(--card-bg); backdrop-filter: blur(var(--glass-blur)) saturate(160%); -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(160%); border: 1px solid var(--card-border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }

        .btn { font-weight: 600; font-size: 0.88rem; padding: 12px 24px; border-radius: 14px; transition: all var(--transition); border: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; -webkit-tap-highlight-color: transparent; position: relative; overflow: hidden; }
        .btn::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.2) 50%, transparent 70%); transform: translateX(-100%); transition: transform 0.6s; }
        .btn:hover::after { transform: translateX(100%); }
        .btn:active { transform: scale(0.96); }
        .btn-primary { background: linear-gradient(135deg, var(--primary), var(--accent)); color: white; box-shadow: 0 4px 20px var(--primary-glow); }
        .btn-primary:hover { box-shadow: 0 8px 32px var(--primary-glow); transform: translateY(-2px); }
        .btn-outline { background: var(--card-bg); border: 1.5px solid var(--border); color: var(--text); backdrop-filter: blur(10px); }
        .btn-outline:hover { border-color: var(--primary); color: var(--primary); box-shadow: 0 0 20px var(--primary-glow); }
        .btn-lg { padding: 15px 32px; font-size: 1rem; border-radius: 16px; }
        .btn-sm { padding: 8px 16px; font-size: 0.78rem; border-radius: 10px; }
        .btn-block { width: 100%; }
        .btn-google { background: white; border: 1.5px solid var(--border); color: var(--text); }

        .form-label { font-weight: 600; font-size: 0.82rem; color: var(--text-secondary); margin-bottom: 4px; display: block; }
        .form-control, .form-select { width: 100%; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: 14px; font-size: 0.92rem; transition: all var(--transition); background: var(--card-bg); color: var(--text); font-family: inherit; -webkit-appearance: none; appearance: none; backdrop-filter: blur(10px); }
        .form-control:focus, .form-select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(225,6,0,0.1), 0 0 20px var(--primary-glow); }

        .badge { display: inline-flex; align-items: center; gap: 4px; padding: 5px 11px; border-radius: 20px; font-size: 0.72rem; font-weight: 600; }
        .badge-success { background: rgba(0,230,118,0.15); color: #00C853; }
        .badge-warning { background: rgba(255,145,0,0.15); color: #E65100; }
        .badge-danger { background: rgba(255,82,82,0.15); color: #D50000; }
        .badge-info { background: rgba(0,229,255,0.15); color: #0091EA; }
        .status-badge { padding: 5px 12px; border-radius: 20px; font-size: 0.72rem; font-weight: 600; display: inline-block; }
        .status-pending { background: rgba(255,145,0,0.15); color: #E65100; }
        .status-approved { background: rgba(0,229,255,0.15); color: #0091EA; }
        .status-preparing { background: rgba(255,235,59,0.2); color: #F57F17; }
        .status-ready { background: rgba(0,230,118,0.15); color: #00C853; }
        .status-out_for_delivery { background: rgba(124,77,255,0.15); color: #651FFF; }
        .status-delivered { background: rgba(0,230,118,0.2); color: #00B342; }
        .status-cancelled { background: rgba(255,82,82,0.15); color: #D50000; }

        .search-box { position: relative; width: 100%; }
        .search-box i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--text-light); font-size: 1.05rem; pointer-events: none; z-index: 1; }
        .search-box input { width: 100%; padding: 13px 18px 13px 46px; border: none; border-radius: 20px; background: var(--card-bg); backdrop-filter: blur(10px); font-size: 0.92rem; transition: all var(--transition); box-shadow: var(--shadow-sm); color: var(--text); }
        .search-box input:focus { outline: none; box-shadow: 0 0 0 3px rgba(225,6,0,0.15), var(--shadow-md); }

        .hero-banner { background: linear-gradient(135deg, #1A1A2E 0%, #2B2D42 50%, #3A3D5C 100%); border-radius: var(--radius-xl); padding: 32px 26px; position: relative; overflow: hidden; color: white; margin-bottom: 20px; }
        .hero-banner::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 70% 50%, rgba(255,214,0,0.2) 0%, transparent 60%); }
        .hero-banner::after { content: ''; position: absolute; right: -30px; bottom: -30px; width: 180px; height: 180px; background: radial-gradient(circle, rgba(124,77,255,0.3) 0%, transparent 70%); border-radius: 50%; filter: blur(20px); }
        .hero-banner h1 { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.5px; margin-bottom: 4px; position: relative; z-index: 1; font-family: var(--font-display); }
        .hero-banner p { opacity: 0.8; position: relative; z-index: 1; margin-bottom: 12px; font-size: 0.9rem; }
        .hero-banner .hero-offer { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.12); backdrop-filter: blur(10px); padding: 6px 14px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; position: relative; z-index: 1; }

        .product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
        @media (min-width: 480px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
        @media (min-width: 768px) { .product-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
        @media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(5, 1fr); } }
        .product-card { background: var(--card-bg); backdrop-filter: blur(var(--glass-blur)) saturate(160%); -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(160%); border: 1px solid var(--card-border); border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; transition: all var(--transition); text-decoration: none; color: var(--text); display: flex; flex-direction: column; -webkit-tap-highlight-color: transparent; box-shadow: var(--shadow-sm); }
        .product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg), var(--shadow-glow); border-color: var(--primary); }
        .product-card .product-img { height: 140px; background: linear-gradient(135deg, rgba(255,248,231,0.8), rgba(255,236,179,0.8)); display: flex; align-items: center; justify-content: center; font-size: 3.2rem; position: relative; transition: transform 0.4s; }
        .product-card .product-discount { position: absolute; top: 8px; left: 8px; background: linear-gradient(135deg, var(--danger), #FF8A80); color: white; padding: 3px 10px; border-radius: 12px; font-size: 0.68rem; font-weight: 700; box-shadow: 0 2px 8px rgba(255,82,82,0.4); }
        .offer-badge { position: absolute; top: 8px; left: 8px; background: linear-gradient(135deg, #C80500, #E10600); color: white; padding: 4px 10px; border-radius: 12px; font-size: 0.7rem; font-weight: 800; box-shadow: 0 2px 10px rgba(200,5,0,0.5); display: inline-flex; align-items: center; gap: 3px; animation: offerPulse 2s infinite; z-index: 2; }
        @keyframes offerPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.08); } }
        .product-sale-price { color: #D50000; font-weight: 800; font-size: 1.1rem; }
        .product-save { display: block; color: #00C853; font-size: 0.68rem; font-weight: 700; margin-top: 2px; }
        .product-card .product-body { padding: 12px; flex: 1; display: flex; flex-direction: column; gap: 3px; }
        .product-card .product-name { font-weight: 600; font-size: 0.85rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .product-card .product-category { font-size: 0.7rem; color: var(--text-light); }
        .product-card .product-price { margin-top: auto; font-weight: 700; font-size: 1.05rem; color: var(--text); }
        .product-card .product-old-price { text-decoration: line-through; color: var(--text-light); font-size: 0.75rem; }
        .product-card .add-btn { margin-top: 8px; width: 100%; padding: 9px; background: linear-gradient(135deg, var(--primary), var(--accent)); color: white; border: none; border-radius: 12px; font-weight: 700; font-size: 0.78rem; cursor: pointer; transition: all var(--transition); box-shadow: 0 4px 12px var(--primary-glow); }

        .categories-scroll { display: flex; gap: 10px; overflow-x: auto; padding: 4px 0 12px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
        .categories-scroll::-webkit-scrollbar { display: none; }
        .category-pill { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 5px; text-decoration: none; color: var(--text); scroll-snap-align: start; min-width: 68px; }
        .category-pill .pill-icon { width: 54px; height: 54px; border-radius: 16px; background: var(--card-bg); backdrop-filter: blur(10px); box-shadow: var(--shadow-sm); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; transition: all var(--transition); border: 1px solid var(--card-border); }
        .category-pill:hover .pill-icon { border-color: var(--primary); transform: scale(1.08); box-shadow: 0 0 20px var(--primary-glow); }
        .category-pill .pill-label { font-size: 0.68rem; font-weight: 600; text-align: center; line-height: 1.2; max-width: 68px; }

        /* ===== NOON-STYLE CATEGORY CARDS ===== */
        .categories-grid { display: flex; gap: 10px; overflow-x: auto; padding: 4px 0 12px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
        .categories-grid::-webkit-scrollbar { display: none; }
        .category-card { flex-shrink: 0; width: 80px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; color: var(--text); transition: all var(--transition); scroll-snap-align: start; }
        .category-card:hover { transform: translateY(-3px); }
        .category-card-img { width: 80px; height: 80px; border-radius: 50%; overflow: hidden; background: linear-gradient(135deg, #F8F9FC, #EEF0F5); position: relative; box-shadow: var(--shadow-sm); transition: all var(--transition); flex-shrink: 0; }
        .category-card:hover .category-card-img { box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
        .category-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
        .category-card-fallback { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 2rem; background: linear-gradient(135deg, #FFF8E7, #FFECB3); }
        .category-card-label { font-size: 0.7rem; font-weight: 600; text-align: center; line-height: 1.2; max-width: 80px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
        @media (min-width: 480px) {
            .category-card { width: 90px; }
            .category-card-img { width: 90px; height: 90px; }
            .category-card-label { max-width: 90px; font-size: 0.72rem; }
        }
        @media (min-width: 768px) {
            .categories-grid { gap: 14px; }
            .category-card { width: 100px; }
            .category-card-img { width: 100px; height: 100px; }
            .category-card-label { max-width: 100px; font-size: 0.75rem; }
            .category-card-fallback { font-size: 2.2rem; }
        }
        @media (min-width: 1024px) {
            .category-card { width: 110px; }
            .category-card-img { width: 110px; height: 110px; }
            .category-card-label { max-width: 110px; }
        }
        @media (max-width: 380px) {
            .category-card { width: 68px; }
            .category-card-img { width: 68px; height: 68px; }
            .category-card-label { max-width: 68px; font-size: 0.6rem; }
            .category-card-fallback { font-size: 1.4rem; }
        }

        .section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
        .section-title { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.3px; color: var(--text); font-family: var(--font-display); }
        .section-link { color: var(--primary); font-weight: 600; font-size: 0.8rem; text-decoration: none; display: flex; align-items: center; gap: 4px; }

        .cart-item { display: flex; gap: 12px; padding: 14px; background: var(--card-bg); backdrop-filter: blur(var(--glass-blur)) saturate(160%); border: 1px solid var(--card-border); border-radius: var(--radius); margin-bottom: 8px; align-items: center; box-shadow: var(--shadow-sm); }
        .cart-item-img { width: 54px; height: 54px; border-radius: 12px; background: linear-gradient(135deg, rgba(255,248,231,0.8), rgba(255,236,179,0.8)); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; flex-shrink: 0; }
        .cart-item-info { flex: 1; min-width: 0; }
        .cart-item-name { font-weight: 600; font-size: 0.88rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .cart-item-price { color: #E10600; font-weight: 700; font-size: 0.88rem; }
        .qty-btn { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--border); background: var(--card-bg); font-size: 1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all var(--transition); color: var(--text); }

        .empty-state { text-align: center; padding: 50px 20px; }
        .empty-state .empty-icon { font-size: 4.5rem; display: block; margin-bottom: 12px; opacity: 0.4; }
        .empty-state h5 { font-weight: 700; color: var(--text-secondary); }

        .stat-card { background: var(--card-bg); backdrop-filter: blur(var(--glass-blur)) saturate(160%); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow-sm); display: flex; align-items: center; gap: 12px; transition: all var(--transition); }
        .stat-icon-box { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
        .stat-value { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.5px; font-family: var(--font-display); }
        .stat-label { font-size: 0.72rem; color: var(--text-light); font-weight: 500; }
        .stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 20px; }
        @media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

        .address-card { border: 1.5px solid var(--border); border-radius: var(--radius); padding: 12px; cursor: pointer; transition: all var(--transition); background: var(--card-bg); }
        .address-card.selected { border-color: var(--primary); background: rgba(255,214,0,0.06); }

        .text-primary { color: var(--primary) !important; }
        .text-muted { color: var(--text-light) !important; }
        .fw-bold { font-weight: 700 !important; }
        .d-flex { display: flex; }
        .flex-wrap { flex-wrap: wrap; }
        .align-items-center { align-items: center; }
        .justify-content-between { justify-content: space-between; }
        .justify-content-center { justify-content: center; }
        .flex-1 { flex: 1; }
        .w-100 { width: 100%; }
        .text-center { text-align: center; }
        .gap-2 { gap: 8px; }
        .gap-3 { gap: 12px; }
        .mt-2 { margin-top: 8px; }
        .mt-3 { margin-top: 12px; }
        .mb-2 { margin-bottom: 8px; }
        .mb-3 { margin-bottom: 12px; }
        .ms-auto { margin-left: auto; }

        .auth-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(8px); z-index: 9999; display: flex; align-items: center; justify-content: center; padding: 16px; }
        .auth-modal { background: var(--card-bg); backdrop-filter: blur(var(--glass-blur)); border: 1px solid var(--card-border); border-radius: var(--radius-xl); padding: 28px 20px; text-align: center; max-width: 380px; width: 100%; box-shadow: var(--shadow-lg); animation: scaleIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
        @keyframes scaleIn { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
        .auth-modal h4 { font-weight: 800; color: var(--text); margin-bottom: 4px; font-size: 1.1rem; font-family: var(--font-display); }

        .filter-toolbar { display: flex; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: 4px; }
        .filter-toolbar::-webkit-scrollbar { display: none; }
        .filter-pill { flex-shrink: 0; padding: 7px 16px; border-radius: 20px; border: 1.5px solid var(--border); background: var(--card-bg); font-size: 0.78rem; font-weight: 600; color: var(--text-secondary); cursor: pointer; transition: all var(--transition); white-space: nowrap; }
        .filter-pill.active { border-color: var(--primary); background: rgba(255,214,0,0.1); color: #E10600; box-shadow: 0 0 16px var(--primary-glow); }

        .checkout-summary { position: sticky; bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom, 8px)); background: var(--card-bg); backdrop-filter: blur(var(--glass-blur)); border: 1px solid var(--card-border); border-radius: var(--radius-lg) var(--radius-lg) 0 0; padding: 16px; box-shadow: 0 -4px 20px rgba(0,0,0,0.1); }
        @media (min-width: 768px) { .checkout-summary { position: static; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); } }

        .order-card { background: var(--card-bg); backdrop-filter: blur(var(--glass-blur)); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 14px; margin-bottom: 10px; box-shadow: var(--shadow-sm); }
        .order-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; flex-wrap: wrap; gap: 4px; }
        .order-number { font-weight: 800; font-size: 0.9rem; font-family: var(--font-display); }

        @media (max-width: 380px) { .product-grid { gap: 8px; } .product-card .product-img { height: 110px; font-size: 2.5rem; } .product-card .product-body { padding: 8px; } }
        @media (min-width: 768px) { body { padding-bottom: 0; } .bottom-nav { display: none; } .header { padding: 0 20px; height: 68px; } .logo-text { font-size: 1.35rem; } .hero-banner { border-radius: var(--radius-xl); padding: 40px 36px; } .hero-banner h1 { font-size: 2rem; } }
        @media (min-width: 1024px) { main { padding: 24px 32px 48px; } .hero-banner h1 { font-size: 2.2rem; } }
        .desktop-only { display: none; }
        @media (min-width: 768px) { .desktop-only { display: initial; } }

        /* Scroll Reveal */
        .reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1), transform 0.7s cubic-bezier(0.4,0,0.2,1); will-change: opacity, transform; }
        .reveal.visible { opacity: 1; transform: translateY(0); }

        /* FAB */
        .fab { position: fixed; right: 20px; bottom: calc(var(--bottom-nav-h) + 20px); width: 56px; height: 56px; border-radius: 50%; z-index: 99; background: linear-gradient(135deg, var(--primary), var(--accent)); color: white; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; box-shadow: 0 8px 24px var(--primary-glow); cursor: pointer; border: none; transition: all 0.3s cubic-bezier(0.68,-0.55,0.265,1.55); text-decoration: none; }
        .fab:hover { transform: scale(1.1) rotate(10deg); }
        .fab .fab-count { position: absolute; top: -4px; right: -4px; min-width: 22px; height: 22px; background: var(--danger); color: white; border-radius: 11px; font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; padding: 0 6px; box-shadow: 0 2px 8px rgba(255,82,82,0.4); }
        @media (min-width: 768px) { .fab { display: none; } }

        /* Page enter */
        .page-enter { animation: pageEnter 0.5s cubic-bezier(0.4,0,0.2,1); }
        @keyframes pageEnter { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

        /* Liquid button */
        .liquid-btn { position: relative; overflow: hidden; }
        .liquid-btn::before { content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0; border-radius: 50%; background: rgba(255,255,255,0.3); transform: translate(-50%,-50%); transition: width 0.5s, height 0.5s; }
        .liquid-btn:active::before { width: 300px; height: 300px; }

        /* ===== PROMO BANNER ===== */
        .promo-banner {
            position: relative; overflow: hidden;
            background: linear-gradient(135deg, #1A1A2E 0%, #2B2D42 50%, #3A3D5C 100%);
            display: flex; align-items: center; min-height: 140px;
            padding: 20px 20px; margin-bottom: 16px; border-radius: 16px;
            z-index: 50; animation: promoSlideIn 0.6s ease;
        }
        .promo-banner-bg {
            position: absolute; inset: 0; z-index: 0;
        }
        .promo-banner-bg img {
            width: 100%; height: 100%; object-fit: cover; display: block;
        }
        .promo-banner-bg::after {
            content: ''; position: absolute; inset: 0;
            background: linear-gradient(135deg, rgba(26,26,46,0.7) 0%, rgba(26,26,46,0.4) 50%, rgba(26,26,46,0.7) 100%);
            z-index: 1;
        }
        @keyframes promoSlideIn { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
        .promo-bg-shapes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
        .promo-shape { position: absolute; border-radius: 50%; opacity: 0.15; }
        .promo-shape-1 { width: 120px; height: 120px; background: var(--primary); top: -40px; right: -30px; animation: promoFloat1 6s ease-in-out infinite; }
        .promo-shape-2 { width: 80px; height: 80px; background: var(--violet); bottom: -20px; left: -20px; animation: promoFloat2 8s ease-in-out infinite; }
        .promo-shape-3 { width: 60px; height: 60px; background: var(--accent); top: 10px; left: 40%; animation: promoFloat3 5s ease-in-out infinite; }
        @keyframes promoFloat1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-15px,10px); } }
        @keyframes promoFloat2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(10px,-8px); } }
        @keyframes promoFloat3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-8px,5px) scale(1.3); } }
        .promo-img-wrap { width: 60px; height: 60px; min-width: 60px; border-radius: 14px; overflow: hidden; margin-right: 14px; box-shadow: 0 4px 16px rgba(0,0,0,0.3); }
        [dir="rtl"] .promo-img-wrap { margin-right: 0; margin-left: 14px; }
        .promo-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
        .promo-content { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; position: relative; z-index: 1; }
        .promo-badge { display: inline-block; background: rgba(255,255,255,0.15); color: #FFE082; padding: 2px 10px; border-radius: 10px; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.3px; width: fit-content; animation: promoPulse 2s ease-in-out infinite; }
        @keyframes promoPulse { 0%,100% { box-shadow: 0 0 0 0 rgba(225,6,0,0.3); } 50% { box-shadow: 0 0 0 8px rgba(225,6,0,0); } }
        .promo-title { color: white; font-weight: 700; font-size: 0.85rem; line-height: 1.2; }
        .promo-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
        .promo-tag { background: rgba(255,255,255,0.2); backdrop-filter: blur(4px); padding: 2px 10px; border-radius: 8px; font-size: 0.72rem; font-weight: 800; color: white; }
        .promo-code { font-size: 0.7rem; color: rgba(255,255,255,0.7); border: 1px dashed rgba(255,255,255,0.3); padding: 2px 8px; border-radius: 6px; }
        .promo-code strong { color: #FFE082; }
        .promo-timer { font-family: monospace; font-size: 0.72rem; background: rgba(0,0,0,0.25); padding: 2px 8px; border-radius: 6px; color: #FFE082; }
        .promo-btn { display: inline-flex; align-items: center; gap: 6px; color: white; text-decoration: none; font-weight: 700; font-size: 0.75rem; margin-top: 2px; transition: all 0.3s; }
        .promo-btn:hover { color: #FFE082; transform: translateX(3px); }
        [dir="rtl"] .promo-btn:hover { transform: translateX(-3px); }
        @media (max-width: 768px) {
            .promo-banner { flex-direction: column; justify-content: flex-end; text-align: center; padding: 16px 14px; min-height: 160px; }
            .promo-banner-bg { position: absolute; inset: 0; }
            .promo-banner-bg img { width: 100%; height: 100%; object-fit: cover; }
            .promo-banner-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(26,26,46,0.85) 0%, rgba(26,26,46,0.3) 50%, rgba(26,26,46,0.5) 100%); z-index: 1; }
            .promo-content { align-items: center; position: relative; z-index: 2; }
            .promo-row { justify-content: center; }
            .promo-title { font-size: 0.85rem; }
        }

        /* Tablet */
        @media (min-width: 768px) and (max-width: 1024px) { .product-grid { grid-template-columns: repeat(3, 1fr); } .hero-banner { padding: 32px 28px; } }

        /* ===== LOCATION PICKER OVERLAY (Mobile-first responsive) ===== */
        .loc-overlay {
            position: fixed; inset: 0; z-index: 9999;
            background: rgba(0,0,0,0.45); backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);
            display: flex; align-items: flex-end; justify-content: center;
            opacity: 0; pointer-events: none; transition: opacity 0.3s;
        }
        .loc-overlay.active { opacity: 1; pointer-events: auto; }
        .loc-panel {
            background: var(--card-bg); backdrop-filter: blur(var(--glass-blur));
            -webkit-backdrop-filter: blur(var(--glass-blur));
            border-radius: 20px 20px 0 0; width: 100%; max-width: 100vw;
            height: 92vh; max-height: 92vh; display: flex; flex-direction: column;
            box-shadow: 0 -10px 40px rgba(0,0,0,0.25); overflow: hidden;
            transform: translateY(100%); transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
        }
        .loc-overlay.active .loc-panel { transform: translateY(0); }
        .loc-panel-header {
            display: flex; align-items: center; justify-content: space-between;
            padding: 14px 16px; border-bottom: 1px solid var(--border);
            flex-shrink: 0;
        }
        .loc-panel-header h3 { margin: 0; font-weight: 800; font-size: 0.95rem; font-family: var(--font-display); }
        .loc-close-btn {
            width: 34px; height: 34px; border-radius: 50%; border: none;
            background: #F3F4F6; cursor: pointer; font-size: 0.9rem;
            display: flex; align-items: center; justify-content: center;
            color: var(--text-secondary); transition: all var(--transition);
            flex-shrink: 0;
        }
        .loc-close-btn:hover { background: #E5E7EB; color: var(--text); }
        .loc-panel-body { flex: 1; overflow: hidden; display: flex; flex-direction: column; padding: 0; }
        .loc-search-bar {
            display: flex; align-items: center; gap: 8px;
            padding: 10px 14px; border-bottom: 1px solid var(--border);
            background: #F9FAFB; flex-shrink: 0;
        }
        .loc-search-input {
            flex: 1; border: none; background: transparent;
            font-size: 0.85rem; font-family: inherit; color: var(--text);
            outline: none; min-width: 0;
        }
        .loc-search-input::placeholder { color: var(--text-light); }
        .loc-lists-wrap {
            display: flex; flex: 1; overflow: hidden; max-height: 200px;
        }
        .loc-emirate-list {
            width: 120px; min-width: 120px; border-right: 1px solid var(--border);
            overflow-y: auto; padding: 6px; flex-shrink: 0;
            -webkit-overflow-scrolling: touch;
        }
        [dir="rtl"] .loc-emirate-list { border-right: none; border-left: 1px solid var(--border); }
        .loc-emirate-btn {
            width: 100%; padding: 9px 10px; border: none; background: none;
            cursor: pointer; font-size: 0.78rem; font-weight: 600; color: var(--text-secondary);
            text-align: left; border-radius: 10px; transition: all 0.2s;
            font-family: inherit; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
            -webkit-tap-highlight-color: transparent;
        }
        [dir="rtl"] .loc-emirate-btn { text-align: right; }
        .loc-emirate-btn.active { background: rgba(255,214,0,0.12); color: var(--primary); }
        .loc-emirate-btn:hover { background: #F3F4F6; }
        .loc-city-list { flex: 1; overflow-y: auto; padding: 6px; -webkit-overflow-scrolling: touch; }
        .loc-city-group { display: none; }
        .loc-city-group.active { display: flex; flex-direction: column; gap: 2px; }
        .loc-city-btn {
            width: 100%; padding: 10px 12px; border: none; background: none;
            cursor: pointer; font-size: 0.82rem; font-weight: 500; color: var(--text);
            text-align: left; border-radius: 10px; transition: all 0.2s;
            display: flex; justify-content: space-between; align-items: center;
            font-family: inherit; -webkit-tap-highlight-color: transparent;
        }
        [dir="rtl"] .loc-city-btn { text-align: right; }
        .loc-city-btn:hover { background: #F3F4F6; }
        .loc-map-wrap {
            position: relative; height: 280px; border-top: 1px solid var(--border);
            flex-shrink: 0;
        }
        .loc-map-wrap #locMap { width: 100%; height: 100%; }
        .loc-detect-btn {
            position: absolute; top: 10px; right: 10px; z-index: 1000;
            display: flex; align-items: center; gap: 6px;
            padding: 8px 14px; border-radius: 10px;
            background: white; border: 1px solid rgba(0,0,0,0.1);
            box-shadow: 0 2px 8px rgba(0,0,0,0.12); cursor: pointer;
            font-size: 0.72rem; font-weight: 700; color: #0F0F1A;
            transition: all 0.2s; font-family: inherit; white-space: nowrap;
            -webkit-tap-highlight-color: transparent;
        }
        [dir="rtl"] .loc-detect-btn { right: auto; left: 10px; }
        .loc-detect-btn:hover { background: var(--primary); color: white; border-color: var(--primary); }
        .loc-detect-btn:active { transform: scale(0.96); }
        .loc-detect-btn svg { flex-shrink: 0; }
        .loc-footer-text {
            padding: 10px 14px; border-top: 1px solid var(--border);
            text-align: center; font-size: 0.68rem; color: var(--text-light);
            flex-shrink: 0; background: #FAFAFA;
        }

        @media (min-width: 768px) {
            .loc-overlay { align-items: center; }
            .loc-panel {
                border-radius: 24px; max-width: 560px; height: auto;
                max-height: 82vh; transform: translateY(40px) scale(0.95);
            }
            .loc-overlay.active .loc-panel { transform: translateY(0) scale(1); }
            .loc-panel-header h3 { font-size: 1.05rem; }
            .loc-lists-wrap { max-height: 220px; }
            .loc-emirate-list { width: 140px; min-width: 140px; }
            .loc-emirate-btn { font-size: 0.82rem; }
            .loc-city-btn { font-size: 0.85rem; }
            .loc-map-wrap { height: 260px; }
            .loc-search-input { font-size: 0.88rem; }
        }

        @media (max-width: 380px) {
            .loc-emirate-list { width: 100px; min-width: 100px; }
            .loc-emirate-btn { font-size: 0.72rem; padding: 8px 8px; }
            .loc-city-btn { font-size: 0.78rem; padding: 8px 10px; }
            .loc-map-wrap { height: 220px; }
            .loc-detect-btn { padding: 6px 10px; font-size: 0.68rem; }
        }

        @media (min-width: 1024px) {
            .loc-panel { max-width: 640px; border-radius: 28px; }
            .loc-map-wrap { height: 300px; }
            .loc-lists-wrap { max-height: 240px; }
        }

        /* ===== FOOTER (Professional) ===== */
        .site-footer {
            background: #1A1A2E;
            color: rgba(255,255,255,0.8);
            margin-top: 40px;
            padding: 40px 0 0;
            position: relative;
            z-index: 50;
        }
        .footer-inner {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
            display: grid;
            grid-template-columns: 1fr;
            gap: 24px;
        }
        @media (min-width: 768px) {
            .footer-inner { grid-template-columns: 1.2fr 2fr; }
        }
        .footer-brand { display: flex; flex-direction: column; gap: 10px; }
        .footer-logo { display: flex; align-items: center; gap: 8px; }
        .footer-logo-icon {
            width: 36px; height: 36px;
            border-radius: 10px;
            background: linear-gradient(135deg, var(--primary), var(--accent));
            display: flex; align-items: center; justify-content: center;
            font-size: 18px;
        }
        .footer-logo-text {
            font-family: var(--font-display);
            font-weight: 700;
            font-size: 1.1rem;
            color: white;
        }
        .footer-tagline {
            font-size: 0.8rem;
            color: rgba(255,255,255,0.5);
            margin: 0;
            line-height: 1.6;
        }
        .footer-links {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
        }
        @media (min-width: 768px) {
            .footer-links { grid-template-columns: repeat(3, 1fr); }
        }
        .footer-col { display: flex; flex-direction: column; gap: 8px; }
        .footer-col h4 {
            color: white;
            font-size: 0.85rem;
            font-weight: 700;
            margin: 0 0 4px;
            font-family: var(--font-display);
        }
        .footer-col a {
            color: rgba(255,255,255,0.6);
            font-size: 0.78rem;
            text-decoration: none;
            transition: all 0.2s;
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }
        .footer-col a:hover {
            color: var(--primary);
            transform: translateX(3px);
        }
        [dir="rtl"] .footer-col a:hover { transform: translateX(-3px); }
        .footer-bottom {
            border-top: 1px solid rgba(255,255,255,0.1);
            margin-top: 32px;
            padding: 16px 20px;
            text-align: center;
            font-size: 0.72rem;
            color: rgba(255,255,255,0.4);
        }

        /* Mobile fixes */
        @media (max-width: 767px) {
            main { padding-bottom: calc(var(--bottom-nav-h) + 24px) !important; max-width: none !important; }
            .header { height: 56px; padding: 0 10px; }
            .header-logo { gap: 6px; }
            .logo-icon { width: 32px; height: 32px; font-size: 16px; border-radius: 10px; }
            .logo-text { font-size: 1rem; }
            .header-btn { width: 36px; height: 36px; font-size: 1rem; }
            .header-btn-text { padding: 0 8px; font-size: 0.72rem; }
            .header-btn-primary { padding: 0 10px; font-size: 0.72rem; }
            .hero-banner { padding: 20px 16px; border-radius: var(--radius-lg); margin-bottom: 16px; }
            .hero-banner h1 { font-size: 1.3rem; }
            .hero-banner p { font-size: 0.8rem; margin-bottom: 8px; }
            .hero-banner .hero-offer { font-size: 0.72rem; padding: 5px 10px; }
            .product-card .product-img { height: 110px; }
            .product-card .product-body { padding: 8px; }
            .product-card .product-name { font-size: 0.78rem; }
            .product-card .product-price { font-size: 0.9rem; }
            .product-card .add-btn { padding: 7px; font-size: 0.72rem; }
            .section-title { font-size: 1rem; }
            .section-link { font-size: 0.75rem; }
            .category-pill { min-width: 60px; }
            .category-pill .pill-icon { width: 46px; height: 46px; font-size: 1.3rem; }
            .category-pill .pill-label { font-size: 0.6rem; }
            .cart-item { padding: 10px; gap: 8px; }
            .cart-item-img { width: 44px; height: 44px; font-size: 1.5rem; }
            .cart-item-name { font-size: 0.8rem; }
            .cart-item-price { font-size: 0.8rem; }
            .qty-btn { width: 28px; height: 28px; font-size: 0.9rem; }
            .bottom-nav { height: 60px; padding: 4px 0; }
            .bottom-nav-item { font-size: 9px; }
            .bottom-nav-item i { font-size: 1.15rem; }
            .fab { bottom: calc(60px + 16px); right: 16px; width: 50px; height: 50px; font-size: 1.2rem; }
            .form-control, .form-select { padding: 10px 12px; font-size: 0.88rem; }
            .btn { padding: 10px 18px; font-size: 0.85rem; }
            .btn-lg { padding: 12px 24px; font-size: 0.92rem; }
            .stat-card { padding: 12px; gap: 8px; }
            .stat-icon-box { width: 36px; height: 36px; font-size: 1rem; }
            .stat-value { font-size: 1.1rem; }
            .stat-label { font-size: 0.65rem; }
            .order-card { padding: 10px; }
            .order-number { font-size: 0.82rem; }
            .filter-pill { padding: 6px 12px; font-size: 0.72rem; }
            .checkout-summary { padding: 12px; }
            .alert { padding: 8px 12px; font-size: 0.8rem; }
            .search-box input { padding: 10px 14px 10px 40px; font-size: 0.85rem; }
            .search-box i { left: 13px; font-size: 0.95rem; }
        }
