/* ------------------------------------------------------------------
 * CSS Variables
 * ------------------------------------------------------------------ */
:root {
    --bg: #f8fafc;
    --fg: #0f172a;
    --card: #ffffff;
    --stroke: #e2e8f0;
    --brand: #03a800;
    --brand-2: #5fea81;
    --err: #b91c1c;
    --warn: #f59e0b;
    --success: #16a34a;
    --ok: #11c26d;
    --danger: #9f0c0c;
    --primary: #bd32d3;
    --primary-2: #6a49ff;
    --violet: #7c3aed;
    --pink: #ec4899;
    --blue: rgb(110, 193, 228);
    --ink: #0f172a;
    --muted: #9aa3b2;
    --text: #5d5d5f;
    --line: rgba(255, 255, 255, 0.08);
    --ring: rgba(124, 58, 237, 0.25);
    --focus: 0 0 0 3px rgba(124, 92, 255, 0.35);
    --border: 1px solid rgba(124, 92, 255, 0.35);
    --header-height: 64px;
    --bottom-nav-height: 88px;
}

/* ------------------------------------------------------------------
 * Reset & base styles
 * ------------------------------------------------------------------ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Tous les liens du site sans soulignement */
a {
    text-decoration: none;
}

/* Même au hover / focus */
a:hover,
a:focus,
a:active {
    text-decoration: none;
}

.btn,
.nav-link,
.dropdown-menu a {
    text-decoration: none !important;
}

body {
    font-family: "Barlow", sans-serif;
    color: var(--ink);
    background: var(--bg);
    line-height: 1.6;
    margin: 0 !important;
    padding-bottom: 90px;
}

body:has([data-page="public-view"]) main {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* ------------------------------------------------------------------
 * Header & navigation
 * ------------------------------------------------------------------ */
header.nav,
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px; /* hauteur réelle */
    z-index: 1000;
    /*background: #fff;*/
    background-image: linear-gradient(90deg, rgb(189, 51, 211), rgb(113, 136, 247));
}

.nav,
.nav-row,
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    flex-direction: row-reverse;

    /* padding: 14px 0; */
}

.nav {
    background: #fff;
    border-bottom: var(--border);
}

.nav-toggle {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
    font-size: 1.5rem;
    background: none;
    border: none;
}

.nav-actions,
.actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

/* ------------------------------------------------------------------
 * Responsive design
 * ------------------------------------------------------------------ */

/* Large screens (980px and below) */
@media (max-width: 980px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .brand img {
        width: 180px;
        height: auto;
    }
}

/* Medium screens (960px and below) */
@media (max-width: 960px) {
    .form-grid,
    .form-grid--3,
    .grid-3,
    .grid-2,
    .field-grid,
    .field-grid--thirds {
        grid-template-columns: 1fr;
    }

    .map-hero {
        padding: 20px;
    }

    #map {
        height: 300px;
    }
}

/* Tablets (900px and below) */
@media (max-width: 900px) {
    .media-grid,
    .kv,
    .form-grid {
        grid-template-columns: 1fr;
    }
}

/* Small tablets (768px and below) */
@media (max-width: 768px) {
    .nav-row {
        flex-wrap: wrap;
    }

    .nav-actions {
        display: none;
        flex-direction: column;
        width: 100%;
        margin-top: 1rem;
        gap: 0.5rem;
    }

    .nav-actions.active {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }
}

