@charset "utf-8";

/* ===============================
 *  FORMULAIRE DE RECHERCHE
 *  Design Figma - actifimmo2
 * =============================== */

.searchBox {
    position: relative;
    z-index: 120;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-end;
    margin-bottom: 1rem;
    width: 100%;
}

/* --- Labels (ceux des champs, pas ceux du panneau des villes) --- */
.searchBox .field > label {
    display: block;
    color: var(--neutral-2x-dark);
    font-size: 0.8rem;
    font-weight: var(--fw-bold);
    letter-spacing: 0.02em;
    margin-bottom: 4px;
}

/* Labels dynamiques normal/avancé : par défaut, on affiche "normal" */
.searchBox .label-advanced { display: none; }
.searchBox .label-normal { display: inline; }

/* --- Inputs texte/number, liste « Autour » --- */
.searchBox input[type="number"],
.searchBox input[type="text"],
.searchBox select {
    background: var(--neutral-x-light);
    border: 1px solid var(--neutral-light);
    padding: 0 0.75rem;
    font-family: var(--ff-body);
    font-size: 0.875rem;
    border-radius: var(--radius-xs);
    width: 100%;
    height: 39px;
    color: var(--neutral-x-dark);
}

.searchBox input[type="number"]::placeholder,
.searchBox input[type="text"]::placeholder {
    color: var(--neutral-dark);
}

.searchBox input[type="number"]:focus,
.searchBox input[type="text"]:focus,
.searchBox select:focus {
    outline: 2px solid var(--primary-main);
    outline-offset: -1px;
    background: #fff;
}

/* Liste « Autour » grisée tant qu'aucune commune n'est choisie */
.searchBox select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Supprimer spinners number */
.searchBox input[type="number"]::-webkit-outer-spin-button,
.searchBox input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.searchBox input[type="number"] {
    -moz-appearance: textfield;
}

/* --- Tom Select --- */
.searchBox .ts-wrapper.multi .ts-control,
.searchBox .ts-wrapper.single .ts-control {
    background: var(--neutral-x-light);
    border: 1px solid var(--neutral-light);
    padding: 0 0.75rem;
    font-family: var(--ff-body);
    font-size: 0.875rem;
    border-radius: var(--radius-xs);
    min-height: 39px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.searchBox .ts-wrapper.multi .ts-control:focus-within,
.searchBox .ts-wrapper.single .ts-control:focus-within {
    outline: 2px solid var(--primary-main);
    outline-offset: -1px;
    background: #fff;
}

.searchBox .ts-wrapper .ts-control input {
    font-size: 0.875rem;
}

/* Tags multi-select */
.searchBox .ts-wrapper.multi .ts-control .item {
    background: var(--primary-x-light);
    color: var(--primary-x-dark);
    border: 0;
    border-radius: var(--radius-xs);
    padding: 2px 8px;
    font-size: 0.813rem;
    margin: 2px 3px 2px 0;
}

.searchBox .ts-wrapper.multi .ts-control .item .remove {
    border: 0;
    color: var(--primary-dark);
    font-size: 1rem;
}

/* Placeholder */
.searchBox .ts-wrapper .ts-control .ts-placeholder {
    color: var(--neutral-dark);
}

/* --- Tom Select Dropdown --- */
.searchBox > .field {
    position: relative;
    z-index: 1;
}

.searchBox > .field:has(.dropdown-active) {
    z-index: 10;
}

.searchBox .ts-dropdown {
    border: 1px solid var(--neutral-light);
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    font-family: var(--ff-body);
}

.searchBox .ts-dropdown-content {
    max-height: 250px;
    overflow-y: auto;
}

.searchBox .ts-dropdown .optgroup-header {
    font-weight: var(--fw-bold);
    font-size: 0.8rem;
    color: var(--neutral-dark);
    text-transform: uppercase;
    padding: 8px 12px 4px;
}

.searchBox .ts-dropdown .option {
    padding: 6px 12px;
    font-size: 0.875rem;
}

.searchBox .ts-dropdown .option .count {
    float: right;
    color: var(--neutral-main);
    font-size: 0.8rem;
}

/* Code postal d'une commune, à côté de son nom */
.searchBox .ts-dropdown .option .code-postal {
    color: var(--neutral-main);
    font-size: 0.8rem;
}

/* Ligne « 40700 : toutes les communes » */
.searchBox .ts-dropdown .option.ligne-code-postal {
    font-weight: var(--fw-bold);
}

.searchBox .ts-dropdown .option.active {
    background: var(--primary-x-light);
    color: var(--primary-x-dark);
}

/* ===============================
 *  DOUBLE INPUT (Prix min/max, Surface min/max)
 * =============================== */

.double-input {
    display: flex;
    align-items: stretch;
    border: 1px solid var(--neutral-light);
    border-radius: var(--radius-xs);
    overflow: hidden;
    height: 39px;
}

.double-input .input-min,
.double-input .input-max {
    border: 0;
    border-radius: 0;
    flex: 1;
}

.double-sep {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--neutral-x-light);
    color: var(--neutral-main);
    font-size: 0.75rem;
    padding: 0 4px;
    flex-shrink: 0;
    user-select: none;
}

