/*
 * Neo Vendu — Design System & UI
 * Extracted from prototype V23/V28 — Glassmorphism, Inter font, responsive
 * Prefixed with .neo-vendu-wrap for WordPress isolation
 */

/* ── Design Tokens ── */
.neo-vendu-wrap {
    --brand-orange: #E85E12;
    --brand-orange-soft: #FFF0E5;
    --brand-black: #000000;
    --dark: #1F1F1F;
    --text-gray: #64748B;
    --border-light: #E2E8F0;
    --radius: 12px;
    --header-height: 90px;
    font-family: 'Inter', sans-serif;
    background-color: #F8FAFC;
    color: var(--dark);
}

.neo-vendu-wrap * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

.neo-vendu-wrap .nv-app {
    display: grid;
    grid-template-columns: 480px 1fr;
    grid-template-rows: var(--header-height) 1fr;
    height: 100vh;
}

/* ── HEADER ── */
.neo-vendu-wrap .nv-header {
    grid-column: 1 / -1;
    background: white;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.neo-vendu-wrap .nv-logo {
    height: 60px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.neo-vendu-wrap .nv-logo img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

/* ── SEARCH & AUTOCOMPLETE ── */
.neo-vendu-wrap .nv-search-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    margin: 0 20px;
}

/* ── RESULTS CAPSULE ── */
.neo-vendu-wrap .nv-results-capsule {
    background: var(--brand-orange);
    color: white;
    padding: 0 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(232, 94, 18, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    white-space: nowrap;
}

/* ── ESTIMATE BUTTON ── */
.neo-vendu-wrap .nv-btn-estimate {
    position: relative;
    background: var(--brand-black);
    color: white !important;
    text-decoration: none !important;
    padding: 0 24px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.3);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
    animation: nvEstimatePulse 2.5s infinite ease-in-out;
}

.neo-vendu-wrap .nv-btn-estimate::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    animation: nvEstimateShimmer 3s infinite ease-in-out;
}

.neo-vendu-wrap .nv-btn-estimate:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232, 94, 18, 0.35);
    background: #020617;
    border-color: rgba(232, 94, 18, 0.4);
}

.neo-vendu-wrap .nv-btn-estimate:active {
    transform: translateY(0);
}

@keyframes nvEstimatePulse {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(15, 23, 42, 0.3), 0 0 0 0px rgba(232, 94, 18, 0.2);
    }
    50% {
        box-shadow: 0 6px 20px rgba(232, 94, 18, 0.35), 0 0 0 8px rgba(232, 94, 18, 0);
    }
}

@keyframes nvEstimateShimmer {
    0% {
        left: -150%;
    }
    30%, 100% {
        left: 150%;
    }
}

/* ── ANIMATIONS ── */
@keyframes nvPop {
    0% {
        transform: scale(1);
        background: var(--brand-orange);
        color: white;
    }

    30% {
        transform: scale(1.3);
        background: #fff;
        color: var(--brand-orange);
        box-shadow: 0 0 30px rgba(232, 94, 18, 0.8);
    }

    100% {
        transform: scale(1);
        background: var(--brand-orange);
        color: white;
    }
}

.neo-vendu-wrap .nv-anim-pop {
    animation: nvPop 0.5s ease;
}

.neo-vendu-wrap .nv-autocomplete {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: white;
    border-radius: 20px;
    border: 1px solid var(--border-light);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    max-height: 350px;
    overflow-y: auto;
    z-index: 2000;
    display: none;
    padding: 8px;
}

.neo-vendu-wrap .nv-autocomplete-item {
    padding: 12px 16px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: 0.2s;
}

.neo-vendu-wrap .nv-autocomplete-item:hover {
    background: var(--brand-orange-soft);
}

.neo-vendu-wrap .nv-autocomplete-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #F1F5F9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    font-size: 0.85rem;
}

.neo-vendu-wrap .nv-autocomplete-item:hover .nv-autocomplete-icon {
    background: white;
    color: var(--brand-orange);
}

.neo-vendu-wrap .nv-autocomplete-text {
    display: flex;
    flex-direction: column;
}

.neo-vendu-wrap .nv-autocomplete-main {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--brand-black);
}

.neo-vendu-wrap .nv-autocomplete-sub {
    font-size: 0.8rem;
    color: var(--text-gray);
}

/* ── HEADER ACTIONS ── */
.neo-vendu-wrap .nv-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.neo-vendu-wrap .nv-btn-pro {
    background: var(--brand-black);
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    transition: 0.3s;
    font-family: 'Inter', sans-serif;
}

.neo-vendu-wrap .nv-btn-pro.active {
    background: var(--brand-orange);
}

.neo-vendu-wrap .nv-cart-trigger {
    position: relative;
    width: 50px;
    height: 50px;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--brand-black);
    cursor: pointer;
    transition: 0.2s;
}

.neo-vendu-wrap .nv-cart-trigger:hover {
    background: var(--brand-orange-soft);
    color: var(--brand-orange);
    border-color: var(--brand-orange);
}

.neo-vendu-wrap .nv-cart-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #EF4444;
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: 0.2s;
}

.neo-vendu-wrap .nv-cart-badge.hidden {
    transform: scale(0);
}

