div:has(> #resultat){
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);
    height: 0;
    width: 80%;
}

/* Landing: même autocomplétion, mais positionnée/taillée proprement */
.SearchBarHolderLanding form .cp-result-wrap{
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    height: 0;
    z-index: 50;
}
.SearchBarHolderLanding form .cp-result-wrap > .js-resultat{
    display: none;
    width: 100%;
    max-width: 610px;
    margin: 0;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.12);
    max-height: 250px;
    overflow: auto;
    padding: 6px 0;
    overflow-x: hidden;
}
.SearchBarHolderLanding form .cp-result-wrap > .js-resultat:not(:empty){
    display: block;
}
.SearchBarHolderLanding form .cp-result-wrap > .js-resultat p{
    margin: 0 !important;
    margin-block: 0 !important;
    padding: 3px 12px;
    width: 100%;
    transition: 0.2s;
    cursor: pointer;
    font-size: 14px !important;
    font-weight: 500;
    font-family: "Quicksand", "Gill Sans", "Gill Sans MT", "Myriad Pro", Helvetica, Arial, "sans-serif";
    line-height: 1.05;
    display: block;
    border-bottom: none;
}
.SearchBarHolderLanding form .cp-result-wrap > .js-resultat p.choix{
    margin: 0 !important;
    margin-block: 0 !important;
}
.SearchBarHolderLanding form .cp-result-wrap > .js-resultat p.active{
    background-color: lightgray;
}
#resultat{
    border-top: none;
    max-height: 250px;
    overflow: auto;
    width: 100%;
    margin-left: 10px;
    background-color: white;
    border-bottom: none;
    padding-right: 5px;
    overflow-x: hidden;
}
#resultat p{
    margin: 0;
    padding: 9px 20px;
    width: 100%;
    transition: 0.5s;
    cursor: pointer;
    font-size: 13px;
}
.active{
    background-color: lightgray;
}

@media (max-width: 1024px){
    #resultat p{
        padding: 9px 2px;
        text-wrap: pretty;
    }
}