
        /* ===== ط¥ط¹ط¯ط§ط¯ط§طھ ط¹ط§ظ…ط© ===== */
        :root {
            --primary-color: #1a237e;
            --secondary-color: #3949ab;
            --accent-color: #00897b;
            --danger-color: #e53935;
            --warning-color: #fb8c00;
            --info-color: #039be5;
            --purple-color: #8e24aa;
            --pink-color: #d81b60;
            --dark-color: #263238;
            --light-color: #f5f7fa;
            --gray-color: #78909c;
            --border-color: #e0e6ed;
            --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
            --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
            --shadow-lg: 0 8px 24px rgba(0,0,0,0.16);
            --shadow-xl: 0 12px 36px rgba(0,0,0,0.20);
            --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, var(--primary-color), var(--secondary-color));
            --gradient-accent: linear-gradient(135deg, var(--accent-color), #00695c);
            --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;
        }
        
        body {
            font-family: 'Cairo', sans-serif;
            background-color: #ffffff;
            color: var(--dark-color);
            direction: rtl;
            line-height: 1.6;
            overflow-x: hidden;
            padding-top: 140px;
        }
        
        .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: white;
            box-shadow: 0 4px 20px rgba(102, 126, 234, 0.15);
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            backdrop-filter: blur(15px);
            background-color: rgba(255, 255, 255, 0.98);
            transition: transform 0.3s ease-out;
            border-bottom: 1px solid rgba(102, 126, 234, 0.1);
        }
        

        
        /* طھط£ط«ظٹط± ط§ظ„طھظ…ط±ظٹط± ط¹ظ„ظ‰ ط§ظ„ظ‡ظٹط¯ط± */
        .header.scrolled {
            box-shadow: 0 8px 32px rgba(102, 126, 234, 0.2);
            background-color: rgba(255, 255, 255, 0.95);
        }
        
        .header.hidden {
            transform: translateY(-100%);
        }
        
        /* ط­ط±ظƒط© ظ…ظˆط­ط¯ط© ظ„ظ„ظ‡ظٹط¯ط± ظپظٹ ط¬ظ…ظٹط¹ ط§ظ„طµظپط­ط§طھ */
        .header {
            transition: transform 0.6s ease-out !important;
        }
        
        .header-top {
            background: #1a237e;
            color: white;
            padding: 12px 0;
            font-size: 15px;
            overflow: hidden;
            position: relative;
            will-change: transform, opacity, filter;
            transform-style: preserve-3d;
            perspective: 1000px;
            box-shadow: 0 2px 10px rgba(26, 35, 126, 0.3);
        }
        
        .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: 15px 0;
        }
        
        .header-content {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 25px;
            padding: 0 10px;
        }
        
        .logo {
            display: flex;
            align-items: center;
            gap: 12px;
            text-decoration: none;
        }
        
        .logo-icon {
            width: 80px;
            height: 80px;
            background: transparent;
            border-radius: var(--radius-lg);
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
        }
        
        .logo-icon::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(45deg, transparent, rgba(59, 130, 246, 0.2), transparent);
            transform: translateX(-100%);
            animation: logoShine 3s infinite;
        }
        
        @keyframes logoShine {
            0% { transform: translateX(-100%); }
            50% { transform: translateX(100%); }
            100% { transform: translateX(-100%); }
        }
        

        
        .logo-icon img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }
        
        .logo-text {
            font-size: 24px;
            font-weight: 800;
            background: var(--gradient-primary);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        .search-bar {
            flex: 1;
            max-width: 600px;
            position: relative;
        }
        
        .search-input {
            width: 100%;
            padding: 12px 50px 12px 20px;
            border: 2px solid var(--border-color);
            border-radius: var(--radius-full);
            font-size: 15px;
            font-weight: 500;
            transition: var(--transition);
            background: white;
            box-shadow: var(--shadow-sm);
            height: 48px;
        }
        
        .search-input:focus {
            outline: none;
            border-color: var(--secondary-color);
            box-shadow: 0 0 0 4px rgba(57, 73, 171, 0.1), var(--shadow-md);
        }
        
        .search-btn {
            position: absolute;
            left: 2px;
            top: 2px;
            background: linear-gradient(135deg, #3b82f6, #1e40af);
            color: white;
            border: none;
            width: 44px;
            height: 44px;
            border-radius: var(--radius-full);
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: var(--transition);
            overflow: hidden;
        }
        
        .search-btn::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 0;
            height: 0;
            background: rgba(255,255,255,0.2);
            border-radius: 50%;
            transform: translate(-50%, -50%);
            transition: width 0.6s, height 0.6s;
        }
        
        .search-btn:hover::before {
            width: 80%;
            height: 80%;
        }
        
        .search-btn:hover {
            transform: scale(1.05);
            box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
            background: linear-gradient(135deg, #2563eb, #1d4ed8);
        }
        
        .search-btn i {
            font-size: 18px;
            position: relative;
            z-index: 1;
        }
        
        /* ط¥طµظ„ط§ط­ ط£ظٹظ‚ظˆظ†ط© ط§ظ„ط¨ط­ط« ظپظٹ ط§ظ„ط´ط§ط´ط§طھ ط§ظ„طµط؛ظٹط±ط© */
        @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;
        }
        
        .action-btn {
            position: relative;
            background: #f8fafc;
            border: 2px solid transparent;
            width: 52px;
            height: 52px;
            border-radius: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            color: #475569;
            font-size: 20px;
            transition: all 0.3s ease;
            margin: 0 4px;
        }
        
        .action-btn:hover {
            background: #e2e8f0;
            border-color: #cbd5e1;
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }
        
        .cart-btn:hover {
            transform: none !important;
        }
        
        .cart-btn i {
            transition: none !important;
        }
        
        .cart-btn:hover i {
            transform: none !important;
        }
        
      
        
        .favorites-btn {
            background: linear-gradient(135deg, #fef3f2, #fecaca);
            color: #dc2626;
            border: none;
            position: relative;
            overflow: hidden;
        }
        
        .favorites-btn:hover {
            background: linear-gradient(135deg, #fecaca, #f87171);
            color: white;
            box-shadow: 0 6px 16px rgba(248, 113, 113, 0.3);
            transform: none;
        }
        
        .favorites-btn .fas.fa-heart {
            animation: heartbeat 2s infinite;
        }
        
        @keyframes heartbeat {
            0%, 100% { transform: scale(1); }
            14% { transform: scale(1.1); }
            28% { transform: scale(1); }
            42% { transform: scale(1.1); }
            70% { transform: scale(1); }
        }
        

        

        
        .action-btn i {
            transition: var(--transition);
            position: relative;
            z-index: 1;
        }
        
        .action-badge {
            position: absolute;
            top: -8px;
            left: -8px;
            background: linear-gradient(135deg, #ef4444, #dc2626);
            color: white;
            font-size: 11px;
            font-weight: 700;
            width: 22px;
            height: 22px;
            border-radius: 11px;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 2;
            border: 2px solid white;
            box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
            animation: pulse-badge 2s infinite;
        }
        
        @keyframes pulse-badge {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.1); }
        }
        
        @keyframes bounce {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-3px); }
        }
        
        .cart-btn {
            background: white;
            color: #3b82f6;
            border: 2px solid #3b82f6;
            padding: 12px 20px;
            width: auto;
            gap: 12px;
            font-weight: 700;
            font-size: 15px;
            border-radius: 50px;
            transition: all 0.3s ease;
            margin: 0;
            box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
            position: relative;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .cart-btn::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;
        }
        
        .cart-btn:hover::before {
            left: 100%;
        }
        
        .cart-btn:hover {
            background: #3b82f6;
            color: white;
            border-color: #3b82f6;
            box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
        }
        
        .cart-btn:hover .cart-price {
            background: rgba(255, 255, 255, 0.2);
            border-color: rgba(255, 255, 255, 0.3);
            color: white;
        }
        

        

        
        .cart-price {
            font-weight: 800;
            font-size: 16px;
            position: relative;
            z-index: 1;
            background: rgba(59, 130, 246, 0.1);
            padding: 4px 12px;
            border-radius: 12px;
            backdrop-filter: blur(10px);
            border: 1px solid rgba(59, 130, 246, 0.2);
            color: #3b82f6;
        }
        
        /* طھط£ط«ظٹط±ط§طھ ط§ظ„ط§ظ†طھظ‚ط§ظ„ ظ„ظ„ظ…ظپط¶ظ„ط© ظˆط§ظ„ط³ظ„ط© */
        .page-transition {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(59, 130, 246, 0.95), rgba(30, 64, 175, 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, #3b82f6, #1e40af, #3b82f6);
            animation: navbarFill 2.5s infinite ease-in-out;
            box-shadow: 0 0 10px rgba(59, 130, 246, 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: #3b82f6;
            border: 2px solid #3b82f6;
            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: #3b82f6;
            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: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
            position: relative;
        }
        
        .categories::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at 30% 70%, rgba(59, 130, 246, 0.05) 0%, transparent 50%);
            z-index: 0;
        }
        
        .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: 80px 0;
            background: white;
        }
        
        .category-section {
            margin-bottom: 80px;
        }
        
        .category-section:last-child {
            margin-bottom: 0;
        }
        
        .category-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 40px;
            flex-wrap: wrap;
            gap: 20px;
            position: relative;
            z-index: 20;
        }
        
        .category-title-wrapper {
            display: flex;
            align-items: center;
            gap: 16px;
            margin-right: -20px;
        }
        
        @media (max-width: 768px) {
            .category-title-wrapper {
                margin-right: 0;
                gap: 12px;
            }
        }
        
        .category-title-wrapper:hover .category-title-main {
            transform: none !important;
        }
        
        .category-title-main {
            transform: none !important;
            transition: none !important;
        }
        
        .category-title-main:hover {
            transform: none !important;
        }
        
        .category-icon-large {
            width: 60px !important;
            height: 60px !important;
            background: #3b82f6 !important;
            border-radius: 16px !important;
            display: flex !important;
            align-items: center !important;
            justify-content: center !important;
            color: white !important;
            font-size: 26px !important;
            box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3) !important;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
        }
        
        .category-icon-large i {
            color: white !important;
            transform: none !important;
            transition: none !important;
        }
        
        .category-icon-large:hover {
            transform: none !important;
        }
        
        .category-icon-large:hover i {
            transform: none !important;
        }
        
        .category-title-main {
            font-size: 32px;
            font-weight: 800;
            color: var(--dark-color);
            margin: 0;
            word-wrap: break-word;
            overflow-wrap: break-word;
        }
        
        .category-subtitle {
            color: var(--gray-color);
            font-size: 15px;
            margin-top: 4px;
            word-wrap: break-word;
            overflow-wrap: break-word;
        }
        
        @media (max-width: 768px) {
            .category-title-main {
                font-size: 22px;
                line-height: 1.3;
            }
            
            .category-subtitle {
                font-size: 13px;
                line-height: 1.4;
            }
        }
        
        @media (max-width: 480px) {
            .category-title-main {
                font-size: 18px;
                line-height: 1.3;
            }
            
            .category-subtitle {
                font-size: 12px;
                line-height: 1.4;
            }
        }
        
        .view-all-btn {
            background: white;
            color: #3b82f6;
            border: 2px solid #3b82f6;
            padding: 14px 30px;
            border-radius: 50px;
            font-weight: 800;
            cursor: pointer;
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
            font-size: 16px;
            white-space: nowrap;
            position: relative;
            overflow: hidden;
            z-index: 1;
            box-shadow: 0 6px 20px rgba(59, 130, 246, 0.2);
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }
        
        .view-all-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;
        }
        
        .view-all-btn::after {
            font-size: 18px;
            font-weight: bold;
            transition: transform 0.3s ease;
            position: relative;
            z-index: 1;
        }
        
        .view-all-btn:hover::before {
            transform: translateY(-100%);
        }
        
        .view-all-btn:hover {
            color: white;
            border-color: #3b82f6;
            box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
        }
        
        .view-all-btn:hover::after {
            transform: none !important;
        }
        
        .view-all-btn::after {
            transform: none !important;
            transition: none !important;
        }
        
        .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: 25px;
            overflow-x: auto;
            padding: 0 20px;
            scroll-behavior: auto;
            width: 100%;
            flex-wrap: nowrap;
            justify-content: flex-start;
            -webkit-overflow-scrolling: touch;
        }
        
        .products-grid::-webkit-scrollbar {
            display: none;
        }
        
        .products-grid::-webkit-scrollbar-track {
            background: var(--border-color);
            border-radius: 10px;
        }
        
        .products-grid::-webkit-scrollbar-thumb {
            background: var(--secondary-color);
            border-radius: 10px;
        }
        
        .product-card {
            flex: 0 0 300px;
            background: white;
            border-radius: var(--radius-lg);
            overflow: hidden;
            box-shadow: var(--shadow-md);
            transition: var(--transition);
            position: relative;
            border: 2px solid transparent;
            transform: translateZ(0);
        }
        
        /* ط§ظ„ظ…ظ†طھط¬ط§طھ ط§ظ„ظ…ظ…ظٹط²ط© - ط­ط¬ظ… ط£ظƒط¨ط± */
        .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.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.featured-square {
                flex: 0 0 220px;
                min-width: 220px;
                max-width: 220px;
            }
            
            .product-card.featured-square .product-image {
                height: 200px;
            }
        }
        
        .product-card:hover {
            box-shadow: var(--shadow-lg);
            border-color: var(--secondary-color);
        }
        
        .discount-badge {
            position: absolute;
            top: 0;
            left: 0;
            background: linear-gradient(135deg, #dc2626, #991b1b);
            color: white;
            font-weight: bold;
            padding: 8px 20px;
            box-shadow: 0 2px 8px rgba(220, 38, 38, 0.4);
            z-index: 2;
            font-size: 12px;
            border-radius: 0 0 12px 0;
        }
        
        @media (max-width: 768px) {
            .discount-badge {
                padding: 6px 16px;
                font-size: 11px;
            }
        }
        
        @media (max-width: 480px) {
            .discount-badge {
                padding: 5px 14px;
                font-size: 10px;
            }
        }
        
        .product-favorite {
            position: absolute;
            top: 8px;
            right: 8px;
            width: 36px;
            height: 36px;
            background: white;
            border: 2px solid #e2e8f0;
            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);
            z-index: 2;
            box-shadow: 0 4px 16px rgba(59, 130, 246, 0.15);
            font-size: 16px;
            color: #64748b;
        }
        
        @media (max-width: 768px) {
            .product-favorite {
                top: 6px;
                right: 6px;
                width: 32px;
                height: 32px;
                font-size: 14px;
            }
        }
        
        @media (max-width: 480px) {
            .product-favorite {
                top: 4px;
                right: 4px;
                width: 28px;
                height: 28px;
                font-size: 12px;
            }
        }
        
        .product-favorite i {
            transform: none !important;
            transition: none !important;
        }
        
        .product-favorite:hover {
            background: #f472b6;
            border-color: #f472b6;
            color: white;
            transform: scale(1.15);
            box-shadow: 0 8px 24px rgba(244, 114, 182, 0.4);
        }
        
        .product-favorite.active {
            background: #f472b6 !important;
            border-color: #f472b6 !important;
            color: white !important;
            box-shadow: 0 8px 24px rgba(244, 114, 182, 0.4) !important;
        }
        
        .product-notify {
            background: linear-gradient(135deg, #3b82f6, #2563eb);
            color: white;
            border: none;
            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.3);
            font-size: 18px;
            position: relative;
            overflow: hidden;
            animation: bellRing 2s ease-in-out infinite;
        }
        
        .product-notify::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #2563eb, #1e40af);
            opacity: 0;
            transition: opacity 0.4s ease;
            border-radius: var(--radius-full);
        }
        
        .product-notify:hover::before {
            opacity: 1;
        }
        
        .product-notify:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 24px rgba(59, 130, 246, 0.5);
            animation: none;
        }
        
        .product-notify i {
            position: relative;
            z-index: 1;
        }
        
        @keyframes bellRing {
            0%, 100% {
                transform: rotate(0deg);
            }
            10% {
                transform: rotate(15deg);
            }
            20% {
                transform: rotate(-15deg);
            }
            30% {
                transform: rotate(10deg);
            }
            40% {
                transform: rotate(-10deg);
            }
            50% {
                transform: rotate(0deg);
            }
        }
        
        @media (max-width: 768px) {
            .product-notify {
                width: 45px;
                height: 45px;
                font-size: 16px;
            }
        }
        
        @media (max-width: 480px) {
            .product-notify {
                width: 40px;
                height: 40px;
                font-size: 14px;
            }
        }
        
        .product-image {
            height: 250px;
            background: var(--light-color);
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            position: relative;
            overflow: hidden;
        }
        
        .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;
        }
        
        .product-card:hover .product-image::before {
            opacity: 1;
        }
        
        .product-image img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            transition: transform 0.5s;
        }
        

        
        .product-info {
            padding: 25px 25px 35px 25px;
        }
        
        .product-category {
            color: var(--secondary-color);
            font-size: 13px;
            font-weight: 700;
            margin-bottom: 8px;
            text-transform: uppercase;
            letter-spacing: 1px;
        }
        
        .product-name {
            font-size: 18px;
            font-weight: 700;
            color: var(--dark-color);
            margin-bottom: 12px;
            line-height: 1.3;
        }
        
        .product-description {
            color: var(--gray-color);
            font-size: 14px;
            margin-bottom: 16px;
            line-height: 1.6;
        }
        
        .product-rating {
            display: flex;
            align-items: center;
            gap: 8px;
            margin-bottom: 16px;
        }
        
        .stars {
            color: var(--warning-color);
            font-size: 14px;
        }
        
        .rating-count {
            color: var(--gray-color);
            font-size: 13px;
            font-weight: 600;
        }
        
        .product-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            min-height: 50px;
            position: relative;
        }
        
        .product-price {
            display: flex;
            align-items: baseline;
            gap: 8px;
            flex-wrap: wrap;
            max-width: calc(100% - 60px);
        }
        
        .price-current {
            font-size: 20px;
            font-weight: 800;
            background: var(--gradient-accent);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        @media (max-width: 768px) {
            .price-current {
                font-size: 18px;
            }
        }
        
        @media (max-width: 480px) {
            .price-current {
                font-size: 16px;
            }
        }
        
        .price-old {
            font-size: 14px;
            color: var(--gray-color);
            text-decoration: line-through;
            font-weight: 600;
        }
        
        @media (max-width: 768px) {
            .price-old {
                font-size: 13px;
            }
        }
        
        @media (max-width: 480px) {
            .price-old {
                font-size: 12px;
            }
            
            .product-price {
                flex-direction: column;
                align-items: flex-start;
                gap: 2px;
            }
        }
        
        .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;
        }
        
        .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);
        }
        
        .add-to-cart:hover::before {
            transform: translateY(-100%);
        }
        
        .add-to-cart:hover {
            color: white;
            border-color: #3b82f6;
            background: #3b82f6;
            box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
        }
        
        .add-to-cart i {
            position: relative;
            z-index: 1;
            transform: none !important;
            transition: none !important;
        }
        
        .add-to-cart.in-cart {
            background: linear-gradient(135deg, #10b981, #059669) !important;
            border-color: #10b981 !important;
            color: white !important;
            box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4) !important;
            position: relative;
        }
        
        .add-to-cart.in-cart::before {
            background: linear-gradient(135deg, #059669, #047857) !important;
        }
        
        .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;
        }
        
        .add-to-cart.in-cart:hover::before {
            background: linear-gradient(135deg, #dc2626, #b91c1c) !important;
        }
        
        .products-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 50px;
            height: 50px;
            background: rgba(255, 255, 255, 0.9);
            border: 2px solid rgba(255, 255, 255, 0.8);
            border-radius: 50%;
            color: #3b82f6;
            font-size: 18px;
            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;
        }
        
        .products-nav::before {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 0;
            background: #3b82f6;
            transition: height 0.6s ease;
            z-index: -1;
        }
        
        .products-nav:hover::before {
            height: 100%;
        }
        
        .products-nav:hover {
            color: white;
            border-color: #3b82f6;
        }
        
        .products-nav i {
            position: relative;
            z-index: 1;
        }
        
        .products-nav.prev {
            right: 30px;
        }
        
        .products-nav.next {
            left: 30px;
        }
        
        @media (min-width: 1200px) {
            .products-nav.prev {
                right: 50px;
            }
            
            .products-nav.next {
                left: 50px;
            }
        }
        
        /* ===== ط§ظ„ظ…ظ…ظٹط²ط§طھ ط§ظ„ط¹طµط±ظٹط© ===== */
        .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: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
            padding: 80px 0;
            position: relative;
            overflow: hidden;
        }
        
        .why-choose-us::before {
            content: '';
            position: absolute;
            top: -50%;
            right: -10%;
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
            border-radius: 50%;
        }
        
        .why-choose-us::after {
            content: '';
            position: absolute;
            bottom: -50%;
            left: -10%;
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
            border-radius: 50%;
        }
        
        .why-choose-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            margin-top: 50px;
            position: relative;
            z-index: 1;
        }
        
        .why-choose-card {
            background: white;
            padding: 35px 25px;
            border-radius: 20px;
            text-align: center;
            transition: all 0.4s ease;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
            position: relative;
            overflow: hidden;
        }
        
        .why-choose-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 4px;
            background: linear-gradient(90deg, #3b82f6, #10b981);
            transform: scaleX(0);
            transition: transform 0.4s ease;
        }
        
        .why-choose-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(59, 130, 246, 0.2);
        }
        
        .why-choose-card:hover::before {
            transform: scaleX(1);
        }
        
        .why-choose-icon {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, #3b82f6, #1e40af);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 25px;
            transition: all 0.4s ease;
            position: relative;
        }
        
        .why-choose-icon::before {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #10b981, #059669);
            border-radius: 50%;
            opacity: 0;
            transition: opacity 0.4s ease;
        }
        
        .why-choose-card:hover .why-choose-icon::before {
            opacity: 1;
        }
        
        .why-choose-icon i {
            font-size: 35px;
            color: white;
            position: relative;
            z-index: 1;
        }
        
        .why-choose-card h3 {
            font-size: 20px;
            font-weight: 700;
            color: #1f2937;
            margin-bottom: 15px;
            transition: color 0.3s ease;
        }
        
        .why-choose-card:hover h3 {
            color: #3b82f6;
        }
        
        .why-choose-card p {
            font-size: 15px;
            color: #6b7280;
            line-height: 1.7;
            margin: 0;
        }
        
        /* تجاوب الشاشات */
        @media (max-width: 992px) {
            .why-choose-grid {
                grid-template-columns: repeat(2, 1fr) !important;
                gap: 25px;
            }
        }
        
        @media (max-width: 768px) {
            .why-choose-us {
                padding: 60px 0;
            }
            
            .why-choose-grid {
                grid-template-columns: repeat(2, 1fr) !important;
                gap: 20px;
            }
            
            .why-choose-card {
                padding: 30px 20px;
            }
            
            .why-choose-icon {
                width: 70px;
                height: 70px;
            }
            
            .why-choose-icon i {
                font-size: 30px;
            }
        }
        
        @media (max-width: 480px) {
            .why-choose-grid {
                grid-template-columns: repeat(2, 1fr) !important;
                gap: 15px;
            }
            
            .why-choose-card {
                padding: 25px 15px;
            }
            
            .why-choose-icon {
                width: 60px;
                height: 60px;
            }
            
            .why-choose-icon i {
                font-size: 26px;
            }
            
            .why-choose-card h3 {
                font-size: 16px;
            }
            
            .why-choose-card p {
                font-size: 13px;
            }
        }
        
        /* ===== ط§ظ„ظ‚ظˆط§ط¦ظ… ط§ظ„ط³ط±ظٹط¹ط© ===== */
        .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: 100%;
            height: 100%;
        }
        
        .social-link:hover {
            background: #3b82f6;
            color: white;
            border-color: #3b82f6;
            transform: translateY(-4px);
            box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
        }
        
        /* ===== ط§ظ„طھط°ظٹظٹظ„ ط§ظ„ط£ط¨ظٹط¶ ط§ظ„ط¹طµط±ظٹ ===== */
        .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, #3b82f6, #1e40af);
        }
        
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 40px;
            margin-bottom: 40px;
        }
        
        @media (max-width: 768px) {
            .footer-content {
                grid-template-columns: 1fr !important;
                gap: 30px;
            }
        }
        
        @media (max-width: 480px) {
            .footer-content {
                grid-template-columns: 1fr !important;
                gap: 25px;
            }
            
            .footer-section {
                text-align: right;
            }
            
            .footer-section h3::after {
                right: 0;
                transform: none;
            }
        }
        
        .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: #3b82f6;
        }
        
        .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(59, 130, 246, 0.1);
            transition: width 0.3s;
            z-index: 0;
        }
        
        .footer-links a:hover {
            color: #3b82f6;
            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 {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 16px;
        }
        
        .contact-info 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 {
            background: #3b82f6;
            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: #10b981 !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;
            }
        }
        
        @media (max-width: 480px) {
            .footer-section {
                text-align: center;
            }
            
            .footer-section h3::after {
                right: 50%;
                transform: translateX(50%);
            }
        }
        
        .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: #3b82f6;
            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: 20px;
            }
            
            .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: column;
                align-items: flex-start;
            }
            
            .category-title-main {
                font-size: 28px;
            }
        }
        
        @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;
            }
        }
        
        /* ===== ظ†ط§ظپط°ط© ط§ظ„ط³ظ„ط© ط§ظ„ظ…ط­ط³ظ†ط© ===== */
        .cart-sidebar {
            position: fixed;
            top: 0;
            left: -400px;
            width: 400px;
            height: 100vh;
            background: white;
            box-shadow: -5px 0 15px rgba(0,0,0,0.1);
            transition: left 0.3s ease;
            z-index: 3000;
            display: flex;
            flex-direction: column;
        }
        
        .cart-sidebar.active {
            left: 0;
        }
        
        .cart-header {
            background: white;
            color: #198754;
            padding: 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 2px solid #198754;
        }
        
        .cart-title {
            font-size: 20px;
            font-weight: 700;
        }
        
        .cart-close {
            background: white;
            border: 2px solid #198754;
            color: #198754;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 18px;
            transition: all 0.3s ease;
        }
        
        .cart-close:hover {
            background: #198754;
            color: white;
        }
        
        .cart-items {
            flex: 1;
            overflow-y: auto;
            padding: 20px;
        }
        
        .cart-item {
            display: flex;
            gap: 15px;
            margin-bottom: 15px;
            padding: 15px;
            background: white;
            border-radius: 8px;
            border: 2px solid #198754;
            transition: all 0.3s ease;
        }
        
        .cart-item:hover {
            box-shadow: 0 4px 12px rgba(25, 135, 84, 0.2);
        }
        
        .cart-item-image {
            width: 50px !important;
            height: 50px !important;
            border-radius: 6px !important;
            overflow: hidden !important;
            flex-shrink: 0 !important;
            background: white !important;
        }
        
        .cart-item-image img {
            width: 100% !important;
            height: 100% !important;
            object-fit: contain !important;
            object-position: center !important;
            padding: 2px !important;
            background: white !important;
        }
        
        .cart-item-info {
            flex: 1;
        }
        
        .cart-item-name {
            font-weight: 600;
            color: #198754;
            margin-bottom: 5px;
        }
        
        .cart-item-price {
            color: #198754;
            font-weight: 700;
        }
        
        .cart-item-remove {
            background: white;
            border: 2px solid #198754;
            color: #198754;
            width: 35px;
            height: 35px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            font-size: 14px;
            transition: all 0.3s ease;
        }
        
        .cart-item-remove:hover {
            background: #198754;
            color: white;
        }
        
        .cart-item-add {
            background: white;
            color: #198754;
            border: 2px solid #198754;
            padding: 8px 12px;
            border-radius: 8px;
            font-size: 12px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 5px;
            margin-top: 8px;
        }
        
        .cart-item-add:hover {
            background: #198754;
            color: white;
        }
        
        .cart-footer {
            padding: 25px;
            background: white;
            border-top: 2px solid #198754;
            display: block;
        }
        
        .cart-footer.hidden {
            display: none !important;
        }
        
        .cart-total {
            display: flex;
            justify-content: space-between;
            font-size: 20px;
            font-weight: 700;
            margin-bottom: 25px;
            padding: 20px;
            background: white;
            border-radius: 12px;
            border: 2px solid #198754;
            color: #198754;
        }
        
        .cart-buttons {
            display: flex;
            gap: 10px;
        }
        
        .cart-btn {
            flex: 1;
            background: white;
            color: #198754;
            border: 2px solid #198754;
            padding: 16px 20px;
            border-radius: 12px;
            font-weight: 700;
            font-size: 16px;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .cart-btn:hover {
            background: #198754;
            color: white;
        }
        
        .cart-btn i {
            margin-left: 5px;
        }
        
        .cart-empty {
            text-align: center;
            padding: 40px 20px;
            color: #198754;
        }
        
        .cart-empty-icon {
            width: 80px;
            height: 80px;
            background: white;
            border: 2px solid #198754;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 15px;
            color: #198754;
            font-size: 30px;
        }
        
        .cart-empty-title {
            font-size: 18px;
            font-weight: 600;
            color: #198754;
            margin-bottom: 15px;
        }
        
        .cart-empty-btn {
            background: white;
            color: #198754;
            border: 2px solid #198754;
            padding: 10px 20px;
            border-radius: 20px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .cart-empty-btn:hover {
            background: #198754;
            color: white;
        }
        
        .cart-empty-btn i {
            margin-right: 5px;
        }
        
        @media (max-width: 768px) {
            .cart-sidebar {
                width: 100%;
                left: -100%;
            }
            
            .cart-sidebar.active {
                left: 0;
            }
        }
        
        /* ===== ط·ط¨ظ‚ط© ط§ظ„طھط¹طھظٹظ… ط§ظ„ظ…ط­ط³ظ†ط© ===== */
        .overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle, rgba(59, 130, 246, 0.4) 0%, rgba(30, 64, 175, 0.6) 100%);
            z-index: 1050;
            opacity: 0;
            visibility: hidden;
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
        }
        
        .overlay.active {
            opacity: 1;
            visibility: visible;
            animation: overlayFadeIn 0.5s ease-out;
        }
        
        @keyframes overlayFadeIn {
            0% {
                opacity: 0;
                backdrop-filter: blur(0px);
            }
            100% {
                opacity: 1;
                backdrop-filter: blur(8px);
            }
        }
        

        
        /* ===== طھط£ط«ظٹط± ط¥ط¶ط§ظپط© ط§ظ„ظ…ظ†طھط¬ ظ„ظ„ط³ظ„ط© ===== */
        .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 #3b82f6;
    }
    
    .mobile-menu.active {
        right: 0;
    }
    
    .mobile-menu-header {
        background: #3b82f6;
        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: #3b82f6;
        color: white;
    }
    
    .mobile-menu-button.login:hover {
        background: #2563eb;
    }
    
    .mobile-menu-button.register {
        background: white;
        color: #3b82f6;
        border: 2px solid #3b82f6;
    }
    
    .mobile-menu-button.register:hover {
        background: #3b82f6;
        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 #3b82f6;
    }
    
    /* ط²ط®ط±ظپط© ط§ظ„ط¹ظ†ط§ظˆظٹظ† */
    .section-decoration {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        width: 35px;
        height: 35px;
        background: rgba(59, 130, 246, 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0.7;
    }
    
    .mobile-menu-section h3 i {
        color: #3b82f6;
        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: #3b82f6;
        color: white;
        border-color: #3b82f6;
    }
    
    .link-icon-container {
        width: 35px;
        height: 35px;
        border-radius: 8px;
        background: rgba(59, 130, 246, 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: #3b82f6;
    }
    
    .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: 2000;
        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, #f0f9ff, #e0f2fe);
        border-radius: 4px;
    }
    
    .mobile-menu-content::-webkit-scrollbar-thumb {
        background: linear-gradient(135deg, #3b82f6, #1e40af);
        border-radius: 4px;
        box-shadow: 0 2px 6px rgba(59, 130, 246, 0.3);
    }
    
    .mobile-menu-content::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(135deg, #2563eb, #1d4ed8);
    }

        
        /* ===== ط¥ط´ط¹ط§ط±ط§طھ ظ…ط®طµطµط© ===== */
        .notification {
            position: fixed;
            top: 20px;
            right: 20px;
            padding: 20px 30px;
            border-radius: 15px;
            font-weight: 700;
            font-size: 16px;
            z-index: 10000;
            transform: translateX(400px);
            opacity: 0;
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            backdrop-filter: blur(10px);
            border: 2px solid;
            min-width: 300px;
            text-align: center;
        }
        
        .notification.success {
            background: linear-gradient(135deg, #10b981, #059669);
            color: white;
            border-color: #10b981;
        }
        
        .notification.warning {
            background: linear-gradient(135deg, #f59e0b, #d97706);
            color: white;
            border-color: #f59e0b;
            animation: warningPulse 0.6s ease-in-out;
        }
        
        .notification.show {
            transform: translateX(0);
            opacity: 1;
        }
        
        .notification.hide {
            transform: translateX(400px) scale(0.8);
            opacity: 0;
        }
        
        @keyframes warningPulse {
            0% { transform: scale(1); }
            50% { transform: scale(1.05); }
            100% { transform: scale(1); }
        }
        
        @media (max-width: 768px) {
            .notification {
                right: 10px;
                left: 10px;
                min-width: auto;
                transform: translateY(-100px);
            }
            
            .notification.show {
                transform: translateY(0);
            }
            
            .notification.hide {
                transform: translateY(-100px) scale(0.8);
            }
        }
        /* ===== ط¥ط´ط¹ط§ط± ط¥ط¶ط§ظپط© ظ„ظ„ط³ظ„ط© ===== */
        .cart-notification {
            position: fixed;
            bottom: 30px;
            right: 30px;
            background: linear-gradient(135deg, #10b981, #059669);
            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(16, 185, 129, 0.3);
            border: 2px solid #10b981;
            min-width: 300px;
            text-align: center;
        }
        
        .cart-notification.show {
            transform: translateY(0);
            opacity: 1;
        }
        
        /* ===== ظ†ط§ظپط°ط© طھط£ظƒظٹط¯ ط§ظ„ط­ط°ظپ ===== */
        .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: #10b981;
        }
        
        .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: #10b981;
        }
        
        @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 {
    position: absolute;
    top: 66px;
    right: 16px;
    width: 42px;
    height: 42px;
    background: white;
    border: 2px solid #e2e8f0;
    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);
    z-index: 2;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.15);
    font-size: 18px;
    color: #64748b;
    opacity: 0;
    transform: translateY(-10px);
}

.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, #10b981, #059669);
    -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, #10b981, #059669);
    -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, #10b981);
    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, #10b981, #059669, #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, #10b981, 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: #10b981;
    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, #10b981, #059669) !important;
    border-color: #10b981 !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, #059669, #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, #10b981, #059669) !important;
    border-color: #10b981 !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, #059669, #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: 769px) {
    .price-current {
        font-size: 24px !important;
    }
    
    .price-old {
        font-size: 16px !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 {
        box-shadow: var(--shadow-lg) !important;
        border-color: var(--secondary-color) !important;
        transform: translateY(-2px) !important;
    }
}

/* تحسينات إضافية للشاشات الصغيرة جداً */
@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;
    }
    
    .product-card:active .product-image img {
        transform: scale(1.05) !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:hover {
        border: 2px solid var(--secondary-color) !important;
    }
}
/* ط¥ط¶ط§ظپط© طھط£ط«ظٹط± ط§ظ„ظ„ظ…ط³ ظ„ظ„ط´ط§ط´ط§طھ ط§ظ„طµط؛ظٹط±ط© */
@media (max-width: 991px) {
    .product-card:active {
        box-shadow: var(--shadow-lg) !important;
        border-color: var(--secondary-color) !important;
        transform: translateY(-2px) !important;
    }
}
.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: #10b981;
    padding: 15px;
    background: white;
    border-radius: 10px;
    border: 2px solid #10b981;
}

.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, #10b981, #059669);
    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, #22c55e);
    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: #0d9488;
    cursor: pointer;
}

.notify-btn-cart.registered:hover {
    background: #0f766e;
    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;
}
