    /*.wrapper{
        display:flex;
        flex-direction:row;
        height: calc(100vh - 5rem);
        position: relative;
    }
    .ctn_search{
        display:flex;
        flex-direction:column;
        width:20%;
        max-width:350px;
    }
    .searchbar{
        margin:3rem auto;
        margin-bottom:0.5rem;
    }

    .searchbar>input{
        width:300px;
    }

    #map{
        position: relative;
        width: 1200px;
    }

*/



    main{
        display:block;
        height: calc(100vh - 5rem);
        position: relative;
    }
    
    #map{
        position: absolute;
        width: 100%;
        height: 100%;
        top:0;
    }


    .ctn_search{
        display: block;
        top: 20%;
        z-index: 1;
        margin-left: calc(50% - 300px);
        position: relative;
        
        /* Animation appliquée au chargement */
        animation: fadeInMove 1.2s ease-out 0.8s forwards;
        opacity: 0; /* état initial avant animation */
        
        transition: 1s margin ease, 1s top ease;

    }

    @keyframes fadeInMove {
        from {
            opacity: 0;
            transform: translateX(50px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    .ctn_search{
        background: rgba(255, 255, 255, 0.82);
        padding: 1rem 2rem;
        width: 550px;
        border-radius: 8px;
        box-shadow: 1px 2px 3px #999, inset 2px 3px 2px rgba(255, 255, 255, 0.8);
    }

    .ctn_search h1{
        height: 40px;
        overflow: hidden;
        width: 500px;
        transition : 1s all ease;
        margin: 0;
        font-size: 1.9rem;
        letter-spacing: 0.02rem;
    }

    .ctn_search .kicker{
        margin: 0 0 0.4rem;
        font-size: 0.85rem;
        letter-spacing: 0.08rem;
        text-transform: uppercase;
        color: #5d5d5d;
        font-weight: 600;
    }

    .ctn_search .lead{
        margin: 0.7rem 0 0;
        font-size: 1.05rem;
        line-height: 1.5;
        color: #2b2b2b;
    }

    .ctn_search .msg_points{
        margin: 1rem 0 0;
        padding: 0;
        list-style: none;
    }

    .ctn_search .msg_points li{
        position: relative;
        padding-left: 1.2rem;
        margin: 0.45rem 0;
        line-height: 1.45;
        color: #2f2f2f;
    }

    .ctn_search .msg_points li::before{
        content: "";
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: #b83a3a;
        position: absolute;
        left: 0;
        top: 0.5rem;
    }

    .ctn_search .msg_actions{
        display: flex;
        flex-wrap: wrap;
        gap: 0.6rem;
        margin-top: 1rem;
    }

    .ctn_search .msg_action{
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0.5rem 0.9rem;
        border-radius: 999px;
        font-size: 0.9rem;
        font-weight: 600;
        background: #f0f0f0;
        color: #303030;
        text-decoration: none;
        border: 1px solid #d5d5d5;
    }

    .ctn_search .msg_action.main{
        background: #2f2f2f;
        border-color: #2f2f2f;
        color: #fff;
    }

    .ctn_search .msg_note{
        margin: 0.9rem 0 0;
        font-size: 0.92rem;
        line-height: 1.45;
        color: #5a5a5a;
    }

    .ctn_search_places{
        min-height: 60px;
        padding: 1rem;
        border-bottom: 1px solid transparent;
        background:rgba(242, 234, 234, 0);
        border-radius: 10px 10px 0 0;
        transition: 1s all ease;
    }
    .ctn_search.minimize .ctn_search_places{
        /*border-bottom: 1px solid #823e3e;
        background: #960000e6;
        box-shadow: inset -5px -5px 6px -3px #555;*/
        padding: 0;
    }

    .searchbar{
        background: #FFF;
        margin: auto;
        margin-left:2rem;
        z-index: 5;
        position:relative;
    }
    .searchbar > input{
        width:355px;
        padding: 0.6rem 2rem;
        font-size: 1.5rem;
        transition : 0.8s all ease;
    }
    .searchbar > img{
        height: 28px;
        margin-top: 7px;
        margin-right: 10px;
        margin-left: 10px;
    }
    

    .message.noSearch{
        width: 370px;
        text-align: center;
        margin: auto;
        padding: 1.1rem 0.5rem;
    }


    ul.list_places {
        background: rgba(255, 255, 255, 0.8);
        margin-top: -0.15rem;
        margin-left: 4.8rem;
        width: 430px;
        padding: 0;
        position: absolute;
        z-index: 2;
    }

    ul.list_places {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, opacity 0.3s ease;
        opacity: 0;
        border: none; /* pas de contour si fermé */
    }

    .ctn_search.selected_place ul.list_places,
    ul.list_places.show {
        max-height: 250px; /* assez grand pour montrer tous les li */
        opacity: 1;
        border: 1px solid #ccc;
        overflow: auto;
        border-radius: 10px 10px 0 0;
        width:100%;
    }


    .ctn_search:not(.selected_place) ul.list_places:not(.show) {
        animation: hideList 0s linear 0.3s forwards;
    }
    @keyframes hideList {
        to {
            visibility: hidden;
            pointer-events: none;
            max-height: 0;
            opacity: 0;
        }
    }

    ul.list_places>*:last-child {
        border-radius: 0 0 8px 8px;
    }

    ul.list_places>*{
        list-style: none;
        box-shadow: 1px 2px 2px #333;
        padding: 18px 10px;
        padding-left: 20px;
    }
    li.place span{
        margin: 0 2px;
    }

    li.place .close{
        display:none;
        position: absolute;
        font-family: cursive;
        padding:3px;
        top: 3px;
        right: 8px;
    }

    li.place>*:first-child{
        font-size: 1.2rem;
        font-weight: bold;
        margin-bottom: 2px;
        margin-top: 5px;
        margin-left:-2px;
    }

    li.place .address{
        display:block;
    }

    
    li.place .country{
        text-transform:uppercase;
    }


    ul.list_stores{
        padding:0;
        overflow: auto;
    }
    li.store {
        border-radius: 12px;
        margin: 15px auto;
        padding: 0;
        box-shadow: inset -2px -3px 2px #333;
        width: 400px;
        aspect-ratio: 8 / 5;
        background: rgba(250, 250, 250, 0.2);
        overflow: hidden;
        position: relative;
    }

    li.store .image{
        position:absolute;
        top:0;
        left:0;
        right:0;
        bottom:0;
        z-index: 0;
    }
    
    li.store .image>img{
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: brightness(0.9);
    }

    li.store .ctn_title{
        position: absolute;
        display: flex;
        align-items: center;
        bottom: 0;
        right: 0;
        left: 0;
        height: 75px;
        padding-top: 5px;
        background: linear-gradient(40deg, rgb(24 24 24 / 85%), rgb(59 59 59 / 90%), rgb(24 24 24 / 85%));
        color: #FFF;
        gap: 5px;
    }
    li.store .ctn_info{
        flex:auto;
        line-height:1.3rem;
        font-size:0.9rem;
    }
    .list_stores .address>img {
        height: 15px;
        margin-right: 10px;
        margin-bottom: -2px;
        filter: invert(1);
    }
    .list_stores .address{
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        width: 250px;
        display: inline-block;
    }
    li.store .ctn_title h2{
        padding: 0;
        margin: 8px 0;
        margin-top: -2px;
        letter-spacing: 0.05rem;
        text-align: left;
        font-family: 'Montserrat', sans-serif;
        font-size: 1.45rem;
        font-weight: 600;
        color: #FFF;
        border: none;
    }
    li.store .ctn_title .icon>img{
        margin: 5px 15px;
        width: 50px;
        height: 50px;
        object-fit: contain;
        filter: grayscale(1) invert(1);
    }

    li.store .ctn_title .moreInfo{
        position: absolute;
        bottom: 10px;
        right: 15px;
        font-size: 0.8rem;
    }
    
    li.store .ctn_title .distance{
        background: rgb(25 25 25 / 95%);
        border-radius: 20px 0 0 20px;
        padding: 4px 10px;
        min-width: 75px;
        text-align: right;
        position: absolute;
        right: 0px;
        top: -20px;
    }



    .ctn_search.minimize  h1{
        height: 0px;
        width:  0px;
        padding:0;
        margin:0;
        opacity: 0;
    }

    .ctn_search.minimize{
        margin-left: 4rem;
        top: 1.2rem;
        padding: 0;
        width: 430px;
        min-height: 95px;
    }

    .ctn_search.minimize .searchbar{
        margin:0;
    }
    .ctn_search.minimize .searchbar> input{
        width: 300px;
        padding: 0.6rem 1rem;
        font-size: 1.4rem;
    }

    .ctn_search.minimize .list_places{
        margin-left: 10px;
        width: 380px;
    }



    .ctn_search.selected_place{
        max-height: 90%;
        display: flex;
        flex-direction: column;
    }
    .ctn_search.selected_place .searchbar{
        display:none;
    }

    .ctn_search.selected_place .list_places{
        position: relative;
        width: 400px;
        margin: 0;
    }
    .ctn_search.selected_place .list_places>li:not(.selected){
        display : none;
    }
    .ctn_search.selected_place .list_places>li.selected{
        display : block;
        position: relative;
        border-radius: 0px !important;
    }
    
    .ctn_search.selected_place li.selected .close{
        display:block;
    }
