
.filter-panel {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 800px;
    background-color: var(--color-background);
    border: 1px solid var(--color-gray);
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.filter-panel button {
    display: block;
    margin: 0 auto;
}

.filter-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.filter-header h3 {
    margin: 0;
    text-align: center;
    flex-grow: 1;
    letter-spacing: 0.2;
}

.close-button {
    background: none;
    border: none;
    color: var(--color-button-close);
    font-size: 24px;
    cursor: pointer;
    margin-left: auto;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.filter-category {
    flex: 1;
    min-width: 200px;
}

.filter-category h4 {
    margin-top: 0;
    color: var(--color-text-dark);
}

.filter-category label {
    display: block;
    margin-bottom: 10px;
    color: var(--color-text-dark);
}
.filters-btn {
    display: flex;
    justify-content: center;
    gap: 10px; /* Espacio entre botones */
    margin-top: 20px;
}

@media screen and (max-width: 700px) {
    .filter-container .filter-text{
        display: none;
    }
    .filter-panel {
        display: none;
        max-width: 80%;
        height: 85%;
        overflow-y: auto;
        /* max-height: 90vh; */
        border-radius: 10px;
    }

    filter-options {
        flex-direction: column;
        gap: 15px;
    }

    .filter-category {
        min-width: 90%;
    }
    .filter-category {
        border-bottom: 1px solid #ddd;
        padding-bottom: 10px;
        margin-bottom: 10px;
    }

    .filter-header {
        flex-direction: row;
        justify-content: space-between;

    }

    .filter-header h3 {
        font-size: 18px;
        text-align: left;
        letter-spacing: 0;
    }

    .close-button {
        font-size: 28px;
    }

    .filter-panel {
        width: 95%;
        padding: 15px;
    }
}
