@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&display=swap');

:root {
            --primary: #006C35;
            --primary-dark: #004b23;
            --primary-light: #008744;
            --secondary: #008744;
            --accent: #F4B400;
            --gold: #F4B400;
            --gold-light: #FFE082;
            --dark: #122317;
            --light: #f5fbf7;
            --grey: #7a8e82;
            --black: #0c1810;
            --white: #ffffff;
            --glass: rgba(255, 255, 255, 0.15);
            --glass-dark: rgba(0, 75, 35, 0.65);
            --success: #00a854;
            --warning: #F4B400;
            --gradient-primary: linear-gradient(135deg, #006C35 0%, #004b23 100%);
            --gradient-dark: linear-gradient(135deg, #122317 0%, #07100a 100%);
            --gradient-accent: linear-gradient(135deg, #F4B400 0%, #d49a00 100%);
            --gradient-gold: linear-gradient(135deg, #F4B400 0%, #FFC72C 100%);
            --gradient-celebrate: linear-gradient(135deg, #006C35 0%, #008744 45%, #F4B400 100%);
            --gradient-saudi: linear-gradient(135deg, #006C35 0%, #004b23 60%, #F4B400 100%);
            --shadow-sm: 0 2px 10px rgba(0, 108, 53, 0.08);
            --shadow-md: 0 5px 20px rgba(0, 108, 53, 0.15);
            --shadow-lg: 0 10px 40px rgba(0, 108, 53, 0.2);
            --shadow-xl: 0 15px 50px rgba(0, 75, 35, 0.3);
            --cart-bg: #ffffff;
            --sidebar-width: 420px;
            --neon-glow: 0 0 15px rgba(0, 108, 53, 0.5), 0 0 30px rgba(244, 180, 0, 0.35);
            --bottom-nav-height: 62px;
            --header-mobile-height: 56px;
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            -webkit-tap-highlight-color: transparent;
        }
        body {
            background: linear-gradient(135deg, #f3f8f5 0%, #e5efe8 100%);
            min-height: 100vh;
            color: var(--dark);
            overflow-x: hidden;
            transition: all 0.3s ease;
            padding-bottom: 80px;
            position: relative;
        }
        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at 15% 85%, rgba(0, 108, 53, 0.12) 0%, transparent 50%), radial-gradient(circle at 85% 15%, rgba(244, 180, 0, 0.12) 0%, transparent 50%);
            z-index: -1;
            pointer-events: none;
        }
        body.rtl {
            direction: rtl;
            text-align: right;
        }
        body.ltr {
            direction: ltr;
            text-align: left;
        }
        body.modal-open {
            overflow: hidden;
        }
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px 10px;
        }
        .sticky-header-container {
            position: sticky;
            top: 0;
            z-index: 1000;
            background: rgba(243, 248, 245, 0.95);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            padding: 6px 0 2px;
            margin-bottom: 8px;
            box-shadow: 0 4px 18px rgba(0, 108, 53, 0.08);
            border-bottom: 1px solid rgba(0, 108, 53, 0.08);
        }
        header {
            display: flex;
            flex-direction: column;
            gap: 10px;
            padding: 12px 16px;
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            border-radius: 20px;
            box-shadow: var(--shadow-md);
            border: 1px solid rgba(255, 255, 255, 0.8);
            margin-bottom: 6px;
            animation: headerSlideDown 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
            position: relative;
            z-index: 50;
        }
        .header-main-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
            gap: 10px;
        }
        @keyframes headerSlideDown {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        .logo-container {
            display: flex;
            align-items: center;
            gap: 10px;
            min-width: 0;
            flex-shrink: 0;
        }
        .logo {
            height: 48px;
            width: 48px;
            border-radius: 14px;
            box-shadow: var(--shadow-md);
            object-fit: cover;
            border: 2px solid var(--white);
            transition: all 0.4s ease;
            flex-shrink: 0;
        }
        .logo:hover {
            transform: rotate(5deg) scale(1.06);
            box-shadow: var(--shadow-xl), var(--neon-glow);
        }
        .header-text {
            width: 100%;
            text-align: center;
            padding-top: 6px;
            border-top: 1px dashed rgba(0, 108, 53, 0.15);
        }
        .header-text h1 {
            color: var(--dark);
            font-size: 1.05rem;
            margin-bottom: 2px;
            font-weight: 800;
            background: linear-gradient(135deg, #006C35 0%, #004b23 40%, #d49a00 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            line-height: 1.35;
        }
        .header-text p {
            color: var(--grey);
            font-size: 0.78rem;
            font-weight: 600;
            line-height: 1.3;
        }
        @media (min-width: 769px) {
            header {
                flex-direction: row;
                justify-content: space-between;
                align-items: center;
                padding: 14px 22px;
            }
            .header-main-row {
                width: auto;
                justify-content: flex-start;
            }
            .header-text {
                width: auto;
                text-align: right;
                padding-top: 0;
                border-top: none;
                margin-inline-start: 16px;
            }
            body.ltr .header-text {
                text-align: left;
            }
            .header-text h1 {
                font-size: 1.2rem;
            }
            .header-text p {
                font-size: 0.85rem;
            }
        }
        .header-actions {
            display: flex;
            align-items: center;
            gap: 6px;
            flex-shrink: 1;
            min-width: 0;
            justify-content: flex-end;
        }
        .customer-auth-btn {
            background: rgba(0, 108, 53, 0.08);
            border: 1px solid rgba(0, 108, 53, 0.25);
            border-radius: 20px;
            padding: 6px 10px;
            display: inline-flex;
            align-items: center;
            gap: 5px;
            font-size: 0.78rem;
            font-weight: 700;
            color: #006C35;
            cursor: pointer;
            white-space: nowrap;
            transition: all 0.2s ease;
            flex-shrink: 0;
        }
        .customer-auth-btn:hover {
            background: rgba(0, 108, 53, 0.15);
            border-color: #006C35;
            transform: translateY(-1px);
        }
        .share-button {
            background: linear-gradient(135deg, #006C35 0%, #004b23 100%);
            color: #ffffff;
            border: none;
            border-radius: 20px;
            padding: 6px 12px;
            display: inline-flex;
            align-items: center;
            gap: 5px;
            font-size: 0.78rem;
            font-weight: 700;
            cursor: pointer;
            box-shadow: var(--shadow-sm);
            white-space: nowrap;
            transition: all 0.2s ease;
            flex-shrink: 0;
        }
        .share-button:hover {
            background: linear-gradient(135deg, #008744 0%, #006C35 100%);
            transform: translateY(-1px);
            box-shadow: var(--shadow-md);
        }
        .icon-btn {
            width: 38px;
            height: 38px;
            border-radius: 11px;
            background: var(--white);
            color: var(--dark);
            border: 1.5px solid #e2e8f0;
            cursor: pointer;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            font-size: 0.95rem;
            transition: all 0.25s ease;
            box-shadow: var(--shadow-sm);
            position: relative;
            flex-shrink: 0;
        }
        .icon-btn:hover {
            background: #fef5f0;
            border-color: var(--primary);
            color: var(--primary);
            transform: translateY(-1px);
        }
        .lang-toggle-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 3px;
            padding: 0 6px;
            width: auto;
            min-width: 38px;
            background: rgba(244, 180, 0, 0.08);
            border-color: rgba(244, 180, 0, 0.5);
            color: #b45309;
        }
        .lang-toggle-btn:hover {
            background: #fffbeb;
            border-color: #d97706;
            color: #92400e;
        }
        .lang-pill-badge {
            font-size: 0.68rem;
            font-weight: 800;
            color: #92400e;
            background: rgba(244, 180, 0, 0.2);
            padding: 1px 5px;
            border-radius: 6px;
        }
        .icon-btn.cart-btn {
            position: relative;
        }
        .icon-btn .mini-badge {
            position: absolute;
            top: -6px;
            right: -6px;
            background: var(--gradient-primary);
            color: white;
            width: 19px;
            height: 19px;
            border-radius: 50%;
            font-size: 0.65rem;
            font-weight: 800;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: var(--shadow-sm);
        }
        body.ltr .icon-btn .mini-badge {
            right: auto;
            left: -6px;
        }
        .mini-badge:empty,
        .mini-badge[data-count="0"] {
            display: none;
        }
        .hamburger-btn {
            width: 38px;
            height: 38px;
            border-radius: 11px;
            background: var(--white);
            color: var(--dark);
            border: 1.5px solid #e2e8f0;
            cursor: pointer;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 3px;
            padding: 8px;
            transition: all 0.3s ease;
            box-shadow: var(--shadow-sm);
            flex-shrink: 0;
            z-index: 1001;
        }
        .hamburger-btn .bar {
            width: 18px;
            height: 2px;
            background: var(--dark);
            border-radius: 2px;
            transition: all 0.3s ease;
            display: block;
        }
        .hamburger-btn.open .bar:nth-child(1) {
            transform: translateY(5px) rotate(45deg);
        }
        .hamburger-btn.open .bar:nth-child(2) {
            opacity: 0;
        }
        .hamburger-btn.open .bar:nth-child(3) {
            transform: translateY(-5px) rotate(-45deg);
        }
        /* Menu Sidebar Drawer Window & Overlay (Like Cart Window) */
        .menu-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.55);
            z-index: 1005;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            backdrop-filter: blur(4px);
            -webkit-backdrop-filter: blur(4px);
        }
        .menu-overlay.active {
            opacity: 1;
            visibility: visible;
        }
        .menu-sidebar {
            position: fixed;
            top: 0;
            right: 0;
            width: 320px;
            max-width: 88vw;
            height: 100vh;
            height: 100dvh;
            background: var(--white);
            z-index: 1006;
            box-shadow: -5px 0 35px rgba(0, 0, 0, 0.25);
            transform: translateX(105%);
            transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex;
            flex-direction: column;
            border-radius: 20px 0 0 20px;
            overflow: hidden;
        }
        .menu-sidebar.active {
            transform: translateX(0);
        }
        body.ltr .menu-sidebar {
            right: auto;
            left: 0;
            box-shadow: 5px 0 35px rgba(0, 0, 0, 0.25);
            transform: translateX(-105%);
            border-radius: 0 20px 20px 0;
        }
        body.ltr .menu-sidebar.active {
            transform: translateX(0);
        }
        .menu-sidebar-header {
            position: sticky;
            top: 0;
            z-index: 30;
            flex-shrink: 0;
            padding: 16px 20px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.15);
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: var(--gradient-primary);
            color: white;
            border-radius: 20px 0 0 0;
        }
        body.ltr .menu-sidebar-header {
            border-radius: 0 20px 0 0;
        }
        .menu-header-title {
            font-size: 1.08rem;
            font-weight: 800;
            display: flex;
            align-items: center;
            gap: 10px;
            color: #ffffff;
        }
        .menu-close-btn {
            width: 34px;
            height: 34px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.2);
            border: none;
            color: white;
            font-size: 1.1rem;
            font-weight: 700;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }
        .menu-close-btn:hover {
            background: rgba(255, 255, 255, 0.4);
            transform: rotate(90deg);
        }
        .menu-sidebar-body {
            flex: 1;
            overflow-y: auto !important;
            overflow-x: hidden !important;
            -webkit-overflow-scrolling: touch;
            overscroll-behavior: contain;
            padding: 10px 0 30px;
            scrollbar-width: thin;
        }
        .menu-sidebar-body::-webkit-scrollbar {
            width: 5px;
        }
        .menu-sidebar-body::-webkit-scrollbar-thumb {
            background: rgba(0, 108, 53, 0.2);
            border-radius: 10px;
        }
        .hamburger-dropdown-item {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 13px 18px;
            cursor: pointer;
            transition: all 0.2s ease;
            font-weight: 700;
            font-size: 0.9rem;
            color: var(--dark);
            border-bottom: 1px solid #f1f5f9;
            text-decoration: none;
            white-space: nowrap;
        }
        .hamburger-dropdown-item:last-child {
            border-bottom: none;
        }
        .hamburger-dropdown-item:hover, .hamburger-dropdown-item:active {
            background: #f4fbf6;
            color: var(--primary);
        }
        .hamburger-dropdown-item i {
            width: 22px;
            text-align: center;
            color: var(--primary);
            font-size: 1.05rem;
            flex-shrink: 0;
        }
        .hamburger-dropdown-item .dropdown-badge {
            background: var(--gradient-primary);
            color: white;
            padding: 3px 10px;
            border-radius: 12px;
            font-size: 0.72rem;
            font-weight: 700;
            margin-inline-start: auto;
        }
        body.ltr .hamburger-dropdown-item .dropdown-badge {
            margin-right: 0;
            margin-left: auto;
        }

        /* Mobile responsive compacting so all buttons fit gracefully */
        @media (max-width: 540px) {
            header {
                padding: 9px 12px;
            }
            .header-main-row {
                gap: 5px;
            }
            .logo-container {
                gap: 6px;
            }
            .logo {
                height: 40px;
                width: 40px;
                border-radius: 10px;
            }
            .hamburger-btn {
                width: 36px;
                height: 36px;
                padding: 7px;
                border-radius: 9px;
            }
            .header-actions {
                gap: 4px;
            }
            .customer-auth-btn {
                padding: 5px 8px;
                font-size: 0.74rem;
                gap: 4px;
            }
            .share-button {
                padding: 5px 9px;
                font-size: 0.74rem;
                gap: 4px;
            }
            .icon-btn {
                width: 36px;
                height: 36px;
                font-size: 0.92rem;
                border-radius: 9px;
            }
            .lang-toggle-btn {
                min-width: 36px;
                padding: 0 4px;
            }
            .lang-pill-badge {
                font-size: 0.62rem;
                padding: 1px 3px;
            }
        }

        @media (max-width: 380px) {
            .share-button #shareButtonText {
                display: none;
            }
            .share-button {
                padding: 6px 8px;
                border-radius: 9px;
            }
            .customer-auth-btn {
                padding: 4px 6px;
                font-size: 0.7rem;
            }
            .logo {
                height: 36px;
                width: 36px;
            }
        }
        .search-bar-wrapper {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px 8px;
            position: relative;
            z-index: 40;
        }
        .search-container {
            display: flex;
            align-items: center;
            background: #f5f5f5;
            border-radius: 10px;
            padding: 4px 12px;
            border: 2px solid #ddd;
            transition: border-color 0.3s ease;
            height: 44px;
            max-width: 100%;
            position: relative;
        }
        .search-container:focus-within {
            border-color: var(--primary);
        }
        .search-container .search-icon {
            padding: 0 8px 0 0;
            color: var(--grey);
            font-size: 0.9rem;
            flex-shrink: 0;
            transition: color 0.3s;
        }
        .search-container:focus-within .search-icon {
            color: var(--primary);
        }
        .search-input {
            flex: 1;
            border: none;
            outline: none;
            font-size: 0.9rem;
            padding: 6px 4px;
            background: transparent;
            color: var(--dark);
            font-family: inherit;
            font-weight: 500;
        }
        .search-input::placeholder {
            color: #aaa;
        }
        .search-clear-btn {
            width: 26px;
            height: 26px;
            border-radius: 50%;
            background: transparent;
            border: none;
            cursor: pointer;
            color: #999;
            display: none;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            transition: all 0.2s ease;
            font-size: 0.75rem;
        }
        .search-clear-btn.visible {
            display: flex;
        }
        .search-clear-btn:hover {
            background: #f0f0f0;
            color: #555;
        }
        .countdown-section {
            background: rgba(255, 255, 255, 0.8);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border-radius: 18px;
            padding: 16px 20px;
            margin: 10px 0 14px;
            text-align: center;
            box-shadow: var(--shadow-lg);
            border: 2px solid rgba(254, 95, 0, 0.15);
            animation: fadeInUp 0.7s ease;
            position: relative;
            overflow: hidden;
        }
        .countdown-title {
            font-size: 1.1rem;
            font-weight: 700;
            color: var(--dark);
            margin-bottom: 10px;
            position: relative;
            z-index: 1;
        }
        .countdown-timer {
            display: flex;
            justify-content: center;
            gap: 10px;
            flex-wrap: wrap;
            position: relative;
            z-index: 1;
        }
        .countdown-item {
            background: var(--white);
            border-radius: 12px;
            padding: 10px 14px;
            min-width: 60px;
            box-shadow: var(--shadow-md);
            border: 2px solid #f0f0f0;
            transition: all 0.3s ease;
            text-align: center;
        }
        .countdown-value {
            display: block;
            font-size: 1.6rem;
            font-weight: 800;
            color: var(--primary);
            line-height: 1;
            margin-bottom: 2px;
            font-variant-numeric: tabular-nums;
        }
        .countdown-label {
            display: block;
            font-size: 0.7rem;
            font-weight: 600;
            color: var(--grey);
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        .countdown-live {
            display: none;
            font-size: 1.1rem;
            font-weight: 700;
            color: #fe5f00;
            animation: pulse 1.2s ease-in-out infinite;
            position: relative;
            z-index: 1;
        }
        @keyframes pulse {
            0%,
            100% {
                opacity: 1;
                transform: scale(1);
            }
            50% {
                opacity: 0.7;
                transform: scale(1.05);
            }
        }
        .poster-slider-wrapper {
            position: relative;
            width: 100%;
            max-width: 100%;
            margin: 8px 0 20px;
            border-radius: 14px;
            overflow: hidden;
            box-shadow: var(--shadow-lg);
            background: #ddd;
            aspect-ratio: 820/312;
            max-height: 350px;
            animation: fadeInUp 0.8s ease;
            direction: ltr !important;
            unicode-bidi: isolate;
        }
        .poster-slides-track {
            display: flex;
            height: 100%;
            transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            will-change: transform;
            direction: ltr !important;
            unicode-bidi: isolate;
        }
        .poster-slide {
            min-width: 100%;
            width: 100%;
            flex: 0 0 100%;
            height: 100%;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            overflow: hidden;
            flex-shrink: 0;
            direction: ltr !important;
        }
        .poster-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            position: absolute;
            top: 0;
            left: 0;
            z-index: 1;
        }
        .poster-dots {
            position: absolute;
            bottom: 12px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 7px;
            z-index: 5;
        }
        .poster-dot {
            width: 9px;
            height: 9px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.3);
            cursor: pointer;
            transition: all 0.3s ease;
            border: 2px solid rgba(255, 255, 255, 0.6);
        }
        .poster-dot.active {
            background: white;
            width: 13px;
            height: 13px;
            border-color: white;
            box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
        }
        .section-divider-img {
            width: 100%;
            border-radius: 16px;
            margin: 18px 0 14px;
            overflow: hidden;
            box-shadow: var(--shadow-md);
            animation: fadeInUp 0.7s ease;
            aspect-ratio: 800/200;
            max-height: 200px;
            display: block;
            cursor: pointer;
        }
        .section-divider-img img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }
        .section-title {
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--dark);
            margin: 18px 0 8px;
            position: relative;
            display: flex;
            align-items: center;
            gap: 10px;
            animation: fadeInUp 0.6s ease;
            cursor: pointer;
            flex-wrap: wrap;
        }
        .section-title .title-icon {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            border-radius: 10px;
            color: white;
            font-size: 0.9rem;
            flex-shrink: 0;
        }
        .title-icon.orange {
            background: var(--gradient-primary);
        }
        .title-icon.gold {
            background: var(--gradient-gold);
        }
        .title-icon.blue {
            background: linear-gradient(135deg, #1e90ff 0deg, #3742fa 100%);
        }
        .title-icon.youtube-red {
            background: linear-gradient(135deg, #FF0000 0%, #cc0000 100%);
        }
        .title-icon.celebrate {
            background: var(--gradient-celebrate);
        }
        .see-more-link {
            font-size: 0.8rem;
            font-weight: 600;
            color: var(--primary);
            cursor: pointer;
            white-space: nowrap;
            margin-right: auto;
            padding: 6px 14px;
            border-radius: 20px;
            background: #fef5f0;
            border: 1.5px solid rgba(254, 95, 0, 0.2);
            transition: all 0.3s ease;
            flex-shrink: 0;
        }
        body.ltr .see-more-link {
            margin-right: 0;
            margin-left: auto;
        }
        .see-more-link:hover {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
        }
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        .youtube-section {
            margin: 14px 0 18px;
            animation: fadeInUp 0.75s ease;
        }
        .youtube-slider-wrapper {
            position: relative;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .youtube-slider-viewport {
            flex: 1;
            overflow: hidden;
            border-radius: 14px;
        }
        .youtube-slider-track {
            display: flex;
            gap: 12px;
            transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            will-change: transform;
            padding: 4px 2px;
        }
        .youtube-video-card {
            flex-shrink: 0;
            background: var(--white);
            border-radius: 12px;
            overflow: hidden;
            box-shadow: var(--shadow-md);
            border: 2px solid transparent;
            transition: all 0.35s ease;
            cursor: pointer;
        }
        .youtube-video-card:hover {
            border-color: #FF0000;
            box-shadow: var(--shadow-lg);
            transform: translateY(-3px);
        }
        .youtube-video-card .video-iframe-wrapper {
            position: relative;
            width: 100%;
            aspect-ratio: 9/14;
            background: #000;
            overflow: hidden;
        }
        .youtube-video-card iframe {
            width: 100%;
            height: 100%;
            border: none;
            display: block;
        }
        .youtube-arrow {
            width: 34px;
            height: 34px;
            border-radius: 50%;
            background: white;
            border: 2px solid #ddd;
            cursor: pointer;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.8rem;
            color: var(--dark);
            transition: all 0.3s ease;
            box-shadow: var(--shadow-sm);
            z-index: 2;
        }
        .youtube-arrow:hover {
            background: #FF0000;
            color: white;
            border-color: #FF0000;
        }
        .youtube-arrow:disabled {
            opacity: 0.3;
            cursor: not-allowed;
            pointer-events: none;
            background: #eee;
            color: #999;
            border-color: #ddd;
        }
        .discount-poster {
            width: 100%;
            border-radius: 18px;
            padding: 0;
            margin: 16px 0 12px;
            box-shadow: var(--shadow-lg);
            animation: fadeInUp 0.8s ease;
            background: none;
            cursor: pointer;
        }
        .discount-poster img {
            width: 100%;
            display: block;
            border-radius: 18px;
        }
        .discount-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 18px;
            margin-top: 8px;
        }
        .category-section {
            position: relative;
            margin: 8px 0 16px;
            animation: fadeInUp 0.75s ease;
        }
        .category-slider-container {
            position: relative;
            display: flex;
            align-items: center;
            gap: 4px;
        }
        .category-filters {
            display: flex;
            gap: 8px;
            flex-wrap: nowrap;
            overflow-x: auto;
            scroll-behavior: smooth;
            padding: 4px 4px;
            scrollbar-width: none;
            -ms-overflow-style: none;
            flex: 1;
            mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
            -webkit-mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
        }
        .category-filters::-webkit-scrollbar {
            display: none;
        }
        .category-filters.expanded {
            flex-wrap: wrap;
            overflow-x: visible;
            mask-image: none;
            -webkit-mask-image: none;
            justify-content: center;
        }
        .category-arrow {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background: white;
            border: 1px solid #ddd;
            cursor: pointer;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.75rem;
            color: var(--dark);
            transition: all 0.3s ease;
            box-shadow: var(--shadow-sm);
            z-index: 2;
        }
        .category-arrow:hover {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
        }
        .category-arrow:disabled {
            opacity: 0.35;
            cursor: not-allowed;
            pointer-events: none;
        }
        .category-pill {
            padding: 7px 16px;
            border-radius: 22px;
            border: 2px solid #ddd;
            background: white;
            cursor: pointer;
            font-weight: 600;
            font-size: 0.82rem;
            transition: all 0.3s ease;
            color: var(--dark);
            white-space: nowrap;
            flex-shrink: 0;
            user-select: none;
        }
        .category-pill:hover {
            border-color: var(--primary);
            color: var(--primary);
            transform: translateY(-2px);
        }
        .category-pill.active {
            background: var(--gradient-primary);
            color: white;
            border-color: transparent;
            box-shadow: var(--shadow-md);
        }
        .view-all-categories-btn {
            display: inline-block;
            text-align: center;
            background: #e8e8e8;
            color: #666;
            border: none;
            padding: 7px 16px;
            border-radius: 18px;
            cursor: pointer;
            font-size: 0.78rem;
            font-weight: 600;
            transition: all 0.3s ease;
            margin-top: 6px;
        }
        .view-all-categories-btn:hover {
            background: #d5d5d5;
            color: #444;
            transform: translateY(-2px);
        }
        .filter-bar {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px 14px;
            background: white;
            border-radius: 14px;
            box-shadow: var(--shadow-sm);
            margin: 10px 0 14px;
            flex-wrap: wrap;
            border: 1.5px solid #eee;
            animation: fadeInUp 0.5s ease;
        }
        .filter-bar label {
            font-weight: 700;
            font-size: 0.85rem;
            color: var(--dark);
            flex-shrink: 0;
        }
        .filter-bar select {
            padding: 8px 12px;
            border-radius: 10px;
            border: 2px solid #ddd;
            font-size: 0.85rem;
            font-family: inherit;
            font-weight: 500;
            cursor: pointer;
            background: white;
            color: var(--dark);
            transition: all 0.3s ease;
            flex: 1;
            min-width: 160px;
            max-width: 280px;
        }
        .filter-bar select:focus {
            border-color: var(--primary);
            outline: none;
        }
        .page-back-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 8px 16px;
            background: white;
            border: 2px solid #ddd;
            border-radius: 25px;
            cursor: pointer;
            font-weight: 600;
            font-size: 0.85rem;
            color: var(--dark);
            transition: all 0.3s ease;
            margin-bottom: 6px;
        }
        .page-back-btn:hover {
            border-color: var(--primary);
            color: var(--primary);
            background: #fef5f0;
        }
        .page-view {
            display: none;
            animation: fadeInUp 0.45s ease;
        }
        .page-view.active {
            display: block;
        }
        .home-view {
            display: block;
        }
        .home-view.hidden {
            display: none;
        }
        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
            gap: 20px;
            margin-top: 8px;
            animation: fadeInUp 0.9s ease;
        }
        .new-arrivals-grid,
        .best-seller-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 18px;
            margin-top: 8px;
        }
        .product-card,
        .new-arrival-card,
        .best-seller-card {
            background: var(--white);
            border-radius: 18px;
            overflow: hidden;
            box-shadow: var(--shadow-lg);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
            position: relative;
            border: 2px solid transparent;
        }
        .product-card:hover,
        .new-arrival-card:hover,
        .best-seller-card:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-xl);
            border-color: var(--primary);
        }
        .product-card.featured-card {
            border-color: var(--accent);
        }
        .product-card.featured-card::before {
            content: '★';
            position: absolute;
            top: 10px;
            right: 10px;
            z-index: 5;
            background: var(--gradient-accent);
            color: white;
            width: 30px;
            height: 30px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.85rem;
            box-shadow: var(--shadow-md);
        }
        body.ltr .product-card.featured-card::before {
            right: auto;
            left: 10px;
        }
        .product-image-wrapper {
            position: relative;
            width: 100%;
            height: 200px;
            overflow: hidden;
        }
        .product-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        .product-card:hover .product-image,
        .new-arrival-card:hover .product-image,
        .best-seller-card:hover .product-image {
            transform: scale(1.05);
        }
        .product-category-badge {
            position: absolute;
            bottom: 8px;
            left: 8px;
            background: var(--glass-dark);
            backdrop-filter: blur(10px);
            color: white;
            padding: 2px 7px;
            border-radius: 10px;
            font-size: 0.62rem;
            font-weight: 600;
            z-index: 2;
            max-width: 44%;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            line-height: 1.2;
        }
        body.ltr .product-category-badge {
            left: auto;
            right: 8px;
        }
        .product-stock-badge {
            position: absolute;
            top: 8px;
            left: 8px;
            padding: 2px 7px;
            border-radius: 10px;
            font-size: 0.62rem;
            font-weight: 600;
            z-index: 2;
            line-height: 1.2;
        }
        .product-stock-badge.in-stock {
            background: #d4edda;
            color: #155724;
        }
        .product-stock-badge.out-of-stock {
            background: #f8d7da;
            color: #721c24;
        }
        body.ltr .product-stock-badge {
            left: auto;
            right: 8px;
        }
        .product-low-stock-badge {
            position: absolute;
            bottom: 8px;
            right: 8px;
            padding: 2px 7px;
            border-radius: 10px;
            font-size: 0.62rem;
            font-weight: 700;
            z-index: 2;
            background: linear-gradient(135deg, #ff6b00, #ffb347);
            color: white;
            box-shadow: 0 2px 6px rgba(255, 107, 0, 0.35);
            animation: lowStockPulse 1.5s ease-in-out infinite;
            max-width: 52%;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            line-height: 1.2;
            display: inline-flex;
            align-items: center;
            gap: 2px;
        }
        body.ltr .product-low-stock-badge {
            right: auto;
            left: 8px;
        }
        @keyframes lowStockPulse {
            0%,
            100% {
                opacity: 1;
            }
            50% {
                opacity: 0.7;
            }
        }
        .product-info {
            padding: 16px;
            text-align: center;
        }
        .product-title {
            color: var(--dark);
            font-size: 1rem;
            margin-bottom: 6px;
            font-weight: 700;
            line-height: 1.4;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .product-sku {
            color: var(--grey);
            font-size: 0.75rem;
            margin-bottom: 4px;
        }
        .product-price {
            color: var(--primary);
            font-weight: 700;
            font-size: 1.2rem;
            margin-bottom: 10px;
        }
        .product-price .currency {
            font-size: 0.78rem;
            font-weight: 500;
            color: var(--grey);
        }
        .add-to-cart-btn {
            background: linear-gradient(135deg, #ff6d1e 0%, #ff8c3a 100%);
            color: white;
            border: none;
            padding: 9px 22px;
            border-radius: 22px;
            font-weight: 600;
            cursor: pointer;
            font-size: 0.88rem;
            transition: all 0.3s ease;
            box-shadow: var(--shadow-sm);
            display: inline-flex;
            align-items: center;
            gap: 6px;
        }
        .add-to-cart-btn:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-md);
        }
        .add-to-cart-btn:disabled {
            background: #ccc;
            cursor: not-allowed;
            box-shadow: none;
        }
        .add-to-cart-btn:disabled:hover {
            transform: none;
        }
        .new-badge,
        .best-badge {
            position: absolute;
            top: 10px;
            right: 10px;
            padding: 5px 12px;
            border-radius: 16px;
            font-size: 0.7rem;
            font-weight: 700;
            z-index: 5;
            box-shadow: var(--shadow-md);
            color: white;
        }
        .new-badge {
            background: linear-gradient(135deg, #ff6b81 0%, #fe5f00 100%);
        }
        .best-badge {
            background: var(--gradient-gold);
        }
        body.ltr .new-badge,
        body.ltr .best-badge {
            right: auto;
            left: 10px;
        }
        .skeleton-card {
            background: white;
            border-radius: 18px;
            overflow: hidden;
            box-shadow: var(--shadow-md);
        }
        .skeleton-image {
            width: 100%;
            height: 200px;
            background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
            background-size: 200% 100%;
            animation: shimmer 1.5s infinite;
        }
        .skeleton-body {
            padding: 16px;
        }
        .skeleton-line {
            height: 14px;
            background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
            background-size: 200% 100%;
            animation: shimmer 1.5s infinite;
            border-radius: 6px;
            margin-bottom: 8px;
        }
        .skeleton-line.short {
            width: 60%;
        }
        .skeleton-line.medium {
            width: 80%;
        }
        @keyframes shimmer {
            0% {
                background-position: -200% 0;
            }
            100% {
                background-position: 200% 0;
            }
        }
        .bottom-nav {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: white;
            display: flex;
            align-items: center;
            justify-content: space-around;
            padding: 6px 4px;
            box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.15);
            z-index: 990;
            border-top: 2px solid #eee;
            height: var(--bottom-nav-height);
            gap: 2px;
        }
        .bottom-nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 3px;
            cursor: pointer;
            padding: 6px 8px;
            border-radius: 12px;
            transition: all 0.3s ease;
            color: #888;
            text-decoration: none;
            flex: 1;
            min-width: 0;
            position: relative;
        }
        .bottom-nav-item i {
            font-size: 1.2rem;
            transition: all 0.3s ease;
        }
        .bottom-nav-item span {
            font-size: 0.65rem;
            font-weight: 600;
            white-space: nowrap;
        }
        .bottom-nav-item.active {
            color: var(--primary);
            background: #fef5f0;
        }
        .bottom-nav-item:hover {
            color: var(--primary);
        }
        .bottom-nav-item .nav-badge {
            position: absolute;
            top: 2px;
            right: 6px;
            background: var(--gradient-primary);
            color: white;
            width: 17px;
            height: 17px;
            border-radius: 50%;
            font-size: 0.6rem;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        body.ltr .bottom-nav-item .nav-badge {
            right: auto;
            left: 6px;
        }
        .nav-badge:empty,
        .nav-badge[data-count="0"] {
            display: none;
        }
        .cart-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 1005;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            backdrop-filter: blur(4px);
        }
        .cart-overlay.active {
            opacity: 1;
            visibility: visible;
        }
        .cart-sidebar {
            position: fixed;
            top: 0;
            left: 0;
            width: var(--sidebar-width);
            max-width: 90vw;
            height: 100vh;
            height: 100dvh;
            background: var(--white);
            z-index: 1006;
            box-shadow: var(--shadow-xl);
            transform: translateX(-105%);
            transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex;
            flex-direction: column;
            border-radius: 0 20px 20px 0;
            overflow-y: auto !important;
            overflow-x: hidden !important;
            -webkit-overflow-scrolling: touch;
            overscroll-behavior: contain;
        }
        .cart-sidebar.active {
            transform: translateX(0);
        }
        body.ltr .cart-sidebar {
            left: auto;
            right: 0;
            transform: translateX(105%);
            border-radius: 20px 0 0 20px;
        }
        body.ltr .cart-sidebar.active {
            transform: translateX(0);
        }
        .cart-sidebar-header {
            position: sticky;
            top: 0;
            z-index: 30;
            flex-shrink: 0;
            padding: 16px 20px;
            border-bottom: 1px solid #eee;
            display: flex;
            align-items: center;
            justify-content: space-between;
            background: var(--gradient-primary);
            color: white;
            border-radius: 0 20px 0 0;
        }
        body.ltr .cart-sidebar-header {
            border-radius: 20px 0 0 0;
        }
        .cart-sidebar-header h3 {
            font-size: 1.1rem;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .cart-close-btn {
            width: 34px;
            height: 34px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.2);
            border: none;
            color: white;
            font-size: 1rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }
        .cart-close-btn:hover {
            background: rgba(255, 255, 255, 0.4);
            transform: rotate(90deg);
        }
        .cart-items-list {
            flex-shrink: 0;
            padding: 12px 16px;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }
        .cart-empty {
            text-align: center;
            padding: 50px 16px;
            color: var(--grey);
        }
        .cart-empty i {
            font-size: 3rem;
            margin-bottom: 16px;
            display: block;
            color: #ddd;
        }
        .cart-item {
            display: flex;
            gap: 12px;
            padding: 12px;
            background: #f9f9f9;
            border-radius: 12px;
            align-items: center;
            transition: all 0.3s ease;
        }
        .cart-item-image {
            width: 55px;
            height: 55px;
            border-radius: 10px;
            object-fit: cover;
            flex-shrink: 0;
            box-shadow: var(--shadow-sm);
        }
        .cart-item-info {
            flex: 1;
            min-width: 0;
        }
        .cart-item-title {
            font-weight: 700;
            font-size: 0.85rem;
            margin-bottom: 3px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            color: var(--dark);
        }
        .cart-item-price {
            color: var(--primary);
            font-weight: 700;
            font-size: 0.82rem;
        }
        .cart-item-quantity {
            display: flex;
            align-items: center;
            gap: 6px;
            margin-top: 4px;
            color: var(--grey);
        }
        .cart-item-quantity button {
            width: 24px;
            height: 24px;
            border-radius: 5px;
            border: 1px solid #ccc;
            background: #eee;
            color: var(--dark);
            font-weight: 700;
            cursor: pointer;
            transition: all 0.2s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.85rem;
        }
        .cart-item-quantity button:hover {
            background: #ddd;
        }
        .cart-item-remove {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: #ffe0e0;
            border: none;
            color: #fe5f00;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            flex-shrink: 0;
            font-size: 0.75rem;
        }
        .cart-item-remove:hover {
            background: #ff9f43;
            color: white;
        }
        .cart-footer {
            flex-shrink: 0;
            padding: 16px 20px 50px;
            border-top: 2px solid #eee;
            background: #fafafa;
            border-radius: 0 0 20px 0;
        }
        body.ltr .cart-footer {
            border-radius: 0 0 0 20px;
        }
        .cart-delivery-options {
            display: flex;
            gap: 8px;
            margin-bottom: 10px;
            flex-wrap: wrap;
        }
        .cart-delivery-option {
            flex: 1;
            min-width: 100px;
            padding: 10px 12px;
            border-radius: 10px;
            border: 2px solid #ddd;
            background: white;
            cursor: pointer;
            font-weight: 600;
            font-size: 0.78rem;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 6px;
            justify-content: center;
            text-align: center;
            color: var(--dark);
            user-select: none;
        }
        .cart-delivery-option.selected {
            border-color: var(--primary);
            background: #fef5f0;
            color: var(--primary);
        }
        .cart-address-input-wrapper {
            margin-bottom: 10px;
            display: none;
        }
        .cart-address-input-wrapper.visible {
            display: block;
        }
        .cart-address-input {
            width: 100%;
            padding: 10px 12px;
            border-radius: 10px;
            border: 2px solid #ddd;
            font-size: 0.82rem;
            font-family: inherit;
            resize: vertical;
            min-height: 50px;
            transition: all 0.3s ease;
            background: white;
            color: var(--dark);
        }
        .cart-address-input:focus {
            border-color: var(--primary);
            outline: none;
        }
        .cart-branch-info {
            margin-bottom: 10px;
            padding: 8px 12px;
            background: #fff8f5;
            border-radius: 10px;
            border: 1.5px solid #ffd6b0;
            display: none;
        }
        .cart-branch-info.visible {
            display: block;
        }
        .cart-branch-info a {
            color: var(--primary);
            font-weight: 700;
            font-size: 0.8rem;
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 5px;
        }
        .cart-payment-section {
            margin-bottom: 10px;
            display: none;
        }
        .cart-payment-section.visible {
            display: block;
        }
        .cart-payment-label {
            font-weight: 700;
            font-size: 0.8rem;
            color: var(--dark);
            margin-bottom: 6px;
        }
        .cart-payment-options {
            display: flex;
            gap: 6px;
            flex-wrap: wrap;
        }
        .cart-payment-option {
            padding: 7px 12px;
            border-radius: 8px;
            border: 2px solid #ddd;
            background: white;
            cursor: pointer;
            font-weight: 600;
            font-size: 0.75rem;
            transition: all 0.25s ease;
            color: var(--dark);
            user-select: none;
            display: flex;
            align-items: center;
            gap: 5px;
        }
        .cart-payment-option.selected {
            border-color: var(--primary);
            background: #fef5f0;
            color: var(--primary);
        }
        .cart-total {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 12px;
            font-weight: 700;
            font-size: 1rem;
        }
        .cart-total-price {
            color: var(--primary);
            font-size: 1.2rem;
        }
        .cart-checkout-btn {
            width: 100%;
            padding: 13px;
            background: var(--gradient-primary);
            color: white;
            border: none;
            border-radius: 10px;
            font-size: 0.95rem;
            font-weight: 700;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            transition: all 0.3s ease;
            box-shadow: var(--shadow-md);
        }
        .cart-checkout-btn:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-lg);
        }
        .product-modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(6px);
            z-index: 1100;
            display: none;
            align-items: center;
            justify-content: center;
            padding: 20px;
            animation: fadeIn 0.3s ease;
        }
        .product-modal-overlay.active {
            display: flex;
        }
        .product-modal {
            background: white;
            border-radius: 22px;
            max-width: 520px;
            width: 100%;
            max-height: 90vh;
            overflow-y: auto;
            box-shadow: var(--shadow-xl);
            animation: modalAppear 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
        }
        @keyframes modalAppear {
            from {
                opacity: 0;
                transform: scale(0.8) translateY(40px);
            }
            to {
                opacity: 1;
                transform: scale(1) translateY(0);
            }
        }
        .modal-close-btn {
            position: absolute;
            top: 12px;
            right: 12px;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: rgba(0, 0, 0, 0.6);
            border: none;
            color: white;
            font-size: 1rem;
            cursor: pointer;
            z-index: 10;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }
        body.ltr .modal-close-btn {
            right: auto;
            left: 12px;
        }
        .modal-close-btn:hover {
            background: var(--primary);
            transform: rotate(90deg);
        }
        .modal-product-image-wrapper {
            width: 100%;
            max-height: 400px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #f5f5f5;
            border-radius: 22px 22px 0 0;
            overflow: hidden;
            min-height: 180px;
        }
        .modal-product-image {
            width: 100%;
            height: auto;
            max-height: 400px;
            object-fit: contain;
            display: block;
        }
        .modal-product-body {
            padding: 20px;
        }
        .modal-product-sku {
            color: var(--grey);
            font-size: 0.78rem;
            margin-bottom: 4px;
        }
        .modal-product-title {
            font-size: 1.3rem;
            font-weight: 700;
            margin-bottom: 8px;
            color: var(--dark);
        }
        .modal-product-description {
            color: #555;
            line-height: 1.6;
            margin-bottom: 12px;
            font-size: 0.9rem;
        }
        .modal-product-meta {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            margin-bottom: 12px;
        }
        .modal-meta-item {
            background: #f5f5f5;
            padding: 7px 13px;
            border-radius: 16px;
            font-size: 0.78rem;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 5px;
        }
        .modal-low-stock-alert {
            background: linear-gradient(135deg, #fff3e0, #ffe0b2);
            border: 2px solid #ff9800;
            border-radius: 10px;
            padding: 8px 14px;
            margin-bottom: 12px;
            display: none;
            align-items: center;
            gap: 8px;
            font-weight: 700;
            font-size: 0.85rem;
            color: #e65100;
            animation: lowStockPulse 1.5s ease-in-out infinite;
        }
        .modal-low-stock-alert.visible {
            display: flex;
        }
        .modal-product-price {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--primary);
            margin-bottom: 16px;
        }
        .modal-add-to-cart-btn {
            width: 100%;
            padding: 13px;
            background: var(--gradient-primary);
            color: white;
            border: none;
            border-radius: 12px;
            font-size: 1rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: var(--shadow-md);
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }
        .modal-add-to-cart-btn:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-lg);
        }
        .modal-add-to-cart-btn:disabled {
            background: #ccc;
            cursor: not-allowed;
        }
        .modal-share-section {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-top: 12px;
            padding-top: 12px;
            border-top: 1px solid #eee;
            flex-wrap: wrap;
        }
        .modal-share-label {
            font-size: 0.8rem;
            color: var(--grey);
            font-weight: 600;
            flex-shrink: 0;
        }
        .modal-share-icons {
            display: flex;
            gap: 6px;
            flex-wrap: wrap;
        }
        .modal-share-icon {
            width: 32px;
            height: 32px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 0.9rem;
            cursor: pointer;
            transition: all 0.3s ease;
            border: none;
            flex-shrink: 0;
        }
        .modal-share-icon:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-md);
        }
        .modal-share-icon.whatsapp {
            background: #25D366;
        }
        .modal-share-icon.facebook {
            background: #1877F2;
        }
        .modal-share-icon.copy-link {
            background: #6c757d;
        }
        .modal-share-icon.twitter {
            background: #1DA1F2;
        }
        .product-popup-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.45);
            z-index: 1050;
            display: none;
            align-items: center;
            justify-content: center;
            animation: fadeIn 0.35s ease;
        }
        .product-popup-overlay.active {
            display: flex;
        }
        .product-popup-card {
            background: white;
            border-radius: 20px;
            width: 92%;
            max-width: 360px;
            box-shadow: var(--shadow-xl);
            position: relative;
            animation: popupBounceIn 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
            overflow: hidden;
        }
        @keyframes popupBounceIn {
            0% {
                opacity: 0;
                transform: scale(0.7) translateY(60px);
            }
            60% {
                transform: scale(1.04) translateY(-5px);
            }
            100% {
                opacity: 1;
                transform: scale(1) translateY(0);
            }
        }
        .product-popup-close {
            position: absolute;
            top: 8px;
            right: 8px;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            background: rgba(0, 0, 0, 0.55);
            border: none;
            color: white;
            font-size: 0.9rem;
            cursor: pointer;
            z-index: 5;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
        }
        .product-popup-close:hover {
            background: #fe5f00;
            transform: rotate(90deg);
        }
        .product-popup-image {
            width: 100%;
            height: 180px;
            object-fit: cover;
            display: block;
        }
        .product-popup-body {
            padding: 16px 18px;
            text-align: center;
        }
        .product-popup-title {
            font-weight: 700;
            font-size: 1rem;
            margin-bottom: 5px;
            color: var(--dark);
        }
        .product-popup-price {
            color: var(--primary);
            font-weight: 700;
            font-size: 1.1rem;
            margin-bottom: 10px;
        }
        .product-popup-link {
            display: inline-block;
            background: var(--gradient-primary);
            color: white;
            padding: 9px 22px;
            border-radius: 22px;
            text-decoration: none;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            border: none;
            font-size: 0.88rem;
        }
        .product-popup-link:hover {
            transform: translateY(-3px);
            box-shadow: var(--shadow-md);
        }
        .toast {
            position: fixed;
            bottom: 175px;
            left: 50%;
            cursor: pointer;
            transform: translateX(-50%) translateY(120px);
            background: var(--dark);
            color: white;
            padding: 12px 24px;
            border-radius: 12px;
            font-weight: 600;
            z-index: 2000;
            box-shadow: var(--shadow-xl);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex;
            align-items: center;
            gap: 8px;
            white-space: nowrap;
            font-size: 0.9rem;
            opacity: 0;
            visibility: hidden;
            pointer-events: none;
        }
        .toast.show {
            transform: translateX(-50%) translateY(0);
            opacity: 1;
            visibility: visible;
            pointer-events: auto;
        }
        .whatsapp-float {
            position: fixed;
            bottom: 85px;
            left: 25px;
            width: 55px;
            height: 55px;
            background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: var(--shadow-xl);
            z-index: 987;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            border: 3px solid white;
            animation: whatsappPulse 2.5s ease-in-out infinite;
        }
        body.ltr .whatsapp-float {
            left: auto;
            right: 25px;
        }
        @keyframes whatsappPulse {
            0%,
            100% {
                box-shadow: var(--shadow-xl);
            }
            50% {
                box-shadow: 0 15px 40px rgba(37, 211, 102, 0.6), 0 0 30px rgba(37, 211, 102, 0.3);
            }
        }
        .whatsapp-float:hover {
            transform: scale(1.12) rotate(12deg);
            animation: none;
        }
        .whatsapp-float i {
            color: white;
            font-size: 28px;
        }
        .flying-product {
            position: fixed;
            z-index: 2000;
            pointer-events: none;
            transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            border-radius: 10px;
            box-shadow: var(--shadow-xl);
            object-fit: cover;
        }
        .social-sidebar {
            position: fixed;
            right: 16px;
            top: 50%;
            transform: translateY(-50%);
            background: var(--glass-dark);
            backdrop-filter: blur(20px);
            border-radius: 18px;
            padding: 12px 8px;
            display: flex;
            flex-direction: column;
            gap: 12px;
            z-index: 988;
            box-shadow: var(--shadow-xl);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        body.ltr .social-sidebar {
            left: 16px;
            right: auto;
        }
        .social-icon {
            width: 38px;
            height: 38px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: var(--shadow-sm);
        }
        .social-icon:hover {
            transform: translateY(-4px) scale(1.08);
            box-shadow: var(--shadow-md);
        }
        .social-icon.facebook {
            background: linear-gradient(135deg, #1877F2 0%, #0d5cb6 100%);
        }
        .social-icon.instagram {
            background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D);
        }
        .social-icon.twitter {
            background: linear-gradient(135deg, #1DA1F2 0%, #0d8bd9 100%);
        }
        .social-icon.tiktok {
            background: linear-gradient(135deg, #000000 0%, #333333 100%);
        }
        .social-icon.snapchat {
            background: linear-gradient(135deg, #FFFC00 0%, #FFD700 100%);
            color: #000;
        }
        footer {
            background: var(--gradient-dark);
            color: white;
            text-align: center;
            padding: 24px 16px;
            margin-top: 40px;
            width: 100%;
            border-top: 3px solid var(--primary);
            margin-bottom: var(--bottom-nav-height);
        }
        .footer-links {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 16px;
            flex-wrap: wrap;
        }
        .footer-links a {
            color: rgba(255, 255, 255, 0.8);
            text-decoration: none;
            transition: all 0.3s ease;
            font-size: 0.82rem;
            padding: 7px 14px;
            border-radius: 8px;
            background: rgba(255, 255, 255, 0.1);
        }
        .footer-links a:hover {
            color: white;
            background: rgba(255, 255, 255, 0.2);
            transform: translateY(-2px);
        }
        .footer-visit-branch {
            color: #ff9a60;
            font-weight: 600;
            font-size: 0.88rem;
            margin-top: 6px;
        }
        .footer-legal {
            color: rgba(255, 255, 255, 0.5);
            font-size: 0.72rem;
            margin-top: 12px;
            line-height: 1.8;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 12px;
        }
        .footer-social-mobile {
            display: none;
            justify-content: center;
            gap: 12px;
            margin-top: 16px;
            flex-wrap: wrap;
        }
        .share-button {
            background: var(--gradient-primary);
            color: white;
            border: none;
            padding: 8px 16px;
            border-radius: 10px;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 6px;
            box-shadow: var(--shadow-md);
            transition: all 0.3s ease;
            font-size: 0.85rem;
            white-space: nowrap;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        .share-button:hover {
            transform: translateY(-2px);
            box-shadow: var(--shadow-lg);
        }
        .social-sharing {
            display: none;
            justify-content: center;
            gap: 12px;
            margin: 20px 0;
            flex-wrap: wrap;
            width: 100%;
            animation: fadeIn 0.5s ease;
        }
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        .social-share-button {
            width: 48px;
            height: 48px;
            border-radius: 13px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.2rem;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: var(--shadow-md);
        }
        .social-share-button:hover {
            transform: translateY(-4px) scale(1.08);
            box-shadow: var(--shadow-lg);
        }
        .social-share-button.whatsapp {
            background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
        }
        .social-share-button.facebook {
            background: linear-gradient(135deg, #1877F2 0%, #0d5cb6 100%);
        }
        .social-share-button.copy {
            background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
        }
        .copy-link-container {
            display: flex;
            gap: 8px;
            align-items: center;
            background: var(--glass);
            backdrop-filter: blur(10px);
            padding: 10px 16px;
            border-radius: 12px;
            box-shadow: var(--shadow-md);
            margin-top: 12px;
            max-width: 460px;
            width: 100%;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        .copy-link-input {
            flex: 1;
            border: none;
            padding: 8px;
            font-size: 0.82rem;
            outline: none;
            background: transparent;
            color: var(--dark);
        }
        .copy-link-button {
            background: var(--gradient-primary);
            color: white;
            border: none;
            padding: 7px 16px;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
            transition: all 0.3s;
            white-space: nowrap;
            font-size: 0.8rem;
        }
        .copy-success {
            color: var(--success);
            font-weight: bold;
            font-size: 0.8rem;
            display: none;
        }
        .search-results-info {
            text-align: center;
            color: var(--grey);
            font-size: 0.85rem;
            margin: -4px 0 10px;
            display: none;
        }
        .search-results-info.visible {
            display: block;
        }
        @media(max-width:992px) {
            .social-sidebar {
                display: none !important;
            }
            .footer-social-mobile {
                display: flex;
            }
            .cart-sidebar {
                --sidebar-width: 340px;
            }
            .poster-slider-wrapper {
                max-height: 250px;
            }
            .bottom-nav {
                display: flex;
            }
            body {
                padding-bottom: calc(var(--bottom-nav-height) + 20px);
            }
            footer {
                margin-bottom: var(--bottom-nav-height);
            }
            .whatsapp-float {
                bottom: calc(var(--bottom-nav-height) + 20px);
            }
            .header-text h1 {
                font-size: 1rem;
            }
            .products-grid {
                grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
                gap: 14px;
            }
            .new-arrivals-grid,
            .best-seller-grid,
            .discount-grid {
                grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
                gap: 14px;
            }
        }
        @media(max-width:768px) {
            .container {
                padding: 8px 10px;
            }
            header {
                padding: 10px 12px;
                gap: 8px;
                flex-wrap: nowrap;
            }
            .logo-container {
                gap: 6px;
            }
            .logo {
                height: 38px;
                width: 38px;
                border-radius: 10px;
            }
            .header-text h1 {
                font-size: 0.85rem;
            }
            .header-text p {
                font-size: 0.7rem;
            }
            .header-actions {
                gap: 6px;
            }
            .icon-btn {
                width: 34px;
                height: 34px;
                border-radius: 9px;
                font-size: 0.85rem;
            }
            .hamburger-btn {
                width: 34px;
                height: 34px;
                border-radius: 9px;
                padding: 7px;
                gap: 2px;
            }
            .hamburger-btn .bar {
                width: 15px;
                height: 1.8px;
            }
            .share-button {
                padding: 6px 10px;
                font-size: 0.72rem;
                border-radius: 8px;
            }
            .products-grid {
                grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
                gap: 10px;
            }
            .new-arrivals-grid,
            .best-seller-grid,
            .discount-grid {
                grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
                gap: 10px;
            }
            .product-image-wrapper {
                height: 150px;
            }
            .product-info {
                padding: 10px;
            }
            .product-title {
                font-size: 0.82rem;
            }
            .product-price {
                font-size: 1rem;
            }
            .add-to-cart-btn {
                padding: 7px 14px;
                font-size: 0.75rem;
            }
            .cart-sidebar {
                --sidebar-width: 300px;
                max-width: 88vw;
            }
            .poster-slider-wrapper {
                aspect-ratio: 16/9;
                max-height: 190px;
                border-radius: 10px;
            }
            .section-title {
                font-size: 1.1rem;
            }
            .countdown-value {
                font-size: 1.3rem;
            }
            .countdown-item {
                min-width: 48px;
                padding: 8px 10px;
            }
            .section-divider-img {
                max-height: 140px;
                border-radius: 10px;
            }
            .filter-bar {
                padding: 8px 10px;
                gap: 6px;
            }
            .filter-bar select {
                font-size: 0.78rem;
                padding: 6px 10px;
            }
            .bottom-nav {
                padding: 4px 2px;
                height: 56px;
            }
            .bottom-nav-item i {
                font-size: 1rem;
            }
            .bottom-nav-item span {
                font-size: 0.58rem;
            }
        }
        @media(max-width:480px) {
            .products-grid {
                grid-template-columns: 1fr 1fr;
                gap: 8px;
            }
            .new-arrivals-grid,
            .best-seller-grid,
            .discount-grid {
                grid-template-columns: 1fr 1fr;
                gap: 8px;
            }
            .product-image-wrapper {
                height: 130px;
            }
            .product-info {
                padding: 8px;
            }
            .product-title {
                font-size: 0.75rem;
            }
            .product-price {
                font-size: 0.9rem;
            }
            .add-to-cart-btn {
                padding: 6px 12px;
                font-size: 0.7rem;
            }
            .cart-sidebar {
                --sidebar-width: 260px;
                max-width: 85vw;
            }
            .poster-slider-wrapper {
                max-height: 150px;
            }
            .header-text h1 {
                font-size: 0.75rem;
            }
            .logo {
                height: 32px;
                width: 32px;
            }
            .icon-btn {
                width: 30px;
                height: 30px;
            }
            .hamburger-btn {
                width: 30px;
                height: 30px;
                padding: 6px;
            }
            .hamburger-btn .bar {
                width: 13px;
                height: 1.6px;
            }
            .search-container {
                height: 36px;
            }
            .search-input {
                font-size: 0.78rem;
            }
            .countdown-item {
                min-width: 40px;
                padding: 6px 8px;
            }
            .countdown-value {
                font-size: 1.1rem;
            }
            .section-divider-img {
                max-height: 110px;
            }
            .bottom-nav {
                height: 50px;
            }
            body {
                padding-bottom: calc(50px + 16px);
            }
        }
        @media(min-width:993px) {
            .bottom-nav {
                display: none;
            }
            body {
                padding-bottom: 20px;
            }
            footer {
                margin-bottom: 0;
            }
            .whatsapp-float {
                bottom: 30px;
            }
        }

/* =========================================================
   FIXED PRODUCT GRID LAYOUT (4 per row Desktop, 2 Mobile)
   ========================================================= */
.products-container,
.products-grid,
.new-arrivals-grid,
.best-seller-grid,
.discount-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 18px !important;
    width: 100% !important;
    align-items: stretch !important;
}

@media (max-width: 992px) {
    .products-container,
    .products-grid,
    .new-arrivals-grid,
    .best-seller-grid,
    .discount-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 14px !important;
    }
}

@media (max-width: 768px) {
    .products-container,
    .products-grid,
    .new-arrivals-grid,
    .best-seller-grid,
    .discount-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
}

@media (max-width: 480px) {
    .products-container,
    .products-grid,
    .new-arrivals-grid,
    .best-seller-grid,
    .discount-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }
}

/* Uniform Card & Image Heights */
.product-card,
.new-arrival-card,
.best-seller-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    overflow: hidden !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease !important;
    position: relative !important;
}

.product-card:hover,
.new-arrival-card:hover,
.best-seller-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 10px 25px rgba(254, 95, 0, 0.15) !important;
    border-color: var(--primary) !important;
}

.product-image-wrapper {
    position: relative !important;
    width: 100% !important;
    height: 190px !important;
    padding-top: 0 !important;
    background: #fdfdfd !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

@media (max-width: 768px) {
    .product-image-wrapper {
        height: 140px !important;
    }
}

@media (max-width: 480px) {
    .product-image-wrapper {
        height: 125px !important;
    }
}

.product-image {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    padding: 10px !important;
    transition: transform 0.4s ease !important;
}

.product-info {
    padding: 12px !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    justify-content: space-between !important;
    text-align: center !important;
}

@media (max-width: 768px) {
    .product-info {
        padding: 8px 6px 10px !important;
    }
}

/* =========================================================
   POPUP ANIMATIONS & UNIFIED CROSS (X) BUTTON FIXES
   ========================================================= */

/* All Cross Buttons Consistency */
.saudi-popup-close,
.modal-close-btn,
.product-popup-close,
.cart-close-btn {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: #f0f0f0 !important;
    border: 1.5px solid #ddd !important;
    color: #2f3542 !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    z-index: 30 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    line-height: 1 !important;
    font-family: Arial, sans-serif !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
    padding: 0 !important;
    outline: none !important;
}

.saudi-popup-close:hover,
.modal-close-btn:hover,
.product-popup-close:hover,
.cart-close-btn:hover {
    background: #fe5f00 !important;
    color: #ffffff !important;
    border-color: #fe5f00 !important;
    transform: rotate(90deg) scale(1.1) !important;
    box-shadow: 0 4px 14px rgba(254, 95, 0, 0.4) !important;
}

/* Celebration Popup Modal */
.saudi-popup-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 30, 15, 0.75) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    z-index: 2100 !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    padding: 16px !important;
    animation: saudiOverlayFade 0.35s ease !important;
}

.saudi-popup-overlay.active {
    display: flex !important;
}

@keyframes saudiOverlayFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.saudi-popup-card {
    background: #ffffff !important;
    border-radius: 24px !important;
    width: 92% !important;
    max-width: 440px !important;
    padding: 30px 24px 26px !important;
    text-align: center !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35), 0 0 30px rgba(0, 108, 53, 0.2) !important;
    position: relative !important;
    border: 3px solid #006c35 !important;
    animation: saudiBounceIn 0.5s cubic-bezier(0.22, 0.61, 0.36, 1) !important;
    overflow: hidden !important;
}