/* Mobile (640px and below) */
@media (max-width: 640px) {
    .actions,
    .cta {
        gap: 8px;
    }

    .btn {
        padding: 10px 16px;
    }

    .brand img {
        width: 48px;
        height: 48px;
    }

    .profile-card,
    .form-card,
    .map-hero,
    .hero {
        padding: 20px;
    }

    .btn,
    .form-actions .btn {
        width: 100%;
        justify-content: center;
    }

    /* nav container */
    .main-nav {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    /* each top-level item */
    .main-nav > li {
        position: relative;
        list-style: none;
    }

    /* clickable top label */
    .main-nav > li > a,
    .main-nav > li > button {
        display: flex;
        align-items: center;
        gap: 0.4rem;
        padding: 0.5rem 0.75rem;
        border-radius: 6px;
        white-space: nowrap;
    }

    /* submenu container (hidden by default) */
    .main-nav .submenu {
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 200px;
        background: #0f111a;
        border: 1px solid #2a2f3d;
        border-radius: 8px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
        padding: 0.5rem 0;
        display: none;
        /* hidden until hover */
        z-index: 9999;
    }

    /* submenu items */
    .main-nav .submenu li {
        list-style: none;
    }

    .main-nav .submenu a {
        display: block;
        padding: 0.5rem 0.75rem;
        color: #fff;
        font-size: 0.9rem;
        line-height: 1.2rem;
        text-decoration: none;
        white-space: nowrap;
    }

    .main-nav .submenu a:hover {
        background: #1a1f2d;
    }

    /* show submenu on hover */
    .main-nav li.has-submenu:hover > .submenu {
        display: block;
    }

    /* caret */
    .caret {
        font-size: 0.7rem;
        opacity: 0.7;
    }
}

/* nav container */
.main-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* each top-level item */
.main-nav > li {
    position: relative;
    list-style: none;
}

/* clickable top label */
.main-nav > li > a,
.main-nav > li > button {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    white-space: nowrap;
}

/* submenu container (hidden by default) */
.main-nav .submenu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: #0f111a;
    border: 1px solid #2a2f3d;
    border-radius: 8px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    padding: 0.5rem 0;
    display: none;
    /* hidden until hover */
    z-index: 9999;
}

/* submenu items */
.main-nav .submenu li {
    list-style: none;
}

.main-nav .submenu a {
    display: block;
    padding: 0.5rem 0.75rem;
    color: #fff;
    font-size: 0.9rem;
    line-height: 1.2rem;
    text-decoration: none;
    white-space: nowrap;
}

.main-nav .submenu a:hover {
    background: #1a1f2d;
}

/* show submenu on hover */
.main-nav li.has-submenu:hover > .submenu {
    display: block;
}

/* caret */
.caret {
    font-size: 0.7rem;
    opacity: 0.7;
}

/* -------- Mobile -------- */

.nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: relative;
}

.nav-main {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-left,
.nav-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Tous les "boutons" du header deviennent visuellement des liens */
.nav a.btn,
.nav button.btn,
.nav .nav-link {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0;
    padding: 0;
    margin: 0;
    font: inherit;
    color: #4b5563;
    cursor: pointer;
    text-decoration: none;
    text-align: left;
}

.nav .nav-link:hover,
.nav a.btn:hover,
.nav button.btn:hover {
    color: #7c3aed;
    text-decoration: underline;
}

/* Dropdowns */
.dropdown-menu {
    position: absolute;
    right: 0;
    top: 100%;
    margin-top: 6px;
    min-width: 200px;
    background: #ffffff;
    border: 1px solid #1f2430;
    border-radius: 10px;
    padding: 8px;
    z-index: 900;
    display: none;
}

.dropdown.open .dropdown-menu {
    display: block;
}

/* Badge rouge admin */
.badge {
    background: #dc2626;
    color: #fff;
    border-radius: 9999px;
    padding: 2px 10px;
    font-size: 0.75rem;
    margin-left: 6px;
}

/* ----- RESPONSIVE ----- */

@media (max-width: 768px) {
    /*.nav-main {
        /* menu caché tant que le burger n’est pas coché */
        display: none;
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        background: #ffffff;
        border-top: 1px solid #e5e7eb;
        box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
        padding: 12px 16px;
        z-index: 900;
        flex-direction: column;
        gap: 8px;
    }*/

    .nav-left,
    .nav-right {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        gap: 4px;
    }

    /* liens les uns sous les autres */
    .nav-main .nav-link,
    .nav-main a.btn,
    .nav-main button.btn {
        width: 100%;
        text-align: left;
        padding: 6px 0;
    }

    .nav-burger {
        display: flex;
    }

    /* Quand la checkbox est cochée → affiche le menu */
    .nav-toggle:checked ~ .nav-burger + .nav-main {
        display: flex;
    }

    /* =========================
    Mobile
    ========================= */
    @media (max-width: 768px) {
        /* Le conteneur de menu (le bloc qui s’ouvre après le burger)
        doit être vertical */
        .nav .dropdown,
        .nav nav a,
        .nav .dropdown-toggle {
            /*display: block;*/
            width: 100%;
        }

        /* On ne fait plus de "flyout" latéral pour les sous-menus :
        ils s’affichent juste en dessous du parent, légèrement indentés. */
        .dropdown-menu {
            position: static;
            /* rentre dans le flux normal */
            left: auto;
            top: auto;
            margin: 6px 0 0 14px;
            /* léger retrait à droite */
            box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
            border-radius: 16px;
        }

        /* pour que chaque lien reste bien sur sa propre ligne */
        .dropdown-menu a {
            width: 100%;
            padding: 10px 2px;
            font-size: 1rem;
        }
    }
}

