.elementor-13472 .elementor-element.elementor-element-8a1d135{--display:flex;--overflow:auto;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-widget-search{--e-search-input-color:var( --e-global-color-text );}.elementor-widget-search.e-focus{--e-search-input-color:var( --e-global-color-text );}.elementor-widget-search .elementor-pagination{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-13472 .elementor-element.elementor-element-8cfca9b .e-search-input{background-color:#02010100;font-family:"Montserrat", Sans-serif;font-size:17px;font-weight:500;border-style:solid;border-width:0px 0px 1px 0px;border-color:#FFFFFF;}.elementor-13472 .elementor-element.elementor-element-8cfca9b .e-search-submit{background-color:#02010100;}.elementor-13472 .elementor-element.elementor-element-8cfca9b .e-search-results-container{background-color:#02010100;}.elementor-13472 .elementor-element.elementor-element-8cfca9b{--e-search-results-columns:1;--e-search-placeholder-color:#C6C6C6;--e-search-input-color:#CCCCCC;--e-search-icon-label-color:#999999;--e-search-icon-label-size:20px;--e-search-input-gap:12px;--e-search-input-and-results-gap:2px;--e-search-results-width:900px;--e-search-results-inset-inline-start:50%;--e-search-results-inset-inline-end:initial;--e-search-results-transform:translateX(-50%);--e-search-results-column-gap:0px;--e-search-results-row-gap:0px;}.elementor-13472 .elementor-element.elementor-element-8cfca9b .e-search-results-container > div{border-style:none;}#elementor-popup-modal-13472 .dialog-widget-content{animation-duration:0.5s;background-color:#FFFFFF00;border-style:none;margin:12% 0% 0% 0%;}#elementor-popup-modal-13472{background-color:rgba(0,0,0,.8);justify-content:center;align-items:flex-start;pointer-events:all;}#elementor-popup-modal-13472 .dialog-message{width:640px;height:100vh;align-items:flex-start;}#elementor-popup-modal-13472 .dialog-close-button{display:flex;}#elementor-popup-modal-13472 .dialog-close-button i{color:#FFFFFF;}#elementor-popup-modal-13472 .dialog-close-button svg{fill:#FFFFFF;}@media(max-width:767px){.elementor-13472 .elementor-element.elementor-element-8cfca9b{--e-search-results-columns:1;}#elementor-popup-modal-13472 .dialog-message{width:840px;padding:0px 0px 0px 0px;}#elementor-popup-modal-13472 .dialog-widget-content{margin:0% 0% 0% 0%;}}/* Start custom CSS for search, class: .elementor-element-8cfca9b *//* ----------------------------------------------------- */
/*  SCROLL GLOBAL (Desktop + Mobile)                     */
/* ----------------------------------------------------- */

#elementor-popup-modal-13469 .dialog-widget-content {
    height: 100vh;
    overflow: hidden; /* Active le scroll interne au lieu du scroll page */
}

#elementor-popup-modal-13469 .dialog-message {
    width:840px!important;
}

/* Zone scrollable des résultats sur TOUS les écrans */
#results-8cfca9b {
    width: 100%;
    max-height: calc(100vh - 120px); /* laisse la place au champ de recherche */
    overflow-y: auto;
    padding-bottom: 30px;
    -webkit-overflow-scrolling: touch;
}

#results-8cfca9b .e-search-results,
#results-8cfca9b .e-search-results-list {
    width: 100%;
}

/* ----------------------------------------------------- */
/*  Tes règles déjà présentes                             */
/* ----------------------------------------------------- */
@media (max-width: 760px) {

    .elementor-13479 .elementor-element.elementor-element-c4f0f64 .elementor-post {
        text-align:center;
    }
    
    .elementor-13479 .elementor-element.elementor-element-c4f0f64.elementor-posts--thumbnail-top .elementor-post__thumbnail__link {
        display:flex;
        justify-content:center;
    }
    
    .elementor-widget-search .e-search-form {
        flex-direction:column;
    }
    
    .elementor-widget-search .e-search-label>i:is(svg), 
    .elementor-widget-search .e-search-label>svg:is(svg) {
        margin-top:28px;
    }
}

/* ----------------------------------------------------- */
/*  Popup recherche EleganceCar (mobile)                 */
/* ----------------------------------------------------- */
@media (max-width: 767px) {

  /* Le popup prend toute la largeur, sans padding inutile */
  #elementor-popup-modal-13469 .dialog-widget-content {
    padding: 0;
  }

  #elementor-popup-modal-13469 .dialog-lightbox-message {
    padding: 0;
    height: 100%;
  }

  #elementor-popup-modal-13469 .e-con-boxed > .e-con-inner {
    padding-left: 0;
    padding-right: 0;
  }

  /* Mise en forme des cartes */
  #results-8cfca9b .elementor-posts-container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 16px 12px 32px;
    box-sizing: border-box;
  }

  /* Carte véhicule */
  #results-8cfca9b .elementor-post {
    width: 100%;
    max-width: none;
    background: #012C57;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0,0,0,.35);
    border: 1px solid #012C57;
  }

  /* Image */
  #results-8cfca9b .elementor-post__thumbnail {
    margin: 0;
  }

  #results-8cfca9b .elementor-post__thumbnail img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
  }

  /* Bandeau du titre */
  #results-8cfca9b .elementor-post__text {
    padding: 12px 16px 14px;
    text-align: center;
    background: #012C57;
  }

  #results-8cfca9b .elementor-post__title {
    margin: 0;
    font-size: 16px;
    line-height: 1.3;
  }

  #results-8cfca9b .elementor-post__title a {
    color: #ffffff;
    text-decoration: none;
  }

  #results-8cfca9b .elementor-post__title a:hover {
    text-decoration: underline;
  }

  /* Pagination */
  #results-8cfca9b .elementor-pagination {
    margin-top: 24px;
    text-align: center;
  }
}/* End custom CSS */