
/* ═══════════════════════════════════════════════════════════════════════════
   Chips filtres — Caractéristiques dans les filtres avancés
   ═══════════════════════════════════════════════════════════════════════════ */

.ie-chips-section {
    margin-top: 16px;
}

.ie-chips-label {
    display: block;
    font-size: 15px;
    color: #8e8e8e;
    margin-bottom: 10px;
    font-weight: 500;
}

.ie-chips-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ie-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    border: 1.5px solid #d9d9d9;
    background: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    transition: all 0.18s ease;
    user-select: none;
}

.ie-chip input[type="checkbox"] {
    display: none;
}

.ie-chip:hover {
    border-color: #005baa;
    color: #005baa;
    background: #f0f7ff;
}

.ie-chip--active,
.ie-chip--active:hover {
    background: #005baa;
    border-color: #005baa;
    color: #fff;
}

.ie-chip--active .ie-chip-text::before {
    content: '✓ ';
    font-weight: 700;
}

/* Badge compteur de filtres actifs */
.ie-filter-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background: #005baa;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    margin-left: 6px;
}

.ie-filter-count:empty {
    display: none;
}

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 600px) {
    .ie-chip {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .ie-chips-wrap {
        gap: 6px;
    }
}