@media (min-width: 769px) {
    .nav-burger {
        display: none;
    }

    .nav-main {
        display: flex;
    }
}

/* Sous-menus : toujours en colonne, un lien par ligne */
/* ===== Sous-menus ===== */
/* =========================
   Dropdown + animation
   ========================= */

.dropdown {
    position: relative;
}

/* État "caché" par défaut */
.dropdown-menu {
    position: absolute;
    left: 10%;
    /* flyout à droite du parent */
    top: 0;
    /* aligné en haut du parent */
    /*margin-left: -80px;*/
    /* léger décalage vers la droite */

    /* min-width: 190px; */
    padding: 10px 12px;
    border-radius: 18px;
    background: #ffffff;

    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.18);
    z-index: 9999;

    /* animation */
    opacity: 0;
    transform: translateY(6px);
    pointer-events: none;
    transition:
        opacity 0.18s ease-out,
        transform 0.18s ease-out;
}

/* Quand le parent a .open (géré par ton JS) */
.dropdown.open > .dropdown-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Liens de menu : toujours en colonne */
.dropdown-menu a {
    display: block;
    width: 100%;
    padding: 8px 4px;
    font-size: 0.98rem;
    color: #374151;
    text-decoration: none;
    /* pas de soulignement */
    white-space: normal;
    /* autorise les retours à la ligne */
}

.dropdown-menu a + a {
    margin-top: 4px;
}

/* Hover propre (pas de underline, juste fond léger) */
.dropdown-menu a:hover {
    background: #f3f4f6;
    border-radius: 8px;
    text-decoration: none;
}

/* --- Bottom nav bar --- */

.bottom-nav-root {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1100;
    /* > Leaflet */
    pointer-events: none;
    /* laisse passer les clics hors nav */
}

.bottom-nav {
    max-width: 100%;
    max-height: 100px;
    margin: 0 auto;
    background: #fff;
    /* border-radius: 24px 24px 0 0; */
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.12);
    /*padding: 8px 12px calc(8px + env(safe-area-inset-bottom));*/
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 8px;
    pointer-events: auto;
    /* clics autorisés sur la barre */
}

.bottom-nav-item {
    flex: 1 1 0;
    max-width: 64px;
    background: transparent;
    border: none;
    padding: 6px 4px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    border-radius: 999px;
    transition:
        background 0.15s ease,
        transform 0.1s ease;
}

.bottom-nav-item--primary {
    transform: translateY(-24px);
    max-width: 80px;
}

.bottom-nav-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bottom-nav-label {
    font-size: 0.75rem;
    line-height: 1.1;
}

.bottom-nav-info-label {
    font-size: clamp(0.3rem, 2.5vw + 0.5rem, 1.2rem);
    line-height: 1.1;
}

/* Bouton "Plus d'information" */
.bottom-nav-info-btn {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0%);
    bottom: 100%;
    border-radius: 20px 20px 0 0;
    background: #8d1eff;
    color: #fff;
    padding: 6px 16px;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    pointer-events: auto;
}

/* Après clic : le bouton rejoint le flux */
.bottom-nav-info-btn.is-inline {
    position: static;
    transform: none;
    margin: 24px auto;
    display: block;
}

