/* Products Page Styles */

.products-header {
    background: var(--primary-color);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

.products-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.products-header p {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}

/* Categories Section */
.products-categories {
    padding: 4rem 2rem;
    background: white;
}

.categories-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.categories-wrapper h2 {
    font-size: 2rem;
    color: #222;
    text-align: center;
    margin-bottom: 0.5rem;
}

.categories-subtitle {
    text-align: center;
    color: #555;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.category-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
    border: 2px solid transparent;
    padding: 2rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.category-card:hover {
    border-color: #005FBF;
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 95, 191, 0.1);
}

.category-card.active {
    background: linear-gradient(135deg, #005FBF 0%, #0047a3 100%);
    color: white;
    border-color: #005FBF;
}

.category-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.category-card p {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.category-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: white;
    color: #005FBF;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.category-card.active .category-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Products List Section */
.products-list {
    padding: 4rem 2rem;
    background: #f8f9fa;
}

.products-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.products-list-header h2 {
    font-size: 2rem;
    color: #222;
}

.clear-filter-btn {
    padding: 10px 20px;
    background: #E94444;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.clear-filter-btn:hover {
    background: #d43232;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1024px) {
    .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .products-header h1 {
        font-size: 2rem;
    }

    .products-header p {
        font-size: 1rem;
    }

    .category-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .products-list-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .products-list-header h2 {
        font-size: 1.5rem;
    }

    .clear-filter-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .products-list {
        padding: 2rem 1rem;
    }

    .products-header {
        padding: 2rem 1rem;
    }

    .categories-wrapper h2 {
        font-size: 1.5rem;
    }

    .products-list-header h2 {
        font-size: 1.3rem;
    }
}
