.slider.slider-horizontal {
    width: 92% !important;
    left: 4%;
    margin-bottom: 0.75rem;
    margin-top: 0.25rem;
}

#priceSlider .slider-selection {
    background: var(--gray);
}

#priceSlider .slider-handle {
    background: var(--primary);
}

/*
|--------------------------------------------------------------------------
| FACETED SEARCH
|--------------------------------------------------------------------------
*/

/* #bottom-left-fixed-container:has(.faceted-search-panel-content.expanded) {
    z-index: 31;
} */

/*
|--------------------------------------------------------------------------
| Container
|--------------------------------------------------------------------------
*/

.faceted-search-button-container {
    transition: all 300ms;
    display: flex;
    flex-direction: column;
}

/*
|--------------------------------------------------------------------------
| Content
|--------------------------------------------------------------------------
*/

.faceted-search-panel-content {
    max-width: 315px;
    height: 0;
    width: 0;
    transform: scale(0);
    transform-origin: bottom left;
    transition: all 300ms;
    opacity: 0;
}

.faceted-search-panel-content.expanded {
    border-bottom: 0;
    opacity: 1;
    z-index: 3;
    height: 100%;
    width: 315px;
    transform: scale(1);
}

@media (max-height: 715px) {
    .faceted-search-panel-content.expanded {
        max-height: 610px;
        overflow-y: auto;
        overflow-x: hidden;
    }
}
@media (max-height: 675px) {
    .faceted-search-panel-content.expanded {
        max-height: 580px;
    }
}
@media (max-height: 645px) {
    .faceted-search-panel-content.expanded {
        max-height: 550px;
    }
}
@media (max-height: 615px) {
    .faceted-search-panel-content.expanded {
        max-height: 520px;
    }
}
@media (max-height: 585px) {
    .faceted-search-panel-content.expanded {
        max-height: 490px;
    }
}
@media (max-height: 555px) {
    .faceted-search-panel-content.expanded {
        max-height: 460px;
    }
}
@media (max-height: 525px) {
    .faceted-search-panel-content.expanded {
        max-height: 430px;
    }
}
@media (max-height: 495px) {
    .faceted-search-panel-content.expanded {
        max-height: 400px;
    }
}
@media (max-height: 465px) {
    .faceted-search-panel-content.expanded {
        max-height: 370px;
    }
}
@media (max-height: 435px) {
    .faceted-search-panel-content.expanded {
        max-height: 340px;
    }
}
@media (max-height: 405px) {
    .faceted-search-panel-content.expanded {
        max-height: 310px;
    }
}
@media (max-height: 375px) {
    .faceted-search-panel-content.expanded {
        max-height: 280px;
    }
}
@media (max-height: 345px) {
    .faceted-search-panel-content.expanded {
        max-height: 250px;
    }
}

#facetedSearchCard.card {
    border: 2px solid var(--primary);
    border-radius: 12px 12px 0 0;
    -webkit-box-shadow: 1px 2px 12px 2px rgb(0 0 0 / 25%) !important;
    -moz-box-shadow: 1px 2px 12px 2px rgb(0 0 0 / 25%) !important;
    box-shadow: 1px 2px 12px 2px rgb(0 0 0 / 25%) !important;
}

#facetedSearchCard > .card-body {
    padding: 0.75rem;
}

/*
|--------------------------------------------------------------------------
| Button
|--------------------------------------------------------------------------
*/

#facetedSearchBtn {
    background-color: var(--primary);
    color: var(--white);
    width: 45px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    border-radius: 5px;
    cursor: pointer;
    z-index: 2;
}

.faceted-search-button.expanded:hover,
#facetedSearchBtn:hover {
    opacity: 1;
}

.faceted-search-button {
    opacity: 0.75;
    transition: all 300ms;
}

.faceted-search-button span {
    font-size: 16px;
    font-weight: bold;
    line-height: 28px;
    overflow: hidden;
    text-transform: uppercase;
    transition: all 300ms;
    height: 0;
    opacity: 0;
    width: 0;
}

.faceted-search-button.expanded {
    border-top: 0px solid var(--primary) !important;
    border-radius: 0 0 12px 12px !important;
    transform: scale(1);
    transform-origin: bottom left;
    width: 100% !important;
    opacity: 0.9;
}

.faceted-search-button.expanded span {
    height: 25px;
    opacity: 1;
    width: 155px;
    transition: all 300ms;
}

.faceted-search-button.expanded > .facetedSearchIcons {
    display: none;
}
