/* ======================= CATEGORY PAGE STYLING ======================= */
.category-page {
    background-color: white;
    color: var(--text-color);
}
.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}
.breadcrumb-item.active {
    color: #6c757d;
}
.category-title {
    color: var(--dark-color);
    font-weight: 700;
}
.category-description {
    color: #555;
    max-width: 600px;
}
/* ======================= CATEGORY PROMO SLIDER ======================= */
.category-promo-banner {
    position: relative;
    height: 200px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    overflow: hidden;
}
.category-promo-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}
.category-promo-banner h3,
.category-promo-banner p {
    position: relative;
    z-index: 2;
    margin: 0;
    font-weight: 700;
}
.category-promo-banner h3 {
    font-size: 2rem;
}

.category-promo-slider .swiper-pagination-bullet-active {
    background-color: var(--primary-color);
}

/* ======================= FILTER SIDEBAR ======================= */
.filter-sidebar {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 1.5rem;
}
.filter-widget {
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}
.filter-widget:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.widget-title {
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}
.category-filter-list li a {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    color: #555;
    text-decoration: none;
    transition: all 0.2s ease;
}
.category-filter-list li a:hover,
.category-filter-list li a.active {
    color: var(--primary-color);
    font-weight: 700;
}
.category-filter-list li a .count {
    color: #999;
}
.size-selector,
.color-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.size-selector button {
    border: 1px solid #ddd;
    background: white;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    cursor: pointer;
}
.size-selector button.active,
.size-selector button:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.color-swatch {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
}
.color-swatch:hover {
    transform: scale(1.1);
}
.color-swatch.active {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}
/* ======================= PAGINATION ======================= */
.pagination .page-item .page-link {
    color: var(--primary-color);
}
.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}
.pagination .page-item.disabled .page-link {
    color: #6c757d;
}
