/* =============================
   CSS OTIMIZADO E COMPLETO
   Mantém o visual original e inclui trechos faltantes
   ============================= */
   
   /* Ajuste a URL da sua imagem de marca d’água aqui */
:root {
  --wm-image: url("https://imobiliariaava.com.br/wp-content/uploads/2025/10/logo-ava-branca@4.png");
  --wm-opacity: 0.12;        /* transparência do overlay */
  --wm-size: 280px;          /* tamanho base */
  --wm-rotate: -18deg;       /* rotação sutil */
}

.imovel-gallery-wrapper,
.imovel-main-gallery {
  position: relative; /* cria contexto p/ o pseudo-elemento */
}

.imovel-main-gallery::after {
  content: "";
  position: absolute;
  inset: 0;                 /* cobre toda a galeria */
  pointer-events: none;     /* não bloqueia cliques/gestos */
  z-index: 2;               /* acima das imagens, abaixo de botões flutuantes */

  /* imagem de fundo como marca d'água */
  background-image: var(--wm-image);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: var(--wm-size);

  opacity: var(--wm-opacity);
  transform: rotate(var(--wm-rotate));
  /* Se quiser que o tom se adapte às fotos claras/escuras, use: */
  /* mix-blend-mode: multiply; */
}

/* Responsivo: aumenta um pouco em telas grandes */
@media (min-width: 992px) {
  .imovel-main-gallery::after {
    background-size: calc(var(--wm-size) * 1.2);
  }
}

/* Se existir algum botão/controle que precise ficar acima do overlay */
.share-button-container,
.share-button {
  position: relative;
  z-index: 3;
}


/* --- BASE / CONTÊINER --- */
.imoveis-container-plugin {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    position: relative; /* necessário para pseudo overlay */
    overflow: visible;
    background: #fff;
}

/* gradiente à direita (pseudo) */
.imoveis-container-plugin::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 100%;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.6), transparent);
    pointer-events: none;
    mix-blend-mode: screen;
    z-index: 5;
}

/* --- CARD --- */
.imovel-card {
    position: relative;
    width: 360px;
    height: 500px;
    text-decoration: none;
    cursor: pointer;
    display: block;
    background: var(--card-bg, #fff);
    box-shadow:
        0 10px 24px rgba(0,0,0,.10),
        0 4px 10px rgba(0,0,0,.06);
    overflow: hidden;                /* garante que a imagem/overlay respeitem os cantos */
    transition: box-shadow .2s ease, transform .2s ease;
}

/* hover */
.imovel-card:hover {
    transform: translateY(-5px);
}

/* imagem/fundo do card */
.imovel-card-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

/* versão padrão do overlay dentro do container principal */
.imovel-card-details-overlay {
    position: absolute;
    top: 45%;
    width: 100%;
    background: #ffffff;
    color: #08242F;
    box-sizing: border-box;
    padding: 15px;
    height: 356px;
}

/* título dentro do overlay (varia se fundo escuro) */
.imovel-card-details-overlay h3 {
    margin: 0;
    font-size: 1.5em;
    color: #fff; /* quando overlay é escuro sobre a imagem */
    text-align: center;
    width: 100%;
}

/* localização / subtítulo */
.imovel-card-location {
    font-size: 1em;
    font-weight: normal;
    text-align: left;
    margin-bottom: 0px !important;
    height: 50px;
    line-height: 25px;
    color: inherit;
}

/* --- ÍCONES E DADOS --- */
.imovel-card-icons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    font-size: 0.9em;
    width: 100%;
    margin-top: 10px;
}

.imovel-card-icons i {
    margin-right: 6px;
    color: #555;
    width: 19px;
    height: 19px;
}

.imovel-card-icons div {
    display: flex;
    align-items: baseline;
    font-size: 15px;
    color: #333;
}

/* tipo do imóvel */
.imovel-card-type {
    position: relative;
    color: #08242F;
    font-weight: 600;
}

/* --- PREÇO --- */
.imovel-card-price {
    position: absolute;
    bottom: 18.5rem;
    right: 0;
    background-color: #08242F;
    border-radius: 0px 15px 0px 15px;
    color: #fff;
    padding: 8px 15px;
    font-size: 1em;
    font-weight: normal;
    z-index: 10;
}

/* --- GALERIA / LAYOUT SINGLE --- */
.imovel-gallery-wrapper {
    display: flex;
    max-width: 1300px;
    width: 100%;
    margin: 100px auto;
    height: 450px;
    justify-content: center;
    position: relative;
    top: 100px;
}