.saudi-popup-card::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 8px !important;
    background: linear-gradient(90deg, #006c35 0%, #ffd700 50%, #006c35 100%) !important;
}

@keyframes saudiBounceIn {
    0% {
        opacity: 0;
        transform: scale(0.6) translateY(50px);
    }
    70% {
        transform: scale(1.04) translateY(-4px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.saudi-popup-close {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
}

body.ltr .saudi-popup-close {
    right: auto !important;
    left: 14px !important;
}

.saudi-popup-flag {
    font-size: 3rem !important;
    line-height: 1 !important;
    margin-bottom: 8px !important;
    animation: flagWiggle 2s ease-in-out infinite !important;
}

@keyframes flagWiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-8deg) scale(1.05); }
    75% { transform: rotate(8deg) scale(1.05); }
}

.saudi-popup-badge {
    display: inline-block !important;
    background: #e8f5e9 !important;
    color: #006c35 !important;
    border: 1.5px solid #006c35 !important;
    padding: 6px 16px !important;
    border-radius: 20px !important;
    font-weight: 800 !important;
    font-size: 0.85rem !important;
    margin-bottom: 12px !important;
}

.saudi-popup-title {
    color: #004b23 !important;
    font-size: 1.3rem !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
    margin-bottom: 10px !important;
}

