/* Category Page */
.category-header {
    text-align: center;
    margin: 40px 0;
}

.category-description {
    color: var(--secondary-color);
    margin-top: 10px;
}

.category-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 40px;
    margin: 40px 0;
}

.filters-sidebar {
    position: sticky;
    top: 20px;
    height: fit-content;
    z-index: 1;
}

.filters-sidebar h3 {
    margin-bottom: 20px;
}

.filter-group {
    margin-bottom: 20px;
}

.filter-group h4 {
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
}

.filter-group input[type="number"] {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
}

.filter-subcategories {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.subcat-link {
    display: inline-block;
    padding: 8px 12px;
    background-color: #f5f5f5;
    border: 2px solid transparent;
    border-radius: 6px;
    text-decoration: none;
    color: var(--primary-color);
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.subcat-link:hover {
    background-color: #e8e8e8;
    border-color: var(--accent-color);
}

.subcat-link.active {
    background-color: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    font-weight: 600;
}

.filter-promo-buttons {
    display: flex;
    gap: 8px;
}

.filter-button {
    flex: 1;
    display: inline-block;
    padding: 10px 12px;
    background-color: #f5f5f5;
    border: 2px solid transparent;
    border-radius: 6px;
    text-decoration: none;
    color: var(--primary-color);
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    font-weight: 500;
}

.filter-button:hover {
    background-color: #e8e8e8;
    border-color: var(--accent-color);
}

.filter-button.active {
    background-color: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    font-weight: 600;
}

.products-count {
    color: var(--secondary-color);
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 968px) {
    .category-layout {
        grid-template-columns: 1fr;
    }

    .filters-sidebar {
        position: static;
        height: auto;
        margin-bottom: 30px;
    }
}