.imovel-main-gallery {
    width: 80%;
    display: block;
}

.slick-track img {
    width: 1050px;
    height: 400px;
    object-fit: cover;
    position: relative;
    left: 0;
    top: 0;
    z-index: 999;
    opacity: 1;
    border-radius: 20px;
}

/* detalhes lado da galeria */
.imovel-main-details {
    width: 50%;
}

/* tag leilão */
.imovel-tag-leilao {
    background: #08242f;
    max-width: 500px;
    height: 53px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 25px 0 0;
    margin-top: 30px;
    margin-left: 0px;
    font-size: 1.3rem;
    font-weight: 600;
}

/* seção de preço e info */
.imovel-info-price-section {
    display: flex;
    align-items: baseline;
    flex-direction: row;
    gap: 20px;
    width: 100%;
    border-top: 1px solid #08242f;
}

/* single entry */
.imovel-single-entry {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 100px;
}

/* containers de info */
.info-container {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.imovel-title-location {
    max-height: 140px;
    height: auto;
    border-bottom: 1px solid #08242F;
    padding: 20px;
}

/* título & subtítulo */
.imovel-title {
    font-size: 1.3rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.5rem;
}

.imovel-subtitle {
    font-size: 1.1rem;
    font-weight: 500;
}

/* price-info */
.price-info {
    margin-left: 20px;
}

.price-info span {
    font-size: 1em;
    font-weight: bold;
}

.imovel-price {
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 15px;
}

/* price box leilão */
.imovel-price-leilao-box {
    width: 50%;
    display: flex;
    flex-direction: column;
}

/* features grid */
.imovel-features-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    max-width: 1000px;
    width: 480px;
    height: 70px;
    margin: 10px 0;
}

/* botões de documentos */
.imovel-doc-buttons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    text-align: center;
    padding: 25px;
}

.imovel-doc-buttons a {
    display: flex;
    flex-direction: column;
    font-size: 0.8rem;
    font-weight: 600;
}

.btn-doc img {
    width: 55px;
    height: 55px;
    background: #08242F;
    border-radius: 10px;
    padding: 10px;
}

/* lista de info de leilão */
.leilao-info-list {
    list-style: none;
    padding: 20px;
    margin: 0;
    font-size: 0.8rem;
    font-weight: 500;
}

.leilao-info-list li {
    margin-bottom: 5px;
}

.leilao-info-list li i.fa {
    color: #971212;
    margin-right: 5px;
}

/* botão contato */
.btn-contact {
    display: flex;
    width: 324px;
    height: 72px;
    padding: 15px;
    margin: 20px auto;
    background-color: #ffc107;
    color: #333;
    text-align: center;
    text-decoration: none;
    border-radius: 15px;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
    justify-content: center;
    align-items: center;
}

.btn-contact:hover {
    color: #FFFFFF;
    background-color: #e0a800;
}

/* price container (lado a lado) */
.imovel-price-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: baseline;
    border-left: 1px solid;
}

/* discount box */
.discount-box-info {
    background: #08242F;
    color: #FFFFFF;
    width: 337px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 25px 0 0 0;
}

.discount-box-info span {
    font-size: 1.3rem;
    font-weight: 600;
}

/* value box */
.value-box-info {
    display: flex;
    flex-direction: column;
    padding: 20px;
    border-left: 1px solid;
    margin-top: 10px;
}

.value-box-first {
    margin-bottom: 10px;
}

.value-box-info p {
    margin: 0;
}

/* feature item */
.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #555;
    font-size: 0.95em;
}

.feature-item img {
    width: 20px;
    height: 20px;
}

/* info container box */
.info-container-box {
    display: flex;
    flex-direction: column;
    padding: 20px;
}

/* lista de características */
.imovel-caracteristicas-list {
    width: 200px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.8rem;
    font-weight: 500;
}

.imovel-caracteristicas-list li i.fa {
    color: #28a745;
    margin-right: 5px;
}

/* descrição completa */
.imovel-full-description {
    padding: 30px;
}

.imovel-full-description p {
    font-size: 1rem;
    font-weight: 500;
}

/* título da descrição */
.description-title {
    background: #08242F;
    color: #FFFFFF;
    width: 337px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 25px 0 0;
}

.description-title h2 {
    color: #FFFFFF !important;
    font-size: 1.3rem;
    font-weight: 600;
}