.saudi-popup-text {
    color: #4a5568 !important;
    font-size: 0.92rem !important;
    line-height: 1.6 !important;
    margin-bottom: 20px !important;
    font-weight: 500 !important;
}

.saudi-popup-btn {
    width: 100% !important;
    padding: 13px 24px !important;
    background: linear-gradient(135deg, #006c35 0%, #004b23 100%) !important;
    color: #ffffff !important;
    border: 2px solid #ffd700 !important;
    border-radius: 25px !important;
    font-size: 1rem !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 6px 20px rgba(0, 108, 53, 0.3) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
}

.saudi-popup-btn:hover {
    background: linear-gradient(135deg, #004b23 0%, #003619 100%) !important;
    color: #ffd700 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 25px rgba(0, 108, 53, 0.4) !important;
}

/* Centered Product Popup Modal */
.product-popup-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.55) !important;
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
    z-index: 2050 !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    padding: 16px !important;
    animation: popupOverlayFade 0.3s ease !important;
}

.product-popup-overlay.active {
    display: flex !important;
}

@keyframes popupOverlayFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

.product-popup-card {
    background: #ffffff !important;
    border-radius: 22px !important;
    width: 92% !important;
    max-width: 360px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3) !important;
    position: relative !important;
    animation: popupBounceIn 0.4s cubic-bezier(0.22, 0.61, 0.36, 1) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    border: 2px solid var(--primary) !important;
}