.bottom-nav-info-arrow {
    font-size: 1.1rem;
}

/* Backdrop global */
.nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease-out;
    z-index: 1150;
}

.nav-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

/* Tiroirs */
.nav-drawer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    max-width: 640px;
    margin: 0 auto;
    background: #f3f4f6;
    border-radius: 24px 24px 0 0;
    transform: translateY(100%);
    transition: transform 0.25s ease-out;
    z-index: 1200;
    /* box-shadow: 0 -6px 18px rgba(0, 0, 0, .25); */
    pointer-events: auto;
}

.nav-drawer.is-open {
    transform: translateY(0);
}

.nav-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: #fff;
    border-radius: 24px 24px 0 0;
    border-bottom: 1px solid #e5e7eb;
}

.nav-drawer-title {
    font-size: 1.3rem;
    font-weight: 500;
}

.nav-drawer-close {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: none;
    background: #f3f4f6;
    font-size: 1.1rem;
    cursor: pointer;
}

.nav-drawer-body {
    padding: 18px 24px calc(18px + env(safe-area-inset-bottom));
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 16px;
}

.nav-drawer-app {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.nav-drawer-app img {
    // width: 64px;
    height: 46px;
    border-radius: 16px;
    object-fit: cover;
}

/* Fix Leaflet vs global img rules (max-width:100% etc.) */
.leaflet-container img,
.leaflet-container .leaflet-tile {
    max-width: none !important;
    max-height: none !important;
}

.leaflet-container {
    line-height: normal;
}

.bottom-nav-info-btn--floating {
    position: fixed;
    bottom: var(--bottom-nav-height, 88px); /* au-dessus de la bottom nav */
    left: 50%;
    transform: translateX(-50%);
    z-index: 1050;

    background: #047857; /* vert Vereego */
    color: #fff;

    border: none;
    border-radius: 28px 28px 0 0;
    padding: 18px 10px 5px;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;

    /*font-size: 1.4rem;*/
    font-weight: 500;

    cursor: pointer;
    box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.25);

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

/* État masqué */
.bottom-nav-info-btn--hidden {
    transform: translate(-50%, 120%);
    opacity: 0;
    pointer-events: none;
}

/* flèche */
.bottom-nav-info-arrow {
    font-size: 1.6rem;
    line-height: 0;
}

/* ===============================
   NAV DRAWER (mobile)
================================ */

/* Backdrop sombre */
.nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 998;
}

/* Menu drawer */
/*.nav-main {
    position: fixed;
    top: 0;
    left: 0;
    height: 100dvh;
    width: min(82vw, 270px);
    background: #fff;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.18);
    transform: translateX(-100%);
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;

    display: flex;
    flex-direction: column;
    padding: 60px 18px;
    overflow-y: auto;
}*/

/* Quand le menu est ouvert */
#nav-toggle:checked ~ .nav-main {
    transform: translateX(0);
}

#nav-toggle:checked ~ .nav-backdrop {
    opacity: 1;
    pointer-events: auto;
}

/* ===============================
   DRAWER MENU CONTENT
================================ */

.drawer-menu {
    display: flex;
    flex-direction: column;
    gap: 14px;
    font-size: 20px;
    margin-left: 14px;
}

.drawer-header {
    display: flex;
    justify-content: center;
    padding: 12px 0 18px;
    border-bottom: 1px solid #eee;
}

.drawer-header img {
    height: 42px;
}

.drawer-section {
    display: flex;
    flex-direction: column;
    gap: 6px;
}


.drawer-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 10px;
    border-radius: 8px;
    text-decoration: none;
    color: #1f2937;
    transition: background 0.15s ease;
    background-color: white;
    border: none;
    font-size: 20px;
    font-weight: 400;
}

.drawer-item:hover {
    background: #f3f4f6;
}

.drawer-item.primary {
    background: #0b5ed7;
    color: white;
}

.drawer-item.primary:hover {
    background: #094db2;
}

.drawer-item.danger {
    color: #dc2626;
}

.drawer-lang {
    width: 100%;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background: #fff;
}

