
    /* =============== VARIABLES =============== */
    :root {
        /* الألوان الرئيسية */
        --primary: #C4161C;
        --primary-dark: #a81217;
        --primary-light: rgba(196, 22, 28, 0.1);
        --secondary: #1E1E1E;
        --white: #FFFFFF;
        --background: #F8F9FA;
        --text: #333333;
        --text-muted: #666666;
        --border: #E1E5E9;
        --success: #28a745;
        --error: #dc3545;
        --warning: #ffc107;
        --info: #17a2b8;
        
        /* المسافات */
        --space-xs: 0.5rem;
        --space-sm: 1rem;
        --space-md: 1.5rem;
        --space-lg: 2rem;
        --space-xl: 3rem;
        --space-xxl: 5rem;
        
        /* التأثيرات */
        --radius: 8px;
        --radius-lg: 12px;
        --radius-xl: 16px;
        --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
        --shadow-md: 0 10px 25px rgba(0, 0, 0, 0.1);
        --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
        --shadow-xl: 0 30px 60px rgba(0, 0, 0, 0.2);
        --transition: all 0.3s ease;
        --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* =============== RESET & BASE =============== */
    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    html {
        scroll-behavior: smooth;
        font-size: 16px;
    }

    body {
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
        line-height: 1.6;
        color: var(--text);
        background-color: var(--background);
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        overflow-x: hidden;
    }

    /* =============== UTILITY CLASSES =============== */
    .text-center { text-align: center; }
    .text-right { text-align: right; }
    .text-left { text-align: left; }
    .mb-0 { margin-bottom: 0 !important; }
    .mt-1 { margin-top: var(--space-sm); }
    .mb-1 { margin-bottom: var(--space-sm); }
    .mt-2 { margin-top: var(--space-md); }
    .mb-2 { margin-bottom: var(--space-md); }
    .mt-3 { margin-top: var(--space-lg); }
    .mb-3 { margin-bottom: var(--space-lg); }

    /* =============== PAGE STRUCTURE =============== */
    .products-page {
        min-height: 100vh;
        position: relative;
    }

    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 var(--space-lg);
        position: relative;
    }

    /* =============== HERO SECTION WITH VIDEO =============== */
    .hero-section {
        position: relative;
        height: 80vh;
        min-height: 600px;
        background: linear-gradient(135deg, 
                    rgba(30, 30, 30, 0.95) 0%, 
                    rgba(30, 30, 30, 0.85) 100%);
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-video-container {
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }

    .hero-video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0.3;
    }

    .hero-overlay {
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background: 
            radial-gradient(circle at 20% 80%, rgba(196, 22, 28, 0.15) 0%, transparent 50%),
            radial-gradient(circle at 80% 20%, rgba(196, 22, 28, 0.1) 0%, transparent 50%);
        z-index: 2;
        animation: gradientMove 15s ease infinite alternate;
    }

    .hero-content {
        position: relative;
        z-index: 3;
        text-align: center;
        max-width: 900px;
        padding: 0 var(--space-lg);
        color: var(--white);
    }

    .hero-title {
        font-size: clamp(2.5rem, 5vw, 4rem);
        margin-bottom: var(--space-md);
        font-weight: 800;
        line-height: 1.2;
        text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
        animation: fadeInDown 0.8s ease-out 0.2s both;
        color: var(--white);
    }

    .hero-description {
        font-size: 1.2rem;
        line-height: 1.8;
        color: rgba(255, 255, 255, 0.9);
        margin-bottom: var(--space-xl);
        animation: fadeInUp 0.8s ease-out 0.4s both;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    /* =============== PRODUCTS CATEGORIES =============== */
    .products-categories {
        padding: var(--space-xxl) 0;
        background-color: var(--white);
        position: relative;
        overflow: hidden;
    }

    .products-categories::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background: 
            radial-gradient(circle at 20% 10%, var(--primary-light) 0%, transparent 40%),
            radial-gradient(circle at 80% 90%, var(--primary-light) 0%, transparent 40%);
    }

    .section-title {
        font-size: clamp(2rem, 4vw, 2.5rem);
        color: var(--secondary);
        margin-bottom: var(--space-sm);
        text-align: center;
        position: relative;
        font-weight: 800;
        z-index: 1;
    }

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -12px;
        right: 50%;
        transform: translateX(50%);
        width: 80px;
        height: 4px;
        background: linear-gradient(90deg, var(--primary), #ff6b6b);
        border-radius: 2px;
        animation: widthGrow 1s ease-out 0.3s both;
    }

    .section-subtitle {
        font-size: 1.2rem;
        color: var(--text-muted);
        margin-bottom: var(--space-xl);
        text-align: center;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
        line-height: 1.6;
        position: relative;
        z-index: 1;
    }

    .categories-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: var(--space-lg);
        margin-top: var(--space-xl);
        position: relative;
        z-index: 1;
    }

    .category-card {
        background-color: var(--white);
        border-radius: var(--radius-lg);
        padding: var(--space-xl);
        text-decoration: none;
        transition: var(--transition-slow);
        display: flex;
        flex-direction: column;
        align-items: center;
        border: 1px solid var(--border);
        position: relative;
        overflow: hidden;
        transform-style: preserve-3d;
        perspective: 1000px;
    }

    .category-card::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, 
                    var(--primary-light) 0%, 
                    transparent 50%, 
                    rgba(255, 255, 255, 0.05) 100%);
        opacity: 0;
        transition: opacity 0.3s ease;
        z-index: 1;
    }

    .category-card::after {
        content: '';
        position: absolute;
        top: -1px;
        right: -1px;
        width: 100%;
        height: 100%;
        border: 1px solid transparent;
        border-radius: inherit;
        background: linear-gradient(135deg, 
                    var(--primary) 0%, 
                    var(--primary-dark) 50%, 
                    transparent 100%) border-box;
        mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
        mask-composite: exclude;
        opacity: 0;
        transition: opacity 0.3s ease;
        z-index: 0;
    }

    .category-card:hover::before {
        opacity: 1;
    }

    .category-card:hover::after {
        opacity: 1;
    }

    .category-card:hover {
        transform: translateY(-15px) scale(1.03) rotateX(5deg) rotateY(5deg);
        box-shadow: var(--shadow-xl);
        border-color: transparent;
    }

    .category-icon {
        font-size: 3.5rem;
        margin-bottom: var(--space-md);
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        z-index: 2;
        color: var(--secondary);
    }

    .category-card:hover .category-icon {
        transform: scale(1.3) rotate(10deg);
        color: var(--primary);
        filter: drop-shadow(0 4px 12px rgba(196, 22, 28, 0.3));
    }

    .category-card h3 {
        color: var(--secondary);
        margin-bottom: var(--space-sm);
        font-size: 1.5rem;
        font-weight: 700;
        position: relative;
        z-index: 2;
        transition: color 0.3s ease;
    }

    .category-card:hover h3 {
        color: var(--primary);
    }

    .category-card p {
        color: var(--text-muted);
        font-size: 0.95rem;
        margin: 0;
        line-height: 1.5;
        text-align: center;
        position: relative;
        z-index: 2;
        transition: color 0.3s ease;
    }

    .category-card:hover p {
        color: var(--text);
    }

    /* =============== PRODUCTS GRID =============== */
    .products-grid-section {
        padding: var(--space-xxl) 0;
        background-color: var(--background);
        position: relative;
    }

    .products-grid-section::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background: 
            radial-gradient(circle at 10% 90%, rgba(0, 0, 0, 0.02) 0%, transparent 50%),
            radial-gradient(circle at 90% 10%, rgba(0, 0, 0, 0.02) 0%, transparent 50%);
    }

    .products-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
        gap: var(--space-xl);
        margin-top: var(--space-xl);
        position: relative;
        z-index: 1;
    }

    .product-card {
        background-color: var(--white);
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow);
        overflow: hidden;
        transition: var(--transition-slow);
        display: flex;
        flex-direction: column;
        animation: fadeInUp 0.6s ease-out;
        height: 100%;
        position: relative;
        border: 1px solid transparent;
        transform-style: preserve-3d;
    }

    .product-card::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, 
                    var(--primary-light) 0%, 
                    transparent 50%);
        opacity: 0;
        transition: opacity 0.3s ease;
        z-index: 1;
    }

    .product-card:hover::before {
        opacity: 0.1;
    }

    .product-card:hover {
        transform: translateY(-20px) scale(1.02) rotateX(2deg) rotateY(2deg);
        box-shadow: 
            0 40px 80px rgba(0, 0, 0, 0.2),
            0 0 0 1px rgba(196, 22, 28, 0.1);
        border-color: transparent;
    }

    /* =============== PRODUCT IMAGE CONTAINER =============== */
    .product-image-container {
        position: relative;
        height: 280px;
        overflow: hidden;
        background: linear-gradient(135deg, #f5f5f5 0%, #e9ecef 100%);
    }

    .product-image-wrapper {
        width: 100%;
        height: 100%;
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .product-image {
        width: 100%;
        height: 100%;
        object-fit: contain;
        transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
        z-index: 1;
        padding: 20px;
        background: var(--white);
    }

    .product-card:hover .product-image {
        transform: scale(1.1) rotate(1deg);
    }

    .product-badge {
        position: absolute;
        top: var(--space-md);
        right: var(--space-md);
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
        color: var(--white);
        padding: 8px 20px;
        border-radius: 20px;
        font-size: 0.85rem;
        font-weight: 600;
        z-index: 3;
        box-shadow: 0 4px 15px rgba(196, 22, 28, 0.3);
        animation: pulse 2s infinite;
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    /* =============== PRODUCT BODY =============== */
    .product-body {
        padding: var(--space-xl);
        flex: 1;
        display: flex;
        flex-direction: column;
        position: relative;
        z-index: 2;
    }

    .product-title {
        font-size: 1.5rem;
        color: var(--secondary);
        margin-bottom: var(--space-sm);
        line-height: 1.3;
        font-weight: 700;
        min-height: 3.5rem;
        transition: color 0.3s ease;
        position: relative;
    }

    .product-title::after {
        content: '';
        position: absolute;
        bottom: -8px;
        right: 0;
        width: 40px;
        height: 2px;
        background: var(--primary);
        border-radius: 1px;
        transition: width 0.3s ease;
    }

    .product-card:hover .product-title {
        color: var(--primary);
    }

    .product-card:hover .product-title::after {
        width: 60px;
    }

    .product-description {
        color: var(--text-muted);
        line-height: 1.7;
        margin-bottom: var(--space-md);
        font-size: 1rem;
        flex-grow: 1;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        position: relative;
    }

    .product-specs {
        display: grid;
        gap: var(--space-sm);
        margin-bottom: var(--space-md);
    }

    .spec {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-bottom: var(--space-sm);
        border-bottom: 1px solid var(--border);
        transition: all 0.3s ease;
        position: relative;
    }

    .spec::before {
        content: '';
        position: absolute;
        bottom: -1px;
        right: 0;
        width: 0;
        height: 1px;
        background: var(--primary);
        transition: width 0.3s ease;
    }

    .product-card:hover .spec::before {
        width: 100%;
    }

    .product-card:hover .spec {
        border-bottom-color: transparent;
    }

    .spec-label {
        color: var(--text-muted);
        font-size: 0.9rem;
        transition: color 0.3s ease;
    }

    .product-card:hover .spec-label {
        color: var(--secondary);
    }

    .spec-value {
        color: var(--primary);
        font-weight: 600;
        font-size: 0.95rem;
        transition: color 0.3s ease;
    }

    .product-card:hover .spec-value {
        color: var(--primary-dark);
    }

    /* =============== PRODUCT FOOTER =============== */
    .product-footer {
        padding: var(--space-lg) var(--space-xl);
        border-top: 1px solid var(--border);
        background-color: rgba(0, 0, 0, 0.02);
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: var(--space-md);
        flex-wrap: wrap;
        margin-top: auto;
        transition: all 0.3s ease;
        position: relative;
        z-index: 2;
    }

    .product-card:hover .product-footer {
        background-color: rgba(196, 22, 28, 0.05);
        border-top-color: transparent;
    }

    .product-link {
        display: inline-flex;
        align-items: center;
        gap: var(--space-sm);
        color: var(--primary);
        font-weight: 600;
        text-decoration: none;
        font-size: 0.95rem;
        transition: all 0.3s ease;
        padding: 10px 18px;
        border-radius: var(--radius);
        background: rgba(196, 22, 28, 0.1);
        border: 1px solid transparent;
        position: relative;
        overflow: hidden;
    }

    .product-link::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, 
                    rgba(196, 22, 28, 0.1) 0%, 
                    rgba(196, 22, 28, 0.05) 100%);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .product-link:hover {
        color: var(--primary-dark);
        transform: translateX(-5px);
        background: rgba(196, 22, 28, 0.15);
        border-color: var(--primary);
    }

    .product-link:hover::before {
        transform: translateX(0);
    }

    .link-icon {
        font-size: 1.2rem;
        transition: transform 0.3s ease;
        position: relative;
        z-index: 1;
    }

    .product-link:hover .link-icon {
        transform: translateX(5px);
    }

    .product-btn {
        background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
        color: var(--white);
        padding: 12px 28px;
        border-radius: var(--radius);
        font-weight: 600;
        text-decoration: none;
        font-size: 0.95rem;
        transition: all 0.3s ease;
        border: none;
        cursor: pointer;
        white-space: nowrap;
        box-shadow: 0 4px 15px rgba(196, 22, 28, 0.3);
        position: relative;
        overflow: hidden;
    }

    .product-btn::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, 
                    rgba(255, 255, 255, 0.1) 0%, 
                    rgba(255, 255, 255, 0.05) 100%);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .product-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(196, 22, 28, 0.4);
        background: linear-gradient(135deg, var(--primary-dark) 0%, #a81217 100%);
    }

    .product-btn:hover::before {
        transform: translateX(0);
    }

    /* =============== CTA SECTION =============== */
    .products-cta {
        padding: var(--space-xxl) 0;
        background: linear-gradient(135deg, 
                    var(--secondary) 0%, 
                    #2a2a2a 100%);
        color: var(--white);
        position: relative;
        overflow: hidden;
    }

    .products-cta::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background: 
            radial-gradient(circle at 20% 30%, rgba(196, 22, 28, 0.15) 0%, transparent 50%),
            radial-gradient(circle at 80% 70%, rgba(196, 22, 28, 0.15) 0%, transparent 50%),
            url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23C4161C' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
        animation: gradientMove 20s ease infinite alternate;
    }

    .cta-content {
        text-align: center;
        max-width: 700px;
        margin: 0 auto;
        position: relative;
        z-index: 1;
    }

    .cta-title {
        font-size: clamp(2rem, 4vw, 2.5rem);
        margin-bottom: var(--space-md);
        color: var(--white);
        font-weight: 800;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }

    .cta-description {
        font-size: 1.2rem;
        color: rgba(255, 255, 255, 0.9);
        margin-bottom: var(--space-xl);
        line-height: 1.7;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .cta-buttons {
        display: flex;
        gap: var(--space-md);
        justify-content: center;
        flex-wrap: wrap;
        margin-bottom: var(--space-xl);
    }

    .cta-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: var(--space-sm);
        padding: var(--space-md) var(--space-xl);
        border-radius: var(--radius);
        font-weight: 600;
        font-size: 1.1rem;
        text-decoration: none;
        transition: var(--transition-slow);
        min-width: 220px;
        position: relative;
        overflow: hidden;
        backdrop-filter: blur(10px);
    }

    .cta-btn::before {
        content: '';
        position: absolute;
        top: 50%;
        right: 50%;
        width: 0;
        height: 0;
        background: rgba(255, 255, 255, 0.15);
        border-radius: 50%;
        transform: translate(50%, -50%);
        transition: width 0.6s ease, height 0.6s ease;
    }

    .cta-btn:hover::before {
        width: 400px;
        height: 400px;
    }

    .cta-btn.primary {
        background: linear-gradient(135deg, 
                    rgba(196, 22, 28, 0.9) 0%, 
                    rgba(168, 18, 23, 0.9) 100%);
        color: var(--white);
        border: 2px solid rgba(196, 22, 28, 0.3);
        box-shadow: 0 8px 32px rgba(196, 22, 28, 0.3);
    }

    .cta-btn.primary:hover {
        transform: translateY(-8px) scale(1.05);
        box-shadow: 
            0 20px 40px rgba(196, 22, 28, 0.4),
            0 0 0 2px rgba(255, 255, 255, 0.2);
        border-color: rgba(255, 255, 255, 0.3);
    }

    .cta-btn.secondary {
        background: rgba(255, 255, 255, 0.1);
        color: var(--white);
        border: 2px solid rgba(255, 255, 255, 0.3);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    }

    .cta-btn.secondary:hover {
        background: rgba(255, 255, 255, 0.9);
        color: var(--secondary);
        transform: translateY(-8px) scale(1.05);
        box-shadow: 
            0 20px 40px rgba(255, 255, 255, 0.3),
            0 0 0 2px rgba(255, 255, 255, 0.3);
    }

    .btn-icon {
        font-size: 1.2rem;
        transition: transform 0.3s ease;
        position: relative;
        z-index: 1;
    }

    .cta-btn:hover .btn-icon {
        transform: translateX(5px);
    }

    .cta-note {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: var(--space-md);
        background: rgba(255, 255, 255, 0.08);
        backdrop-filter: blur(10px);
        padding: var(--space-lg);
        border-radius: var(--radius-lg);
        border: 1px solid rgba(255, 255, 255, 0.12);
        margin-top: var(--space-xl);
    }

    .cta-note p {
        margin: 0;
        display: flex;
        align-items: center;
        gap: var(--space-sm);
        color: rgba(255, 255, 255, 0.9);
        font-size: 0.95rem;
        transition: var(--transition);
    }

    .cta-note p:hover {
        color: var(--white);
        transform: translateX(-5px);
    }

    .cta-note strong {
        color: var(--white);
        font-weight: 700;
    }

    /* =============== ANIMATIONS =============== */
    @keyframes fadeInDown {
        from {
            opacity: 0;
            transform: translateY(-40px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(40px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes fadeInLeft {
        from {
            opacity: 0;
            transform: translateX(40px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    @keyframes fadeInRight {
        from {
            opacity: 0;
            transform: translateX(-40px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    @keyframes gradientMove {
        0% { transform: translate(0, 0) scale(1); }
        50% { transform: translate(-5%, 5%) scale(1.05); }
        100% { transform: translate(5%, -5%) scale(1.1); }
    }

    @keyframes widthGrow {
        from { width: 0; }
        to { width: 80px; }
    }

    @keyframes pulse {
        0% { 
            transform: scale(1);
            box-shadow: 0 4px 15px rgba(196, 22, 28, 0.3);
        }
        50% { 
            transform: scale(1.05);
            box-shadow: 0 4px 25px rgba(196, 22, 28, 0.5);
        }
        100% { 
            transform: scale(1);
            box-shadow: 0 4px 15px rgba(196, 22, 28, 0.3);
        }
    }

    /* =============== RESPONSIVE DESIGN =============== */
    @media (max-width: 1200px) {
        .container {
            padding: 0 var(--space-md);
        }
        
        .products-grid {
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
        }
    }

    @media (max-width: 992px) {
        .hero-title {
            font-size: 2.8rem;
        }
        
        .section-title {
            font-size: 2rem;
        }
        
        .products-grid {
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        }
        
        .cta-buttons {
            gap: var(--space-sm);
        }
        
        .cta-btn {
            min-width: 200px;
        }
    }

    @media (max-width: 768px) {
        .hero-section,
        .products-categories,
        .products-grid-section,
        .products-cta {
            padding: var(--space-xl) 0;
        }
        
        .hero-section {
            min-height: 500px;
            height: 70vh;
        }
        
        .hero-title {
            font-size: 2.2rem;
        }
        
        .hero-description {
            font-size: 1.1rem;
        }
        
        .categories-grid {
            grid-template-columns: repeat(2, 1fr);
        }
        
        .category-card {
            padding: var(--space-lg);
        }
        
        .category-icon {
            font-size: 3rem;
        }
        
        .product-footer {
            flex-direction: column;
            align-items: stretch;
            gap: var(--space-sm);
        }
        
        .product-link,
        .product-btn {
            width: 100%;
            justify-content: center;
            text-align: center;
        }
        
        .cta-title {
            font-size: 1.8rem;
        }
        
        .cta-description {
            font-size: 1rem;
        }
        
        .cta-buttons {
            flex-direction: column;
            align-items: center;
            gap: var(--space-sm);
        }
        
        .cta-btn {
            width: 100%;
            max-width: 300px;
        }
    }

    @media (max-width: 576px) {
        .container {
            padding: 0 var(--space-sm);
        }
        
        .hero-title {
            font-size: 1.8rem;
        }
        
        .hero-description {
            font-size: 1rem;
        }
        
        .categories-grid {
            grid-template-columns: 1fr;
        }
        
        .products-grid {
            grid-template-columns: 1fr;
        }
        
        .product-image-container {
            height: 250px;
        }
        
        .product-body,
        .product-footer {
            padding: var(--space-lg);
        }
        
        .cta-note {
            grid-template-columns: 1fr;
            text-align: center;
        }
        
        .cta-note p {
            justify-content: center;
        }
    }

    /* =============== CARD ANIMATION DELAYS =============== */
    .category-card,
    .product-card {
        animation-duration: 0.8s;
        animation-fill-mode: both;
    }

    .category-card:nth-child(1) { animation-delay: 0.1s; }
    .category-card:nth-child(2) { animation-delay: 0.2s; }
    .category-card:nth-child(3) { animation-delay: 0.3s; }
    .category-card:nth-child(4) { animation-delay: 0.4s; }

    .product-card:nth-child(1) { animation-delay: 0.1s; }
    .product-card:nth-child(2) { animation-delay: 0.2s; }
    .product-card:nth-child(3) { animation-delay: 0.3s; }
    .product-card:nth-child(4) { animation-delay: 0.4s; }
    .product-card:nth-child(5) { animation-delay: 0.5s; }
    .product-card:nth-child(6) { animation-delay: 0.6s; }
    .product-card:nth-child(7) { animation-delay: 0.7s; }
    .product-card:nth-child(8) { animation-delay: 0.8s; }
    .product-card:nth-child(9) { animation-delay: 0.9s; }
    .product-card:nth-child(10) { animation-delay: 1s; }

    /* =============== IMAGE OPTIMIZATION =============== */
    .image-loader {
        position: absolute;
        width: 40px;
        height: 40px;
        border: 3px solid var(--border);
        border-top: 3px solid var(--primary);
        border-radius: 50%;
        animation: spin 1s linear infinite;
        z-index: 1;
        top: 50%;
        right: 50%;
        transform: translate(50%, -50%);
    }

    @keyframes spin {
        0% { transform: translate(50%, -50%) rotate(0deg); }
        100% { transform: translate(50%, -50%) rotate(360deg); }
    }
