/* ============================================================
   franck-used-car-listing-renault.css — Design Dacia
   Scope : .fuclr-section  (préfixe : fuclr)
   Accent : #646B52 (vert olive Dacia / Terracotta)
   ============================================================ */

:root {
    --fuclr-search-btn-bg:       var(--theme-button-bg, #646B52);
    --fuclr-search-btn-color:    #ffffff;
    --fuclr-more-btn-border:     #000000;
    --fuclr-more-btn-color:      #000000;
    --fuclr-accent:              var(--theme-accent, #646B52);
    --fuclr-result-btn-bg:       #000000;
    --fuclr-result-btn-color:    #ffffff;
    --fuclr-section-bg:          #ffffff;
    --fuclr-density-pct:         86%;
}

/* ── Section & inner ── */
.fuclr-section {
    background: var(--fuclr-section-bg, #ffffff);
    margin-top:    var(--fuclr-margin-top, 0px);
    margin-bottom: var(--fuclr-margin-bottom, 0px);
    padding-top:   var(--fuclr-pad-top, 32px);
    padding-bottom: var(--fuclr-pad-bottom, 32px);
    min-height: var(--fuclr-min-height, auto);
    position: relative;
}

.fuclr-section .container-row {
    width: 100%;
    max-width: var(--fuclr-density-pct, 86%);
    margin-left: auto;
    margin-right: auto;
    padding-left:  var(--fuclr-pad-x, 42px);
    padding-right: var(--fuclr-pad-x, 42px);
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

/* Gérer full/container */
.fuclr-section.search-section--full .container-row     { max-width: var(--fuclr-density-pct, 86%); }
.fuclr-section.search-section--container .container-row { max-width: min(1320px, var(--fuclr-density-pct, 86%)); }

/* ── Réutilisation des couches média/overlay de Maurin ── */
.fucsl-section-media {
    position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none;
}
.fucsl-section-media-el {
    width: 100%; height: 100%; display: block;
    object-fit: var(--fuclr-media-fit, cover);
    transform: translate(var(--fuclr-media-x, 0px), var(--fuclr-media-y, 0px))
               scale(calc(var(--fuclr-media-zoom, 100) / 100));
    transform-origin: center center;
}
iframe.fucsl-section-media-el { border: 0; }
.fucsl-section-overlay {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: var(--fuclr-overlay-bg, transparent);
}

/* ── Masquer dropdowns category/energy de la barre (disponibles dans la modale) ── */
.fuclr-section .filter-dropdown[data-filter="category_s"],
.fuclr-section .filter-dropdown[data-filter="energy"],
.fuclr-section .filter-dropdown[data-filter="location"] {
    display: none !important;
}

/* Masquer la row de compatibilité JS (ne contient que des dropdowns cachés) */
.fuclr-section .fucs-filters-row {
    display: none;
}

/* ── Barre de recherche unique ── */
.fuclr-section .fucs-search-row {
    display: flex;
    align-items: stretch;
    gap: 0;
    border: 1.5px solid #d0d0d0;
    background: #ffffff;
    border-radius: 0;
    margin-bottom: 16px;
    flex-wrap: nowrap;
    overflow: visible;
}

/* Champ texte */
.fuclr-section .search-box {
    border: none;
    border-radius: 0;
    background: transparent;
    flex: 1;
    padding: 0;
    display: flex;
    align-items: stretch;
    min-width: 0;
}

.fuclr-section .search-box input[type="text"] {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    padding: 14px 18px;
    font-size: 14px;
    font-family: var(--theme-font-body, 'Work Sans', sans-serif);
    color: #000;
    min-width: 0;
}
.fuclr-section .search-box input[type="text"]::placeholder { color: #999; }

/* Dropdowns dans la barre (budget, km, location) */
.fuclr-section .fucs-search-row .filter-dropdown {
    position: relative;
    font-family: var(--theme-font-body, 'Work Sans', sans-serif);
    flex-shrink: 0;
}

.fuclr-section .fucs-search-row .filter-dropdown .dropdown-trigger {
    border: none;
    border-left: 1.5px solid #d0d0d0;
    border-radius: 0;
    background: #ffffff;
    padding: 14px 36px 14px 16px;
    font-size: 13px;
    font-family: var(--theme-font-body, 'Work Sans', sans-serif);
    color: #333;
    min-width: 120px;
    white-space: nowrap;
    cursor: pointer;
    display: flex;
    align-items: center;
    position: relative;
    height: 100%;
    box-sizing: border-box;
}

.fuclr-section .fucs-search-row .filter-dropdown .dropdown-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.2s;
    flex-shrink: 0;
}

.fuclr-section .fucs-search-row .filter-dropdown.active .dropdown-trigger .dropdown-arrow {
    transform: translateY(-50%) rotate(180deg);
}

.fuclr-section .fucs-search-row .filter-dropdown .dropdown-panel {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    min-width: 220px;
    background: #fff;
    border-radius: 0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    border: 1px solid #e0e0e0;
    padding: 0;
    display: none;
    z-index: 200;
}

.fuclr-section .fucs-search-row .filter-dropdown.active .dropdown-panel { display: block; }

.fuclr-section .dropdown-checkbox-list {
    max-height: 250px;
    overflow-y: auto;
    padding: 8px 0;
}
.fuclr-section .dropdown-checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    font-size: 13px;
    color: #333;
    cursor: pointer;
    transition: background 0.15s;
}
.fuclr-section .dropdown-checkbox-item:hover { background: #f5f5f5; }
.fuclr-section .dropdown-checkbox-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--fuclr-accent, #646B52);
    cursor: pointer;
    flex-shrink: 0;
}
.fuclr-section .dropdown-checkbox-item .item-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fuclr-section .dropdown-checkbox-item .item-count { color: #888; font-size: 12px; }

/* Bouton loupe */
.fuclr-section .search_button {
    background: var(--fuclr-search-btn-bg, #646B52);
    color: var(--fuclr-search-btn-color, #fff);
    border: none;
    border-left: 1.5px solid #d0d0d0;
    border-radius: 0;
    width: 52px;
    min-width: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    font-size: 18px;
}
.fuclr-section .search_button:hover { opacity: 0.85; }

/* Bouton "more criterias" */
.fuclr-section .fuclr-more-btn,
.fuclr-section .btn-all-filter {
    background: #ffffff !important;
    color: var(--fuclr-more-btn-color, #000) !important;
    border: 1.5px solid var(--fuclr-more-btn-border, #000) !important;
    border-radius: 0 !important;
    padding: 12px 20px !important;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    margin-left: 10px;
    flex-shrink: 0;
    font-family: var(--theme-font-body, 'Work Sans', sans-serif);
    width: auto !important;
    max-width: none !important;
    transition: background 0.15s;
}
.fuclr-section .btn-all-filter:hover {
    background: #f5f5f5 !important;
}

/* ── Budget / range dans la barre ── */
/* min-width en règle de base (spécificité faible) */
.fuclr-section .fucs-budget-panel { min-width: 380px; max-width: 95vw; }
/* padding uniquement quand le panneau est visible — spécificité 0,4,0 pour surpasser .dropdown-panel { padding:0 } */
.fuclr-section .fucs-search-row .filter-dropdown.active .dropdown-panel.fucs-budget-panel {
    padding: 16px 16px 14px;
}
.fuclr-section .fucs-budget { font-family: var(--theme-font-body, 'Work Sans', sans-serif); }
.fuclr-section .fucs-budget-fields { display: flex; align-items: flex-end; gap: 10px; margin-bottom: 12px; }
.fuclr-section .fucs-budget-field { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.fuclr-section .fucs-budget-field-label { font-size: 10px; font-weight: 700; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.06em; }
.fuclr-section .fucs-budget-field-inner { position: relative; display: flex; align-items: center; width: 100%; }
.fuclr-section .fucs-budget-input { width: 100%; height: 38px; border: 1.5px solid #e2e8f0; border-radius: 0; padding: 0 28px 0 10px; font-size: 13px; font-weight: 700; color: #0f172a; background: #f8fafc; outline: none; box-sizing: border-box; transition: border-color .18s; -moz-appearance: textfield; font-family: var(--theme-font-body, 'Work Sans', sans-serif); }
.fuclr-section .fucs-budget-panel[data-mode="month"] .fucs-budget-input { padding-right: 50px; }
.fuclr-section .fucs-budget-input::-webkit-inner-spin-button,
.fuclr-section .fucs-budget-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.fuclr-section .fucs-budget-input:focus { border-color: var(--fuclr-accent, #646B52); background: #fff; box-shadow: 0 0 0 3px rgba(100,107,82,.15); }
.fuclr-section .fucs-budget-unit { position: absolute; right: 8px; font-size: 12px; font-weight: 700; color: #94a3b8; pointer-events: none; line-height: 1; }
.fuclr-section .fucs-budget-sep { font-size: 14px; color: #cbd5e1; flex-shrink: 0; padding-bottom: 8px; align-self: flex-end; }
.fuclr-section .fucs-budget-slider { position: relative; height: 28px; display: flex; align-items: center; padding: 0 2px; }
.fuclr-section .fucs-budget-track-bg { position: absolute; left: 0; right: 0; height: 4px; background: #e2e8f0; border-radius: 0; pointer-events: none; }
.fuclr-section .fucs-budget-track-active { position: absolute; left: 0; right: 0; height: 4px; background: var(--fuclr-accent, #646B52); border-radius: 0; pointer-events: none; }
.fuclr-section .fucs-budget-range { position: absolute; left: 0; width: 100%; height: 4px; -webkit-appearance: none; appearance: none; background: transparent; pointer-events: none; outline: none; margin: 0; padding: 0; }
.fuclr-section .fucs-budget-range--min { z-index: 2; }
.fuclr-section .fucs-budget-range--max { z-index: 3; }
.fuclr-section .fucs-budget-range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 20px; height: 20px; border-radius: 0; background: #fff; border: 2.5px solid var(--fuclr-accent, #646B52); box-shadow: 0 1px 6px rgba(0,0,0,.15); cursor: grab; pointer-events: all; transition: transform .12s; }
.fuclr-section .fucs-budget-range::-webkit-slider-thumb:hover { transform: scale(1.2); }
.fuclr-section .fucs-budget-range:active::-webkit-slider-thumb { cursor: grabbing; transform: scale(1.25); }
.fuclr-section .fucs-budget-range::-moz-range-thumb { width: 20px; height: 20px; border-radius: 0; background: #fff; border: 2.5px solid var(--fuclr-accent, #646B52); cursor: grab; pointer-events: all; }
.fuclr-section .filter-dropdown.fucs-range-dd .dropdown-trigger[data-value]:not([data-value=""]) { border-color: var(--fuclr-accent, #646B52); color: #0a0a0a; }

/* ── Badges filtres actifs ── */
.fuclr-section .fucs-badges-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; min-height: 0; }
.fuclr-section .fucs-badges-bar:empty { margin-bottom: 0; }

.fuclr-section .fucs-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 14px; background: #fff; border: 1.5px solid var(--fuclr-accent, #646B52); border-radius: 0; font-size: 13px; font-weight: 500; color: #000; white-space: nowrap; }
.fuclr-section .fucs-badge__remove { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; border-radius: 0; border: none; background: transparent; color: #000; font-size: 14px; cursor: pointer; padding: 0; transition: background 0.15s, color 0.15s; flex-shrink: 0; }
.fuclr-section .fucs-badge__remove:hover { background: #000; color: #fff; }
.fuclr-section .fucs-badge--clear-all { background: #000; border-color: #000; border-radius: 0; color: #fff; cursor: pointer; font-weight: 600; padding: 6px 16px; border-width: 1.5px; border-style: solid; }
.fuclr-section .fucs-badge--clear-all:hover { opacity: 0.85; }

/* ── Backdrop ── */
.fuclr-section ~ .backdrop,
.fuclr-section .backdrop { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 100000; backdrop-filter: blur(2px); }
.fuclr-section .backdrop.visible { display: block; }

/* ── Modale filtres ── */
.fuclr-section .filter-modal { display: none; position: fixed; top: 0; right: 0; height: 100%; max-width: 598px; width: 100%; background: #fff; z-index: 100001; flex-direction: column; box-shadow: -4px 0 24px rgba(0,0,0,.15); transform: translateX(100%); transition: transform .3s cubic-bezier(.4,0,.2,1); border-radius: 0; font-family: var(--theme-font-body, 'Work Sans', sans-serif); }
.fuclr-section .filter-modal.open { display: flex; transform: translateX(0); animation: fuclrSlideIn .3s cubic-bezier(.4,0,.2,1) forwards; }
@keyframes fuclrSlideIn { from { transform: translateX(60px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

.fuclr-section .fm-header { display: flex; align-items: center; justify-content: space-between; padding: 11px 15px; border-bottom: 1px solid #E5E7EB; flex-shrink: 0; }
.fuclr-section .fm-title { font-size: 18px; font-weight: 700; color: #000; letter-spacing: 0; font-family: var(--theme-font-title, 'NouvelR', 'Jost', sans-serif); }
.fuclr-section .fm-close { background: none; border: none; font-size: 18px; color: #666; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: color .15s; }
.fuclr-section .fm-close:hover { color: #000; }

.fuclr-section .fm-tabs-slider { display: flex; align-items: stretch; border-bottom: 1px solid #e0e0e0; flex-shrink: 0; position: sticky; top: 0; z-index: 6; background: #fff; }
.fuclr-section .tab-arrow { flex-shrink: 0; width: 36px; display: flex; align-items: center; justify-content: center; background: #fff; border: none; color: #999; cursor: pointer; transition: color .15s; z-index: 1; }
.fuclr-section .tab-arrow:hover { color: #000; }
.fuclr-section .fm-tabs { display: flex; gap: 0; overflow-x: auto; flex: 1; scrollbar-width: none; scroll-behavior: smooth; }
.fuclr-section .fm-tabs::-webkit-scrollbar { display: none; }
.fuclr-section .fm-tab { flex: 0 0 auto; padding: 11px 16px; font-size: 13px; font-weight: 500; color: #999; background: none; border: none; border-bottom: 2px solid transparent; cursor: pointer; white-space: nowrap; transition: color .15s, border-color .15s; }
.fuclr-section .fm-tab:hover { color: #000; }
.fuclr-section .fm-tab.active { color: #000; border-bottom-color: var(--fuclr-accent, #646B52); }

.fuclr-section .fm-body { flex: 1; overflow-y: auto; padding: 22px; scrollbar-width: thin; scrollbar-color: #ccc transparent; scroll-behavior: smooth; }
.fuclr-section .fm-section { display: block; scroll-margin-top: 12px; }
.fuclr-section .fm-section-title { font-size: 13px; font-weight: 700; color: #000; margin-bottom: 12px; }
.fuclr-section .fm-sep { border: 0; border-top: 1px solid #e0e0e0; margin: 22px 0; }

/* Marques & Modèles */
.fuclr-section .brand-filter__list { display: flex; flex-direction: column; gap: 0; }
.fuclr-section .brand-filter__item { display: flex; align-items: center; gap: 9px; padding: 11px 0; font-size: 12px; font-weight: 500; color: #000; cursor: pointer; user-select: none; border-bottom: 1px solid #f0f0f0; }
.fuclr-section .brand-filter__item input[type="checkbox"] { width: 15px; height: 15px; accent-color: #000; cursor: pointer; flex-shrink: 0; }
.fuclr-section .brand-count { color: #666; font-size: 13px; }
.fuclr-section .brand-extra.hidden { display: none; }
.fuclr-section .brand-filter__list.is-collapsed .brand-filter__item.is-overflow { display: none; }
.fuclr-section .model-filter__list.is-collapsed .model-filter__item.is-overflow { display: none; }
.fuclr-section .show-more-btn { margin-top: 14px; padding: 6px 9px; border: 1.5px solid #000; border-radius: 0; background: #fff; color: #000; font-size: 11px; font-weight: 600; cursor: pointer; }
.fuclr-section .show-more-btn:hover { background: #f5f5f5; }

.fuclr-section .fm-make-search { width: 100%; box-sizing: border-box; padding: 9px 12px; margin: 2px 0 12px; border: 1.5px solid #e4e7ec; border-radius: 0; font-size: 12px; color: #000; outline: none; }
.fuclr-section .fm-make-search:focus { border-color: #000; }
.fuclr-section .fm-make-search-wrap { position: relative; margin: 2px 0 12px; }
.fuclr-section .fm-make-search-wrap .fm-make-search { margin: 0; padding-right: 34px; }
.fuclr-section .fm-make-search-clear { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; padding: 0; border: none; background: transparent; color: #98a2b3; font-size: 17px; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; border-radius: 0; }
.fuclr-section .fm-make-search-clear:hover { background: #f2f4f7; color: #000; }
.fuclr-section .fm-make-search:placeholder-shown + .fm-make-search-clear { display: none; }
.fuclr-section .dropdown-empty-msg { padding: 12px 14px; font-size: 13px; color: #666; text-align: center; line-height: 1.4; }

.fuclr-section .model-filter__list { display: flex; flex-direction: column; }
.fuclr-section .model-filter__item { display: flex; align-items: center; gap: 9px; padding: 11px 0; font-size: 12px; font-weight: 500; color: #000; cursor: pointer; border-bottom: 1px solid #f0f0f0; }
.fuclr-section .model-filter__item input[type="checkbox"] { width: 15px; height: 15px; accent-color: #000; cursor: pointer; flex-shrink: 0; }
.fuclr-section .model-count { color: #666; font-size: 13px; margin-left: auto; }

/* Info box */
.fuclr-section .info-box { display: flex; gap: 10px; background: #f5f5f5; border: 1px solid #e0e0e0; border-radius: 0; padding: 14px 13px; font-size: 11px; color: #333; line-height: 1.5; }
.fuclr-section .info-box a { color: #000; font-weight: 600; }

/* Catégories, Énergies, Boîtes de vitesse */
.fuclr-section .category-checkbox-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; max-width: 640px; }
.fuclr-section .category-checkbox-item { cursor: pointer; display: flex; }
.fuclr-section .category-checkbox-item input { display: none; }
.fuclr-section .category-checkbox-label {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 52px;
    padding: 6px 4px;
    text-align: center;
    border-radius: 0;
    border: 2px solid #E5E7EB;
    background: #fff;
    transition: 0.3s;
    color: #000;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    box-sizing: border-box;
}
.fuclr-section .category-checkbox-label .cat-label-text {
    display: block;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    color: #000;
    text-align: center;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.fuclr-section .category-checkbox-label .cat-label-count,
.fuclr-section .category-checkbox-label span:not(.cat-label-text) {
    display: block;
    font-size: 10px;
    font-weight: 400;
    color: #666;
    margin-top: 2px;
    line-height: 1;
}
.fuclr-section .category-checkbox-item:hover .category-checkbox-label { border-color: var(--fuclr-accent, #646B52); }
.fuclr-section .category-checkbox-item input:checked + .category-checkbox-label { border-color: var(--fuclr-accent, #646B52); background: #fafafa; }

/* Couleurs */
.fuclr-section .fm-color-grid { display: flex; flex-wrap: wrap; gap: 14px; }
.fuclr-section .fm-color-item { display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; width: 54px; }
.fuclr-section .fm-color-item input { display: none; }
.fuclr-section .fm-color-swatch { width: 34px; height: 34px; border-radius: 50%; border: 2px solid #E5E7EB; box-shadow: inset 0 0 0 2px #fff; transition: .15s; display: block; }
.fuclr-section .fm-color-item input:checked + .fm-color-swatch { border-color: #000; box-shadow: inset 0 0 0 2px #fff, 0 0 0 2px #000; }
.fuclr-section .fm-color-name { font-size: 11px; color: #666; text-align: center; }

/* Portes */
.fuclr-section .doors-filter { display: flex; gap: 12px; flex-wrap: wrap; }
.fuclr-section .doors-option input { display: none; }
.fuclr-section .doors-option span { display: block; padding: 14px; border-radius: 0; border: 2px solid #E5E7EB; background: #fff; cursor: pointer; text-align: center; transition: 0.3s; font-size: 13px; }
.fuclr-section .doors-option:hover span { border-color: var(--fuclr-accent, #646B52); }
.fuclr-section .doors-option input:checked + span { border-color: var(--fuclr-accent, #646B52); background: #fafafa; }
.fuclr-section .doors-count { display: block; font-size: 11px; color: #666; margin-top: 3px; font-weight: 400; }

/* Dimensions */
.fuclr-section .range-row { display: flex; align-items: flex-end; gap: 12px; margin-bottom: 20px; }
.fuclr-section .range-group { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.fuclr-section .range-group label { font-size: 11px; color: #333; font-weight: 500; }
.fuclr-section .range-input-num { width: 100%; padding: 9px 12px; border: 1px solid #D1D5DC; border-radius: 0; font-size: 12px; color: #000; outline: none; -moz-appearance: textfield; }
.fuclr-section .range-input-num::-webkit-inner-spin-button,
.fuclr-section .range-input-num::-webkit-outer-spin-button { -webkit-appearance: none; }

/* Toggle première main */
.fuclr-section .fm-toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fuclr-section .fm-toggle-label { font-size: 13px; font-weight: 600; color: #000; }
.fuclr-section .fm-toggle { position: relative; display: inline-block; width: 46px; height: 26px; flex-shrink: 0; }
.fuclr-section .fm-toggle input { display: none; }
.fuclr-section .fm-toggle-slider { position: absolute; inset: 0; background: #d1d5db; border-radius: 999px; transition: .2s; cursor: pointer; }
.fuclr-section .fm-toggle-slider::before { content: ""; position: absolute; left: 3px; top: 3px; width: 20px; height: 20px; background: #fff; border-radius: 50%; transition: .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.fuclr-section .fm-toggle input:checked + .fm-toggle-slider { background: #000; }
.fuclr-section .fm-toggle input:checked + .fm-toggle-slider::before { transform: translateX(20px); }

/* Footer modale */
.fuclr-section .fm-footer { display: flex; align-items: center; flex-direction: column; justify-content: space-between; padding: 16px 20px; border-top: 1px solid #e0e0e0; background: #fff; flex-shrink: 0; gap: 12px; }
.fuclr-section .btn-clear { padding: 12px 22px; border: 1.5px solid #000; border-radius: 0; background: #fff; font-size: 15px; font-weight: 600; color: #000; cursor: pointer; display: flex; align-items: center; gap: 8px; width: 100%; justify-content: center; }
.fuclr-section .btn-clear:hover { background: #f5f5f5; }
.fuclr-section .btn-results { padding: 12px 40px; border: none; border-radius: 0; background: var(--fuclr-result-btn-bg, #000); color: var(--fuclr-result-btn-color, #fff); font-size: 15px; font-weight: 600; cursor: pointer; text-align: center; width: 100%; }
.fuclr-section .btn-results:hover { opacity: 0.9; }

/* Stacking modale et bandeau légal */
body.fucs-modal-open .flnb-wrapper,
body.fucs-modal-open .flnb-wrapper--sticky,
body:has(.filter-modal.open) .flnb-wrapper,
body:has(.filter-modal.open) .flnb-wrapper--sticky {
    z-index: 0 !important;
    display: none !important;
}

body.fucs-modal-open .fuclr-section,
body.fucs-modal-open .fuclr-section .container-row,
body:has(.filter-modal.open) .fuclr-section,
body:has(.filter-modal.open) .fuclr-section .container-row {
    z-index: 100000 !important;
}

.fuclr-section .fucs-search-row .filter-dropdown .dropdown-panel {
    z-index: 500;
}

/* Méga-menu sous la modale (même règle que Maurin, étendue au menu Renault) */
body.fucs-modal-open .franck-mega-menu,
body.fucs-modal-open .franck-mega-menu__inner,
body.fucs-modal-open .franck-menu-renault-wrapper { z-index: 1 !important; }

body:has(.filter-modal.open) .franck-mega-menu-wrapper--sticky,
body:has(.filter-modal.open) .franck-menu-renault-wrapper--sticky,
body:has(.filter-modal.open) [class*="mega-menu-wrapper--sticky"] {
    z-index: 1 !important;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .fuclr-section .container-row {
        padding-left: 16px;
        padding-right: 16px;
        max-width: 100% !important;
    }
    .fuclr-section .fucs-search-row {
        display: flex;
        flex-wrap: wrap;
        border: 1.5px solid #d0d0d0;
        background: #ffffff;
        position: relative;
    }

    /* Ligne 1 : Champ de recherche + bouton loupe */
    .fuclr-section .search-box {
        order: 1;
        flex: 1 1 calc(100% - 54px);
        width: calc(100% - 54px);
        min-width: 0;
        border-bottom: 1.5px solid #d0d0d0;
    }
    .fuclr-section .search-box input[type="text"] {
        padding: 13px 14px;
        font-size: 14px;
        width: 100%;
        height: 48px;
        box-sizing: border-box;
    }
    .fuclr-section .search_button {
        order: 2;
        width: 54px;
        min-width: 54px;
        height: 48px;
        border-left: 1.5px solid #d0d0d0;
        border-bottom: 1.5px solid #d0d0d0;
        background: var(--fuclr-search-btn-bg, #646B52);
        color: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
    }

    /* Lignes 2 & 3 : Filtres en grille 2x2 propre */
    .fuclr-section .fucs-search-row .filter-dropdown {
        flex: 0 0 50%;
        max-width: 50%;
        width: 50%;
        box-sizing: border-box;
    }
    .fuclr-section .fucs-search-row .filter-dropdown[data-filter="make"] {
        order: 3;
        border-bottom: 1.5px solid #d0d0d0;
    }
    .fuclr-section .fucs-search-row .filter-dropdown[data-filter="model"] {
        order: 4;
        border-bottom: 1.5px solid #d0d0d0;
        border-left: 1.5px solid #d0d0d0;
    }
    .fuclr-section .fucs-search-row .filter-dropdown[data-filter="price"] {
        order: 5;
        border-bottom: 1.5px solid #d0d0d0;
    }
    .fuclr-section .fucs-search-row .filter-dropdown[data-filter="mileage"] {
        order: 6;
        border-bottom: 1.5px solid #d0d0d0;
        border-left: 1.5px solid #d0d0d0;
    }

    .fuclr-section .fucs-search-row .filter-dropdown .dropdown-trigger {
        border: none !important;
        width: 100%;
        min-width: 0;
        height: 48px;
        padding: 0 28px 0 12px;
        font-size: 13px;
        font-weight: 500;
        display: flex;
        align-items: center;
        box-sizing: border-box;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
    }
    .fuclr-section .fucs-search-row .filter-dropdown .dropdown-arrow {
        right: 10px;
    }

    /* Panneaux déroulants : positionnés proprement selon colonne gauche ou droite */
    .fuclr-section .fucs-search-row .filter-dropdown[data-filter="make"] .dropdown-panel,
    .fuclr-section .fucs-search-row .filter-dropdown[data-filter="price"] .dropdown-panel {
        left: 0;
        right: auto;
    }
    .fuclr-section .fucs-search-row .filter-dropdown[data-filter="model"] .dropdown-panel,
    .fuclr-section .fucs-search-row .filter-dropdown[data-filter="mileage"] .dropdown-panel {
        left: auto;
        right: 0;
    }
    .fuclr-section .fucs-search-row .filter-dropdown.active .dropdown-panel.fucs-budget-panel {
        min-width: min(340px, 90vw) !important;
        max-width: 90vw !important;
        padding: 16px 14px !important;
        box-sizing: border-box;
    }

    /* Ligne 4 : Bouton "Plus de critères" en pleine largeur */
    .fuclr-section .btn-all-filter {
        order: 7;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        border: none !important;
        background: #fbfbfb !important;
        color: #000000 !important;
        padding: 14px 18px !important;
        font-size: 14px;
        font-weight: 600;
        display: flex !important;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        transition: background .15s ease;
    }
    .fuclr-section .btn-all-filter:hover {
        background: #f0f0f0 !important;
    }
}
@media (max-width: 640px) {
    .fuclr-section .search-box input[type="text"] { padding: 12px 14px; }
    .fuclr-section .filter-modal { border-radius: 0; }
    .fuclr-section .category-checkbox-grid { grid-template-columns: repeat(2, 1fr); }
    .fuclr-section .container-row {
        padding-left: 14px;
        padding-right: 14px;
    }
}
@media (max-width: 480px) {
    .fuclr-section .fucs-budget-fields {
        flex-direction: column;
        gap: 6px;
    }
    .fuclr-section .fucs-budget-sep {
        display: none;
    }
}
@media (min-width: 768px) {
    .fuclr-section .fm-footer { flex-direction: row; }
    .fuclr-section .btn-clear, .fuclr-section .btn-results { width: auto; }
}

/* ── Financement mention (i) ── */
.flur-card__monthly {
    margin: 2px 0 0;
    font-weight: 700;
    font-size: 14px;
    line-height: 18px;
    text-transform: lowercase;
    color: var(--renault-black, #000);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.flur-card__monthly .finance-modal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    color: #666;
    transition: color .2s, transform .2s;
    cursor: pointer;
    vertical-align: middle;
}
.flur-card__monthly .finance-modal:hover {
    color: #000;
    transform: scale(1.15);
}