/* alinhamento interno do botão doc (ícone grande) */
.imovel-doc-buttons .btn-doc i {
    font-size: 40px;
    line-height: 1;
}

/* custom prev (cinza) - ajustado para .slick-prev */
.slick-prev {
    border: none;
    border-radius: 0;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #08242F !important;
    font-size: 50px;
}
.slick-prev::before {
    content: '\2190' !important;
    font-weight: 300 !important;
    line-height: 1 !important;
}
.slick-prev::after {
    content: '';
}

.slick-next, .slick-prev {
    box-shadow: none;
}

/* custom next (laranja) - ajustado para .slick-next (mantendo consistência com o prev) */
.slick-next:before, .slick-prev:before {
    border: none;
    border-radius: 0;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #EBBC6F !important;
    font-size: 60px !important;
    font-family: none !important;
}

.slick-next::before {
    content: '\2192' !important;
    font-weight: 300 !important;
    line-height: 1 !important;
}
.slick-next::after {
    content: '' ;
}
/* pequenas correções do theme */
.ast-separate-container .ast-comment-list li.depth-1,
.hentry {
    overflow-x: hidden;
    margin-bottom: 0;
}

/* value money */
.value-money { margin-left: 25px; }

/* botão compartilhar */
.share-button-container {
    position: absolute;
    right: 20px;
    z-index: 20;
}