/* ===============================
 *  BOUTON CHERCHER
 * =============================== */

.btn-search-wrapper,
.btn-search-trigger-wrapper {
    display: flex;
    align-items: stretch;
    overflow: hidden;
    width: 100%;
}

.btn-search-wrapper {
    border-radius: var(--radius-xs);
}

/* Texte blanc sur le rose : 5,1:1 au repos, 6,4:1 au survol (WCAG AA). Le noir n'atteignait que 4,1 et 3,3 */
.searchBox .btn-search {
    background: var(--focus-main);
    color: #fff;
    font-weight: var(--fw-bold);
    border: 0;
    border-radius: 0;
    padding: 0.6rem 1.25rem;
    font-size: 0.875rem;
    cursor: pointer;
    white-space: nowrap;
    width: 100%;
    transition: background 0.2s;
}

.searchBox .btn-search:hover {
    background: var(--focus-dark);
}

/* Compteur en graisse normale, sans transparence : à 70 %, le blanc tombait à 3:1 sur le rose */
.searchBox .btn-search .live-count {
    font-weight: var(--fw-normal);
}

/* ===============================
 *  BOUTON TOGGLE AVANCÉ
 * =============================== */

.searchBox .btn-toggle-advanced {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--focus-light);
    border: 0;
    border-radius: var(--radius-xs);
    padding: 0.6rem;
    cursor: pointer;
    transition: background 0.2s;
    align-self: stretch;
}

.searchBox .btn-toggle-advanced:hover {
    background: var(--focus-dark);
}

.searchBox .btn-toggle-advanced img {
    width: 16px;
    height: 16px;
    display: block;
}

.searchBox .btn-toggle-advanced #lottie-filter {
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===============================
 *  TOGGLE PIÈCES
 * =============================== */

.pieces-toggle {
    display: flex;
    border-radius: var(--radius-xs);
    overflow: hidden;
    border: 1px solid var(--neutral-light);
}

.pieces-toggle button {
    flex: 1;
    padding: 0.5rem 0;
    border: 0;
    background: var(--neutral-x-light);
    color: var(--neutral-x-dark);
    font-size: 0.85rem;
    font-weight: var(--fw-bold);
    cursor: pointer;
    transition: all 0.15s;
    min-width: 2.5rem;
}

.pieces-toggle button:not(:last-child) {
    border-right: 1px solid #e0e0e0;
}

.pieces-toggle button.active {
    background: var(--primary-main);
    color: #FFF;
}

.pieces-toggle button:hover:not(.active) {
    background: var(--primary-x-light);
}

/* ===============================
 *  BARRE DE TRI
 * =============================== */

.sort-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.sort-bar .sort-label {
    font-size: 0.8rem;
    color: var(--neutral-dark);
    font-weight: var(--fw-bold);
}

.sort-bar .btn-sort {
    border: 0;
    background: var(--neutral-light);
    color: var(--neutral-dark);
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-xs);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.15s;
}