/* ── SIDEBAR ── */
.neo-vendu-wrap .nv-sidebar {
    background: white;
    border-right: 1px solid var(--border-light);
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.neo-vendu-wrap .nv-sidebar-scroll {
    overflow-y: auto;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    flex: 1;
    width: 100%;
}

.neo-vendu-wrap .nv-filter-section {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.neo-vendu-wrap .nv-lbl {
    font-size: 0.8rem;
    font-weight: 800;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: block;
}

.neo-vendu-wrap .nv-chips {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.neo-vendu-wrap .nv-chip {
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    background: white;
    color: var(--text-gray);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.neo-vendu-wrap .nv-chip.active {
    background: var(--brand-orange);
    color: white;
    border-color: var(--brand-orange);
    box-shadow: 0 4px 12px rgba(232, 94, 18, 0.2);
}

.neo-vendu-wrap .nv-slider-container {
    padding: 0 8px;
    margin-bottom: 8px;
}

.neo-vendu-wrap .noUi-target {
    border: none;
    background: #F1F5F9;
    height: 6px;
    box-shadow: none;
    margin: 15px 0;
    border-radius: 10px;
}

.neo-vendu-wrap .noUi-connect {
    background: var(--brand-orange);
}

.neo-vendu-wrap .noUi-handle {
    width: 22px !important;
    height: 22px !important;
    border-radius: 50%;
    background: white;
    border: 4px solid var(--brand-orange);
    right: -11px !important;
    top: -8px !important;
    cursor: grab;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.neo-vendu-wrap .noUi-handle::before,
.neo-vendu-wrap .noUi-handle::after {
    display: none;
}

.neo-vendu-wrap .nv-slider-vals {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 700;
    margin-top: 12px;
    color: var(--dark);
}

.neo-vendu-wrap .nv-row-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.neo-vendu-wrap .nv-input-group {
    position: relative;
}

.neo-vendu-wrap .nv-input-std {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    background: #FFFFFF;
    color: var(--dark);
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    transition: 0.3s;
}

.neo-vendu-wrap .nv-input-std:focus {
    border-color: var(--brand-orange);
    box-shadow: 0 0 0 4px var(--brand-orange-soft);
}

.neo-vendu-wrap .nv-input-suffix {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #94A3B8;
    font-size: 0.85rem;
    pointer-events: none;
}

/* ── RESULTS ── */
.neo-vendu-wrap .nv-results-header {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.neo-vendu-wrap .nv-results-capsule {
    background: var(--brand-orange);
    color: white;
    font-size: 1rem;
    font-weight: 800;
    padding: 12px 30px;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(232, 94, 18, 0.25);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform 0.2s;
    display: inline-block;
}

.neo-vendu-wrap .nv-pop-anim {
    animation: nvPopBadge 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes nvPopBadge {
    0% {
        transform: scale(0.9);
        opacity: 0.8;
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ── CARDS ── */
.neo-vendu-wrap .nv-cards {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding-bottom: 50px;
    margin-top: 25px;
}

.neo-vendu-wrap .nv-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 25px;
    cursor: pointer;
    transition: 0.3s;
    position: relative;
}

.neo-vendu-wrap .nv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
    border-color: var(--brand-orange);
}

.neo-vendu-wrap .nv-card-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    align-items: center;
}

.neo-vendu-wrap .nv-badge {
    background: var(--brand-orange-soft);
    color: var(--brand-orange);
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
}

.neo-vendu-wrap .nv-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--brand-black);
    margin: 5px 0;
    letter-spacing: -0.5px;
}

.neo-vendu-wrap .nv-address {
    font-size: 1rem;
    color: #475569;
    margin: 10px 0;
    font-weight: 500;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.neo-vendu-wrap .nv-address i {
    color: var(--brand-orange);
    margin-top: 4px;
}

.neo-vendu-wrap .nv-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-light);
}

.neo-vendu-wrap .nv-spec {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-gray);
    font-weight: 500;
}

.neo-vendu-wrap .nv-secret {
    margin-top: 20px;
    padding: 20px;
    background: #FFF5F5;
    border-radius: 12px;
    border: 1px dashed var(--brand-orange);
    font-size: 0.9rem;
    color: #9A3412;
}

.neo-vendu-wrap .nv-secret-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
}

.neo-vendu-wrap .nv-secret-label {
    font-weight: 700;
    color: #C05621;
}

.neo-vendu-wrap .nv-secret-val {
    font-weight: 600;
    text-align: right;
}

.neo-vendu-wrap .nv-select-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    background: white;
    color: #CBD5E1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    z-index: 10;
}

.neo-vendu-wrap .nv-select-btn.active {
    background: var(--brand-orange);
    border-color: var(--brand-orange);
    color: white;
    box-shadow: 0 4px 10px rgba(232, 94, 18, 0.4);
}

.neo-vendu-wrap .nv-compare-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    background: var(--brand-orange-soft);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brand-orange);
}

.neo-vendu-wrap .nv-compare-check input {
    cursor: pointer;
    width: 16px;
    height: 16px;
    accent-color: var(--brand-orange);
}

/* ── MAP ── */
.neo-vendu-wrap .nv-map-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.neo-vendu-wrap #nv-map {
    width: 100%;
    height: 100%;
    z-index: 1;
}

.neo-vendu-wrap .marker-cluster-small,
.neo-vendu-wrap .marker-cluster-medium,
.neo-vendu-wrap .marker-cluster-large {
    background-color: rgba(0, 0, 0, 0.5) !important;
}

.neo-vendu-wrap .marker-cluster-small div,
.neo-vendu-wrap .marker-cluster-medium div,
.neo-vendu-wrap .marker-cluster-large div {
    background-color: var(--brand-black) !important;
    color: white !important;
    font-weight: bold;
}

/* Active highlighted marker pulse effect */
@keyframes nvMarkerPulse {
    0% {
        transform: scale(1);
        stroke-width: 3px;
        opacity: 0.95;
    }
    50% {
        transform: scale(1.4);
        stroke-width: 6px;
        opacity: 1;
    }
    100% {
        transform: scale(1);
        stroke-width: 3px;
        opacity: 0.95;
    }
}

.neo-vendu-wrap .nv-marker-active {
    animation: nvMarkerPulse 1.2s infinite ease-in-out;
    transform-origin: center;
    transform-box: fill-box;
}

.neo-vendu-wrap .nv-draw-controls {
    position: absolute;
    top: 140px;
    left: 20px;
    z-index: 800;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.neo-vendu-wrap .nv-draw-btn {
    background: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--brand-black);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.neo-vendu-wrap .nv-draw-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(232, 94, 18, 0.25);
    color: var(--brand-orange);
}

.neo-vendu-wrap .nv-draw-btn.active {
    background: var(--brand-orange);
    color: white;
    transform: scale(1.1);
}

.neo-vendu-wrap .nv-draw-btn.danger:hover {
    color: #EF4444;
}

/* Leaflet popups */
.neo-vendu-wrap .leaflet-popup {
    margin-bottom: 12px;
}

