/* Force hidden slides to stay hidden */
.splide__slide[style*="display: none"] {
    display: none !important;
}

/* Fix carousel positioning and clipping */
.product-filter-container .splide {
    width: 100%;
    overflow: hidden;
}

.product-filter-container .splide__track {
    overflow: hidden;
}

.product-filter-container .splide__slide {
    width: 100%;
    box-sizing: border-box;
}

/* Filter Tags Styles */
.filter-tags-container {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    min-height: 2rem;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    background-color: #007bff;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-size: 2rem;
    font-weight: 500;
    gap: 0.75rem;
}

.filter-tag-remove {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0;
    font-size: 2rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.filter-tag-remove:hover {
    background-color: rgba(255, 255, 255, 0.2);
}