.sort-bar .btn-sort:hover {
    background: var(--primary-x-light);
    color: var(--primary-dark);
}

.sort-bar .btn-sort.active {
    background: var(--primary-main);
    color: #FFF;
}

/* Bouton « Carte », tout à droite de la barre de tri, à la hauteur des boutons de tri.
   Visible seulement quand annonce-map.js a montré la carte (biens géolocalisés) */
.sort-bar .btn-carte {
    display: none;
}

body:has(#annonce-map-section:not(.d-none)) .sort-bar .btn-carte {
    display: inline-flex;
    align-self: stretch; /* même hauteur que les boutons de tri */
    align-items: center;
    gap: .375rem;
    padding: .3rem .75rem;
    font-size: .8rem;
}

/* Petit écran : l'icône seule, pour tenir sur la ligne des boutons de tri dès 360 px de large.
   Le mot « Carte » reste lu par les lecteurs d'écran (masqué à l'écran seulement) */
@media screen and (max-width: 575.98px) {
    body:has(#annonce-map-section:not(.d-none)) .sort-bar .btn-carte {
        padding-inline: .5rem;
    }

    .btn-carte__label {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }
}

/* ===============================
 *  BOUTON TRIGGER MOBILE
 * =============================== */

.btn-search-trigger-wrapper {
    border-radius: var(--radius-sm);
    margin-bottom: 1rem;
}