/* Drawer language submenu */
.drawer-submenu {
    margin-left: 12px;
    margin-top: 6px;
    display: none;
    flex-direction: column;
    gap: 6px;
}

.drawer-subitem {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    color: #1f2937;
    font-size: 14px;
    transition: background 0.2s ease;
}

.drawer-subitem:hover {
    background: #f1f5f9;
}

.drawer-subitem .flag {
    font-size: 18px;
    line-height: 1;
}

.drawer-subitem.active {
    background: #e0ecff;
    font-weight: 600;
}

.drawer-item.active {
    font-weight: 600;
    opacity: 1;
}

.drawer-lang-menu {
    margin-left: 30px;
    flex-direction: column;
    gap: 6px;
}

.drawer-lang-menu[hidden] {
    display: none !important;
}

.drawer-lang-menu:not([hidden]) {
    display: flex;
}

/* ---------- HEADER LAYOUT ---------- */
.nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
}

.nav-bar {
    display: grid;
    grid-template-columns: 37fr auto 1fr;
    align-items: center;
    height: 56px;
    padding: 0 16px;
}

/* ---------- LOGO CENTRÉ ---------- */
.nav-logo {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    /*height: 100%;*/
}

.nav-logo img {
    height: 50px;
    width: auto;
    z-index: 1;
}

/* ---------- BURGER À DROITE ---------- */
.nav-burger {
    grid-column: 3;
    justify-self: end;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    z-index: 2;
}

.nav-burger span {
    display: block;
    height: 2px;
    width: 100%;
    background: #111;
    border-radius: 2px;
}

/* =========================
   HEADER
========================= */

.nav-wrapper {
    position: relative;
    z-index: 1000;
}

/* Barre du haut */
.nav-bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 56px;
    padding: 0 16px;
    background: transparent;
}

/* Logo centré */

/* Burger à droite */
.nav-burger {
    grid-column: 3;
    justify-self: end;
    width: 28px;
    height: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}

.nav-burger span {
    height: 3px;
    background: #111;
    border-radius: 2px;
}

/* Checkbox cachée (IMPORTANT) */
.nav-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* =========================
   DRAWER
========================= */

.nav-main {
    position: fixed;
    top: 0;
    left: 0;
    width: 85%;
    max-width: 360px;
    height: 100vh;
    background: #fff;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1001;
    overflow-y: auto;
    padding-top: 55px;
    align-items: baseline;
}

/* Ouverture */
#nav-toggle:checked ~ .nav-main {
    transform: translateX(0);
}

/* Backdrop */
.nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

#nav-toggle:checked ~ .nav-backdrop {
    opacity: 1;
    pointer-events: auto;
}

/* Bouton X */
.nav-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 26px;
    line-height: 1;
    cursor: pointer;

    color: #111;
    background: transparent;
    border-radius: 999px;

    transition: background 0.2s ease;
}

.nav-close:hover {
    background: rgba(0, 0, 0, 0.08);
}

/* Overlay du menu haut */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
    z-index: 90;
}

/* Quand le menu est ouvert */
#nav-toggle:checked ~ .nav-overlay {
    opacity: 1;
    pointer-events: auto;
}

/* Le menu */
.nav-main {
    z-index: 100;
}
/* Conteneur de référence */
.map-wrapper {
    position: relative;
}

/* Bouton toujours attaché à la carte */
.bottom-nav-info-btn {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0px; /* hauteur de la bottom-nav + marge */
    z-index: 1099;

    display: flex;
    align-items: center;
    gap: 6px;

    padding: 7px 16px 15px 12px;
    border-radius: 20px 20px 0 0;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
}

/* Après clic : intégré au flux */
.bottom-nav-info-btn.is-inline {
    position: sticky;
    /*transform: none;*/
    margin: 24px auto;
    display: block;
    z-index: 1000;
}

/* Bouton attaché en bas de la carte (position absolue dans .map-wrapper) */
.bottom-nav-info-btn--map-attached {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 600;
}

/* Options de tri dans le drawer */
.sort-option {
    width: 100%;
    text-align: left;
    justify-content: flex-start;
}

.sort-option.active {
    background: var(--primary, #8d1eff);
    color: #fff;
}
