.filter-content {
    overflow: hidden;
    transition: max-height 0.3s ease;
    max-height: 200px;
    overflow-y: auto !important;
}

@media (max-width: 768px) {
    #listing-category .min-height-responsive {
        height: auto !important;
        min-height: 100% !important;
    }
}

#listing-category .list-horizontal-item {
    position: relative !important;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
}

#listing-category .list-horizontal-item::before {
    content: '';
    background-image: url('/assets/icons/listing-attributes/icon-dot.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    width: 4px;
    height: 4px;
    margin-right: 4px;
    display: inline-block;
}

#listing-category .slider-button-prev,
#listing-category .slider-button-next {
    width: 32px !important;
    height: 32px !important;
}

#listing-category .slider-button-next:after,
#listing-category .slider-button-prev:after {
    font-size: 16px !important;
}

#listing-category .slider-button-prev {
    left: 10px;
}

#listing-category .slider-button-next {
    right: 10px;
}

/* Filter Styles */

.filter-collapsible .filter-toggle::before {
    content: '\A0';
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background: transparent;
    pointer-events: none;
}

.filters-container .filter-icon {
    width: 20px;
    height: 20px;
    -o-object-fit: contain;
       object-fit: contain;
}

.dual-range-slider {
    position: relative;
    width: 100%;
    height: 30px;
}

.dual-range-slider input[type="range"] {
    position: absolute;
    width: 100%;
    -webkit-appearance: none;
    pointer-events: none;
    background: none;
    outline: none;
}

.dual-range-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    pointer-events: auto;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--bs-primary);
    cursor: pointer;
}

.dual-range-slider input[type="range"]::-moz-range-thumb {
    pointer-events: auto;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--bs-primary);
    cursor: pointer;
}

.form-check-input {
    --bs-form-check-bg: var(--bs-white);
    --bs-border-color: var(--app-gray);
}

.select-all-checkbox.form-check-input {
    height: 2rem;
}

.form-check-input[type=checkbox]:indeterminate {
    background-color: var(--bs-form-check-bg);
    border-color: var(--bs-border-color);
}

/* .listing-category-filter-item::after {
    content: '\A0';
    position: absolute;
    top: calc(100% - 6px);
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    border-bottom: 1px solid var(--app-gray-light);
}

@media (min-width: 768px) {
    .listing-category-filter-item::after {
        top: 100%;
    }
} */

/* Hide swiper navigation when only one slide */
.listing-carousel .swiper-wrapper:not(:has(.swiper-slide:nth-child(2)))~.slider-button-next,
.listing-carousel .swiper-wrapper:not(:has(.swiper-slide:nth-child(2)))~.slider-button-prev {
    display: none !important;
}