.neo-vendu-wrap .leaflet-popup-content-wrapper {
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
    padding: 0 !important;
    overflow: hidden;
    width: 240px !important;
    background: #ffffff !important;
}

.neo-vendu-wrap .leaflet-popup-content {
    margin: 0 !important;
    width: 240px !important;
}

.neo-vendu-wrap .leaflet-popup-tip-container {
    width: 30px !important;
    height: 15px !important;
    position: absolute !important;
    left: 50% !important;
    margin-left: -15px !important;
    transform: none !important;
    overflow: hidden !important;
    z-index: 1000 !important;
}

.neo-vendu-wrap .leaflet-popup-tip {
    background: #ffffff !important;
    width: 12px !important;
    height: 12px !important;
    padding: 0 !important;
    margin: -6px auto 0 !important;
    transform: rotate(45deg) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
    border: none !important;
}

.neo-vendu-wrap .leaflet-popup-close-button {
    top: 12px !important;
    right: 12px !important;
    color: #94A3B8 !important;
    font-size: 16px !important;
    font-weight: 500 !important;
}

.neo-vendu-wrap .nv-popup {
    padding: 18px 16px;
    text-align: center;
    background: white;
}

.neo-vendu-wrap .nv-popup-tag {
    display: inline-block;
    background: var(--brand-orange-soft);
    color: var(--brand-orange);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 30px;
    margin-bottom: 8px;
}

.neo-vendu-wrap .nv-popup-city {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--brand-black);
}

.neo-vendu-wrap .nv-popup-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--brand-orange);
    margin-top: 4px;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}

/* ═══════════════ PRIX SUR DEMANDE BUTTON ═══════════════ */
.neo-vendu-wrap .nv-btn-price-req {
    background: var(--brand-orange);
    color: #ffffff !important;
    border: none;
    padding: 10px 18px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: 'Inter', sans-serif;
    box-shadow: 0 4px 12px rgba(232, 94, 18, 0.28);
    box-sizing: border-box;
    text-decoration: none !important;
    letter-spacing: 0.2px;
    line-height: 1.2;
}

.neo-vendu-wrap .nv-btn-price-req:hover {
    background: #c04b08;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(232, 94, 18, 0.4);
}

.neo-vendu-wrap .nv-btn-price-req:active {
    transform: scale(0.98);
}

.neo-vendu-wrap .nv-btn-price-req i {
    font-size: 0.88rem;
}

/* Specific styling for popup inside leaflet */
.neo-vendu-wrap .nv-btn-price-req.popup {
    padding: 8px 14px;
    font-size: 0.78rem;
    box-shadow: 0 2px 8px rgba(232, 94, 18, 0.22);
}

/* Card price request box */
.neo-vendu-wrap .nv-card-price-req,
.neo-vendu-wrap .nv-price-hidden-box {
    margin: 8px 0 10px 0;
}

/* Popup price request box */
.neo-vendu-wrap .nv-popup-price-req,
.neo-vendu-wrap .nv-popup-price-hidden {
    margin: 8px 0 6px 0;
}

.neo-vendu-wrap .nv-popup-sv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 6px;
    padding: 8px 14px;
    background: #0F172A;
    color: #ffffff !important;
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none !important;
    border-radius: 50px;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.2);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    width: 100%;
    box-sizing: border-box;
}

.neo-vendu-wrap .nv-popup-sv-btn:hover {
    background: #1E293B;
    box-shadow: 0 5px 14px rgba(15, 23, 42, 0.35);
    transform: translateY(-1px);
    color: #ffffff !important;
}

.neo-vendu-wrap .nv-popup-sv-btn i {
    font-size: 0.9rem;
}

.neo-vendu-wrap .nv-sv-exact {
    display: inline-flex !important;
}

.neo-vendu-wrap .nv-sv-street {
    display: none !important;
}

.neo-vendu-wrap.nv-hidden-rue .nv-sv-exact,
body.nv-hidden-rue .nv-sv-exact {
    display: none !important;
}

.neo-vendu-wrap.nv-hidden-rue .nv-sv-street,
body.nv-hidden-rue .nv-sv-street {
    display: inline-flex !important;
}

/* ── MODALS ── */
.neo-vendu-wrap .nv-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.neo-vendu-wrap .nv-cart-modal {
    width: 800px;
    max-width: 90%;
    max-height: 85vh;
    background: #F8FAFC;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.neo-vendu-wrap .nv-cart-header {
    padding: 25px;
    background: white;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.neo-vendu-wrap .nv-cart-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--brand-black);
}

.neo-vendu-wrap .nv-btn-compare {
    background: var(--brand-black);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
    border: none;
    cursor: pointer;
    opacity: 0.5;
    pointer-events: none;
    transition: 0.2s;
    font-family: 'Inter', sans-serif;
}

.neo-vendu-wrap .nv-btn-compare.active {
    opacity: 1;
    pointer-events: all;
    background: var(--brand-orange);
    box-shadow: 0 4px 10px rgba(232, 94, 18, 0.2);
}

