.rcimov-filter,
.rcimov-grid,
.rcimov-gallery,
.rcimov-detail-items,
.rcimov-price-card,
.rcimov-description,
.rcimov-pagination {
    box-sizing: border-box;
}

.rcimov-filter *,
.rcimov-grid *,
.rcimov-gallery *,
.rcimov-detail-items *,
.rcimov-price-card * {
    box-sizing: border-box;
}

/* Filtros */
.rcimov-filter {
    --rcimov-accent: #e2aa1e;
    --rcimov-accent-hover: #cc9714;
    --rcimov-control-bg: #fff;
    --rcimov-control-text: #252525;
    --rcimov-border: #d7d7d7;
    position: relative;
    width: 100%;
    margin: 0 0 28px;
    color: inherit;
    overflow: visible;
}

.rcimov-filter__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    align-items: end;
}

.rcimov-filter__grid--advanced {
    margin-top: 0;
}

.rcimov-field {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 7px;
    color: inherit;
}

.rcimov-field > label,
.rcimov-field__label {
    display: block;
    margin: 0;
    color: inherit;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: .03em;
}

.rcimov-field input[type="text"],
.rcimov-field input[type="search"],
.rcimov-field select,
.rcimov-multiselect__trigger {
    width: 100%;
    min-height: 46px;
    margin: 0;
    padding: 9px 12px;
    border: 1px solid var(--rcimov-border);
    border-radius: 6px;
    outline: 0;
    background: var(--rcimov-control-bg);
    color: var(--rcimov-control-text);
    font: inherit;
    line-height: 1.35;
    box-shadow: none;
}

.rcimov-field input[type="text"]:focus,
.rcimov-field input[type="search"]:focus,
.rcimov-field select:focus,
.rcimov-multiselect__trigger:focus-visible {
    border-color: var(--rcimov-accent);
    box-shadow: 0 0 0 3px rgba(226, 170, 30, .2);
}

.rcimov-filter__actions {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 16px;
}

.rcimov-button {
    min-height: 46px;
    margin: 0;
    padding: 10px 20px;
    border: 1px solid var(--rcimov-accent);
    border-radius: 6px;
    background: var(--rcimov-accent);
    color: #fff;
    font: inherit;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.rcimov-button:hover,
.rcimov-button:focus-visible {
    border-color: var(--rcimov-accent-hover);
    background: var(--rcimov-accent-hover);
    color: #fff;
}

.rcimov-button:active {
    transform: translateY(1px);
}

.rcimov-button--secondary {
    border-color: var(--rcimov-border);
    background: #fff;
    color: #333;
}

.rcimov-button--secondary:hover,
.rcimov-button--secondary:focus-visible {
    border-color: #c8c8c8;
    background: #f4f4f4;
    color: #222;
}

.rcimov-filter__advanced {
    position: relative;
    z-index: 10;
    margin-top: 16px;
    padding: 18px;
    border: 1px solid rgba(127, 127, 127, .25);
    border-radius: 8px;
    background: rgba(127, 127, 127, .08);
    color: inherit;
    overflow: visible;
}

.rcimov-filter__advanced[hidden] {
    display: none !important;
}

.rcimov-filter__checks {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px 14px;
    margin-top: 16px;
}

.rcimov-check {
    display: flex;
    gap: 8px;
    align-items: center;
    min-width: 0;
    margin: 0;
    color: inherit;
    font-size: 14px;
    line-height: 1.3;
    cursor: pointer;
}

.rcimov-check input {
    width: 17px;
    height: 17px;
    margin: 0;
    flex: 0 0 17px;
    accent-color: var(--rcimov-accent);
}

/* Multisseleção própria, sem dependência de Select2 */
.rcimov-multiselect {
    position: relative;
    z-index: 1;
    width: 100%;
}

.rcimov-multiselect.is-open {
    z-index: 1000;
}

.rcimov-multiselect__trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    text-align: left;
    cursor: pointer;
}

.rcimov-multiselect__trigger > span:first-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rcimov-multiselect__chevron {
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    border-right: 2px solid #777;
    border-bottom: 2px solid #777;
    transform: rotate(45deg) translateY(-2px);
    transition: transform .18s ease;
}