.btn-search-trigger {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    flex: 1;
    background: var(--focus-main);
    color: #fff;
    font-weight: var(--fw-bold);
    font-size: 1rem;
    border: 0;
    border-radius: 0;
    padding: 0.85rem 1rem 0.85rem 1.5rem;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-search-trigger:hover {
    background: var(--focus-dark);
}

.btn-search-trigger img {
    width: 18px;
    height: 18px;
}

.btn-search-trigger .lottie-search {
    width: 27px;
    height: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.btn-search-trigger .live-count {
    font-weight: var(--fw-normal);
}

.btn-search-reset {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: var(--focus-main);
    border: 0;
    border-left: 1px solid var(--focus-light);
    padding: 0.85rem 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-search-reset:hover {
    background: var(--focus-dark);
}

.btn-search-reset img {
    width: 18px;
    height: 18px;
}

.btn-search-reset .lottie-refresh {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Icônes animées (loupe, réinitialiser) en blanc comme le texte : les animations Lottie sont dessinées en noir */
.btn-search-trigger .lottie-search,
.btn-search-trigger img,
.btn-search-reset .lottie-refresh,
.btn-search-reset img {
    filter: brightness(0) invert(1);
}

/* ===============================
 *  MOBILE (< 992px)
 *  Offcanvas + formulaire pleine largeur
 * =============================== */

@media screen and (max-width: 991.98px) {

    /* Offcanvas : formulaire dans un panneau latéral */
    #searchOffcanvas .offcanvas-header {
        border-bottom: 1px solid var(--neutral-light);
        padding: 1rem 1.25rem;
    }

    #searchOffcanvas .offcanvas-title {
        font-weight: var(--fw-bold);
        font-size: 1.1rem;
    }

    #searchOffcanvas .offcanvas-body {
        padding: 1rem 1.25rem;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .searchBox {
        gap: 12px;
        flex: 0 0 auto;
    }

    /* Tous les champs en pleine largeur par défaut */
    .searchBox .field {
        width: 100%;
    }

    /* Bouton toggle masqué en mobile */
    .searchBox .btn-toggle-advanced {
        display: none;
    }

    /* Toujours afficher les labels "avancé" en mobile */
    .searchBox .label-normal { display: none; }
    .searchBox .label-advanced { display: inline; }

    /* Double inputs toujours visibles en mobile */
    .searchBox .double-input .input-min {
        display: flex;
        flex: 1;
    }

    .searchBox .double-input .double-sep {
        display: flex;
    }

    .searchBox .double-input .input-max {
        flex: 1;
    }

    /* Surface et Prix côte à côte */
    .searchBox .field-surface,
    .searchBox .field-prix {
        width: calc(50% - 6px);
    }

    /* Surface à gauche, Prix à droite (design Figma mobile) */
    .searchBox .field-surface { order: 1; }
    .searchBox .field-prix { order: 2; }
    .searchBox .field-pieces { order: 3; }
    .searchBox .field-reference { order: 4; }
    .searchBox .field-buttons { order: 5; }

    /* Bouton Chercher pleine largeur, sticky en bas */
    .searchBox .field-buttons {
        display: flex;
        position: sticky;
        bottom: 0;
        padding: 0.75rem 0;
        background: #fff;
    }

    .searchBox .btn-search {
        width: 100%;
        padding: 0.75rem 1.25rem;
        font-size: 1rem;
    }
}

/* ===============================
 *  DESKTOP (>= 992px)
 *  Mode NORMAL : une seule ligne
 * =============================== */

@media screen and (min-width: 992px) {

    /* Tom Select : hauteur fixe, tags sur une ligne, badge +N */
    .searchBox .ts-wrapper.multi {
        position: relative;
    }

    .searchBox .ts-wrapper.multi .ts-control {
        height: 39px;
        flex-wrap: nowrap;
        overflow: hidden;
        padding-right: 2.5rem;
    }

    .searchBox .ts-wrapper.multi .ts-control .item {
        white-space: nowrap;
        flex-shrink: 0;
    }

    .ts-overflow-badge {
        position: absolute;
        right: 8px;
        top: 50%;
        transform: translateY(-50%);
        background: var(--primary-main);
        color: #fff;
        font-size: 0.7rem;
        font-weight: var(--fw-bold);
        padding: 1px 6px;
        border-radius: 10px;
        pointer-events: none;
        z-index: 5;
    }

    /* --- Largeurs mode normal --- */
    .searchBox .field-ville     { flex: 4 1 0; min-width: 160px; }
    .searchBox .field-rayon     { flex: 0 0 auto; }
    .searchBox .field-type-bien { flex: 1.5 1 0; min-width: 130px; }
    .searchBox .field-prix      { flex: 1.5 1 0; min-width: 120px; }
    .searchBox .field-surface   { flex: 1.2 1 0; min-width: 80px; }
    .searchBox .field-buttons   { flex: 0 0 auto; }

    /* Mode normal : masquer les champs avancés */
    .searchBox .field-pieces,
    .searchBox .field-reference {
        display: none;
    }

    /* Mode normal : masquer les parties "min" et le séparateur */
    .searchBox:not(.ON) .double-input .input-min,
    .searchBox:not(.ON) .double-input .double-sep {
        display: none;
    }

    /* Mode normal : le champ max prend toute la largeur */
    .searchBox:not(.ON) .double-input .input-max {
        width: 100%;
    }

    /* Mode normal : labels */
    .searchBox:not(.ON) .label-normal { display: inline; }
    .searchBox:not(.ON) .label-advanced { display: none; }

    /* Boutons côte à côte */
    .searchBox .field-buttons {
        display: flex;
        gap: 6px;
        align-items: flex-end;
    }

    .btn-search-wrapper {
        width: auto;
        height: 39px;
    }

    .searchBox .btn-search {
        width: auto;
        min-width: 135px;
    }

    .searchBox .btn-toggle-advanced {
        display: flex;
        width: auto;
        height: 39px;
    }

    /* ===================================
     *  DESKTOP - Mode AVANCÉ (.ON)
     *  Ligne 1 : Ville, Autour, Type, Budget
     *  Ligne 2 : Surface, Pièces, Réf, Boutons (à droite)
     * =================================== */

    .searchBox.ON .label-normal { display: none; }
    .searchBox.ON .label-advanced { display: inline; }

    /* Retour à la ligne forcé entre le budget et la surface (Cédric, 01/12) : une ligne vide de 0 px, entourée de
       deux demi-espaces (5 px) qui font l'espace habituel de 10 px */
    .searchBox.ON {
        row-gap: 5px;
    }

    .searchBox.ON::before {
        content: "";
        order: 1;
        flex: 0 0 100%;
    }

    .searchBox.ON .field-surface,
    .searchBox.ON .field-pieces,
    .searchBox.ON .field-reference,
    .searchBox.ON .field-buttons {
        order: 2;
    }

    /* Ligne 1 : la ville à 260 px au moins, pour qu'avec « Autour » la ligne tienne encore à 992 px */
    .searchBox.ON .field-ville     { flex: 3 1 0; min-width: 260px; }
    .searchBox.ON .field-type-bien { flex: 1.2 1 0; min-width: 150px; }
    .searchBox.ON .field-prix      { flex: 1.6 1 0; min-width: 200px; }

    /* Ligne 2 : surface, pièces, réf, puis boutons à droite */
    .searchBox.ON .field-surface {
        flex: 1 1 0;
        min-width: 170px;
    }

    .searchBox.ON .field-pieces {
        display: block;
        flex: 2 1 0;
        min-width: 260px;
    }

    .searchBox.ON .field-reference {
        display: block;
        flex: 0 0 160px;
    }

    .searchBox.ON .field-buttons {
        flex: 0 0 auto;
        margin-left: auto;
    }

    /* Double inputs visibles en mode avancé */
    .searchBox.ON .double-input .input-min {
        display: block;
        flex: 1;
    }

    .searchBox.ON .double-input .double-sep {
        display: flex;
    }

    .searchBox.ON .double-input .input-max {
        flex: 1;
        border-radius: 0 var(--radius-xs) var(--radius-xs) 0;
    }
}

/* ===============================
 *  VILLES ET RAYON : le panneau du bandeau d'accueil (annonce-villes.js, Cédric, 01/12/2026)
 *  Posé par-dessus les champs du framework (Tom Select des villes, liste « Autour »), masqués quand il est là.
 *  L'intérieur du panneau est habillé par les règles .hero-patio__* de components.css.
 * =============================== */

.moteur-villes[hidden] {
    display: none;
}

.searchBox:has(.moteur-villes:not([hidden])) .field-ville > .ts-wrapper,
.searchBox:has(.moteur-villes:not([hidden])) .field-rayon {
    display: none;
}

.searchBox > .field:has(.moteur-villes details[open]) {
    z-index: 10;
}

.moteur-villes {
    position: relative;
}

/* Le champ fermé, comme les autres champs */
.moteur-villes__champ {
    display: flex;
    align-items: center;
    height: 39px;
    padding: 0 2rem 0 .75rem;
    font-size: .875rem;
    color: var(--neutral-dark);
    list-style: none;
    background: var(--neutral-x-light) url("/assets/img/ic_angle-down.svg") no-repeat right .75rem center / 12px;
    border: 1px solid var(--neutral-light);
    border-radius: var(--radius-xs);
    cursor: pointer;
}

.moteur-villes__champ::-webkit-details-marker {
    display: none;
}

.moteur-villes__champ:focus-visible,
.moteur-villes details[open] > .moteur-villes__champ {
    outline: 2px solid var(--primary-main);
    outline-offset: -1px;
    background-color: #fff;
}

/* Cartouches des villes, puis « +N ». Vert foncé sur vert très clair, 12:1 */
.moteur-villes__cartouches {
    display: flex;
    gap: .25rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.moteur-villes__cartouche {
    display: inline-flex;
    flex: none;
    align-items: center;
    padding-left: .5rem;
    font-size: .813rem;
    line-height: 1;
    white-space: nowrap;
    color: var(--primary-x-dark);
    background-color: var(--primary-x-light);
    border-radius: var(--radius-xs);
}

.moteur-villes__cartouche[hidden] {
    display: none;
}

/* Le rayon, à la suite du libellé : le champ garde sa place pour les villes, surtout sur mobile (Cédric, 01/12).
   20 px de haut pour que la ligne du libellé garde sa hauteur ; la zone de clic de la croix fait 24 px */
.searchBox:has(.moteur-villes:not([hidden])) .field-ville {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: .5rem;
}

.field-ville > .moteur-villes {
    grid-column: 1 / -1;
}

.moteur-villes__rayon {
    display: flex;
    align-self: start;
    margin: 0;
    padding: 0;
    list-style: none;
}

.moteur-villes__rayon:empty {
    display: none;
}

.moteur-villes__rayon .moteur-villes__cartouche {
    height: 20px;
    font-size: .75rem;
}

.moteur-villes__rayon .moteur-villes__cartouche button {
    position: relative;
    height: 20px;
}

.moteur-villes__rayon .moteur-villes__cartouche button::after {
    content: "";
    position: absolute;
    inset: -2px 0;
}

/* « + 10 km » : comme le rayon coché dans le panneau, 7:1 */
.moteur-villes__autour {
    font-weight: var(--fw-bold);
    background-color: var(--primary-main);
}

.moteur-villes__cartouche button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 27px;
    padding: 0;
    background: none;
    border: 0;
    border-radius: var(--radius-xs);
    cursor: pointer;
}

.moteur-villes__cartouche button:hover {
    background-color: var(--primary-light);
}

.moteur-villes__cartouche button:focus-visible {
    box-shadow: inset 0 0 0 2px var(--primary-x-dark);
}

.moteur-villes__plus {
    flex: none;
    align-self: center;
    padding: .2rem .4rem;
    font-size: .75rem;
    font-weight: var(--fw-bold);
    color: var(--primary-x-dark);
}

/* Le texte du formulaire est plus petit que celui de la phrase de l'accueil */
.moteur-villes__panneau {
    font-size: .875rem;
}

/* Ordinateur : les cartouches dans le champ, sur une ligne, à la place de « Ville ou CP… » ; la liste s'ouvre dessous */
@media screen and (min-width: 992px) {
    .moteur-villes.a-des-villes [data-role="invite"] {
        display: none;
    }

    .moteur-villes__cartouches {
        position: absolute;
        top: 0;
        right: 2rem;
        left: .375rem;
        align-items: center;
        height: 39px;
        overflow: hidden;
        pointer-events: none; /* un clic entre les cartouches ouvre la liste */
    }

    .moteur-villes__cartouche button {
        pointer-events: auto;
    }

    /* Même largeur que le champ (Cédric, 01/12), 20 rem au moins : replié, le champ est parfois trop étroit pour
       la rangée « Autour » */
    .moteur-villes__panneau {
        width: 100%;
        min-width: 20rem;
        max-width: none;
        margin-top: .25rem;
    }
}

/* Mobile : cartouches sous le champ, panneau dans le flux (le formulaire défile dans le panneau latéral) */
@media screen and (max-width: 991.98px) {
    .moteur-villes__cartouches {
        flex-wrap: wrap;
    }

    .moteur-villes__cartouches:not(:empty) {
        margin-top: .5rem;
    }

    .moteur-villes__panneau {
        position: static;
        max-width: none;
        margin-top: .25rem;
        box-shadow: none;
    }
}

/* ===============================
 *  CASE VIAGER (après le type de bien, si des viagers sont en stock)
 *  Même habillage que les champs, hauteur alignée sur la ligne
 * =============================== */

.searchBox .field-viager > label {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 39px;
    margin: 0;
    padding: 0 0.75rem;
    background: var(--neutral-x-light);
    border: 1px solid var(--neutral-light);
    border-radius: var(--radius-xs);
    font-size: 0.875rem;
    font-weight: normal;
    letter-spacing: normal;
    color: var(--neutral-x-dark);
    white-space: nowrap;
    cursor: pointer;
}

.searchBox .field-viager input {
    margin: 0;
    accent-color: var(--primary-main);
    cursor: pointer;
}

@media screen and (min-width: 992px) {
    .searchBox .field-viager { flex: 0 0 auto; }
}

/* 992-1199 px : avec la case, la ligne ne tient qu'en rognant la ville */
@media screen and (min-width: 992px) and (max-width: 1199.98px) {
    .searchBox:not(.ON):has(.field-viager) .field-ville { min-width: 130px; }
}
