.wclf-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 20px 0;
}

.wclf-filter-button {
    padding: 8px 20px;
    background: #f0f0f0;
    color: #333;
    text-decoration: none;
    border-radius: 20px;
    border: 1px solid #ccc;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 16px;
    font-weight: 600;
}

.wclf-filter-button:hover {
    background: #d5d5d5;
}

.wclf-filter-button.active {
    background: #90ABA0;
    color: #fff;
    border-color: #90ABA0;
}

.wclf-loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #ddd;
    border-top: 4px solid #000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.wclf-sidebar-filter {
    padding: 1rem;
    background-color: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #e1e1e1;
    max-width: 250px;
    font-family: inherit;
    font-size: 18px;
}

.wclf-sidebar-filter h4 {
    margin-bottom: 10px;
}

.wclf-sidebar-filter label {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    font-size: 18px;
    color: #333;
    cursor: pointer;
}

.wclf-sidebar-filter input[type="checkbox"] {
    margin-right: 10px;
    accent-color: #0071a1;
    width: 16px;
    height: 16px;
    cursor: pointer;
}


/* Scope to filtered products only */
#wclf-products .product-wrapper {
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: column;
    gap: 0;
    transition: transform 0.3s;
    margin: 10px;
}

#wclf-products .product-wrapper:hover {
    transform: translateY(-4px);
}

/* Ensure images are same height */
#wclf-products .product-image-link img {
    height: 250px;
    object-fit: cover;
    width: 100%;
    display: block;
}

/* Hide extra details */
#wclf-products .wd-product-cats,
#wclf-products .wrapp-swatches,
#wclf-products .product-rating-price,
#wclf-products .fade-in-block,
#wclf-products .wrap-wishlist-button,
#wclf-products .wrap-quickview-button,
#wclf-products .wd-add-btn {
    display: none !important;
}

/* Title styling at bottom */
#wclf-products .product-element-bottom {
    background: #f2f2f2;
    padding: 12px;
    text-align: center;
}

#wclf-products .product-element-bottom h3 {
    font-size: 18px;
    margin: 0;
    font-weight: 500;
    color: #FF5151;
}

#wclf-products .product-element-bottom h3 a {
    color: inherit;
    text-decoration: none;
}
