.photo-owner {
    font-size: 10px !important;
    position: absolute;
    bottom: 4px;
    right: 12px;
    z-index: 2;
    margin: 0;
    color: rgba(255,255,255,0.65);
}

body[data-page="home"] {
    --cym-accent: #c4623a;
    --cym-accent-dark: #a24a29;
    --cym-text: #2d2926;
    --cym-glass-bg: rgba(255, 248, 242, 0.46);
    --cym-glass-border: rgba(255, 255, 255, 0.38);
    --cym-input-border: #e2e2e2;
    --cym-focus-ring: rgba(196, 98, 58, 0.24);
    --cym-space-1: 0.5rem;
    --cym-space-2: 0.75rem;
    --cym-space-3: 1rem;
    --cym-space-4: 1.25rem;
    --cym-space-5: 1.6rem;
    font-family: var(--font-sans);
    color: var(--cym-text);
}

body[data-page="home"] h1,
body[data-page="home"] h2,
body[data-page="home"] h3,
body[data-page="home"] .section-heading h2 {
    font-family: var(--font-sans);
    font-weight: 700;
}

.buscador-banner {
    position: relative;
    z-index: 1;
    width: 100%;
    margin-top: 0.25rem;
}

.bannerPrincipal {
    background-size: cover;
    background-position: center;
    margin-top: 0;
    padding-top: 68px;
    min-height: 100vh;
    height: auto;
    position: relative;
    /* Not overflow:hidden: the hero background image is already bounded by
       its own absolute inset, and clipping here was cutting off the open
       filter dropdowns (Tipo/Departamento/Zona) at the hero's bottom edge,
       making them look hidden behind the "Propiedades Destacadas" section. */
    overflow: visible;
}

body[data-page="home"] .site-header + .bannerPrincipal,
body[data-page="home"] .wrapper > .bannerPrincipal {
    margin-top: 0 !important;
    padding-top: 68px !important;
}

.bannerPrincipal::before {
    content: "";
    position: absolute;
    inset: 0;
    background: transparent;
    z-index: 0;
    pointer-events: none;
}

.bannerPrincipal__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
}

.bannerPrincipal .h-70 {
    height: auto !important;
    min-height: 42vh;
    padding-top: 4.25rem !important;
    padding-bottom: 0.5rem !important;
}

.texto_banner_home {
    margin-bottom: 0.4rem !important;
}

.home-hero-title {
    font-size: clamp(2rem, 5vw, 3.4rem);
    color: #fff;
    font-weight: 600;
    line-height: 1.15;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.01em;
}

.bannerPrincipal .swiper-pagination,
.bannerPrincipal .swiper-pagination-prop,
.bannerPrincipal .swiper-pagination-bullets {
    display: none !important;
}

.buscador-banner .fuzzy-search {
    margin-bottom: 0.4rem;
}

.buscador-banner .fuzzy-search__body {
    gap: 0.55rem;
}


.linksTitle {
    color: #364144
}

.linksContainer {
    overflow: hidden;
    transition: height 2s;
}

.link_ceo {
    color: #364144;
}

#seoContainer {
    position: relative;
    height: auto;
    overflow: º;
    float: left;
    width: 100%;
}

.ceoGrid {
    display: flex;
    justify-content: space-evenly;
}

.link_ceo:hover {
    color: #d8a07b !important;
}

.seMoreContainer {
    color: #d8a07b;
}

.linksCont {
    width: 20%;
    margin-bottom: 10px;
}

.seeLess {
    height: 100px;
}

.card-footer {
    z-index: 20;
}

.guardar-favorito {
    color: #aeb4b6;
    font-size: 12px;
    position: relative;
}

.btn-favorito {
    background: rgba(145, 147, 152, 0.7);
    color: #ffffff;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    display: inline-block;
    font-size: 16px;
    border-radius: 50px;
    position: relative;
    top: 1px;
    z-index: 80;
}

.card-body-proy {
    min-height: auto !important;
}

@media only screen and (max-width: 750px) {
    .bannerPrincipal { min-height: 70vh; }

    .buscador-banner {
        margin-bottom: 0.5rem !important;
    }

    .ceoGrid {
        flex-wrap: wrap;
    }

    .linksCont {
        width: 40%;
    }

}