.rcimov-multiselect.is-open .rcimov-multiselect__chevron {
    transform: rotate(225deg) translate(-2px, -2px);
}

.rcimov-multiselect__panel {
    position: absolute;
    z-index: 9999;
    top: calc(100% + 6px);
    left: 0;
    width: max(100%, 240px);
    min-width: 100%;
    overflow: hidden;
    border: 1px solid #d6d6d6;
    border-radius: 7px;
    background: #fff;
    color: #252525;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .2);
}

.rcimov-multiselect__panel[hidden] {
    display: none !important;
}

.rcimov-multiselect__search {
    padding: 9px;
    border-bottom: 1px solid #e7e7e7;
}

.rcimov-multiselect__search input[type="search"] {
    min-height: 40px;
    padding: 7px 10px;
}

.rcimov-multiselect__options {
    max-height: 245px;
    overflow: auto;
    overscroll-behavior: contain;
    padding: 6px;
}

.rcimov-multiselect__option {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    margin: 0;
    padding: 9px 8px;
    border-radius: 5px;
    color: #252525;
    font-size: 14px;
    line-height: 1.25;
    cursor: pointer;
}

.rcimov-multiselect__option:hover,
.rcimov-multiselect__option:focus-within {
    background: #f2f2f2;
}

.rcimov-multiselect__option[hidden] {
    display: none !important;
}

.rcimov-multiselect__option input {
    width: 17px;
    height: 17px;
    margin: 0;
    flex: 0 0 17px;
    accent-color: var(--rcimov-accent);
}

.rcimov-multiselect__actions {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 10px;
    border-top: 1px solid #e7e7e7;
    background: #fafafa;
}

.rcimov-multiselect__actions button {
    margin: 0;
    padding: 7px 9px;
    border: 0;
    background: transparent;
    color: #555;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.rcimov-multiselect__actions button:last-child {
    color: #9a6d00;
}

.rcimov-multiselect__native {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    border: 0 !important;
    white-space: nowrap !important;
}

/* Cards */
.rcimov-heading {
    margin: 0 0 20px;
    font-size: 1.6em;
    line-height: 1.2;
}

.rcimov-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
    width: 100%;
}

.rcimov-card {
    width: 100%;
    min-width: 0;
    height: auto;
    align-self: start;
    overflow: hidden;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, .16);
    transition: transform .18s ease, box-shadow .18s ease;
}

.rcimov-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .16);
}

.rcimov-card__link {
    display: flex;
    width: 100%;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.rcimov-card__media {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    flex: 0 0 auto;
    overflow: hidden;
    background-color: #e9e9e9;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.rcimov-card__media--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
    font-size: 14px;
}

.rcimov-card__body {
    width: 100%;
    padding: 14px 20px 16px;
    background: #fff;
}

.rcimov-card__heading,
.rcimov-card__meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.rcimov-card__heading {
    align-items: flex-start;
}

.rcimov-card__heading h3 {
    min-width: 0;
    margin: 0;
    color: #1e1e1e;
    font-size: 1em;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.rcimov-card__heading strong {
    flex: 0 0 auto;
    color: #d59c0e;
    text-align: right;
    white-space: nowrap;
}

.rcimov-card__meta {
    margin-top: 6px;
    color: #666;
    font-size: .8em;
    line-height: 1.25;
}

.rcimov-card__meta span:first-child {
    min-width: 0;
    overflow-wrap: anywhere;
}

.rcimov-card__meta span:last-child {
    flex: 0 0 auto;
    white-space: nowrap;
}

.rcimov-card__facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
    color: #666;
    font-size: .9em;
}

.rcimov-card__facts span {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 5px;
}

.rcimov-card__facts span:nth-child(2) {
    justify-content: center;
}

.rcimov-card__facts span:nth-child(3) {
    justify-content: flex-end;
}

.rcimov-card__facts b {
    min-width: 0;
    font-weight: 500;
    white-space: nowrap;
}

.rcimov-icon {
    display: block;
    width: 23px;
    height: 23px;
    flex: 0 0 23px;
}

/* Paginação e mensagens */
.rcimov-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    padding: 28px 0;
}

