.subcategory-filters {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-bottom: 30px !important;
    padding: 0 !important;
    list-style: none !important;
}

.filter-item {
    display: inline-flex !important;
    align-items: center !important;
    padding: 8px 16px !important;
    border-radius: 20px !important;
    background: var(--light-gray) !important;
    color: var(--dark) !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid var(--light-gray) !important;
}

.filter-item:hover {
    background: var(--gray) !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important;
}

.filter-item.active {
    background: var(--primary) !important;
    color: white !important;
    border-color: var(--primary) !important;
}

.filter-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: 8px !important;
    min-width: 22px !important;
    height: 22px !important;
    padding: 0 6px !important;
    border-radius: 50% !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    background: rgba(255, 255, 255, 0.2) !important;
}

.filter-item:not(.active) .filter-badge {
    background: rgba(0, 0, 0, 0.08) !important;
    color: inherit !important;
}














        :root {
            --primary: #2563eb;
            --secondary: #06b6d4;
            --accent: #f97316;
            --light: #f9fafb;
            --dark: #1f2937;
            --text: #1f2937;
            --bg: #f9fafb;
            --gray: #94a3b8;
            --light-gray: #e2e8f0;
        }
        
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            background-color: var(--bg) !important;
            color: var(--text) !important;
            line-height: 1.6;
            transition: background-color 0.3s, color 0.3s;
            font-family: 'Manrope', sans-serif;
        }

        
        header {
            background-color: var(--light);
            background: linear-gradient(to bottom, #ffffff, #f7f9fb);
            box-shadow: 0 2px 8px rgba(0,0,0,0.05);
            position: sticky;
            top: 0;
            z-index: 100;
        }
        
        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
        }
        
        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1.5rem 0;
        }
        
        .logo {
            font-size: 1.8rem;
            font-weight: 700;
            color: #002841;
        }

        .logo img {
            height: 56px;
        }

        .logo span {
            font-family: 'Manrope', sans-serif;
            font-size: 1.8rem;
            font-weight: 700;
            color: #002841;
            letter-spacing: 0.5px;
        }
        
        .nav-links {
            display: flex;
            gap: 2rem;
            align-items: center;
        }
        
        .nav-links a {
            text-decoration: none;
            color: var(--text);
            font-weight: 500;
            transition: color 0.3s;
        }
        
        .nav-links a:hover {
            color: var(--primary);
        }
        
        /* Categories menu */
        .categories-section {
            margin: 40px 0;
            position: relative;
        }
        
        .categories-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }
        
        .categories-title {
            font-size: 1.5rem;
            font-weight: 700;
            color: var(--dark);
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .categories-title svg {
            width: 24px;
            height: 24px;
            color: var(--primary);
        }
        
        .view-all {
            color: var(--primary);
            text-decoration: none;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 5px;
            transition: all 0.3s;
        }
        
        .view-all:hover {
            color: var(--accent);
        }
        
        .categories-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            gap: 15px;
        }
        
        .category-card {
            background: var(--light);
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 4px 6px rgba(0,0,0,0.05);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
        }
        
        .category-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        }
        
        .category-badge {
            position: absolute;
            top: 10px;
            right: 10px;
            background: var(--accent);
            color: white;
            font-size: 0.7rem;
            font-weight: 600;
            padding: 3px 8px;
            border-radius: 20px;
            z-index: 2;
        }
        
        .category-image {
            height: 120px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 3rem;
        }
        
        .category-info {
            padding: 15px;
        }
        
        .category-name {
            font-weight: 600;
            margin-bottom: 5px;
            color: var(--dark);
            font-size: 0.95rem;            
            white-space: nowrap;           
            overflow: hidden;              
            text-overflow: ellipsis;       
        }
        
        .category-count {
            font-size: 0.8rem;
            color: var(--gray);
        }
        
        /* Buttons */
        .btn {
            display: inline-block;
            padding: 0.8rem 1.8rem;
            background-color: #10b981 !important;
            color: white !important;
            border-radius: 0.5rem;
            text-decoration: none;
            font-weight: 600;
            transition: all 0.3s;
            border: none !important;
            cursor: pointer;
            position: relative;
            overflow: hidden;
        }
        
        .btn:hover {
            background-color: #0d9e6f !important;
            transform: translateY(-2px) !important;
        }
        
        .btn:after {
            content: '';
            position: absolute;
            top: -50%;
            left: -60%;
            width: 200%;
            height: 200%;
            background: rgba(255,255,255,0.2);
            transform: rotate(30deg);
            transition: all 0.3s;
        }
        
        .btn:hover:after {
            left: 100%;
        }
        
        .btn-accent {
            background-color: var(--accent);
        }
        
        .btn-accent:hover {
            background-color: #ea580c;
        }


