/* =========================
   HERO CVR
   ========================= */

.mlCatFunnelHero{
  position:relative;
  min-height:450px;
  isolation:isolate;
  overflow:visible; /* FIX: permet aux suggestions de dépasser */
  background:#fff;
  z-index:5;
}

.mlCatFunnelHero__bg{
  position:absolute;
  inset:0;
  z-index:-1;
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(420px, 44vw);
  overflow:hidden; /* FIX: le background reste propre malgré overflow visible sur la section */
}

.mlCatFunnelHero__bgLeft{
  background:
    radial-gradient(circle at 12% 18%, rgba(246,70,50,.025), transparent 25%),
    radial-gradient(circle at 100% 75%, rgba(255,255,255,.99), transparent 40%),
    linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

.mlCatFunnelHero__bgRight{
  position:relative;
  overflow:hidden;
}

.mlCatFunnelHero__img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  filter:saturate(1.02) contrast(1.02);
}

.mlCatFunnelHero__overlay{
  position:absolute;
  inset:0;
  pointer-events:none;
}

.mlCatFunnelHero__overlay--desktop{
  background:
    linear-gradient(90deg, #fff 0%, rgba(255,255,255,.92) 7%, rgba(255,255,255,.22) 34%, rgba(255,255,255,0) 100%);
}

.mlCatFunnelHero__overlay--mobile{
  display:none;
}

.mlCatFunnelHero__wrap{
  position:relative;
  z-index:2;
  width:min(1280px, calc(100% - 36px));
  margin:0 auto;
  min-height:450px;
  display:flex;
  align-items:center;
  padding:46px 0;
}

.mlCatFunnelHero__content{
  width:min(660px, 100%);
}

.mlCatFunnelHero__breadcrumbs{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:22px;
  font-size:14px;
  line-height:1.2;
}

.mlCatFunnelHero__crumb{
  color:#64748b;
  text-decoration:none;
  font-weight:400;
}

.mlCatFunnelHero__crumb:hover{
  color:#f64632;
}

.mlCatFunnelHero__sep{
  color:#cbd5e1;
}

.mlCatFunnelHero__here{
  color:#0f172a;
  font-weight:800;
}

.mlCatFunnelHero__badgeLine{
  margin-bottom:16px;
  text-align:left;
}

.mlCatFunnelHero__badge{
  display:inline-flex;
  align-items:center;
  gap:9px;
  padding:5px 15px 5px 5px;
  border-radius:999px;
  background:rgba(246,70,50,.08);
  color:#f64632;
}

.mlCatFunnelHero__badgeIcon{
  width:26px;
  height:26px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#f64632;
  color:#fff;
  box-shadow:0 8px 18px rgba(246,70,50,.08);
  font-size:12px;
}

.mlCatFunnelHero__badgeText{
  margin:0;
  font-size:13px;
  line-height:1.2;
  font-weight:900;
  letter-spacing:.01em;
  color:#020419;
}

.mlCatFunnelHero__title{
  margin:0;
  max-width:650px;
  font-size:38px;
  line-height:1.2;
  letter-spacing:-1px;
  font-weight:700;
  color:#07111f;
  text-align:left;
}

.mlCatFunnelHero__title strong{
  color:#f64632;
  font-weight:950;
}

.mlCatFunnelHero__lead{
  margin:18px 0 0;
  max-width:590px;
  color:#475569;
  font-size:18px;
  line-height:1.5;
  font-weight:400;
  text-align:left;
}

.mlCatFunnelHero__quoteBox{
  position:relative;
  z-index:50;
  margin-top:20px;
  width:min(630px, 100%);
  display:grid;
  grid-template-columns:minmax(0, 1fr) auto;
  gap:12px;
  align-items:start;
  padding:10px;
  border-radius:22px;
  background:#fff;
  border:1px solid rgba(15,23,42,.10);
  box-shadow:0 12px 30px rgb(15 23 42 / 4%);
}

.mlCatFunnelHero__fieldWrap{
  position:relative;
  min-width:0;
  z-index:60;
}

.mlCatFunnelHero__label{
  position:absolute;
  top:10px;
  left:52px;
  z-index:2;
  font-size:11px;
  line-height:1;
  font-weight:900;
  color:#94a3b8;
  pointer-events:none;
}

.mlCatFunnelHero__field{
  position:relative;
  height:56px;
  border-radius:16px;
  background:#f8fafc;
  border:1px solid rgba(15,23,42,.08);
  display:flex;
  align-items:center;
  transition:border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.mlCatFunnelHero__field:focus-within{
  background:#fff;
  border-color:rgba(246,70,50,.42);
  box-shadow:0 0 0 4px rgba(246,70,50,.10);
}

.mlCatFunnelHero__field i{
  position:absolute;
  left:18px;
  top:50%;
  transform:translateY(-50%);
  color:#f64632;
  font-size:22px;
}

.mlCatFunnelHero__cityInput{
  width:100%;
  height:100%;
  border:0;
  background:transparent;
  outline:none;
  padding:20px 16px 4px 50px;
  color:#0f172a;
  font-size:16px;
  font-weight:900;
}

.mlCatFunnelHero__cityInput::placeholder{
  color:#94a3b8;
}

.mlCatFunnelHero__cta{
  height:56px;
  border:0;
  border-radius:16px;
  padding:0 24px;
  cursor:pointer;
  background:#f64632;
  color:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  font-size:15px;
  font-weight:950;
  white-space:nowrap;
  box-shadow:0 16px 34px rgba(246,70,50,.08);
  transition:transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

.mlCatFunnelHero__cta:hover{
  transform:translateY(-1px);
  filter:brightness(1.03);
  box-shadow:0 20px 42px rgba(246,70,50,.12);
}

.mlCatFunnelHero__suggestions{
  position:absolute;
  left:0;
  right:0;
  top:calc(100% + 8px);
  z-index:9999;
  max-height:260px;
  overflow:auto;
  padding:6px;
  background:#fff;
  border:1px solid rgba(15,23,42,.10);
  border-radius:16px;
  box-shadow:0 20px 40px rgba(15,23,42,.12);
  scrollbar-width:thin;
  scrollbar-color:#cbd5e1 transparent;
}

.mlCatFunnelHero__suggestions::-webkit-scrollbar{
  width:8px;
}

.mlCatFunnelHero__suggestions::-webkit-scrollbar-track{
  background:transparent;
}

.mlCatFunnelHero__suggestions::-webkit-scrollbar-thumb{
  background:#cbd5e1;
  border-radius:999px;
}

.mlCatFunnelHero__suggestion{
  width:100%;
  min-height:42px;
  border:0;
  border-radius:12px;
  background:#fff;
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 12px;
  cursor:pointer;
  color:#0f172a;
  font-size:14px;
  font-weight:800;
  text-align:left;
}

.mlCatFunnelHero__suggestion i{
  position:static;
  transform:none;
  color:#94a3b8;
  font-size:13px;
}

.mlCatFunnelHero__suggestion:hover{
  background:rgba(246,70,50,.06);
  color:#f64632;
}

.mlCatFunnelHero__suggestion:hover i{
  color:#f64632;
}

/* FIX: ne réserve plus d'espace quand il n'y a pas d'erreur */
.mlCatFunnelHero__cityError{
  display:none;
  margin:6px 0 0 4px;
  font-size:12px;
  line-height:1.2;
  color:#b91c1c;
  font-weight:800;
  text-align:left;
}

.mlCatFunnelHero__cityError:not(:empty){
  display:block;
}

.mlCatFunnelHero__trust{
  margin-top:20px;
  display:flex;
  flex-wrap:wrap;
  gap:10px 16px;
  color:#334155;
  font-size:14px;
  font-weight:850;
}

.mlCatFunnelHero__trust span{
  display:inline-flex;
  align-items:center;
  gap:7px;
}

.mlCatFunnelHero__trust i{
  color:#f64632;
  font-size:11px;
  background: #fff0ef;
  padding: 5px;
  border-radius: 99px;
}

/* =========================
   RESPONSIVE
   ========================= */

/* Mobile/tablette : image catégorie en haut, contenu en dessous */
@media (max-width: 920px){
  .mlCatFunnelHero{
    min-height:auto;
    height:auto;
    overflow:visible;
    background:#f6f8fa;
  }

  .mlCatFunnelHero__bg{
    position:absolute;
    inset:0;
    z-index:-1;
    display:grid;
    grid-template-columns:1fr;
    grid-template-rows:240px auto;
    overflow:hidden;
  }

  .mlCatFunnelHero__bgRight{
    position:relative;
    grid-row:1;
    height:240px;
    opacity:1;
    overflow:hidden;
  }

  .mlCatFunnelHero__bgLeft{
    position:relative;
    grid-row:2;
    inset:auto;
    background:radial-gradient(circle at 90% 90%, rgba(246,70,50,.04), transparent 25%), linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
  }

  .mlCatFunnelHero__img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
  }

  .mlCatFunnelHero__overlay--desktop{
    display:none;
  }

  .mlCatFunnelHero__overlay--mobile{
    display:block;
    background:linear-gradient(0deg,
      rgba(255,255,255,1) 0%,
      rgba(255,255,255,.72) 22%,
      rgba(255,255,255,0) 55%
    );
  }

  .mlCatFunnelHero__wrap{
    position:relative;
    z-index:2;
    width:min(1280px, calc(100% - 36px));
    min-height:auto;
    display:grid;
    grid-template-columns:1fr;
    grid-template-rows:240px auto;
    align-items:stretch;
    padding:0;
  }

  .mlCatFunnelHero__content{
    grid-row:2;
    width:100%;
    padding:22px 0 34px;
  }

  .mlCatFunnelHero__title{
    max-width:100%;
    font-size:34px;
  }

  .mlCatFunnelHero__lead{
    max-width:100%;
    font-size:16px;
    line-height:1.58;
  }
}

@media (max-width: 767px){
  .mlCatFunnelHero__wrap{
    width:calc(100% - 28px);
    padding:0;
  }

  .mlCatFunnelHero__breadcrumbs{
    margin-bottom:18px;
    font-size:13px;
  }

  .mlCatFunnelHero__badgeText{
    font-size:12.5px;
  }

  .mlCatFunnelHero__title{
    font-size:29px;
  }

  .mlCatFunnelHero__lead{
    margin-top:14px;
    font-size:15px;
  }

  .mlCatFunnelHero__quoteBox{
    margin-top:18px;
    grid-template-columns:1fr;
    gap:10px;
    padding:10px;
    border-radius:20px;
    box-shadow: 0 8px 20px rgb(15 23 42 / 5%);
  }

  .mlCatFunnelHero__cta{
    width:100%;
    height:56px;
  }

  .mlCatFunnelHero__trust{
    font-size:12.5px;
    gap:8px 12px;
    justify-content: center;
  }

}


/* =========================
   HERO CVR END
   ========================= */
   
   
/* ============================================
    Listing sticky CTA Mobile : Demander un devis
   - Hidden by default
   - Appears only after hero is no longer visible
   - Opens listing quote modal
=============================================== */

.listingStickyCta {
  display: none;
}

@media (max-width: 768px) {
  .listingStickyCta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 980;
    display: block;
    padding: 14px 14px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.96);
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 -12px 30px rgba(15, 23, 42, 0.10);
    transform: translateY(115%);
    opacity: 0;
    pointer-events: none;
    transition: transform .26s ease, opacity .22s ease;
  }

  .listingStickyCta.is-visible {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .listingStickyCta__inner {
    width: 100%;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
    text-align: center;
    font-family: inherit;
  }

  .listingStickyCta__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    width: 100%;
    border-radius: 6px;
    background: #f64632;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
  }

  .listingStickyCta__text {
    display: block;
    margin-top: 9px;
    color: #111827;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.35;
  }

  body.has-listing-sticky-cta {
    padding-bottom: 92px;
  }

  body.mlListingQuoteModalOpen .listingStickyCta {
    transform: translateY(115%);
    opacity: 0;
    pointer-events: none;
  }
}