.neo-vendu-wrap .nv-cart-body {
    overflow-y: auto;
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.neo-vendu-wrap .nv-btn-close {
    background: #F1F5F9;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    color: #64748B;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}

.neo-vendu-wrap .nv-btn-close:hover {
    background: #EF4444;
    color: white;
}

.neo-vendu-wrap .nv-btn-clear {
    color: #EF4444;
    font-weight: 600;
    cursor: pointer;
    border: none;
    background: none;
    font-size: 0.9rem;
}

.neo-vendu-wrap .nv-cart-footer {
    background: white;
    border-top: 1px solid var(--border-light);
    padding: 20px 30px;
    display: flex;
    gap: 15px;
    align-items: center;
}

.neo-vendu-wrap .nv-email-input {
    flex: 1;
    padding: 14px 20px;
    border-radius: 50px;
    border: 1px solid var(--border-light);
    background: #F8FAFC;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
}

.neo-vendu-wrap .nv-email-input:focus {
    border-color: var(--brand-orange);
    background: white;
    outline: none;
    box-shadow: 0 0 0 3px var(--brand-orange-soft);
}

.neo-vendu-wrap .nv-btn-send {
    background: var(--brand-orange);
    color: white;
    border: none;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    transition: 0.2s;
    font-family: 'Inter', sans-serif;
}

.neo-vendu-wrap .nv-btn-send:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

/* ── COMPARATEUR ── */
.neo-vendu-wrap .nv-compare-box {
    width: 95vw;
    max-width: 1200px;
    max-height: 90vh;
    background: #F8FAFC;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

.neo-vendu-wrap .nv-compare-content {
    display: flex;
    gap: 20px;
    padding: 40px;
    overflow: auto;
    flex: 1;
    justify-content: flex-start;
    /* Changed from center to avoid cut-off on scroll */
    align-items: flex-start;
    /* Ensure items align to top */
}

.neo-vendu-wrap .nv-compare-col {
    flex: 1;
    min-width: 320px;
    background: white;
    border-radius: 20px;
    padding: 30px;
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.neo-vendu-wrap .nv-comp-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--brand-orange);
    text-align: center;
    margin-bottom: 5px;
}

.neo-vendu-wrap .nv-comp-ratio {
    background: var(--brand-orange-soft);
    color: var(--brand-orange);
    font-size: 0.9rem;
    font-weight: 800;
    padding: 10px;
    border-radius: 12px;
    text-align: center;
    border: 1px dashed var(--brand-orange);
    margin-bottom: 10px;
}

.neo-vendu-wrap .nv-comp-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #F1F5F9;
    font-size: 0.95rem;
}

.neo-vendu-wrap .nv-comp-lbl {
    color: #64748B;
    font-weight: 500;
}

.neo-vendu-wrap .nv-comp-val {
    font-weight: 700;
    color: var(--brand-black);
}

/* ── MOBILE SWITCHER ── */
.neo-vendu-wrap .nv-mobile-switcher {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1500;
    background: var(--brand-black);
    padding: 6px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    gap: 5px;
}

.neo-vendu-wrap .nv-switch-btn {
    border: none;
    background: none;
    color: white;
    padding: 10px 20px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
}

.neo-vendu-wrap .nv-switch-btn.active {
    background: var(--brand-orange);
}

/* ── TOAST NOTIFICATION ── */
.neo-vendu-wrap .nv-toast {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: var(--brand-black);
    color: white;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    z-index: 3000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.neo-vendu-wrap .nv-toast.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.neo-vendu-wrap .nv-toast.success {
    background: #059669;
}

.neo-vendu-wrap .nv-toast.error {
    background: #EF4444;
}

/* ── EXTENDED SEARCH (Team) ── */
.neo-vendu-wrap .nv-ext-toggle {
    width: 100%;
    padding: 14px 20px;
    border-radius: 14px;
    border: 1px dashed var(--brand-orange);
    background: linear-gradient(135deg, #FFF7ED, #FFF0E5);
    color: var(--brand-orange);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.neo-vendu-wrap .nv-ext-toggle:hover {
    background: linear-gradient(135deg, #FFF0E5, #FFE4CC);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(232, 94, 18, 0.15);
}

.neo-vendu-wrap .nv-ext-toggle span {
    flex: 1;
    text-align: left;
}


/* ── MODAL OVERLAY (Shared) ── */
.neo-vendu-wrap .nv-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(5px);
}

.neo-vendu-wrap .nv-modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* Extended search modal */
.neo-vendu-wrap .nv-ext-modal {
    width: 700px;
    max-width: 95vw;
    max-height: 85vh;
    background: #F8FAFC;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    transform: scale(0.95) translateY(10px);
    opacity: 0;
    transition: all 0.3s ease;
}

.neo-vendu-wrap .nv-modal-overlay.active .nv-ext-modal {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.neo-vendu-wrap .nv-ext-modal-header {
    padding: 25px 30px;
    background: white;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.neo-vendu-wrap .nv-ext-modal-body {
    overflow-y: auto;
    padding: 30px;
    flex: 1;
}

.neo-vendu-wrap .nv-ext-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.neo-vendu-wrap .nv-ext-group-full {
    grid-column: 1 / -1;
}

.neo-vendu-wrap .nv-ext-group .nv-lbl i {
    margin-right: 6px;
    color: var(--brand-orange);
}

.neo-vendu-wrap .nv-ext-modal-footer {
    padding: 20px 30px;
    background: white;
    border-top: 1px solid var(--border-light);
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.neo-vendu-wrap .nv-ext-apply {
    background: var(--brand-orange);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.2s;
    font-family: 'Inter', sans-serif;
}

.neo-vendu-wrap .nv-ext-apply:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(232, 94, 18, 0.3);
}

.neo-vendu-wrap .nv-ext-active-count {
    background: var(--brand-orange-soft);
    color: var(--brand-orange);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
}

/* Active filter count badge on trigger button */
.neo-vendu-wrap .nv-ext-badge {
    background: white;
    color: var(--brand-orange);
    font-size: 0.7rem;
    font-weight: 800;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 700px) {
    .neo-vendu-wrap .nv-ext-grid {
        grid-template-columns: 1fr;
    }

    .neo-vendu-wrap .nv-ext-modal {
        width: 100%;
        max-width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }
}

.neo-vendu-wrap .nv-full-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid var(--border-light);
    background: #FAFBFC;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    transition: 0.3s;
    margin-bottom: 10px;
}

.neo-vendu-wrap .nv-full-input:focus {
    border-color: var(--brand-orange);
    box-shadow: 0 0 0 3px var(--brand-orange-soft);
    background: white;
}

/* ── Type select dropdown ── */
.neo-vendu-wrap .nv-type-select-container {
    position: relative;
    width: 100%;
}

.neo-vendu-wrap .nv-type-select-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    background: #FAFBFC;
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 46px;
    user-select: none;
}

.neo-vendu-wrap .nv-type-select-trigger:hover {
    background: white;
    border-color: var(--brand-orange);
}

.neo-vendu-wrap .nv-type-select-trigger.focus {
    border-color: var(--brand-orange);
    box-shadow: 0 0 0 3px var(--brand-orange-soft);
    background: white;
}

.neo-vendu-wrap .nv-type-select-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-gray);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 10px;
    flex: 1;
}

.neo-vendu-wrap .nv-type-select-label.has-selection {
    color: var(--dark);
    font-weight: 600;
}

.neo-vendu-wrap .nv-type-select-count {
    background: var(--brand-orange);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
    flex-shrink: 0;
    animation: nvTagIn 0.2s ease;
}

.neo-vendu-wrap .nv-type-select-arrow {
    color: var(--text-gray);
    font-size: 0.85rem;
    transition: transform 0.2s ease;
}

.neo-vendu-wrap .nv-type-select-trigger.focus .nv-type-select-arrow {
    transform: rotate(180deg);
}

.neo-vendu-wrap .nv-type-select-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
    max-height: 280px;
    z-index: 1100;
    flex-direction: column;
    overflow: hidden;
    animation: nvDropdownIn 0.2s ease-out;
}

@keyframes nvDropdownIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.neo-vendu-wrap .nv-type-select-dropdown.open {
    display: flex;
}

.neo-vendu-wrap .nv-type-select-actions {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border-light);
    background: #F8FAFC;
    display: flex;
    justify-content: space-between;
}

