#listing-biens{
    padding: 50px 0;
}

#listing-biens h2{
    margin-bottom: 20px;
    max-width: 340px;
    z-index: -1;
}

#listing-biens .actions_search{
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 50px;
    background: var(--shades-blanc-1);
    border-radius: 4px;
    max-width: 600px;
    padding: 20px;
    margin-left: auto;
    margin-right: auto;
}

#listing-biens .actions_search.see-map{
    max-width: 781px;
}

#listing-biens .actions_search > .afficher-carte{
    background-color: transparent;
    color: var(--shades-noir-2);
    border-color: var(--shades-noir-2);
    display: none;
}

#listing-biens .actions_search > .afficher-carte span{
    color: var(--shades-noir-2);
    font-size: 12px;
    font-family: Trenda, sans-serif;
}

#listing-biens .actions_search > .afficher-carte:hover span{
    color: var(--shades-noir-2) !important;
}

#listing-biens .actions_search > div{
    width: 100%;
    font-size: 12px;
    white-space: nowrap;
    gap: 10px;
    align-items: center;
    letter-spacing: -0.17px;
}

#listing-biens .actions_search .order{
    position: relative;
}

#listing-biens .actions_search .order:before{
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    background: url("../../../assets/svg/chevron-bas-grey.svg");
    background-size: cover;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

#listing-biens .actions_search select{
    -webkit-appearance: none;
    border-radius: 4px;
    border: 1px solid var(--shades-noir-3)!important;
    background: #FFF;
    color: var(--shades-noir-1);
}

#listing-biens .number_annonces{
    color: var(--bleufonce);
    text-align: center;
    font-family: Trenda, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    margin-bottom: 10px;
}

#listing-biens .select-wrapper{
    position: relative;
    width: 100%;
    height: 100%;
}

#listing-biens .select-label{
    font-family: Trenda, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    background-color: #FFF;
    line-height: normal;
    padding: 9.25px;
    cursor: pointer;
    border: 1px solid #ccc;
    border-radius: 4px;
    color: var(--shades-noir-1);
    white-space: normal;
    height: 100%;
    display: flex;
    align-items: center;
}

#listing-biens .select-label.active{
    color: var(--shades-Noir);
}

#listing-biens .select-wrapper svg.active{
    transform: translate(-50%, -50%) rotate(180deg);
}

#listing-biens .select-wrapper svg{
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: all .5s;
}

#listing-biens .select-wrapper .options.active{
    display: block;
}

#listing-biens .select-wrapper .options{
    display: none;
    position: absolute;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px;
    z-index: 999;
    width: 100%;
    margin-top: 5px;
    max-height: 174px;
    overflow: auto;
}

#listing-biens .select-wrapper .options label{
    display: block;
    padding: 7px;
    margin-bottom: 10px;
    color: #fff;
    font-family: Trenda;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    white-space: normal;
}

#listing-biens .select-wrapper .options label:hover{
    border-radius: 4px;
    background: var(--shades-blanc-2, #F6F6F6);
    cursor: pointer;
}

#listing-biens .select-wrapper .options label input{
    width: 100%;
}

#listing-biens .select-wrapper .options label span{
    color: var(--shades-noir);
    font-family: Trenda, sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

#listing-biens .select-wrapper .options label input:checked + span{
    color: var(--bleuclair);
}

#listing-biens .list-biens .carte .map-bien{
    width: 100vw;
    height: 100vh;
}

#listing-biens .list-biens .carte .map-bien .gm-style .gm-style-iw-c .gm-style-iw-d {
    max-height: unset !important;
    overflow: unset !important;
}

.bottom-bar{
    z-index: 1000 !important;
}

.bottom-bar .wrapper.carte-btn-mobile{
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.bottom-bar .wrapper.carte-btn-mobile .btn{
    width: 100%;
    align-items: center;
    gap: 10px;
    display: none;
}

.bottom-bar .wrapper.carte-btn-mobile .btn.actif{
    display: flex;
}

#listing-biens .list-biens.map-container{
    position: relative;
    transition: all .5s ease-in-out;
}

#listing-biens .list-biens .carte{
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: -300vh;
    transition: all .5s ease-in-out;
    z-index: 999;
}

#listing-biens .list-biens .carte.actif{
    top: 0;
}

#listing-biens .actions_search > .afficher-carte.btn.clair:hover svg path{
    fill: white;
}

#listing-biens .simulateur-map{
    display: none;
}

#listing-biens .close-map{
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 999;
    cursor: pointer;
    background: var(--bleufonce);
    padding: 4px;
    border-radius: 4px;
}

#listing-biens .close-map svg path{
    fill: white;
}

.leaflet-bottom{
    display: none;
}

@media screen and (min-width: 768px){
    #listing-biens .actions_search{
        flex-direction: row;
    }

    #listing-biens .actions_search > div{
        width: fit-content;
    }

    #listing-biens .actions_search .order{
        width: 100%;
        min-width: 130px;
    }

    #listing-biens .actions_search.hide-alert > div{
        width: 50%;
    }

    #listing-biens .actions_search .order select{
        height: 100%;

    }

    .bottom-bar {
        display: block !important;
    }
}


@media screen and (min-width: 992px){
    #listing-biens{
        padding: 100px 0 50px 0;
    }

    #listing-biens h2{
        margin-bottom: 50px;
        max-width: inherit;
    }

    #listing-biens .number_annonces{
        margin-top: 20px;
    }

    #listing-biens .list-biens .carte .map-bien{
        max-width: 710px;
        width: 48vw;
        height: 791px;
    }

    #listing-biens .list-biens .carte{
        position: absolute;
        width: auto;
        height: auto;
        left: -710px;
        transition: all .5s ease-in-out;
        z-index: 999;
        top: unset;
    }

    #listing-biens .list-biens .carte.actif{
        left: 0;
        top: unset;
    }

    #listing-biens .simulateur-map{
        display: flex;
        width: 0;
        height: 791px;
        transition: all .5s ease-in-out;
    }

    #listing-biens .list-biens.map-container.actif .simulateur-map{
        width: 710px;
        transition: all .5s ease-in-out;
    }

    #listing-biens .list-biens.map-container{
        display: flex;
    }

    #listing-biens .list-biens.map-container.actif .listing-biens{
        display: flex;
        flex-direction: column;
        max-height: 791px;
        width: 735px;
        overflow: scroll;
        transition: all .5s ease-in-out;
        overflow-x: hidden;
    }

    #listing-biens .list-biens.map-container .listing-biens{
        transition: all .5s ease-in-out;
        width: 100%;
    }

    #listing-biens .list-biens.map-container.actif .listing-biens .carte-bien figure.slider-photo img{
        aspect-ratio: 345/297;
        max-width: 347px;
    }

    #listing-biens .list-biens.map-container.actif .listing-biens .carte-bien .slider-photo,
    #listing-biens .list-biens.map-container.actif .listing-biens .carte-bien .content{
        width: 50%;
    }

    #listing-biens .list-biens.map-container.actif .close-map{
        display: flex;
    }

    #listing-biens .list-biens.map-container.actif .carte-bien.first{
        order: -1;
    }

    #listing-biens .list-biens.map-container.actif {
        max-width: 1440px;
        margin: 0 auto;
    }

    .bottom-bar {
        display: none !important;
    }

    #listing-biens .actions_search > .afficher-carte{
        display: flex;
        min-width: 187px;
    }
}