.rcimov-pagination a,
.rcimov-pagination__current,
.rcimov-pagination__ellipsis {
    display: inline-flex;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    text-decoration: none;
}

.rcimov-pagination a {
    background: #8d8d8d;
    color: #fff;
}

.rcimov-pagination__current {
    background: #dda623;
    color: #fff;
}

.rcimov-pagination__ellipsis {
    color: #666;
}

.rcimov-notice,
.rcimov-empty {
    padding: 18px;
    border: 1px solid #e4e4e4;
    border-radius: 8px;
    background: #fafafa;
    color: #444;
}

/* Galeria e detalhes */
.rcimov-gallery {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    background: #f1f1f1;
}

.rcimov-gallery--mosaic {
    display: grid;
    height: clamp(420px, 42vw, 630px);
    grid-template-columns: minmax(0, 2fr) minmax(260px, 1fr);
    gap: 8px;
    background: #fff;
}

.rcimov-gallery__main,
.rcimov-gallery__side,
.rcimov-gallery__item {
    min-width: 0;
    min-height: 0;
}

.rcimov-gallery__main {
    height: 100%;
}

.rcimov-gallery__side {
    position: relative;
    display: grid;
    height: 100%;
    gap: 8px;
}

.rcimov-gallery__side--1 { grid-template-rows: minmax(0, 1fr); }
.rcimov-gallery__side--2 { grid-template-rows: repeat(2, minmax(0, 1fr)); }
.rcimov-gallery__side--3 { grid-template-rows: repeat(3, minmax(0, 1fr)); }

.rcimov-gallery__item {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #e8e8e8;
    cursor: zoom-in;
}

.rcimov-gallery__item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform .28s ease;
}

.rcimov-gallery__item:hover img {
    transform: scale(1.025);
}

.rcimov-gallery--single {
    height: clamp(380px, 45vw, 630px);
}

.rcimov-gallery__item--single img {
    object-fit: contain;
}

.rcimov-gallery__more {
    position: absolute;
    z-index: 2;
    right: 14px;
    bottom: 14px;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .72);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
}

.rcimov-gallery__total {
    position: absolute;
    z-index: 3;
    left: 14px;
    bottom: 14px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .62);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    pointer-events: none;
}

.rcimov-gallery--empty {
    display: flex;
    min-height: 280px;
    align-items: center;
    justify-content: center;
}

.rcimov-detail-title > span {
    color: #666;
    font-size: 14px;
}

.rcimov-detail-title h1 {
    margin: 4px 0 0;
    font-size: 2em;
    line-height: 1.2;
}

.rcimov-detail-items {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.rcimov-detail-items li {
    display: flex;
    min-width: 0;
    min-height: 68px;
    align-items: center;
    gap: 9px;
    padding: 12px;
    border: 1px solid #e6e6e6;
    border-radius: 7px;
}

.rcimov-detail-items strong {
    display: block;
    font-size: 14px;
}

.rcimov-detail-items small {
    display: block;
    margin: 0;
    color: #888;
    font-size: 12px;
    line-height: 1;
}

.rcimov-description {
    line-height: 1.65;
}

.rcimov-description > :first-child {
    margin-top: 0;
}

.rcimov-price-card {
    padding: 20px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, .15);
}

.rcimov-price-card > span {
    display: block;
    color: #555;
}

.rcimov-price-card > strong {
    display: block;
    margin-top: 4px;
    color: #dda623;
    font-size: 2em;
    line-height: 1.15;
}

.rcimov-price-card dl {
    margin: 20px 0 0;
    padding-top: 14px;
    border-top: 1px solid #ddd;
}

.rcimov-price-card dl div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 7px 0;
}

.rcimov-price-card dt,
.rcimov-price-card dd {
    margin: 0;
}

/* Lightbox */
.rcimov-lightbox[hidden] {
    display: none !important;
}

.rcimov-lightbox {
    position: fixed;
    z-index: 999999;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 34px 82px 54px;
    background: rgba(0, 0, 0, .93);
    touch-action: pan-y;
}

