.ipimoveis-property-filters {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: 0 0 2rem;
    padding: 1rem;
    border: 1px solid #d9dfe5;
    background: #fff;
}

.ipimoveis-property-filters *,
.ipimoveis-property-filters *::before,
.ipimoveis-property-filters *::after {
    box-sizing: border-box;
}

.ipimoveis-property-filters__fields {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.ipimoveis-property-filters__field {
    display: grid;
    min-width: 0;
    gap: .35rem;
    font-weight: 600;
}

.ipimoveis-property-filters__field span {
    line-height: 1.4;
    color: #3a0d1e;
}

.ipimoveis-property-filters__field select {
    display: block;
    max-width: 100%;
    width: 100%;
    min-height: 2.75rem;
    padding: .45rem .65rem;
    border: 1px solid #aab4bf;
    background: #fff;
    font: inherit;
    font-size: 1rem;
}

.ipimoveis-property-filters__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
}

.ipimoveis-property-filters__actions button {
    min-height: 44px;
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(90deg, #B8935F 0%, #E8D5A3 45%, #C9A178 100%);
    color: #3a0d1e !important;
    cursor: pointer;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0.5px;
    box-shadow: 0 6px 15px rgba(58, 13, 30, 0.25);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none !important;
    -webkit-appearance: none;
}

.ipimoveis-property-filters__actions button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transition: all 0.6s ease;
}

.ipimoveis-property-filters__actions button:hover::after {
    left: 100%;
}

.ipimoveis-property-filters__actions button:hover {
    background: linear-gradient(90deg, #9C7C50 0%, #C5B58A 45%, #AA8866 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(58, 13, 30, 0.4);
    color: #3a0d1e !important;
}

.ipimoveis-property-filters__actions button:focus,
.ipimoveis-property-filters__actions button:focus-visible {
    color: #3a0d1e !important;
}

.ipimoveis-property-filters__actions a {
    color: #3a0d1e;
}

.ipimoveis-property-filters__actions button:focus-visible,
.ipimoveis-property-filters__actions a:focus-visible,
.ipimoveis-property-filters__field select:focus-visible {
    outline: 3px solid #f1b24a;
    outline-offset: 2px;
}

@media (max-width: 900px) {
    .ipimoveis-property-filters__fields {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .ipimoveis-property-filters {
        padding: .875rem;
    }

    .ipimoveis-property-filters__fields {
        grid-template-columns: 1fr;
    }

    .ipimoveis-property-filters__actions {
        flex-direction: column;
        align-items: stretch;
        gap: .75rem;
    }

    .ipimoveis-property-filters__actions button {
        width: 100%;
    }

    .ipimoveis-property-filters__actions a {
        min-height: 2.75rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
}