@keyframes popupBounceIn {
    0% {
        opacity: 0;
        transform: scale(0.7) translateY(40px);
    }
    70% {
        transform: scale(1.03) translateY(-4px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.product-popup-close {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1.5px solid #ddd !important;
    color: #333 !important;
    font-size: 1rem !important;
    cursor: pointer !important;
    z-index: 10 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
}

body.ltr .product-popup-close {
    right: auto !important;
    left: 12px !important;
}

.product-popup-close:hover {
    background: var(--primary) !important;
    color: #ffffff !important;
    border-color: var(--primary) !important;
    transform: rotate(90deg) scale(1.1) !important;
}

.product-popup-image {
    width: 100% !important;
    height: 190px !important;
    object-fit: contain !important;
    background: #f8f9fa !important;
    display: block !important;
    padding: 12px !important;
}

.product-popup-body {
    padding: 16px 20px 20px !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

.product-popup-title {
    font-weight: 700 !important;
    font-size: 1.05rem !important;
    line-height: 1.4 !important;
    margin-bottom: 6px !important;
    color: var(--dark) !important;
}

.product-popup-price {
    color: var(--primary) !important;
    font-weight: 800 !important;
    font-size: 1.25rem !important;
    margin-bottom: 14px !important;
}

.product-popup-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--gradient-primary) !important;
    color: white !important;
    padding: 11px 24px !important;
    border-radius: 25px !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    border: none !important;
    font-size: 0.92rem !important;
    width: 100% !important;
    box-shadow: 0 4px 15px rgba(254, 95, 0, 0.3) !important;
}

.product-popup-link:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(254, 95, 0, 0.4) !important;
}

/* Main Product Detail Modal Overlay */
.product-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.65) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    z-index: 2000 !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    padding: 16px !important;
}

