/* Products Page Styles */

.products-section {
    padding: 40px 0 80px;
}

.products-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

/* Sidebar */
.products-sidebar {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.filter-section {
    margin-bottom: 30px;
}

.filter-section:last-child {
    margin-bottom: 0;
}

.filter-section h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--text-dark);
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.category-list,
.subcategory-list {
    list-style: none;
}

.category-list li,
.subcategory-list li {
    margin-bottom: 8px;
}

.category-list a,
.subcategory-list a {
    display: block;
    padding: 10px 15px;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
}

.category-list a:hover,
.subcategory-list a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
    padding-left: 20px;
}

.category-list a.active,
.subcategory-list a.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-weight: 500;
}

.category-list a i {
    margin-right: 8px;
}

/* Products Main */
.products-main {
    min-height: 400px;
}

.category-header {
    margin-bottom: 30px;
}

.category-header h2 {
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.category-header p {
    color: var(--text-light);
    font-size: 16px;
}

/* Product Category Label */
.product-category {
    display: inline-block;
    font-size: 12px;
    color: var(--text-light);
    background: var(--bg-light);
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 8px;
}

/* No Products */
.no-products {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.no-products i {
    font-size: 80px;
    color: var(--border-color);
    margin-bottom: 20px;
}

.no-products h3 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.no-products p {
    color: var(--text-light);
    margin-bottom: 25px;
}

/* Responsive */
@media (max-width: 1024px) {
    .products-container {
        grid-template-columns: 240px 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .products-container {
        grid-template-columns: 1fr;
    }
    
    .products-sidebar {
        position: static;
    }
    
    .filter-section {
        margin-bottom: 20px;
    }
}