/* ============================================
    Listing sticky CTA Mobile : Demander un devis END
=============================================== */


/* ============================================
   Layout separation listing
=============================================== */

.layout-70-30 {
    display: block;
}

/*<!-----  Listing container ----->*/
.newlisting-section {
    background: #fff;
    padding: 40px 20px 25px;
    font-family: 'Figtree', sans-serif;
    overflow: hidden;
}
.newlisting-wrapper {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}
.listing-title h2 {
    font-size: 22px;
    font-weight: 700;
    color: #031a36;
    margin-bottom: 30px;
    position: relative;
    text-align: left;
}
.listing-title h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background-color: #031a36;
    margin-top: 8px;
    border-radius: 2px;
}

.main-listing {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}
/*<!-----  Listing container END ----->*/

/* Desktop ≥ 1024px : active le 70/30 */
@media (min-width: 1024px) {
    .layout-70-30 {
        display: flex;
        gap: 20px;
        max-width: 1300px;
        margin: 0 auto;
    }

    .left-col {
        width: 72%;
    }

    .right-col {
        width: 28%;
    }
}
/* ----- layout separation listing END ----- */

/* ============================================
   NEW LISTING HORIZONTAL
=============================================== */

.pro-listing-new {
    display: flex;
    flex-direction: row;
    width: 100%;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e6e8ec;
    overflow: hidden;
    margin-bottom: 15px;
}
.pro-new-info {
    flex: 1;
}

