/* Small additions for components Domira doesn't ship out of the box */

/* Domira's own logo.svg ships pre-sized for the header; our logo.png is a raw
   480x348 export, so without a height constraint it renders at native size
   and breaks the header layout. */
.logo_header {
    height: 76px;
    width: auto;
}

.footer-logo .main-logo {
    height: 84px;
    width: auto;
}

/* Hero slider uses effect:"fade", which positions slides absolutely — with
   no explicit height the slider collapses to 0px. */
.hero-slider,
.hero-slider .swiper-slide,
.hero-slider .image {
    height: 500px;
}

.hero-slider .image img {
    height: 100%;
    width: 100%;
}

@media (max-width: 767px) {
    .hero-slider,
    .hero-slider .swiper-slide,
    .hero-slider .image {
        height: 300px;
    }
}

.hero-slider-prev,
.hero-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
}

.hero-slider-prev {
    left: 20px;
}

.hero-slider-next {
    right: 20px;
}

@media (max-width: 767px) {
    .hero-slider-prev,
    .hero-slider-next {
        height: 40px;
        width: 40px;
    }

    .hero-slider-prev i,
    .hero-slider-next i {
        font-size: 20px;
    }
}

/* Domira's default page-title.style-inner padding (100px top/bottom) leaves a
   huge empty band on simple breadcrumb pages. The top value can't shrink too
   far though — the header is position:absolute and overlays this section, so
   it needs enough top padding to clear it; only the bottom is trimmed. */
.page-title.style-inner {
    padding: 110px 0 32px;
}

.page-title.style-inner .sub {
    margin-top: 8px;
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .page-title.style-inner {
        padding: 90px 0 24px;
    }
}

/* Domira's .partner-item box has a fixed size but never constrains the <img>
   itself, so our real bank logos (all different native sizes) overflow and
   get clipped instead of fitting inside the box. */
.wrap-infiniteslide.partner .partner-item {
    overflow: hidden;
    padding: 16px 24px;
}

.wrap-infiniteslide.partner .partner-item img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Price/status/location summary bar on the property page — give it room to
   breathe instead of sitting as bare compressed text. */
.property-summary-bar {
    background: var(--Bg-light);
    border-radius: 16px;
    padding: 28px 32px;
    gap: 28px 60px;
}

@media (max-width: 767px) {
    .property-summary-bar {
        padding: 20px 24px;
    }
}

/* The property/gallery single-image swiper has no height constraint in
   Domira's CSS, so it renders at the photo's full natural scaled height —
   far too tall on wide screens. Cap it and crop with object-fit instead. */
.gallery-sw-single,
.gallery-sw-single .swiper-slide,
.gallery-sw-single .image {
    height: 550px;
}

.gallery-sw-single .image img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

@media (max-width: 767px) {
    .gallery-sw-single,
    .gallery-sw-single .swiper-slide,
    .gallery-sw-single .image {
        height: 320px;
    }
}

.faq-item {
    border: 1px solid #ECECEC;
    border-radius: 12px;
    padding: 20px 24px;
}

.faq-question {
    text-decoration: none;
}

.faq-question .icon-CaretDown {
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.faq-question:not(.collapsed) .icon-CaretDown {
    transform: rotate(180deg);
}

/* Floating WhatsApp chat button */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    z-index: 9998;
    transition: transform 0.2s ease;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    color: #fff;
}

@media (max-width: 767px) {
    .whatsapp-float {
        width: 48px;
        height: 48px;
        bottom: 16px;
        right: 16px;
    }

    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
}

/* Photo gallery grid (property photo viewer) */
.gallery-grid-item {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 16px;
}

.gallery-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-grid-item:hover img {
    transform: scale(1.05);
}