.product-modal-overlay.active {
    display: flex !important;
}

.product-modal {
    background: white !important;
    border-radius: 24px !important;
    max-width: 520px !important;
    width: 95% !important;
    max-height: 90vh !important;
    overflow-y: auto !important;
    box-shadow: var(--shadow-xl) !important;
    animation: modalBounceIn 0.45s cubic-bezier(0.22, 0.61, 0.36, 1) !important;
    position: relative !important;
}

@keyframes modalBounceIn {
    0% {
        opacity: 0;
        transform: scale(0.75) translateY(40px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close-btn {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
}

body.ltr .modal-close-btn {
    right: auto !important;
    left: 14px !important;
}

/* =========================================================
   SAUDI NATIONAL DAY DISCOUNT PAGE STYLES (#pageView.saudi-theme)
   ========================================================= */
#pageView.saudi-theme {
    background: linear-gradient(180deg, #004b23 0%, #006c35 180px, #f4fdf6 400px) !important;
    border-radius: 24px !important;
    padding: 20px !important;
    box-shadow: 0 12px 35px rgba(0, 75, 35, 0.15) !important;
    position: relative !important;
    margin-top: 10px !important;
}

#pageView.saudi-theme #pageViewTitle {
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
    margin-bottom: 16px !important;
}

#pageView.saudi-theme #pageViewTitleText {
    color: #ffffff !important;
}

#pageView.saudi-theme #pageViewIcon {
    background: linear-gradient(135deg, #ffd700 0%, #006c35 100%) !important;
    color: #004b23 !important;
}

#pageView.saudi-theme .page-back-btn {
    background: #006c35 !important;
    color: #ffffff !important;
    border: 2px solid #ffd700 !important;
    box-shadow: 0 4px 14px rgba(0, 108, 53, 0.3) !important;
    padding: 9px 20px !important;
    font-size: 0.9rem !important;
    border-radius: 25px !important;
}

#pageView.saudi-theme .page-back-btn:hover {
    background: #004b23 !important;
    color: #ffd700 !important;
}

#pageView.saudi-theme .product-card {
    border: 1.5px solid #c8e6c9 !important;
    box-shadow: 0 4px 15px rgba(0, 108, 53, 0.08) !important;
}

#pageView.saudi-theme .product-card:hover {
    border-color: #006c35 !important;
    box-shadow: 0 10px 25px rgba(0, 108, 53, 0.2) !important;
}

#pageView.saudi-theme .product-card .add-to-cart-btn {
    background: linear-gradient(135deg, #006c35 0%, #004b23 100%) !important;
    color: #ffffff !important;
    border: 1.5px solid #ffd700 !important;
    box-shadow: 0 4px 12px rgba(0, 108, 53, 0.25) !important;
}

#pageView.saudi-theme .product-card .add-to-cart-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #004b23 0%, #003619 100%) !important;
    color: #ffd700 !important;
    transform: translateY(-2px) !important;
}

/* Green Framed Posters */
.saudi-poster-frame {
    border: 3.5px solid #006c35 !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 25px rgba(0, 108, 53, 0.2) !important;
    margin: 18px 0 !important;
    position: relative !important;
    background: #004b23 !important;
    transition: transform 0.3s ease !important;
}

.saudi-poster-frame:hover {
    transform: translateY(-3px) !important;
    border-color: #ffd700 !important;
}

.saudi-poster-frame img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    max-height: 280px !important;
    object-fit: cover !important;
}

.saudi-poster-badge-overlay {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    background: #006c35 !important;
    color: #ffd700 !important;
    border: 1.5px solid #ffd700 !important;
    padding: 5px 14px !important;
    border-radius: 14px !important;
    font-weight: 800 !important;
    font-size: 0.82rem !important;
}

/* Discount Sliders */
.saudi-slider-container {
    margin-bottom: 24px !important;
    background: #ffffff !important;
    border-radius: 18px !important;
    padding: 16px !important;
    border: 2px solid #006c35 !important;
    box-shadow: 0 6px 20px rgba(0, 108, 53, 0.12) !important;
}

