.mm-property-filter-section {
    background: #f4f7fc;
    padding: 35px 0 42px;
}

.mm-property-filter-heading {
    margin-bottom: 20px;
}

.mm-property-filter-heading h2 {
    color: #071f43;
    margin: 6px 0;
}

.mm-property-filter-heading p {
    color: #64748b;
}

.mm-property-filter-form {
    background: #fff;
    border: 1px solid #e1e8f2;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(7,31,67,.05);
}

.mm-property-filter-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 17px;
}

.mm-property-filter-grid label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.mm-property-filter-grid label span {
    font-size: 13px;
    font-weight: 700;
    color: #18345b;
}

.mm-property-filter-grid input,
.mm-property-filter-grid select {
    width: 100%;
    min-width: 0;
    min-height: 46px;
    padding: 11px 13px;
    border: 1px solid #d6dfeb;
    border-radius: 9px;
    background: #fff;
    color: #172b4d;
    font: inherit;
}

.mm-property-filter-grid input:focus,
.mm-property-filter-grid select:focus {
    outline: 2px solid #2563eb;
    outline-offset: 1px;
}

.mm-property-keywords {
    grid-column: span 2;
}

.mm-property-custom-type[hidden] {
    display: none !important;
}

.mm-property-filter-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 22px;
}

.mm-property-filter-actions button {
    border: 0;
    background: #1859bf;
    color: #fff;
    border-radius: 9px;
    padding: 14px 25px;
    font-weight: 700;
    cursor: pointer;
}

.mm-property-filter-actions a {
    color: #1859bf;
    font-weight: 700;
    text-decoration: none;
}

@media(max-width:1000px) {
    .mm-property-filter-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media(max-width:600px) {
    .mm-property-filter-section {
        padding: 22px 0 30px;
    }

    .mm-property-filter-form {
        padding: 16px;
    }

    .mm-property-filter-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .mm-property-keywords {
        grid-column: auto;
    }

    .mm-property-filter-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .mm-property-filter-actions button,
    .mm-property-filter-actions a {
        width: 100%;
        text-align: center;
    }
}
