.text-light-grey {
    color: #6C757D !important;
}

.title-divider {
    border-bottom: 3px solid var(--bs-primary);
    border-radius: 10px;
    width: 200px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    margin-bottom: 20px;
}


.h2, h2 {
    font-size: 2rem;
}


@media (min-width: 1200px) {
    .h2, h2 {
        font-size: 2.5rem;
    }
}



/* #################### Scroll Bar #################### */
.col-listings {
  overflow-y: auto; /* ou scroll */
}

/* Arrière-plan (track) */
.col-listings::-webkit-scrollbar-track {
  background: transparent; /* ici tu vires le fond dégueu */
}

/* La barre (thumb) */
.col-listings::-webkit-scrollbar-thumb {
  background: rgba(0,0,0,0.3); /* gris semi-transparent */
  border-radius: 10px; /* arrondi pour le style */
}

/* Hover pour effet un peu + marqué */
.col-listings::-webkit-scrollbar-thumb:hover {
  background: rgba(0,0,0,0.5);
}

/* Firefox */
.col-listings {
  scrollbar-color: rgba(0,0,0,0.3) transparent; /* thumb / track */
}


.accordion-button:not(.collapsed) {
    color: #d3bc87;
    background-color: var(--bs-light-primary);
    box-shadow: inset 0 calc(var(--bs-light-primary) * -1) 0 var(--bs-light-primary);
}

.accordion-item {
    color: var(--bs-body-color);
}

.nav-header .navbar-nav .dropdown-img {
    background-position: center center; 
}

.nav-header.nav-header-classic .navbar .dropdown-menu-custom .dropdown-item {
    text-transform: none;
}


p {
    font-size: 1.2rem;
}


/* ========================================================
   Boutons de navigation des carousels de propriétés (composant partagé)
   Chargé globalement pour que l'affichage soit identique sur toutes les pages
   ======================================================== */
/* Boutons nav carousels mobiles (owl-home-listings / owl-home-blog) */
.owl-home-listings .owl-nav button,
.owl-home-blog .owl-nav button {
    background: transparent !important;
    border: 2px solid var(--bs-primary) !important;
    color: var(--bs-primary) !important;
    border-radius: 50% !important;
    width: 40px;
    height: 40px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    line-height: 1;
    transition: background 0.2s, color 0.2s;
    margin: 0 4px;
}

.owl-home-listings .owl-nav button:hover,
.owl-home-blog .owl-nav button:hover {
    background: var(--bs-primary) !important;
    color: #fff !important;
}

.owl-home-listings .owl-nav button.disabled,
.owl-home-blog .owl-nav button.disabled {
    border-color: #ccc !important;
    color: #ccc !important;
    opacity: 0.5;
}

.owl-home-listings .owl-nav,
.owl-home-blog .owl-nav {
    margin-top: 16px;
    text-align: center;
}


/* ========================================================
   En-tête des pages blog (article & localité)
   Sur mobile : bandeau plus court et titre plus petit pour
   laisser voir le titre et le début de l'article
   ======================================================== */
.blog-hero {
    min-height: 600px;
}
@media (max-width: 767.98px) {
    .blog-hero {
        min-height: 260px;
    }
    .blog-title {
        font-size: 2.25rem !important;
        line-height: 1.15 !important;
    }
}


/* ========================================================
   Bouton flottant + modal de recherche (toutes pages)
   ======================================================== */
.search-fab,
.search-fab:hover,
.search-fab:focus {
    background-color: var(--bs-primary);
    color: #2c2c2c;
    text-decoration: none;
}
.search-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1035;
    width: 60px;
    height: 60px;
    padding: 0;
    border-radius: 50% !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    line-height: 1;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .28);
    transition: transform .2s ease, box-shadow .2s ease;
}
.search-fab i {
    color: inherit;
}
.search-fab:hover,
.search-fab:focus {
    transform: scale(1.08);
    box-shadow: 0 6px 22px rgba(0, 0, 0, .34);
}
@media (max-width: 767.98px) {
    .search-fab {
        bottom: 18px;
        right: 18px;
        width: 54px;
        height: 54px;
        font-size: 1.25rem;
    }
}

.search-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1060;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    background: rgba(0, 0, 0, .55);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease, visibility .25s ease;
}
.search-modal-overlay.open {
    opacity: 1;
    visibility: visible;
}
.search-modal {
    position: relative;
    width: 100%;
    max-width: 820px;
    transform: translateY(24px) scale(.96);
    transition: transform .28s cubic-bezier(.2, .8, .3, 1);
}
.search-modal-overlay.open .search-modal {
    transform: translateY(0) scale(1);
}
/* Empêche le scroll de l'arrière-plan quand le modal est ouvert */
body.search-modal-lock {
    overflow: hidden;
}
/* select2 au-dessus du contenu du modal */
.search-modal .select2-container {
    z-index: 1065;
}