.rcimov-lightbox figure {
    display: flex;
    width: 100%;
    max-width: 1400px;
    max-height: 90vh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.rcimov-lightbox img {
    display: block;
    max-width: 100%;
    max-height: 82vh;
    margin: auto;
    object-fit: contain;
    user-select: none;
}

.rcimov-lightbox figcaption {
    min-height: 18px;
    margin-top: 8px;
    color: #fff;
    font-size: 13px;
    text-align: center;
}

.rcimov-lightbox__close,
.rcimov-lightbox__nav {
    border: 0;
    color: #fff;
    cursor: pointer;
}

.rcimov-lightbox__close {
    position: fixed;
    z-index: 2;
    top: 16px;
    right: 22px;
    padding: 4px 8px;
    background: transparent;
    font-size: 42px;
    line-height: 1;
}

.rcimov-lightbox__nav {
    position: fixed;
    z-index: 2;
    top: 50%;
    width: 48px;
    height: 48px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: rgba(255, 255, 255, .14);
    font-size: 34px;
    line-height: 1;
}

.rcimov-lightbox__nav:hover,
.rcimov-lightbox__nav:focus-visible {
    background: rgba(255, 255, 255, .24);
}

.rcimov-lightbox__nav--prev { left: 18px; }
.rcimov-lightbox__nav--next { right: 18px; }

.rcimov-lightbox__counter {
    position: fixed;
    bottom: 18px;
    left: 50%;
    padding: 6px 11px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    font-size: 13px;
    line-height: 1;
}

.rcimov-lightbox-open {
    overflow: hidden;
}

/* Linha principal completa no desktop: 4 campos + ações */
@media (min-width: 1025px) {
    .rcimov-filter {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        column-gap: 14px;
        align-items: end;
    }

    .rcimov-filter > .rcimov-filter__grid {
        grid-column: 1;
        grid-row: 1;
    }

    .rcimov-filter > .rcimov-filter__actions {
        grid-column: 2;
        grid-row: 1;
        align-self: end;
        flex-wrap: nowrap;
        margin-top: 0;
    }

    .rcimov-filter > .rcimov-filter__actions .rcimov-button {
        width: auto;
        padding-right: 16px;
        padding-left: 16px;
        white-space: nowrap;
    }

    .rcimov-filter > .rcimov-filter__advanced {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100%;
    }
}

@media (max-width: 1024px) {
    .rcimov-filter__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rcimov-filter__checks {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .rcimov-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rcimov-detail-items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .rcimov-gallery--mosaic {
        height: clamp(360px, 52vw, 520px);
        grid-template-columns: minmax(0, 1.75fr) minmax(210px, 1fr);
    }

    .rcimov-gallery--single {
        height: clamp(340px, 58vw, 520px);
    }
}

@media (max-width: 680px) {

    .rcimov-gallery--mosaic {
        display: block;
        height: auto;
        overflow: visible;
        border-radius: 10px;
    }

    .rcimov-gallery__main {
        height: auto;
        overflow: hidden;
        border-radius: 10px;
    }

    .rcimov-gallery__item--main {
        aspect-ratio: 16 / 10;
    }

    .rcimov-gallery__side {
        display: grid;
        height: auto;
        margin-top: 6px;
        grid-template-rows: none;
        gap: 6px;
    }

    .rcimov-gallery__side--1 { grid-template-columns: minmax(0, 1fr); }
    .rcimov-gallery__side--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rcimov-gallery__side--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

    .rcimov-gallery__item--secondary {
        aspect-ratio: 1 / 1;
        border-radius: 8px;
    }

    .rcimov-gallery__side--1 .rcimov-gallery__item--secondary {
        aspect-ratio: 16 / 8;
    }

    .rcimov-gallery--single {
        height: auto;
        min-height: 280px;
    }

    .rcimov-gallery__item--single {
        min-height: 280px;
        aspect-ratio: 16 / 10;
    }

    .rcimov-gallery__total {
        top: 12px;
        right: 12px;
        bottom: auto;
        left: auto;
    }

    .rcimov-gallery__more {
        right: 8px;
        bottom: 8px;
        padding: 5px 8px;
        font-size: 11px;
    }

    .rcimov-lightbox {
        padding: 52px 12px 58px;
    }

    .rcimov-lightbox__nav {
        top: auto;
        bottom: 14px;
        width: 42px;
        height: 42px;
        transform: none;
    }

    .rcimov-lightbox__nav--prev { left: 14px; }
    .rcimov-lightbox__nav--next { right: 14px; }

    .rcimov-lightbox__counter {
        bottom: 26px;
    }
    .rcimov-filter__grid,
    .rcimov-filter__checks,
    .rcimov-grid {
        grid-template-columns: 1fr;
    }

    .rcimov-detail-items {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .rcimov-detail-items li {
        min-height: 62px;
        gap: 7px;
        padding: 10px 8px;
    }

    .rcimov-detail-items strong {
        font-size: 12px;
        line-height: 1.25;
    }

    .rcimov-detail-items small {
        font-size: 10px;
        line-height: 1;
    }

    .rcimov-filter__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .rcimov-button {
        width: 100%;
    }

    .rcimov-filter__advanced {
        padding: 14px;
    }

    .rcimov-multiselect__panel {
        width: 100%;
        min-width: 100%;
    }

    .rcimov-card__heading {
        display: block;
    }

    .rcimov-card__heading strong {
        display: block;
        margin-top: 5px;
        text-align: left;
    }

    .rcimov-card__facts {
        gap: 6px;
        font-size: .82em;
    }

    .rcimov-card__facts span,
    .rcimov-card__facts span:nth-child(2),
    .rcimov-card__facts span:nth-child(3) {
        justify-content: flex-start;
    }

    .rcimov-icon {
        width: 20px;
        height: 20px;
        flex-basis: 20px;
    }

    .rcimov-detail-title h1 {
        font-size: 1.55em;
    }

    .rcimov-price-card > strong {
        font-size: 1.65em;
    }
}

.rcimov-filter--dark {
    color: #fff;
}

.rcimov-filter--dark .rcimov-field > label,
.rcimov-filter--dark .rcimov-field__label,
.rcimov-filter--dark .rcimov-check {
    color: #fff;
}

/* =========================================================
 * RC Imóveis 1.1.0 — experiência, favoritos e conversão
 * ======================================================= */
.rcimov-listing,
.rcimov-favorites,
.rcimov-share,
.rcimov-lead-form,
.rcimov-modal {
    box-sizing: border-box;
}

.rcimov-listing *,
.rcimov-favorites *,
.rcimov-share *,
.rcimov-lead-form *,
.rcimov-modal * {
    box-sizing: border-box;
}

.rcimov-listing {
    position: relative;
    min-height: 120px;
}

.rcimov-listing__loading {
    position: absolute;
    z-index: 50;
    inset: 0;
    display: flex;
    min-height: 160px;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    padding-top: 90px;
    background: rgba(255, 255, 255, .82);
    color: #333;
}

.rcimov-listing__loading[hidden] {
    display: none !important;
}

.rcimov-listing__loading span {
    width: 20px;
    height: 20px;
    border: 3px solid #ddd;
    border-top-color: #dda623;
    border-radius: 50%;
    animation: rcimov-spin .7s linear infinite;
}

.rcimov-listing__loading b {
    font-size: 14px;
    line-height: 20px;
}

@keyframes rcimov-spin {
    to { transform: rotate(360deg); }
}

.rcimov-listing__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.rcimov-listing__count {
    color: #555;
    font-size: 14px;
    line-height: 1.3;
}

.rcimov-listing__count strong {
    color: #222;
    font-size: 18px;
}

.rcimov-listing__sort {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0;
    color: #555;
    font-size: 13px;
    white-space: nowrap;
}

.rcimov-listing__sort select {
    min-height: 42px;
    margin: 0;
    padding: 7px 34px 7px 11px;
    border: 1px solid #d7d7d7;
    border-radius: 6px;
    background: #fff;
    color: #252525;
    font: inherit;
}

.rcimov-active-filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    margin: -4px 0 18px;
}

.rcimov-active-filters > span {
    margin-right: 2px;
    color: #666;
    font-size: 12px;
    font-weight: 700;
}

.rcimov-active-filters button {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    gap: 7px;
    margin: 0;
    padding: 5px 10px;
    border: 1px solid #e1e1e1;
    border-radius: 999px;
    background: #f7f7f7;
    color: #444;
    font: inherit;
    font-size: 12px;
    line-height: 1.2;
    cursor: pointer;
}

.rcimov-active-filters button:hover,
.rcimov-active-filters button:focus-visible {
    border-color: #dda623;
    background: #fffaf0;
}

.rcimov-active-filters button b {
    font-size: 17px;
    font-weight: 400;
    line-height: 1;
}

.rcimov-active-filters .rcimov-active-filters__clear {
    border-color: transparent;
    background: transparent;
    color: #8a6500;
    font-weight: 700;
}

/* Coração dos favoritos */
.rcimov-card {
    position: relative;
}

.rcimov-favorite {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, .1);
    border-radius: 50%;
    background: rgba(255, 255, 255, .94);
    color: #555;
    font: inherit;
    cursor: pointer;
    box-shadow: 0 3px 12px rgba(0, 0, 0, .12);
    transition: transform .18s ease, color .18s ease, background .18s ease;
}

.rcimov-favorite:hover,
.rcimov-favorite:focus-visible {
    transform: scale(1.06);
    color: #bf1f38;
}

.rcimov-favorite.is-active {
    border-color: #bf1f38;
    background: #fff2f4;
    color: #bf1f38;
}

.rcimov-favorite span {
    font-size: 25px;
    line-height: 1;
}

.rcimov-favorite--card {
    position: absolute;
    z-index: 4;
    top: 12px;
    right: 12px;
}

.rcimov-favorite--detail {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
}

.rcimov-favorite--detail span {
    font-size: 23px;
}

/* Ações no título */
.rcimov-detail-title__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.rcimov-share {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 14px;
}

.rcimov-share a,
.rcimov-share button {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 6px 11px;
    border: 1px solid #ddd;
    border-radius: 999px;
    background: #fff;
    color: #555;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
}

.rcimov-share a:hover,
.rcimov-share a:focus-visible,
.rcimov-share button:hover,
.rcimov-share button:focus-visible {
    border-color: #dda623;
    color: #8b6500;
}

/* CTAs do card de valor */
.rcimov-price-card .rcimov-cta {
    display: flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    margin: 14px 0 0;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 6px;
    font: inherit;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.rcimov-price-card .rcimov-cta--primary {
    border-color: #dda623;
    background: #dda623;
    color: #fff;
}

.rcimov-price-card .rcimov-cta--primary:hover,
.rcimov-price-card .rcimov-cta--primary:focus-visible {
    border-color: #c89412;
    background: #c89412;
    color: #fff;
}

.rcimov-price-card .rcimov-cta--whatsapp {
    border-color: #1f9b58;
    background: #25d366;
    color: #fff;
}

.rcimov-price-card .rcimov-cta--whatsapp:hover,
.rcimov-price-card .rcimov-cta--whatsapp:focus-visible {
    border-color: #168747;
    background: #1fb95a;
    color: #fff;
}

/* Modal e formulário de interesse */
.rcimov-modal[hidden] {
    display: none !important;
}

.rcimov-modal {
    position: fixed;
    z-index: 1000000;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow: auto;
    background: rgba(0, 0, 0, .72);
}

.rcimov-modal__dialog {
    position: relative;
    width: min(760px, 100%);
    max-height: calc(100vh - 48px);
    overflow: auto;
    padding: 28px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 22px 70px rgba(0, 0, 0, .3);
}

.rcimov-modal__dialog h2 {
    margin: 0 45px 7px 0;
    color: #222;
    font-size: 1.55em;
    line-height: 1.2;
}

.rcimov-modal__dialog > p {
    margin: 0 45px 22px 0;
    color: #666;
    line-height: 1.45;
}

.rcimov-modal__close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #555;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
}

.rcimov-modal-open {
    overflow: hidden;
}

.rcimov-lead-form {
    width: 100%;
    padding: 22px;
    border: 1px solid #e2e2e2;
    border-radius: 10px;
    background: #fff;
}

.rcimov-lead-form--modal {
    padding: 0;
    border: 0;
}

.rcimov-lead-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.rcimov-lead-form label {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    color: #333;
    font-size: 13px;
    font-weight: 600;
}

.rcimov-lead-form input[type="text"],
.rcimov-lead-form input[type="tel"],
.rcimov-lead-form input[type="email"],
.rcimov-lead-form select,
.rcimov-lead-form textarea {
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 9px 11px;
    border: 1px solid #d6d6d6;
    border-radius: 6px;
    background: #fff;
    color: #252525;
    font: inherit;
    font-weight: 400;
    line-height: 1.35;
    box-shadow: none;
}

.rcimov-lead-form textarea {
    min-height: 105px;
    resize: vertical;
}

.rcimov-lead-form input:focus,
.rcimov-lead-form select:focus,
.rcimov-lead-form textarea:focus {
    outline: 0;
    border-color: #dda623;
    box-shadow: 0 0 0 3px rgba(221, 166, 35, .18);
}

.rcimov-lead-form__wide {
    margin-top: 14px !important;
}

.rcimov-lead-form__checks {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 18px;
    margin-top: 14px;
}

.rcimov-lead-form__checks label,
.rcimov-lead-form__consent {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
}

.rcimov-lead-form__checks input,
.rcimov-lead-form__consent input {
    width: 17px;
    height: 17px;
    margin: 0;
    flex: 0 0 17px;
    accent-color: #dda623;
}

.rcimov-lead-form__consent {
    margin-top: 14px !important;
}

.rcimov-lead-form__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
}