@media only screen and (max-width: 450px) {
    .bannerPrincipal .h-70 {
        min-height: 36vh;
        padding-top: 4rem !important;
    }

    .home-hero-title {
        font-size: clamp(1.8rem, 8vw, 2.35rem);
    }

    .ceoGrid {
        flex-direction: column;
        align-items: center;
    }

    .linksCont {
        width: 80%;
    }

}

/* css de las props destacadas */

.prop-tipo {
    background: #d8a07b5c !important;
    padding: 3px 12px !important;
    color: #3b3b3b !important;
    margin-bottom: 0 !important;
    width: auto !important;
    align-self: start;
    margin-top: 10px;
}

.popular-listing .precios span.precio,
.popular-listing .precios span.precio .js-price-value {
    color: #333 !important;
}

@media only screen and (min-width: 992px) {
    .bannerPrincipal { min-height: 100vh; }

}

span {
    /* font-size: 13px !important; */
}

.card-body {
    width: 100%;
    text-align: start;
    border: none !important;
}
.linkSeo{
    color: #364144;
}
.linkSeo:hover{
    color: #d8a07b !important;
}

.linksBreadcrumbs{
    font-size: 14px;
    margin-top: 4px;
}

.card-link:hover {
    color: #f29100;
}

.img-block {
    width: 100%;
    height: 100%;
    height: 200px;
}

@media only screen and (max-width: 768px) {
    body[data-page="home"] .bannerPrincipal {
        margin-top: 68px !important;
        padding-top: 16px !important;
        /* The hero photo is a wide 16:9 landscape shot; forcing the full
           device viewport height here on a narrow, tall phone screen made
           background-size:cover crop out most of its width, leaving only
           a thin vertical sliver visible. A shorter, viewport-relative
           height keeps the section proportionate to the photo instead of
           the phone's own aspect ratio, so more of the image shows. */
        min-height: 70vh;
        position: relative;
        display: flex;
        flex-direction: column;
        padding-bottom: 12px;
        background-image: var(--hero-mobile-bg);
        background-size: cover;
        background-position: center;
    }

    body[data-page="home"] .bannerPrincipal::before {
        position: absolute;
        inset: 0;
        background: transparent;
        z-index: 0;
    }

    body[data-page="home"] .bannerPrincipal picture {
        display: none;
    }

    body[data-page="home"] .bannerPrincipal__image {
        display: none;
    }

    body[data-page="home"] .bannerPrincipal > .w-100,
    body[data-page="home"] .bannerPrincipal .buscador-banner,
    body[data-page="home"] .bannerPrincipal .h-70 {
        position: relative;
        z-index: 1;
    }

    body[data-page="home"] .buscador-banner .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    body[data-page="home"] .buscador-banner .container .row .col-lg-11 {
        padding-left: 0;
        padding-right: 0;
    }

    body[data-page="home"] .bannerPrincipal .h-70 {
        padding-top: 0.25rem !important;
        min-height: auto !important;
    }

    body[data-page="home"] .home-hero-title {
        color: #fff;
        font-size: 28px;
        text-align: center !important;
        padding: 0 20px;
        margin-bottom: 20px;
    }

    .img-block {
        width: 100%;
        height: 400px;
    }
}

@media only screen and (max-width: 520px) {
    .img-block {
        width: 100%;
        height: 300px;
    }
}

.img-fluid {
    height: auto;
    width: 100%;
    object-fit: cover;
    image-rendering: crisp-edges;
}

.iconos {
    height: 15px !important;
}

/* Swiper navigation visible in mobile for home featured listings */
.popular-listing .swiper-button-next,
.popular-listing .swiper-button-prev {
    display: flex !important;
}

.popular-listing .swiper-button-next-prop,
.popular-listing .swiper-button-prev-prop {
    display: flex !important;
}

@media only screen and (max-width: 768px) {
    .popular-listing .swiper-button-next-prop.swiper-grande-next,
    .popular-listing .swiper-button-prev-prop.swiper-grande-prev {
        display: none !important;
    }

    .popular-listing .swiper-button-next,
    .popular-listing .swiper-button-prev {
        width: 28px;
        height: 28px;
        line-height: 28px;
    }
}