.neo-vendu-wrap .nv-type-select-action-btn {
    background: none;
    border: none;
    color: var(--brand-orange);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 6px;
    transition: all 0.15s ease;
    font-family: 'Inter', sans-serif;
}

.neo-vendu-wrap .nv-type-select-action-btn:hover {
    background: var(--brand-orange-soft);
}

.neo-vendu-wrap .nv-type-select-options {
    overflow-y: auto;
    padding: 6px;
}

.neo-vendu-wrap .nv-type-select-options::-webkit-scrollbar {
    width: 6px;
}

.neo-vendu-wrap .nv-type-select-options::-webkit-scrollbar-thumb {
    background: var(--brand-orange);
    border-radius: 3px;
}

.neo-vendu-wrap .nv-type-select-options::-webkit-scrollbar-track {
    background: #F1F5F9;
    border-radius: 3px;
}

.neo-vendu-wrap .nv-type-select-option {
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.15s ease;
    user-select: none;
}

.neo-vendu-wrap .nv-type-select-option:hover {
    background: var(--brand-orange-soft);
    color: var(--brand-orange);
}

.neo-vendu-wrap .nv-type-select-option input[type="checkbox"] {
    cursor: pointer;
    width: 18px;
    height: 18px;
    accent-color: var(--brand-orange);
    border-radius: 4px;
    border: 1px solid var(--border-light);
    flex-shrink: 0;
}

/* ── Multi-select Dropdown ── */
.neo-vendu-wrap .nv-multiselect {
    position: relative;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    background: #FAFBFC;
    padding: 8px 12px;
    cursor: text;
    transition: 0.3s;
    min-height: 46px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.neo-vendu-wrap .nv-multiselect.focus {
    border-color: var(--brand-orange);
    box-shadow: 0 0 0 3px var(--brand-orange-soft);
    background: white;
}

.neo-vendu-wrap .nv-ms-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.neo-vendu-wrap .nv-ms-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--brand-orange);
    color: white;
    padding: 4px 10px 4px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
    animation: nvTagIn 0.2s ease;
}

@keyframes nvTagIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.neo-vendu-wrap .nv-ms-tag-x {
    cursor: pointer;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    color: white;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    font-size: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.15s;
    line-height: 1;
    padding: 0;
}

.neo-vendu-wrap .nv-ms-tag-x:hover {
    background: rgba(255, 255, 255, 0.5);
}

.neo-vendu-wrap .nv-ms-input {
    border: none;
    background: transparent;
    outline: none;
    flex: 1;
    min-width: 100px;
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    padding: 4px 0;
}

.neo-vendu-wrap .nv-ms-input::placeholder {
    color: #94A3B8;
}

.neo-vendu-wrap .nv-ms-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
    max-height: 200px;
    overflow-y: auto;
    z-index: 100;
    padding: 6px;
}

.neo-vendu-wrap .nv-ms-dropdown.open {
    display: block;
}

.neo-vendu-wrap .nv-ms-option {
    padding: 10px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: 0.15s;
}

.neo-vendu-wrap .nv-ms-option:hover {
    background: var(--brand-orange-soft);
}

.neo-vendu-wrap .nv-ms-option.selected {
    background: #FFF7ED;
    color: var(--brand-orange);
    font-weight: 700;
}

.neo-vendu-wrap .nv-ms-option.selected::after {
    content: '✓';
    font-weight: 800;
    color: var(--brand-orange);
}

.neo-vendu-wrap .nv-ms-empty {
    padding: 16px;
    text-align: center;
    color: #94A3B8;
    font-size: 0.85rem;
}

.neo-vendu-wrap .nv-ms-dropdown::-webkit-scrollbar {
    width: 4px;
}

.neo-vendu-wrap .nv-ms-dropdown::-webkit-scrollbar-thumb {
    background: var(--brand-orange);
    border-radius: 4px;
}

.neo-vendu-wrap .nv-ms-count {
    background: var(--brand-orange-soft);
    color: var(--brand-orange);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: auto;
}

.neo-vendu-wrap .nv-chips-scroll {
    max-height: 120px;
    overflow-y: auto;
    padding-right: 5px;
}

.neo-vendu-wrap .nv-chips-scroll::-webkit-scrollbar {
    width: 4px;
}

.neo-vendu-wrap .nv-chips-scroll::-webkit-scrollbar-thumb {
    background: var(--brand-orange);
    border-radius: 4px;
}

.neo-vendu-wrap .nv-chips-scroll::-webkit-scrollbar-track {
    background: #F1F5F9;
    border-radius: 4px;
}