.share-button {
    background: #08242f;
    color: #fff;
    border: none;
    width: 45px;
    height: 45px;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.share-button:hover { background: #0a3a4d; }

/* --- FILTROS --- */
.imoveis-filtro-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.filtro-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.campo {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.campo label {
    font-weight: 500;
    color: #08242F;
    font-size: 0.8em;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    max-height: 200px;
    overflow-y: auto;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.checkbox-item:hover { background-color: #f5f5f5; }

.checkbox-item input[type="checkbox"] { margin: 0; }

/* campos numéricos */
.campos-numericos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.campo-numeric {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.campo-numeric label {
    font-weight: 500;
    color: #08242F;
    font-size: 0.8rem;
}

.campo-numeric input[type="number"] {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
}

.ast-article-single img { 
    box-shadow: none;
}

/* --- RESPONSIVIDADE CONSOLIDADA --- */

/* Tablets até 1024px */
@media (max-width: 1024px) {
    .imovel-gallery-wrapper {
        flex-direction: column;
        align-items: center;
        margin: 50px auto;
    }

    .imovel-main-gallery { width: 85%; }

    .imovel-info-price-section {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0;
    }

    .slick-slider { display: flex; justify-content: center; }

    .share-button-container { top: 5%; }

    .price-info { margin-left: 15px; margin-right: 15px; }

    /* cards adaptativos */
    .imovel-card { width: calc(50% - 10px); }
    .imoveis-container-plugin.galeria .imovel-card { width: calc(33.33% - 13.33px); max-width: none; }
}

/* Celulares até 768px */
@media (max-width: 768px) {
    /*.imovel-card { width: 100%; height: auto; max-width: none; }*/
        .imoveis-container-plugin, 
    .imoveis-container-plugin-galeria {
        padding: 0 10px; /* reduzir padding lateral */
        gap: 10px;      /* reduzir gap entre cards */
    }

    .imovel-card-icons div { font-size: 10px; color: #333; }

    .imovel-price-container {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: baseline;
        border-left: 1px solid;
    }

    .slick-track { top: 15px; }

    .imovel-info-price-section { flex-direction: column; align-items: center; }

    .imovel-main-details,
    .imovel-price-leilao-box {
        width: 100% !important;
        max-width: 500px;
    }

    .imovel-price-leilao-box { margin-top: 40px; }

    .imovel-main-gallery { width: 100%; }

    .imovel-gallery-wrapper { margin: 40px auto; width: 100%; height: 500px;}

    .imovel-title { font-size: 1.3rem; line-height: 1.8rem; }
    .imovel-subtitle { font-size: 1rem; }

    .imovel-features-grid { width: 100%; }

    .imovel-tag-leilao {
        width: 100%;
        margin-left: 0;
        border-radius: 0;
    }

    .info-container-box { flex-direction: column; align-items: center; }
    .imovel-caracteristicas-list { margin-top: 20px; }

    .slick-dotted .slick-slider { margin-top: 10%; }

    /* mobile filter button and modal */
    .filtro-mobile-btn {
        display: flex;
        width: 100%;
        max-width: 800px;
        margin: 20px auto;
        padding: 15px;
        background-color: #ffc107;
        color: #333;
        border: none;
        border-radius: 15px;
        font-weight: bold;
        font-size: 1.1em;
        cursor: pointer;
        transition: background-color 0.3s ease;
        text-align: center;
    }

    .filtro-mobile-btn:hover { background-color: #e0a800; color: #fff; }

    .filtro-modal {
        display: none;
        position: fixed;
        z-index: 1000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgba(0,0,0,0.5);
    }

    .modal-overlay {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
        height: 100%;
        padding: 20px;
    }

    .modal-content {
        background-color: #fff;
        margin: auto;
        padding: 20px;
        border-radius: 10px;
        width: 95%;
        max-width: 800px;
        max-height: 90vh;
        overflow-y: auto;
        position: relative;
        box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    }

    .modal-close {
        color: #aaa;
        float: right;
        font-size: 28px;
        font-weight: bold;
        cursor: pointer;
        position: absolute;
        right: 15px;
        top: 10px;
    }

    .modal-close:hover,
    .modal-close:focus { color: #08242F; }

    .modal-content h2 {
        text-align: center;
        color: #08242F;
        margin-bottom: 20px;
    }

    .modal-content .imoveis-filtro-form { display: flex !important; }
    .modal-content { width: 100%; height: 85vh; max-height: none; border-radius: 0; padding: 10px; }

    .campos-numericos-grid { grid-template-columns: 1fr !important; }
    .checkbox-grid { max-height: 150px; }

    .slick-next { right: 30px; }
    .slick-prev { left: 0px; }

    .slick-list { width: 85%; }
    .fade-overlay-right { display: none; }

    .imoveis-navigation-buttons { bottom: 100% !important; right: 0; }
    .imoveis-container-plugin-galeria {padding: 0px !important;}
}

/* Desktop (min-width: 769px) ajustes */
@media (min-width: 769px) {
    .imovel-card-icons { font-size: 12px; }
    .imoveis-filtro-form { display: flex; }
    .filtro-mobile-btn,
    .filtro-modal { display: none; }
    .slick-prev { left: -50px !important; color: #08242F;}
    .slick-next { right: -50px !important; }
}

/* --- GALERIA ESPECÍFICA --- */
.imoveis-container-plugin.galeria {
    flex-wrap: wrap;
}
.imoveis-container-plugin-galeria {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px 70px;
    overflow: visible;
    justify-content: center;
}
.imoveis-container-plugin-galeria .imovel-card {
    position: relative;
    width: 360px;
    height: 600px;
    text-decoration: none;
    transition: transform 0.3s ease;
    cursor: pointer;
    margin-bottom: 50px;
}

/* --- SWIPER / NAV --- */
.imoveis-swiper-wrapper-fade {
    position: relative;
    overflow: hidden;
}

/* overlay de fade (direita) com correção de filtros */
.fade-overlay-right {
    position: absolute;
    top: 0;
    right: 0;
    width: 250px;
    height: 100%;
    z-index: 5;
    pointer-events: none;
    -webkit-backdrop-filter: blur(0px);
    backdrop-filter: blur(0px);
    filter: drop-shadow(3px 37px 49px black);
    background: linear-gradient(to left, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 40%, rgba(255,255,255,0) 100%);
}

/* header e navegação */
.imoveis-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 15px;
    flex-direction: row-reverse;
}

/* navegação customizada */
.imoveis-navigation-buttons {
    display: flex;
    gap: 0;
    align-items: center;
    width: 330px;
    position: absolute;
    bottom: 110%;
}

.swiper-button-prev,
.swiper-button-next {
    position: static;
    margin: 0;
    width: 70px;
    height: 30px;
    background-color: transparent;
    transform: none;
    cursor: pointer;
    z-index: 10;
}

/* custom arrows */
.custom-prev,
.custom-next {
    border: none;
    border-radius: 0;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* removendo ícones padrão */
.custom-prev::after,
.custom-next::after { content: ''; }

/* custom next (laranja) */
.custom-next {
    color: #EBBC6F;
    font-size: 60px;
    width: 120px;
}
.custom-next::before {
    content: '\2192';
    font-weight: 300;
    line-height: 1;
}

/* custom prev (cinza) */
.custom-prev {
    color: #08242F;
    font-size: 50px;
}
.custom-prev::before {
    content: '\2190';
    font-weight: 300;
    line-height: 1;
}

/* desativado */
.swiper-button-disabled {
    opacity: 0.3;
    pointer-events: none;
}

/* esconder paginação por padrão */
.swiper-pagination { display: none; }

/* ajuste final para container principal não esconder as setas */
.imoveis-container-plugin { overflow: visible; }

/* força estilos do card dentro do container principal (preserva visual) */
.imoveis-container-plugin .imovel-card {
    width: 360px;
    margin: 0;
    height: 600px;
    margin: 0px;
}

/* mapa */
#imovel-mapa {
    width: 100%;
    height: 400px;
    padding: 50px;
    box-sizing: border-box;
}

/* ast container (tema) */
.site-content .ast-container { display: block !important; }

/* utilitários finais */
.imovel-main-details { width: 50%; }

.custom-prev-venda, .custom-next-venda {
    border: none;
    border-radius: 0;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
}

.custom-prev-venda::before {
    content: '\2190';
    font-weight: 300;
    line-height: 1;
}

.custom-next-venda {
    color: #EBBC6F;
    font-size: 60px;
    width: 120px;
}
.custom-prev-venda {
    color: #08242F;
    font-size: 50px;
}

.custom-next-venda::before {
    content: '\2192';
    font-weight: 300;
    line-height: 1;
}

.custom-prev-venda::after, .custom-next-venda::after {
    content: '';
}

.galeria-link {
    text-decoration: none !important;
}

@media (max-width: 768px) {
    .imovel-card {
        width: 100% !important; /* ocupar toda a tela */
    }

    .imoveis-container-plugin, 
    .imoveis-container-plugin-galeria {
        padding: 0 10px; /* reduzir padding lateral */
        gap: 10px;       /* reduzir gap entre cards */
    }
    
    .imovel-card-price {
        bottom: 20.3rem;
    }
    
    .slick-list{
        height: 500px;
        left: 7%;
    }
    
    .slick-dotted .slick-slider {
        height: 350px;
    }
    
    .slick-track img {
        height: 325px;
    }
    
    .slick-track {
        display: flex !important;
        gap: 10px;
    }
    
}

.imovel-description-section {
    width: 100%;
    background: #D9D9D9;
}

#ava-filter-open {
    background: transparent;
    padding: 0px;
}

#ava-filter-open:hover {
    color: #EBBC6F;
}

.imoveis-result-count {
    font-size: 1rem;
    font-weight: 600;
    color: #08242f7a;
}

/* INPUT sem fundo */
.ava-autocomplete input[type="search"]{
  background: #ffffff !important;
  color: #000 !important;
  box-shadow: none !important;
  /* deixe a borda; remova a linha abaixo se não quiser borda */
  border: 1px solid #e5e7eb !important;
}
.ava-autocomplete input[type="search"]::placeholder{
  color:#6b7280; opacity:1;
}

/* DROPDOWN: só texto preto, sem fundos */
.ava-autocomplete .ava-suggest{
  background: #ffffff !important;
  border: 0 !important;
  box-shadow: none !important;
}
.ava-autocomplete .ava-suggest .ava-suggest-item{
  background: #ffffff !important;
  color: #000 !important;
  text-shadow: none !important;
}
.ava-autocomplete .ava-suggest .ava-suggest-item[aria-selected="true"],
.ava-autocomplete .ava-suggest .ava-suggest-item:hover{
  background: #ffffff !important;  /* nada de highlight */
  text-decoration: underline;          /* só um feedback visual */
}

/* Match SEM FUNDO (apenas texto preto) */
.ava-autocomplete .ava-suggest mark{
  background: transparent !important;
  color: #000 !important;
  font-weight: 600;            /* pode tirar se não quiser negrito */
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Desativa gradientes/clip que alguns temas aplicam ao texto */
.ava-autocomplete .ava-suggest .ava-suggest-item,
.ava-autocomplete .ava-suggest .ava-suggest-item *{
  background-image: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: currentColor !important;
  mix-blend-mode: normal !important;
}

.imovel-card-value-info {
    font-size: 12px;
    padding: 20px;
    border-top: 1px solid #0000006b;
}
.imovel-card-old-price{
    font-weight: 600;
}
.imovel-card-payments-list{
    border-radius: 10px 0px 10px 0px;
    display: flex;
    position: absolute;
    gap: 20px;
    background: #08242F;
    color: #fff;
    padding: 5px 10px 5px 10px !important;
    right: 0px;
}
.imovel-card-payments-list li,
.imovel-card-payments-list li::before,
.imovel-card-payments-list li::marker {
  list-style: none !important;
  content: "" !important;
  margin: 0;
  padding: 0;
}

.swiper-wrapper {
    margin-top: 10px;
    height: 620px !important;
}

/* Topbar fixa dentro do painel rolável do drawer */
.ava-drawer .ava-filter-topbar{
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--ava-surface, #f5f5f5);
  padding: .6rem .75rem;
  border-bottom: 1px solid #e8e8e8;
}

/* Reaproveita o mesmo botão */
.ava-drawer .ava-apply-btn{
  width: 100%;
  padding: .8rem 1rem;
  border: 0;
  border-radius: 10px;
  font-weight: 700;
  background: var(--ava-primary, #0e2c2f);
  color:#fff;
  cursor: pointer;
}
.ava-drawer .ava-apply-btn:hover{ filter: brightness(.96); }

.imovel-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 45% !important;
}

/* === Toggle do filtro responsivo (dropdown no mobile) === */
#filtro-mobile-toggle {
  display: none;
  width: 100%;
  max-width: 800px;
  margin: 16px auto 0;
  padding: 12px 14px;
  border: 0;
  border-radius: 12px;
  background: #ffc107;
  font-weight: 600;
  cursor: pointer;
}

#filtros-panel[data-collapsible="true"] {
  display: none; /* fechado por padrão no mobile */
  margin: 10px auto 20px;
  max-width: 800px;
}
#filtros-panel[data-collapsible="true"][data-open="true"] {
  display: block; /* abre quando o JS alterna para true */
}

/* Mobile: mostra botão e aplica layout compacto */
@media (max-width: 768px) {
  #filtro-mobile-toggle { display: block; }
  .imoveis-filtro-form { padding: 14px; }
  .campos-numericos-grid { grid-template-columns: 1fr; }
  .checkbox-grid { max-height: 150px; }
}

/* Desktop: oculta botão e deixa sempre aberto */
@media (min-width: 769px) {
  #filtro-mobile-toggle { display: none; }
  #filtros-panel { display: block; }
}

/* Botão do dropdown (mobile) */
#filtro-mobile-toggle{
  display:none;
  width:100%;
  max-width:800px;
  margin:16px auto 0;
  padding:12px 14px;
  border:0;border-radius:12px;
  background:#ffc107;
  font-weight:600;
  cursor:pointer;
}

/* Painel que contém o <form> */
#filtros-panel{
  margin:10px auto 20px;
  max-width:800px;
}

/* Garantia: qualquer elemento com [hidden] some mesmo */
#filtros-panel[hidden]{ display:none !important; }

/* Mobile: mostra botão e deixa o painel colapsável */
@media (max-width:768px){
  #filtro-mobile-toggle{ display:block; }
  .imoveis-filtro-form{ padding:14px; }
}

/* Desktop: fica sempre aberto e esconde o botão */
@media (min-width:769px){
  #filtro-mobile-toggle{ display:none; }
  #filtros-panel{ display:block !important; }
}

#imoveis_mapa_wrap{
    position: relative !important;
    overflow: hidden !important;
    height: 500px !important;
    width: 80% !important;
    padding: 0px !important;
    border: 1px solid #0000005e;
    border-radius: 10px;
    margin-bottom: 20px;
}

#imoveis_gmaps_iframe {
    position: relative !important;
    max-width: 1400px !important;
    width: 100%;
    height: 500px !important;
    padding: 10px;
}

/* FEATURES + CARACTERÍSTICAS */
.imovel-features-carac-wrap{
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}

.imovel-features-box{
  flex: 1 1 320px;
  min-width: 280px;
}

.imovel-caracteristicas-box{
  flex: 1 1 260px;
  min-width: 240px;
}

.imovel-caracteristicas-title{
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 .5rem;
  color: #0a2230;
}

/* Lista com check verde */
.imovel-caracteristicas-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: .35rem .9rem; /* linha/coluna */
}

.imovel-caracteristicas-list li{
  position: relative;
  padding-left: 22px;
  line-height: 1.4;
}

.imovel-caracteristicas-list li::before{
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #1aa84b; /* verde */
  font-weight: 800;
}

.imoveis-toolbar {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    width: 69%;
    justify-content: space-between;
}

.imoveis-orderby-select {
    min-width: 220px;
}

/* =============================
   FIM DO ARQUIVO
   ============================= */