.saudi-slider-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 14px !important;
    padding-bottom: 8px !important;
    border-bottom: 2px solid #e8f5e9 !important;
}

.saudi-slider-title {
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    color: #004b23 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.saudi-slider-nav {
    display: flex !important;
    gap: 8px !important;
}

.saudi-nav-btn {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    border: none !important;
    background: #006c35 !important;
    color: white !important;
    cursor: pointer !important;
    font-size: 1rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
}

.saudi-nav-btn:hover {
    background: #004b23 !important;
    color: #ffd700 !important;
    transform: scale(1.1) !important;
}

.saudi-slider-viewport {
    overflow-x: auto !important;
    scroll-behavior: smooth !important;
    width: 100% !important;
    position: relative !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.saudi-slider-viewport::-webkit-scrollbar {
    display: none !important;
}

.saudi-slider-track {
    display: flex !important;
    gap: 14px !important;
    padding: 4px 2px !important;
}

.saudi-slider-card {
    flex: 0 0 220px !important;
    min-width: 220px !important;
    background: #ffffff !important;
    border-radius: 14px !important;
    border: 1.5px solid #c8e6c9 !important;
    overflow: hidden !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06) !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
}

.saudi-slider-card:hover {
    transform: translateY(-4px) !important;
    border-color: #006c35 !important;
    box-shadow: 0 8px 20px rgba(0, 108, 53, 0.2) !important;
}

.saudi-slider-card-img-wrapper {
    position: relative !important;
    padding-top: 85% !important;
    overflow: hidden !important;
    background: #f8f9fa !important;
}

.saudi-slider-card-img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.saudi-slider-card-body {
    padding: 10px !important;
}

.saudi-slider-card-sku {
    font-size: 0.65rem !important;
    color: #888 !important;
    margin-bottom: 2px !important;
}

.saudi-slider-card-title {
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    color: #2f3542 !important;
    margin-bottom: 6px !important;
    height: 2.2em !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
}

.saudi-slider-card-price {
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    color: #006c35 !important;
    margin-bottom: 8px !important;
}

.saudi-slider-add-btn {
    width: 100% !important;
    padding: 6px !important;
    border-radius: 12px !important;
    background: #006c35 !important;
    color: white !important;
    border: none !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
}

.saudi-slider-add-btn:hover {
    background: #004b23 !important;
    color: #ffd700 !important;
}

/* 2 Premium Products Spotlight Section */
.saudi-spotlight-container {
    margin: 24px 0 !important;
    background: linear-gradient(135deg, #ffffff 0%, #f4fdf6 100%) !important;
    border: 3px solid #ffd700 !important;
    border-radius: 22px !important;
    padding: 20px !important;
    box-shadow: 0 10px 30px rgba(0, 108, 53, 0.25) !important;
    position: relative !important;
}

.saudi-spotlight-header {
    text-align: center !important;
    margin-bottom: 16px !important;
}

.saudi-spotlight-title {
    font-size: 1.3rem !important;
    font-weight: 800 !important;
    color: #004b23 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.saudi-spotlight-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
}

@media (max-width: 600px) {
    .saudi-spotlight-grid {
        grid-template-columns: 1fr !important;
    }
}

.saudi-spotlight-card {
    background: #ffffff !important;
    border-radius: 16px !important;
    border: 2px solid #006c35 !important;
    padding: 14px !important;
    display: flex !important;
    gap: 14px !important;
    align-items: center !important;
    box-shadow: 0 6px 18px rgba(0, 108, 53, 0.12) !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    position: relative !important;
}

.saudi-spotlight-card:hover {
    transform: translateY(-4px) !important;
    border-color: #ffd700 !important;
}

.saudi-spotlight-img {
    width: 100px !important;
    height: 100px !important;
    object-fit: contain !important;
    border-radius: 12px !important;
    flex-shrink: 0 !important;
}

.saudi-spotlight-badge {
    position: absolute !important;
    top: -10px !important;
    right: 12px !important;
    background: #ffd700 !important;
    color: #004b23 !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    padding: 3px 10px !important;
    border-radius: 10px !important;
}

.saudi-spotlight-info {
    flex: 1 !important;
    min-width: 0 !important;
}

.saudi-spotlight-card-title {
    font-size: 0.9rem !important;
    font-weight: 800 !important;
    color: #2f3542 !important;
    margin-bottom: 6px !important;
}

.saudi-spotlight-card-price {
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    color: #006c35 !important;
    margin-bottom: 8px !important;
}

/* Split Feature Banner Section */
.split-feature-section {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 20px !important;
    margin: 24px 0 !important;
    width: 100% !important;
}

@media (max-width: 768px) {
    .split-feature-section {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
}

.split-banner-box {
    position: relative !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: var(--shadow-lg) !important;
    background: linear-gradient(135deg, #004b23 0%, #006c35 100%) !important;
    min-height: 200px !important;
    display: flex !important;
    align-items: center !important;
    border: 2px solid #ffd700 !important;
}

.split-banner-box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    opacity: 0.35 !important;
}

.split-banner-content {
    position: relative !important;
    z-index: 2 !important;
    padding: 24px !important;
    color: #ffffff !important;
}

.split-banner-badge {
    background: #ffd700 !important;
    color: #004b23 !important;
    font-weight: 800 !important;
    font-size: 0.78rem !important;
    padding: 4px 12px !important;
    border-radius: 12px !important;
    display: inline-block !important;
    margin-bottom: 10px !important;
}

.split-banner-title {
    font-size: 1.3rem !important;
    font-weight: 800 !important;
    margin-bottom: 8px !important;
    line-height: 1.3 !important;
}

.split-products-box {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 14px !important;
}

@media (max-width: 480px) {
    .split-products-box {
        grid-template-columns: 1fr !important;
    }
}

/* =============================================================
   BISHA BRANCH PRE-BOOKING & SAUDI NATIONAL DAY THEME ADDITIONS
   ============================================================= */

/* Single-Piece Purchase Limit Badge on Product Card */
.product-limit-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: linear-gradient(135deg, #F4B400 0%, #D48800 100%);
    color: #122317;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(244, 180, 0, 0.4);
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    letter-spacing: -0.2px;
}

body.rtl .product-limit-badge {
    left: auto;
    right: 8px;
}

/* Cart Item Quantity Limit Styling */
.increment-btn.limit-reached,
.increment-btn:disabled {
    opacity: 0.3 !important;
    cursor: not-allowed !important;
    pointer-events: none;
    background: #ccc !important;
}

.cart-item-limit-notice {
    font-size: 0.7rem;
    color: #b45309;
    background: #fef3c7;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-block;
    margin-top: 4px;
    font-weight: 700;
}

/* Pre-Booking Customer Details Form inside Cart Sidebar */
.cart-customer-section {
    background: #f9fdfa;
    border: 1px solid #d1fae5;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 12px;
}

.cart-customer-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cart-customer-input {
    width: 100%;
    padding: 9px 12px;
    border: 1.5px solid #d1fae5;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 8px;
    background: #fff;
    color: var(--dark);
    outline: none;
    transition: border-color 0.2s;
}

.cart-customer-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 108, 53, 0.1);
}

.cart-ip-notice {
    font-size: 0.72rem;
    color: #047857;
    background: rgba(0, 108, 53, 0.08);
    padding: 6px 10px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
}