.btn, .btn-view {
    padding: 0.4rem 0.8rem !important;
    font-size: 0.7rem !important;
    border-radius: 0.3rem !important;
    text-decoration: none !important;
    transition: all 0.2s !important;
    text-align: center;
    flex: 1;
}

.btn-view {
    background: var(--dark) !important;
    color: white !important;
    border: none !important;
}

.btn-view:hover {
    background: #111827 !important;
    transform: translateY(-1px) !important;
}


        
        /* Hero section */
        .hero {
            padding: 5rem 0;
            text-align: center;
            background: linear-gradient(135deg, rgba(240,249,255,0.8) 0%, rgba(224,242,254,0.8) 100%);
        }
        
        .hero h1 {
            font-size: 2.8rem;
            margin-bottom: 1rem;
            color: var(--dark);
        }
        
        .hero p {
            font-size: 1.2rem;
            max-width: 700px;
            margin: 0 auto 2rem;
            color: #4b5563;
        }
        
        /* Sections */
        .section-title {
            text-align: center;
            margin-bottom: 3rem;
            font-size: 2rem;
            color: var(--dark);
        }
        
        /* Feature cards */
        .features {
            padding: 4rem 0;
        }
        
        .features-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
        }
        
        .feature-card {
            background: var(--light);
            padding: 2rem;
            border-radius: 0.5rem;
            box-shadow: 0 4px 6px rgba(0,0,0,0.05);
            text-align: center;
            transition: transform 0.3s, box-shadow 0.3s;
        }
        
        .feature-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        }
        
        .feature-icon {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            color: var(--primary);
        }
        
        /* Products section */
        .products {
            padding: 3rem 0;
            background-color: rgba(240,249,255,0.5);
        }
        
        .products-grid {
            display: grid;
            grid-template-columns: repeat(5, minmax(0, 1fr));
            gap: 15px !important;
        }
        
        .product-card {
            background: var(--light);
            border-radius: 0.5rem;
            overflow: hidden;
            box-shadow: 0 4px 6px rgba(0,0,0,0.05);
            transition: all 0.3s;
            position: relative;
            padding: 10px !important;
        }
        
        .product-card:hover {
            box-shadow: 0 10px 15px rgba(0,0,0,0.1);
            transform: translateY(-5px);
        }
        
        .product-badge {
            position: absolute;
            top: 10px;
            right: 10px;
            background: var(--accent);
            color: white;
            padding: 0.3rem 0.6rem;
            border-radius: 0.25rem;
            font-size: 0.8rem;
            font-weight: bold;
            z-index: 2;
        }
        
        .product-image {
            height: 120px !important;
            background-color: #e0f2fe;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary);
            font-size: 3rem;
            position: relative;
            overflow: hidden;
        }


.product-actions {
    display: flex !important;
    gap: 6px !important;
    width: 100% !important;
}

.btn-view {
    background: var(--dark) !important;
    color: white !important;
    padding: 0.5rem 1rem !important;
    font-size: 0.8rem !important;
    border-radius: 0.5rem !important;
    text-decoration: none !important;
    transition: all 0.3s !important;
}