.neo-vendu-wrap .nv-ext-reset {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #FEE2E2;
    background: linear-gradient(135deg, #FFF5F5, #FEE2E2);
    color: #DC2626;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    margin-top: 5px;
}

.neo-vendu-wrap .nv-ext-reset:hover {
    background: #DC2626;
    color: white;
    border-color: #DC2626;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.neo-vendu-wrap .nv-ext-group .nv-input-std[type="date"] {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    font-size: 0.85rem;
}


/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE MOBILE & TABLET SYSTEM (iOS / Android / Touch Optimized)
   ══════════════════════════════════════════════════════════════════ */

/* ── TABLETS & MOBILE (<= 1024px) ── */
@media (max-width: 1024px) {
    .neo-vendu-wrap {
        --header-height: 64px;
    }

    .neo-vendu-wrap .nv-app {
        grid-template-columns: 100%;
        grid-template-rows: var(--header-height) 1fr;
        height: 100vh;
        height: 100dvh;
    }

    /* Header */
    .neo-vendu-wrap .nv-header {
        padding: 0 16px;
        height: var(--header-height);
    }

    .neo-vendu-wrap .nv-logo {
        height: 38px;
        max-width: 130px;
    }

    .neo-vendu-wrap .nv-logo img {
        max-height: 38px;
    }

    .neo-vendu-wrap .nv-logo-backup {
        display: none !important;
    }

    .neo-vendu-wrap .nv-search-container {
        flex: 1;
        margin: 0 10px;
        gap: 10px;
        justify-content: center;
    }

    .neo-vendu-wrap .nv-results-capsule {
        height: 38px;
        padding: 0 14px;
        font-size: 0.8rem;
        box-shadow: 0 3px 10px rgba(232, 94, 18, 0.25);
    }

    .neo-vendu-wrap .nv-btn-estimate {
        height: 38px;
        padding: 0 14px;
        font-size: 0.78rem;
        gap: 6px;
    }

    .neo-vendu-wrap .nv-actions {
        gap: 8px;
    }

    .neo-vendu-wrap .nv-cart-trigger {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .neo-vendu-wrap .nv-btn-pro {
        width: 38px;
        height: 38px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }

    .neo-vendu-wrap .nv-btn-pro span {
        display: none !important;
    }

    /* Sidebar as mobile full-screen tab */
    .neo-vendu-wrap .nv-sidebar {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100% - var(--header-height));
        height: calc(100dvh - var(--header-height));
        z-index: 900;
        display: none;
        padding: 0 !important;
        background: #F8FAFC;
        -webkit-overflow-scrolling: touch;
    }

    .neo-vendu-wrap .nv-sidebar.active {
        display: flex !important;
    }

    .neo-vendu-wrap .nv-sidebar-scroll {
        padding: 16px 16px 110px 16px !important;
        gap: 20px !important;
        width: 100%;
        -webkit-overflow-scrolling: touch;
    }

    .neo-vendu-wrap .nv-filter-section {
        gap: 16px !important;
    }

    .neo-vendu-wrap .nv-ms-option,
    .neo-vendu-wrap .nv-type-select-option {
        padding: 12px 14px;
        min-height: 42px;
    }

    /* Map */
    .neo-vendu-wrap .nv-map-wrapper {
        height: calc(100% - var(--header-height));
        height: calc(100dvh - var(--header-height));
        width: 100%;
    }

    .neo-vendu-wrap .nv-draw-controls {
        top: 14px;
        right: 14px;
        left: auto;
        gap: 10px;
    }

    .neo-vendu-wrap .nv-draw-btn {
        width: 42px;
        height: 42px;
        font-size: 1.05rem;
        border-radius: 12px;
    }

    /* Mobile switcher floating bar */
    .neo-vendu-wrap .nv-mobile-switcher {
        display: flex !important;
        position: fixed;
        bottom: max(16px, env(safe-area-inset-bottom, 16px));
        left: 50%;
        transform: translateX(-50%);
        z-index: 1500;
        background: rgba(15, 23, 42, 0.92);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border: 1px solid rgba(255, 255, 255, 0.15);
        padding: 5px;
        border-radius: 50px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
        gap: 6px;
    }

    .neo-vendu-wrap .nv-switch-btn {
        min-height: 42px;
        padding: 8px 18px;
        font-size: 0.82rem;
        font-weight: 700;
        border-radius: 40px;
        border: none;
        color: #94A3B8;
        background: transparent;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 8px;
        transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
        -webkit-tap-highlight-color: transparent;
        white-space: nowrap;
    }

    .neo-vendu-wrap .nv-switch-btn.active {
        background: var(--brand-orange);
        color: #FFFFFF;
        box-shadow: 0 4px 14px rgba(232, 94, 18, 0.4);
    }

    .neo-vendu-wrap .nv-switch-btn:active {
        transform: scale(0.96);
    }

    /* Leaflet popup */
    .neo-vendu-wrap .leaflet-popup-content-wrapper {
        max-width: calc(100vw - 32px) !important;
    }

    /* Cards */
    .neo-vendu-wrap .nv-cards {
        margin-top: 14px;
        gap: 14px;
        padding-bottom: 20px;
    }

    .neo-vendu-wrap .nv-card {
        padding: 18px 16px;
        border-radius: 14px;
    }

    .neo-vendu-wrap .nv-card:hover {
        transform: none;
    }

    /* Fullscreen Modals (Cart, Extended Search, Compare) */
    .neo-vendu-wrap .nv-cart-modal,
    .neo-vendu-wrap .nv-compare-box,
    .neo-vendu-wrap .nv-ext-modal {
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        height: 100dvh !important;
        max-height: 100dvh !important;
        border-radius: 0 !important;
    }

    .neo-vendu-wrap .nv-ext-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .neo-vendu-wrap .nv-ext-modal-header,
    .neo-vendu-wrap .nv-cart-header {
        padding: 16px !important;
    }

    .neo-vendu-wrap .nv-ext-modal-body,
    .neo-vendu-wrap .nv-cart-body {
        padding: 16px !important;
        -webkit-overflow-scrolling: touch;
    }

    .neo-vendu-wrap .nv-ext-modal-footer,
    .neo-vendu-wrap .nv-cart-footer {
        padding: 14px 16px !important;
    }

    .neo-vendu-wrap .nv-compare-content {
        flex-direction: column !important;
        align-items: center !important;
        padding: 16px !important;
        gap: 16px !important;
        -webkit-overflow-scrolling: touch;
    }

    .neo-vendu-wrap .nv-compare-col {
        width: 100% !important;
        min-width: 0 !important;
    }

    /* Auth & Price Request modals: Clean centered cards on mobile */
    .neo-vendu-wrap #nv-authModal .nv-cart-modal,
    .neo-vendu-wrap #nv-priceRequestModal .nv-cart-modal {
        width: calc(100% - 32px) !important;
        max-width: 440px !important;
        height: auto !important;
        max-height: 92dvh !important;
        border-radius: 20px !important;
        margin: auto !important;
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4) !important;
    }
}

