.facetwp-type-event_date .mpo-ef-buttons,
.facetwp-type-tax_buttons .mpo-ef-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.facetwp-type-event_date .mpo-ef-btn,
.facetwp-type-tax_buttons .mpo-ef-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border: 1.5px solid #111;
    border-radius: 0;
    background: #fff;
    color: #111;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.2;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.facetwp-type-event_date .mpo-ef-btn:hover,
.facetwp-type-tax_buttons .mpo-ef-btn:hover {
    background: #f2f2f2;
}

.facetwp-type-event_date .mpo-ef-btn:focus-visible,
.facetwp-type-tax_buttons .mpo-ef-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.25);
}

.facetwp-type-event_date .mpo-ef-btn.active,
.facetwp-type-tax_buttons .mpo-ef-btn.active {
    background: #111;
    color: #fff;
}

.facetwp-type-event_date .mpo-ef-btn.active:hover,
.facetwp-type-tax_buttons .mpo-ef-btn.active:hover {
    background: #000;
}

.facetwp-type-tax_buttons .mpo-ef-btn.disabled {
    opacity: 0.4;
    cursor: default;
    pointer-events: none;
}

/* Date range panel (under the buttons) */
.facetwp-type-event_date .mpo-ef-range {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 14px;
}

.facetwp-type-event_date .mpo-ef-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.facetwp-type-event_date .mpo-ef-label {
    font-size: 12px;
    font-weight: 600;
    color: #555;
    letter-spacing: 0.02em;
}

.facetwp-type-event_date .mpo-ef-range input[type="date"] {
    padding: 9px 12px;
    border: 1.5px solid #111;
    border-radius: 0;
    font-size: 14px;
    color: #111;
    background: #fff;
    -webkit-appearance: none;
    appearance: none;
}

.facetwp-type-event_date .mpo-ef-range input[type="date"]:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.2);
}

.facetwp-type-event_date .mpo-ef-sep {
    display: none;
}

@media (max-width: 480px) {
    .facetwp-type-event_date .mpo-ef-range input[type="date"] {
        width: 100%;
    }

    .facetwp-type-event_date .mpo-ef-field {
        width: 100%;
    }
}
