/* ═══════════════════════════════════════════════════════════════════════════════
   LISTING FILTERS 2026 - VARIANTE A : PILLS GLASSMORPHISM
   ═══════════════════════════════════════════════════════════════════════════════

   Design: Pills flottantes avec glassmorphism sur fond Navy
   - Fond section: Navy transparent avec backdrop-filter
   - Boutons: Glassmorphism avec bordures subtiles
   - Etat actif: Gold gradient
   - Mobile-first, sticky positioning

   Date: 2026-01-31
   ═══════════════════════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════════════
   SECURISATION AFFICHAGE
   ═══════════════════════════════════════════════════════════════════════════════ */
.sxo-2026-wrapper section[data-section-type="listing_filters"],
.sxo-2026-wrapper .trust-listing-filters-2026 {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   SECTION ROOT - Glassmorphism Navy
   ═══════════════════════════════════════════════════════════════════════════════ */
.sxo-2026-wrapper .trust-listing-filters-2026 {
    background: linear-gradient(135deg, rgba(26, 54, 93, 0.95) 0%, rgba(10, 22, 40, 0.98) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 24px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(196, 163, 90, 0.2);
}

@media (min-width: 768px) {
    .sxo-2026-wrapper .trust-listing-filters-2026 {
        padding: 32px 0;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   CONTAINER
   ═══════════════════════════════════════════════════════════════════════════════ */
.sxo-2026-wrapper .trust-listing-filters-2026 .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 768px) {
    .sxo-2026-wrapper .trust-listing-filters-2026 .container {
        padding: 0 24px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   TITLE (optionnel)
   ═══════════════════════════════════════════════════════════════════════════════ */
.sxo-2026-wrapper .listing-filters-title-2026 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .sxo-2026-wrapper .listing-filters-title-2026 {
        font-size: 1.5rem;
        margin-bottom: 24px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   FILTERS CONTAINER
   ═══════════════════════════════════════════════════════════════════════════════ */
.sxo-2026-wrapper .listing-filters-container-2026 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

@media (min-width: 768px) {
    .sxo-2026-wrapper .listing-filters-container-2026 {
        gap: 12px;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   FILTER BUTTON - Pill Glassmorphism
   ═══════════════════════════════════════════════════════════════════════════════ */
.sxo-2026-wrapper .listing-filters-button-2026 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-family: inherit;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 48px;
}

@media (min-width: 768px) {
    .sxo-2026-wrapper .listing-filters-button-2026 {
        padding: 12px 24px;
        font-size: 0.875rem;
        min-height: 48px;
    }
}

/* Icon dans bouton */
.sxo-2026-wrapper .listing-filters-button-2026 i {
    font-size: 0.875rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

/* Hover state */
.sxo-2026-wrapper .listing-filters-button-2026:hover {
    background: rgba(196, 163, 90, 0.15);
    border-color: rgba(196, 163, 90, 0.4);
    color: #ffffff;
}

.sxo-2026-wrapper .listing-filters-button-2026:hover i {
    opacity: 1;
}

/* Active state - Gold gradient */
.sxo-2026-wrapper .listing-filters-button-2026.active {
    background: linear-gradient(135deg, #c4a35a 0%, #d4b86a 100%);
    color: #0a1628;
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(196, 163, 90, 0.3);
}

.sxo-2026-wrapper .listing-filters-button-2026.active i {
    opacity: 1;
}

/* Focus state pour accessibilite */
.sxo-2026-wrapper .listing-filters-button-2026:focus {
    outline: 2px solid rgba(196, 163, 90, 0.5);
    outline-offset: 2px;
}

.sxo-2026-wrapper .listing-filters-button-2026:focus:not(:focus-visible) {
    outline: none;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   FILTER COUNT BADGE
   ═══════════════════════════════════════════════════════════════════════════════ */
.sxo-2026-wrapper .listing-filters-count-2026 {
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.7;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 12px;
    margin-left: 2px;
}

.sxo-2026-wrapper .listing-filters-button-2026.active .listing-filters-count-2026 {
    background: rgba(10, 22, 40, 0.2);
    opacity: 1;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   DATA MISSING
   ═══════════════════════════════════════════════════════════════════════════════ */
.sxo-2026-wrapper .trust-listing-filters-2026 .data-missing-2026 {
    color: #fbbf24;
    font-weight: 600;
    text-align: center;
    padding: 16px;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 8px;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   PRINT STYLES
   ═══════════════════════════════════════════════════════════════════════════════ */
@media print {
    .sxo-2026-wrapper .trust-listing-filters-2026 {
        background: #f8f9fa !important;
        position: relative !important;
        backdrop-filter: none !important;
    }

    .sxo-2026-wrapper .listing-filters-button-2026 {
        background: #ffffff !important;
        color: #1e3a5f !important;
        border: 1px solid #dee2e6 !important;
        backdrop-filter: none !important;
    }

    .sxo-2026-wrapper .listing-filters-button-2026.active {
        background: #c4a35a !important;
        color: #000000 !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   ACCESSIBILITY - REDUCED MOTION
   ═══════════════════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    .sxo-2026-wrapper .listing-filters-button-2026 {
        transition: none;
    }
}
