/* Modal de filtres */
.wisal-filter-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}
.wisal-filter-modal.wisal-modal-visible {
    display: flex;
    opacity: 1 !important;
    visibility: visible !important;
}

.wisal-filter-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
}

.wisal-filter-modal-content {
    position: relative;
    background: #fff;
    width: 90%;
    max-width: 400px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 1;
    overflow: hidden;
}

.wisal-filter-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid #e5e7eb;
}

.wisal-filter-modal-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.wisal-filter-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: #9ca3af;
}

.wisal-filter-modal-body {
    padding: 20px;
}

.wisal-filter-group {
    margin-bottom: 18px;
}

.wisal-filter-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.wisal-filter-chips {
    display: flex;
    gap: 8px;
}

.wisal-chip {
    border: 1px solid #d1d5db;
    background: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    cursor: pointer;
}

.wisal-chip.active {
    background: #000;
    color: #fff;
    border-color: #000;
}

.wisal-filter-select {
    width: 100%;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    outline: none;
}

.wisal-filter-modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}