.filter-ha-form,
.filter-ha-form * {
    box-sizing: border-box;
}

.filter-ha-form {
    width: 100%;
    padding: 18px;
    background: #ffffff;
    border: 1px solid #ececec;
    border-radius: 18px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
    font-family: inherit;
}

.filter-ha-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.filter-ha-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 800;
    color: #171717;
}

.filter-ha-reset {
    font-size: 12px;
    color: #ef6c00;
    text-decoration: none;
    white-space: nowrap;
}

.filter-ha-section {
    border-top: 1px solid #f0f0f0;
    padding: 12px 0;
}

.filter-ha-section-title {
    width: 100%;
    border: 0;
    background: transparent;
    padding: 0;
    color: #222;
    cursor: pointer;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.filter-ha-section-title::after {
    content: "⌄";
    font-size: 18px;
    color: #777;
    transition: transform .2s ease;
}

.filter-ha-section:not(.is-open) .filter-ha-section-title::after {
    transform: rotate(90deg);
}

.filter-ha-section-content {
    padding-top: 12px;
}

.filter-ha-section:not(.is-open) .filter-ha-section-content {
    display: none;
}

.filter-ha-price-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.filter-ha-price-row label span {
    display: block;
    margin-bottom: 6px;
    font-size: 12px;
    color: #707070;
}

.filter-ha-price-row input {
    width: 100%;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 11px 12px;
    outline: none;
    background: #fafafa;
    color: #222;
    transition: border-color .2s ease, background .2s ease;
}

.filter-ha-price-row input:focus {
    border-color: #ef6c00;
    background: #fff;
}

.filter-ha-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 260px;
    overflow: auto;
    padding-left: 4px;
}

.filter-ha-option {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 10px;
    border-radius: 12px;
    cursor: pointer;
    color: #303030;
    transition: background .2s ease;
}

.filter-ha-option:hover {
    background: #fff4eb;
}

.filter-ha-option input {
    width: 16px;
    height: 16px;
    accent-color: #ef6c00;
}

.filter-ha-option span {
    flex: 1;
    font-size: 14px;
}

.filter-ha-option em {
    min-width: 28px;
    height: 22px;
    padding: 2px 7px;
    border-radius: 999px;
    background: #f5f5f5;
    color: #777;
    font-size: 11px;
    font-style: normal;
    text-align: center;
}

.filter-ha-actions {
    padding-top: 14px;
}

.filter-ha-submit {
    width: 100%;
    border: 0;
    border-radius: 14px;
    padding: 13px 18px;
    background: #ef6c00;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 800;
    transition: transform .2s ease, opacity .2s ease;
}

.filter-ha-submit:hover {
    opacity: .92;
    transform: translateY(-1px);
}

.filter-ha-notice {
    padding: 14px;
    border-radius: 12px;
    background: #fff4eb;
    color: #9a4a00;
}

@media (max-width: 767px) {
    .filter-ha-form {
        padding: 14px;
        border-radius: 14px;
    }

    .filter-ha-price-row {
        grid-template-columns: 1fr;
    }
}