/* ── SMARTPHONES (<= 640px) ── */
@media (max-width: 640px) {
    .neo-vendu-wrap {
        --header-height: 56px;
    }

    .neo-vendu-wrap .nv-header {
        height: 56px;
        padding: 0 10px;
    }

    .neo-vendu-wrap .nv-logo {
        height: 32px;
        max-width: 95px;
    }

    .neo-vendu-wrap .nv-logo img {
        max-height: 32px;
    }

    .neo-vendu-wrap .nv-search-container {
        margin: 0 4px;
        gap: 6px;
    }

    .neo-vendu-wrap .nv-results-capsule {
        height: 34px;
        padding: 0 10px;
        font-size: 0.72rem;
        letter-spacing: 0;
        box-shadow: 0 2px 8px rgba(232, 94, 18, 0.2);
    }

    /* Estimate button transformed into compact circular calculator button */
    .neo-vendu-wrap .nv-btn-estimate {
        width: 34px;
        height: 34px;
        min-width: 34px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }

    .neo-vendu-wrap .nv-btn-estimate span {
        display: none !important;
    }

    .neo-vendu-wrap .nv-btn-estimate i {
        margin: 0;
        font-size: 0.88rem;
    }

    .neo-vendu-wrap .nv-actions {
        gap: 6px;
    }

    .neo-vendu-wrap .nv-cart-trigger {
        width: 34px;
        height: 34px;
        font-size: 0.95rem;
    }

    .neo-vendu-wrap .nv-cart-badge {
        width: 17px;
        height: 17px;
        font-size: 0.65rem;
        top: -3px;
        right: -3px;
    }

    .neo-vendu-wrap .nv-btn-pro {
        width: 34px;
        height: 34px;
        font-size: 0.85rem;
    }

    /* Sidebar scroll and content */
    .neo-vendu-wrap .nv-sidebar-scroll {
        padding: 14px 12px 105px 12px !important;
        gap: 16px !important;
    }

    .neo-vendu-wrap .nv-filter-section {
        gap: 12px !important;
    }

    .neo-vendu-wrap .nv-lbl {
        font-size: 0.72rem !important;
        margin-bottom: 6px !important;
    }

    .neo-vendu-wrap .nv-row-inputs {
        gap: 8px !important;
    }

    .neo-vendu-wrap .nv-input-std {
        padding: 10px 12px !important;
        font-size: 0.88rem !important;
    }

    /* Cards */
    .neo-vendu-wrap .nv-cards {
        margin-top: 12px !important;
        gap: 12px !important;
    }

    .neo-vendu-wrap .nv-card {
        padding: 14px !important;
        border-radius: 12px !important;
    }

    .neo-vendu-wrap .nv-price {
        font-size: 1.18rem !important;
    }

    .neo-vendu-wrap .nv-address {
        font-size: 0.85rem !important;
        margin: 6px 0 !important;
    }

    .neo-vendu-wrap .nv-specs {
        gap: 6px 12px !important;
        margin-top: 10px !important;
        padding-top: 10px !important;
    }

    .neo-vendu-wrap .nv-spec {
        font-size: 0.8rem !important;
    }

    .neo-vendu-wrap .nv-select-btn {
        width: 32px;
        height: 32px;
        top: 12px;
        right: 12px;
    }

    .neo-vendu-wrap .nv-toast {
        bottom: 75px;
        max-width: calc(100vw - 24px);
        padding: 10px 18px;
        font-size: 0.82rem;
    }

    /* Cart footer responsive */
    .neo-vendu-wrap .nv-cart-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .neo-vendu-wrap .nv-btn-send {
        width: 100%;
        justify-content: center;
    }
}

/* ── SMALL PHONES (<= 380px) ── */
@media (max-width: 380px) {
    .neo-vendu-wrap .nv-header {
        padding: 0 6px;
    }

    .neo-vendu-wrap .nv-logo {
        height: 28px;
        max-width: 80px;
    }

    .neo-vendu-wrap .nv-logo img {
        max-height: 28px;
    }

    .neo-vendu-wrap .nv-results-capsule {
        height: 30px;
        padding: 0 8px;
        font-size: 0.66rem;
    }

    .neo-vendu-wrap .nv-btn-estimate,
    .neo-vendu-wrap .nv-cart-trigger,
    .neo-vendu-wrap .nv-btn-pro {
        width: 30px;
        height: 30px;
        min-width: 30px;
    }

    .neo-vendu-wrap .nv-switch-btn {
        padding: 7px 14px;
        font-size: 0.78rem;
    }
}

/* ── Loading spinner ── */
.neo-vendu-wrap .nv-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    flex-direction: column;
    gap: 20px;
}

.neo-vendu-wrap .nv-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #F1F5F9;
    border-top-color: var(--brand-orange);
    border-radius: 50%;
    animation: nvSpin 0.8s linear infinite;
}

@keyframes nvSpin {
    to {
        transform: rotate(360deg);
    }
}

/* ── Card Highlight Effect ── */
.neo-vendu-wrap .nv-card.highlighted {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 40px rgba(232, 94, 18, 0.25), 0 0 0 4px var(--brand-orange-soft);
    border-color: var(--brand-orange);
    background-color: #FFF7ED; /* Beautiful soft peach tint */
    z-index: 20;
}