.rcimov-lead-form__status {
    min-height: 18px;
    color: #555;
    font-size: 12px;
    line-height: 1.35;
}

.rcimov-lead-form__status.is-success {
    color: #13703e;
}

.rcimov-lead-form__status.is-error {
    color: #b42318;
}

.rcimov-lead-form button[disabled] {
    opacity: .65;
    cursor: wait;
}

.rcimov-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
}

/* Página de favoritos */
.rcimov-favorites__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.rcimov-favorites__header h2 {
    margin: 0;
    font-size: 1.6em;
    line-height: 1.2;
}

.rcimov-favorites__header button {
    margin: 0;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    color: #555;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

@media (max-width: 680px) {
    .rcimov-listing__toolbar {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
    }

    .rcimov-listing__sort {
        justify-content: space-between;
    }

    .rcimov-listing__sort select {
        width: min(220px, 65%);
    }

    .rcimov-active-filters {
        margin-top: 0;
    }

    .rcimov-modal {
        align-items: flex-start;
        padding: 12px;
    }

    .rcimov-modal__dialog {
        max-height: calc(100vh - 24px);
        padding: 20px 16px;
    }

    .rcimov-lead-form__grid,
    .rcimov-lead-form__checks {
        grid-template-columns: 1fr;
    }

    .rcimov-lead-form__footer {
        align-items: stretch;
        flex-direction: column;
    }

    .rcimov-lead-form__footer .rcimov-button {
        width: 100%;
    }

    .rcimov-favorites__header {
        align-items: flex-start;
        flex-direction: column;
    }

    .rcimov-share {
        gap: 6px;
    }

    .rcimov-share a,
    .rcimov-share button {
        min-height: 32px;
        padding: 5px 9px;
        font-size: 11px;
    }
}

/* Versão 1.2.0 — imóveis indisponíveis */
.rcimov-unavailable-badge {
    display: inline-flex;
    min-height: 25px;
    align-items: center;
    padding: 0 9px;
    border-radius: 999px;
    background: #f3e6e6;
    color: #9a2f38;
    font-size: 11px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.rcimov-price-card--unavailable > strong {
    margin-top: 8px;
    color: #9a2f38;
    font-size: 22px;
    line-height: 1.15;
}

.rcimov-price-card--unavailable p {
    margin: 12px 0 18px;
    color: #646464;
    line-height: 1.5;
}