/* ============================================
   SECTION 1 : GALERIE
=============================================== */

.pro-new-gallery {
    flex: 0 0 31%;
    max-width: 31%;
    position: relative;
    overflow: hidden;
}

.gallery-new {
    position: relative;
    width: 100%;
    height: 100%;
    padding-top: 100%;
    background: #f2f2f2;
    overflow: hidden;
}

.gallery-new-track {
    position: absolute;
    inset: 0;
    display: flex;
    overflow: hidden;
}

.gallery-new-image {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .3s;
}

.gallery-new-image.loaded { opacity: 1; }

/* Arrows */
.gallery-new-arrow {
    position: absolute;
    top: 0;
    width: 60px;
    height: 100%;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-new-left { left: 0; background: linear-gradient(-90deg, transparent, rgba(0,0,0,.45)); }
.gallery-new-right { right: 0; background: linear-gradient(90deg, transparent, rgba(0,0,0,.45)); }


.gallery-new-arrow {
    pointer-events: auto;
    cursor: pointer;
}

/* ============================================
   SECTION 2 : INFO
=============================================== */

.pro-new-info {
    flex: 1 1 auto;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

/* ========= HEADER (nom + logo) ========= */

.pro-new-header {
    display: flex;
    gap: 14px;
}

.pro-new-logo img {
    width: 86px;
    height: 86px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid #e5e5e5;
}

.pro-new-header-text {
    flex: 1;
    min-width: 0;
}

/* Nom */
.pro-new-name-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.pro-new-name {
    font-size: 22px;
    font-weight: 700;
    color: #031a36;
    letter-spacing: -0.4px;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pro-new-name:hover { color: #f64628; }

.pro-new-verified {
    color: #4081ec;
    font-size: 14px;
    padding-top:2px;
}

/* Activité */
.pro-new-activity {
    font-size: 15px;
    color: #2c3c4c;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    margin-bottom: 6px;
}

/* ============================================
   CATEGORY + CITY (sur la même ligne)
=============================================== */

.pro-new-tags {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pro-new-category,
.pro-new-city {
    font-size: 14px;
    background: #f6f7f8;
    padding: 4px 10px;
    border-radius: 6px;
    color: #0e2840;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;

    text-align: left;
    width: fit-content;
}

/* ============================================
   RATING – bien aligné à gauche
=============================================== */

.pro-new-rating {
    display: flex;
    justify-content: flex-start;
    align-items: baseline;
    gap: 6px;
    font-size: 15px;
    text-align: left;
    margin-top: 2px;
}

.pro-new-rating .rating-score {
    font-weight: 700;
    color: #faa500;
}

.pro-new-rating .star-rating {
    display: flex;
    align-items: center;
    gap: 2.5px;
}

.rating-count {
    color: #666;
}
.star-rating {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 16px;
}
.star-rating .fa-star,
.star-rating .fa-star-half,
.star-rating .fa-star-o {
  color: #faa500;
  font-size: 14px;
}

/* ============================================
   DESCRIPTION (2 lignes, sans bouton)
=============================================== */

.pro-new-description {
    font-size: 14px;
    line-height: 20px;
    text-align: left;

    display: -webkit-box;
    -webkit-line-clamp: 2;  
    -webkit-box-orient: vertical;

    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============================================
   SECTION CONTACT (NOUVELLE SECTION 3)
=============================================== */

.pro-new-contact-area {
    border-top: 1px solid rgba(240,240,240,1);
    margin-top: 2px;
    padding-top: 14px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.pro-new-contact-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pro-new-contact-title {
    font-size: 15px;
    font-weight: 600;
    color: #031a36;
    text-align: left;
}

.pro-new-contact-delay {
    font-size: 13px;
    color: #4b5464;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pro-new-contact-delay span {
    font-weight: 700;
    color: #008255;
}

.pro-new-contact-delay i {
    font-size: 12px;
    padding-top: 1px;
}
.pro-new-contact-delay i.online {
    color: #1bbf38;
}

.pro-new-contact-button {
    background: #0a0c0e;
    color: #fff;
    border-radius: 8px;
    padding: 14px 24px;
    text-decoration: none;
    font-weight: 700;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    transition: background 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    border: none;
}

.pro-new-contact-button:hover{
  background:#e53f24;
  transform: translateY(-1px);
}
.pro-new-contact-button:active{
  transform: translateY(0);
}

/* Bouton Appeler — mobile only */
.pro-new-call-button-mobile {
    display: none; /* desktop */
}

/* Styles communs au bouton — mobile uniquement */
@media (max-width: 768px) {
    .pro-new-call-button-mobile {
        display: flex !important;
        background: #f0f1f2;
        color: #0a0c0e;
        border-radius: 8px;
        padding: 14px 24px;
        text-decoration: none;
        font-weight: 700;
        white-space: nowrap;
        align-items: center;
        justify-content: center; 
        gap: 8px;
        font-size: 14px;
        transition: background 0.3s ease, transform 0.3s ease;
        border: none;   
        width: 100%;     
        cursor: pointer;
    }

    .pro-new-call-button-mobile:hover {
        background: #e8e9ea;
        transform: translateY(-1px);
    }

    /* Animation quand le numéro apparaît */
    .pro-new-call-button-mobile.reveal {
        background: #e8e9ea;
        transform: scale(1.02);
    }
    .pro-new-contact-text {
        padding-bottom: 5px;
    }
}


/* ======== RESPONSIVE ========= */

@media (max-width: 1024px) {
    .pro-new-gallery { flex: 0 0 35%; max-width: 35%; }
}

@media (max-width: 768px) {

    .pro-listing-new {
        flex-direction: column;
        gap: 6px;
    }

    .pro-new-gallery,
    .pro-new-info {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .gallery-new { padding-top: 66%; }

    .pro-new-info {
        padding: 14px;
    }

    .pro-new-button {
        width: 100%;
    }

}

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {
    .pro-new-contact-area {
        flex-direction: column;
        align-items: stretch;
    }

    .pro-new-contact-button {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   NEW LISTING ITEM HORIZONTAL END
=============================================== */

/* ============================================
   NEW RIGHT SEARCH FORM
=============================================== */
.modern-search-form {
    padding-right: 20px;
    position:sticky;
    top:90px;
    padding-bottom: 15px;
}
/* SECTION TITLES */
.filter-section {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 25px;
}
.filter-section.top {
    margin-top: 78px;
}

.filter-title {
    font-size: 16px;
    font-weight: 700;
    color: #031a36;
    text-align: left;
}

/* ---------------------------------- */
/* SELECT VILLE CUSTOM                */
/* ---------------------------------- */

.city-select-container {
    position: relative;
}

.city-select-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fcfcfc;
    border: 1px solid #e6e6e6;
    padding: 12px 14px;
    border-radius: 10px;
    cursor: pointer;
    color: #4b5464;
}

.city-select-display i {
    color: #6d7c8a;
}

.city-dropdown {
    display: none;
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    background: #fff;
    border-radius: 12px;
    padding: 12px;
    border: 1px solid #eee;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    z-index: 999;
}

.city-search-input {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
    margin-bottom: 8px;
    font-size: 14px;
}

/* Scroll container de la liste des villes */
.city-list {
    max-height: 230px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #dcdcdc transparent;
}

/* Webkit (Chrome, Edge, Safari) */
.city-list::-webkit-scrollbar {
    width: 6px;
}

.city-list::-webkit-scrollbar-track {
    background: transparent;
}

.city-list::-webkit-scrollbar-thumb {
    background: #d0d0d0;
    border-radius: 4px;
}

.city-list::-webkit-scrollbar-thumb:hover {
    background: #b5b5b5;
}

.city-item {
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    text-align: left;
}

.city-item:hover {
    background: #f64628;
    color: #fff;
}

/* ---------------------------------- */
/* SWITCH LOCAL / REGIONAL / NATIONAL */
/* ---------------------------------- */

.radius-switch {
    display: flex;
    background: #fcfcfc;
    border-radius: 10px;
    border: 1px solid #e6e6e6;
    overflow: hidden;
}

.radius-option {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.2s, color 0.2s;
    color: #4b5464;
}

.radius-option.active {
    background: #f4f6fa;
    font-weight: 600;
}

/* ---------------------------------- */
/* PRESTATIONS SEARCH INPUT           */
/* ---------------------------------- */

.prestation-search-wrapper {
    position: relative;
}

.typeahead {
    width: 100%;
    background: #fcfcfc;
    border: 1px solid #e6e6e6;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 14px;
    color: #4b5464;
}

.typeahead:focus {
    background: #fff;
    border-color: #f64628;
    box-shadow: 0 0 0 3px rgba(246,70,40,0.15);
    outline: none;
}

.search-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #6d7c8a;
}

/* AUTOCOMPLETE LIST */
.autocomplete-list {
    position: absolute;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    top: 50px;
    width: 100%;
    max-height: 220px;
    overflow-y: auto;
    box-shadow: 0 4px 14px rgba(0,0,0,0.10);
    display: none;
    z-index: 999;
}

.autocomplete-item {
    cursor: pointer;
    padding: 8px 14px;
    font-size: 14px;
    text-align: left;
}

.autocomplete-item:hover {
    background: #f64628;
    color: #fff;
}
.autocomplete-empty{
  padding:8px 12px;
  color:#6d7c8a;
  font-size:13px;
}
/* highlight clavier */
.autocomplete-item.is-active{
  background: rgba(246,70,40,.10);
  font-weight: 700;
}

/* si tu veux que le hover souris garde le même rendu */
.autocomplete-item:hover{
  background: rgba(246,70,40,.10);
  font-weight: 700;
  color:#000;
}

.autocomplete-list::-webkit-scrollbar{ width:6px; }
.autocomplete-list::-webkit-scrollbar-track{ background:transparent; }
.autocomplete-list::-webkit-scrollbar-thumb{ background:#d5d9df; border-radius:6px; }
.autocomplete-list::-webkit-scrollbar-thumb:hover{ background:#bcc3cc; }

/* ---------------------------------- */
/* PRESTATIONS LIST SCROLL            */
/* ---------------------------------- */
/* Scroll container des prestations */
.prestation-scroll {
    max-height: 232px;
    overflow-y: auto;
    padding-right: 6px;
}

/* --- SCROLLBAR MODERNE / SLIM --- */

/* Firefox */
.prestation-scroll {
    scrollbar-width: thin;
    scrollbar-color: #dcdcdc transparent;
}

/* Webkit (Chrome, Edge, Safari) */
.prestation-scroll::-webkit-scrollbar {
    width: 6px;
}

.prestation-scroll::-webkit-scrollbar-track {
    background: transparent; 
}

.prestation-scroll::-webkit-scrollbar-thumb {
    background: #d0d0d0;
    border-radius: 4px;
}

.prestation-scroll::-webkit-scrollbar-thumb:hover {
    background: #b5b5b5; /* légère intensification au survol */
}

/* Ligne de prestation */
.prestation-radio {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 4px 0;
}

/* Le "radio" visuel (faux bullet) */
.prestation-bullet {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #d0d0d0;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color 0.2s ease;
}

.prestation-bullet::after {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: transparent;
    transition: background-color 0.2s ease;
}

/* Lien texte */
.prestation-radio a {
    font-size: 14px;
    color: #4b5464;
    text-decoration: none;
    padding: 2px 0;
    transition: color 0.2s ease;
}

/* Hover */
.prestation-radio:hover a {
    color: #f64628;
}

/* État actif */
.prestation-radio.active .prestation-bullet {
    border-color: #f64628;
}

.prestation-radio.active .prestation-bullet::after {
    background-color: #f64628;
}
.prestation-radio.active a {
    color: #101926;
}
/* MOBILE */
@media (max-width: 1024px) {
    
    .modern-search-form {
      padding: 20px;
    }
    .filter-section.top {
      margin-top: 0;
    }
}

@media (max-width: 768px) {

   .newlisting-section {
      padding: 40px 14px 25px;
    }
   
   .quote-section {
      padding: 20px 14px 40px;
   }
}

/* ============================================
   NEW RIGHT SEARCH FORM END
=============================================== */