/* ── Listing Glass Overlay ── */
.neo-vendu-wrap .nv-list-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 100;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.neo-vendu-wrap .nv-list-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.neo-vendu-wrap .nv-list-spinner {
    width: 45px;
    height: 45px;
    border: 4px solid rgba(232, 94, 18, 0.1);
    border-top-color: var(--brand-orange);
    border-radius: 50%;
    animation: nvSpin 0.8s linear infinite;
}

.neo-vendu-wrap .nv-list-loading-text {
    font-size: 1rem;
    font-weight: 700;
    color: var(--brand-black);
}

/* ── App Loader ── */
.neo-vendu-wrap .nv-app-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at center, #0F172A 0%, #020617 100%);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.8s;
    font-family: 'Inter', sans-serif;
    color: white;
}

.neo-vendu-wrap .nv-app-loader.fade-out {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.neo-vendu-wrap .nv-loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    max-width: 400px;
    width: 90%;
}

.neo-vendu-wrap .nv-loader-logo-wrap {
    position: relative;
    width: 160px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.02);
}

.neo-vendu-wrap .nv-loader-logo {
    max-width: 110px;
    height: auto;
    z-index: 10;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.15));
    animation: nvLogoFloat 3s ease-in-out infinite;
}

@keyframes nvLogoFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
}

.neo-vendu-wrap .nv-loader-ring {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid transparent;
    border-top-color: var(--brand-orange, #E85E12);
    border-bottom-color: var(--brand-orange, #E85E12);
    border-radius: 50%;
    animation: nvRotateRing 2s linear infinite;
    opacity: 0.8;
}

.neo-vendu-wrap .nv-loader-ring-inner {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border: 1px dashed rgba(232, 94, 18, 0.2);
    border-radius: 50%;
    animation: nvRotateRingReverse 6s linear infinite;
}

@keyframes nvRotateRing {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes nvRotateRingReverse {
    from {
        transform: rotate(360deg);
    }
    to {
        transform: rotate(0deg);
    }
}

.neo-vendu-wrap .nv-loader-status {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.neo-vendu-wrap .nv-loader-status-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: nvPulseText 1.5s infinite;
}

@keyframes nvPulseText {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.neo-vendu-wrap .nv-loader-bar-wrap {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.neo-vendu-wrap .nv-loader-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #E85E12 0%, #FF7A30 100%);
    box-shadow: 0 0 10px rgba(232, 94, 18, 0.5);
    border-radius: 10px;
    transition: width 0.4s cubic-bezier(0.1, 0.8, 0.25, 1);
}

.neo-vendu-wrap .nv-loader-count {
    font-size: 0.8rem;
    font-weight: 700;
    color: #64748B;
    font-variant-numeric: tabular-nums;
    font-family: 'Inter', sans-serif;
}

/* Blur public version fields */
.neo-vendu-wrap .nv-blur-public {
    filter: blur(4px);
    user-select: none;
    pointer-events: none;
    display: inline-block;
}

/* ═══════════════ HIDE OPTIONS (Instant zero-latency toggling) ═══════════════ */
.neo-vendu-wrap.nv-hidden-prix .nv-price,
body.nv-hidden-prix .nv-price,
.neo-vendu-wrap.nv-hidden-prix .nv-popup-price,
body.nv-hidden-prix .nv-popup-price,
.neo-vendu-wrap.nv-hidden-prix .nv-comp-price,
body.nv-hidden-prix .nv-comp-price,
.neo-vendu-wrap.nv-hidden-prix .nv-comp-ratio,
body.nv-hidden-prix .nv-comp-ratio {
    display: none !important;
}

.neo-vendu-wrap.nv-hidden-prix .nv-comp-price-hidden,
body.nv-hidden-prix .nv-comp-price-hidden,
.neo-vendu-wrap.nv-hidden-prix .nv-price-hidden-box,
body.nv-hidden-prix .nv-price-hidden-box,
.neo-vendu-wrap.nv-hidden-prix .nv-popup-price-hidden,
body.nv-hidden-prix .nv-popup-price-hidden {
    display: block !important;
}

.neo-vendu-wrap.nv-hidden-commission .nv-secret-comm,
body.nv-hidden-commission .nv-secret-comm,
.neo-vendu-wrap.nv-hidden-commission .nv-comp-comm,
body.nv-hidden-commission .nv-comp-comm {
    display: none !important;
}

.neo-vendu-wrap.nv-hidden-vendeur .nv-secret-vendeur,
body.nv-hidden-vendeur .nv-secret-vendeur,
.neo-vendu-wrap.nv-hidden-vendeur .nv-secret-collab,
body.nv-hidden-vendeur .nv-secret-collab,
.neo-vendu-wrap.nv-hidden-vendeur .nv-comp-vendeur,
body.nv-hidden-vendeur .nv-comp-vendeur,
.neo-vendu-wrap.nv-hidden-vendeur .nv-comp-collab,
body.nv-hidden-vendeur .nv-comp-collab {
    display: none !important;
}

.neo-vendu-wrap.nv-hidden-notaire .nv-secret-notaire,
body.nv-hidden-notaire .nv-secret-notaire,
.neo-vendu-wrap.nv-hidden-notaire .nv-comp-notaire,
body.nv-hidden-notaire .nv-comp-notaire {
    display: none !important;
}

.neo-vendu-wrap.nv-hidden-rue .nv-address-num,
body.nv-hidden-rue .nv-address-num {
    display: none !important;
}

/* If all 3 confidential team rows are hidden, hide the secret container completely */
.neo-vendu-wrap.nv-hidden-vendeur.nv-hidden-notaire.nv-hidden-commission .nv-secret,
body.nv-hidden-vendeur.nv-hidden-notaire.nv-hidden-commission .nv-secret,
.neo-vendu-wrap.nv-hidden-vendeur.nv-hidden-notaire.nv-hidden-commission .nv-secret-compare-box,
body.nv-hidden-vendeur.nv-hidden-notaire.nv-hidden-commission .nv-secret-compare-box {
    display: none !important;
}

.nv-hide-option-label {
    user-select: none;
    -webkit-user-select: none;
    padding: 6px 8px;
    border-radius: 6px;
    transition: background 0.15s ease;
}

.nv-hide-option-label:hover {
    background: #f1f5f9;
}