.filters-wrap {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
    position: relative;
}


.filters-inputs,
.selected-filters {
    display: flex;
    gap: 16px;
}


.filters-inputs.fixed {
    display: flex !important;
    width: 100%;
    position: fixed;
    left: 0;
    background: #f4f4f5;
    z-index: 999;
    padding: 32px 32px 32px 32px;
    box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.08);
    -webkit-transition: top 0.5s ease;
    -moz-transition: top 0.5s ease;
    -o-transition: top 0.5s ease;
    transition: top 0.5s ease;
}

.filters-inputs.pushed-down {
    top: 103px;
}

.filters-inputs.pulled-up {
    top: -200px;
}

#view-reference.has-margin-top {
    margin-top: 60px;
}

.selected-filters {
    flex-wrap: wrap;
}

.dropdown {
    position: relative;
}

.dropdown .dropdown-label,
.selected-filter .selected-filter-label {
    font-size: 18px;
    font-weight: 600;
    color: var(--wp--preset--color--secondary-text);
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 44px;
    padding: 0 16px;
    margin: 0;
    cursor: pointer;
    background: #fdfdfd;
    border: 1px solid var(--wp--preset--color--border-grey);
    border-radius: 16px;
    box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.08);
}

.dropdown .dropdown-label:hover,
.selected-filter .selected-filter-label:hover {
    border: 1px solid #8cc63e33;
}

.dropdown.active .dropdown-label {
    border-color: var(--wp--preset--color--primary);
    background: #fff;
    color: var(--wp--preset--color--primary-text);
}

.dropdown.disabled .dropdown-label {
    border-color: var(--wp--preset--color--border-grey);
    background-color: var(--wp--preset--color--border-grey);
    color: var(--wp--preset--color--light-grey);
    box-shadow: none;
    cursor: not-allowed;
}

.selected-filter .selected-filter-label {
    height: 36px;
    color: #1a1a1ae5;
    border-color: #1a1a1a80;
}

#fixed-search-box {
    position: absolute;
    top: 0;
    right: 0;
    width: 24%;
}

.filters-inputs.fixed.pushed-down #fixed-search-box {
    top: 32px;
    right: 130px;
    width: 22%;
}

.search-container {
    position: relative;
}

.search-container img {
    position: absolute;
    top: 12px;
    left: 12px;
}

.search-container input {
    width: 100%;
    height: 44px;
    padding-left: 36px;
    margin: 0;
    background: #fdfdfd;
    border: 1px solid #1a1a1a1a;
    border-radius: 16px;
    font-size: 16px;
}

#remove-all-filters.selected-filter .selected-filter-label {
    border-color: #1a1a1a1a;
}

.dropdown .dropdown-label span,
.selected-filter .selected-filter-label span {
    font-size: 12px;
    margin-left: 10px;
}

.dropdown .dropdown-list {
    padding: 8px;
    background: var(--wp--preset--color--white);
    position: absolute;
    top: 50px;
    left: 1px;
    z-index: 10;
    width: auto;
    border-radius: 8px;
    border: 1px solid #1a1a1a1a;
    box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.08);
    max-height: 30vh;
    overflow-y: scroll;
    display: none;
    scrollbar-width: thin;
}

.dropdown .dropdown-option {
    display: flex;
    opacity: 0;
    transition: opacity 0.15s ease-in-out;
    position: relative;
    padding: 8px;
    border-radius: 4px;
}

.dropdown.on .dropdown-list .dropdown-option {
    opacity: 1;
    transition-delay: 0.2s;
}

.dropdown-list .dropdown-option input {
    display: none;
}

.dropdown-list .dropdown-option label {
    width: 100%;
    font-weight: 500;
    cursor: pointer;
    margin: 0;
    white-space: nowrap;
    padding-right: 24px;
}

.dropdown-list .dropdown-option label:before {
    content: "";
    background-color: transparent;
    border: 1px solid #1a1a1a80;
    padding: 11px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 12px;
    border-radius: 4px;
}

.dropdown-list .dropdown-option input:checked~label::after {
    content: "";
    display: block;
    position: absolute;
    top: 10px;
    left: 15px;
    width: 8px;
    height: 15px;
    border: solid var(--wp--preset--color--primary);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

#condition .dropdown-list .dropdown-option label::before,
#condition .dropdown-list .dropdown-option label::after {
    content: unset;
}

#condition .dropdown-list .dropdown-option label {
    display: flex;
    align-items: center;
}

#condition .dropdown-list .dropdown-option label .outer-circle {
    width: 20px;
    height: 20px;
    border: 1px solid #1a1a1a80;
    border-radius: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 12px;
}

#condition .dropdown-list .dropdown-option input:checked~label .inner-circle {
    background: var(--wp--preset--color--primary);
    height: 12px;
    width: 12px;
    border-radius: 100%;
}

.dropdown .dropdown-option:hover {
    background: #1a1a1a0d;
}

.dropdown .dropdown-option:hover label:before,
#condition .dropdown-list .dropdown-option:hover label .outer-circle {
    background-color: #8cc63e1a;
    border-color: var(--wp--preset--color--primary);
}

.dropdown-list .dropdown-option input:checked+label:before,
#condition .dropdown-list .dropdown-option input:checked+label .outer-circle {
    border-color: var(--wp--preset--color--primary);
}

.product-card {
    height: 100%;
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
}

@media only screen and (max-width: 599px) {
    .filters-inputs {
        overflow-x: scroll;
        -ms-overflow-style: none;
        scrollbar-width: none;
        padding-bottom: 4px;
    }

    .filters-inputs::-webkit-scrollbar {
        display: none;
    }

    .filters-inputs.fixed {
        padding: 16px 0 18px 14px;
    }

    .filters-inputs.fixed.pulled-up {
        top: -84px;
    }

    .filters-inputs.fixed.pushed-down {
        top: 84px;
    }

    .dropdown .dropdown-list {
        position: fixed;
        top: unset;
        bottom: 0;
        left: 0;
        max-height: unset;
        width: 100%;
        padding: 0;
        overflow: unset;
        z-index: 1000;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

    .dropdown .dropdown-list .dropdown-content {
        max-height: 70vh;
        overflow: scroll;
    }

    /* .dropdown-list .dropdown-option label {
        font-size: 14px;
    } */

    #condition .dropdown-list .dropdown-option input:checked~label::after {
        top: 7px;
    }

    .black-overlay {
        background-color: rgba(0, 0, 0, 0.5);
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 999;
    }
}