.btn-view:hover {
    background: #111827 !important;
    transform: translateY(-2px) !important;
}


        
        .product-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .product-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.5);
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            transition: opacity 0.3s;
        }
        
        .product-card:hover .product-overlay {
            opacity: 1;
        }
        
        .product-info {
            padding: 0.8rem !important;
        }
        
        .product-meta {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.5rem;
            font-size: 0.9rem;
        }
        
        .product-category {
            color: var(--secondary);
            font-weight: 500;
        }
        
        .product-rating {
            color: #f59e0b;
        }
        
        .product-title {
            font-size: 0.9rem !important;
            margin-bottom: 0.3rem !important;
        }
        
        .product-description {
            color: #6b7280;
            margin-bottom: 1rem;
            font-size: 0.9rem;
            display: none !important;
        }
        
        .product-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 0.5rem !important;
            flex-direction: column !important;
            gap: 8px !important;
        }
        
        .product-price {
            font-weight: 700;
            color: var(--dark);
        }
        
        .price-old {
            text-decoration: line-through;
            color: #9ca3af;
            font-size: 0.9rem;
            margin-right: 0.5rem;
        }
        
        .price-new {
            font-size: 1.3rem;
            color: var(--primary);
        }
        
        /* Newsletter */
        .newsletter {
            padding: 4rem 0;
            text-align: center;
        }
        
        .newsletter-form {
            max-width: 500px;
            margin: 0 auto;
            display: flex;
            gap: 0.5rem;
        }
        
        .newsletter-input {
            flex: 1;
            padding: 0.8rem 1rem;
            border: 1px solid #d1d5db;
            border-radius: 0.5rem;
            font-size: 1rem;
            background: var(--light);
            color: var(--text);
        }
        
        /* Shopping cart */
        .cart-icon {
            position: relative;
            cursor: pointer;
            font-size: 1.5rem;
            padding: 0.5rem;
        }
        
        .cart-count {
            position: absolute;
            top: -5px;
            right: -5px;
            background: var(--accent);
            color: white;
            border-radius: 50%;
            width: 20px;
            height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.7rem;
        }
        
        .cart-dropdown {
            position: absolute;
            right: 0;
            top: 100%;
            width: 300px;
            background: var(--light);
            box-shadow: 0 10px 15px rgba(0,0,0,0.1);
            border-radius: 0.5rem;
            padding: 1rem;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s;
            z-index: 1000;
        }
        
        .cart-icon:hover .cart-dropdown {
            opacity: 1;
            visibility: visible;
        }
        
        .cart-items {
            max-height: 300px;
            overflow-y: auto;
            margin-bottom: 1rem;
        }
        
        .cart-item {
            display: flex;
            justify-content: space-between;
            padding: 0.5rem 0;
            border-bottom: 1px solid #e5e7eb;
        }
        
        .cart-total {
            display: flex;
            justify-content: space-between;
            font-weight: bold;
            padding: 1rem 0;
            border-top: 1px solid #e5e7eb;
        }
        
        /* Footer */
        footer {
            background-color: var(--dark);
            color: white;
            padding: 3rem 0 1.5rem;
        }
        
        .footer-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }
        
        .footer-column h3 {
            font-size: 1.2rem;
            margin-bottom: 1rem;
            color: white;
        }
        
        .footer-column ul {
            list-style: none;
        }
        
        .footer-column li {
            margin-bottom: 0.5rem;
        }
        
        .footer-column a {
            color: #d1d5db;
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .footer-column a:hover {
            color: white;
        }
        
        .copyright {
            text-align: center;
            padding-top: 1.5rem;
            border-top: 1px solid #374151;
            color: #9ca3af;
            font-size: 0.9rem;
        }
        
        /* Dark mode toggle */
        .theme-btn {
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            padding: 0.5rem;
            color: var(--text);
        }

        /* Animations */
        [data-animate] {
            opacity: 0;
            transform: translateY(30px);
            transition: 
                opacity 0.6s ease-out,
                transform 0.6s ease-out;
        }

        [data-animate].animated {
            opacity: 1;
            transform: translateY(0);
        }




.page-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    border-radius: 18px;
    background: var(--light-gray);
    color: var(--dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid var(--light-gray);
}

.page-badge:hover {
    background: var(--gray);
    color: white;
    transform: translateY(-2px);
}

.page-badge.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}







        /* Responsiveness */
        @media (max-width: 900px) {
            .categories-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        @media (max-width: 650px) {
            .categories-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .navbar {
                flex-direction: column;
                gap: 1rem;
            }
            
            .nav-links {
                width: 100%;
                justify-content: space-between;
            }
        }

        @media (max-width: 480px) {
            .categories-grid {
                grid-template-columns: 1fr;
            }
            
            .hero h1 {
                font-size: 2rem;
            }
            
            .hero p {
                font-size: 1rem;
            }
        }




.product-actions {
    display: flex !important;
    gap: 8px !important;
    margin-top: 12px !important;
}

.product-actions .btn-view {
    background: white !important;
    color: #002841 !important;
    border: 1px solid #e2e8f0 !important;
    padding: 8px 12px !important;
    border-radius: 6px !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    text-align: center !important;
    flex: 1 !important;
    text-decoration: none !important;
    transition: all 0.2s !important;
}

.product-actions .btn-view:hover {
    background: #f1f5f9 !important;
    transform: translateY(-1px) !important;
}

.product-actions .btn-primary {
    background: #f97316 !important;
    color: white !important;
    border: none !important;
    padding: 8px 12px !important;
    border-radius: 6px !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    text-align: center !important;
    flex: 1 !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
}

.product-actions .btn-primary:hover {
    background: #ea580c !important;
    transform: translateY(-1px) !important;
}




@media (max-width: 1000px) {
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr !important;
    }
}


@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}





