
        /* ===== إعدادات عامة - ثيم أمجاد الفلاح ===== */
        :root {
            --primary-color: #2d2d2d;
            --secondary-color: #1a1a1a;
            --accent-color: #C5A572;
            --danger-color: #e63946;
            --warning-color: #ffa500;
            --info-color: #222222;
            --purple-color: #8e24aa;
            --pink-color: #d81b60;
            --dark-color: #1a1a1a;
            --light-color: #f5f5f5;
            --gray-color: #888888;
            --border-color: #e5e5e5;
            --shadow-sm: 0 2px 4px rgba(0,0,0,0.06);
            --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
            --shadow-lg: 0 8px 24px rgba(0,0,0,0.10);
            --shadow-xl: 0 12px 36px rgba(0,0,0,0.12);
            --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            --radius: 8px;
            --radius-sm: 6px;
            --radius-lg: 12px;
            --radius-full: 50px;
            --gradient-primary: linear-gradient(135deg, #2d2d2d, #1a1a1a);
            --gradient-accent: linear-gradient(135deg, #C5A572, #B8956A);
            --gradient-danger: linear-gradient(135deg, var(--danger-color), #c62828);
            --gradient-warning: linear-gradient(135deg, var(--warning-color), #e65100);
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        /* ===== السكرول العام - أخضر غامق ===== */
        ::-webkit-scrollbar {
            width: 6px;
            height: 6px;
        }
        
        ::-webkit-scrollbar-track {
            background: #e8f5e9;
        }
        
        ::-webkit-scrollbar-thumb {
            background: #ccc;
            border-radius: 10px;
        }
        
        ::-webkit-scrollbar-thumb:hover {
            background: #bbb;
        }
        
        /* Firefox */
        * {
            scrollbar-width: thin;
            scrollbar-color: #ccc #f5f5f5;
        }
        
        body {
            font-family: 'Cairo', sans-serif;
            background: #fff;
            color: var(--dark-color);
            direction: rtl;
            line-height: 1.6;
            overflow-x: hidden;
            padding-top: 140px;
            position: relative;
            min-height: 100vh;
        }
        
        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.88)), url('../img/صور للفئات/catogery-فواكه.jpg');
            background-size: cover;
            background-position: center;
            background-attachment: fixed;
            background-repeat: no-repeat;
            z-index: -1;
            pointer-events: none;
        }
        
        .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        @media (min-width: 1200px) {
            .container {
                max-width: 1320px;
                padding: 0 40px;
            }
        }
        
        @media (min-width: 1400px) {
            .container {
                max-width: 1500px;
                padding: 0 60px;
            }
        }
        
        /* ===== طھط­ط³ظٹظ†ط§طھ ط§ظ„ط£ط¯ط§ط، ===== */
        .gpu-accelerated {
            transform: translateZ(0);
            backface-visibility: hidden;
            perspective: 1000px;
        }
        
        /* ===== طھط£ط«ظٹط±ط§طھ ط§ظ„طھط­ظ…ظٹظ„ ===== */
        .lazy-load {
            opacity: 0;
            transition: opacity 0.5s ease;
        }
        
        .lazy-load.loaded {
            opacity: 1;
        }
        
        /* ===== طھط£ط«ظٹط±ط§طھ ط®ط§طµط© ===== */
        .shimmer {
            background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
            background-size: 200% 100%;
            animation: shimmer 1.5s infinite;
        }
        
        @keyframes shimmer {
            0% { background-position: 200% 0; }
            100% { background-position: -200% 0; }
        }
        
        .float {
            animation: float 3s ease-in-out infinite;
        }
        
        @keyframes float {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
        }
        
        /* ===== طھط£ط«ظٹط±ط§طھ ط¥ط¶ط§ظپظٹط© ===== */
        .fade-in {
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.6s ease;
        }
        
        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }
        
        .scale-in {
            opacity: 1;
            transform: scale(1);
            transition: all 0.5s ease;
        }
        
        .scale-in.visible {
            opacity: 1;
            transform: scale(1);
        }
        
        .slide-in-right {
            opacity: 1;
            transform: translateX(0);
            transition: all 0.6s ease;
        }
        
        .slide-in-right.visible {
            opacity: 1;
            transform: translateX(0);
        }
        
        /* ===== الهيدر - تصميم بنده ===== */
        .header {
            background: #ffffff;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06);
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            transition: transform 0.3s ease;
        }
        
        .header.scrolled {
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        }
        
        .header.hidden {
            transform: translateY(-100%);
        }
        
        /* إخفاء header-top */
        .header-top {
            display: none !important;
        }
        
        .header-top-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .promo-text {
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .header-contact {
            display: flex;
            align-items: center;
            gap: 8px;
            font-weight: 600;
        }
        
        @media (max-width: 768px) {
            .header-top {
                display: none;
            }
        }
        
        .header-main {
            padding: 16px 0;
        }
        
        .header-content {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 24px;
            padding: 0 40px;
            max-width: 1400px;
            margin: 0 auto;
        }
        
        .logo {
            display: flex;
            align-items: center;
            gap: 0;
            text-decoration: none;
            flex-shrink: 0;
        }
        
        .logo-icon {
            width: 100px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .logo-icon img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }
        
        .logo-text {
            display: none;
        }
        
        .search-bar {
            flex: 1;
            max-width: 700px;
            position: relative;
        }
        
        .search-input {
            width: 100%;
            padding: 12px 50px 12px 20px;
            border: 1px solid #e0e0e0;
            border-radius: 30px;
            font-size: 14px;
            font-weight: 400;
            transition: all 0.2s ease;
            background: #ffffff;
            height: 48px;
            color: #333;
        }
        
        .search-input::placeholder {
            color: #999;
        }
        
        .search-input:focus {
            outline: none;
            border-color: #1f2937;
            box-shadow: 0 0 0 2px rgba(44, 85, 48, 0.1);
        }
        
        .search-btn {
            position: absolute;
            left: 8px;
            top: 50%;
            transform: translateY(-50%);
            background: transparent;
            color: #999;
            border: none;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s ease;
        }
        
        .search-btn:hover {
            color: #1f2937;
        }
        
        .search-btn i {
            font-size: 18px;
        }
        
        /* ط¥طµظ„ط§ط­ ط£ظٹظ‚ظˆظ†ط© ط§ظ„ط¨ط­ط« ظپظٹ ط§ظ„ط´ط§ط´ط§طھ ط§ظ„طµط؛ظٹط±ط© */
        @media (max-width: 576px) {
            .search-btn {
                width: 40px;
                height: 40px;
                left: 4px;
                top: 4px;
                background: linear-gradient(135deg, #3b82f6, #1e40af) !important;
            }
            
            .search-btn i {
                font-size: 20px;
                color: white !important;
            }
            
            .search-input {
                height: 48px;
                padding: 12px 48px 12px 20px;
                border: 2px solid #e5e7eb;
            }
            
            .search-input:focus {
                border-color: #3b82f6 !important;
                box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
            }
        }
        
        .header-actions {
            display: flex;
            align-items: center;
            gap: 20px;
            flex-shrink: 0;
        }
        
        .action-btn {
            position: relative;
            background: #ffffff;
            border: 1px solid #e0e0e0;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            color: #1f2937;
            font-size: 20px;
            transition: all 0.2s ease;
            margin: 0;
        }
        
        .action-btn:hover {
            background: #f5f5f5;
            border-color: #1f2937;
        }
        
        /* زر تسجيل الدخول للزوار */
        .user-login-btn {
            background: transparent;
            border: none;
            color: #333;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            padding: 10px 16px;
            border-radius: 8px;
            transition: all 0.2s ease;
            white-space: nowrap;
        }
        
        .user-login-btn:hover {
            background: #f5f5f5;
            color: #1f2937;
        }
        
        /* Bottom Navigation للموبايل - تصميم جديد أنيق */
        .mobile-bottom-nav {
            display: none;
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: #ffffff;
            border-top: 1px solid #eee;
            padding: 8px 0 12px;
            padding-bottom: max(12px, env(safe-area-inset-bottom));
            z-index: 998;
            box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.05);
        }
        
        .mobile-bottom-nav-content {
            display: flex;
            justify-content: space-around;
            align-items: center;
            max-width: 500px;
            margin: 0 auto;
            padding: 0 5px;
        }
        
        /* توسيع الشريط في الشاشات المتوسطة */
        @media (min-width: 768px) and (max-width: 1199px) {
            .mobile-bottom-nav-content {
                max-width: 100%;
                padding: 0 30px;
            }
            
            .mobile-nav-item {
                padding: 8px 16px;
            }
            
            .mobile-nav-item i {
                font-size: 21px;
            }
            
            .mobile-nav-item span {
                font-size: 10px;
            }
        }
        
        .mobile-nav-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 4px;
            padding: 6px 12px;
            cursor: pointer;
            transition: all 0.2s ease;
            position: relative;
            flex: 1;
            text-decoration: none !important;
        }
        
        /* خط ذهبي من فوق عند التحديد */
        .mobile-nav-item::before {
            content: '';
            position: absolute;
            top: -8px;
            left: 50%;
            transform: translateX(-50%) scaleX(0);
            width: 24px;
            height: 2px;
            background: #C5A572;
            border-radius: 2px;
            transition: transform 0.2s ease;
        }
        
        .mobile-nav-item:hover::before,
        .mobile-nav-item.active::before {
            transform: translateX(-50%) scaleX(1);
        }
        
        .mobile-nav-item:active {
            transform: scale(0.96);
        }
        
        .mobile-nav-item svg {
            width: 22px;
            height: 22px;
            color: #333;
            transition: color 0.2s ease;
        }
        
        .mobile-nav-item i {
            font-size: 20px;
            color: #333;
            transition: color 0.2s ease;
        }
        
        .mobile-nav-item span {
            font-size: 10px;
            color: #333;
            font-weight: 500;
            transition: color 0.2s ease;
        }
        
        .mobile-nav-item:hover svg,
        .mobile-nav-item.active svg,
        .mobile-nav-item:hover i,
        .mobile-nav-item.active i {
            color: #C5A572;
        }
        
        .mobile-nav-item:hover span,
        .mobile-nav-item.active span {
            color: #333;
        }
        
        /* المفضلة - لون وردي */
        #mobileNavFavorites.active svg,
        #mobileNavFavorites:hover svg {
            color: #ec4899;
        }
        
        /* البادج */
        .mobile-nav-badge {
            position: absolute;
            top: -5px;
            right: 50%;
            transform: translateX(22px);
            background: #C5A572;
            color: #fff;
            font-size: 10px;
            font-weight: 700;
            min-width: 18px;
            height: 18px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0 4px;
            line-height: 1;
            box-shadow: 0 1px 3px rgba(0,0,0,0.2);
        }
        
        /* بادج المفضلة وردي */
        #mobileNavFavorites .mobile-nav-badge {
            background: #ec4899;
        }
        
        /* إجمالي السلة */
        .cart-total-text {
            font-size: 10px;
            color: #333;
            transition: color 0.2s ease;
        }
        
        .cart-total-text.has-items {
            color: #C5A572;
            font-weight: 600;
        }
        
        @media (max-width: 1199px) {
            .mobile-bottom-nav {
                display: block;
            }
            
            .header-actions {
                display: none !important;
            }
            
            body {
                padding-bottom: calc(70px + env(safe-area-inset-bottom));
            }
        }
        
        /* تحسينات للشاشات الصغيرة جداً */
        @media (max-width: 380px) {
            .mobile-bottom-nav {
                padding: 6px 0 10px;
                padding-bottom: max(10px, env(safe-area-inset-bottom));
            }
            
            .mobile-bottom-nav-content {
                padding: 0 2px;
                gap: 2px;
            }
            
            .mobile-nav-item {
                padding: 4px 6px;
                gap: 2px;
                min-width: 0;
            }
            
            .mobile-nav-item svg {
                width: 20px;
                height: 20px;
            }
            
            .mobile-nav-item span {
                font-size: 9px;
            }
            
            .mobile-nav-badge {
                min-width: 16px;
                height: 16px;
                font-size: 9px;
                transform: translateX(18px);
            }
            
            /* إخفاء بعض العناصر في الشاشات الصغيرة جداً */
            .tablet-only-item {
                display: none !important;
            }
            
            body {
                padding-bottom: calc(60px + env(safe-area-inset-bottom));
            }
        }
        
        /* للشاشات الصغيرة (320px - 360px) */
        @media (max-width: 360px) {
            .mobile-nav-item span {
                font-size: 8px;
            }
            
            .mobile-nav-item svg {
                width: 18px;
                height: 18px;
            }
        }
        
        /* السلة تظهر فقط في الشاشات الصغيرة */
        .mobile-only-item {
            display: none;
        }
        
        @media (max-width: 767px) {
            .mobile-only-item {
                display: flex !important;
            }
            
            /* طلباتي تختفي في الشاشات الصغيرة */
            .tablet-only-item {
                display: none !important;
            }
        }
        
        @media (min-width: 768px) and (max-width: 1199px) {
            .mobile-only-item {
                display: none !important;
            }
            
            .tablet-only-item {
                display: flex !important;
            }
        }
        
        .cart-btn:hover {
            transform: none !important;
        }
        
        .cart-btn i {
            transition: none !important;
        }
        
        .cart-btn:hover i {
            transform: none !important;
        }
        
      
        
        .favorites-btn {
            background: #ffffff;
            color: #1f2937;
            border: 1px solid #e0e0e0;
        }
        
        .favorites-btn:hover {
            background: #f5f5f5;
            border-color: #1f2937;
        }
        

        

        
        .action-btn i {
            transition: var(--transition);
            position: relative;
            z-index: 1;
        }
        
        .action-badge {
            position: absolute;
            top: -4px;
            left: -4px;
            background: #e74c3c;
            color: white;
            font-size: 11px;
            font-weight: 700;
            min-width: 20px;
            height: 20px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 2;
            border: 2px solid white;
            padding: 0 5px;
        }
        
        @keyframes pulse-countdown {
            0%, 100% { 
                transform: scale(1);
                box-shadow: 0 4px 12px rgba(244, 67, 54, 0.3);
            }
            50% { 
                transform: scale(1.02);
                box-shadow: 0 6px 16px rgba(244, 67, 54, 0.5);
            }
        }
        
        @keyframes bounce {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-3px); }
        }
        
        .cart-btn {
            background: #ffffff;
            color: #1f2937;
            border: 1px solid #e0e0e0;
            padding: 10px 20px;
            width: auto;
            gap: 12px;
            font-weight: 600;
            font-size: 14px;
            border-radius: 30px;
            transition: all 0.2s ease;
            margin: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            height: 48px;
        }
        
        .cart-btn:hover {
            background: #f5f5f5;
            border-color: #1f2937;
        }
        
        .cart-btn i {
            font-size: 20px;
        }
        
        .cart-price {
            font-weight: 700;
            font-size: 15px;
            color: #1f2937;
        }
        
        /* طھط£ط«ظٹط±ط§طھ ط§ظ„ط§ظ†طھظ‚ط§ظ„ ظ„ظ„ظ…ظپط¶ظ„ط© ظˆط§ظ„ط³ظ„ط© */
        .page-transition {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(44, 85, 48, 0.95), rgba(74, 124, 89, 0.95));
            backdrop-filter: blur(10px);
            z-index: 9999;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .page-transition.active {
            opacity: 1;
            visibility: visible;
        }
        
        .transition-content {
            text-align: center;
            color: white;
            transform: scale(0.9) translateY(20px);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            background: rgba(255, 255, 255, 0.1);
            padding: 40px;
            border-radius: 20px;
            backdrop-filter: blur(15px);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        
        .page-transition.active .transition-content {
            transform: scale(1) translateY(0);
        }
        
        .transition-icon {
            font-size: 50px;
            margin-bottom: 15px;
            animation: smoothPulse 1.2s ease-in-out infinite;
        }
        
        .transition-text {
            font-size: 18px;
            font-weight: 600;
            opacity: 0.9;
        }
        
        @keyframes smoothPulse {
            0%, 100% { 
                transform: scale(1);
                opacity: 1;
            }
            50% { 
                transform: scale(1.05);
                opacity: 0.8;
            }
        }
        
        /* طھط£ط«ظٹط± ط§ظ„ط¶ط؛ط· ط¹ظ„ظ‰ ط§ظ„ط£ظٹظ‚ظˆظ†ط§طھ */
        .favorites-btn:active,
        .cart-btn:active {
            transform: scale(0.95) !important;
        }
        
        /* ط§ظ„ظ…ظ†طھط¬ ط§ظ„ط·ط§ط¦ط± ظ„ظ„ظ…ظپط¶ظ„ط© */
        .flying-favorite {
            position: fixed;
            z-index: 9999;
            pointer-events: none;
            border-radius: 8px;
            box-shadow: 0 4px 20px rgba(220, 38, 38, 0.3);
            border: 2px solid #dc2626;
        }
        
        .flying-favorite img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-radius: 6px;
        }
        
        /* ===== ظ‚ط§ط¦ظ…ط© ط§ظ„طھظ†ظ‚ظ„ ===== */
        .navbar {
            background: white;
            border-top: 1px solid var(--border-color);
            padding: 0;
            box-shadow: var(--shadow-sm);
            position: relative;
        }
        
        .navbar::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 0;
            height: 4px;
            background: linear-gradient(90deg, #1f2937, #6b7280, #1f2937);
            animation: navbarFill 2.5s infinite ease-in-out;
            box-shadow: 0 0 10px rgba(44, 85, 48, 0.5);
        }
        
        @keyframes navbarFill {
            0% { 
                width: 0;
                left: 0;
            }
            50% { 
                width: 100%;
                left: 0;
            }
            100% { 
                width: 0;
                left: 100%;
            }
        }
        
        .nav-menu {
            display: flex;
            align-items: center;
            justify-content: space-between;
            list-style: none;
            margin: 0;
            padding: 0;
            width: 100%;
        }
        
        .nav-main-links {
            display: flex;
            align-items: center;
        }
        
        .nav-secondary-links {
            display: flex;
            align-items: center;
            position: absolute;
            left: 150px;
        }
        
        .nav-item {
            position: relative;
        }
        
        .nav-link {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 15px 20px;
            color: var(--dark-color);
            font-weight: 600;
            text-decoration: none;
            transition: var(--transition);
            font-size: 15px;
            position: relative;
            overflow: hidden;
        }
        
        .nav-link::before {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 0;
            height: 3px;
            background: var(--gradient-primary);
            transition: width 0.3s;
        }
        
        .nav-link:hover::before {
            width: 100%;
        }
        
        .nav-link:hover {
            color: var(--secondary-color);
            background: rgba(57, 73, 171, 0.05);
        }
        
        .nav-link.active {
            color: #3b82f6;
            background: rgba(59, 130, 246, 0.1);
        }
        
        .nav-link.active::before {
            width: 100%;
        }
        
        /* ===== ط§ظ„ظ‚ط§ط¦ظ…ط© ط§ظ„ظ…ظ†ط³ط¯ظ„ط© ط§ظ„ظƒط§ظ…ظ„ط© ===== */
        .mega-menu {
            position: fixed;
            top: 0;
            right: -100%;
            width: 100%;
            height: 100vh;
            background: white;
            z-index: 2000;
            transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            overflow-y: auto;
            box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        }
        
        .mega-menu.active {
            right: 0;
        }
        
        .mega-menu-header {
            background: var(--gradient-primary);
            color: white;
            padding: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: var(--shadow-lg);
        }
        
        .mega-menu-title {
            font-size: 24px;
            font-weight: 800;
            display: flex;
            align-items: center;
            gap: 12px;
        }
        
        .mega-menu-title i {
            font-size: 28px;
        }
        
        .mega-menu-close {
            background: rgba(255, 255, 255, 0.2);
            border: none;
            color: white;
            width: 40px;
            height: 40px;
            border-radius: var(--radius-full);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 20px;
            transition: var(--transition);
        }
        
        .mega-menu-close:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: rotate(90deg);
        }
        
        .mega-menu-content {
            padding: 30px;
        }
        
        .mega-menu-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 25px;
            margin-bottom: 40px;
        }
        
        .mega-category {
            background: linear-gradient(135deg, var(--light-color), white);
            border-radius: var(--radius-lg);
            padding: 25px;
            text-align: center;
            transition: var(--transition);
            cursor: pointer;
            border: 2px solid transparent;
            position: relative;
            overflow: hidden;
            transform: translateZ(0);
        }
        
        .mega-category::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            background: var(--gradient-primary);
            opacity: 0;
            transition: opacity 0.3s;
            z-index: 0;
        }
        
        .mega-category:hover {
            transform: translateY(-8px) scale(1.02);
            box-shadow: var(--shadow-lg);
        }
        
        .mega-category:hover::before {
            opacity: 0.05;
        }
        
        .mega-category-icon {
            width: 80px;
            height: 80px;
            background: var(--gradient-primary);
            border-radius: var(--radius-full);
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 36px;
            margin: 0 auto 15px;
            position: relative;
            z-index: 1;
            transition: var(--transition);
            box-shadow: var(--shadow-md);
        }
        
        .mega-category:hover .mega-category-icon {
            transform: scale(1.1) rotate(5deg);
            box-shadow: var(--shadow-lg);
        }
        
        .mega-category-title {
            font-size: 20px;
            font-weight: 800;
            color: var(--dark-color);
            margin-bottom: 6px;
            position: relative;
            z-index: 1;
        }
        
        .mega-category-count {
            color: var(--gray-color);
            font-size: 14px;
            font-weight: 600;
            position: relative;
            z-index: 1;
        }
        
        .mega-products-section {
            margin-top: 40px;
        }
        
        .mega-products-title {
            font-size: 28px;
            font-weight: 800;
            color: var(--dark-color);
            margin-bottom: 30px;
            text-align: center;
            position: relative;
            padding-bottom: 12px;
        }
        
        .mega-products-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 50%;
            transform: translateX(50%);
            width: 80px;
            height: 3px;
            background: var(--gradient-primary);
            border-radius: 2px;
        }
        
        .mega-products-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 25px;
        }
        
        @media (max-width: 1200px) {
            .mega-products-grid {
                grid-template-columns: repeat(3, 1fr);
                gap: 20px;
            }
        }
        
        @media (max-width: 992px) {
            .mega-products-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 18px;
            }
        }
        
        @media (max-width: 576px) {
            .mega-products-grid {
                grid-template-columns: 1fr;
                gap: 15px;
            }
        }
        
        .mega-product {
            background: white;
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-md);
            transition: var(--transition);
            cursor: pointer;
            border: 2px solid transparent;
            transform: translateZ(0);
        }
        
        .mega-product:hover {
            transform: translateY(-8px);
            box-shadow: var(--shadow-lg);
            border-color: var(--secondary-color);
        }
        
        .mega-product-image {
            height: 200px;
            background: var(--light-color);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            position: relative;
            overflow: hidden;
            pointer-events: none;
        }
        
        .mega-product-image::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(57, 73, 171, 0.05), rgba(0, 137, 123, 0.05));
            opacity: 0;
            transition: opacity 0.3s;
        }
        
        .mega-product:hover .mega-product-image::before {
            opacity: 1;
        }
        
        .mega-product-image img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            transition: transform 0.5s;
            pointer-events: none;
        }
        

        
        .mega-product-info {
            padding: 20px;
            text-align: right;
            position: relative;
            z-index: 1;
        }
        
        .mega-product-name {
            font-size: 16px;
            font-weight: 700;
            color: var(--dark-color);
            margin-bottom: 8px;
            line-height: 1.3;
        }
        
        .mega-product-desc {
            font-size: 13px;
            color: var(--gray-color);
            margin-bottom: 12px;
            line-height: 1.5;
        }
        
        .mega-product-price {
            font-size: 20px;
            font-weight: 800;
            background: var(--gradient-accent);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
      
        /* ===== ط§ظ„ط¨ط·ظ„ ط§ظ„ط±ط¦ظٹط³ظٹ ===== */
        .hero {
            position: relative;
            height: 70vh;
            min-height: 500px;
            max-height: 800px;
            overflow: hidden;
            margin-top: 20px;
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-xl);
        }
        
        .hero-slider {
            position: relative;
            width: 100%;
            height: 100%;
        }
        
        @media (max-width: 867px) and (min-width: 577px) {
            .hero-slider {
                height: 400px;
            }
            
            .hero-slide img {
                object-fit: contain;
            }
        }
        
        .hero-slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
            background: white;
            transform: scale(1.05);
        }
        
        .hero-slide.active {
            opacity: 1;
            transform: scale(1);
        }
        
        .hero-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            background: white;
            transition: transform 0.5s ease;
            cursor: pointer;
        }
        
        @media (orientation: portrait) {
            .hero-slide img {
                object-fit: contain;
            }
        }
        

        
        .hero-slider {
            cursor: pointer;
        }
        
        .hero-content {
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.1);
            display: flex;
            align-items: center;
            padding: 0 80px;
        }
        
        .hero-text {
            max-width: 400px;
            color: #1e293b;
            animation: slideInRight 1s ease;
            background: rgba(255, 255, 255, 0.95);
            padding: 25px;
            border-radius: 15px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.1);
        }
        
        @media (min-width: 1200px) {
            .hero-text {
                max-width: 450px;
                padding: 30px;
                border-radius: 18px;
            }
        }
        
        @media (min-width: 1400px) {
            .hero-text {
                max-width: 500px;
                padding: 35px;
                border-radius: 20px;
            }
        }
        
        @keyframes slideInRight {
            from {
                opacity: 0;
                transform: translateX(50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }
        
        .hero-title {
            font-size: 28px;
            font-weight: 800;
            margin-bottom: 15px;
            line-height: 1.2;
            color: #1e293b;
        }
        
        @media (min-width: 1200px) {
            .hero-title {
                font-size: 32px;
                margin-bottom: 18px;
                line-height: 1.1;
            }
        }
        
        @media (min-width: 1400px) {
            .hero-title {
                font-size: 36px;
                margin-bottom: 20px;
            }
        }
        
        .hero-subtitle {
            font-size: 14px;
            margin-bottom: 20px;
            opacity: 0.8;
            line-height: 1.6;
            color: #475569;
        }
        
        @media (min-width: 1200px) {
            .hero-subtitle {
                font-size: 16px;
                margin-bottom: 22px;
                line-height: 1.5;
            }
        }
        
        @media (min-width: 1400px) {
            .hero-subtitle {
                font-size: 18px;
                margin-bottom: 25px;
            }
        }
        
        .hero-btn {
            background: white;
            color: #166534;
            border: 2px solid #166534;
            padding: 16px 40px;
            border-radius: var(--radius-full);
            font-size: 18px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.4s ease;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            text-transform: uppercase;
            letter-spacing: 1px;
            position: relative;
            overflow: hidden;
        }
        
        .hero-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 0;
            height: 100%;
            background: #166534;
            transition: width 0.4s ease;
            z-index: 1;
        }
        
        .hero-btn:hover::before {
            width: 100%;
        }
        
        .hero-btn:hover {
            color: white;
        }
        
        .hero-btn span,
        .hero-btn i {
            position: relative;
            z-index: 2;
        }
        
        .hero-nav {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 12px;
            background: rgba(0, 0, 0, 0.3);
            padding: 8px 16px;
            border-radius: 25px;
            backdrop-filter: blur(10px);
        }
        
        .hero-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.5);
            cursor: pointer;
            transition: background 0.3s ease;
        }
        
        .hero-dot:hover {
            background: #3b82f6;
        }
        
        .hero-dot.active {
            background: white;
            width: 36px;
            border-radius: 6px;
        }
        
        /* ط£ط³ظ‡ظ… ط§ظ„طھظ†ظ‚ظ„ ظ„ظ„ظ€ Hero */
        .hero-arrow {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 55px;
            height: 55px;
            background: rgba(255, 255, 255, 0.9);
            border: 2px solid rgba(255, 255, 255, 0.8);
            border-radius: 50%;
            color: #3b82f6;
            font-size: 20px;
            cursor: pointer;
            transition: all 0.3s ease;
            z-index: 10;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }
        
        .hero-arrow::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 0;
            background: #3b82f6;
            transition: height 0.4s ease;
            z-index: -1;
        }
        
        .hero-arrow:hover::before {
            height: 100%;
        }
        
        .hero-arrow:hover {
            color: white;
            border-color: #3b82f6;
        }
        
        .hero-arrow i {
            position: relative;
            z-index: 1;
        }
        
        .hero-arrow-prev {
            right: 20px;
        }
        
        .hero-arrow-next {
            left: 20px;
        }
        
        .hero-nav-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 55px;
            height: 55px;
            background: rgba(255, 255, 255, 0.95);
            border: none;
            border-radius: 50%;
            color: #3b82f6;
            font-size: 20px;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 10;
            box-shadow: 0 6px 20px rgba(0,0,0,0.15);
            backdrop-filter: blur(10px);
        }
        
        .hero-nav-btn:hover {
            background: white;
            transform: translateY(-50%) scale(1.15);
            box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
            color: #2563eb;
        }
        
        .hero-nav-btn.prev {
            right: 20px;
        }
        
        .hero-nav-btn.next {
            left: 20px;
        }
        
        /* ===== ط§ظ„ط£ظ‚ط³ط§ظ… ===== */
        .categories {
            padding: 80px 0;
            background: transparent;
            position: relative;
        }
        
        .categories::before {
            display: none;
        }
        
        .section-header {
            text-align: center;
            margin-bottom: 60px;
            position: relative;
            z-index: 1;
        }
        
        .section-title {
            font-size: 42px;
            font-weight: 800;
            color: var(--dark-color);
            margin-bottom: 16px;
            position: relative;
            display: inline-block;
        }
        
        .section-title::after {
            content: '';
            position: absolute;
            bottom: -12px;
            right: 50%;
            transform: translateX(50%);
            width: 80px;
            height: 4px;
            background: var(--gradient-primary);
            border-radius: 2px;
        }
        
        .section-subtitle {
            font-size: 18px;
            color: var(--gray-color);
            max-width: 600px;
            margin: 0 auto;
            line-height: 1.6;
        }
        
        .categories-container {
            position: relative;
            width: 100vw;
            margin-left: calc(-50vw + 50%);
        }
        
        .categories-grid {
            display: flex !important;
            gap: 25px;
            overflow-x: auto;
            padding: 20px;
            scroll-behavior: auto;
            direction: rtl;
            flex-wrap: nowrap !important;
            position: relative;
            z-index: 1;
            min-width: 0;
            white-space: nowrap;
            -webkit-overflow-scrolling: touch;
        }
        
        .categories-grid::-webkit-scrollbar {
            display: none;
        }
        
        .categories-grid::-webkit-scrollbar-track {
            background: var(--border-color);
            border-radius: 10px;
        }
        
        .categories-grid::-webkit-scrollbar-thumb {
            background: var(--secondary-color);
            border-radius: 10px;
        }
        
        .category-card {
            flex: 0 0 280px !important;
            min-width: 280px !important;
            max-width: 280px !important;
            width: 280px !important;
            background: white;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 8px 32px rgba(59, 130, 246, 0.1);
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            cursor: pointer;
            position: relative;
            border: 1px solid rgba(59, 130, 246, 0.1);
            display: inline-block;
            vertical-align: top;
        }
        
        .category-card::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, #3b82f6, #1e40af);
            transform: scaleX(0);
            transition: transform 0.4s ease;
            z-index: 2;
        }
        
        .category-card:hover {
            box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
            border-color: rgba(59, 130, 246, 0.2);
        }
        
        .category-card:hover::before {
            transform: scaleX(1);
        }
        
        .category-image {
            height: 200px;
            position: relative;
            overflow: hidden;
            background: white;
        }
        
        @media (max-width: 768px) {
            .category-card {
                flex: 0 0 220px !important;
                min-width: 220px !important;
                max-width: 220px !important;
                width: 220px !important;
            }
            
            .category-image {
                height: 150px !important;
            }
            
            .category-icon {
                width: 45px !important;
                height: 45px !important;
                font-size: 20px !important;
                top: 12px !important;
                left: 12px !important;
                border-radius: 12px !important;
            }
            
            .category-name {
                font-size: 18px !important;
                padding: 6px 12px !important;
            }
            
            .category-overlay {
                padding: 15px !important;
            }
        }
        
        @media (max-width: 480px) {
            .category-card {
                flex: 0 0 180px !important;
                min-width: 180px !important;
                max-width: 180px !important;
                width: 180px !important;
            }
            
            .category-image {
                height: 120px !important;
            }
            
            .category-icon {
                width: 38px !important;
                height: 38px !important;
                font-size: 16px !important;
                top: 10px !important;
                left: 10px !important;
                border-radius: 10px !important;
                border-width: 1.5px !important;
            }
            
            .category-name {
                font-size: 15px !important;
                padding: 5px 10px !important;
                border-radius: 8px !important;
            }
            
            .category-overlay {
                padding: 12px !important;
            }
        }
        
        .category-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            padding: 0;
            transition: all 0.4s ease;
        }
        
        .category-card:hover .category-image img {
            transform: scale(1.05);
        }
        
        @media (max-width: 768px) {
            .category-image img {
                object-fit: cover;
                padding: 0;
            }
        }
        
        @media (max-width: 480px) {
            .category-image img {
                object-fit: cover;
                padding: 0;
            }
        }
        
        .category-overlay {
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.8));
            display: flex;
            align-items: flex-end;
            padding: 25px;
            z-index: 1;
        }
        
        .category-icon {
            position: absolute;
            top: 20px;
            left: 20px;
            width: 60px;
            height: 60px;
            background: white;
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #3b82f6;
            font-size: 26px;
            box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
            z-index: 2;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            backdrop-filter: blur(10px);
            border: 2px solid #3b82f6;
        }
        
        .category-card:hover .category-icon {
            transform: scale(1.1);
            background: #3b82f6;
            color: white;
            box-shadow: 0 12px 32px rgba(59, 130, 246, 0.3);
            border-color: #3b82f6;
        }
        
        .category-name {
            color: #1f2937;
            font-size: 24px;
            font-weight: 800;
            z-index: 1;
            text-shadow: none;
            background: rgba(255, 255, 255, 0.95);
            padding: 8px 16px;
            border-radius: 12px;
            backdrop-filter: blur(10px);
        }
        
        .category-info {
            padding: 30px 25px;
            text-align: right;
            position: relative;
            z-index: 1;
            background: white;
        }
        
        .category-count {
            color: #64748b;
            font-size: 14px;
            font-weight: 600;
            margin-bottom: 20px;
            background: #f1f5f9;
            padding: 8px 16px;
            border-radius: 20px;
            display: inline-block;
        }
        
        .category-btn {
            background: white;
            color: #3b82f6;
            border-top: none;
            border-right: 2px solid #3b82f6;
            border-bottom: none;
            border-left: none;
            padding: 14px 40px;
            border-radius: 50px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
            font-size: 14px;
            box-shadow: 0 4px 16px rgba(59, 130, 246, 0.1);
            white-space: nowrap;
            position: relative;
            overflow: hidden;
            z-index: 1;
        }
        
        .category-btn::before {
            content: '';
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #3b82f6, #1e40af);
            transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: -1;
            border-radius: 50px;
        }
        
        .category-btn:hover::before {
            transform: translateY(-100%);
        }
        
        .category-btn:hover {
            color: white;
            border: none;
            box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
        }
        
        .slider-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 55px;
            height: 55px;
            background: rgba(255, 255, 255, 0.9);
            border: 2px solid rgba(255, 255, 255, 0.8);
            border-radius: 50%;
            color: #3b82f6;
            font-size: 20px;
            cursor: pointer;
            transition: all 0.6s ease;
            z-index: 10;
            box-shadow: 0 4px 15px rgba(0,0,0,0.2);
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }
        
        .slider-nav::before {
            content: '';
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            height: 100%;
            background: #3b82f6;
            transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: -1;
            border-radius: 50%;
        }
        
        .slider-nav:hover::before {
            transform: translateY(-100%);
        }
        
        .slider-nav:hover {
            color: white;
            border-color: #3b82f6;
        }
        
        .slider-nav i {
            position: relative;
            z-index: 1;
        }
        
        .slider-nav.prev {
            right: 20px;
        }
        
        .slider-nav.next {
            left: 20px;
        }
        
        /* ===== ط§ظ„ط£ظ‚ط³ط§ظ… ط§ظ„ظپط±ط¹ظٹط© ظˆط§ظ„ظ…ظ†طھط¬ط§طھ ===== */
        .products-section {
            padding: 20px 0;
            background: transparent;
        }
        
        .category-section {
            margin-bottom: 50px;
        }
        
        .category-section:last-child {
            margin-bottom: 0;
        }
        
        /* ═══════════════════════════════════════════════════════════════
           تصميم جديد لهيدر الأقسام - ستايل نظيف وعصري
        ═══════════════════════════════════════════════════════════════ */
        .category-header {
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 30px;
            padding: 0 15px;
            background: transparent;
            border-radius: 0;
            border: none;
            box-shadow: none;
            position: relative;
        }
        
        .category-header::before {
            display: none;
        }
        
        .category-header:hover {
            box-shadow: none;
            transform: none;
        }
        
        .category-title-wrapper {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 5px;
            text-align: center;
            flex: 1;
        }
        
        .category-icon-large {
            display: none !important;
        }
        
        .category-title-main {
            font-size: 28px !important;
            font-weight: 700 !important;
            color: #333 !important;
            margin: 0 !important;
            text-shadow: none;
            position: relative;
            padding-right: 0;
            text-align: center;
        }
        
        .category-title-main::before {
            display: none;
        }
        
        .category-subtitle {
            color: #777 !important;
            font-size: 14px !important;
            margin-top: 0 !important;
            font-weight: 400 !important;
            text-align: center;
        }
        
        .view-all-btn {
            background: transparent !important;
            color: #C5A572 !important;
            border: none !important;
            padding: 8px 0 !important;
            border-radius: 0 !important;
            font-weight: 600 !important;
            cursor: pointer;
            transition: all 0.3s ease !important;
            font-size: 14px !important;
            white-space: nowrap;
            display: inline-flex;
            align-items: center;
            gap: 6px;
            box-shadow: none !important;
            flex-shrink: 0;
            position: absolute;
            left: 15px;
        }
        
        .view-all-btn::before {
            content: '←';
            font-size: 14px;
            transition: transform 0.3s ease;
        }
        
        .view-all-btn::after {
            display: none !important;
        }
        
        .view-all-btn:hover {
            background: transparent !important;
            color: #333 !important;
            border: none !important;
        }
        
        .view-all-btn:hover::before {
            transform: translateX(-3px);
        }
        
        /* للشاشات المتوسطة */
        @media (max-width: 992px) {
            .category-title-main {
                font-size: 24px !important;
            }
            
            .category-subtitle {
                font-size: 13px !important;
            }
        }
        
        /* للشاشات الصغيرة */
        @media (max-width: 768px) {
            .category-header {
                margin-bottom: 18px !important;
            }
            
            .category-title-main {
                font-size: 20px !important;
            }
            
            .category-title-wrapper {
                gap: 8px !important;
                flex: 1 !important;
                min-width: 0 !important;
            }
            
            .category-title-main {
                padding-right: 12px;
            }
            
            .category-title-main::before {
                width: 3px;
            }
            
            .category-title-main {
                font-size: 16px !important;
                line-height: 1.3 !important;
            }
            
            .category-subtitle {
                font-size: 10px !important;
                line-height: 1.3 !important;
            }
            
            .view-all-btn {
                padding: 6px 0 !important;
                font-size: 12px !important;
                flex-shrink: 0 !important;
            }
        }
        
        /* للشاشات الصغيرة جداً */
        @media (max-width: 480px) {
            .category-header {
                padding: 10px 12px !important;
                gap: 8px !important;
            }
            
            .category-title-wrapper {
                gap: 6px !important;
            }
            
            .category-title-main {
                font-size: 14px !important;
            }
            
            .category-subtitle {
                font-size: 9px !important;
            }
            
            .view-all-btn {
                padding: 5px 0 !important;
                font-size: 11px !important;
            }
        }
        
        /* تصميم خاص للهيدر مع صورة خلفية */
        .category-header[style*="background-image"],
        .category-header[style*="url("] {
            background-size: cover !important;
            background-position: center !important;
            border-right-color: #15803d !important;
            box-shadow: 0 6px 20px rgba(21, 128, 61, 0.2) !important;
        }
        
        .category-header[style*="background-image"] .category-title-main,
        .category-header[style*="url("] .category-title-main {
            color: white !important;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
        }
        
        .category-header[style*="background-image"] .category-subtitle,
        .category-header[style*="url("] .category-subtitle {
            color: rgba(255, 255, 255, 0.95) !important;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
        }
        
        .category-header[style*="background-image"]::before,
        .category-header[style*="url("]::before {
            display: none;
        }
        
        /* قسم الفئة بعرض كامل الشاشة */
        .category-section-fullwidth {
            width: 100vw;
            position: relative;
            left: 50%;
            right: 50%;
            margin-left: -50vw;
            margin-right: -50vw;
            background: transparent !important;
        }
        
        .category-section-fullwidth .container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        @media (max-width: 768px) {
            .category-section-fullwidth .container {
                padding: 0 15px;
            }
        }
        
        .subcategories {
            display: flex;
            gap: 12px;
            margin-bottom: 30px;
            flex-wrap: wrap;
            justify-content: flex-start;
        }
        
        @media (max-width: 768px) {
            .subcategories {
                justify-content: center;
                gap: 8px;
            }
            
            .subcategory-btn {
                padding: 10px 18px;
                font-size: 14px;
            }
        }
        
        .subcategory-btn {
            background: white;
            color: #3b82f6;
            border: 2px solid #e2e8f0;
            padding: 10px 20px;
            border-radius: 50px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
            font-size: 14px;
            white-space: nowrap;
            position: relative;
            overflow: hidden;
            z-index: 1;
            box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
        }
        
        @media (max-width: 768px) {
            .subcategory-btn {
                padding: 8px 16px;
                font-size: 13px;
            }
        }
        
        @media (max-width: 480px) {
            .subcategory-btn {
                padding: 6px 12px;
                font-size: 12px;
            }
        }
        
        .subcategory-btn::before {
            content: '';
            position: absolute;
            top: 100%;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #3b82f6, #1e40af);
            transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: -1;
            border-radius: 50px;
        }
        
        .subcategory-btn:hover::before,
        .subcategory-btn.active::before {
            transform: translateY(-100%);
        }
        
        .subcategory-btn:hover,
        .subcategory-btn.active {
            color: white;
            border-color: #3b82f6;
            box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
        }
        
        .products-container {
            position: relative;
            overflow: visible;
            width: 100vw;
            margin-right: calc(-50vw + 50%);
            z-index: 1;
        }
        
        .products-grid {
            display: flex;
            gap: 20px;
            overflow-x: auto;
            padding: 20px 60px;
            scroll-behavior: auto;
            width: 100%;
            flex-wrap: nowrap;
            justify-content: center;
            align-items: stretch;
            -webkit-overflow-scrolling: touch;
        }
        
        .products-grid::-webkit-scrollbar {
            display: none;
        }
        
        .products-grid {
            scrollbar-width: none;
            -ms-overflow-style: none;
        }
        
        /* منع السكرول العمودي من أقسام المنتجات */
        .category-section {
            overflow: visible !important;
            overflow-y: visible !important;
        }
        
        .category-section .products-grid {
            overflow-x: auto;
            overflow-y: hidden !important;
            scrollbar-width: none;
            -ms-overflow-style: none;
            justify-content: flex-start;
        }
        
        .category-section .products-grid::-webkit-scrollbar {
            display: none;
        }
        
        /* ═══════════════════════════════════════════════════════════════
           بطاقات المنتجات - تصميم جديد نظيف
        ═══════════════════════════════════════════════════════════════ */
        .product-card,
        .product-card-v2 {
            flex: 0 0 200px;
            background: #fff;
            border-radius: 20px;
            overflow: visible;
            box-shadow: 0 2px 20px rgba(0,0,0,0.08);
            position: relative;
            border: none;
            display: flex;
            flex-direction: column;
            height: auto;
            min-height: auto;
            transition: all 0.3s ease;
            padding: 15px;
        }
        
        .product-card:hover,
        .product-card-v2:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 30px rgba(0,0,0,0.12);
            border-color: transparent;
        }
        
        .product-card:hover .product-image img,
        .product-card-v2:hover .product-image img {
            transform: scale(1.05);
        }
        
        .product-card > *,
        .product-card-v2 > * {
            border-radius: 0;
        }
        
        .product-image,
        .product-image-v2 {
            border-radius: 15px;
            height: 160px;
            background: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            padding: 10px;
            position: relative;
            margin-top: 10px;
        }
        
        .product-image img,
        .product-image-v2 img {
            max-height: 100%;
            max-width: 100%;
            width: auto;
            object-fit: contain;
            transition: transform 0.4s ease;
        }
        
        @media (min-width: 1600px) {
            .product-card,
            .product-card-v2 {
                flex: 0 0 260px;
            }
            
            .product-image,
            .product-image-v2 {
                height: 260px;
            }
        }
        
        @media (min-width: 1920px) {
            .product-card,
            .product-card-v2 {
                flex: 0 0 280px;
            }
            
            .product-image,
            .product-image-v2 {
                height: 280px;
            }
        }
        
        /* ===== تصميم المنتجات النافدة ===== */
        .product-card[data-stock="out"] {
            display: flex !important;
            flex-direction: column !important;
            position: relative;
        }
        
        .product-card[data-stock="out"] .product-image {
            opacity: 0.6;
            filter: grayscale(20%);
            transition: all 0.3s ease;
        }
        
        .product-card[data-stock="out"]:hover .product-image {
            opacity: 0.7;
        }
        
        .product-card[data-stock="out"] .product-image::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255, 255, 255, 0.7);
            z-index: 5;
        }
        
        .product-card[data-stock="out"] .product-image img {
            filter: grayscale(50%);
            opacity: 0.6;
        }
        
        .product-card[data-stock="out"] .product-info {
            flex: 1 !important;
            display: flex !important;
            flex-direction: column !important;
            background: white !important;
            justify-content: flex-end !important;
            padding: 0 12px 0 12px !important;
        }
        
        .product-card[data-stock="out"] .product-details {
            flex: 0 0 auto !important;
            margin-bottom: 0 !important;
        }
        
        .product-card[data-stock="out"] .product-footer {
            margin-top: 0 !important;
            background: #f8f8f8 !important;
            border-top: 1px solid #e5e5e5 !important;
            width: 100% !important;
            flex-shrink: 0 !important;
            padding: 10px 12px !important;
        }
        
        .product-card[data-stock="out"] .product-cart-controls {
            display: flex;
            align-items: center;
            gap: 6px;
        }
        
        .product-card-inner {
            border-radius: 12px;
            overflow: hidden;
            display: flex;
            flex-direction: column;
            flex: 1;
        }
        
        /* ط§ظ„ظ…ظ†طھط¬ط§طھ ط§ظ„ظ…ظ…ظٹط²ط© - ط­ط¬ظ… ط£ظƒط¨ط± */
        .product-card.featured-square {
            flex: 0 0 350px;
            min-width: 350px;
            max-width: 350px;
        }
        
        .product-card.featured-square .product-image {
            height: 280px;
        }
        
        .product-card.featured-square .product-info {
            padding: 30px;
        }
        
        .product-card.featured-square .product-name {
            font-size: 20px;
            margin-bottom: 15px;
        }
        
        .product-card.featured-square .price-current {
            font-size: 24px;
        }
        
        @media (max-width: 768px) {
            .product-card,
            .product-card-v2 {
                flex: 0 0 220px;
                height: auto;
                min-height: 320px;
                overflow: visible;
            }
            
            .product-image,
            .product-image-v2 {
                height: 130px;
                padding: 12px;
            }
            
            .product-info {
                padding: 10px;
                flex: 1;
                display: flex;
                flex-direction: column;
            }
            
            .product-details {
                padding: 0;
                flex: 1;
            }
            
            .product-name {
                font-size: 13px;
                min-height: auto;
                line-height: 1.3;
                margin-bottom: 6px;
                display: -webkit-box;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                overflow: hidden;
            }
            
            .product-category {
                font-size: 11px;
                margin-bottom: 8px;
            }
            
            .product-footer {
                padding: 8px 10px;
                margin-top: auto;
            }
            
            .price-current {
                font-size: 15px;
            }
            
            .price-old {
                font-size: 12px;
            }
            
            .add-to-cart {
                width: 38px;
                height: 38px;
                font-size: 16px;
            }
            
            .quantity-btn {
                width: 26px;
                height: 26px;
                font-size: 12px;
            }
            
            .quantity-display {
                min-width: 26px;
                font-size: 13px;
            }
            
            .product-card.featured-square {
                flex: 0 0 280px;
                min-width: 280px;
                max-width: 280px;
            }
            
            .product-card.featured-square .product-image {
                height: 240px;
            }
        }
        
        @media (max-width: 480px) {
            .product-card,
            .product-card-v2 {
                flex: 0 0 180px;
                height: auto;
                min-height: 300px;
                overflow: visible;
            }
            
            .product-image,
            .product-image-v2 {
                height: 120px;
                padding: 10px;
            }
            
            .product-info {
                padding: 8px;
                flex: 1;
                display: flex;
                flex-direction: column;
            }
            
            .product-details {
                padding: 0;
                flex: 1;
            }
            
            .product-name {
                font-size: 12px;
                min-height: auto;
                line-height: 1.3;
                margin-bottom: 5px;
                display: -webkit-box;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                overflow: hidden;
            }
            
            .product-weight {
                font-size: 10px;
                padding: 3px 8px;
            }
            
            .product-category {
                font-size: 10px;
            }
            
            .product-footer {
                padding: 10px 12px;
            }
            
            .price-current {
                font-size: 15px;
            }
            
            .add-to-cart {
                width: 38px;
                height: 38px;
                font-size: 16px;
            }
            
            .quantity-btn {
                width: 26px;
                height: 26px;
                font-size: 12px;
            }
            
            .quantity-display {
                min-width: 24px;
                font-size: 13px;
            }
            
            .product-favorite,
            .product-fav-v2 {
                width: 32px;
                height: 32px;
                font-size: 13px;
            }
            
            .product-weight-badge {
                font-size: 10px;
                padding: 3px 8px;
            }
            
            .product-card.featured-square {
                flex: 0 0 220px;
                min-width: 220px;
                max-width: 220px;
            }
            
            .product-card.featured-square .product-image {
                height: 200px;
            }
        }
        
        .product-card:hover,
        .product-card-v2:hover {
            box-shadow: none;
            border-color: transparent;
            transform: none;
        }
        

        
        .discount-badge {
            position: absolute;
            top: 10px;
            right: 10px;
            background: #8B6914;
            color: white;
            font-size: 10px;
            font-weight: 600;
            width: 45px;
            height: 45px;
            border-radius: 50%;
            z-index: 2;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            line-height: 1.2;
        }
        
        .discount-badge-corner {
            position: absolute;
            top: 10px;
            right: 10px;
            background: #8B6914;
            color: white;
            font-size: 10px;
            font-weight: 600;
            width: 45px;
            height: 45px;
            border-radius: 50%;
            z-index: 2;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            line-height: 1.2;
            text-align: center;
        }
        
        @media (max-width: 768px) {
            .discount-badge {
                padding: 6px 16px;
                font-size: 11px;
            }
        }
        
        @media (max-width: 480px) {
            .discount-badge {
                padding: 5px 14px;
                font-size: 10px;
            }
        }
        
        /* Badge نفد من المخزون */
        .product-badge.out-of-stock {
            background: linear-gradient(135deg, #dc2626, #991b1b) !important;
            color: white !important;
            padding: 8px 16px;
            border-radius: 20px;
            font-size: 13px;
            font-weight: 700;
            box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
            animation: pulse-badge 2s ease-in-out infinite;
        }
        
        @keyframes pulse-badge {
            0%, 100% {
                transform: scale(1);
                box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
            }
            50% {
                transform: scale(1.05);
                box-shadow: 0 6px 16px rgba(220, 38, 38, 0.6);
            }
        }
        
        .product-favorite {
            position: absolute;
            top: 10px;
            right: 10px;
            width: 36px;
            height: 36px;
            background: transparent;
            border: none;
            border-radius: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 3;
            box-shadow: none;
            color: #333;
            font-size: 20px;
            transition: all 0.3s ease;
        }
        
        .product-favorite:hover {
            background: transparent;
            border-color: transparent;
            color: #C5A572;
            transform: scale(1.1);
            box-shadow: none;
        }
        
        .product-favorite.active {
            background: transparent;
            border-color: transparent;
            color: #C5A572;
            transform: scale(1.1);
            box-shadow: none;
        }
        
        .product-favorite.active:hover {
            background: transparent;
            transform: scale(1.15);
        }
        
        /* أيقونة التحميل */
        .product-favorite .spinner {
            border: 3px solid rgba(74, 124, 89, 0.2);
            border-top: 3px solid #6b7280;
            border-radius: 50%;
            width: 18px;
            height: 18px;
            animation: spin 0.8s linear infinite;
        }
        
        .product-favorite.active .spinner {
            border: 3px solid rgba(255, 255, 255, 0.3);
            border-top: 3px solid white;
        }
        
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        @media (max-width: 768px) {
            .product-favorite {
                top: 8px;
                right: 8px;
                width: 44px;
                height: 44px;
                font-size: 19px;
            }
        }
        
        @media (max-width: 480px) {
            .product-favorite {
                top: 6px;
                right: 6px;
                width: 40px;
                height: 40px;
                font-size: 17px;
            }
        }
        
        .product-favorite i {
            transform: none !important;
            transition: none !important;
        }
        
        .product-notify {
            background: transparent;
            color: #333;
            border: 1px solid #333;
            width: 100%;
            height: 42px;
            border-radius: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 14px;
            font-weight: 600;
            position: relative;
            overflow: hidden;
            box-shadow: none;
            gap: 8px;
        }
        
        .product-notify::after {
            content: 'أعلمني عند التوفر';
        }
        
        .product-notify:hover {
            background: #333;
            color: #fff;
            transform: none;
            box-shadow: none;
        }
        
        .product-notify:active {
            transform: scale(0.98);
        }
        
        /* زر أعلمني عند التوفر (داخل الكارد) */
        .notify-me-btn {
            position: absolute;
            bottom: 15px;
            left: 15px;
            right: 15px;
            background: linear-gradient(135deg, #3b82f6, #2563eb);
            color: white;
            border: none;
            padding: 10px;
            border-radius: 8px;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
            z-index: 3;
        }
        
        .notify-me-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
        }
        
        .notify-me-btn i {
            animation: ring 2s ease-in-out infinite;
        }
        
        @keyframes ring {
            0%, 100% {
                transform: rotate(0deg);
            }
            10%, 30% {
                transform: rotate(-10deg);
            }
            20%, 40% {
                transform: rotate(10deg);
            }
            50% {
                transform: rotate(0deg);
            }
        }
        
        /* ═══════════════════════════════════════════════════════════════════════════
           نافذة أعلمني عند التوفر
           ═══════════════════════════════════════════════════════════════════════════ */
        .notify-modal {
            position: fixed;
            inset: 0;
            background: rgba(0,0,0,0.6);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 10000;
        }
        .notify-modal.active { display: flex; }
        
        .notify-modal-content {
            background: #fff;
            border-radius: 12px;
            width: 420px;
            max-width: 95%;
            box-shadow: 0 10px 40px rgba(0,0,0,0.25);
            overflow: hidden;
            animation: notifyPop 0.25s ease;
        }
        
        @keyframes notifyPop {
            from { transform: scale(0.95); opacity: 0; }
            to { transform: scale(1); opacity: 1; }
        }
        
        .notify-modal-header {
            background: linear-gradient(135deg, #374151, #1f2937);
            color: #fff;
            padding: 14px 16px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 15px;
            font-weight: 700;
        }
        
        .notify-modal-close {
            background: none;
            border: none;
            color: #fff;
            font-size: 18px;
            cursor: pointer;
            padding: 0;
            line-height: 1;
            opacity: 0.8;
        }
        .notify-modal-close:hover { opacity: 1; }
        
        .notify-modal-body { padding: 18px; }
        
        .notify-modal-product {
            display: flex;
            align-items: center;
            gap: 12px;
            padding-bottom: 14px;
            margin-bottom: 14px;
            border-bottom: 1px solid #eee;
        }
        
        .notify-modal-product img {
            width: 55px;
            height: 55px;
            object-fit: contain;
            border: 1px solid #eee;
            border-radius: 6px;
        }
        
        .notify-modal-product span {
            flex: 1;
            font-size: 14px;
            color: #1f2937;
            line-height: 1.4;
            font-weight: 500;
        }
        
        .notify-modal-desc {
            font-size: 13px;
            color: #6b7280;
            margin-bottom: 14px;
            line-height: 1.5;
        }
        
        #notifyForm {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        
        .notify-modal-input {
            width: 100%;
            padding: 11px 14px;
            border: 1.5px solid #e5e7eb;
            border-radius: 8px;
            font-size: 14px;
            font-family: 'Cairo', sans-serif;
            transition: 0.2s;
        }
        .notify-modal-input:focus {
            outline: none;
            border-color: #1f2937;
            box-shadow: 0 0 0 3px rgba(44,85,48,0.1);
        }
        
        .notify-modal-btn {
            background: linear-gradient(135deg, #1f2937, #4b5563);
            border: none;
            border-radius: 8px;
            padding: 12px 16px;
            font-size: 14px;
            font-weight: 700;
            color: #fff;
            cursor: pointer;
            font-family: 'Cairo', sans-serif;
            margin-top: 5px;
            transition: 0.2s;
        }
        .notify-modal-btn:hover { filter: brightness(1.1); }
        .notify-modal-btn:disabled { opacity: 0.6; cursor: wait; }
        
        .notify-success {
            display: none;
            padding: 25px 18px;
            text-align: center;
        }
        .notify-success.active { display: block; }
        
        .notify-success i {
            font-size: 45px;
            color: #1f2937;
            margin-bottom: 10px;
        }
        .notify-success p {
            font-size: 14px;
            color: #1f2937;
            margin: 0;
        }
        
        /* موبايل - Bottom Sheet */
        @media (max-width: 576px) {
            .notify-modal { align-items: flex-end; }
            
            .notify-modal-content {
                width: 100%;
                max-width: 100%;
                border-radius: 16px 16px 0 0;
                animation: notifySlide 0.3s ease;
            }
            
            @keyframes notifySlide {
                from { transform: translateY(100%); }
                to { transform: translateY(0); }
            }
            
            .notify-modal-header { padding: 12px 14px; }
            .notify-modal-body { padding: 16px; }
            .notify-modal-product img { width: 50px; height: 50px; }
        }
        
        .product-image-wrapper {
            position: relative;
            width: 100%;
            flex-shrink: 0;
        }
        
        .product-image,
        .product-image-v2 {
            position: relative;
            width: 100%;
            height: 220px;
            background: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            overflow: hidden;
            flex-shrink: 0;
        }
        
        .product-image img,
        .product-image-v2 img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            transition: transform 0.4s ease;
            filter: none;
        }
        

        
        .product-info {
            padding: 10px 5px 0 5px;
            display: flex;
            flex-direction: column;
            gap: 5px;
            flex: 1;
            min-height: 0;
            background: transparent;
            text-align: center;
            align-items: center;
        }
        
        .product-details {
            flex: 0 0 auto;
            display: flex;
            flex-direction: column;
            gap: 3px;
            min-height: 0;
            margin: 0;
            padding: 0;
            width: 100%;
        }
        
        .product-category {
            display: block;
            color: #333;
            font-size: 13px;
            font-weight: 700;
            margin: 0 0 2px 0;
            line-height: 1.2;
        }
        
        .product-name {
            font-size: 12px;
            font-weight: 400;
            color: #666;
            line-height: 1.4;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            min-height: 34px;
            margin: 0;
        }
        
        .product-description {
            display: none;
        }
        
        .product-rating {
            display: none;
        }
        
        .product-weight-badge {
            position: absolute;
            bottom: 0;
            left: 0;
            background: linear-gradient(135deg, #1f2937, #6b7280);
            color: white;
            font-size: 13px;
            font-weight: 800;
            padding: 10px 25px;
            box-shadow: 2px 0 12px rgba(44, 85, 48, 0.5);
            z-index: 2;
            transform: translateX(-75%);
            transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
            clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
            letter-spacing: 0.5px;
        }
        
        .product-card:hover .product-weight-badge,
        .product-card-v2:hover .product-weight-badge {
            transform: translateX(0);
        }
        
        /* في الشاشات الصغيرة - يظهر دائماً */
        @media (max-width: 768px) {
            .product-weight-badge {
                opacity: 1;
                transform: translateX(0);
            }
            
            .product-weight-badge::before {
                display: none;
            }
        }
        
        /* العداد التنازلي - داخل product-image-wrapper */
        .product-image-wrapper .offer-countdown {
            position: relative;
            width: 100%;
            margin: 0;
            padding: 0;
            background: transparent !important;
            border: none !important;
            border-radius: 0 !important;
            box-shadow: none !important;
            animation: none !important;
            z-index: 10;
            opacity: 0;
            max-height: 0;
            overflow: hidden;
            transition: all 0.3s ease;
            pointer-events: none;
        }
        
        /* إخفاء العد التنازلي بالكامل عندما يكون مخفي */
        .product-image-wrapper .offer-countdown.countdown-hidden {
            display: none !important;
        }
        
        /* شريط العرض المحدود - يظهر فقط للعناصر اللي فيها offer-countdown بدون countdown-hidden */
        .product-image-wrapper:has(.offer-countdown:not(.countdown-hidden))::before {
            content: '⏰ عرض محدود';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(135deg, #ff5252, #f44336);
            color: white;
            padding: 6px 12px;
            font-size: 11px;
            font-weight: 700;
            text-align: center;
            box-shadow: 0 -2px 8px rgba(244, 67, 54, 0.4);
            opacity: 1;
            pointer-events: none;
            z-index: 15;
            transition: all 0.3s ease;
            border-radius: 0 0 12px 12px;
        }
        
        /* تأثير بسيط للشريط */
        .product-image-wrapper:has(.offer-countdown)::before {
            animation: gentle-glow 3s ease-in-out infinite;
        }
        
        @keyframes gentle-glow {
            0%, 100% { 
                box-shadow: 0 2px 8px rgba(244, 67, 54, 0.4);
            }
            50% { 
                box-shadow: 0 4px 12px rgba(244, 67, 54, 0.6);
            }
        }
        
        /* إظهار العداد وإخفاء الشريط عند hover على الكمبيوتر */
        @media (hover: hover) and (pointer: fine) {
            .product-card:hover .product-image-wrapper .offer-countdown {
                opacity: 1;
                max-height: 100px;
            }
            
            .product-card:hover .product-image-wrapper::before {
                opacity: 0;
                transform: translateY(10px);
            }
        }
        
        /* إظهار العداد دائماً في الشاشات الصغيرة (الجوال) */
        @media (hover: none) or (pointer: coarse) {
            .product-image-wrapper .offer-countdown {
                opacity: 1;
                max-height: 100px;
            }
            
            /* إخفاء أيقونة الساعة في الجوال لأن العداد ظاهر */
            .product-image-wrapper:has(.offer-countdown)::before {
                display: none;
            }
        }
        
        @media (max-width: 768px) {
            .product-image-wrapper .offer-countdown {
                opacity: 1 !important;
                max-height: 80px !important;
                transition: none !important;
            }
            
            /* إخفاء أيقونة الساعة في الشاشات الصغيرة */
            .product-image-wrapper:has(.offer-countdown)::before {
                display: none;
            }
            
            .product-image-wrapper .offer-countdown > div:first-child {
                font-size: 9px !important;
                padding: 3px 6px !important;
                margin-bottom: 3px !important;
            }
            
            .product-image-wrapper .countdown-boxes {
                gap: 3px !important;
                padding: 5px !important;
            }
            
            .product-image-wrapper .countdown-box-days,
            .product-image-wrapper .countdown-box-hours,
            .product-image-wrapper .countdown-box-minutes {
                min-width: 30px !important;
                padding: 4px 5px !important;
                display: flex !important;
                flex-direction: column !important;
                align-items: center !important;
            }
            
            .product-image-wrapper .countdown-days,
            .product-image-wrapper .countdown-hours,
            .product-image-wrapper .countdown-minutes {
                font-size: 12px !important;
                line-height: 1 !important;
                display: block !important;
            }
            
            .product-image-wrapper .countdown-box-days > div:last-child,
            .product-image-wrapper .countdown-box-hours > div:last-child,
            .product-image-wrapper .countdown-box-minutes > div:last-child {
                font-size: 8px !important;
                margin-top: 2px !important;
                display: block !important;
                line-height: 1 !important;
            }
        }
        
        .product-image-wrapper .offer-countdown > div:first-child {
            font-size: 10px !important;
            padding: 4px 8px !important;
            margin-bottom: 4px !important;
            background: linear-gradient(135deg, #ff5252, #f44336) !important;
            border-radius: 0 !important;
            display: block !important;
            animation: none !important;
            color: white !important;
            font-weight: 700 !important;
            text-shadow: 0 1px 2px rgba(0,0,0,0.2) !important;
        }
        
        .product-image-wrapper .countdown-boxes {
            gap: 4px !important;
            padding: 6px !important;
            background: linear-gradient(135deg, #ff5252, #f44336) !important;
            border-radius: 0 0 12px 12px !important;
            display: flex !important;
            justify-content: center !important;
            box-shadow: 0 2px 8px rgba(244, 67, 54, 0.3) !important;
        }
        
        .product-image-wrapper .countdown-box-days,
        .product-image-wrapper .countdown-box-hours,
        .product-image-wrapper .countdown-box-minutes,
        .product-image-wrapper .countdown-box-seconds {
            min-width: 32px !important;
            padding: 4px 6px !important;
            border-radius: 4px !important;
            background: white !important;
            color: #d32f2f !important;
        }
        
        .product-image-wrapper .countdown-days,
        .product-image-wrapper .countdown-hours,
        .product-image-wrapper .countdown-minutes,
        .product-image-wrapper .countdown-seconds {
            font-size: 14px !important;
            font-weight: 800 !important;
            line-height: 1 !important;
            color: #d32f2f !important;
        }
        
        .product-image-wrapper .countdown-box-days > div:last-child,
        .product-image-wrapper .countdown-box-hours > div:last-child,
        .product-image-wrapper .countdown-box-minutes > div:last-child,
        .product-image-wrapper .countdown-box-seconds > div:last-child {
            font-size: 8px !important;
            margin-top: 1px !important;
            font-weight: 600 !important;
            color: #666 !important;
        }
        
        .stars {
            color: #ffc107;
            font-size: 13px;
        }
        
        .rating-count {
            color: #9e9e9e;
            font-size: 12px;
            font-weight: 500;
        }
        
        .product-footer {
            padding: 10px 0 0 0 !important;
            background: transparent !important;
            border-top: none;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 5px;
            margin-top: 0;
            flex-shrink: 0;
            width: 100%;
        }
        
        .product-price {
            display: flex;
            flex-direction: column;
            gap: 2px;
            align-items: center;
            justify-content: center;
        }
        
        .price-current {
            font-size: 18px;
            font-weight: 700;
            color: #e91e63;
            white-space: nowrap;
            line-height: 1.1;
        }
        
        @media (max-width: 992px) {
            .product-footer {
                flex-direction: column;
                align-items: stretch;
                padding: 10px 12px !important;
                gap: 6px;
            }
            
            .product-price {
                order: 1;
                max-width: 100%;
                min-width: 100%;
                flex-direction: row;
                justify-content: flex-start;
                align-items: baseline;
                gap: 4px;
                margin-bottom: 2px;
                padding-right: 0;
            }
            
            .product-price .price-current {
                margin-right: auto;
            }
            
            .product-cart-controls {
                order: 2;
                justify-content: center;
            }
        }
        
        @media (max-width: 768px) {
            .price-current {
                font-size: 13px;
            }
        }
        
        @media (max-width: 480px) {
            .price-current {
                font-size: 12px;
            }
            
            .product-price {
                min-width: 50px;
                max-width: 65px;
            }
        }
        
        
        .price-old {
            font-size: 14px;
            color: #999;
            text-decoration: line-through;
            white-space: nowrap;
            line-height: 1.1;
        }
        
        .price-unit {
            font-size: 9px;
            color: #666;
            font-weight: 500;
        }
        
        @media (max-width: 768px) {
            .price-old {
                font-size: 8px;
            }
            
            .price-unit {
                font-size: 9px;
            }
        }
        
        @media (max-width: 480px) {
            .price-old {
                font-size: 8px;
            }
            
            .price-unit {
                font-size: 8px;
            }
            
            .product-footer {
                padding: 8px 6px !important;
                gap: 4px;
                flex-direction: column;
                align-items: stretch;
            }
            
            .product-price {
                order: 1;
                max-width: 100%;
                min-width: 100%;
                flex-direction: row;
                justify-content: center;
                align-items: baseline;
                gap: 4px;
                margin-bottom: 4px;
            }
            
            .product-cart-controls {
                order: 2;
                gap: 4px;
                justify-content: center;
            }
            
            .quantity-controls {
                display: none;
                gap: 3px;
                padding: 2px;
                border-width: 1.5px;
                min-width: 85px;
            }
            
            .quantity-controls.active {
                display: flex;
            }
            
            .quantity-btn {
                width: 24px;
                height: 24px;
                font-size: 12px;
            }
            
            .quantity-display {
                min-width: 24px;
                font-size: 12px;
            }
            
            .add-to-cart {
                width: 36px;
                height: 36px;
                font-size: 15px;
            }
        }
        
        .product-cart-controls {
            display: flex;
            align-items: center;
            width: 100%;
            gap: 0;
            flex-direction: column;
        }
        
        .quantity-controls {
            display: none;
            align-items: center;
            background: white;
            border: 1px solid #333;
            border-radius: 0;
            padding: 4px 8px;
            width: 100%;
            justify-content: space-between;
            margin-bottom: 8px;
        }
        
        .quantity-controls.active {
            display: flex;
        }
        
        /* إخفاء زر السلة عند ظهور أزرار الكمية */
        .quantity-controls.active ~ .add-to-cart {
            display: flex;
        }
        
        /* زر "تم الإضافة" - الصح */
        .in-cart-check {
            width: 100%;
            height: 38px;
            background: linear-gradient(135deg, #374151, #1f2937);
            border: none;
            border-radius: 25px;
            color: white;
            font-size: 18px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            box-shadow: 0 3px 10px rgba(26, 71, 42, 0.3);
        }
        
        .in-cart-check:hover {
            background: linear-gradient(135deg, #1f2937, #374151);
            transform: scale(1.02);
        }
        
        /* زر تحديث الوحدة - برتقالي */
        .in-cart-check.update-unit-btn {
            background: linear-gradient(135deg, #f59e0b, #d97706);
            box-shadow: 0 3px 10px rgba(245, 158, 11, 0.3);
        }
        
        .in-cart-check.update-unit-btn:hover {
            background: linear-gradient(135deg, #d97706, #b45309);
        }
        
        .in-cart-check.hidden {
            display: none !important;
        }
        
        /* إخفاء زر الصح عند فتح أزرار الكمية */
        .product-cart-controls:has(.quantity-controls.active) .in-cart-check {
            display: none !important;
        }
        
        /* إخفاء أزرار الكمية عند ظهور زر الصح */
        .product-cart-controls:has(.in-cart-check:not(.hidden)) .quantity-controls:not(.active) {
            display: none !important;
        }
        
        /* زر الصح المخفي */
        .in-cart-check.hidden {
            display: none !important;
        }
        
        .quantity-btn {
            background: transparent;
            color: #333;
            border: 1px solid #333;
            width: 30px;
            height: 30px;
            border-radius: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 16px;
            font-weight: 400;
            transition: all 0.2s ease;
            flex-shrink: 0;
        }
        
        .quantity-btn:hover {
            background: #333;
            color: #fff;
        }
        
        .quantity-btn:active {
            transform: scale(0.95);
        }
        
        .quantity-display {
            flex: 1;
            text-align: center;
            font-weight: 700;
            font-size: 16px;
            color: #333;
        }
        
        .add-to-cart {
            background: transparent;
            color: #333;
            border: 1px solid #333;
            width: 100%;
            height: 42px;
            border-radius: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: none;
            font-size: 14px;
            font-weight: 600;
            flex-shrink: 0;
            gap: 8px;
        }
        
        .add-to-cart::after {
            content: 'أضف للحقيبة';
        }
        
        .add-to-cart i {
            font-size: 14px;
        }
        
        .add-to-cart:hover {
            background: #333;
            color: #fff;
            transform: none;
            box-shadow: none;
        }
        
        .add-to-cart:active {
            transform: scale(0.98);
        }
        
        .add-to-cart.in-cart {
            background: #C5A572;
            border-color: #C5A572;
            color: #fff;
        }
        
        .add-to-cart.in-cart::after {
            content: 'في الحقيبة';
        }
        
        .add-to-cart.hidden {
            display: none;
        }
        
        /* زر إضافة للسلة المعطل (نفد من المخزون) */
        .add-to-cart.out-of-stock {
            background: linear-gradient(135deg, #78716c, #57534e) !important;
            color: white !important;
            cursor: not-allowed !important;
            opacity: 0.9 !important;
            position: relative;
            overflow: hidden;
        }
        
        .add-to-cart.out-of-stock::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
            animation: shimmer 3s infinite;
        }
        
        @keyframes shimmer {
            0% {
                left: -100%;
            }
            100% {
                left: 100%;
            }
        }
        
        .add-to-cart.out-of-stock:hover {
            transform: none !important;
            box-shadow: none !important;
        }
        
        /* أزرار التنقل - تصميم SVG نظيف */
        .products-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: none;
            border: none;
            cursor: pointer;
            z-index: 10;
            padding: 0;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .products-nav svg {
            width: 40px;
            height: 70px;
            color: #333;
            stroke-width: 1.5;
            stroke-linecap: round;
            stroke-linejoin: round;
            display: block;
        }
        
        .products-nav:hover svg {
            color: #000;
        }
        
        .products-nav::before {
            display: none;
        }
        
        .products-nav i {
            display: none;
        }
        
        .products-nav.prev {
            right: 10px;
        }
        
        .products-nav.next {
            left: 10px;
        }
        
        @media (min-width: 1200px) {
            .products-nav.prev {
                right: 20px;
            }
            
            .products-nav.next {
                left: 20px;
            }
            
            .products-nav svg {
                width: 45px;
                height: 80px;
            }
        }
        
        /* ===== ط§ظ„ظ…ظ…ظٹط²ط§طھ ط§ظ„ط¹طµط±ظٹط© ===== */
        .features {
            padding: 60px 0;
            background: linear-gradient(135deg, #f8fafc, white);
            position: relative;
        }
        
        .features::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            background-image: 
                radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
            z-index: 0;
        }
        
        .features-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 25px;
            position: relative;
            z-index: 1;
        }
        
        @media (max-width: 992px) {
            .features-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 20px;
            }
        }
        
        @media (max-width: 576px) {
            .features-grid {
                grid-template-columns: 1fr;
                gap: 18px;
            }
        }
        
        .feature-card {
            text-align: center;
            padding: 30px 20px;
            background: white;
            border-radius: 20px;
            box-shadow: 0 4px 20px rgba(59, 130, 246, 0.08);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            border: 1px solid rgba(59, 130, 246, 0.1);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
        }
        
        .feature-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(59, 130, 246, 0.02), rgba(59, 130, 246, 0.05));
            border-radius: 20px;
            opacity: 0;
            transition: opacity 0.3s ease;
            z-index: 0;
        }
        
        .feature-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 30px rgba(59, 130, 246, 0.15);
            border-color: rgba(59, 130, 246, 0.2);
        }
        
        .feature-card:hover::before {
            opacity: 1;
        }
        
        .feature-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, #3b82f6, #1e40af);
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 24px;
            margin-bottom: 20px;
            transition: all 0.3s ease;
            box-shadow: 0 6px 20px rgba(59, 130, 246, 0.2);
            position: relative;
            z-index: 1;
        }
        
        .feature-card:hover .feature-icon {
            transform: scale(1.05);
            box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
        }
        
        .feature-title {
            font-size: 18px;
            font-weight: 700;
            color: #1e40af;
            margin-bottom: 12px;
            position: relative;
            z-index: 1;
        }
        
        .feature-description {
            color: #64748b;
            line-height: 1.5;
            font-size: 14px;
            font-weight: 400;
            position: relative;
            z-index: 1;
            cursor: default;
            pointer-events: none;
        }
        
        /* ═══════════════════════════════════════════════════════════════
           لماذا تختارنا - تصميم نظيف زي نون وأمازون
        ═══════════════════════════════════════════════════════════════ */
        .why-choose-us {
            background: #f7f7f7;
            padding: 60px 0;
        }
        
        .why-choose-us .section-header {
            text-align: center;
            margin-bottom: 40px;
        }
        
        .why-choose-us .section-title {
            font-size: 28px;
            font-weight: 700;
            color: #111;
            margin-bottom: 8px;
        }
        
        .why-choose-us .section-subtitle {
            color: #666;
            font-size: 15px;
        }
        
        .why-choose-grid {
            display: grid;
            grid-template-columns: repeat(6, 1fr);
            gap: 20px;
        }
        
        .why-choose-card {
            background: #fff;
            padding: 30px 20px;
            border-radius: 12px;
            text-align: center;
            transition: all 0.3s ease;
            border: 1px solid #eee;
        }
        
        .why-choose-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0,0,0,0.08);
            border-color: #1f2937;
        }
        
        .why-choose-icon {
            width: 60px;
            height: 60px;
            margin: 0 auto 18px;
            background: linear-gradient(135deg, #1f2937, #6b7280);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: transform 0.3s ease;
        }
        
        .why-choose-card:hover .why-choose-icon {
            transform: scale(1.1);
        }
        
        .why-choose-icon i {
            font-size: 24px;
            color: #fff;
        }
        
        .why-choose-card h3 {
            font-size: 15px;
            font-weight: 700;
            color: #111;
            margin-bottom: 8px;
        }
        
        .why-choose-card p {
            font-size: 13px;
            color: #666;
            line-height: 1.6;
            margin: 0;
        }
        
        /* تجاوب الشاشات */
        @media (max-width: 1200px) {
            .why-choose-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }
        
        @media (max-width: 768px) {
            .why-choose-us {
                padding: 40px 0;
            }
            
            .why-choose-us .section-title {
                font-size: 22px;
            }
            
            .why-choose-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 12px;
            }
            
            .why-choose-card {
                padding: 20px 15px;
            }
            
            .why-choose-icon {
                width: 50px;
                height: 50px;
                margin-bottom: 12px;
            }
            
            .why-choose-icon i {
                font-size: 20px;
            }
            
            .why-choose-card h3 {
                font-size: 13px;
            }
            
            .why-choose-card p {
                font-size: 11px;
                display: -webkit-box;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                overflow: hidden;
            }
        }
        
        @media (max-width: 480px) {
            .why-choose-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 10px;
            }
            
            .why-choose-card {
                padding: 18px 12px;
            }
        }
        
        /* ===== ط§ظ„ظ‚ظˆط§ط¦ظ… ط§ظ„ط³ط±ظٹط¹ط© ===== */
        .quick-links {
            background: #f8fafc;
            padding: 60px 0;
            position: relative;
            overflow: hidden;
        }
        
        .quick-links::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
            z-index: 0;
        }
        
        .quick-links-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px;
            position: relative;
            z-index: 1;
        }
        
        /* الروابط السريعة - اثنين جنب بعض في جميع الشاشات */
        @media (max-width: 768px) {
            .quick-links-content {
                grid-template-columns: repeat(2, 1fr) !important;
                gap: 20px;
            }
        }
        
        @media (max-width: 480px) {
            .quick-links-content {
                grid-template-columns: repeat(2, 1fr) !important;
                gap: 15px;
            }
        }
        
        .quick-links-section h3 {
            color: #1f2937;
            font-size: 20px;
            font-weight: 700;
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 10px;
        }
        
        .quick-links-section h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 40px;
            height: 3px;
            background: #3b82f6;
        }
        
        .quick-links-list {
            list-style: none;
        }
        
        .quick-links-list li {
            margin-bottom: 12px;
        }
        
        .quick-links-list a {
            color: #6b7280;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            font-weight: 600;
            position: relative;
            overflow: hidden;
            text-decoration: none;
        }
        
        .quick-links-list a::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 0;
            height: 100%;
            background: rgba(59, 130, 246, 0.1);
            transition: width 0.3s;
            z-index: 0;
        }
        
        .quick-links-list a:hover {
            color: #3b82f6;
            transform: translateX(-6px);
        }
        
        .quick-links-list a:hover::before {
            width: 100%;
        }
        
        .quick-links-list a i {
            font-size: 10px;
            transition: var(--transition);
            position: relative;
            z-index: 1;
        }
        
        .quick-links-list a:hover i {
            transform: translateX(-3px);
        }
        
        .contact-item {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 16px;
            color: #6b7280;
        }
        
        .contact-item i {
            width: 36px;
            height: 36px;
            background: #f3f4f6;
            border-radius: var(--radius-lg);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #6b7280;
            font-size: 16px;
            transition: var(--transition);
        }
        
        .contact-item:hover i {
            background: #3b82f6;
            color: white;
            transform: scale(1.1);
        }
        
        .social-links {
            display: flex;
            gap: 12px;
            margin-top: 24px;
        }
        
        .social-link {
            width: 40px;
            height: 40px;
            background: white;
            border: 2px solid #e5e7eb;
            border-radius: var(--radius-full);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #6b7280;
            transition: var(--transition);
            font-size: 18px;
            position: relative;
            overflow: hidden;
            cursor: pointer;
        }
        
        .social-link::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: rgba(59, 130, 246, 0.2);
            border-radius: 50%;
            transform: translate(-50%, -50%);
            transition: width 0.6s, height 0.6s;
        }
        
        .social-link:hover::before {
            width: 0;
            height: 0;
        }
        
        .social-link:hover {
            opacity: 0.9;
        }
        
        /* ===== التذييل الأبيض العصري ===== */
        .footer {
            background: white;
            color: #374151;
            padding: 50px 0 25px;
            position: relative;
            border-top: 1px solid #e5e7eb;
        }
        
        .footer::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, #1f2937, #6b7280);
        }
        
        .footer-content {
            display: grid;
            grid-template-columns: repeat(4, 1fr) !important;
            gap: 20px;
            margin-bottom: 40px;
        }
        
        @media (max-width: 992px) {
            .footer-content {
                grid-template-columns: repeat(4, 1fr) !important;
                gap: 15px;
            }
            
            .footer-section h3 {
                font-size: 14px;
            }
            
            .footer-links a {
                font-size: 12px;
            }
            
            .footer-about {
                font-size: 12px;
            }
        }
        
        @media (max-width: 768px) {
            .footer-content {
                grid-template-columns: repeat(4, 1fr) !important;
                gap: 12px;
            }
            
            .footer-section h3 {
                font-size: 12px;
                margin-bottom: 12px;
            }
            
            .footer-links a {
                font-size: 10px;
                gap: 4px;
            }
            
            .footer-links li {
                margin-bottom: 8px;
            }
            
            .footer-about {
                font-size: 10px;
                line-height: 1.5;
            }
            
            .contact-info, .contact-item {
                gap: 6px;
                margin-bottom: 10px;
            }
            
            .contact-info i, .contact-item i {
                width: 24px;
                height: 24px;
                font-size: 10px;
            }
            
            .contact-info span, .contact-item span {
                font-size: 10px;
            }
        }
        
        @media (max-width: 480px) {
            .footer-content {
                grid-template-columns: repeat(4, 1fr) !important;
                gap: 8px;
            }
            
            .footer-section h3 {
                font-size: 10px;
                margin-bottom: 8px;
                padding-bottom: 6px;
            }
            
            .footer-section h3::after {
                width: 20px;
                height: 2px;
            }
            
            .footer-links a {
                font-size: 9px;
            }
            
            .footer-links li {
                margin-bottom: 6px;
            }
            
            .footer-about {
                font-size: 9px;
            }
            
            .contact-info, .contact-item {
                gap: 4px;
                margin-bottom: 6px;
            }
            
            .contact-info i, .contact-item i {
                width: 20px;
                height: 20px;
                font-size: 8px;
            }
            
            .contact-info span, .contact-item span {
                font-size: 9px;
            }
        }
        
        .footer-section h3 {
            font-size: 20px;
            font-weight: 700;
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 10px;
            color: #1f2937;
        }
        
        .footer-section h3::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 40px;
            height: 3px;
            background: #1f2937;
        }
        
        .footer-about {
            color: #6b7280;
            line-height: 1.7;
            margin-bottom: 20px;
        }
        
        .footer-links {
            list-style: none;
        }
        
        .footer-links li {
            margin-bottom: 12px;
        }
        
        .footer-links a {
            color: #6b7280;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
            font-weight: 600;
            position: relative;
            overflow: hidden;
            text-decoration: none;
        }
        
        .footer-links a::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 0;
            height: 100%;
            background: rgba(44, 85, 48, 0.1);
            transition: width 0.3s;
            z-index: 0;
        }
        
        .footer-links a:hover {
            color: #1f2937;
            transform: translateX(-6px);
        }
        
        .footer-links a:hover::before {
            width: 100%;
        }
        
        .footer-links a i {
            font-size: 10px;
            transition: var(--transition);
            position: relative;
            z-index: 1;
        }
        
        .footer-links a:hover i {
            transform: translateX(-3px);
        }
        
        .footer-contact {
            color: #6b7280;
        }
        
        .contact-info, .contact-item {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 16px;
        }
        
        .contact-info i, .contact-item i {
            width: 36px;
            height: 36px;
            background: #f3f4f6;
            border-radius: var(--radius-lg);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #6b7280;
            font-size: 16px;
            transition: var(--transition);
        }
        
        .contact-info:hover i, .contact-item:hover i {
            background: #1f2937;
            color: white;
            transform: scale(1.1);
        }
        
        .newsletter-form {
            display: flex;
            gap: 8px;
            margin-top: 16px;
            width: 100%;
        }
        
        .newsletter-input {
            flex: 1;
            min-width: 250px;
            width: 100%;
            padding: 10px 16px;
            border: 2px solid #e5e7eb;
            border-radius: var(--radius-full);
            background: white;
            color: #374151;
            font-size: 14px;
            transition: var(--transition);
        }
        
        .newsletter-input:focus {
            outline: none;
            border-color: #3b82f6;
            background: #f9fafb;
        }
        
        .newsletter-input::placeholder {
            color: #9ca3af;
        }
        
        .newsletter-btn {
            background: #3b82f6;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: var(--radius-full);
            font-weight: 700;
            cursor: pointer;
            transition: var(--transition);
            white-space: nowrap;
            position: relative;
            overflow: hidden;
        }
        
        .newsletter-message {
            width: 100% !important;
            max-width: 100% !important;
            margin-top: 12px !important;
            padding: 12px 16px !important;
            border-radius: 12px !important;
            font-size: 14px !important;
            font-weight: 600 !important;
            text-align: center !important;
            display: block !important;
            box-sizing: border-box !important;
        }
        
        .newsletter-message.success {
            background: #222222 !important;
            color: white !important;
        }
        
        .newsletter-message.error {
            background: #ef4444 !important;
            color: white !important;
        }
        
        /* طھط­ط³ظٹظ† ط§ظ„ظ†ط´ط±ط© ط§ظ„ط¨ط±ظٹط¯ظٹط© ظ„ظ„ط´ط§ط´ط§طھ ط§ظ„ظ…طھظˆط³ط·ط© */
        @media (max-width: 992px) and (min-width: 769px) {
            .newsletter-input {
                max-width: 180px;
            }
        }
        
        /* طھط­ط³ظٹظ† ط§ظ„ظ†ط´ط±ط© ط§ظ„ط¨ط±ظٹط¯ظٹط© ظ„ظ„ط´ط§ط´ط§طھ ط§ظ„طµط؛ظٹط±ط© */
        @media (max-width: 768px) {
            .newsletter-form {
                flex-direction: column;
                gap: 12px;
            }
            
            .newsletter-input {
                width: 100%;
                min-width: 100%;
                max-width: 100%;
            }
            
            .newsletter-btn {
                width: 100%;
                padding: 12px 20px;
            }
        }
        
        @media (min-width: 769px) {
            .newsletter-input {
                min-width: 280px;
            }
        }
        

        
        .newsletter-btn::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: rgba(255,255,255,0.3);
            border-radius: 50%;
            transform: translate(-50%, -50%);
            transition: width 0.6s, height 0.6s;
        }
        
        .newsletter-btn:hover::before {
            width: 80px;
            height: 80px;
        }
        
        .newsletter-btn:hover {
            background: #2563eb;
            transform: translateY(-2px);
        }
        
        .footer-bottom {
            border-top: 1px solid #e5e7eb;
            padding-top: 24px;
            text-align: center;
            color: #6b7280;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 16px;
        }
        
        .footer-payments {
            display: flex;
            gap: 12px;
            align-items: center;
            flex-wrap: wrap;
        }
        
        @media (max-width: 768px) {
            .footer-payments {
                justify-content: center;
                gap: 10px;
            }
        }
        
        @media (max-width: 480px) {
            .footer-payments {
                justify-content: center;
                gap: 8px;
            }
            
            .payment-icon {
                width: 45px;
                height: 30px;
                font-size: 11px;
            }
        }
        
        .payment-icon {
            width: 50px;
            height: 32px;
            background: white;
            border: 2px solid #e5e7eb;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #6b7280;
            font-size: 12px;
            font-weight: 700;
            transition: var(--transition);
            cursor: pointer;
        }
        
        .payment-icon:hover {
            background: #1f2937;
            border-color: #1f2937;
            color: white;
            color: white;
            border-color: #3b82f6;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
        }
        
        /* ===== طھطµظ…ظٹظ… ظ…طھط¬ط§ظˆط¨ ===== */
        @media (max-width: 1200px) {
            .hero-title {
                font-size: 40px;
            }
            
            .hero-subtitle {
                font-size: 18px;
            }
            
            .products-grid {
                gap: 12px;
            }
            
            .product-card {
                flex: 0 0 280px;
            }
            
            .categories-grid {
                gap: 20px;
            }
        }
        
        /* إخفاء زر القائمة في الشاشات الكبيرة */
        /* إخفاء زر القائمة في الشاشات الكبيرة */
        .burger {
            position: relative;
            width: 28px;
            height: 22px;
            background: transparent;
            cursor: pointer;
            display: none;
        }
        
        .burger input {
            display: none;
        }
        
        .burger span {
            display: block;
            position: absolute;
            height: 3px;
            width: 100%;
            background: #374151;
            border-radius: 6px;
            opacity: 1;
            left: 0;
            transform: rotate(0deg);
            transition: .25s ease-in-out;
        }
        
        .burger span:nth-of-type(1) {
            top: 0px;
            transform-origin: left center;
        }
        
        .burger span:nth-of-type(2) {
            top: 50%;
            transform: translateY(-50%);
            transform-origin: left center;
        }
        
        .burger span:nth-of-type(3) {
            top: 100%;
            transform-origin: left center;
            transform: translateY(-100%);
        }
        
        .burger input:checked ~ span:nth-of-type(1) {
            transform: rotate(45deg);
            top: 0px;
            left: 5px;
        }
        
        .burger input:checked ~ span:nth-of-type(2) {
            width: 0%;
            opacity: 0;
        }
        
        .burger input:checked ~ span:nth-of-type(3) {
            transform: rotate(-45deg);
            top: 28px;
            left: 5px;
        }

        @media (max-width: 992px) {
            .categories {
                margin-top: 60px;
            }
            
            .header-content {
                flex-wrap: wrap;
            }
            
            .search-bar {
                order: 3;
                flex-basis: 100%;
                max-width: none;
                margin-top: 16px;
            }
            
            .nav-menu {
                display: none;
            }
            
            .burger {
                display: block !important;
            }
            .hero-content {
                padding: 0 40px;
            }
            
            .hero-title {
                font-size: 32px;
            }
            
            .products-header {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .products-grid {
                gap: 16px;
            }
            
            .product-card {
                flex: 0 0 260px;
            }
            

        }
        
        @media (max-width: 768px) {
            .header-top {
                display: none;
            }
            
            .logo-text {
                display: none;
            }
            
            .header-actions {
                gap: 16px;
            }
            
            .action-btn {
                width: 44px;
                height: 44px;
                margin: 0 2px;
            }
            
            .cart-price {
                display: none;
            }
            
            .search-btn {
                width: 42px;
                height: 42px;
                left: 3px;
                top: 3px;
            }
            
            .search-btn i {
                font-size: 19px;
            }
            
            .search-input {
                height: 48px;
                padding: 12px 50px 12px 18px;
            }
            
            .hero {
                height: 450px;
            }
            
            .products-nav {
                display: flex !important;
                width: 45px;
                height: 45px;
                font-size: 16px;
            }
            
            .products-nav.prev {
                right: 15px;
            }
            
            .products-nav.next {
                left: 15px;
            }
            
            .hero-content {
                padding: 0 20px;
                align-items: flex-end;
                padding-bottom: 60px;
            }
            
            .hero-text {
                background: rgba(255, 255, 255, 0.95);
                padding: 20px;
                border-radius: 12px;
                max-width: 100%;
                width: 100%;
                text-align: center;
            }
            
            .hero-title {
                font-size: 20px;
                line-height: 1.3;
            }
            
            .hero-subtitle {
                font-size: 14px;
                margin-bottom: 15px;
            }
            
            .hero-btn {
                padding: 10px 25px;
                font-size: 14px;
            }
            
            .section-title {
                font-size: 32px;
            }
            

            
            .products-grid {
                gap: 16px;
            }
            
            .product-card {
                flex: 0 0 220px;
            }
            
            .product-image {
                height: 200px;
            }
            

            
            .mega-menu-content {
                padding: 20px;
            }
            
            .mega-menu-grid {
                grid-template-columns: 1fr;
                gap: 20px;
            }
            
            .category-header {
                flex-direction: row;
                align-items: center;
                justify-content: space-between;
            }
            
            .category-title-main {
                font-size: 18px;
            }
            
            .view-all-btn {
                padding: 6px 0 !important;
                font-size: 12px !important;
            }
        }
        
        @media (max-width: 576px) {
            .container {
                padding: 0 15px;
            }
            
            .categories-grid {
                padding-left: 15px;
                padding-right: 15px;
                gap: 15px;
            }
            
            .search-input {
                padding: 12px 48px 12px 20px;
                height: 48px;
            }
            
            .search-btn {
                width: 40px;
                height: 40px;
                left: 4px;
                top: 4px;
            }
            
            .search-btn i {
                font-size: 18px;
            }
            
            .hero {
                height: auto;
                min-height: 400px;
                border-radius: var(--radius);
                display: flex;
                flex-direction: column;
            }
            
            .hero-slider {
                height: 350px;
                flex-shrink: 0;
            }
            
            .hero-slide img {
                width: 100%;
                height: 100%;
                object-fit: contain;
                background: white;
            }
            
            .products-nav {
                display: flex !important;
                width: 40px;
                height: 40px;
                font-size: 14px;
            }
            
            .products-nav.prev {
                right: 10px;
            }
            
            .products-nav.next {
                left: 10px;
            }
            
            .hero-content {
                position: static;
                background: white;
                padding: 25px 20px;
                flex: 1;
                display: flex;
                align-items: center;
                justify-content: center;
            }
            
            .hero-text {
                background: transparent;
                padding: 0;
                box-shadow: none;
                max-width: 100%;
                text-align: center;
            }
            
            .hero-title {
                font-size: 18px;
                color: #1e293b;
                margin-bottom: 12px;
            }
            
            .hero-subtitle {
                font-size: 14px;
                color: #475569;
                margin-bottom: 20px;
            }
            
            .hero-btn {
                padding: 12px 30px;
                font-size: 14px;
            }
            
            .hero-nav {
                bottom: 15px;
            }
            
            .section-title {
                font-size: 28px;
            }
            
            .section-subtitle {
                font-size: 14px;
                padding: 0 10px;
            }
            
            .category-image {
                height: 150px;
            }
            
            .category-name {
                font-size: 20px;
            }
            
            .category-count {
                font-size: 12px;
                padding: 6px 12px;
            }
            
            .category-btn {
                padding: 10px 25px;
                font-size: 13px;
            }
            
            .category-info {
                padding: 20px 15px;
            }
            
            .products-grid {
                gap: 12px;
            }
            
            .product-card {
                flex: 0 0 180px;
            }
            
            .product-image {
                height: 160px;
            }
            

            
            .footer-bottom {
                flex-direction: column;
                text-align: center;
            }
        }
       
        
        /* ===== طبقة التعتيم ===== */
        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 100002;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease;
        }
        
        .overlay.active {
            opacity: 1;
            visibility: visible;
        }
        

        
        /* ===== طھط£ط«ظٹط± ط¥ط¶ط§ظپط© ط§ظ„ظ…ظ†طھط¬ ظ„ظ„ط³ظ„ط© ===== */
        .flying-product {
            position: fixed;
            width: 80px;
            height: 80px;
            border-radius: var(--radius-lg);
            background: white;
            box-shadow: var(--shadow-xl);
            z-index: 5000;
            pointer-events: none;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
        }
        
        .flying-product img {
            max-width: 80%;
            max-height: 80%;
            object-fit: contain;
        }







   /* ===== ط§ظ„ظ‚ط§ط¦ظ…ط© ط§ظ„ظ…طھط­ط±ظƒط© ظ„ظ„ط´ط§ط´ط§طھ ط§ظ„طµط؛ظٹط±ط© ===== */
    .mobile-menu {
        display: flex;
        position: fixed;
        top: 0;
        right: -85%;
        width: 85%;
        max-width: 380px;
        height: 100vh;
        background: white;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        overflow-y: auto;
        z-index: 2500;
        flex-direction: column;
        border-left: 3px solid #1f2937;
    }
    
    .mobile-menu.active {
        right: 0;
    }
    
    .mobile-menu-header {
        background: linear-gradient(135deg, #1f2937, #6b7280);
        color: white;
        padding: 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    

    
    .mobile-logo {
        display: flex;
        align-items: center;
        gap: 15px;
    }
    
    .mobile-logo img {
        height: 40px;
        width: auto;
        object-fit: contain;
    }
    
    .mobile-logo span {
        font-size: 20px;
        font-weight: 700;
        color: white;
    }
    
    .mobile-menu-close {
        background: rgba(255, 255, 255, 0.2);
        border: none;
        color: white;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 16px;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-close:hover {
        background: rgba(255, 255, 255, 0.3);
    }
    
    /* طھط£ط«ظٹط± ط§ظ„ط¬ط³ظٹظ…ط§طھ ط¹ظ†ط¯ ط§ظ„ط¥ط؛ظ„ط§ظ‚ */
    .close-particles {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        pointer-events: none;
    }
    
    .close-particles::before,
    .close-particles::after {
        content: '';
        position: absolute;
        width: 6px;
        height: 6px;
        background: white;
        border-radius: 50%;
        opacity: 0;
        transition: all 0.5s ease;
    }
    
    .mobile-menu-close:hover .close-particles::before {
        animation: particle1 0.8s ease-out;
    }
    
    .mobile-menu-close:hover .close-particles::after {
        animation: particle2 0.8s ease-out;
    }
    
    @keyframes particle1 {
        0% { 
            top: 50%; 
            left: 50%; 
            opacity: 0; 
            transform: translate(-50%, -50%) scale(0);
        }
        50% { 
            opacity: 1; 
            transform: translate(-80%, -80%) scale(1);
        }
        100% { 
            top: 20%; 
            left: 20%; 
            opacity: 0; 
            transform: translate(-50%, -50%) scale(0.5);
        }
    }
    
    @keyframes particle2 {
        0% { 
            top: 50%; 
            left: 50%; 
            opacity: 0; 
            transform: translate(-50%, -50%) scale(0);
        }
        50% { 
            opacity: 1; 
            transform: translate(20%, -80%) scale(1);
        }
        100% { 
            top: 20%; 
            left: 80%; 
            opacity: 0; 
            transform: translate(-50%, -50%) scale(0.5);
        }
    }
    
    .mobile-menu-content {
        padding: 20px;
        flex: 1;
        overflow-y: auto;
        overflow-x: hidden;
        background: white;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        height: auto !important;
        min-height: 200px !important;
    }
    
    /* ط¨ط·ط§ظ‚ط© ط§ظ„ظ…ط³طھط®ط¯ظ… */
    .mobile-menu-user-card {
        background: #f8fafc;
        border-radius: 15px;
        margin-bottom: 25px;
        border: 1px solid #e2e8f0;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease;
    }
    
    .mobile-menu-user-card.visible {
        opacity: 1;
        transform: translateY(0);
    }
    
    .mobile-menu-user {
        display: flex;
        align-items: center;
        gap: 15px;
        padding: 20px;
        border-bottom: 1px solid #e2e8f0;
    }
    
    .mobile-menu-user-avatar {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: #3b82f6;
        color: white;
        font-size: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    

    
    .mobile-menu-user-info h4 {
        font-size: 16px;
        font-weight: 700;
        color: #1f2937;
        margin-bottom: 5px;
    }
    
    .mobile-menu-user-info p {
        font-size: 13px;
        color: #6b7280;
        line-height: 1.5;
    }
    
    .mobile-menu-buttons {
        display: flex;
        gap: 10px;
        padding: 15px 20px;
        background: #f8fafc;
    }
    
    .mobile-menu-button {
        flex: 1;
        padding: 12px;
        border-radius: 10px;
        font-weight: 600;
        font-size: 14px;
        cursor: pointer;
        text-align: center;
        transition: all 0.3s ease;
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }
    
    /* طھط£ط«ظٹط± ط§ظ„ظ„ظ…ط¹ط§ظ† ظ„ظ„ط£ط²ط±ط§ط± */
    .button-shine {
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, 
            transparent, 
            rgba(255, 255, 255, 0.4), 
            transparent);
        transition: left 0.8s ease;
    }
    
    .mobile-menu-button:hover .button-shine {
        left: 100%;
    }
    
    .mobile-menu-button.login {
        background: linear-gradient(135deg, #1f2937, #6b7280);
        color: white;
    }
    
    .mobile-menu-button.login:hover {
        background: linear-gradient(135deg, #1f2937, #1f2937);
    }
    
    .mobile-menu-button.register {
        background: white;
        color: #1f2937;
        border: 2px solid #1f2937;
    }
    
    .mobile-menu-button.register:hover {
        background: linear-gradient(135deg, #1f2937, #6b7280);
        color: white;
    }
    
    .mobile-menu-button.logout {
        background: linear-gradient(135deg, #ef4444, #dc2626);
        color: white;
        border: none;
    }
    
    .mobile-menu-button.logout:hover {
        background: linear-gradient(135deg, #dc2626, #b91c1c);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
    }
    
    .mobile-menu-button i {
        font-size: 14px;
    }
    
    /* ط§ظ„ط£ظ‚ط³ط§ظ… */
    .mobile-menu-section {
        margin-bottom: 25px;
        padding-bottom: 20px;
        border-bottom: 1px solid #e2e8f0;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.3s ease;
    }
    
    .mobile-menu-section.visible {
        opacity: 1;
        transform: translateY(0);
    }
    
    .mobile-menu-section:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }
    
    .mobile-menu-section h3 {
        font-size: 18px;
        font-weight: 700;
        color: #1f2937;
        margin-bottom: 15px;
        display: flex;
        align-items: center;
        gap: 10px;
        padding-bottom: 8px;
        border-bottom: 2px solid #1f2937;
    }
    
    /* ط²ط®ط±ظپط© ط§ظ„ط¹ظ†ط§ظˆظٹظ† */
    .section-decoration {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        width: 35px;
        height: 35px;
        background: rgba(44, 85, 48, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0.7;
    }
    
    .mobile-menu-section h3 i {
        color: #1f2937;
        font-size: 16px;
    }
    
    .mobile-menu-list {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .mobile-menu-item {
        opacity: 0;
        transform: translateX(20px);
        transition: all 0.3s ease;
    }
    
    .mobile-menu-item.visible {
        opacity: 1;
        transform: translateX(0);
    }
    
    .mobile-menu-link {
        display: flex;
        align-items: center;
        gap: 15px;
        padding: 15px;
        font-size: 15px;
        font-weight: 500;
        color: #374151;
        text-decoration: none;
        border-radius: 10px;
        transition: all 0.3s ease;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        margin-bottom: 8px;
    }
    
    .mobile-menu-link:hover {
        background: linear-gradient(135deg, #1f2937, #6b7280);
        color: white;
        border-color: #1f2937;
    }
    
    .link-icon-container {
        width: 35px;
        height: 35px;
        border-radius: 8px;
        background: rgba(44, 85, 48, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        transition: background 0.2s ease;
    }
    
    .mobile-menu-link:hover .link-icon-container {
        background: rgba(255, 255, 255, 0.2);
    }
    
    .mobile-menu-link i {
        font-size: 16px;
        color: #1f2937;
    }
    
    .mobile-menu-link:hover i {
        color: white;
    }
    
    .link-arrow {
        margin-left: auto;
        transition: all 0.3s ease;
    }
    
    .link-arrow i {
        font-size: 16px;
        color: #94a3b8;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-link:hover .link-arrow i {
        color: white;
        transform: none;
    }
    
    /* ط·ط¨ظ‚ط© ط§ظ„طھط¹طھظٹظ… */
    .menu-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(30, 64, 175, 0.4);
        z-index: 100002;
        opacity: 0;
        visibility: hidden;
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
    }
    
    .menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    

    
    /* طھط­ط³ظٹظ† ط§ظ„طھظ…ط±ظٹط± */
    .mobile-menu-content::-webkit-scrollbar {
        width: 8px;
    }
    
    .mobile-menu-content::-webkit-scrollbar-track {
        background: linear-gradient(145deg, #f5f5f5, #eeeeee);
        border-radius: 4px;
    }
    
    .mobile-menu-content::-webkit-scrollbar-thumb {
        background: linear-gradient(135deg, #1f2937, #6b7280);
        border-radius: 4px;
        box-shadow: 0 2px 6px rgba(44, 85, 48, 0.3);
    }
    
    .mobile-menu-content::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(135deg, #1f2937, #1f2937);
    }


        /* ===== ط¥ط´ط¹ط§ط± ط¥ط¶ط§ظپط© ظ„ظ„ط³ظ„ط© ===== */
        .cart-notification {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background: white;
            color: #1e293b;
            padding: 16px;
            border-radius: 16px;
            font-weight: 600;
            font-size: 14px;
            z-index: 10000;
            transform: translateX(400px);
            opacity: 0;
            transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
            border: 2px solid #f5f5f5;
            min-width: 320px;
            max-width: 380px;
            display: flex;
            gap: 12px;
            align-items: center;
        }
        
        .cart-notification.show {
            transform: translateX(0);
            opacity: 1;
        }
        
        .cart-notification-image {
            width: 70px;
            height: 70px;
            border-radius: 12px;
            background: linear-gradient(135deg, #f5f5f5, #eeeeee);
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            flex-shrink: 0;
            border: 2px solid #e5e7eb;
        }
        
        .cart-notification-image img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            padding: 8px;
        }
        
        .cart-notification-content {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 4px;
            min-width: 0;
        }
        
        .cart-notification-title {
            font-size: 12px;
            color: #16a34a;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            display: flex;
            align-items: center;
            gap: 6px;
        }
        
        .cart-notification-title::before {
            content: '✓';
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 18px;
            height: 18px;
            background: #16a34a;
            color: white;
            border-radius: 50%;
            font-size: 11px;
            font-weight: 900;
        }
        
        .cart-notification-product {
            font-size: 14px;
            font-weight: 700;
            color: #1e293b;
            line-height: 1.3;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        .cart-notification-price {
            font-size: 16px;
            font-weight: 800;
            color: #1f2937;
            margin-top: 2px;
        }
        
        .cart-notification-close {
            position: absolute;
            top: 8px;
            left: 8px;
            width: 24px;
            height: 24px;
            background: #f1f5f9;
            border: none;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s ease;
            color: #64748b;
            font-size: 14px;
            font-weight: 700;
        }
        
        .cart-notification-close:hover {
            background: #ef4444;
            color: white;
            transform: rotate(90deg);
        }
        
        /* للشاشات الصغيرة */
        @media (max-width: 768px) {
            .cart-notification {
                bottom: 20px;
                right: 15px;
                left: 15px;
                min-width: auto;
                max-width: none;
                padding: 14px;
            }
            
            .cart-notification-image {
                width: 60px;
                height: 60px;
            }
            
            .cart-notification-product {
                font-size: 13px;
            }
            
            .cart-notification-price {
                font-size: 14px;
            }
        }
        
        @media (max-width: 480px) {
            .cart-notification {
                bottom: 15px;
                right: 10px;
                left: 10px;
                padding: 12px;
                gap: 10px;
            }
            
            .cart-notification-image {
                width: 50px;
                height: 50px;
            }
            
            .cart-notification-title {
                font-size: 10px;
            }
            
            .cart-notification-product {
                font-size: 12px;
            }
            
            .cart-notification-price {
                font-size: 13px;
            }
        }
        
        /* ===== ظ†ط§ظپط°ط© طھط£ظƒظٹط¯ ط§ظ„ط­ط°ظپ ===== */
        .confirm-modal {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 15000;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }
        
        .confirm-modal.show {
            opacity: 1;
            visibility: visible;
        }
        
        .confirm-content {
            background: white;
            padding: 30px;
            border-radius: 20px;
            text-align: center;
            max-width: 400px;
            width: 90%;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
            transform: scale(0.8);
            transition: transform 0.3s ease;
        }
        
        .confirm-modal.show .confirm-content {
            transform: scale(1);
        }
        
        .confirm-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, #f59e0b, #d97706);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            color: white;
            font-size: 36px;
        }
        
        .confirm-title {
            font-size: 24px;
            font-weight: 800;
            color: #1f2937;
            margin-bottom: 10px;
        }
        
        .confirm-message {
            font-size: 16px;
            color: #6b7280;
            margin-bottom: 30px;
            line-height: 1.5;
        }
        
        .confirm-buttons {
            display: flex;
            gap: 15px;
            justify-content: center;
        }
        
        .confirm-btn {
            padding: 12px 30px;
            border-radius: 10px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            border: none;
            font-size: 16px;
        }
        
        .confirm-btn.cancel {
            background: #e5e7eb;
            color: #374151;
        }
        
        .confirm-btn.cancel:hover {
            background: #d1d5db;
        }
        
        .confirm-btn.confirm {
            background: linear-gradient(135deg, #dc2626, #b91c1c);
            color: white;
        }
        
        .confirm-btn.confirm:hover {
            background: linear-gradient(135deg, #b91c1c, #991b1b);
        }
        
        /* ===== ط¥ط´ط¹ط§ط± ط§ظ„ط­ط°ظپ ===== */
        .remove-notification {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background: linear-gradient(135deg, #dc2626, #b91c1c);
            color: white;
            padding: 20px 25px;
            border-radius: 15px;
            font-weight: 700;
            font-size: 16px;
            z-index: 10000;
            transform: translateY(100px);
            opacity: 0;
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 10px 30px rgba(220, 38, 38, 0.3);
            border: 2px solid #dc2626;
            min-width: 300px;
            text-align: center;
        }
        
        .remove-notification.show {
            transform: translateY(0);
            opacity: 1;
        }
        
        .notification-close {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.9));
            border: 2px solid rgba(255, 255, 255, 0.8);
            color: #374151;
            width: 36px;
            height: 36px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 16px;
            font-weight: 800;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            margin-left: 25px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
            backdrop-filter: blur(10px);
            flex-shrink: 0;
        }
        
        .notification-close:hover {
            background: linear-gradient(135deg, #ef4444, #dc2626);
            border-color: #ef4444;
            color: white;
            transform: scale(1.1) rotate(90deg);
            box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
        }
        
        .cart-notification,
        .remove-notification {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 15px;
            padding: 20px 25px;
        }
        
        .cart-notification span,
        .remove-notification span {
            flex: 1;
            line-height: 1.4;
        }
        
        @media (max-width: 768px) {
            .cart-notification,
            .remove-notification {
                right: 15px;
                left: 15px;
                min-width: auto;
            }
            
            .confirm-content {
                padding: 25px;
                margin: 20px;
            }
        }
        
        /* ===== طµظپط­ط© ط§ظ„ظ…ظ†طھط¬ط§طھ ===== */
        .products-page {
            padding: 40px 0 80px;
            background: #f8fafc;
            min-height: 100vh;
        }
        
        .page-header {
            text-align: center;
            margin-bottom: 50px;
        }
        
        .page-title {
            font-size: 48px;
            font-weight: 800;
            color: #1f2937;
            margin-bottom: 16px;
            position: relative;
            display: inline-block;
        }
        
        .page-title::after {
            content: '';
            position: absolute;
            bottom: -12px;
            right: 50%;
            transform: translateX(50%);
            width: 100px;
            height: 4px;
            background: linear-gradient(90deg, #3b82f6, #1e40af);
            border-radius: 2px;
        }
        
        .page-subtitle {
            font-size: 18px;
            color: #6b7280;
            max-width: 600px;
            margin: 0 auto;
            line-height: 1.6;
        }
        
        .products-filters {
            margin-bottom: 40px;
            display: flex;
            justify-content: center;
        }
        
        .filter-group {
            display: flex;
            gap: 12px;
            flex-wrap: wrap;
            justify-content: center;
        }
        
        .filter-btn {
            background: white;
            color: #6b7280;
            border: 2px solid #e5e7eb;
            padding: 12px 24px;
            border-radius: 50px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            font-size: 14px;
            white-space: nowrap;
        }
        
        .filter-btn:hover,
        .filter-btn.active {
            background: #3b82f6;
            color: white;
            border-color: #3b82f6;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
        }
        
        .products-grid-page {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }
        
        @media (max-width: 768px) {
            .products-grid-page {
                grid-template-columns: repeat(2, 1fr);
                gap: 15px;
            }
        }
        
        @media (max-width: 480px) {
            .products-grid-page {
                grid-template-columns: repeat(2, 1fr);
                gap: 12px;
            }
        }
        
        .product-card-page {
            background: white;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
            transition: all 0.3s ease;
            position: relative;
            border: 1px solid #e5e7eb;
        }
        
        .product-card-page:hover {
            transform: translateY(-8px);
            box-shadow: 0 12px 40px rgba(59, 130, 246, 0.15);
            border-color: #3b82f6;
        }
        
        .product-image-page {
            height: 250px;
            background: #f8fafc;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            position: relative;
            overflow: hidden;
        }
        
        @media (max-width: 768px) {
            .product-image-page {
                height: 180px;
                padding: 15px;
            }
        }
        
        @media (max-width: 480px) {
            .product-image-page {
                height: 150px;
                padding: 10px;
            }
        }
        
        .product-image-page img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            transition: transform 0.3s ease;
        }
        

        
        .product-badge-page {
            position: absolute;
            top: 16px;
            left: 16px;
            background: #ef4444;
            color: white;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 700;
            z-index: 2;
            text-transform: uppercase;
        }
        
        .product-badge-page.new {
            background: #222222;
        }
        
        .product-badge-page.hot {
            background: #f59e0b;
        }
        
        .product-favorite-page {
            position: absolute;
            top: 16px;
            right: 16px;
            width: 40px;
            height: 40px;
            background: white;
            border: 2px solid #e5e7eb;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            z-index: 2;
            font-size: 16px;
            color: #6b7280;
        }
        
        .product-favorite-page:hover {
            background: #3b82f6;
            border-color: #3b82f6;
            color: white;
            transform: scale(1.1);
        }
        
        .product-info-page {
            padding: 25px;
        }
        
        @media (max-width: 768px) {
            .product-info-page {
                padding: 15px;
            }
        }
        
        @media (max-width: 480px) {
            .product-info-page {
                padding: 12px;
            }
        }
        
        .product-name-page {
            font-size: 18px;
            font-weight: 700;
            color: #1f2937;
            margin-bottom: 12px;
            line-height: 1.3;
        }
        
        @media (max-width: 768px) {
            .product-name-page {
                font-size: 15px;
                margin-bottom: 8px;
            }
        }
        
        @media (max-width: 480px) {
            .product-name-page {
                font-size: 14px;
                margin-bottom: 6px;
            }
        }
        
        .product-desc-page {
            color: #6b7280;
            font-size: 14px;
            margin-bottom: 16px;
            line-height: 1.5;
        }
        
        @media (max-width: 768px) {
            .product-desc-page {
                font-size: 12px;
                margin-bottom: 12px;
                display: -webkit-box;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                overflow: hidden;
            }
        }
        
        @media (max-width: 480px) {
            .product-desc-page {
                font-size: 11px;
                margin-bottom: 10px;
            }
        }
        
        .product-price-page {
            display: flex;
            align-items: baseline;
            gap: 8px;
            margin-bottom: 20px;
        }
        
        @media (max-width: 480px) {
            .product-price-page {
                margin-bottom: 12px;
            }
        }
        
        .price-current-page {
            font-size: 24px;
            font-weight: 800;
            color: #222222;
        }
        
        @media (max-width: 768px) {
            .price-current-page {
                font-size: 18px;
            }
        }
        
        @media (max-width: 480px) {
            .price-current-page {
                font-size: 16px;
            }
        }
        
        .price-old-page {
            font-size: 16px;
            color: #9ca3af;
            text-decoration: line-through;
            font-weight: 600;
        }
        
        @media (max-width: 768px) {
            .price-old-page {
                font-size: 14px;
            }
        }
        
        @media (max-width: 480px) {
            .price-old-page {
                font-size: 12px;
            }
        }
        
        .add-to-cart-page {
            width: 100%;
            background: #3b82f6;
            color: white;
            border: none;
            padding: 14px 20px;
            border-radius: 12px;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            font-size: 16px;
        }
        
        @media (max-width: 768px) {
            .add-to-cart-page {
                padding: 10px 15px;
                font-size: 14px;
            }
        }
        
        @media (max-width: 480px) {
            .add-to-cart-page {
                padding: 8px 12px;
                font-size: 13px;
            }
        }
        
        .add-to-cart-page:hover {
            background: #2563eb;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
        }
        
        .nav-link.active {
            color: #3b82f6;
            background: rgba(59, 130, 246, 0.1);
        }
        
        .nav-link.active::before {
            width: 100%;
        }
        
        /* ===== ط£ظٹظ‚ظˆظ†ط© ط§ظ„ط³ظ„ط© ط§ظ„ظ…ط±ظƒط²ظٹط© ===== */
        .cart-center-icon {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 120px;
            height: 120px;
            background: linear-gradient(135deg, #3b82f6, #1e40af);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 10000;
            opacity: 0;
            visibility: hidden;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3);
        }
        
        .cart-center-icon.show {
            opacity: 1;
            visibility: visible;
            transform: translate(-50%, -50%) scale(1.1);
        }
        
        .cart-center-icon i {
            font-size: 48px;
            color: white;
            animation: cartPulse 2s infinite;
        }
        
        @keyframes cartPulse {
            0%, 100% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.1);
            }
        }
        

        
        @media (max-width: 576px) {
            .page-title {
                font-size: 32px;
            }
            
            .filter-group {
                gap: 8px;
            }
            
            .filter-btn {
                padding: 10px 16px;
                font-size: 13px;
            }
            
            .cart-center-icon {
                width: 100px;
                height: 100px;
            }
            
            .cart-center-icon i {
                font-size: 40px;
            }
            
            .favorites-sidebar {
                width: 100vw;
                left: -100vw;
            }
            
            .favorites-item-header {
                flex-direction: column;
                text-align: center;
            }
            
            .favorites-item-controls {
                flex-direction: column;
                gap: 10px;
            }
            
            .favorites-footer {
                flex-direction: column;
            }
        }
/* ===== ط£ظٹظ‚ظˆظ†ط© ط§ظ„ظ†ط¸ط±ط© ط§ظ„ط³ط±ظٹط¹ط© ===== */
.product-quick-view {
    display: none !important;
}

.product-card:hover .product-quick-view {
    opacity: 1;
    transform: translateY(0);
}

.product-quick-view:hover {
    background: #3b82f6;
    border-color: #3b82f6;
    color: white;
    transform: scale(1.15);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

/* ===== ظ†ط§ظپط°ط© ط§ظ„ظ†ط¸ط±ط© ط§ظ„ط³ط±ظٹط¹ط© ط§ظ„ظ…ط­ط³ظ†ط© ===== */
.quick-view-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.quick-view-modal.active {
    opacity: 1;
    visibility: visible;
}

.quick-view-content {
    background: white;
    border-radius: 25px;
    padding: 40px;
    max-width: 700px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    transform: scale(0.8) translateY(30px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.quick-view-modal.active .quick-view-content {
    transform: scale(1) translateY(0);
}

.quick-view-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #64748b;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.quick-view-close:hover {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border-color: #ef4444;
    color: white;
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.3);
}

.quick-view-body {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.quick-view-image {
    flex: 1;
    max-width: 300px;
}

.quick-view-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.quick-view-image img:hover {
    transform: scale(1.05);
}

.quick-view-details {
    flex: 1;
    padding-right: 20px;
}

.quick-view-title {
    font-size: 28px;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 15px;
    line-height: 1.3;
}

.quick-view-price {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, #222222, #111111);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.quick-view-description {
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 30px;
    font-size: 16px;
}

.quick-view-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.quick-view-add-to-cart {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 25px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.quick-view-add-to-cart::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.quick-view-add-to-cart:hover::before {
    left: 100%;
}

.quick-view-add-to-cart:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.quick-view-add-to-favorites {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.3);
    font-size: 18px;
}

.quick-view-add-to-favorites:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 30px rgba(220, 53, 69, 0.4);
}

@media (max-width: 768px) {
    .quick-view-body {
        flex-direction: column;
        gap: 25px;
    }
    
    .quick-view-image {
        max-width: 100%;
    }
    
    .quick-view-content {
        padding: 25px;
        margin: 15px;
        max-height: 90vh;
    }
    
    .quick-view-title {
        font-size: 24px;
    }
    
    .quick-view-price {
        font-size: 28px;
    }
    
    .quick-view-actions {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    
    .quick-view-add-to-cart {
        width: 100%;
        justify-content: center;
    }
    
    .quick-view-details {
        padding-right: 0;
    }
}
/* ===== ظ†ط§ظپط°ط© ط§ظ„ظ†ط¸ط±ط© ط§ظ„ط³ط±ظٹط¹ط© ط§ظ„ظ…ط­ط³ظ†ط© ===== */
.quick-view-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.quick-view-modal.active {
    opacity: 1;
    visibility: visible;
}

.quick-view-content {
    background: white;
    border-radius: 25px;
    padding: 40px;
    max-width: 700px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    transform: scale(0.8) translateY(30px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 1px solid rgba(59, 130, 246, 0.1);
}

.quick-view-modal.active .quick-view-content {
    transform: scale(1) translateY(0);
}

.quick-view-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #64748b;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.quick-view-close:hover {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border-color: #ef4444;
    color: white;
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.3);
}

.quick-view-body {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.quick-view-image {
    flex: 1;
    max-width: 300px;
}

.quick-view-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.quick-view-image img:hover {
    transform: scale(1.05);
}

.quick-view-details {
    flex: 1;
    padding-right: 20px;
}

.quick-view-title {
    font-size: 28px;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 15px;
    line-height: 1.3;
}

.quick-view-price {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, #222222, #111111);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.quick-view-description {
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 30px;
    font-size: 16px;
}

.quick-view-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.quick-view-add-to-cart {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 25px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
}

.quick-view-add-to-cart::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}

.quick-view-add-to-cart:hover::before {
    left: 100%;
}

.quick-view-add-to-cart:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.quick-view-add-to-favorites {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 50%;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.3);
    font-size: 18px;
}

.quick-view-add-to-favorites:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 30px rgba(220, 53, 69, 0.4);
}

@media (max-width: 768px) {
    .quick-view-body {
        flex-direction: column;
        gap: 25px;
    }
    
    .quick-view-image {
        max-width: 100%;
    }
    
    .quick-view-content {
        padding: 25px;
        margin: 15px;
        max-height: 90vh;
    }
    
    .quick-view-title {
        font-size: 24px;
    }
    
    .quick-view-price {
        font-size: 28px;
    }
    
    .quick-view-actions {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    
    .quick-view-add-to-cart {
        width: 100%;
        justify-content: center;
    }
    
    .quick-view-details {
        padding-right: 0;
    }
}
/* ===== ظ†ط§ظپط°ط© ط§ظ„ظ†ط¸ط±ط© ط§ظ„ط³ط±ظٹط¹ط© ط§ظ„ظپط§ط®ط±ط© ===== */
.quick-view-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(147, 197, 253, 0.2));
    backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.quick-view-modal.active {
    opacity: 1;
    visibility: visible;
}

.quick-view-content {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 30px;
    padding: 50px;
    max-width: 900px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 40px 100px rgba(59, 130, 246, 0.25), 0 20px 60px rgba(0, 0, 0, 0.1);
    transform: scale(0.7) translateY(50px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 3px solid rgba(59, 130, 246, 0.2);
}

.quick-view-modal.active .quick-view-content {
    transform: scale(1) translateY(0);
}

.quick-view-close {
    position: absolute;
    top: 25px;
    right: 25px;
    background: linear-gradient(135deg, #ffffff, #f1f5f9);
    border: 3px solid rgba(239, 68, 68, 0.3);
    border-radius: 50%;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: #64748b;
    font-size: 22px;
    font-weight: 900;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.quick-view-close:hover {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border-color: #ef4444;
    color: white;
    transform: scale(1.2) rotate(180deg);
    box-shadow: 0 15px 40px rgba(239, 68, 68, 0.5);
}

.quick-view-body {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    margin-top: 30px;
}

.quick-view-image {
    flex: 1;
    max-width: 400px;
    position: relative;
}

.quick-view-image::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, #3b82f6, #8b5cf6, #06b6d4, #222222);
    border-radius: 30px;
    z-index: -1;
    opacity: 0.1;
}

.quick-view-image img {
    width: 100%;
    height: auto;
    border-radius: 25px;
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.2);
    transition: all 0.5s ease;
    border: 4px solid rgba(255, 255, 255, 0.9);
}

.quick-view-image img:hover {
    transform: scale(1.1) rotate(3deg);
    box-shadow: 0 30px 70px rgba(59, 130, 246, 0.3);
}

.quick-view-details {
    flex: 1;
    padding-right: 20px;
}

.quick-view-title {
    font-size: 36px;
    font-weight: 900;
    background: linear-gradient(135deg, #1f2937, #374151, #4b5563);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 25px;
    line-height: 1.2;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.quick-view-price {
    font-size: 42px;
    font-weight: 900;
    background: linear-gradient(135deg, #222222, #111111, #047857, #065f46);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
}

.quick-view-price::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #222222, transparent);
    border-radius: 2px;
}

.quick-view-description {
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 40px;
    font-size: 18px;
    font-weight: 500;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.9), rgba(241, 245, 249, 0.8));
    padding: 25px;
    border-radius: 20px;
    border-left: 5px solid #3b82f6;
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.1);
}

.quick-view-actions {
    display: flex;
    gap: 30px;
    align-items: center;
    margin-top: 40px;
}

.quick-view-add-to-cart {
    background: linear-gradient(135deg, #3b82f6, #1e40af, #1d4ed8, #1e3a8a);
    color: white;
    border: none;
    padding: 25px 50px;
    border-radius: 35px;
    font-weight: 900;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 20px;
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.quick-view-add-to-cart::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.8s;
}

.quick-view-add-to-cart:hover::before {
    left: 100%;
}

.quick-view-add-to-cart:hover {
    transform: translateY(-8px) scale(1.08);
    box-shadow: 0 25px 60px rgba(59, 130, 246, 0.6);
    background: linear-gradient(135deg, #2563eb, #1d4ed8, #1e3a8a, #1e40af);
}

.quick-view-add-to-favorites {
    background: linear-gradient(135deg, #dc3545, #c82333, #b91c1c, #991b1b);
    color: white;
    border: none;
    padding: 25px;
    border-radius: 50%;
    width: 75px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 15px 40px rgba(220, 53, 69, 0.4);
    font-size: 26px;
    position: relative;
    overflow: hidden;
}

.quick-view-add-to-favorites::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.quick-view-add-to-favorites:hover::before {
    width: 200%;
    height: 200%;
}

.quick-view-add-to-favorites:hover {
    transform: translateY(-8px) scale(1.2) rotate(10deg);
    box-shadow: 0 25px 60px rgba(220, 53, 69, 0.6);
    background: linear-gradient(135deg, #ef4444, #dc2626, #b91c1c, #991b1b);
}

@media (max-width: 768px) {
    .quick-view-body {
        flex-direction: column;
        gap: 30px;
    }
    
    .quick-view-image {
        max-width: 100%;
    }
    
    .quick-view-content {
        padding: 30px;
        margin: 20px;
        max-height: 95vh;
    }
    
    .quick-view-title {
        font-size: 28px;
    }
    
    .quick-view-price {
        font-size: 32px;
    }
    
    .quick-view-actions {
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }
    
    .quick-view-add-to-cart {
        width: 100%;
        justify-content: center;
        padding: 20px 40px;
        font-size: 18px;
    }
    
    .quick-view-details {
        padding-right: 0;
    }
}
/* ===== ظ†ط§ظپط°ط© ط§ظ„ظ†ط¸ط±ط© ط§ظ„ط³ط±ظٹط¹ط© ط§ظ„ط¨ط³ظٹط·ط© ===== */
.quick-view-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.quick-view-modal.active {
    opacity: 1;
    visibility: visible;
}

.quick-view-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 700px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transform: scale(0.8);
    transition: all 0.3s ease;
    position: relative;
}

.quick-view-modal.active .quick-view-content {
    transform: scale(1);
}

.quick-view-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #6b7280;
    font-size: 16px;
}

.quick-view-close:hover {
    background: #ef4444;
    border-color: #ef4444;
    color: white;
}

.quick-view-body {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.quick-view-image {
    flex: 1;
    max-width: 300px;
}

.quick-view-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.quick-view-details {
    flex: 1;
}

.quick-view-title {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
}

.quick-view-price {
    font-size: 28px;
    font-weight: 800;
    color: #222222;
    margin-bottom: 20px;
}

.quick-view-description {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 14px;
}

.quick-view-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.quick-view-add-to-cart {
    background: white;
    color: #3b82f6;
    border: 2px solid #3b82f6;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
}

.quick-view-add-to-cart:hover {
    background: #3b82f6;
    color: white;
}

.quick-view-add-to-favorites {
    background: white;
    color: #dc2626;
    border: 2px solid #e5e7eb;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
}

.quick-view-add-to-favorites:hover {
    background: #dc2626;
    border-color: #dc2626;
    color: white;
}

@media (max-width: 768px) {
    .quick-view-body {
        flex-direction: column;
        gap: 20px;
    }
    
    .quick-view-image {
        max-width: 100%;
    }
    
    .quick-view-content {
        padding: 25px;
        margin: 15px;
    }
    
    .quick-view-actions {
        justify-content: center;
    }
}
/* طھط­ط¯ظٹط« ط²ط± ط¥ط¶ط§ظپط© ط§ظ„ط³ظ„ط© ظپظٹ ط§ظ„ظ†ط¸ط±ط© ط§ظ„ط³ط±ظٹط¹ط© */
.quick-view-add-to-cart {
    background: white;
    color: #3b82f6;
    border: 2px solid #3b82f6;
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.2);
    font-size: 18px;
    position: relative;
    overflow: hidden;
}

.quick-view-add-to-cart::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: #3b82f6;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
    border-radius: var(--radius-full);
}

.quick-view-add-to-cart:hover::before {
    transform: translateY(-100%);
}

.quick-view-add-to-cart:hover {
    color: white;
    border-color: #3b82f6;
    background: #3b82f6;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

.quick-view-add-to-cart i {
    position: relative;
    z-index: 1;
}

.quick-view-add-to-cart.in-cart {
    background: linear-gradient(135deg, #222222, #111111) !important;
    border-color: #222222 !important;
    color: white !important;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4) !important;
    position: relative;
}

.quick-view-add-to-cart.in-cart::before {
    background: linear-gradient(135deg, #111111, #047857) !important;
}

.quick-view-add-to-cart.in-cart:hover {
    background: linear-gradient(135deg, #ef4444, #dc2626) !important;
    border-color: #ef4444 !important;
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4) !important;
}

.quick-view-add-to-cart.in-cart:hover::before {
    background: linear-gradient(135deg, #dc2626, #b91c1c) !important;
}
/* طھط­ط¯ظٹط« ط²ط± ط§ظ„ظ†ط¸ط±ط© ط§ظ„ط³ط±ظٹط¹ط© ظ„ظٹط·ط§ط¨ظ‚ add-to-cart */
.quick-view-add-to-cart {
    background: white;
    color: #3b82f6;
    border: 2px solid #3b82f6;
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.2);
    font-size: 18px;
    position: relative;
    overflow: hidden;
}

.quick-view-add-to-cart::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: #3b82f6;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
    border-radius: var(--radius-full);
}

.quick-view-add-to-cart:hover::before {
    transform: translateY(-100%);
}

.quick-view-add-to-cart:hover {
    color: white;
    border-color: #3b82f6;
    background: #3b82f6;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

.quick-view-add-to-cart i {
    position: relative;
    z-index: 1;
}

.quick-view-add-to-cart.in-cart {
    background: linear-gradient(135deg, #222222, #111111) !important;
    border-color: #222222 !important;
    color: white !important;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4) !important;
    position: relative;
}

.quick-view-add-to-cart.in-cart::before {
    background: linear-gradient(135deg, #111111, #047857) !important;
}

.quick-view-add-to-cart.in-cart:hover {
    background: linear-gradient(135deg, #ef4444, #dc2626) !important;
    border-color: #ef4444 !important;
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4) !important;
}

.quick-view-add-to-cart.in-cart:hover::before {
    background: linear-gradient(135deg, #dc2626, #b91c1c) !important;
}
/* ط¥طµظ„ط§ط­ ط­ط±ظƒط© ط§ظ„ط£ظٹظ‚ظˆظ†ط§طھ - ط¬ط¹ظ„ظ‡ط§ ط«ط§ط¨طھط© */
.quick-view-add-to-cart i,
.quick-view-add-to-favorites i,
.add-to-cart i,
.product-favorite i {
    transform: none !important;
    transition: none !important;
}

/* ظ…ظ†ط¹ ط­ط±ظƒط© ط§ظ„ط£ظٹظ‚ظˆظ†ط§طھ ط¹ظ†ط¯ ط§ظ„طھظ…ط±ظٹط± */
.add-to-cart:hover i,
.product-favorite:hover i,
.quick-view-add-to-cart:hover i,
.quick-view-add-to-favorites:hover i {
    transform: none !important;
}
/* ظ…ظ†ط¹ ط­ط±ظƒط© ط§ظ„ط£ط²ط±ط§ط± ظˆط§ظ„ط£ظٹظ‚ظˆظ†ط§طھ طھظ…ط§ظ…ط§ظ‹ */
.add-to-cart,
.product-favorite,
.quick-view-add-to-cart,
.quick-view-add-to-favorites {
    transform: none !important;
}

.add-to-cart:hover,
.product-favorite:hover,
.quick-view-add-to-cart:hover,
.quick-view-add-to-favorites:hover {
    transform: none !important;
}

.add-to-cart i,
.product-favorite i,
.quick-view-add-to-cart i,
.quick-view-add-to-favorites i {
    transform: none !important;
    transition: none !important;
}

.add-to-cart:hover i,
.product-favorite:hover i,
.quick-view-add-to-cart:hover i,
.quick-view-add-to-favorites:hover i {
    transform: none !important;
}
/* ظ…ظ†ط¹ ط­ط±ظƒط© ط§ظ„طµظˆط±ط© ظپظٹ ط§ظ„ظ†ط¸ط±ط© ط§ظ„ط³ط±ظٹط¹ط© */
.quick-view-image img:hover {
    transform: none !important;
}
/* ظƒظ„ط§ط³ ط¬ط¯ظٹط¯ ظ…ط¶ظ…ظˆظ† ظ„ط£ط²ط±ط§ط± Hero */
.hero-button-new {
    background: white;
    color: #3b82f6;
    border: 2px solid #3b82f6;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    text-decoration: none;
}

.hero-button-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: #3b82f6;
    transition: width 0.4s ease;
    z-index: 0;
}

.hero-button-new:hover::before {
    width: 100%;
}

.hero-button-new:hover {
    color: white;
}

.hero-button-new span,
.hero-button-new i {
    position: relative;
    z-index: 1;
}

/* ط¥طµظ„ط§ط­ ط£ط²ط±ط§ط± Hero - ظƒظ„ط§ط³ ظ…ط­ط³ظ† */
.hero-button-new {
    background: white !important;
    color: #3b82f6 !important;
    border: 2px solid #3b82f6 !important;
    padding: 16px 40px !important;
    border-radius: 50px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.4s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    position: relative !important;
    overflow: hidden !important;
    text-decoration: none !important;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2) !important;
}

.hero-button-new::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 0 !important;
    height: 100% !important;
    background: #3b82f6 !important;
    transition: width 0.4s ease !important;
    z-index: 0 !important;
}

.hero-button-new:hover::before {
    width: 100% !important;
}

.hero-button-new:hover {
    color: white !important;
    border-color: #3b82f6 !important;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4) !important;
    transform: translateY(-2px) !important;
}

.hero-button-new span,
.hero-button-new i {
    position: relative !important;
    z-index: 1 !important;
    transition: none !important;
    transform: none !important;
}

.hero-button-new:hover span,
.hero-button-new:hover i {
    transform: none !important;
}
/* Hero Section ط§ظ„ط¬ط¯ظٹط¯ ط§ظ„ط¨ط³ظٹط· */
.hero-new {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc, white);
    margin-top: 20px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-image {
    flex: 1;
    max-width: 500px;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.hero-content {
    flex: 1;
    text-align: right;
}

.hero-new .hero-title {
    font-size: 48px;
    font-weight: 900;
    color: #1f2937;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-new .hero-subtitle {
    font-size: 24px;
    font-weight: 600;
    color: #3b82f6;
    margin-bottom: 20px;
}

.hero-new .hero-description {
    font-size: 18px;
    color: #6b7280;
    margin-bottom: 40px;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    border: 2px solid;
}

.hero-btn.primary {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

.hero-btn.primary:hover {
    background: #2563eb;
    border-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
    color: white;
}

.hero-btn.secondary {
    background: white;
    color: #3b82f6;
    border-color: #3b82f6;
}

.hero-btn.secondary:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hero-new .hero-title {
        font-size: 36px;
    }
    
    .hero-new .hero-subtitle {
        font-size: 20px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
}

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    margin-bottom: 60px;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
    z-index: 2;
}

.hero-action-btn {
    padding: 12px 30px;
    border: 2px solid #fff;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.hero-action-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.hero-action-btn.clicked {
    background: #007bff !important;
    border-color: #007bff !important;
    color: #fff !important;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    z-index: 3;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev {
    right: 20px;
}

.slider-arrow.next {
    left: 20px;
}

@media (max-width: 768px) {
    .hero-slider {
        height: 300px;
    }
    
    .slide-content {
        bottom: 20px;
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-action-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}
        .hero-dots {
            position: absolute;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 10px;
            z-index: 10;
        }
        
        .hero-dot {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.5);
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .hero-dot.active {
            background: #3b82f6;
            transform: scale(1.2);
        }
        
        .hero-dot:hover {
            background: #3b82f6;
        }
        .hero-dots {
            position: absolute;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 15px;
            background: rgba(0, 0, 0, 0.4);
            padding: 12px 25px;
            border-radius: 30px;
            backdrop-filter: blur(15px);
            z-index: 10;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
        }
        
        .hero-dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.7);
            cursor: pointer;
            transition: all 0.5s ease;
            border: 2px solid transparent;
            box-shadow: 0 2px 8px rgba(255, 255, 255, 0.2);
        }
        
        .hero-dot.active {
            background: white;
            width: 30px;
            border-radius: 8px;
            border-color: rgba(255, 255, 255, 0.4);
            box-shadow: 0 4px 15px rgba(255, 255, 255, 0.4);
        }
        
        .hero-dot:hover {
            background: rgba(255, 255, 255, 0.95);
            transform: scale(1.15);
            box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
        }
/* ط¥طµظ„ط§ط­ ط£ظٹظ‚ظˆظ†ط© ط§ظ„ظ†ط¸ط±ط© ط§ظ„ط³ط±ظٹط¹ط© ظ„ظ„ط´ط§ط´ط§طھ ط§ظ„طµط؛ظٹط±ط© */
@media (max-width: 768px) {
    .product-quick-view {
        opacity: 1 !important;
        transform: translateY(0) !important;
        top: 48px !important;
        right: 6px !important;
        width: 32px !important;
        height: 32px !important;
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    .product-quick-view {
        opacity: 1 !important;
        transform: translateY(0) !important;
        top: 44px !important;
        right: 4px !important;
        width: 28px !important;
        height: 28px !important;
        font-size: 12px !important;
    }
}

/* ط¬ط¹ظ„ ط§ظ„ط£ظٹظ‚ظˆظ†ط© طھط¸ظ‡ط± ط¯ط§ظٹظ…ط§ظ‹ */
.product-quick-view {
    opacity: 1 !important;
    transform: translateY(0) !important;
}
/* ط¥طµظ„ط§ط­ ط£ظٹظ‚ظˆظ†ط§طھ ط§ظ„ظ…ظ†طھط¬ ظ„ظ„ط´ط§ط´ط§طھ ط§ظ„ظ…ط®طھظ„ظپط© */
/* ط§ظ„ط´ط§ط´ط§طھ ط§ظ„ظƒط¨ظٹط±ط© - ط§ظ„ظ†ط¸ط±ط© ط§ظ„ط³ط±ظٹط¹ط© طھط¸ظ‡ط± ط¹ظ†ط¯ ط§ظ„طھظ…ط±ظٹط± ظپظ‚ط· */
@media (min-width: 769px) {
    .product-favorite {
        width: 42px !important;
        height: 42px !important;
        font-size: 18px !important;
    }
    
    .product-quick-view {
        top: 58px !important;
        width: 42px !important;
        height: 42px !important;
        font-size: 18px !important;
        opacity: 0 !important;
        transform: translateY(-10px) !important;
    }
    
    .product-card:hover .product-quick-view {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
}

/* ط§ظ„ط´ط§ط´ط§طھ ط§ظ„طµط؛ظٹط±ط© - ط§ظ„ظ†ط¸ط±ط© ط§ظ„ط³ط±ظٹط¹ط© طھط¸ظ‡ط± ط¯ط§ظٹظ…ط§ظ‹ */
@media (max-width: 768px) {
    .product-quick-view {
        opacity: 1 !important;
        transform: translateY(0) !important;
        top: 48px !important;
        right: 6px !important;
        width: 32px !important;
        height: 32px !important;
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    .product-quick-view {
        opacity: 1 !important;
        transform: translateY(0) !important;
        top: 44px !important;
        right: 4px !important;
        width: 28px !important;
        height: 28px !important;
        font-size: 12px !important;
    }
}
/* ط¥طµظ„ط§ط­ ظ…ظˆط§ط¶ط¹ ط£ظٹظ‚ظˆظ†ط§طھ ط§ظ„ظ…ظ†طھط¬ */
/* ط§ظ„ط´ط§ط´ط§طھ ط§ظ„ظƒط¨ظٹط±ط© */
@media (min-width: 769px) {
    .product-favorite {
        top: 8px !important;
        right: 8px !important;
        width: 42px !important;
        height: 42px !important;
        font-size: 18px !important;
    }
    
    .product-quick-view {
        top: 60px !important;
        right: 8px !important;
        width: 42px !important;
        height: 42px !important;
        font-size: 18px !important;
        opacity: 0 !important;
        transform: translateY(-10px) !important;
    }
    
    .product-card:hover .product-quick-view {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
}

/* ط§ظ„ط´ط§ط´ط§طھ ط§ظ„طµط؛ظٹط±ط© */
@media (max-width: 768px) {
    .product-favorite {
        top: 6px !important;
        right: 6px !important;
        width: 32px !important;
        height: 32px !important;
        font-size: 14px !important;
    }
    
    .product-quick-view {
        opacity: 1 !important;
        transform: translateY(0) !important;
        top: 46px !important;
        right: 6px !important;
        width: 32px !important;
        height: 32px !important;
        font-size: 14px !important;
    }
}

@media (max-width: 480px) {
    .product-favorite {
        top: 4px !important;
        right: 4px !important;
        width: 28px !important;
        height: 28px !important;
        font-size: 12px !important;
    }
    
    .product-quick-view {
        opacity: 1 !important;
        transform: translateY(0) !important;
        top: 40px !important;
        right: 4px !important;
        width: 28px !important;
        height: 28px !important;
        font-size: 12px !important;
    }
}
/* ط¥طµظ„ط§ط­ ط£ط­ط¬ط§ظ… ط§ظ„ط£ط³ط¹ط§ط± ظ„ظ„ط´ط§ط´ط§طھ ط§ظ„ظƒط¨ظٹط±ط© */
@media (min-width: 993px) {
    .product-price {
        max-width: 110px;
    }
    
    .price-current {
        font-size: 18px !important;
    }
    
    .price-old {
        font-size: 11px !important;
    }
    
    .price-unit {
        font-size: 11px !important;
    }
}
/* ط¥طµظ„ط§ط­ طµظˆط± ط§ظ„ظپط¦ط§طھ ظپظٹ ط§ظ„ط´ط§ط´ط§طھ ط§ظ„ظƒط¨ظٹط±ط© */
@media (min-width: 769px) {
    .category-image img {
        object-fit: contain !important;
        padding: 20px !important;
        width: 100% !important;
        height: 100% !important;
    }
    
    .category-image {
        height: 220px !important;
        background: white !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}
/* ط¥ط²ط§ظ„ط© ط§ظ„طھط¯ط±ط¬ ظ…ظ† ط£ط³ظ…ط§ط، ط§ظ„ظپط¦ط§طھ */
.category-card:hover .category-image img {
    transform: scale(1.1) !important;
}

.category-card:hover .category-image {
    background: #f8fafc !important;
}
/* ظ…ظ†ط¹ طھط¨ظٹظٹط¶ ط§ظ„طµظˆط±ط© ط¹ظ†ط¯ ط§ظ„طھظ…ط±ظٹط± */
.category-card:hover .category-image img {
    filter: none !important;
}
/* طھظƒط¨ظٹط± طµظˆط±ط© ط§ظ„ظ…ظ†طھط¬ ط¹ظ†ط¯ ط§ظ„طھظ…ط±ظٹط± */
.product-card:hover .product-image img {
    transform: scale(1.1) !important;
}
/* طھط£ط«ظٹط±ط§طھ ط§ظ„ظ„ظ…ط³ ظ„ظ„ط´ط§ط´ط§طھ ط§ظ„طµط؛ظٹط±ط© */
@media (max-width: 768px) {
    .product-card:active {
        /* إزالة تأثير التكبير عند الضغط */
    }
}

/* تحسينات إضافية للشاشات الصغيرة جداً */
@media (max-width: 360px) {
    .category-card {
        flex: 0 0 160px !important;
        min-width: 160px !important;
        max-width: 160px !important;
        width: 160px !important;
    }
    
    .category-image {
        height: 110px !important;
    }
    
    .category-icon {
        width: 35px !important;
        height: 35px !important;
        font-size: 14px !important;
        top: 8px !important;
        left: 8px !important;
    }
    
    .category-name {
        font-size: 14px !important;
        padding: 4px 8px !important;
    }
    
    .category-count {
        font-size: 11px !important;
        padding: 5px 10px !important;
    }
    
    .category-btn {
        padding: 8px 20px !important;
        font-size: 12px !important;
    }
    
    .category-info {
        padding: 15px 12px !important;
    }
    
    .section-title {
        font-size: 24px !important;
    }
    
    .section-subtitle {
        font-size: 13px !important;
    }
    
}
/* ط¥طµظ„ط§ط­ ط£ظٹظ‚ظˆظ†ط© ط§ظ„ظ†ط¸ط±ط© ط§ظ„ط³ط±ظٹط¹ط© ظپظٹ ط§ظ„ط´ط§ط´ط§طھ ط§ظ„طµط؛ظٹط±ط© */
@media (max-width: 768px) {
    .product-quick-view {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
}

@media (max-width: 480px) {
    .product-quick-view {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
}
/* ظپط±ط¶ ط¥ط¸ظ‡ط§ط± ط£ظٹظ‚ظˆظ†ط© ط§ظ„ظ†ط¸ط±ط© ط§ظ„ط³ط±ظٹط¹ط© ظپظٹ ط§ظ„ط´ط§ط´ط§طھ ط§ظ„طµط؛ظٹط±ط© */
@media (max-width: 768px) {
    .product-quick-view {
        opacity: 1 !important;
        transform: translateY(0) !important;
        visibility: visible !important;
        display: flex !important;
    }
    
    .product-card .product-quick-view {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
    
    .product-card:hover .product-quick-view,
    .product-card:active .product-quick-view,
    .product-card:focus .product-quick-view {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
}
/* ط­ظ„ ظ†ظ‡ط§ط¦ظٹ ظ„ط£ظٹظ‚ظˆظ†ط© ط§ظ„ظ†ط¸ط±ط© ط§ظ„ط³ط±ظٹط¹ط© ظپظٹ ط§ظ„ط´ط§ط´ط§طھ ط§ظ„طµط؛ظٹط±ط© */
@media (max-width: 768px) {
    .product-quick-view {
        opacity: 1 !important;
        transform: translateY(0) !important;
        visibility: visible !important;
        display: flex !important;
        position: absolute !important;
    }
}

/* ط¥ظ„ط؛ط§ط، طھط£ط«ظٹط± hover ظپظٹ ط§ظ„ط´ط§ط´ط§طھ ط§ظ„طµط؛ظٹط±ط© */
@media (max-width: 768px) {
    .product-card:hover .product-quick-view {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
}

/* ظ„ظ„ط´ط§ط´ط§طھ ط§ظ„ظƒط¨ظٹط±ط© ظپظ‚ط· - ط¥ط®ظپط§ط، ط§ظ„ط£ظٹظ‚ظˆظ†ط© ط¥ظ„ط§ ط¹ظ†ط¯ hover */
@media (min-width: 769px) {
    .product-quick-view {
        opacity: 0 !important;
        transform: translateY(-10px) !important;
    }
    
    .product-card:hover .product-quick-view {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
}
/* ط£ظٹظ‚ظˆظ†ط© ط§ظ„ظ†ط¸ط±ط© ط§ظ„ط³ط±ظٹط¹ط© طھط¸ظ‡ط± ظپظ‚ط· ط¹ظ†ط¯ظ…ط§ ظٹط¸ظ‡ط± ط²ط± ط§ظ„ظ‡ط§ظ…ط¨ط±ط؛ط± */
@media (max-width: 991px) {
    .product-quick-view {
        opacity: 1 !important;
        transform: translateY(0) !important;
        visibility: visible !important;
        display: flex !important;
    }
}

/* ط¥ط®ظپط§ط، ط£ظٹظ‚ظˆظ†ط© ط§ظ„ظ†ط¸ط±ط© ط§ظ„ط³ط±ظٹط¹ط© ظپظٹ ط§ظ„ط´ط§ط´ط§طھ ط§ظ„ظƒط¨ظٹط±ط© ط¥ظ„ط§ ط¹ظ†ط¯ hover */
@media (min-width: 992px) {
    .product-quick-view {
        opacity: 0 !important;
        transform: translateY(-10px) !important;
    }
    
    .product-card:hover .product-quick-view {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }
}
/* إضافة حدود للمنتج عند التمرير في الشاشات الصغيرة */
@media (max-width: 991px) {
    .product-card,
    .product-card-v2 {
        border-radius: 16px !important;
        border: 1px solid #e5e7eb;
    }
    
    .product-card:hover,
    .product-card-v2:hover {
        /* بدون تأثير */
    }
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    margin-top: 8px;
}

.quantity-btn {
    background: #f3f4f6;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 12px;
    color: #4b5563;
    transition: all 0.2s ease;
}

.quantity-btn:hover {
    background: #e5e7eb;
    color: #1f2937;
}

.quantity {
    margin: 0 8px;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

/* ===== ط£ظٹظ‚ظˆظ†ط© ط§ظ„طھط­ظ…ظٹظ„ (Spinner) ===== */
.loading-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== ط£ظٹظ‚ظˆظ†ط© ط§ظ„طھط­ظ…ظٹظ„ (Spinner) ===== */
.spinner {
    display: inline-block !important;
    width: 18px !important;
    height: 18px !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    border-top: 2px solid white !important;
    border-radius: 50% !important;
    animation: spin 1s linear infinite !important;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.spinner-blade:nth-child(1) { transform: rotate(0deg) !important; animation-delay: 0s !important; }
.spinner-blade:nth-child(2) { transform: rotate(30deg) !important; animation-delay: 0.083s !important; }
.spinner-blade:nth-child(3) { transform: rotate(60deg) !important; animation-delay: 0.166s !important; }
.spinner-blade:nth-child(4) { transform: rotate(90deg) !important; animation-delay: 0.25s !important; }
.spinner-blade:nth-child(5) { transform: rotate(120deg) !important; animation-delay: 0.333s !important; }
.spinner-blade:nth-child(6) { transform: rotate(150deg) !important; animation-delay: 0.416s !important; }
.spinner-blade:nth-child(7) { transform: rotate(180deg) !important; animation-delay: 0.5s !important; }
.spinner-blade:nth-child(8) { transform: rotate(210deg) !important; animation-delay: 0.583s !important; }
.spinner-blade:nth-child(9) { transform: rotate(240deg) !important; animation-delay: 0.666s !important; }
.spinner-blade:nth-child(10) { transform: rotate(270deg) !important; animation-delay: 0.75s !important; }
.spinner-blade:nth-child(11) { transform: rotate(300deg) !important; animation-delay: 0.833s !important; }
.spinner-blade:nth-child(12) { transform: rotate(330deg) !important; animation-delay: 0.916s !important; }

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fade {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* ظپط±ط¶ ط¸ظ‡ظˆط± ط§ظ„ظ€ spinner ظپظٹ ط¬ظ…ظٹط¹ ط§ظ„ط­ط§ظ„ط§طھ */
.add-to-cart .spinner,
.add-to-cart:hover .spinner,
.add-to-cart:not(:hover) .spinner {
    color: white !important;
    visibility: visible !important;
    opacity: 1 !important;
    display: inline-block !important;
}

.add-to-cart .spinner .spinner-blade,
.add-to-cart:hover .spinner .spinner-blade,
.add-to-cart:not(:hover) .spinner .spinner-blade {
    background-color: white !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: white !important;
}

/* ط£ظٹظ‚ظˆظ†ط© ط§ظ„طھط­ظ…ظٹظ„ ظپظٹ ط²ط± ط§ظ„ظ…ظپط¶ظ„ط© */
.product-favorite .spinner {
    border: 2px solid rgba(244, 114, 182, 0.3) !important;
    border-top: 2px solid #f472b6 !important;
}

.product-favorite.active .spinner {
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    border-top: 2px solid white !important;
}

/* ===== ظ†ظ…ط§ط°ط¬ ط§ظ„ط·ظ„ط¨ط§طھ ===== */
.checkout-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.checkout-modal.active {
    opacity: 1;
    visibility: visible;
}

.checkout-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: scale(0.8);
    transition: transform 0.3s ease;
    position: relative;
}

.checkout-modal.active .checkout-content {
    transform: scale(1);
}

.checkout-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #6b7280;
    font-size: 16px;
}

.checkout-close:hover {
    background: #ef4444;
    border-color: #ef4444;
    color: white;
}

.checkout-header {
    text-align: center;
    margin-bottom: 30px;
}

.checkout-header h3 {
    font-size: 28px;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 10px;
}

.checkout-header p {
    color: #6b7280;
    font-size: 16px;
}

.checkout-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.order-summary {
    background: #f8fafc;
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    border: 2px solid #e2e8f0;
}

.order-summary h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
}

.summary-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-total {
    text-align: center;
    font-size: 20px;
    color: #222222;
    padding: 15px;
    background: white;
    border-radius: 10px;
    border: 2px solid #222222;
}

.submit-order-btn {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 16px;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

.submit-order-btn:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.submit-order-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* ظ†ط§ظپط°ط© ظ†ط¬ط§ط­ ط§ظ„ط·ظ„ط¨ */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.success-modal.active {
    opacity: 1;
    visibility: visible;
}

.success-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.success-modal.active .success-content {
    transform: scale(1);
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #222222, #111111);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 36px;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.success-content h3 {
    font-size: 24px;
    font-weight: 800;
    color: #1f2937;
    margin-bottom: 15px;
}

.success-content p {
    color: #6b7280;
    margin-bottom: 10px;
    font-size: 16px;
}

.success-btn {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    margin-top: 20px;
}

.success-btn:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

@media (max-width: 768px) {
    .checkout-content,
    .success-content {
        padding: 25px;
        margin: 20px;
    }
    
    .checkout-header h3 {
        font-size: 24px;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 10px 14px;
    }
}
/* ظ‚ط³ظ… ط§ظ„ظپظٹط¯ظٹظˆ ط§ظ„طھط±ظˆظٹط¬ظٹ */
.promo-video-section {
    position: relative;
    width: 100%;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;
    margin: 40px 0;
}

.video-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.promo-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(26, 35, 126, 0.8), rgba(57, 73, 171, 0.6));
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-content {
    text-align: center;
    color: white;
    max-width: 600px;
    padding: 0 20px;
}

.video-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.video-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.video-cta-btn {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3);
}

.video-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.4);
}

/* ظ‚ط³ظ… ط§ظ„ط¹ط±ظˆط¶ ظˆط§ظ„ط®طµظˆظ…ط§طھ */
.offers-section {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    padding: 60px 0;
    margin: 40px 0;
}

.offers-grid {
    gap: 25px;
}

.offer-card {
    position: relative;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.offer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: #ff6b35;
}

.hot-offer {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    font-weight: 700;
    font-size: 14px;
    padding: 8px 15px;
    border-radius: 0 0 15px 0;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.offer-timer {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(220, 38, 38, 0.9);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 2;
}

.offer-timer i {
    margin-left: 5px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.offer-price {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.offer-price .price-current {
    color: #16a34a;
    font-size: 1.4rem;
    font-weight: 800;
}

.offer-price .price-old {
    color: #dc2626;
    text-decoration: line-through;
    font-size: 1rem;
    opacity: 0.7;
}

.offer-price .savings {
    background: linear-gradient(135deg, #16a34a, #222222);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    margin-top: 5px;
}

.offer-btn {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
}

.offer-btn:hover {
    background: linear-gradient(135deg, #e55a2b, #e8851a);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}


@media (max-width: 768px) {
    .promo-video-section {
        height: 50vh;
        min-height: 300px;
    }
    
    .video-title {
        font-size: 1.8rem;
    }
    
    .video-subtitle {
        font-size: 1rem;
    }
    
    .video-cta-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .offers-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
}


/* تصميم المنتجات النافدة في السايدبار */
.cart-item.out-of-stock-item {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border: 2px solid #fca5a5;
    border-radius: 8px;
    animation: itemPulse 2s ease-in-out infinite;
}

@keyframes itemPulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(239, 68, 68, 0.2);
    }
    50% {
        box-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
    }
}

.cart-item.out-of-stock-item .cart-item-image {
    position: relative;
}

/* تحسين السحب بالماوس لقسم التعليقات */
.testimonials-grid {
    cursor: grab;
    user-select: none;
}

.testimonials-grid:active {
    cursor: grabbing;
}

.testimonials-grid.active {
    cursor: grabbing;
}

/* Out of Stock Cart Items */
.cart-item.out-of-stock {
    border-color: #ddd;
    background: #f9f9f9;
}

.out-of-stock-badge {
    display: inline-block;
    background: #ff4444;
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    margin: 5px 0;
}

.notify-btn-cart {
    background: #198754;
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.notify-btn-cart:hover {
    background: #157347;
    transform: translateY(-2px);
}

.notify-btn-cart i {
    font-size: 12px;
}

.notify-btn-cart.registered {
    background: #1f2937;
    cursor: pointer;
}

.notify-btn-cart.registered:hover {
    background: #111827;
    transform: translateY(-2px);
}

/* Loading Spinner Small for Cart Buttons */
.loading-spinner-small {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}


/* ===== نتائج البحث - ثيم الخضار والفواكه ===== */
.search-results {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(44, 85, 48, 0.2);
    max-height: 70vh;
    overflow-y: auto;
    z-index: 9999;
    border: 3px solid #1f2937;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.search-results.active {
    opacity: 1;
    visibility: visible;
}

/* تأثير البحث النشط - يطلع لفوق */
.search-bar.searching {
    transform: translateY(-10px);
    transition: transform 0.3s ease;
}

.search-bar.searching .search-input {
    border-color: #1f2937;
    box-shadow: 0 0 0 4px rgba(44, 85, 48, 0.1);
}

/* Overlay للنتائج - تم نقله لـ mobile-header.css */

.search-result-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 15px;
    border-bottom: 1px solid #e5e7eb;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-result-item:hover {
    background: linear-gradient(135deg, rgba(44, 85, 48, 0.05), rgba(74, 124, 89, 0.05));
    border-left: 3px solid #1f2937;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-image {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid #e5e7eb;
}

.search-result-info {
    flex: 1;
}

.search-result-name {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
}

.search-result-category {
    font-size: 12px;
    color: #1f2937;
    font-weight: 500;
}

.search-result-price {
    font-size: 14px;
    font-weight: 700;
    color: #1f2937;
}

.search-no-results {
    padding: 30px;
    text-align: center;
    color: #6b7280;
}

.search-no-results i {
    font-size: 40px;
    color: #1f2937;
    margin-bottom: 10px;
    opacity: 0.5;
}

/* نتائج البحث بملء الشاشة - تم نقله لـ mobile-header.css */

.search-results {
    position: fixed;
    top: 120px;
    left: 50%;
    transform: translateX(-50%) translateY(-20px);
    width: 90%;
    max-width: 800px;
    max-height: calc(100vh - 200px);
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    overflow-y: auto;
    padding: 20px;
}

.search-results.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    margin-bottom: 10px;
}

.search-result-item:hover {
    background: #f9fafb;
    border-color: #1f2937;
    transform: translateX(-5px);
}

.search-result-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.search-result-info {
    flex: 1;
}

.search-result-name {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 5px;
}

.search-result-category {
    font-size: 14px;
    color: #6b7280;
}

.search-result-price {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    flex-shrink: 0;
}

.search-no-results {
    text-align: center;
    padding: 60px 20px;
    color: #9ca3af;
}

.search-no-results i {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.search-no-results p {
    font-size: 18px;
    font-weight: 500;
}

.search-bar.searching .search-input {
    border-color: #1f2937;
    box-shadow: 0 0 0 3px rgba(44, 85, 48, 0.1);
}

@media (max-width: 768px) {
    .search-results {
        top: 100px;
        width: 95%;
        max-height: calc(100vh - 150px);
        padding: 15px;
    }
    
    .search-result-item {
        padding: 12px;
    }
    
    .search-result-image {
        width: 60px;
        height: 60px;
    }
    
    .search-result-name {
        font-size: 14px;
    }
    
    .search-result-price {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .search-results {
        top: 80px;
        width: 98%;
        max-height: calc(100vh - 120px);
        padding: 10px;
        border-radius: 15px;
    }
    
    .search-result-item {
        padding: 10px;
        gap: 10px;
    }
    
    .search-result-image {
        width: 50px;
        height: 50px;
    }
    
    .search-result-name {
        font-size: 13px;
    }
    
    .search-result-category {
        font-size: 12px;
    }
    
    .search-result-price {
        font-size: 14px;
    }
}

/* ===== خلفية ثابتة لكل الصفحة ===== */
.products-section,
.category-section,
.testimonials-section,
.promo-video-section {
    background: transparent !important;
}

.category-section-fullwidth {
    background: transparent !important;
}

/* شفافية للكونتينرات */
.container {
    background: transparent !important;
}

/* التأكد من ظهور الخلفية خلف كل شيء */
body > * {
    position: relative;
    z-index: 1;
}

body::before {
    z-index: 0 !important;
}

/* ===== تصميم نظيف للفئات - العنوان بجانب الأزرار ===== */
.categories-clean {
    padding: 40px 0;
    background: #fff;
}

.categories-header-inline {
    margin-bottom: 30px;
}

.header-content-inline {
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-text-inline {
    text-align: center;
}

.title-wrapper-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 0;
}

.title-inline {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.title-divider {
    display: none;
}

.subtitle-wrapper-inline {
    display: none;
}

.subtitle-arrow {
    display: none;
}

.subtitle-inline {
    display: none;
}

.nav-buttons-inline {
    display: none;
}

.categories-grid-clean {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 0 30px;
}

.category-card-clean {
    background: #fff;
    overflow: hidden;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
}

.category-card-clean:hover .category-img-clean {
    transform: scale(1.05);
}

.category-img-clean {
    width: 100%;
    height: 250px;
    margin: 0;
    background-size: cover;
    background-position: center;
    border-radius: 0;
    border: none;
    transition: transform 0.4s ease;
}

.category-info-clean {
    padding: 15px 10px;
    text-align: center;
    background: #fff;
}

.category-name-clean {
    font-size: 15px;
    font-weight: 500;
    color: #333;
    margin: 0;
    line-height: 1.4;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    padding-bottom: 3px;
}

.category-name-clean::after {
    content: '›';
    font-size: 18px;
    color: #666;
}

.category-name-clean::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: #333;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.category-card-clean:hover .category-name-clean::before {
    transform: scaleX(1);
}

.category-count-clean {
    display: none;
}

/* Responsive */
@media (max-width: 992px) {
    .categories-grid-clean {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        padding: 0 20px;
    }
    
    .category-img-clean {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .categories-clean {
        padding: 30px 0;
    }
    
    .title-inline {
        font-size: 22px;
    }
    
    .categories-grid-clean {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 15px;
    }
    
    .category-img-clean {
        height: 160px;
    }
    
    .category-info-clean {
        padding: 12px 8px;
    }
    
    .category-name-clean {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .categories-grid-clean {
        gap: 10px;
        padding: 0 12px;
    }
    
    .category-img-clean {
        height: 130px;
    }
    
    .category-info-clean {
        padding: 10px 6px;
    }
    
    .category-name-clean {
        font-size: 13px;
    }
}




.nav-buttons-inline {
    display: flex;
    gap: 12px;
}



.nav-btn-inline {
    width: 48px;
    height: 48px;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
    color: #1f2937;
    font-size: 18px;
}

.nav-btn-inline:hover {
    background: #1f2937;
    border-color: #1f2937;
    color: white;
    transform: scale(1.05);
}

.nav-btn-inline:active {
    transform: scale(0.95);
    transition: all 0.1s ease;
}


/* السماح بنسخ النصوص في الفئات */
.category-name-clean,
.category-count-clean {
    user-select: text;
    cursor: text;
}

.category-name-clean:hover,
.category-count-clean:hover {
    cursor: text;
}

.categories-grid-clean {
    user-select: none;
}


/* ===== ستايلات كرت المنتج - تصميم نظيف ===== */

/* شارة الخصم */
.discount-badge-corner {
    position: absolute;
    top: 10px;
    right: 10px;
    left: auto;
    background: #C5A572;
    color: #fff;
    font-size: 9px;
    font-weight: 500;
    width: auto;
    height: auto;
    padding: 4px 10px;
    border-radius: 4px;
    z-index: 10;
    box-shadow: none;
    display: inline-block;
    line-height: 1.2;
    white-space: nowrap;
}

.discount-badge-corner.featured-badge {
    background: #8b5cf6;
    box-shadow: none;
}

/* إخفاء زر المفضلة القديم */
.product-favorite.product-fav-v2 {
    display: none !important;
}

/* زر أعلمني عند التوفر - مستطيل مثل زر السلة */
.product-notify {
    width: 100%;
    height: 38px;
    background: #1f2937;
    border: none;
    border-radius: 25px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 12px rgba(44, 85, 48, 0.3);
}

.product-notify:hover {
    background: #1f2937;
    transform: scale(1.02);
    box-shadow: 0 6px 16px rgba(44, 85, 48, 0.4);
}

/* العد التنازلي */
.offer-countdown.countdown-v2 {
    background: linear-gradient(135deg, #ff5252, #f44336);
    border: 2px solid #d32f2f;
    border-radius: 0 0 12px 12px;
    padding: 8px;
    text-align: center;
    box-shadow: 0 -2px 8px rgba(244, 67, 54, 0.3);
}

.countdown-label {
    font-size: 11px;
    color: white;
    font-weight: 700;
    margin-bottom: 4px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.countdown-boxes {
    display: flex;
    justify-content: center;
    gap: 4px;
}

.countdown-box {
    background: white;
    color: #d32f2f;
    padding: 4px 6px;
    border-radius: 4px;
    min-width: 32px;
}

.countdown-box .countdown-days,
.countdown-box .countdown-hours,
.countdown-box .countdown-minutes {
    font-weight: 800;
    font-size: 14px;
    line-height: 1;
}

.countdown-unit {
    font-size: 8px;
    font-weight: 600;
    margin-top: 1px;
    color: #666;
}

/* السعر القديم */
.price-old {
    text-decoration: line-through;
    font-size: 13px;
    color: #999;
}

/* ═══════════════════════════════════════════════════════════════
   زر المفضلة على صورة المنتج
   ═══════════════════════════════════════════════════════════════ */
.product-fav-btn {
    width: 36px;
    height: 36px;
    border-radius: 0;
    border: none;
    background: transparent;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: none;
}

/* زر المفضلة على الصورة */
.product-fav-img {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
}

.product-fav-btn:hover {
    border-color: transparent;
    color: #C5A572;
    background: transparent;
    transform: none;
}

.product-fav-btn.active {
    background: transparent;
    border-color: transparent;
    color: #C5A572;
}

.product-fav-btn.active i {
    font-weight: 900;
}

.product-fav-btn.active:hover {
    background: transparent;
    box-shadow: none;
    color: #a8894d;
}

.product-fav-btn i {
    transition: transform 0.2s ease;
}

.product-fav-btn:hover i {
    transform: scale(1.1);
}

.product-fav-btn:disabled {
    cursor: wait;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .product-fav-btn {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }
    
    .product-fav-img {
        top: 6px;
        right: 6px;
    }
}

@media (max-width: 480px) {
    /* زر المفضلة أكبر للموبايل */
    .product-fav-btn {
        width: 46px;
        height: 46px;
        font-size: 22px;
    }
    
    .product-fav-img {
        top: 5px;
        right: 5px;
    }
    
    /* أزرار التحكم بعرض كامل */
    .product-footer {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
    }
    
    .product-price {
        text-align: center !important;
        width: 100% !important;
    }
    
    .product-cart-controls {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
    }
    
    /* أزرار الكمية بعرض كامل */
    .quantity-controls {
        width: 100% !important;
        box-sizing: border-box !important;
        max-width: 100% !important;
        min-width: 100% !important;
        justify-content: space-between !important;
        padding: 6px 8px !important;
        border-radius: 25px !important;
        margin: 0 !important;
    }
    
    .quantity-controls.active {
        display: flex !important;
    }
    
    /* إخفاء زر السلة عند ظهور أزرار الكمية */
    .quantity-controls.active ~ .add-to-cart {
        display: none !important;
    }
    
    .quantity-btn {
        width: 40px !important;
        height: 40px !important;
        font-size: 20px !important;
        flex-shrink: 0 !important;
    }
    
    .quantity-display {
        font-size: 22px !important;
        font-weight: 700 !important;
        flex: 1 !important;
        text-align: center !important;
    }
    
    .add-to-cart {
        width: 100% !important;
        height: 44px !important;
        font-size: 18px !important;
        border-radius: 25px !important;
    }
    
    /* زر أعلمني عند التوفر - مستطيل مثل زر السلة */
    .product-notify {
        width: 100% !important;
        height: 44px !important;
        font-size: 18px !important;
        border-radius: 25px !important;
    }
}