/* Grand Opening Ribbon Announcement */
.opening-announcement-bar {
    background: linear-gradient(135deg, #006C35 0%, #004b23 60%, #F4B400 100%);
    color: #ffffff;
    text-align: center;
    padding: 10px 14px;
    font-size: 0.88rem;
    font-weight: 700;
    border-radius: 14px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    border: 1px solid rgba(244, 180, 0, 0.4);
}

.opening-badge {
    background: #F4B400;
    color: #122317;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 20px;
    letter-spacing: 0.2px;
}

/* =============================================================
   OFFICIAL INVOICE MODAL (SAUDI NATIONAL DAY / GRAND OPENING SLIP)
   ============================================================= */
.invoice-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 24, 16, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.invoice-modal-overlay.active {
    display: flex;
    animation: invoiceFadeIn 0.3s ease;
}

@keyframes invoiceFadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

.invoice-card {
    background: #ffffff;
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    border-radius: 22px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    border: 2px solid #F4B400;
    display: flex;
    flex-direction: column;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.invoice-card::-webkit-scrollbar {
    width: 6px;
}

.invoice-card::-webkit-scrollbar-track {
    background: transparent;
}

.invoice-card::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.invoice-card::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.invoice-screenshot-tip {
    background: linear-gradient(135deg, #006C35, #004b23);
    color: #ffffff;
    padding: 12px 18px;
    border-radius: 14px;
    margin: 14px 14px 10px;
    font-size: 0.88rem;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(0, 108, 53, 0.25);
    border: 1.5px solid #F4B400;
    flex-shrink: 0;
}

.invoice-screenshot-tip i {
    color: #F4B400;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.invoice-header {
    background: linear-gradient(135deg, #006C35 0%, #004b23 100%);
    color: #ffffff;
    padding: 22px 20px 18px;
    text-align: center;
    position: relative;
    border-radius: 16px;
    margin: 0 14px;
}

.invoice-close-btn {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

body.rtl .invoice-close-btn {
    left: auto;
    right: 14px;
}

.invoice-close-btn:hover {
    background: rgba(255, 255, 255, 0.35);
}

.invoice-badge-top {
    display: inline-block;
    background: #F4B400;
    color: #122317;
    font-weight: 800;
    font-size: 0.78rem;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 8px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
}

.invoice-store-name {
    font-size: 1.35rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.invoice-order-pill {
    background: rgba(255, 255, 255, 0.15);
    border: 1px dashed rgba(244, 180, 0, 0.7);
    padding: 8px 16px;
    border-radius: 12px;
    display: inline-block;
    margin-top: 10px;
}

.invoice-order-num {
    font-size: 1.4rem;
    font-weight: 900;
    color: #F4B400;
    letter-spacing: 2px;
}

.invoice-body {
    padding: 18px 20px 22px;
    color: #1b281f;
}

.invoice-meta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    background: #f4fbf6;
    border: 1px solid #d1fae5;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 16px;
    font-size: 0.82rem;
}

.invoice-meta-item strong {
    display: block;
    color: #006C35;
    font-size: 0.75rem;
    margin-bottom: 2px;
}

.invoice-items-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
    font-size: 0.85rem;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.invoice-items-table th {
    background: #f1f8f4;
    color: #006C35;
    font-weight: 800;
    padding: 10px 12px;
    text-align: right;
    border-bottom: 2px solid #cbd5e1;
}

body.ltr .invoice-items-table th {
    text-align: left;
}

.invoice-items-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
}

.invoice-items-table tr:last-child td {
    border-bottom: none;
}

.invoice-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f4fbf6 0%, #e6f4ea 100%);
    border: 2px solid #006C35;
    border-radius: 14px;
    padding: 14px 18px;
    font-weight: 800;
    font-size: 1.15rem;
    color: #006C35;
    margin-bottom: 18px;
    box-shadow: 0 3px 10px rgba(0, 108, 53, 0.08);
}

.invoice-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-whatsapp-invoice {
    background: #25D366;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 13px 18px;
    font-size: 0.98rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
    transition: all 0.25s;
    text-decoration: none;
}

.btn-whatsapp-invoice:hover {
    background: #20ba5a;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(37, 211, 102, 0.45);
}

.btn-print-invoice {
    background: #f0f5f2;
    color: #006C35;
    border: 1.5px solid #006C35;
    border-radius: 12px;
    padding: 11px 18px;
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-print-invoice:hover {
    background: #e2ede5;
}

/* =============================================================
   IP ALREADY BOOKED ALERT MODAL
   ============================================================= */
.ip-blocked-card {
    background: #ffffff;
    border-radius: 20px;
    max-width: 460px;
    width: 100%;
    padding: 26px 22px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    border: 2px solid #F4B400;
    position: relative;
}

.ip-blocked-icon {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: rgba(244, 180, 0, 0.15);
    color: #b45309;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 16px;
    border: 2px solid #F4B400;
}

.ip-blocked-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
}

.ip-blocked-text {
    font-size: 0.88rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 16px;
}

.ip-existing-order-box {
    background: #f4fbf6;
    border: 1px dashed #006C35;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 18px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #006C35;
}

/* Multi-Page Clean PDF Export Mode */
.invoice-card.pdf-export-mode {
    background: #ffffff !important;
    color: #111827 !important;
    box-shadow: none !important;
    max-height: none !important;
    overflow: visible !important;
    border: 2px solid #006C35 !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 16px !important;
}

.invoice-card.pdf-export-mode * {
    color: #111827;
}

.invoice-card.pdf-export-mode .invoice-screenshot-tip,
.invoice-card.pdf-export-mode .invoice-whatsapp-mandatory-note,
.invoice-card.pdf-export-mode .invoice-actions,
.invoice-card.pdf-export-mode .invoice-close-btn {
    display: none !important;
}

.invoice-card.pdf-export-mode .invoice-items-table tr {
    page-break-inside: avoid !important;
    break-inside: avoid !important;
}

.invoice-card.pdf-export-mode .invoice-total-row,
.invoice-card.pdf-export-mode .invoice-branch-location {
    page-break-inside: avoid !important;
    break-inside: avoid !important;
}

/* Ultra-Compact 1-Page Clean Print & PDF CSS (Fits 20 Products on 1 Page) */
@media print {
    @page {
        size: A4 portrait;
        margin: 6mm 6mm 6mm 6mm !important;
    }
    html, body {
        background: #ffffff !important;
        color: #000000 !important;
        margin: 0 !important;
        padding: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
        font-size: 11px !important;
        display: block !important;
    }
    /* Hide EVERYTHING in body except the invoice modal */
    body > *:not(#invoiceModalOverlay) {
        display: none !important;
    }
    #invoiceModalOverlay,
    #invoiceModalOverlay.active,
    .invoice-modal-overlay,
    .invoice-modal-overlay.active {
        position: static !important;
        display: block !important;
        background: transparent !important;
        padding: 0 !important;
        margin: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        box-shadow: none !important;
        overflow: visible !important;
        top: auto !important;
        left: auto !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
    }
    .invoice-card {
        position: static !important;
        display: block !important;
        left: auto !important;
        top: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        box-shadow: none !important;
        border: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
        overflow-y: visible !important;
        background: #ffffff !important;
        page-break-inside: auto !important;
        break-inside: auto !important;
    }
    .invoice-header {
        padding: 10px 12px 8px !important;
    }
    .invoice-header h2 {
        font-size: 1.1rem !important;
    }
    .invoice-order-pill {
        padding: 2px 8px !important;
        margin-top: 4px !important;
    }
    .invoice-meta-grid {
        gap: 6px !important;
        padding: 6px 0 !important;
        font-size: 10.5px !important;
    }
    .invoice-items-table {
        display: table !important;
        width: 100% !important;
        border-collapse: collapse !important;
        page-break-inside: auto !important;
        font-size: 10.5px !important;
        margin: 4px 0 !important;
    }
    .invoice-items-table thead {
        display: table-header-group !important;
    }
    .invoice-items-table tbody {
        display: table-row-group !important;
        page-break-inside: auto !important;
    }
    .invoice-items-table tr {
        display: table-row !important;
        page-break-inside: avoid !important;
        break-inside: avoid !important;
        line-height: 1.2 !important;
    }
    .invoice-items-table th,
    .invoice-items-table td {
        display: table-cell !important;
        padding: 2px 5px !important;
    }
    .invoice-total-row {
        padding: 6px 10px !important;
        font-size: 0.95rem !important;
        margin-top: 4px !important;
        page-break-inside: avoid !important;
        break-inside: avoid !important;
    }
    .invoice-branch-location {
        padding: 4px 8px !important;
        font-size: 9.5px !important;
        margin: 4px 0 !important;
        page-break-inside: avoid !important;
        break-inside: avoid !important;
    }
    .invoice-branch-location a {
        display: none !important;
    }
    .invoice-screenshot-tip,
    .invoice-whatsapp-mandatory-note,
    .invoice-actions,
    .invoice-close-btn,
    .invoice-status-banner {
        display: none !important;
    }
}

@keyframes pulseWa {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }
    70% {
        box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Footer Admin Access Button */
.btn-footer-admin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #006C35 0%, #004d25 100%);
    color: #ffffff !important;
    border: 1.5px solid #F4B400;
    padding: 10px 22px;
    border-radius: 30px;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(0, 108, 53, 0.3), 0 0 10px rgba(244, 180, 0, 0.25);
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.btn-footer-admin:hover {
    background: linear-gradient(135deg, #008744 0%, #006C35 100%);
    border-color: #ffffff;
    box-shadow: 0 6px 20px rgba(0, 108, 53, 0.45), 0 0 15px rgba(244, 180, 0, 0.4);
    transform: translateY(-2px);
    color: #F4B400 !important;
}

.btn-footer-admin i {
    color: #F4B400;
}



/* --- Enhancements for Bisha Branch Store Updates --- */
.cart-delivery-option.disabled-option,
.cart-payment-option.disabled-option {
    opacity: 0.45 !important;
    cursor: not-allowed !important;
    background: rgba(0, 0, 0, 0.04) !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
    user-select: none !important;
    pointer-events: auto !important;
}

.cart-delivery-option.disabled-option:hover,
.cart-payment-option.disabled-option:hover {
    border-color: rgba(0, 0, 0, 0.1) !important;
    box-shadow: none !important;
}

.option-unavailable-badge {
    font-size: 0.65rem;
    font-weight: 700;
    background: #e2e8f0;
    color: #64748b;
    padding: 2px 6px;
    border-radius: 4px;
    margin-inline-start: auto;
}

.invoice-status-banner {
    transition: all 0.3s ease;
}

.invoice-status-banner.status-pending {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fcd34d;
}

.invoice-status-banner.status-processing {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #7dd3fc;
}

.invoice-status-banner.status-delivered {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.invoice-status-banner.status-cancelled {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Ensure category filter reliably overrides grid !important */
.category-filtered-hidden {
    display: none !important;
}

/* ==========================================================================
   CUSTOMER MY ORDERS DASHBOARD MODAL STYLING
   ========================================================================== */
.customer-orders-modal-card {
    max-width: 640px;
    width: 95%;
    max-height: 88vh;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1.5px solid rgba(0, 108, 53, 0.2);
    animation: modalScaleIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScaleIn {
    from { opacity: 0; transform: scale(0.94) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.customer-orders-header {
    background: linear-gradient(135deg, #006C35 0%, #004d25 100%);
    color: #ffffff;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.customer-orders-header-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #F4B400;
}

.btn-orders-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #ffffff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-orders-close:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: rotate(90deg);
}

.customer-orders-bar {
    background: #f8fafc;
    padding: 12px 20px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

.btn-cust-new-order {
    background: #006C35;
    color: #ffffff;
    border: none;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(0, 108, 53, 0.25);
    transition: all 0.2s ease;
}

.btn-cust-new-order:hover {
    background: #00562a;
    transform: translateY(-1px);
}

.btn-cust-logout {
    background: transparent;
    color: #dc2626;
    border: 1px solid #fca5a5;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-cust-logout:hover {
    background: #fee2e2;
}

.customer-orders-list {
    padding: 16px;
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: #f8fafc;
}

/* Individual Order Card */
.cust-order-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.2s ease;
}

.cust-order-card:hover {
    border-color: rgba(0, 108, 53, 0.4);
    box-shadow: 0 6px 18px rgba(0, 108, 53, 0.08);
}

.cust-order-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 10px;
}

.cust-order-num {
    font-size: 1.15rem;
    font-weight: 800;
    color: #006C35;
    font-family: monospace;
}

.cust-order-date {
    font-size: 0.78rem;
    color: #64748b;
}

.cust-status-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.cust-status-badge.pending {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fcd34d;
}

.cust-status-badge.processing {
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #7dd3fc;
}

.cust-status-badge.delivered {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.cust-status-badge.cancelled {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.cust-order-items-summary {
    font-size: 0.88rem;
    color: #334155;
    line-height: 1.5;
    background: #f8fafc;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px dashed #cbd5e1;
}

.cust-order-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 4px;
}

.cust-order-total {
    font-size: 1.1rem;
    font-weight: 800;
    color: #006C35;
}

.cust-order-actions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.btn-cust-action {
    border: none;
    padding: 7px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.15s ease;
}

.btn-cust-action.view-invoice {
    background: #006C35;
    color: #ffffff;
}

.btn-cust-action.view-invoice:hover {
    background: #00562a;
}

.btn-cust-action.edit-order {
    background: #f59e0b;
    color: #ffffff;
}

.btn-cust-action.edit-order:hover {
    background: #d97706;
}

.btn-cust-action.cancel-order {
    background: #ef4444;
    color: #ffffff;
}

.btn-cust-action.cancel-order:hover {
    background: #dc2626;
}

.btn-cust-action.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #94a3b8 !important;
    color: #ffffff !important;
}

/* Empty Orders State */
.cust-orders-empty {
    text-align: center;
    padding: 50px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.cust-orders-empty-icon {
    width: 70px;
    height: 70px;
    background: rgba(0, 108, 53, 0.1);
    color: #006C35;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

/* -------------------------------------------------------------
   Cart Branch Opening Attendance Requirement Box
   ------------------------------------------------------------- */
.cart-branch-opening-alert {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 2px solid #f59e0b;
    border-radius: 12px;
    padding: 12px 14px;
    margin: 14px 0 10px 0;
    box-shadow: 0 3px 12px rgba(245, 158, 11, 0.18);
    position: relative;
    overflow: hidden;
}

.cart-branch-opening-alert::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #d97706, #f59e0b, #d97706);
}

.opening-alert-header {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #b45309;
    font-size: 0.92rem;
    font-weight: 800;
    margin-bottom: 6px;
}

.opening-alert-header i {
    font-size: 1.15rem;
    color: #d97706;
}

.opening-alert-text {
    font-size: 0.84rem;
    color: #78350f;
    line-height: 1.45;
    font-weight: 600;
    margin-bottom: 10px;
}

.opening-alert-schedule {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.schedule-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1.5px solid #f59e0b;
    color: #92400e;
    font-size: 0.8rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

.schedule-pill i {
    color: #d97706;
}

/* Mobile Full-Height Smooth Scrolling for Cart Sidebar */
@media (max-width: 768px) {
    .cart-sidebar {
        width: 100vw !important;
        max-width: 100vw !important;
        border-radius: 0 !important;
        height: 100vh !important;
        height: 100dvh !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    .cart-sidebar-header {
        border-radius: 0 !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 50 !important;
    }
    .cart-footer {
        padding: 14px 16px 85px !important;
        border-radius: 0 !important;
    }
}

/* ==========================================================================
   Homepage Section "View More" (المزيد) & "Load More" (تحميل المزيد) Buttons
   ========================================================================== */
.section-view-more-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 14px 0 26px;
    width: 100%;
}

.btn-home-section-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 28px;
    background: #ffffff;
    color: var(--primary, #006C35);
    border: 2px solid var(--primary, #006C35);
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0, 108, 53, 0.12);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    text-decoration: none;
}

.btn-home-section-more:hover {
    background: var(--primary, #006C35);
    color: #ffffff;
    box-shadow: 0 6px 22px rgba(0, 108, 53, 0.3);
    transform: translateY(-2px);
}

.btn-home-section-more:active {
    transform: translateY(0);
}

.btn-home-section-more .section-more-arrow {
    transition: transform 0.25s ease;
    font-size: 0.9rem;
}

body.rtl .btn-home-section-more:hover .section-more-arrow {
    transform: translateX(-5px);
}

body.ltr .btn-home-section-more .section-more-arrow {
    transform: rotate(180deg);
}

body.ltr .btn-home-section-more:hover .section-more-arrow {
    transform: rotate(180deg) translateX(-5px);
}

/* Main Products "Load More" (تحميل المزيد) Button */
.load-more-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 24px 0 36px;
    width: 100%;
}

.btn-load-more-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 42px;
    background: linear-gradient(135deg, #006C35 0%, #004b23 100%);
    color: #ffffff;
    border: none;
    border-radius: 35px;
    font-size: 1.05rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 108, 53, 0.35);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

.btn-load-more-main:hover {
    background: linear-gradient(135deg, #008744 0%, #006C35 100%);
    box-shadow: 0 8px 28px rgba(0, 108, 53, 0.45);
    transform: translateY(-2px);
}

.btn-load-more-main:active {
    transform: translateY(0);
}

.btn-load-more-main i {
    font-size: 1rem;
    transition: transform 0.4s ease;
}

.btn-load-more-main:hover i {
    transform: rotate(180deg);
}

.btn-load-more-main:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ==========================================================================
   Language Toggle Button Redesign (Sleek Modern Pill)
   ========================================================================== */
.lang-toggle-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 6px 12px !important;
    height: 38px !important;
    border-radius: 20px !important;
    background: #ffffff !important;
    border: 1.5px solid #d97706 !important;
    color: #92400e !important;
    cursor: pointer !important;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.15) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    outline: none !important;
    font-family: 'Cairo', sans-serif !important;
    flex-shrink: 0 !important;
}

.lang-toggle-btn:hover {
    background: #fffbeb !important;
    border-color: #b45309 !important;
    color: #78350f !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25) !important;
}

.lang-toggle-btn i {
    font-size: 1rem !important;
    color: #d97706 !important;
}

.lang-pill-badge {
    font-size: 0.82rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    color: #92400e !important;
}

/* ==========================================================================
   Customer Drawer Profile Card (Inside Hamburger Menu)
   ========================================================================== */
.customer-drawer-card {
    background: linear-gradient(135deg, rgba(0, 108, 53, 0.08) 0%, rgba(244, 180, 0, 0.12) 100%);
    border: 1.5px solid rgba(0, 108, 53, 0.25);
    border-radius: 14px;
    padding: 14px;
    margin: 4px 0 12px;
    box-shadow: 0 3px 10px rgba(0, 108, 53, 0.08);
}

.drawer-profile-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.drawer-avatar-wrap {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #006C35;
    background: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.drawer-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.drawer-user-info {
    flex: 1;
    min-width: 0;
}

.drawer-user-name {
    font-weight: 800;
    font-size: 0.95rem;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.drawer-user-phone {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
    direction: ltr;
    text-align: right;
    margin-top: 2px;
}

body.ltr .drawer-user-phone {
    text-align: left;
}

.drawer-profile-actions {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed rgba(0, 108, 53, 0.2);
}

.btn-drawer-profile {
    flex: 2;
    background: #006C35;
    color: #ffffff;
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.82rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
    font-family: 'Cairo', sans-serif;
}

.btn-drawer-profile:hover {
    background: #008744;
}

.btn-drawer-logout {
    flex: 1;
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fca5a5;
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.82rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all 0.2s ease;
    font-family: 'Cairo', sans-serif;
}

.btn-drawer-logout:hover {
    background: #dc2626;
    color: #ffffff;
}

/* ==========================================================================
   Customer Authentication Modal (Login & Register)
   ========================================================================== */
.customer-auth-card {
    background: #ffffff;
    border-radius: 20px;
    width: 90%;
    max-width: 420px;
    padding: 24px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    font-family: 'Cairo', sans-serif;
    animation: authModalFadeUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes authModalFadeUp {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.auth-header {
    text-align: center;
    margin-bottom: 20px;
}

.auth-header-icon {
    width: 56px;
    height: 56px;
    background: rgba(0, 108, 53, 0.1);
    color: #006C35;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin: 0 auto 10px;
}

.auth-title {
    font-size: 1.25rem;
    font-weight: 900;
    color: #0f172a;
    margin: 0 0 4px;
}

.auth-subtitle {
    font-size: 0.82rem;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

.auth-form-group {
    margin-bottom: 14px;
}

.auth-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 5px;
}

.auth-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.auth-input {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-size: 0.92rem;
    font-family: 'Cairo', sans-serif;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.auth-input:focus {
    border-color: #006C35;
    box-shadow: 0 0 0 3px rgba(0, 108, 53, 0.12);
}

/* ==========================================================================
   COUNTRY CODE SELECTOR & SEARCHABLE DROPDOWN
   ========================================================================== */
.country-phone-input-group {
    position: relative;
    display: flex;
    align-items: center;
    border: 1.5px solid #cbd5e1;
    border-radius: 12px;
    background: #ffffff;
    transition: border-color 0.2s, box-shadow 0.2s;
    direction: ltr !important;
    box-sizing: border-box;
    width: 100%;
    z-index: 20;
}

.country-phone-input-group.dropdown-open {
    z-index: 99999 !important;
}

.country-phone-input-group:focus-within {
    border-color: #006C35 !important;
    box-shadow: 0 0 0 3px rgba(0, 108, 53, 0.14) !important;
}

.country-code-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 11px;
    background: #f8fafc;
    border: none;
    border-right: 1.5px solid #e2e8f0;
    border-radius: 10px 0 0 10px;
    cursor: pointer;
    font-family: 'Cairo', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    color: #1e293b;
    transition: background 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
    user-select: none;
    outline: none;
}

.country-code-btn * {
    pointer-events: none;
}

.country-code-btn:hover {
    background: #f1f5f9;
}

.country-flag {
    font-size: 1.25rem;
    line-height: 1;
    display: inline-block;
}

.country-dial {
    font-size: 0.88rem;
    font-weight: 800;
    color: #006C35;
    direction: ltr;
    letter-spacing: 0.3px;
}

.country-arrow {
    font-size: 0.65rem;
    color: #64748b;
    transition: transform 0.2s ease;
    margin-left: 2px;
}

.country-code-btn[aria-expanded="true"] .country-arrow {
    transform: rotate(180deg);
}

.country-phone-input {
    flex: 1;
    width: 100%;
    border: none !important;
    background: transparent !important;
    padding: 11px 12px !important;
    font-size: 0.96rem !important;
    font-family: 'Cairo', sans-serif !important;
    font-weight: 600 !important;
    color: #1e293b !important;
    outline: none !important;
    box-shadow: none !important;
    direction: ltr !important;
    text-align: left !important;
    letter-spacing: 0.5px;
    box-sizing: border-box;
}

.country-phone-input::placeholder {
    color: #94a3b8;
    opacity: 0.9;
    letter-spacing: 0.5px;
}

.country-dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 100%;
    min-width: 290px;
    max-width: 380px;
    background: #ffffff !important;
    border: 1.5px solid #cbd5e1;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28), 0 4px 14px rgba(0, 0, 0, 0.08);
    z-index: 9999999 !important;
    padding: 10px;
    font-family: 'Cairo', sans-serif;
    animation: dropdownSlideIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    direction: rtl;
    box-sizing: border-box;
}

@keyframes dropdownSlideIn {
    0% {
        opacity: 0;
        transform: translateY(-8px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.country-search-wrap {
    position: relative;
    margin-bottom: 8px;
    direction: ltr;
}

.country-search-input {
    width: 100%;
    box-sizing: border-box;
    padding: 9px 12px 9px 34px;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    font-size: 0.84rem;
    font-family: 'Cairo', sans-serif;
    outline: none;
    background: #f8fafc;
    color: #1e293b;
    direction: rtl;
    text-align: right;
    transition: border-color 0.2s;
}

.country-search-input:focus {
    border-color: #006C35;
    background: #ffffff;
}

.country-search-icon {
    position: absolute;
    left: 11px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.85rem;
    pointer-events: none;
}

.country-options-list {
    max-height: 220px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
    scrollbar-width: thin;
    padding-inline-end: 2px;
}

.country-option-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    font-size: 0.82rem;
    font-weight: 600;
    color: #334155;
    user-select: none;
}

.country-option-item:hover,
.country-option-item.active {
    background: rgba(0, 108, 53, 0.09);
    color: #006C35;
}

.country-option-item .opt-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.country-option-item .opt-flag {
    font-size: 1.2rem;
    line-height: 1;
}

.country-option-item .opt-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 170px;
}

.country-option-item .opt-dial {
    font-weight: 800;
    color: #006C35;
    font-size: 0.82rem;
    direction: ltr;
    flex-shrink: 0;
}

.country-empty-search {
    text-align: center;
    padding: 14px;
    font-size: 0.8rem;
    color: #94a3b8;
}

.cart-phone-group {
    margin-top: 8px;
}

.auth-input-status {
    position: absolute;
    inset-inline-end: 12px;
    color: #94a3b8;
    font-size: 1rem;
    pointer-events: none;
}

.auth-helper-text {
    display: block;
    font-size: 0.72rem;
    color: #64748b;
    margin-top: 4px;
}

.btn-toggle-eye {
    position: absolute;
    inset-inline-end: 10px;
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    font-size: 1rem;
    padding: 6px;
    border-radius: 4px;
    transition: color 0.2s ease;
}

.btn-toggle-eye:hover {
    color: #006C35;
}

.auth-forgot-pass-wrap {
    text-align: center;
    margin: 10px 0 16px;
}

.auth-forgot-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #b45309;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.auth-forgot-link:hover {
    color: #d97706;
    text-decoration: underline;
}

.auth-forgot-link i {
    color: #25D366;
    font-size: 1rem;
}

.btn-auth-submit {
    width: 100%;
    background: linear-gradient(135deg, #006C35 0%, #004b23 100%);
    color: #ffffff;
    border: none;
    padding: 13px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.98rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(0, 108, 53, 0.3);
    transition: all 0.25s ease;
    font-family: 'Cairo', sans-serif;
}

.btn-auth-submit:hover {
    background: linear-gradient(135deg, #008744 0%, #006C35 100%);
    box-shadow: 0 6px 18px rgba(0, 108, 53, 0.4);
    transform: translateY(-1px);
}

/* ==========================================================================
   Customer Profile Modal (DP Avatar & Password Management)
   ========================================================================== */
.customer-profile-card {
    background: #ffffff;
    border-radius: 20px;
    width: 90%;
    max-width: 440px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    font-family: 'Cairo', sans-serif;
    animation: authModalFadeUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-header-banner {
    background: linear-gradient(135deg, #006C35 0%, #004b23 100%);
    color: #ffffff;
    padding: 24px 20px 18px;
    text-align: center;
}

.profile-avatar-container {
    position: relative;
    width: 84px;
    height: 84px;
    margin: 0 auto 10px;
}

.profile-avatar-img {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
    border: 3.5px solid #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    background: #ffffff;
}

.btn-avatar-upload {
    position: absolute;
    bottom: 0;
    inset-inline-end: 0;
    width: 30px;
    height: 30px;
    background: #F4B400;
    color: #122317;
    border-radius: 50%;
    border: 2px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.btn-avatar-upload:hover {
    transform: scale(1.1);
}

.profile-title {
    margin: 4px 0 2px;
    font-size: 1.15rem;
    font-weight: 800;
}

.profile-phone-badge {
    margin: 0;
    font-size: 0.82rem;
    opacity: 0.9;
    direction: ltr;
    font-family: monospace;
}

.profile-body-content {
    padding: 20px;
}

.profile-password-box {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px;
    margin: 14px 0 18px;
}

.profile-box-title {
    font-size: 0.85rem;
    font-weight: 800;
    color: #006C35;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.profile-actions-stack {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-save-profile {
    width: 100%;
    background: #006C35;
    color: #ffffff;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 3px 10px rgba(0, 108, 53, 0.25);
    font-family: 'Cairo', sans-serif;
    transition: background 0.2s ease;
}

.btn-save-profile:hover {
    background: #008744;
}

.btn-profile-secondary {
    flex: 1;
    background: rgba(0, 108, 53, 0.08);
    color: #006C35;
    border: 1.5px solid #006C35;
    padding: 10px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: 'Cairo', sans-serif;
    transition: all 0.2s ease;
}

.btn-profile-secondary:hover {
    background: rgba(0, 108, 53, 0.15);
}

.btn-profile-danger {
    flex: 1;
    background: #fef2f2;
    color: #dc2626;
    border: 1.5px solid #fca5a5;
    padding: 10px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
.auth-forgot-link i {
    color: #25D366;
    font-size: 1rem;
}

.btn-auth-submit {
    width: 100%;
    background: linear-gradient(135deg, #006C35 0%, #004b23 100%);
    color: #ffffff;
    border: none;
    padding: 13px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 0.98rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(0, 108, 53, 0.3);
    transition: all 0.25s ease;
    font-family: 'Cairo', sans-serif;
}

.btn-auth-submit:hover {
    background: linear-gradient(135deg, #008744 0%, #006C35 100%);
    box-shadow: 0 6px 18px rgba(0, 108, 53, 0.4);
    transform: translateY(-1px);
}

/* ==========================================================================
   Customer Profile Modal (DP Avatar & Password Management)
   ========================================================================== */
.customer-profile-card {
    background: #ffffff;
    border-radius: 20px;
    width: 90%;
    max-width: 440px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    font-family: 'Cairo', sans-serif;
    animation: authModalFadeUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-header-banner {
    background: linear-gradient(135deg, #006C35 0%, #004b23 100%);
    color: #ffffff;
    padding: 24px 20px 18px;
    text-align: center;
}

.profile-avatar-container {
    position: relative;
    width: 84px;
    height: 84px;
    margin: 0 auto 10px;
}

.profile-avatar-img {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    object-fit: cover;
    border: 3.5px solid #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    background: #ffffff;
}

.btn-avatar-upload {
    position: absolute;
    bottom: 0;
    inset-inline-end: 0;
    width: 30px;
    height: 30px;
    background: #F4B400;
    color: #122317;
    border-radius: 50%;
    border: 2px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
}

.btn-avatar-upload:hover {
    transform: scale(1.1);
}

.profile-title {
    margin: 4px 0 2px;
    font-size: 1.15rem;
    font-weight: 800;
}

.profile-phone-badge {
    margin: 0;
    font-size: 0.82rem;
    opacity: 0.9;
    direction: ltr;
    font-family: monospace;
}

.profile-body-content {
    padding: 20px;
}

.profile-password-box {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px;
    margin: 14px 0 18px;
}

.profile-box-title {
    font-size: 0.85rem;
    font-weight: 800;
    color: #006C35;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.profile-actions-stack {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-save-profile {
    width: 100%;
    background: #006C35;
    color: #ffffff;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 3px 10px rgba(0, 108, 53, 0.25);
    font-family: 'Cairo', sans-serif;
    transition: background 0.2s ease;
}

.btn-save-profile:hover {
    background: #008744;
}

.btn-profile-secondary {
    flex: 1;
    background: rgba(0, 108, 53, 0.08);
    color: #006C35;
    border: 1.5px solid #006C35;
    padding: 10px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: 'Cairo', sans-serif;
    transition: all 0.2s ease;
}

.btn-profile-secondary:hover {
    background: rgba(0, 108, 53, 0.15);
}

.btn-profile-danger {
    flex: 1;
    background: #fef2f2;
    color: #dc2626;
    border: 1.5px solid #fca5a5;
    padding: 10px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: 'Cairo', sans-serif;
    transition: all 0.2s ease;
}

.btn-profile-danger:hover {
    background: #dc2626;
    color: #ffffff;
}

/* ============================================================
   PHONE VERIFICATION NOTICE & STICKY VERIFICATION LOCK POPUP
   ============================================================ */
.phone-verify-notice {
    background: rgba(0, 108, 53, 0.08);
    border: 1px solid rgba(0, 108, 53, 0.22);
    border-radius: 8px;
    padding: 7px 10px;
    margin-top: 6px;
    font-size: 0.75rem;
    color: #006C35;
    display: flex;
    align-items: center;
    gap: 7px;
    line-height: 1.35;
    font-weight: 600;
}

.phone-verify-notice i {
    font-size: 0.88rem;
    color: #006C35;
    flex-shrink: 0;
}

.sticky-verify-overlay {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.88) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    padding: 16px;
}

.customer-verify-lock-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 28px 24px;
    max-width: 460px;
    width: 100%;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 108, 53, 0.2);
    position: relative;
    box-sizing: border-box;
    font-family: 'Cairo', sans-serif;
    animation: verifyPopIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes verifyPopIn {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.customer-verify-lock-card input:focus {
    border-color: #006C35 !important;
    box-shadow: 0 0 0 4px rgba(0, 108, 53, 0.15) !important;
}

.btn-cust-tool.verify:hover {
    background: #006C35 !important;
    color: #ffffff !important;
}

/* =============================================================
   STOREFRONT VERIFIED USER BADGE (Golden Yellow Background with Tick)
   ============================================================= */
.cust-verified-badge {
    display: inline-flex !important;
    align-items: center !important;
    gap: 3px !important;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: #ffffff !important;
    font-size: 0.65rem !important;
    font-weight: 800 !important;
    padding: 2px 7px !important;
    border-radius: 12px !important;
    margin-inline-start: 6px !important;
    box-shadow: 0 2px 6px rgba(245, 158, 11, 0.4) !important;
    vertical-align: middle !important;
    letter-spacing: 0.2px !important;
    line-height: 1.2 !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.cust-verified-badge i {
    font-size: 0.62rem !important;
}

.cust-verified-tick-only {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 15px !important;
    height: 15px !important;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    font-size: 0.58rem !important;
    margin-inline-start: 4px !important;
    box-shadow: 0 2px 5px rgba(245, 158, 11, 0.45) !important;
    vertical-align: middle !important;
    flex-shrink: 0 !important;
}

