@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800;900&display=swap');

:root {
            --primary: #FF6B00;
            --primary-dark: #E65100;
            --primary-light: #FF8533;
            --secondary: #FF3366;
            --secondary-dark: #D81B60;
            --accent: #FFB800;
            --gold: #FFA000;
            --gold-light: #FFE082;
            --dark: #131921;
            --light: #fbf8f5;
            --grey: #64748b;
            --black: #0f172a;
            --white: #ffffff;
            --glass: rgba(255, 255, 255, 0.18);
            --glass-dark: rgba(19, 25, 33, 0.75);
            --success: #FF6B00;
            --warning: #FFB800;
            --gradient-primary: linear-gradient(135deg, #FF6B00 0%, #FF3366 100%);
            --gradient-dark: linear-gradient(135deg, #131921 0%, #232F3E 100%);
            --gradient-accent: linear-gradient(135deg, #FFB800 0%, #FF6B00 100%);
            --gradient-gold: linear-gradient(135deg, #FFB800 0%, #FFA000 100%);
            --gradient-celebrate: linear-gradient(135deg, #FF6B00 0%, #FF3366 50%, #FFB800 100%);
            --gradient-saudi: linear-gradient(135deg, #FF6B00 0%, #FF3366 60%, #FFB800 100%);
            --shadow-sm: 0 2px 10px rgba(255, 107, 0, 0.08);
            --shadow-md: 0 5px 20px rgba(255, 107, 0, 0.15);
            --shadow-lg: 0 10px 40px rgba(255, 107, 0, 0.2);
            --shadow-xl: 0 15px 50px rgba(255, 51, 102, 0.25);
            --cart-bg: #ffffff;
            --sidebar-width: 420px;
            --neon-glow: 0 0 15px rgba(255, 107, 0, 0.45), 0 0 30px rgba(255, 51, 102, 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, #fbf8f5 0%, #f5efeb 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(255, 107, 0, 0.08) 0%, transparent 50%), radial-gradient(circle at 85% 15%, rgba(255, 51, 102, 0.08) 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(255, 107, 0, 0.08);
            border-bottom: 1px solid rgba(255, 107, 0, 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(255, 107, 0, 0.2);
        }
        .header-text h1,
        #headerTitle {
            color: #FF6B00 !important;
            font-size: 1.05rem;
            margin-bottom: 2px;
            font-weight: 800;
            background: linear-gradient(135deg, #FF6B00 0%, #FF3366 50%, #FFB800 100%) !important;
            -webkit-background-clip: text !important;
            -webkit-text-fill-color: transparent !important;
            background-clip: text !important;
            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(255, 107, 0, 0.08);
            border: 1px solid rgba(255, 107, 0, 0.25);
            border-radius: 20px;
            padding: 6px 10px;
            display: inline-flex;
            align-items: center;
            gap: 5px;
            font-size: 0.78rem;
            font-weight: 700;
            color: #FF6B00;
            cursor: pointer;
            white-space: nowrap;
            transition: all 0.2s ease;
            flex-shrink: 0;
        }
        .customer-auth-btn:hover {
            background: rgba(255, 107, 0, 0.15);
            border-color: #FF6B00;
            transform: translateY(-1px);
        }
        .share-button {
            background: linear-gradient(135deg, #FF6B00 0%, #FF3366 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, #FF7A00 0%, #FF4D79 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(255, 107, 0, 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 10px;
            position: relative;
            z-index: 40;
        }
        .search-container {
            display: flex;
            align-items: center;
            background: rgba(255, 255, 255, 0.96);
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            border-radius: 50px;
            padding: 4px 18px;
            border: 2px solid transparent;
            background-clip: padding-box;
            position: relative;
            height: 48px;
            max-width: 100%;
            box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
            transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        }
        /* Glowing Animated Multi-Color Gradient Ring */
        .search-container::before {
            content: '';
            position: absolute;
            inset: -2px;
            border-radius: 52px;
            background: linear-gradient(135deg, rgba(255, 122, 0, 0.38), rgba(234, 88, 12, 0.22), rgba(255, 184, 0, 0.45), rgba(255, 122, 0, 0.38));
            background-size: 300% 300%;
            z-index: -1;
            opacity: 0.75;
            animation: searchGradientShift 6s ease infinite;
            transition: opacity 0.3s ease, filter 0.3s ease;
        }
        @keyframes searchGradientShift {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }
        .search-container:hover {
            box-shadow: 0 6px 22px rgba(255, 107, 0, 0.16), 0 2px 6px rgba(0, 0, 0, 0.05);
            transform: translateY(-1px);
        }
        .search-container:hover::before {
            opacity: 0.95;
            filter: drop-shadow(0 0 6px rgba(255, 122, 0, 0.35));
        }
        .search-container:focus-within {
            background: #ffffff;
            box-shadow: 0 10px 30px -4px rgba(255, 107, 0, 0.28), 0 0 0 3px rgba(255, 122, 0, 0.22);
            transform: translateY(-2px);
        }
        .search-container:focus-within::before {
            opacity: 1;
            animation: searchGradientShift 3s linear infinite;
            filter: drop-shadow(0 0 10px rgba(255, 122, 0, 0.55));
        }
        .search-container .search-icon {
            padding: 0 10px 0 2px;
            color: #FF6B00;
            font-size: 1.05rem;
            flex-shrink: 0;
            transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.3s ease;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }
        .search-container:hover .search-icon,
        .search-container:focus-within .search-icon {
            transform: scale(1.18) rotate(-6deg);
            color: #e05d00;
            animation: searchIconPulse 1.8s ease-in-out infinite;
        }
        @keyframes searchIconPulse {
            0%, 100% { transform: scale(1.18) rotate(-6deg); }
            50% { transform: scale(1.28) rotate(6deg); }
        }
        .search-input {
            flex: 1;
            border: none;
            outline: none;
            font-size: 0.95rem;
            padding: 8px 6px;
            background: transparent;
            color: var(--dark, #1e293b);
            font-family: inherit;
            font-weight: 600;
            letter-spacing: 0.2px;
        }
        .search-input::placeholder {
            color: #94a3b8;
            font-weight: 500;
            transition: opacity 0.2s ease;
        }
        .search-container:focus-within .search-input::placeholder {
            opacity: 0.55;
        }
        .search-clear-btn {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: #f1f5f9;
            border: 1px solid #e2e8f0;
            cursor: pointer;
            color: #64748b;
            display: none;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
            transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            font-size: 0.8rem;
            margin-right: -4px;
        }
        .search-clear-btn.visible {
            display: flex;
            animation: searchClearPop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        @keyframes searchClearPop {
            0% { transform: scale(0) rotate(-90deg); opacity: 0; }
            70% { transform: scale(1.2) rotate(10deg); }
            100% { transform: scale(1) rotate(0deg); opacity: 1; }
        }
        .search-clear-btn:hover {
            background: #ffedd5;
            color: #ea580c;
            border-color: #fdba74;
            transform: scale(1.12) rotate(90deg);
        }
        .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: 8px 12px;
            border-radius: 8px;
            border: 1.5px solid #cbd5e1;
            background: #ffffff;
            cursor: pointer;
            font-weight: 600;
            font-size: 0.8rem;
            transition: all 0.2s ease;
            color: #1e293b;
            user-select: none;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        .cart-payment-option:hover {
            border-color: #FF6B00;
            background: rgba(255, 107, 0, 0.04);
        }
        .cart-payment-option.selected {
            border-color: #FF6B00 !important;
            background: #f0fdf4 !important;
            color: #FF6B00 !important;
            font-weight: 800;
            box-shadow: 0 0 0 1px #FF6B00;
        }
        .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);
        }
        .highlight-field-required {
            animation: fieldShakePulse 0.4s ease-in-out 2 !important;
            border-color: #ef4444 !important;
            box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25) !important;
        }
        @keyframes fieldShakePulse {
            0%, 100% { transform: translateX(0); }
            25% { transform: translateX(-4px); }
            75% { transform: translateX(4px); }
        }
        .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 {
            display: none;
            text-align: center;
            color: #c2410c;
            background: linear-gradient(135deg, #fff7ed, #ffedd5);
            border: 1px solid #fed7aa;
            border-radius: 30px;
            padding: 6px 18px;
            font-size: 0.88rem;
            font-weight: 700;
            margin: 4px auto 14px;
            width: fit-content;
            max-width: 90%;
            box-shadow: 0 3px 10px rgba(234, 88, 12, 0.08);
            letter-spacing: 0.2px;
        }
        .search-results-info.visible {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            animation: searchInfoSlideDown 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        }
        @keyframes searchInfoSlideDown {
            0% { opacity: 0; transform: translateY(-8px) scale(0.95); }
            100% { opacity: 1; transform: translateY(0) scale(1); }
        }
        @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(255, 107, 0, 0.2) !important;
    position: relative !important;
    border: 3px solid #FF6B00 !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, #FF6B00 0%, #ffd700 50%, #FF6B00 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: #fff7ed !important;
    color: #FF6B00 !important;
    border: 1.5px solid #FF6B00 !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: #FF3366 !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, #FF6B00 0%, #FF3366 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(255, 107, 0, 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, #FF3366 0%, #991b1b 100%) !important;
    color: #ffd700 !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 10px 25px rgba(255, 107, 0, 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, #FF3366 0%, #FF6B00 180px, #fffbeb 400px) !important;
    border-radius: 24px !important;
    padding: 20px !important;
    box-shadow: 0 12px 35px rgba(230, 81, 0, 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%, #FF6B00 100%) !important;
    color: #FF3366 !important;
}

#pageView.saudi-theme .page-back-btn {
    background: #FF6B00 !important;
    color: #ffffff !important;
    border: 2px solid #ffd700 !important;
    box-shadow: 0 4px 14px rgba(255, 107, 0, 0.3) !important;
    padding: 9px 20px !important;
    font-size: 0.9rem !important;
    border-radius: 25px !important;
}

#pageView.saudi-theme .page-back-btn:hover {
    background: #FF3366 !important;
    color: #ffd700 !important;
}

#pageView.saudi-theme .product-card {
    border: 1.5px solid #c8e6c9 !important;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.08) !important;
}

#pageView.saudi-theme .product-card:hover {
    border-color: #FF6B00 !important;
    box-shadow: 0 10px 25px rgba(255, 107, 0, 0.2) !important;
}

#pageView.saudi-theme .product-card .add-to-cart-btn {
    background: linear-gradient(135deg, #FF6B00 0%, #FF3366 100%) !important;
    color: #ffffff !important;
    border: 1.5px solid #ffd700 !important;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.25) !important;
}

#pageView.saudi-theme .product-card .add-to-cart-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #FF3366 0%, #991b1b 100%) !important;
    color: #ffd700 !important;
    transform: translateY(-2px) !important;
}

/* Green Framed Posters */
.saudi-poster-frame {
    border: 3.5px solid #FF6B00 !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 8px 25px rgba(255, 107, 0, 0.2) !important;
    margin: 18px 0 !important;
    position: relative !important;
    background: #FF3366 !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: #FF6B00 !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 #FF6B00 !important;
    box-shadow: 0 6px 20px rgba(255, 107, 0, 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 #fff7ed !important;
}

.saudi-slider-title {
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    color: #FF3366 !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: #FF6B00 !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: #FF3366 !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: #FF6B00 !important;
    box-shadow: 0 8px 20px rgba(255, 107, 0, 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: #FF6B00 !important;
    margin-bottom: 8px !important;
}

.saudi-slider-add-btn {
    width: 100% !important;
    padding: 6px !important;
    border-radius: 12px !important;
    background: #FF6B00 !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: #FF3366 !important;
    color: #ffd700 !important;
}

/* 2 Premium Products Spotlight Section */
.saudi-spotlight-container {
    margin: 24px 0 !important;
    background: linear-gradient(135deg, #ffffff 0%, #fffbeb 100%) !important;
    border: 3px solid #ffd700 !important;
    border-radius: 22px !important;
    padding: 20px !important;
    box-shadow: 0 10px 30px rgba(255, 107, 0, 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: #FF3366 !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 #FF6B00 !important;
    padding: 14px !important;
    display: flex !important;
    gap: 14px !important;
    align-items: center !important;
    box-shadow: 0 6px 18px rgba(255, 107, 0, 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: #FF3366 !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: #FF6B00 !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, #FF3366 0%, #FF6B00 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: #FF3366 !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(255, 107, 0, 0.1);
}

.cart-ip-notice {
    font-size: 0.72rem;
    color: #d97706;
    background: rgba(255, 107, 0, 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, #FF6B00 0%, #FF3366 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, #FF6B00, #FF3366);
    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(255, 107, 0, 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, #FF6B00 0%, #FF3366 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: #FF6B00;
    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: #FF6B00;
    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 #FF6B00;
    border-radius: 14px;
    padding: 14px 18px;
    font-weight: 800;
    font-size: 1.15rem;
    color: #FF6B00;
    margin-bottom: 18px;
    box-shadow: 0 3px 10px rgba(255, 107, 0, 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: #FF6B00;
    border: 1.5px solid #FF6B00;
    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 #FF6B00;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 18px;
    font-size: 0.88rem;
    font-weight: 700;
    color: #FF6B00;
}

/* 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 #FF6B00 !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, #FF6B00 0%, #e65100 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(255, 107, 0, 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, #FF7A00 0%, #FF6B00 100%);
    border-color: #ffffff;
    box-shadow: 0 6px 20px rgba(255, 107, 0, 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 --- */
.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(255, 107, 0, 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, #FF6B00 0%, #e65100 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: #FF6B00;
    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(255, 107, 0, 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(255, 107, 0, 0.4);
    box-shadow: 0 6px 18px rgba(255, 107, 0, 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: #FF6B00;
    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: #FF6B00;
}

.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: #FF6B00;
    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(255, 107, 0, 0.1);
    color: #FF6B00;
    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, #FF6B00);
    border: 2px solid var(--primary, #FF6B00);
    border-radius: 30px;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(255, 107, 0, 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, #FF6B00);
    color: #ffffff;
    box-shadow: 0 6px 22px rgba(255, 107, 0, 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, #FF6B00 0%, #FF3366 100%);
    color: #ffffff;
    border: none;
    border-radius: 35px;
    font-size: 1.05rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(255, 107, 0, 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, #FF7A00 0%, #FF6B00 100%);
    box-shadow: 0 8px 28px rgba(255, 107, 0, 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(255, 107, 0, 0.08) 0%, rgba(244, 180, 0, 0.12) 100%);
    border: 1.5px solid rgba(255, 107, 0, 0.25);
    border-radius: 14px;
    padding: 14px;
    margin: 4px 0 12px;
    box-shadow: 0 3px 10px rgba(255, 107, 0, 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 #FF6B00;
    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(255, 107, 0, 0.2);
}

.btn-drawer-profile {
    flex: 2;
    background: #FF6B00;
    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: #FF7A00;
}

.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(255, 107, 0, 0.1);
    color: #FF6B00;
    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: #FF6B00;
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 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: #FF6B00 !important;
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 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: #FF6B00;
    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: #FF6B00;
    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(255, 107, 0, 0.09);
    color: #FF6B00;
}

.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: #FF6B00;
    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: #FF6B00;
}

.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, #FF6B00 0%, #FF3366 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(255, 107, 0, 0.3);
    transition: all 0.25s ease;
    font-family: 'Cairo', sans-serif;
}

.btn-auth-submit:hover {
    background: linear-gradient(135deg, #FF7A00 0%, #FF6B00 100%);
    box-shadow: 0 6px 18px rgba(255, 107, 0, 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, #FF6B00 0%, #FF3366 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: #FF6B00;
    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: #FF6B00;
    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(255, 107, 0, 0.25);
    font-family: 'Cairo', sans-serif;
    transition: background 0.2s ease;
}

.btn-save-profile:hover {
    background: #FF7A00;
}

.btn-profile-secondary {
    flex: 1;
    background: rgba(255, 107, 0, 0.08);
    color: #FF6B00;
    border: 1.5px solid #FF6B00;
    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(255, 107, 0, 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;
}

.auth-forgot-link i {
    color: #25D366;
    font-size: 1rem;
}

.btn-auth-submit {
    width: 100%;
    background: linear-gradient(135deg, #FF6B00 0%, #FF3366 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(255, 107, 0, 0.3);
    transition: all 0.25s ease;
    font-family: 'Cairo', sans-serif;
}

.btn-auth-submit:hover {
    background: linear-gradient(135deg, #FF7A00 0%, #FF6B00 100%);
    box-shadow: 0 6px 18px rgba(255, 107, 0, 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, #FF6B00 0%, #FF3366 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: #FF6B00;
    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: #FF6B00;
    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(255, 107, 0, 0.25);
    font-family: 'Cairo', sans-serif;
    transition: background 0.2s ease;
}

.btn-save-profile:hover {
    background: #FF7A00;
}

.btn-profile-secondary {
    flex: 1;
    background: rgba(255, 107, 0, 0.08);
    color: #FF6B00;
    border: 1.5px solid #FF6B00;
    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(255, 107, 0, 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(255, 107, 0, 0.08);
    border: 1px solid rgba(255, 107, 0, 0.22);
    border-radius: 8px;
    padding: 7px 10px;
    margin-top: 6px;
    font-size: 0.75rem;
    color: #FF6B00;
    display: flex;
    align-items: center;
    gap: 7px;
    line-height: 1.35;
    font-weight: 600;
}

.phone-verify-notice i {
    font-size: 0.88rem;
    color: #FF6B00;
    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(255, 107, 0, 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: #FF6B00 !important;
    box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.15) !important;
}

.btn-cust-tool.verify:hover {
    background: #FF6B00 !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;
}

/* -------------------------------------------------------------
   Product SKU Row & Heart Favorite Button Styles (Storefront)
   ------------------------------------------------------------- */
.product-sku-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-direction: row !important;
    width: 100% !important;
    margin: 4px 0 6px 0 !important;
    padding: 0 4px !important;
    gap: 8px !important;
    box-sizing: border-box !important;
    direction: rtl !important;
}

.product-sku {
    color: var(--grey, #7a8e82) !important;
    font-size: 0.76rem !important;
    font-weight: 700 !important;
    margin: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    flex: 1 1 auto !important;
    text-align: right !important;
    line-height: 1.3 !important;
    direction: rtl !important;
}

[dir="ltr"] .product-sku-row {
    direction: ltr !important;
}

[dir="ltr"] .product-sku {
    text-align: left !important;
    direction: ltr !important;
}

.modal-product-sku-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    margin-bottom: 10px !important;
    gap: 12px !important;
    direction: rtl !important;
}

.modal-product-sku {
    color: var(--grey, #7a8e82) !important;
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    margin: 0 !important;
    flex: 1 !important;
    text-align: right !important;
}

.btn-product-fav {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #94a3b8 !important;
    font-size: 0.95rem !important;
    cursor: pointer !important;
    z-index: 5 !important;
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06) !important;
    padding: 0 !important;
    outline: none !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
}

.btn-product-fav:hover {
    transform: scale(1.12) !important;
    color: #ef4444 !important;
    background: #fff1f2 !important;
    border-color: #fecdd3 !important;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25) !important;
}

.btn-product-fav.favorited,
.btn-product-fav.active {
    color: #ffffff !important;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    border-color: #dc2626 !important;
    box-shadow: 0 3px 10px rgba(220, 38, 38, 0.4) !important;
    transform: scale(1.05) !important;
}

.btn-product-fav.favorited i,
.btn-product-fav.active i {
    color: #ffffff !important;
    animation: heartBeat 0.35s ease-in-out !important;
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    50% { transform: scale(1.35); }
    100% { transform: scale(1); }
}

/* ==========================================================================
   CART TABBY & TAMARA + 7% COMMISSION & 4-INSTALLMENT CALCULATION STYLES
   ========================================================================== */
.cart-payment-options {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px !important;
    margin-bottom: 12px !important;
}

.cart-payment-option {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 8px !important;
    border: 2px solid #e2e8f0 !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    text-align: center !important;
    min-height: 58px !important;
}

.cart-payment-option:hover {
    border-color: #fdba74 !important;
    background: #fff7ed !important;
    transform: translateY(-2px) !important;
}

.cart-payment-option.selected {
    border-color: #FF6B00 !important;
    background: #fff7ed !important;
    box-shadow: 0 4px 14px rgba(255, 107, 0, 0.18) !important;
}

.cart-payment-option .pay-opt-main {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-weight: 800 !important;
    font-size: 0.88rem !important;
    color: #1e293b !important;
}

.cart-payment-option.selected .pay-opt-main {
    color: #ea580c !important;
}

.cart-payment-option .pay-opt-sub {
    font-size: 0.72rem !important;
    color: #64748b !important;
    margin-top: 2px !important;
    font-weight: 600 !important;
}

.cart-payment-option.pay-opt-installment .pay-installment-badge {
    background: linear-gradient(135deg, #FF6B00 0%, #ea580c 100%) !important;
    color: #ffffff !important;
    padding: 2px 7px !important;
    border-radius: 10px !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    display: inline-block !important;
    margin-top: 3px !important;
    letter-spacing: -0.2px !important;
}

.cart-installment-calc-banner {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%) !important;
    border: 1.5px solid #fdba74 !important;
    border-radius: 12px !important;
    padding: 10px 12px !important;
    margin-top: 8px !important;
    margin-bottom: 12px !important;
    animation: fadeInDown 0.3s ease !important;
}

.calc-banner-header {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    color: #c2410c !important;
    font-weight: 800 !important;
    font-size: 0.82rem !important;
    margin-bottom: 6px !important;
}

.calc-banner-details {
    font-size: 0.78rem !important;
    color: #431407 !important;
    line-height: 1.5 !important;
    font-weight: 600 !important;
}

.calc-banner-details .calc-highlight {
    color: #ea580c !important;
    font-weight: 800 !important;
}

/* ==========================================================================
   OFFICIAL AL RAJHI BANK IBAN CERTIFICATE & RECEIPT UPLOADER STYLES
   ========================================================================== */
.cart-bank-transfer-card {
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 14px;
    padding: 12px 14px;
    margin-top: 8px;
    margin-bottom: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    animation: fadeInDown 0.35s ease;
}

.bank-cert-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #0f172a;
    padding-bottom: 8px;
    margin-bottom: 8px;
}

.bank-cert-brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bank-cert-logo-badge {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
}

.bank-cert-bank-name {
    font-weight: 900;
    font-size: 0.95rem;
    color: #1e3a8a;
    line-height: 1.2;
}

.bank-cert-sub {
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 700;
}

.bank-cert-title-block {
    text-align: left;
}

.bank-cert-title {
    font-size: 1rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.2;
}

.bank-cert-title-en {
    font-size: 0.75rem;
    font-weight: 700;
    color: #64748b;
}

.bank-cert-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.72rem;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 4px 8px;
    border-radius: 6px;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 4px;
}

.bank-cert-meta-row code {
    font-family: monospace;
    font-weight: 800;
    color: #0f172a;
}

.bank-cert-box {
    background: #f1f5f9;
    border-radius: 10px;
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bank-cert-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.8rem;
}

.bank-cert-label {
    font-weight: 700;
    color: #334155;
    flex-shrink: 0;
    font-size: 0.78rem;
}

.bank-cert-val-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #e2e8f0;
    padding: 4px 8px;
    border-radius: 6px;
    flex: 1;
    justify-content: space-between;
    border: 1px solid #cbd5e1;
}

.bank-cert-val {
    font-weight: 800;
    color: #0f172a;
    font-size: 0.82rem;
    word-break: break-all;
}

.bank-cert-val.font-mono {
    font-family: monospace;
    letter-spacing: 0.5px;
    direction: ltr;
}

.btn-copy-bank-field {
    background: #ffffff;
    border: 1px solid #94a3b8;
    color: #1e293b;
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s;
    flex-shrink: 0;
}

.btn-copy-bank-field:hover {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    transform: scale(1.05);
}

.bank-iban-highlight-row .bank-cert-val-wrap {
    background: #eff6ff;
    border: 1.5px solid #3b82f6;
}

.bank-iban-highlight-row .iban-text {
    color: #1d4ed8;
    font-weight: 900;
    font-size: 0.88rem;
}

.btn-copy-iban {
    background: #2563eb;
    color: #ffffff;
    border-color: #1d4ed8;
    padding: 4px 10px;
}

.btn-copy-iban:hover {
    background: #1d4ed8;
    color: #ffffff;
}

/* Receipt Upload Box */
.bank-receipt-section {
    margin-top: 12px;
    border-top: 1.5px dashed #cbd5e1;
    padding-top: 10px;
}

.receipt-section-header {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
}

.receipt-upload-dropzone {
    border: 2px dashed #94a3b8;
    background: #f8fafc;
    border-radius: 10px;
    padding: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
}

.receipt-upload-dropzone:hover {
    border-color: #2563eb;
    background: #eff6ff;
    transform: translateY(-1px);
}

.dropzone-icon {
    font-size: 1.6rem;
    color: #2563eb;
    margin-bottom: 4px;
}

.dropzone-text {
    font-size: 0.82rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 2px;
}

.dropzone-sub {
    font-size: 0.7rem;
    color: #64748b;
}

.dropzone-preview-content {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 8px;
    text-align: right;
}

.preview-thumb-box {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    overflow: hidden;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.preview-thumb-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.preview-info-box {
    flex: 1;
    overflow: hidden;
}

.preview-filename {
    font-size: 0.78rem;
    font-weight: 800;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.preview-filesize {
    font-size: 0.7rem;
    color: #64748b;
}

.preview-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #16a34a;
    margin-top: 2px;
}

.btn-remove-receipt {
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fca5a5;
    border-radius: 6px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.btn-remove-receipt:hover {
    background: #dc2626;
    color: #ffffff;
    border-color: #dc2626;
    transform: scale(1.1);
}

/* ==========================================================================
   DEDICATED INDIVIDUAL PRODUCT DETAIL PAGE VIEW (ULTRA-POLISHED)
   ========================================================================== */
.product-detail-view {
    display: none;
    width: 100% !important;
    max-width: 1240px !important;
    margin: 0 auto !important;
    padding: 16px 14px 40px !important;
    animation: fadeIn 0.35s ease !important;
    box-sizing: border-box !important;
}

.product-detail-view.active {
    display: block !important;
}

/* Breadcrumbs Navigation */
.product-page-breadcrumbs {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    margin-bottom: 20px !important;
    padding: 12px 18px !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    border: 1px solid #eef2f6 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03) !important;
}

.breadcrumbs-list {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
    font-size: 0.88rem !important;
}

.breadcrumb-item {
    color: #64748b !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    transition: color 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
}

.breadcrumb-item:hover {
    color: #FF6B00 !important;
}

.breadcrumb-item.active {
    color: #0f172a !important;
    font-weight: 900 !important;
    max-width: 320px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.breadcrumb-separator {
    color: #cbd5e1 !important;
    font-size: 0.75rem !important;
}

body.ltr .breadcrumb-separator i {
    transform: rotate(180deg) !important;
}

.product-page-back-btn {
    background: #f1f5f9 !important;
    color: #334155 !important;
    border: 1px solid #cbd5e1 !important;
    padding: 8px 18px !important;
    border-radius: 30px !important;
    font-weight: 800 !important;
    font-size: 0.86rem !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    transition: all 0.25s ease !important;
}

.product-page-back-btn:hover {
    background: #FF6B00 !important;
    color: #ffffff !important;
    border-color: #FF6B00 !important;
    transform: translateX(-3px) !important;
    box-shadow: 0 4px 14px rgba(255, 107, 0, 0.3) !important;
}

body.ltr .product-page-back-btn:hover {
    transform: translateX(3px) !important;
}

body.ltr .product-page-back-btn i {
    transform: rotate(180deg) !important;
}

/* Main Showcase Grid (2 Columns) */
.product-page-container {
    display: grid !important;
    grid-template-columns: minmax(320px, 460px) 1fr !important;
    gap: 32px !important;
    background: #ffffff !important;
    border-radius: 24px !important;
    padding: 30px !important;
    border: 1px solid #eef2f6 !important;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.04) !important;
    margin-bottom: 26px !important;
    box-sizing: border-box !important;
}

@media (max-width: 960px) {
    .product-page-container {
        grid-template-columns: 1fr !important;
        gap: 22px !important;
        padding: 18px !important;
    }
}

/* Gallery Box */
.product-page-gallery-box {
    position: relative !important;
}

.product-page-main-img-wrapper {
    position: relative !important;
    width: 100% !important;
    min-height: 280px !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    background: #f8fafc !important;
    border: 1.5px solid #f1f5f9 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    box-sizing: border-box !important;
}

.product-gallery-slide-container {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    overflow: hidden !important;
    border-radius: 16px !important;
}

.product-page-main-img-wrapper img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    user-select: none !important;
    -webkit-user-drag: none !important;
}

.product-page-main-img-wrapper:hover img {
    transform: scale(1.04) !important;
}

/* Floating Navigation Arrows */
.prod-gallery-arrow {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 15 !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.16) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    color: #1e293b !important;
    font-size: 1.05rem !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    user-select: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

.prod-gallery-arrow:hover {
    background: #ffffff !important;
    color: #FF6B00 !important;
    transform: translateY(-50%) scale(1.1) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22) !important;
}

.prod-gallery-arrow:active {
    transform: translateY(-50%) scale(0.95) !important;
}

.prod-gallery-prev {
    left: 14px !important;
}

.prod-gallery-next {
    right: 14px !important;
}

/* Slide Counter Indicator */
.product-gallery-counter {
    position: absolute !important;
    bottom: 14px !important;
    left: 14px !important;
    z-index: 12 !important;
    background: rgba(15, 23, 42, 0.75) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    color: #ffffff !important;
    padding: 4px 12px !important;
    border-radius: 20px !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

body.rtl .product-gallery-counter,
[dir="rtl"] .product-gallery-counter {
    left: auto !important;
    right: 14px !important;
}

/* Thumbnails Row Underneath Main Image */
.product-gallery-thumbs-wrapper {
    margin-top: 14px !important;
    width: 100% !important;
    overflow-x: auto !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    padding: 4px 2px !important;
    box-sizing: border-box !important;
}

.product-gallery-thumbs-wrapper::-webkit-scrollbar {
    display: none !important;
}

.product-gallery-thumbs-track {
    display: flex !important;
    gap: 10px !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    min-width: max-content !important;
    padding: 2px 4px !important;
}

.product-gallery-thumb {
    flex: 0 0 66px !important;
    width: 66px !important;
    height: 66px !important;
    border-radius: 12px !important;
    border: 2px solid #e2e8f0 !important;
    background: #ffffff !important;
    overflow: hidden !important;
    cursor: pointer !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04) !important;
    box-sizing: border-box !important;
}

.product-gallery-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    transition: transform 0.25s ease !important;
    pointer-events: none !important;
}

.product-gallery-thumb:hover {
    border-color: #cbd5e1 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08) !important;
}

.product-gallery-thumb.active {
    border-color: #FF6B00 !important;
    border-width: 2.5px !important;
    box-shadow: 0 0 0 2px rgba(255, 107, 0, 0.28), 0 4px 12px rgba(255, 107, 0, 0.22) !important;
    transform: scale(1.06) !important;
}

/* Animations for gallery sliding */
.slide-anim-left {
    animation: gallerySlideLeft 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

.slide-anim-right {
    animation: gallerySlideRight 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

.fade-anim {
    animation: galleryFade 0.25s ease forwards !important;
}

@keyframes gallerySlideLeft {
    0% {
        opacity: 0.35;
        transform: translateX(-24px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes gallerySlideRight {
    0% {
        opacity: 0.35;
        transform: translateX(24px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes galleryFade {
    0% {
        opacity: 0.4;
    }
    100% {
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .prod-gallery-arrow {
        width: 38px !important;
        height: 38px !important;
        font-size: 0.95rem !important;
    }
    .prod-gallery-prev {
        left: 8px !important;
    }
    .prod-gallery-next {
        right: 8px !important;
    }
    .product-gallery-thumb {
        flex: 0 0 54px !important;
        width: 54px !important;
        height: 54px !important;
        border-radius: 10px !important;
    }
}


.product-page-floating-badges {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 7px !important;
    z-index: 10 !important;
}

body.ltr .product-page-floating-badges {
    right: auto !important;
    left: 14px !important;
}

.p-badge {
    display: inline-block !important;
    padding: 6px 13px !important;
    border-radius: 12px !important;
    font-size: 0.78rem !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12) !important;
}

.p-badge-stock {
    background: #059669 !important;
    color: #ffffff !important;
}

.p-badge-stock.out-of-stock {
    background: #dc2626 !important;
    color: #ffffff !important;
}

.p-badge-limited {
    background: #d97706 !important;
    color: #ffffff !important;
}

.p-badge-category {
    background: rgba(15, 23, 42, 0.85) !important;
    color: #ffffff !important;
    backdrop-filter: blur(8px) !important;
}

.product-page-fav-btn {
    position: absolute !important;
    top: 14px !important;
    left: 14px !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    color: #94a3b8 !important;
    font-size: 1.15rem !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    cursor: pointer !important;
    z-index: 10 !important;
    transition: all 0.25s ease !important;
}

body.ltr .product-page-fav-btn {
    left: auto !important;
    right: 14px !important;
}

.product-page-fav-btn:hover {
    color: #ef4444 !important;
    background: #fff1f2 !important;
    border-color: #fecdd3 !important;
    transform: scale(1.1) !important;
}

.product-page-fav-btn.favorited {
    color: #ffffff !important;
    background: #ef4444 !important;
    border-color: #ef4444 !important;
}

/* Info Box */
.product-page-info-box {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
}

.product-page-sku-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
}

.product-page-sku {
    font-family: monospace !important;
    font-size: 0.85rem !important;
    font-weight: 800 !important;
    color: #475569 !important;
    background: #f1f5f9 !important;
    padding: 4px 12px !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
}

.product-page-rating {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    color: #475569 !important;
}

.product-page-rating .stars {
    color: #f59e0b !important;
    letter-spacing: 2px !important;
}

.product-page-title {
    font-size: 1.65rem !important;
    font-weight: 900 !important;
    color: #0f172a !important;
    line-height: 1.4 !important;
    margin: 0 !important;
}

@media (max-width: 600px) {
    .product-page-title {
        font-size: 1.3rem !important;
    }
}

.product-page-price-section {
    background: linear-gradient(135deg, #fffaf5 0%, #fff7ed 100%) !important;
    border: 1.5px solid #ffedd5 !important;
    border-radius: 16px !important;
    padding: 14px 20px !important;
}

.product-page-price-main {
    display: flex !important;
    align-items: baseline !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

.product-page-price-main .price-val {
    font-size: 2.2rem !important;
    font-weight: 900 !important;
    color: #FF6B00 !important;
    letter-spacing: -0.5px !important;
}

.product-page-price-main .price-currency {
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    color: #FF6B00 !important;
}

.product-page-price-main .vat-included {
    font-size: 0.82rem !important;
    color: #9a3412 !important;
    font-weight: 700 !important;
    background: #ffedd5 !important;
    padding: 4px 10px !important;
    border-radius: 20px !important;
    margin-inline-start: 6px !important;
}

/* Installments Box */
.product-installments-wrapper {
    background: #ffffff !important;
    border: 1.5px solid #fed7aa !important;
    border-radius: 18px !important;
    padding: 16px 18px !important;
    box-shadow: 0 4px 20px rgba(255, 107, 0, 0.06) !important;
}

.installments-header {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #c2410c !important;
    font-weight: 800 !important;
    font-size: 0.92rem !important;
    margin-bottom: 14px !important;
}

.installment-cards-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
}

@media (max-width: 540px) {
    .installment-cards-grid {
        grid-template-columns: 1fr !important;
    }
}

.installment-card {
    background: #fafafa !important;
    border-radius: 14px !important;
    padding: 14px !important;
    border: 1.5px solid #e2e8f0 !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

.installment-card:hover {
    border-color: #FF6B00 !important;
    background: #fffaf5 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 18px rgba(255, 107, 0, 0.15) !important;
}

.inst-brand-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 8px !important;
}

.inst-badge {
    padding: 4px 10px !important;
    border-radius: 8px !important;
    font-weight: 900 !important;
    font-size: 0.85rem !important;
}

.tabby-badge {
    background: #00e599 !important;
    color: #000000 !important;
}

.tamara-badge {
    background: #000000 !important;
    color: #fdf59d !important;
}

.inst-slogan {
    font-size: 0.75rem !important;
    color: #64748b !important;
    font-weight: 700 !important;
}

.inst-amount-row {
    font-size: 0.92rem !important;
    color: #1e293b !important;
    margin-bottom: 4px !important;
}

.inst-amount-row strong {
    color: #ea580c !important;
    font-size: 1.25rem !important;
    font-weight: 900 !important;
}

.inst-total-note {
    font-size: 0.76rem !important;
    color: #64748b !important;
    font-weight: 600 !important;
}

/* Low Stock Alert */
.product-page-low-stock-alert {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    background: #fef2f2 !important;
    border: 1.5px solid #fecaca !important;
    color: #b91c1c !important;
    padding: 10px 16px !important;
    border-radius: 14px !important;
    font-weight: 800 !important;
    font-size: 0.88rem !important;
}

/* Actions Row (Qty + Add to Cart + Buy Now) */
.product-page-actions-row {
    display: flex !important;
    gap: 12px !important;
    margin-top: 8px !important;
    flex-wrap: wrap !important;
    align-items: center !important;
}

.product-page-qty-picker {
    display: inline-flex !important;
    align-items: center !important;
    border: 2px solid #cbd5e1 !important;
    border-radius: 14px !important;
    background: #f8fafc !important;
    height: 52px !important;
    overflow: hidden !important;
}

.product-page-qty-picker .qty-btn {
    width: 44px !important;
    height: 100% !important;
    background: transparent !important;
    border: none !important;
    font-size: 1.35rem !important;
    font-weight: 900 !important;
    color: #334155 !important;
    cursor: pointer !important;
    transition: background 0.2s ease !important;
}

.product-page-qty-picker .qty-btn:hover {
    background: #e2e8f0 !important;
}

.product-page-qty-picker .qty-display {
    min-width: 40px !important;
    text-align: center !important;
    font-weight: 900 !important;
    font-size: 1.15rem !important;
    color: #0f172a !important;
}

.btn-product-page-cart {
    flex: 1 !important;
    min-width: 150px !important;
    height: 52px !important;
    background: linear-gradient(135deg, #FF6B00 0%, #ea580c 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 14px !important;
    font-weight: 900 !important;
    font-size: 1rem !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.35) !important;
    transition: all 0.25s ease !important;
}

.btn-product-page-cart:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(255, 107, 0, 0.45) !important;
}

.btn-product-page-buynow {
    flex: 1 !important;
    min-width: 150px !important;
    height: 52px !important;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 14px !important;
    font-weight: 900 !important;
    font-size: 1rem !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.25) !important;
    transition: all 0.25s ease !important;
}

.btn-product-page-buynow:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(5, 150, 105, 0.4) !important;
}

/* Social Share Bar */
.product-page-share-bar {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    padding: 12px 0 !important;
    border-top: 1px solid #f1f5f9 !important;
    border-bottom: 1px solid #f1f5f9 !important;
    margin-top: 6px !important;
}

.share-label {
    font-size: 0.86rem !important;
    font-weight: 800 !important;
    color: #64748b !important;
}

.share-buttons {
    display: flex !important;
    gap: 10px !important;
}

.btn-p-share {
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    border: none !important;
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    font-size: 1rem !important;
    transition: all 0.2s ease !important;
}

.btn-p-share:hover {
    transform: scale(1.12) !important;
}

.btn-p-share.wa { background: #25d366 !important; }
.btn-p-share.fb { background: #1877f2 !important; }
.btn-p-share.tw { background: #000000 !important; }
.btn-p-share.copy { background: #64748b !important; }

/* Features Grid */
.product-page-features-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 12px !important;
    margin-top: 8px !important;
}

@media (max-width: 650px) {
    .product-page-features-grid {
        grid-template-columns: 1fr !important;
    }
}

.p-feature-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 12px 14px !important;
}

.p-feature-item i {
    font-size: 1.4rem !important;
    color: #FF6B00 !important;
    flex-shrink: 0 !important;
}

.p-feature-item div {
    display: flex !important;
    flex-direction: column !important;
}

.p-feature-item strong {
    font-size: 0.84rem !important;
    color: #0f172a !important;
}

.p-feature-item span {
    font-size: 0.74rem !important;
    color: #64748b !important;
}

/* Description Section */
.product-page-desc-section {
    background: #ffffff !important;
    border-radius: 22px !important;
    padding: 26px 28px !important;
    border: 1px solid #eef2f6 !important;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.04) !important;
    margin-bottom: 28px !important;
}

.p-desc-header {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 14px !important;
    border-bottom: 2px solid #f1f5f9 !important;
    padding-bottom: 12px !important;
    color: #FF6B00 !important;
}

.p-desc-header h2 {
    font-size: 1.25rem !important;
    font-weight: 900 !important;
    color: #0f172a !important;
    margin: 0 !important;
}

.p-desc-content {
    font-size: 1rem !important;
    color: #334155 !important;
    line-height: 1.85 !important;
    white-space: pre-line !important;
}

/* ==========================================================================
   RECOMMENDED PRODUCTS SLIDER (10 - 15 PRODUCTS)
   ========================================================================== */
.product-recommended-section {
    background: #ffffff !important;
    border-radius: 24px !important;
    padding: 26px 22px !important;
    border: 1px solid #eef2f6 !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04) !important;
    margin-bottom: 35px !important;
}

.rec-section-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin-bottom: 20px !important;
    gap: 14px !important;
    flex-wrap: wrap !important;
}

.rec-title-wrap {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.rec-icon {
    width: 46px !important;
    height: 46px !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, #FF6B00 0%, #FF3366 100%) !important;
    color: #ffffff !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.3rem !important;
    box-shadow: 0 4px 14px rgba(255, 107, 0, 0.3) !important;
    flex-shrink: 0 !important;
}

.rec-title {
    font-size: 1.3rem !important;
    font-weight: 900 !important;
    color: #0f172a !important;
    margin: 0 !important;
}

.rec-subtitle {
    font-size: 0.84rem !important;
    color: #64748b !important;
    margin: 2px 0 0 !important;
}

.rec-slider-nav {
    display: flex !important;
    gap: 8px !important;
}

.rec-nav-btn {
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 2px solid #e2e8f0 !important;
    color: #1e293b !important;
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s ease !important;
}

.rec-nav-btn:hover {
    background: #FF6B00 !important;
    color: #ffffff !important;
    border-color: #FF6B00 !important;
    transform: scale(1.08) !important;
}

.rec-slider-viewport {
    width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-behavior: smooth !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    padding: 10px 4px 18px !important;
}

.rec-slider-viewport::-webkit-scrollbar {
    display: none !important;
}

.rec-slider-track {
    display: flex !important;
    gap: 16px !important;
    width: max-content !important;
}

.rec-product-card {
    width: 230px !important;
    min-width: 230px !important;
    max-width: 230px !important;
    background: #ffffff !important;
    border: 1.5px solid #eef2f6 !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: flex !important;
    flex-direction: column !important;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.03) !important;
    position: relative !important;
    padding: 12px !important;
    box-sizing: border-box !important;
}

.rec-product-card:hover {
    transform: translateY(-5px) !important;
    border-color: #FF6B00 !important;
    box-shadow: 0 10px 28px rgba(255, 107, 0, 0.16) !important;
}

.rec-card-img-wrap {
    position: relative !important;
    width: 100% !important;
    height: 155px !important;
    background: #f8fafc !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    margin-bottom: 10px !important;
}

.rec-card-img-wrap img {
    max-width: 90% !important;
    max-height: 90% !important;
    object-fit: contain !important;
    transition: transform 0.3s ease !important;
}

.rec-product-card:hover .rec-card-img-wrap img {
    transform: scale(1.08) !important;
}

.rec-card-cat-badge {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    background: rgba(15, 23, 42, 0.8) !important;
    color: #ffffff !important;
    padding: 2px 8px !important;
    border-radius: 8px !important;
    font-size: 0.7rem !important;
    font-weight: 800 !important;
}

body.ltr .rec-card-cat-badge {
    right: auto !important;
    left: 8px !important;
}

.rec-card-body {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
}

.rec-card-sku {
    font-family: monospace !important;
    font-size: 0.72rem !important;
    color: #94a3b8 !important;
    font-weight: 700 !important;
}

.rec-card-title {
    font-size: 0.88rem !important;
    font-weight: 800 !important;
    color: #1e293b !important;
    margin: 4px 0 6px !important;
    line-height: 1.4 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 38px !important;
}

.rec-card-price-row {
    display: flex !important;
    align-items: baseline !important;
    gap: 4px !important;
}

.rec-card-price {
    font-size: 1.15rem !important;
    font-weight: 900 !important;
    color: #FF6B00 !important;
}

.rec-card-installment-hint {
    background: #fff7ed !important;
    color: #c2410c !important;
    font-size: 0.72rem !important;
    font-weight: 700 !important;
    padding: 4px 8px !important;
    border-radius: 6px !important;
    margin: 6px 0 10px !important;
    border: 1px solid #ffedd5 !important;
}

.rec-add-cart-btn {
    width: 100% !important;
    height: 38px !important;
    border-radius: 10px !important;
    background: #fff7ed !important;
    color: #FF6B00 !important;
    border: 1.5px solid #FF6B00 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    font-size: 0.85rem !important;
    font-weight: 800 !important;
    margin-top: auto !important;
}

.rec-add-cart-btn:hover {
    background: #FF6B00 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3) !important;
}

@media (max-width: 480px) {
    .rec-product-card {
        width: 180px !important;
        min-width: 180px !important;
        max-width: 180px !important;
        padding: 10px !important;
    }
    .rec-card-img-wrap {
        height: 130px !important;
    }
    .rec-card-title {
        font-size: 0.82rem !important;
        min-height: 34px !important;
    }
}

/* ==========================================================================
   ROUND CIRCULAR CATEGORY CARDS (Modern Story / Avatar Design)
   ========================================================================== */
.category-filters {
    display: flex !important;
    gap: 14px !important;
    align-items: flex-start !important;
    padding: 10px 6px 14px !important;
}

.category-circle-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 7px !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    width: 82px !important;
    min-width: 82px !important;
    max-width: 82px !important;
    text-align: center !important;
    user-select: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    text-decoration: none !important;
    padding: 2px !important;
}

.category-circle-img-wrap {
    width: 68px !important;
    height: 68px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 2.5px solid #e2e8f0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    position: relative !important;
    padding: 8px !important;
    box-sizing: border-box !important;
}

.category-circle-img {
    max-width: 90% !important;
    max-height: 90% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    transition: transform 0.35s ease !important;
}

.category-circle-title {
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    color: #334155 !important;
    line-height: 1.25 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    width: 100% !important;
    text-align: center !important;
    transition: color 0.25s ease, font-weight 0.25s ease !important;
}

.category-circle-card:hover .category-circle-img-wrap {
    transform: translateY(-4px) scale(1.06) !important;
    border-color: #FF6B00 !important;
    box-shadow: 0 8px 22px rgba(255, 107, 0, 0.22) !important;
}

.category-circle-card:hover .category-circle-img {
    transform: scale(1.15) !important;
}

.category-circle-card:hover .category-circle-title {
    color: #FF6B00 !important;
}

.category-circle-card.active .category-circle-img-wrap {
    border-color: #FF6B00 !important;
    background: linear-gradient(135deg, #fff7ed 0%, #ffffff 100%) !important;
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.3), 0 8px 24px rgba(255, 107, 0, 0.28) !important;
    transform: translateY(-2px) scale(1.04) !important;
}

.category-circle-card.active .category-circle-title {
    color: #FF6B00 !important;
    font-weight: 900 !important;
}

@media (max-width: 600px) {
    .category-circle-card {
        width: 72px !important;
        min-width: 72px !important;
        max-width: 72px !important;
        gap: 5px !important;
    }
    .category-circle-img-wrap {
        width: 58px !important;
        height: 58px !important;
        padding: 6px !important;
    }
    .category-circle-title {
        font-size: 0.72rem !important;
    }
}

/* ==========================================================================
   PRODUCT PAGE UNIQUE MULTI-SLIDERS THEMES
   ========================================================================== */
.product-page-section-slider {
    background: #ffffff !important;
    border-radius: 24px !important;
    padding: 26px 22px !important;
    border: 1px solid #eef2f6 !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.04) !important;
    margin-bottom: 35px !important;
}

/* Theme 1: Flame / Mega Discount Slider */
.section-theme-discount {
    background: linear-gradient(180deg, #ffffff 0%, #fff8f6 100%) !important;
    border: 1.5px solid #ffe4dd !important;
    box-shadow: 0 10px 35px rgba(229, 57, 53, 0.07) !important;
}

.section-theme-discount .rec-icon.icon-flame {
    background: linear-gradient(135deg, #e53935 0%, #ff6b00 100%) !important;
    box-shadow: 0 4px 14px rgba(229, 57, 53, 0.35) !important;
}

.section-theme-discount .rec-title {
    color: #991b1b !important;
}

.disc-product-card {
    width: 230px !important;
    min-width: 230px !important;
    max-width: 230px !important;
    background: #ffffff !important;
    border: 1.5px solid #fed7aa !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: flex !important;
    flex-direction: column !important;
    box-shadow: 0 3px 12px rgba(234, 88, 12, 0.06) !important;
    position: relative !important;
    padding: 12px !important;
    box-sizing: border-box !important;
}

.disc-product-card:hover {
    transform: translateY(-5px) !important;
    border-color: #ea580c !important;
    box-shadow: 0 12px 30px rgba(234, 88, 12, 0.2) !important;
}

.disc-badge-tag {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    background: linear-gradient(135deg, #dc2626 0%, #ea580c 100%) !important;
    color: #ffffff !important;
    padding: 3px 9px !important;
    border-radius: 8px !important;
    font-size: 0.72rem !important;
    font-weight: 900 !important;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3) !important;
}

body.ltr .disc-badge-tag {
    right: auto !important;
    left: 8px !important;
}

.disc-add-cart-btn {
    width: 100% !important;
    height: 38px !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #fff1f2 0%, #ffe4e6 100%) !important;
    color: #e11d48 !important;
    border: 1.5px solid #fb7185 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    font-size: 0.85rem !important;
    font-weight: 800 !important;
    margin-top: auto !important;
}

.disc-add-cart-btn:hover {
    background: linear-gradient(135deg, #e11d48 0%, #be123c 100%) !important;
    color: #ffffff !important;
    border-color: #e11d48 !important;
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.35) !important;
}

/* Theme 2: Trophy / Best Seller Slider */
.section-theme-bestseller {
    background: linear-gradient(180deg, #ffffff 0%, #fffdf5 100%) !important;
    border: 1.5px solid #fef08a !important;
    box-shadow: 0 10px 35px rgba(202, 138, 4, 0.08) !important;
}

.section-theme-bestseller .rec-icon.icon-trophy {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35) !important;
}

.section-theme-bestseller .rec-title {
    color: #854d0e !important;
}

.best-product-card {
    width: 230px !important;
    min-width: 230px !important;
    max-width: 230px !important;
    background: #ffffff !important;
    border: 1.5px solid #fde047 !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: flex !important;
    flex-direction: column !important;
    box-shadow: 0 3px 12px rgba(202, 138, 4, 0.07) !important;
    position: relative !important;
    padding: 12px !important;
    box-sizing: border-box !important;
}

.best-product-card:hover {
    transform: translateY(-5px) !important;
    border-color: #eab308 !important;
    box-shadow: 0 12px 30px rgba(234, 179, 8, 0.22) !important;
}

.best-badge-tag {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: #ffffff !important;
    padding: 3px 9px !important;
    border-radius: 8px !important;
    font-size: 0.72rem !important;
    font-weight: 900 !important;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3) !important;
}

body.ltr .best-badge-tag {
    right: auto !important;
    left: 8px !important;
}

.best-add-cart-btn {
    width: 100% !important;
    height: 38px !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #fefce8 0%, #fef9c3 100%) !important;
    color: #a16207 !important;
    border: 1.5px solid #facc15 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    font-size: 0.85rem !important;
    font-weight: 800 !important;
    margin-top: auto !important;
}

.best-add-cart-btn:hover {
    background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%) !important;
    color: #ffffff !important;
    border-color: #ca8a04 !important;
    box-shadow: 0 4px 14px rgba(202, 138, 4, 0.35) !important;
}

@media (max-width: 480px) {
    .disc-product-card, .best-product-card {
        width: 180px !important;
        min-width: 180px !important;
        max-width: 180px !important;
        padding: 10px !important;
    }
}

/* ==========================================================================
   REPAIR CENTERS MODULE - INTRO ANIMATIONS, DIRECTORY, SEARCH & DETAIL VIEW
   ========================================================================== */

/* 1. INTRO ANIMATION SCREEN (Fast Snappy Opening on White Card) */
.repair-intro-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 999999 !important;
    background: rgba(15, 23, 42, 0.45) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    box-sizing: border-box !important;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease !important;
}

.repair-intro-overlay.active {
    opacity: 1 !important;
    pointer-events: auto !important;
}

.repair-intro-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(rgba(255, 107, 0, 0.2) 1.5px, transparent 1.5px),
        radial-gradient(rgba(14, 165, 233, 0.15) 1.5px, transparent 1.5px);
    background-size: 28px 28px;
    background-position: 0 0, 14px 14px;
    opacity: 0.4;
    animation: gridFloat 15s linear infinite;
}

@keyframes gridFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(28px); }
}

.repair-intro-content {
    position: relative;
    z-index: 10;
    max-width: 540px;
    width: 100%;
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 28px !important;
    padding: 34px 28px 26px !important;
    text-align: center !important;
    box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.18), 0 10px 25px rgba(255, 107, 0, 0.08) !important;
    animation: cardIntroPop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes cardIntroPop {
    0% { opacity: 0; transform: scale(0.9) translateY(20px); }
    100% { opacity: 1; transform: scale(1) translateY(0); }
}

/* Holographic Mechanical Gear Animation Stage */
.repair-hologram-stage {
    position: relative;
    width: 130px;
    height: 130px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.repair-pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px dashed rgba(255, 107, 0, 0.45);
    animation: spinClockwise 10s linear infinite;
}

.repair-pulse-ring-outer {
    position: absolute;
    width: 130%;
    height: 130%;
    border-radius: 50%;
    border: 1.5px solid rgba(2, 132, 199, 0.3);
    box-shadow: 0 0 15px rgba(2, 132, 199, 0.15);
    animation: pulseRing 2.5s ease-in-out infinite alternate;
}

@keyframes pulseRing {
    0% { transform: scale(0.94); opacity: 0.4; }
    100% { transform: scale(1.06); opacity: 0.85; }
}

.gear-spinner {
    position: absolute;
    color: #FF6B00;
    filter: drop-shadow(0 2px 6px rgba(255, 107, 0, 0.3));
}

.gear-large {
    font-size: 3.8rem;
    color: #FF6B00;
    animation: spinClockwise 6s linear infinite;
}

.gear-medium {
    font-size: 2.3rem;
    top: -6px;
    right: -8px;
    color: #d97706;
    animation: spinCounter 4s linear infinite;
}

.gear-small {
    font-size: 1.7rem;
    bottom: -4px;
    left: -4px;
    color: #0284c7;
    animation: spinClockwise 3.5s linear infinite;
}

@keyframes spinClockwise {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes spinCounter {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

.tool-floating {
    position: absolute;
    font-size: 1.35rem;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.15));
    animation: floatTool 2.5s ease-in-out infinite alternate;
}

.tool-wrench {
    top: 6px;
    left: -12px;
    color: #ea580c;
    animation-delay: 0.2s;
}

.tool-screwdriver {
    bottom: 6px;
    right: -12px;
    color: #64748b;
    animation-delay: 0.5s;
}

@keyframes floatTool {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-7px) rotate(12deg); }
}

.center-brand-gem {
    position: relative;
    z-index: 5;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FF6B00 0%, #FF3366 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.45);
    animation: gemGlow 1.8s ease-in-out infinite alternate;
}

@keyframes gemGlow {
    0% { box-shadow: 0 2px 10px rgba(255, 107, 0, 0.35); transform: scale(0.96); }
    100% { box-shadow: 0 6px 20px rgba(255, 107, 0, 0.6); transform: scale(1.04); }
}

/* Intro Text Elements */
.repair-intro-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff7ed !important;
    color: #c2410c !important;
    border: 1.5px solid #fed7aa !important;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.84rem;
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: 0.3px;
}

.repair-intro-arabic-text {
    font-family: 'Cairo', 'Traditional Arabic', serif !important;
    font-size: 1.45rem !important;
    font-weight: 900 !important;
    line-height: 1.5 !important;
    color: #0f172a !important;
    margin: 0 0 8px !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    -webkit-text-fill-color: #0f172a !important;
    text-shadow: none !important;
}

@media (max-width: 520px) {
    .repair-intro-arabic-text { font-size: 1.22rem !important; }
}

.repair-intro-english-text {
    font-family: 'Plus Jakarta Sans', 'Inter', sans-serif !important;
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    color: #475569 !important;
    margin: 0 0 12px !important;
    letter-spacing: 0.2px;
}

.repair-intro-sub-note {
    font-size: 0.85rem;
    color: #0284c7 !important;
    font-weight: 700;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* Progress Bar & Skip */
.repair-progress-wrapper {
    margin-top: 8px;
}

.repair-progress-bar {
    width: 100%;
    height: 8px;
    background: #f1f5f9 !important;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    border: 1px solid #e2e8f0 !important;
}

.repair-progress-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #FF6B00 0%, #f97316 50%, #22c55e 100%) !important;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(255, 107, 0, 0.4) !important;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.repair-progress-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}

.repair-timer-text {
    font-size: 0.82rem;
    color: #64748b;
    font-weight: 700;
    font-family: 'Cairo', monospace, sans-serif;
}

.btn-repair-skip {
    background: #f8fafc !important;
    color: #334155 !important;
    border: 1.5px solid #cbd5e1 !important;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    font-family: 'Cairo', sans-serif;
}

.btn-repair-skip:hover {
    background: #FF6B00 !important;
    color: #ffffff !important;
    border-color: #FF6B00 !important;
    box-shadow: 0 2px 10px rgba(255, 107, 0, 0.35) !important;
}

/* ==========================================================================
   2. REPAIR CENTERS DIRECTORY STOREFRONT VIEW
   ========================================================================== */
.repair-centers-view {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 10px 12px 60px;
    box-sizing: border-box;
}

/* Hero Banner */
.repair-hero-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #172554 100%);
    border-radius: 24px;
    padding: 34px 28px;
    color: #ffffff;
    margin-bottom: 24px;
    border: 1.5px solid rgba(255, 107, 0, 0.3);
    box-shadow: 0 10px 35px rgba(15, 23, 42, 0.2);
    position: relative;
    overflow: hidden;
}

.repair-hero-banner::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.repair-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 107, 0, 0.2);
    color: #fed7aa;
    border: 1px solid rgba(255, 107, 0, 0.4);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.84rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.repair-hero-title {
    font-size: 1.85rem;
    font-weight: 900;
    margin: 0 0 10px;
    line-height: 1.35;
    color: #ffffff;
}

@media (max-width: 600px) {
    .repair-hero-title { font-size: 1.35rem; }
}

.repair-hero-desc {
    font-size: 0.95rem;
    color: #94a3b8;
    line-height: 1.65;
    margin: 0 0 24px;
    max-width: 820px;
}

.repair-stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

@media (max-width: 850px) {
    .repair-stats-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .repair-stats-row { grid-template-columns: 1fr; }
}

.repair-stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 12px 14px;
}

.repair-stat-item i {
    font-size: 1.5rem;
    color: #FF6B00;
    flex-shrink: 0;
}

.repair-stat-item div {
    display: flex;
    flex-direction: column;
}

.repair-stat-item strong {
    font-size: 1.1rem;
    font-weight: 900;
    color: #ffffff;
}

.repair-stat-item span {
    font-size: 0.76rem;
    color: #94a3b8;
    font-weight: 600;
}

/* Brand Filter Chips Track */
.repair-brand-filter-section {
    background: #ffffff;
    border-radius: 20px;
    padding: 16px 20px;
    border: 1px solid #eef2f6;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
    margin-bottom: 24px;
}

.repair-filter-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 8px;
}

.repair-filter-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.92rem;
    font-weight: 800;
    color: #1e293b;
}

.repair-filter-label i {
    color: #FF6B00;
}

.repair-results-counter {
    font-size: 0.82rem;
    color: #64748b;
    font-weight: 700;
    background: #f1f5f9;
    padding: 4px 12px;
    border-radius: 12px;
}

.repair-brands-track {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 6px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.repair-brands-track::-webkit-scrollbar {
    height: 4px;
}

.repair-brands-track::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.brand-chip-btn {
    white-space: nowrap;
    padding: 7px 16px;
    border-radius: 25px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    color: #334155;
    font-size: 0.84rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Cairo', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.brand-chip-btn:hover {
    background: #fff7ed;
    color: #FF6B00;
    border-color: #FF6B00;
    transform: translateY(-2px);
}

.brand-chip-btn.active {
    background: linear-gradient(135deg, #FF6B00 0%, #ea580c 100%);
    color: #ffffff;
    border-color: #FF6B00;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.35);
}

/* ==========================================================================
   REPAIR CENTERS DIRECTORY & MODERN CARDS (ULTRA-POLISHED)
   ========================================================================== */
.repair-centers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
    box-sizing: border-box;
}

@media (max-width: 680px) {
    .repair-centers-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        margin-bottom: 28px !important;
    }

    .repair-center-card,
    .repair-card {
        border-radius: 16px !important;
    }

    .repair-card-header {
        height: 110px !important;
    }

    .repair-card-badge {
        top: 6px !important;
        right: 6px !important;
        font-size: 0.62rem !important;
        padding: 2px 7px !important;
        border-radius: 12px !important;
    }

    body.ltr .repair-card-badge {
        right: auto !important;
        left: 6px !important;
    }

    .repair-card-body {
        padding: 10px 8px !important;
    }

    .repair-card-title {
        font-size: 0.86rem !important;
        font-weight: 800 !important;
        margin: 0 0 2px !important;
        line-height: 1.3 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 1 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    .repair-card-subtitle {
        font-size: 0.68rem !important;
        margin: 0 0 6px !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 1 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    .repair-card-tags {
        gap: 3px !important;
        padding: 4px 6px !important;
        min-height: unset !important;
        margin-bottom: 6px !important;
        border-radius: 8px !important;
    }

    .repair-tag-chip {
        font-size: 0.62rem !important;
        padding: 1px 4px !important;
        border-radius: 4px !important;
    }

    .repair-tag-separator {
        font-size: 0.65rem !important;
        padding: 0;
    }

    .repair-card-info-row {
        font-size: 0.68rem !important;
        gap: 4px !important;
        margin-bottom: 4px !important;
    }

    .repair-card-info-row i {
        font-size: 0.72rem !important;
        width: 12px !important;
    }

    .repair-card-actions {
        grid-template-columns: 1fr 1fr !important;
        gap: 5px !important;
        padding-top: 8px !important;
        margin-top: auto !important;
    }

    .repair-card-btn {
        height: 32px !important;
        font-size: 0.68rem !important;
        border-radius: 8px !important;
        gap: 3px !important;
        padding: 0 4px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
    }

    .repair-card-btn span {
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .repair-card-btn i {
        font-size: 0.72rem !important;
        flex-shrink: 0 !important;
    }

    .repair-card-view-btn {
        font-size: 0.74rem !important;
        height: 34px !important;
        padding: 0 8px !important;
        margin-top: 7px !important;
        border-radius: 10px !important;
        gap: 6px !important;
        white-space: nowrap !important;
        justify-content: center !important;
    }

    .repair-btn-text-full {
        display: none !important;
    }

    .repair-btn-text-short {
        display: inline !important;
        font-weight: 800 !important;
    }
}

@media (max-width: 400px) {
    .repair-centers-grid {
        gap: 6px !important;
    }
    .repair-card-header {
        height: 90px !important;
    }
    .repair-card-body {
        padding: 8px 5px !important;
    }
    .repair-card-title {
        font-size: 0.78rem !important;
    }
    .repair-card-btn {
        height: 28px !important;
        font-size: 0.62rem !important;
    }
    .repair-card-view-btn {
        height: 30px !important;
        font-size: 0.68rem !important;
        padding: 0 4px !important;
    }
}

/* Individual Repair Center Card */
.repair-center-card,
.repair-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1.5px solid #eef2f6;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    cursor: pointer;
    box-sizing: border-box;
}

.repair-center-card:hover,
.repair-card:hover {
    transform: translateY(-6px);
    border-color: #FF6B00;
    box-shadow: 0 16px 36px rgba(255, 107, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.05);
}

.repair-card-header {
    position: relative;
    width: 100%;
    height: 180px;
    background: #f8fafc;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1.5px solid #f1f5f9;
}

.repair-card-img-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.repair-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.repair-center-card:hover .repair-card-img,
.repair-card:hover .repair-card-img {
    transform: scale(1.06);
}

.repair-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(5, 150, 105, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
    letter-spacing: -0.2px;
}

body.ltr .repair-card-badge {
    right: auto;
    left: 12px;
}

.repair-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    background: #ffffff;
}

.repair-card-title {
    font-size: 1.15rem;
    font-weight: 900;
    color: #0f172a;
    margin: 0 0 4px;
    line-height: 1.4;
    font-family: 'Cairo', sans-serif;
}

.repair-card-subtitle {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0 0 14px;
    font-weight: 600;
}

/* Brand Tags Row with Clean Badges and Separator */
.repair-card-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
    padding: 6px 10px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    min-height: 36px;
}

.repair-tag-chip {
    display: inline-flex;
    align-items: center;
    font-size: 0.74rem;
    font-weight: 800;
    background: #ffffff;
    color: #0284c7;
    border: 1px solid #bae6fd;
    padding: 2px 8px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    white-space: nowrap;
}

.repair-tag-separator {
    color: #94a3b8;
    font-weight: 700;
    font-size: 0.8rem;
    user-select: none;
    padding: 0 1px;
}

.repair-tag-chip.more {
    background: #fff7ed;
    color: #c2410c;
    border-color: #fed7aa;
}

/* Info Rows: Location & Hours */
.repair-card-info-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: #475569;
    margin-bottom: 8px;
    line-height: 1.4;
}

.repair-card-info-row i {
    width: 16px;
    color: #FF6B00;
    font-size: 0.9rem;
    text-align: center;
    flex-shrink: 0;
}

.repair-card-info-row span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Quick Action Buttons (Call & Map) */
.repair-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}

.repair-card-btn {
    height: 40px;
    border-radius: 12px;
    font-size: 0.82rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
    cursor: pointer;
}

.repair-card-btn.call-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.repair-card-btn.call-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

.repair-card-btn.map-btn {
    background: #f8fafc;
    color: #334155 !important;
    border: 1.5px solid #cbd5e1;
}

.repair-card-btn.map-btn:hover {
    background: #e2e8f0;
    color: #0f172a !important;
    border-color: #94a3b8;
    transform: translateY(-2px);
}

/* Disabled state for missing phone or map */
.repair-card-btn.disabled,
.btn-repair-action.disabled {
    background: #f1f5f9 !important;
    color: #94a3b8 !important;
    border: 1px solid #e2e8f0 !important;
    pointer-events: none !important;
    opacity: 0.65 !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
}

/* View Details Full Width Button */
.repair-card-view-btn {
    width: 100%;
    margin-top: 10px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    color: #c2410c;
    border: 1.5px solid #fdba74;
    font-size: 0.86rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s ease;
    font-family: 'Cairo', sans-serif;
}

.repair-btn-text-full {
    display: inline;
}

.repair-btn-text-short {
    display: none;
}

.repair-card-view-btn:hover {
    background: linear-gradient(135deg, #FF6B00 0%, #ea580c 100%);
    color: #ffffff;
    border-color: #FF6B00;
    box-shadow: 0 6px 18px rgba(255, 107, 0, 0.35);
    transform: translateY(-2px);
}

/* ==========================================================================
   REPAIR CENTER INDIVIDUAL DETAIL PAGE VIEW
   ========================================================================== */
.repair-center-detail-view {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 16px 14px 60px;
    box-sizing: border-box;
    animation: fadeIn 0.35s ease;
}

.repair-detail-container {
    width: 100%;
    margin-bottom: 36px;
}

/* Hero Card */
.repair-detail-hero-card {
    background: #ffffff;
    border-radius: 24px;
    border: 1.5px solid #eef2f6;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    padding: 30px;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .repair-detail-hero-card {
        padding: 18px;
        border-radius: 18px;
    }
}

.repair-detail-hero-grid {
    display: grid;
    grid-template-columns: minmax(280px, 380px) 1fr;
    gap: 30px;
    align-items: center;
}

@media (max-width: 900px) {
    .repair-detail-hero-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.repair-detail-img-box {
    position: relative;
    width: 100%;
    height: 240px;
    border-radius: 18px;
    overflow: hidden;
    background: #f8fafc;
    border: 1.5px solid #f1f5f9;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.repair-detail-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.repair-detail-verified-stamp {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

body.ltr .repair-detail-verified-stamp {
    right: auto;
    left: 12px;
}

.repair-detail-verified-stamp i {
    color: #10b981;
}

.repair-detail-main-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.repair-detail-header-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.repair-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 800;
    background: #e0f2fe;
    color: #0369a1;
    border: 1px solid #bae6fd;
}

.repair-pill-badge.gold {
    background: #fef3c7;
    color: #b45309;
    border-color: #fde68a;
}

.repair-detail-title {
    font-size: 1.85rem;
    font-weight: 900;
    color: #0f172a;
    line-height: 1.35;
    margin: 0;
    font-family: 'Cairo', sans-serif;
}

@media (max-width: 600px) {
    .repair-detail-title {
        font-size: 1.45rem;
    }
}

.repair-detail-subtitle {
    font-size: 0.95rem;
    color: #64748b;
    font-weight: 600;
    margin: -4px 0 0;
}

.repair-detail-desc {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.7;
    margin: 0;
}

/* Quick Direct Action Buttons */
.repair-detail-actions-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 8px;
}

.btn-repair-action {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 18px;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-sizing: border-box;
}

.btn-repair-action i {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.btn-repair-action small {
    display: block;
    font-size: 0.72rem;
    opacity: 0.85;
    font-weight: 600;
}

.btn-repair-action strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 800;
}

.btn-repair-action.call-action {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.btn-repair-action.call-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.45);
}

.btn-repair-action.map-action {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.2);
}

.btn-repair-action.map-action:hover {
    background: linear-gradient(135deg, #FF6B00 0%, #ea580c 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 0, 0.35);
}

/* Details 2-Column Sections Grid */
.repair-detail-sections-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .repair-detail-sections-grid {
        grid-template-columns: 1fr;
    }
}

.repair-detail-box {
    background: #ffffff;
    border-radius: 20px;
    border: 1.5px solid #eef2f6;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.repair-detail-box-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 8px;
    font-family: 'Cairo', sans-serif;
}

.repair-detail-box-desc {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0 0 16px;
    line-height: 1.5;
}

.repair-detail-tags-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.repair-detail-brand-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f0fdf4;
    color: #15803d;
    border: 1.5px solid #bbf7d0;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 800;
}

.repair-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.repair-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
    color: #334155;
}

.repair-contact-list li i {
    color: #FF6B00;
    font-size: 1.1rem;
    margin-top: 3px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.repair-contact-list li div {
    display: flex;
    flex-direction: column;
}

.repair-contact-list li strong {
    color: #0f172a;
    font-size: 0.82rem;
    margin-bottom: 2px;
}

.repair-contact-list li a {
    color: #0284c7;
    font-weight: 800;
    text-decoration: none;
}

.repair-contact-list li a:hover {
    text-decoration: underline;
}

/* Other Related Repair Centers Grid */
.repair-other-centers-section {
    margin-top: 30px;
}

.repair-other-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    font-family: 'Cairo', sans-serif;
}

.repair-other-title i {
    color: #FF6B00;
}

.repair-other-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.other-repair-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1.5px solid #eef2f6;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.other-repair-card:hover {
    transform: translateY(-3px);
    border-color: #FF6B00;
    box-shadow: 0 8px 20px rgba(255, 107, 0, 0.1);
}

.other-repair-img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.other-repair-info h4 {
    margin: 0 0 4px;
    font-size: 0.9rem;
    font-weight: 800;
    color: #0f172a;
}

.other-repair-info p {
    margin: 0;
    font-size: 0.78rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 4px;
}

.other-repair-info p i {
    color: #10b981;
}

/* Footer repair link */
.footer-repair-link {
    transition: all 0.2s ease;
}
.footer-repair-link:hover {
    color: #ea580c !important;
    text-decoration: underline !important;
}

/* ==========================================================================
   Categories Dedicated Page & Multi-Themed Dynamic Sliders
   ========================================================================== */
.categories-page-view {
    padding: 24px 0 60px;
    direction: rtl;
}

.categories-page-hero,
.categories-hero-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #111827 100%);
    border-radius: 24px;
    padding: 36px 32px;
    margin-bottom: 36px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.4);
}

.categories-page-hero::before,
.categories-hero-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.categories-page-hero::after,
.categories-hero-banner::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cat-hero-content {
    position: relative;
    z-index: 2;
}

.cat-hero-badge,
.categories-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #e0e7ff;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 14px;
}

.cat-hero-title,
.categories-hero-title {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.3;
}

.cat-hero-desc,
.categories-hero-desc {
    color: #94a3b8;
    font-size: 1rem;
    max-width: 650px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.cat-stats-row,
.categories-stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cat-stat-chip,
.cat-stat-card {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 12px;
    color: #cbd5e1;
    font-size: 0.85rem;
    font-weight: 600;
}

.cat-stat-card div {
    display: flex;
    flex-direction: column;
}

.cat-stat-card strong {
    color: #ffffff;
    font-size: 1.05rem;
}

.cat-stat-card span {
    font-size: 0.78rem;
    color: #94a3b8;
}

.cat-stat-chip i,
.cat-stat-card i {
    color: #38bdf8;
    font-size: 1.25rem;
}

/* Vertical Category Cards Grid */
.cat-section-header,
.categories-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.cat-section-title-wrap,
.cat-head-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cat-section-icon,
.cat-head-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.cat-section-title,
.cat-head-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
}

.cat-section-sub,
.cat-head-subtitle {
    font-size: 0.88rem;
    color: #64748b;
    margin-top: 2px;
}

.cat-vertical-grid,
.categories-vertical-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 48px;
}

.cat-vertical-card {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.cat-vertical-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
    border-color: rgba(99, 102, 241, 0.4);
}

.cat-card-media {
    position: relative;
    width: 100%;
    height: 160px;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cat-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cat-vertical-card:hover .cat-card-media img {
    transform: scale(1.08);
}

.cat-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.cat-card-icon-bubble {
    position: absolute;
    bottom: -18px;
    right: 16px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    z-index: 3;
    transition: transform 0.3s ease;
}

.cat-vertical-card:hover .cat-card-icon-bubble {
    transform: scale(1.1) rotate(5deg);
}

.cat-card-body {
    padding: 24px 16px 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cat-card-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 4px;
    line-height: 1.4;
}

.cat-card-name-en {
    font-size: 0.8rem;
    color: #94a3b8;
    text-transform: capitalize;
    margin-bottom: 12px;
}

.cat-card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

.cat-card-count {
    font-size: 0.82rem;
    font-weight: 700;
    color: #64748b;
}

.cat-card-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #4f46e5;
    transition: gap 0.2s ease;
}

.cat-vertical-card:hover .cat-card-action {
    gap: 10px;
    color: #4338ca;
}

/* Category Top Round Section on Categories Dedicated Page */
.cat-page-round-section {
    background: #ffffff !important;
    border-radius: 20px !important;
    padding: 12px 14px !important;
    margin-bottom: 20px !important;
    border: 1px solid #eef2f6 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
}

@media (max-width: 680px) {
    .cat-page-round-section {
        padding: 8px 6px !important;
        margin-bottom: 16px !important;
        border-radius: 16px !important;
    }

    .cat-vertical-grid,
    .categories-vertical-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        margin-bottom: 28px !important;
    }

    .cat-vertical-card {
        border-radius: 16px !important;
    }

    .cat-card-media {
        height: 115px !important;
    }

    .cat-card-badge {
        top: 6px !important;
        right: 6px !important;
        font-size: 0.62rem !important;
        padding: 2px 7px !important;
        border-radius: 6px !important;
    }

    body.ltr .cat-card-badge {
        right: auto !important;
        left: 6px !important;
    }

    .cat-card-icon-bubble {
        width: 32px !important;
        height: 32px !important;
        font-size: 0.88rem !important;
        bottom: -12px !important;
        right: 10px !important;
        border-radius: 8px !important;
    }

    body.ltr .cat-card-icon-bubble {
        right: auto !important;
        left: 10px !important;
    }

    .cat-card-body {
        padding: 16px 8px 10px !important;
    }

    .cat-card-name {
        font-size: 0.86rem !important;
        font-weight: 800 !important;
        margin-bottom: 2px !important;
        line-height: 1.3 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 1 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    .cat-card-name-en {
        font-size: 0.68rem !important;
        margin-bottom: 6px !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 1 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    .cat-card-footer {
        padding-top: 8px !important;
        font-size: 0.7rem !important;
    }

    .cat-card-count {
        font-size: 0.68rem !important;
    }

    .cat-card-action {
        font-size: 0.68rem !important;
    }
}

@media (max-width: 400px) {
    .cat-vertical-grid,
    .categories-vertical-grid {
        gap: 6px !important;
    }
    .cat-card-media {
        height: 95px !important;
    }
    .cat-card-body {
        padding: 14px 6px 8px !important;
    }
    .cat-card-name {
        font-size: 0.8rem !important;
    }
    .cat-card-count, .cat-card-action {
        font-size: 0.62rem !important;
    }
}

/* ==========================================================================
   DYNAMIC CATEGORY SLIDERS (8 Unique Themed Aesthetics)
   ========================================================================== */
.cat-showcase-container,
.categories-sliders-showcase {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.cat-showcase-section {
    border-radius: 24px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.cat-showcase-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.cat-showcase-title-area {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cat-showcase-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.cat-showcase-title {
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.3;
}

.cat-showcase-subtitle {
    font-size: 0.85rem;
    margin-top: 2px;
}

.cat-showcase-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cat-showcase-viewall {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.cat-showcase-nav-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.cat-showcase-nav-btn:hover {
    transform: scale(1.08);
}

.cat-theme-slider-viewport {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 6px 2px 16px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
    z-index: 2;
}

.cat-theme-slider-viewport::-webkit-scrollbar {
    display: none;
}

.cat-theme-slider-viewport .product-card {
    flex: 0 0 240px;
    max-width: 240px;
    border-radius: 18px;
}

/* THEME 1: CINEMA OBSIDIAN & NEO-CYAN (Screens & TVs - Ranked #1) */
.cat-theme-screens {
    background: linear-gradient(135deg, #090d16 0%, #0f172a 60%, #162032 100%);
    border: 1px solid rgba(6, 182, 212, 0.3);
    box-shadow: 0 16px 40px -10px rgba(6, 182, 212, 0.15);
}

.cat-theme-screens .cat-showcase-icon {
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    color: #ffffff;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
}

.cat-theme-screens .cat-showcase-title {
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(6, 182, 212, 0.3);
}

.cat-theme-screens .cat-showcase-subtitle {
    color: #94a3b8;
}

.cat-theme-screens .cat-showcase-viewall {
    background: rgba(6, 182, 212, 0.15);
    color: #22d3ee;
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.cat-theme-screens .cat-showcase-viewall:hover {
    background: #06b6d4;
    color: #041019;
}

.cat-theme-screens .cat-showcase-nav-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.cat-theme-screens .cat-showcase-nav-btn:hover {
    background: #06b6d4;
    color: #041019;
}

.cat-theme-screens .product-card {
    background: #1e293b;
    border-color: rgba(255, 255, 255, 0.08);
}

.cat-theme-screens .product-card:hover {
    border-color: #06b6d4;
    box-shadow: 0 10px 25px rgba(6, 182, 212, 0.25);
}

.cat-theme-screens .product-name {
    color: #f1f5f9;
}

/* THEME 2: ROYAL GOLD & CHAMPAGNE LUXURY (Large Appliances) */
.cat-theme-large-appliances {
    background: linear-gradient(135deg, #fffdfa 0%, #fef8ee 50%, #faf1dc 100%);
    border: 1px solid rgba(217, 119, 6, 0.25);
    box-shadow: 0 12px 35px -8px rgba(217, 119, 6, 0.12);
}

.cat-theme-large-appliances .cat-showcase-icon {
    background: linear-gradient(135deg, #d97706, #b45309);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(217, 119, 6, 0.3);
}

.cat-theme-large-appliances .cat-showcase-title {
    color: #78350f;
}

.cat-theme-large-appliances .cat-showcase-subtitle {
    color: #92400e;
}

.cat-theme-large-appliances .cat-showcase-viewall {
    background: #d97706;
    color: #ffffff;
}

.cat-theme-large-appliances .cat-showcase-viewall:hover {
    background: #b45309;
}

.cat-theme-large-appliances .cat-showcase-nav-btn {
    background: #ffffff;
    color: #78350f;
    border: 1px solid rgba(217, 119, 6, 0.2);
}

.cat-theme-large-appliances .cat-showcase-nav-btn:hover {
    background: #d97706;
    color: #ffffff;
}

/* THEME 3: GOURMET SUNSET EMBER & COPPER (Kitchen & Cooking) */
.cat-theme-kitchen {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 60%, #fed7aa 100%);
    border: 1px solid rgba(234, 88, 12, 0.25);
    box-shadow: 0 12px 30px rgba(234, 88, 12, 0.08);
}

.cat-theme-kitchen .cat-showcase-icon {
    background: linear-gradient(135deg, #ea580c, #c2410c);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(234, 88, 12, 0.3);
}

.cat-theme-kitchen .cat-showcase-title {
    color: #7c2d12;
}

.cat-theme-kitchen .cat-showcase-subtitle {
    color: #9a3412;
}

.cat-theme-kitchen .cat-showcase-viewall {
    background: #ea580c;
    color: #ffffff;
}

.cat-theme-kitchen .cat-showcase-viewall:hover {
    background: #c2410c;
}

.cat-theme-kitchen .cat-showcase-nav-btn {
    background: #ffffff;
    color: #7c2d12;
    border: 1px solid rgba(234, 88, 12, 0.2);
}

.cat-theme-kitchen .cat-showcase-nav-btn:hover {
    background: #ea580c;
    color: #ffffff;
}

/* THEME 4: ARCTIC POLAR FROST (Cooling & ACs) */
.cat-theme-cooling {
    background: linear-gradient(135deg, #f0fdf4 0%, #e0f2fe 50%, #bae6fd 100%);
    border: 1px solid rgba(2, 132, 199, 0.25);
    box-shadow: 0 12px 30px rgba(2, 132, 199, 0.08);
}

.cat-theme-cooling .cat-showcase-icon {
    background: linear-gradient(135deg, #0284c7, #0369a1);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.3);
}

.cat-theme-cooling .cat-showcase-title {
    color: #075985;
}

.cat-theme-cooling .cat-showcase-subtitle {
    color: #0369a1;
}

.cat-theme-cooling .cat-showcase-viewall {
    background: #0284c7;
    color: #ffffff;
}

.cat-theme-cooling .cat-showcase-viewall:hover {
    background: #0369a1;
}

.cat-theme-cooling .cat-showcase-nav-btn {
    background: #ffffff;
    color: #075985;
    border: 1px solid rgba(2, 132, 199, 0.2);
}

.cat-theme-cooling .cat-showcase-nav-btn:hover {
    background: #0284c7;
    color: #ffffff;
}

/* THEME 5: ROSE VELVET & BLOSSOM (Personal Care & Beauty) */
.cat-theme-beauty {
    background: linear-gradient(135deg, #fdf2f8 0%, #fce7f3 50%, #fbcfe8 100%);
    border: 1px solid rgba(219, 39, 119, 0.25);
    box-shadow: 0 12px 30px rgba(219, 39, 119, 0.08);
}

.cat-theme-beauty .cat-showcase-icon {
    background: linear-gradient(135deg, #db2777, #be185d);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(219, 39, 119, 0.3);
}

.cat-theme-beauty .cat-showcase-title {
    color: #831843;
}

.cat-theme-beauty .cat-showcase-subtitle {
    color: #9d174d;
}

.cat-theme-beauty .cat-showcase-viewall {
    background: #db2777;
    color: #ffffff;
}

.cat-theme-beauty .cat-showcase-viewall:hover {
    background: #be185d;
}

.cat-theme-beauty .cat-showcase-nav-btn {
    background: #ffffff;
    color: #831843;
    border: 1px solid rgba(219, 39, 119, 0.2);
}

.cat-theme-beauty .cat-showcase-nav-btn:hover {
    background: #db2777;
    color: #ffffff;
}

/* THEME 6: CYBER VIOLET & NEON BASS (Audio & Sound) */
.cat-theme-audio {
    background: linear-gradient(135deg, #1e1035 0%, #2e1065 60%, #3b0764 100%);
    border: 1px solid rgba(168, 85, 247, 0.35);
    box-shadow: 0 16px 40px -10px rgba(168, 85, 247, 0.2);
}

.cat-theme-audio .cat-showcase-icon {
    background: linear-gradient(135deg, #a855f7, #7c3aed);
    color: #ffffff;
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
}

.cat-theme-audio .cat-showcase-title {
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(168, 85, 247, 0.3);
}

.cat-theme-audio .cat-showcase-subtitle {
    color: #d8b4fe;
}

.cat-theme-audio .cat-showcase-viewall {
    background: rgba(168, 85, 247, 0.2);
    color: #e9d5ff;
    border: 1px solid rgba(168, 85, 247, 0.4);
}

.cat-theme-audio .cat-showcase-viewall:hover {
    background: #a855f7;
    color: #ffffff;
}

.cat-theme-audio .cat-showcase-nav-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.cat-theme-audio .cat-showcase-nav-btn:hover {
    background: #a855f7;
    color: #ffffff;
}

.cat-theme-audio .product-card {
    background: #2b1c4a;
    border-color: rgba(255, 255, 255, 0.08);
}

.cat-theme-audio .product-card:hover {
    border-color: #a855f7;
    box-shadow: 0 10px 25px rgba(168, 85, 247, 0.3);
}

.cat-theme-audio .product-name {
    color: #f3e8ff;
}

/* THEME 7: EMERALD ECO FRESH (Cleaning & House Care) */
.cat-theme-cleaning {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 50%, #bbf7d0 100%);
    border: 1px solid rgba(16, 185, 129, 0.25);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.08);
}

.cat-theme-cleaning .cat-showcase-icon {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.3);
}

.cat-theme-cleaning .cat-showcase-title {
    color: #064e3b;
}

.cat-theme-cleaning .cat-showcase-subtitle {
    color: #047857;
}

.cat-theme-cleaning .cat-showcase-viewall {
    background: #10b981;
    color: #ffffff;
}

.cat-theme-cleaning .cat-showcase-viewall:hover {
    background: #059669;
}

.cat-theme-cleaning .cat-showcase-nav-btn {
    background: #ffffff;
    color: #064e3b;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.cat-theme-cleaning .cat-showcase-nav-btn:hover {
    background: #10b981;
    color: #ffffff;
}

/* THEME 8: SAPPHIRE MODERN TECH (Default for other categories) */
.cat-theme-default {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 50%, #e2e8f0 100%);
    border: 1px solid rgba(71, 85, 105, 0.15);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
}

.cat-theme-default .cat-showcase-icon {
    background: linear-gradient(135deg, #4f46e5, #4338ca);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.25);
}

.cat-theme-default .cat-showcase-title {
    color: #1e293b;
}

.cat-theme-default .cat-showcase-subtitle {
    color: #64748b;
}

.cat-theme-default .cat-showcase-viewall {
    background: #4f46e5;
    color: #ffffff;
}

.cat-theme-default .cat-showcase-viewall:hover {
    background: #4338ca;
}

.cat-theme-default .cat-showcase-nav-btn {
    background: #ffffff;
    color: #1e293b;
    border: 1px solid rgba(71, 85, 105, 0.15);
}

.cat-theme-default .cat-showcase-nav-btn:hover {
    background: #4f46e5;
    color: #ffffff;
}

/* LOAD MORE SECTION */
.cat-load-more-section {
    text-align: center;
    margin-top: 40px;
    padding: 30px 20px;
    background: linear-gradient(180deg, transparent, rgba(241, 245, 249, 0.5));
    border-radius: 20px;
}

.btn-load-more-categories {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: #ffffff;
    border: none;
    padding: 14px 36px;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.35);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-load-more-categories:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 14px 32px rgba(79, 70, 229, 0.45);
}

.btn-load-more-categories:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .categories-page-hero {
        padding: 24px 18px;
    }
    .cat-hero-title {
        font-size: 1.5rem;
    }
    .cat-vertical-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .cat-card-media {
        height: 120px;
    }
    .cat-showcase-section {
        padding: 16px;
    }
    .cat-theme-slider-viewport .product-card {
        flex: 0 0 180px;
        max-width: 180px;
    }
}





/* PROTECTIVE STORE BUILDER CATEGORY & COUNTDOWN STYLES */
.category-avatar-img, .category-circle-img {
    max-width: 58px !important;
    max-height: 58px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}
.category-btn-avatar, .category-circle-img-wrap {
    width: 68px !important;
    height: 68px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06) !important;
}
.category-circle-card {
    width: 82px !important;
    min-width: 82px !important;
    max-width: 82px !important;
}
.countdown-section {
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto 20px auto !important;
    box-sizing: border-box !important;
}


/* =====================================================================
   MULTI-BRANCH UI (Main Branch Khamis Mushait + Bisha Branch) - v9.0.0
   ===================================================================== */
.product-branch-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 4px 0 6px;
}
.branch-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.66rem;
    font-weight: 700;
    line-height: 1.2;
    padding: 2px 7px;
    border-radius: 999px;
    border: 1px solid transparent;
    white-space: nowrap;
}
.branch-chip.is-available.branch-main { background: #fff3e8; color: #c2410c; border-color: #fed7aa; }
.branch-chip.is-available.branch-bisha { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }
.branch-chip.is-available.branch-abha_road { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
.branch-chip.is-available.branch-mahayil { background: #f5f3ff; color: #7c3aed; border-color: #ddd6fe; }
.branch-chip.is-unavailable { background: #f1f5f9; color: #94a3b8; border-color: #e2e8f0; text-decoration: line-through; }

/* Product page availability block */
.product-branch-availability {
    margin: 14px 0;
    padding: 12px;
    border: 1.5px solid #ffd6b0;
    border-radius: 12px;
    background: #fffaf6;
}
.product-branch-availability .pba-title {
    font-weight: 800;
    font-size: 0.92rem;
    color: var(--primary, #FF6B00);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.product-branch-availability .pba-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 8px;
}
.product-branch-availability .pba-item {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px;
    font-size: 0.8rem;
}
.product-branch-availability .pba-item.is-available { border-color: #86efac; }
.product-branch-availability .pba-item.is-unavailable { opacity: 0.75; }
.product-branch-availability .pba-status {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 4px;
}
.product-branch-availability .is-available .pba-status i { color: #16a34a; }
.product-branch-availability .is-unavailable .pba-status i { color: #dc2626; }
.product-branch-availability .pba-price {
    margin-inline-start: auto;
    font-weight: 800;
    color: #1d4ed8;
    background: #eff6ff;
    border-radius: 6px;
    padding: 1px 6px;
}
.product-branch-availability .pba-addr { color: #475569; line-height: 1.45; margin-bottom: 6px; }
.product-branch-availability .pba-map {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 700;
    font-size: 0.76rem;
    color: var(--primary, #FF6B00);
    text-decoration: none;
}
.product-branch-availability .pba-map:hover { text-decoration: underline; }

/* Cart: pickup branch picker */
.cart-branch-info .cart-branch-picker-title {
    font-weight: 800;
    font-size: 0.8rem;
    color: #1e293b;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.cart-branch-options { display: flex; flex-direction: column; gap: 6px; }
.cart-branch-option {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 8px 10px;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.cart-branch-option:hover { border-color: #fdba74; }
.cart-branch-option.selected { border-color: var(--primary, #FF6B00); background: #fef5f0; }
.cart-branch-option.branch-bisha.selected { border-color: #1d4ed8; background: #eff6ff; }
.cart-branch-option.branch-abha_road.selected { border-color: #059669; background: #ecfdf5; }
.cart-branch-option.branch-mahayil.selected { border-color: #7c3aed; background: #f5f3ff; }
.cart-branch-option .cbo-head { display: flex; align-items: center; gap: 6px; }
.cart-branch-option .cbo-radio { color: #94a3b8; }
.cart-branch-option.selected .cbo-radio { color: var(--primary, #FF6B00); }
.cart-branch-option.branch-bisha.selected .cbo-radio { color: #1d4ed8; }
.cart-branch-option.branch-abha_road.selected .cbo-radio { color: #059669; }
.cart-branch-option.branch-mahayil.selected .cbo-radio { color: #7c3aed; }
.cart-branch-option .cbo-name { font-size: 0.82rem; color: #0f172a; }
.cart-branch-option .cbo-addr { font-size: 0.74rem; color: #475569; margin: 3px 0 5px; line-height: 1.4; }
.cart-branch-option .cbo-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px; }
.cart-branch-info .cart-branch-option a.cbo-map {
    display: inline-flex;
    font-size: 0.74rem;
    color: var(--primary, #FF6B00);
    text-decoration: underline;
}
.cbo-avail { font-size: 0.7rem; font-weight: 700; border-radius: 6px; padding: 1px 6px; }
.cbo-avail.ok { color: #15803d; background: #dcfce7; }
.cbo-avail.warn { color: #b45309; background: #fef3c7; }

/* Cart: delivery branch (nearest branch) */
.cart-delivery-branch-box {
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    padding: 8px 10px;
    margin-bottom: 8px;
}
.cart-delivery-branch-box .cdb-title { font-size: 0.78rem; font-weight: 800; color: #1e293b; margin-bottom: 6px; }
.cart-delivery-branch-box .cdb-note { font-weight: 600; color: #64748b; font-size: 0.72rem; }
.cart-delivery-branch-box .cdb-options { display: flex; gap: 6px; flex-wrap: wrap; }
.cart-delivery-branch-box .cdb-option {
    flex: 1;
    min-width: 120px;
    font-family: inherit;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 7px 8px;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    background: #ffffff;
    color: #334155;
    cursor: pointer;
}
.cart-delivery-branch-box .cdb-option.selected { border-color: var(--primary, #FF6B00); color: var(--primary, #FF6B00); background: #fef5f0; }
.cart-delivery-branch-box .cdb-option.branch-bisha.selected { border-color: #1d4ed8; color: #1d4ed8; background: #eff6ff; }
.cart-delivery-branch-box .cdb-option.branch-abha_road.selected { border-color: #059669; color: #059669; background: #ecfdf5; }
.cart-delivery-branch-box .cdb-option.branch-mahayil.selected { border-color: #7c3aed; color: #7c3aed; background: #f5f3ff; }
.cart-delivery-branch-box .cdb-warning {
    margin-top: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #b45309;
    background: #fef3c7;
    border-radius: 6px;
    padding: 5px 8px;
    line-height: 1.45;
}
.cart-item-branch-warning {
    display: inline-block;
    margin-top: 4px;
    font-size: 0.68rem;
    font-weight: 700;
    color: #b45309;
    background: #fef3c7;
    border-radius: 4px;
    padding: 2px 6px;
}

/* Availability confirmation dialog */
.branch-confirm-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    background: rgba(15, 23, 42, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.branch-confirm-box {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 16px;
    padding: 20px 18px 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    text-align: center;
    color: #0f172a;
}
.branch-confirm-box .bc-icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 8px;
    border-radius: 50%;
    background: #fef3c7;
    color: #b45309;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}
.branch-confirm-box .bc-title { margin: 0 0 6px; font-size: 1.05rem; font-weight: 800; }
.branch-confirm-box .bc-msg { margin: 0 0 8px; font-size: 0.88rem; color: #334155; line-height: 1.55; }
.branch-confirm-box .bc-list {
    list-style: none;
    margin: 0 0 8px;
    padding: 8px 10px;
    background: #f8fafc;
    border-radius: 10px;
    text-align: start;
    font-size: 0.8rem;
    max-height: 160px;
    overflow: auto;
}
.branch-confirm-box .bc-list li { padding: 3px 0; display: flex; gap: 6px; align-items: baseline; }
.branch-confirm-box .bc-list i { color: #94a3b8; }
.branch-confirm-box .bc-q { margin: 0 0 12px; font-weight: 800; font-size: 0.92rem; }
.branch-confirm-box .bc-actions { display: flex; flex-direction: column; gap: 8px; }
.branch-confirm-box .bc-btn {
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 800;
    border-radius: 10px;
    padding: 11px 12px;
    cursor: pointer;
    border: 2px solid transparent;
}
.branch-confirm-box .bc-ok { background: var(--primary, #FF6B00); color: #ffffff; }
.branch-confirm-box .bc-switch { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }
.branch-confirm-box .bc-cancel { background: #ffffff; color: #475569; border-color: #e2e8f0; }

/* Branch tags are mandatory on every product card (home page sections, category pages, sliders) */
.product-card .product-branch-chips,
.best-seller-card .product-branch-chips,
.new-arrival-card .product-branch-chips,
.rec-product-card .product-branch-chips,
.disc-product-card .product-branch-chips,
.best-product-card .product-branch-chips,
.product-branch-chips {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
    margin: 4px 0 6px !important;
    position: static !important;
    max-height: none !important;
    overflow: visible !important;
}
.product-branch-chips .branch-chip {
    display: inline-flex !important;
    visibility: visible !important;
}

/* =====================================================================
   INTERACTIVE MAP LOCATION PICKER MODAL (Leaflet + OpenStreetMap)
   ===================================================================== */
.cart-map-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
    animation: mapModalFadeIn 0.25s ease-out;
}
@keyframes mapModalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
.cart-map-modal-card {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.2);
    width: 100%;
    max-width: 720px;
    max-height: 94vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    animation: mapModalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes mapModalSlideUp {
    from { transform: translateY(24px) scale(0.97); }
    to { transform: translateY(0) scale(1); }
}
.cart-map-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.cart-map-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}
.cart-map-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #FF6B00 0%, #FF3366 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.35);
}
.cart-map-title {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.2px;
}
.cart-map-subtitle {
    margin: 2px 0 0;
    font-size: 0.74rem;
    color: #94a3b8;
}
.cart-map-close-btn {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.cart-map-close-btn:hover {
    background: #ef4444;
    transform: rotate(90deg);
}

/* Floating Search Bar & GPS Track */
.cart-map-search-bar {
    display: flex;
    gap: 8px;
    padding: 10px 14px;
    background: #f8fafc;
    border-bottom: 1.5px solid #e2e8f0;
    position: relative;
    z-index: 10;
}
.cart-map-search-input-wrap {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}
.cart-map-search-input-wrap .search-icon {
    position: absolute;
    right: 12px;
    color: #64748b;
    font-size: 0.88rem;
    pointer-events: none;
}
[dir="ltr"] .cart-map-search-input-wrap .search-icon {
    right: auto;
    left: 12px;
}
.cart-map-search-input-wrap input {
    width: 100%;
    box-sizing: border-box;
    padding: 9px 38px 9px 34px;
    border-radius: 10px;
    border: 1.5px solid #cbd5e1;
    font-family: inherit;
    font-size: 0.85rem;
    background: #ffffff;
    color: #0f172a;
    transition: border-color 0.2s, box-shadow 0.2s;
}
[dir="ltr"] .cart-map-search-input-wrap input {
    padding: 9px 34px 9px 38px;
}
.cart-map-search-input-wrap input:focus {
    outline: none;
    border-color: #FF6B00;
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15);
}
.search-clear-btn {
    position: absolute;
    left: 10px;
    background: #e2e8f0;
    border: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    color: #475569;
    font-size: 0.7rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
[dir="ltr"] .search-clear-btn {
    left: auto;
    right: 10px;
}
.map-search-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #ffffff;
    border-radius: 12px;
    border: 1.5px solid #cbd5e1;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    max-height: 220px;
    overflow-y: auto;
    z-index: 1000;
}
.map-search-item {
    padding: 9px 12px;
    font-size: 0.8rem;
    color: #1e293b;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.15s ease;
}
.map-search-item:last-child { border-bottom: none; }
.map-search-item:hover {
    background: #fef5f0;
    color: #c2410c;
}
.map-search-item i {
    color: #FF6B00;
    font-size: 0.85rem;
    flex-shrink: 0;
}

.btn-map-track-gps {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 8px 14px;
    font-family: inherit;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 3px 8px rgba(5, 150, 105, 0.25);
    transition: all 0.2s ease;
}
.btn-map-track-gps:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 12px rgba(5, 150, 105, 0.35);
}
.btn-map-track-gps i {
    font-size: 0.95rem;
}

/* Map Viewport */
.cart-map-viewport-wrapper {
    position: relative;
    width: 100%;
    height: 380px;
    min-height: 320px;
    background: #e2e8f0;
}
.cart-map-viewport {
    width: 100%;
    height: 100%;
    z-index: 1;
}
.map-helper-badge {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 800;
    background: rgba(15, 23, 42, 0.85);
    color: #ffffff;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

/* Selected Location & Nearest Branch Details */
.cart-map-footer-details {
    padding: 12px 16px;
    background: #f8fafc;
    border-top: 1.5px solid #e2e8f0;
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}
.cmd-location-box {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex: 1;
    min-width: 240px;
}
.cmd-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #ffedd5;
    color: #ea580c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}
.cmd-texts {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.cmd-district {
    font-size: 0.86rem;
    font-weight: 800;
    color: #0f172a;
}
.cmd-address {
    font-size: 0.75rem;
    color: #475569;
    line-height: 1.35;
    max-width: 340px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.cmd-coords {
    font-size: 0.68rem;
    color: #94a3b8;
    font-family: monospace;
}
.cmd-branch-box {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 6px 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 170px;
}
.cmd-branch-title {
    font-size: 0.68rem;
    font-weight: 700;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 4px;
}
.cmd-branch-name {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--primary, #FF6B00);
}

/* Actions footer */
.cart-map-actions {
    display: flex;
    gap: 10px;
    padding: 12px 16px;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
}
.btn-confirm-map-location {
    flex: 2;
    background: linear-gradient(135deg, #FF6B00 0%, #FF3366 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 12px 18px;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 14px rgba(255, 107, 0, 0.35);
    transition: all 0.2s ease;
}
.btn-confirm-map-location:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(255, 107, 0, 0.45);
}
.btn-cancel-map-location {
    flex: 1;
    background: #f1f5f9;
    color: #475569;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s ease;
}
.btn-cancel-map-location:hover {
    background: #e2e8f0;
    color: #0f172a;
}

/* Custom Leaflet Pin Markers */
.leaflet-custom-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    cursor: pointer;
}
.leaflet-pin-body {
    width: 32px;
    height: 32px;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 0.85rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
    border: 2px solid #ffffff;
}
.leaflet-pin-body i {
    transform: rotate(45deg);
}
.leaflet-pin-pulse {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 107, 0, 0.4);
    animation: pinPulseRing 1.6s infinite ease-out;
    position: absolute;
    bottom: -6px;
}
@keyframes pinPulseRing {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(2.4); opacity: 0; }
}

@media (max-width: 640px) {
    .cart-map-modal-card {
        max-height: 98vh;
        border-radius: 16px 16px 0 0;
    }
    .cart-map-viewport-wrapper {
        height: 280px;
    }
    .cart-map-footer-details {
        flex-direction: column;
        align-items: stretch;
    }
    .cmd-branch-box {
        min-width: unset;
    }
}
