/* ===== Products Page Styles ===== */

.page-header {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #2a4a6d 100%);
    color: var(--white);
    padding: 120px 0 60px;
    text-align: center;
    margin-top: 70px;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Category Filter */
.products-section {
    padding: 60px 0;
}

.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 50px;
}

.filter-btn {
    background: var(--white);
    border: 2px solid #eee;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.filter-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.product-card.hidden {
    display: none;
}

.product-img {
    height: 200px;
    overflow: hidden;
    background: var(--bg-light);
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-img img {
    transform: scale(1.1);
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.product-sku {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 10px;
}

.product-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 15px;
    min-height: 40px;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.price-label {
    font-weight: 500;
    color: var(--text-color);
}

.price-value {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

.product-btn {
    display: block;
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.product-btn:hover {
    background: var(--primary-dark);
}

/* Load More */
.load-more {
    text-align: center;
    margin-top: 50px;
}

.load-more-btn {
    background: var(--secondary-color);
    color: var(--white);
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.load-more-btn:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .page-header {
        padding: 100px 0 40px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .category-filter {
        gap: 8px;
    }
    
    .filter-btn {
        padding: 8px 18px;
        font-size: 0.9rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 20px;
    }
}
