@media (max-width: 1199px) {
    .block-results .fake-searchandfilter .search-filter-base:not(.search-filter-field--control-type-submit) {
        padding-bottom: 40px;
    }

    .block-header .fake-searchandfilter,
    .block-results .search-filter-base.reset {
        padding-bottom: 0 !important
    }
}

body.responsive header {
    position: fixed;
    width: 100%;
    top: 0;
}

body.responsive main {
    margin-top: 90px !important;
}

.responsive .type-bien .search-filter-base {
    flex-direction: column !important;
}

.responsive .type-bien .search-filter-base .search-filter-label {
    min-width: initial !important
}

.responsive .type-bien .search-filter-base .search-filter-field__input {
    align-items: center;
    justify-content: center;
}

@media (min-width: 992px) {
    #result-page .search-fields .modal-footer {
        bottom: -70px !important;
    }
}

body:not(.home) .block-results .buttons {
    top: 10px !important;
}

.research>div.is-vente section[data-tab="louer"] {
    display: none;
}

.research>div.is-location section[data-tab="acheter"] {
    display: none;
}

.responsive .block-footer #map {
    height: initial !important;
}

.responsive.page-results .block-results .row.pt-100.pb-50 {
    padding-top: 30px !important;
    padding-bottom: 30px !important;
}

.responsive.page-results .research>.container-fluid>.row {
    background: #e5e5e9 !important;
}

.responsive.page-results .realisations-informations .search-filter-style--control-sort {
    width: 100% !important;
}

.responsive.page-results .fake-searchandfilter {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    display: none !important;

}

.menu-responsive .main-menu-container,
.menu-responsive #menu-haut-de-page-1 {
    position: relative;

    &::before {
        position: relative;
        display: inline-block;
        padding-top: 20px !important;
        padding-bottom: 10px !important;
        font-weight: 700;
        text-transform: uppercase;
        font-size: 16px !important;
        ;
    }
}

.research-habitation-acheter li[data-option-value=immeuble] {
    display: block !important;
}

.menu-responsive .main-menu-container {
    &::before {
        content: "Vous souhaitez ...";
    }
}

.menu-responsive #menu-haut-de-page-1 {
    &::before {
        content: "Nos univers";
    }
}

@media (max-width: 1270px) {

    .menu-responsive a,
    .menu-responsive li {
        font-size: 16px !important;
    }
}

.responsive .block-footer svg {
    object-fit: contain;
    top: initial !important;
    height: fit-content
}

@media (max-width: 992px) {
    .advanced-research .modal-research {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        height: 100%;
        background: white;
    }

    .advanced-research .modal-research {
        z-index: 999999;
    }

    .advanced-research .modal-body {
        margin-bottom: 0 !important;
    }

    .modal-research .searchandfilter {
        display: flex;
        justify-content: center;
    }

    .modal-footer {
        margin: 0 auto;
    }

    .modal-container .container {
        padding: 0 !important;
    }

    .modal-container .search-filter-field__input {
        justify-content: start !important;
    }

    .modal-container .searchandfilter .type-bien>div:first-of-type {
        align-items: start !important;
    }

    .modal-container div li {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .modal-container .searchandfilter div:not(.btn) {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .modal-container .type-bien .search-filter-label {
        padding-bottom: 5px;
    }
}

.search-filter-component-combobox-base__listbox-option--active:hover,
.search-filter-component-combobox-base__listbox-option--active.search-filter-component-combobox-base__listbox-option--selected,
.search-filter-component-combobox-base__listbox-option--selected,
.search-filter-component-combobox-base__listbox-option--active,
.search-filter-component-combobox-base__listbox-option--active:hover {
    background-color: transparent !important;
    color: black !important;
    ;
}

/* Solution CSS pour ajouter des pseudo-checkboxes */
.search-filter-component-combobox-base__listbox-option {
    position: relative;
    padding-left: 35px !important;
    display: flex;
    align-items: center;
}

/* Créer une fausse checkbox avec CSS */
.search-filter-component-combobox-base__listbox-option::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 2px solid #ccc;
    border-radius: 3px;
    background-color: white;
    transition: all 0.2s ease;
}

.search-filter-component-combobox-base__listbox-option--active::before {
    background-color: #2196F3;
    border-color: #2196F3;
}

/* Ajouter une coche pour les éléments sélectionnés */
.search-filter-component-combobox-base__listbox-option--active::after {
    content: '✓';
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}



/* Assurer que le texte est bien aligné */
.search-filter-component-combobox-base__listbox-option {
    min-height: 40px;
    line-height: 1.4;
}

/* Style pour la liste elle-même */
.search-filter-component-combobox-base__listbox {
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    max-height: 200px;
    overflow-y: auto;
}

.multiple .search-filter-label {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.multiple .search-filter-label::after {
    content: 'Plusieurs choix possibles';
    position: relative;
    display: inline-block;
    font-size: 10px;
    color: #b9b9b9;
    font-weight: 400;
    width: 100%;
    text-transform: initial;
}

.research .search-filter-field {
    height: 100%;
    display: flex;
    justify-content: space-between;
}

.search-filter-component-combobox-base__listbox-option:hover {
    cursor: pointer;
}

@media (max-width: 992px) {
    .widget-menu {
        display: block !important;
    }
}