/*
 Theme Name:   Homez Child
 Theme URI:    https://themeforest.net/item/homez-real-estate-wordpress-theme/44173800
 Description:  Homez Child Theme
 Author:       ApusTheme
 Author URI:   http://apusthemes.com
 Template:     homez
 Version:      1.0.0
 Text Domain:  homez-child
*/

/* Ayrı Facilities bölümünü gizle (zaten Konum bölümünde haritanın yanında var) */
.property-section.property-public-facilities {
    display: none !important;
}

/* Details bölümünü gizle */
.property-section.property-detail {
    display: none !important;
}

/* Details (property-detail-detail) bölümünü gizle - sadece ana içerik alanında */
.content-property-detail>.property-detail-detail,
.property-detail-main .property-detail-detail {
    display: none !important;
}

/* Mortgage Calculator'u gizle (Ödeme Planı ile değiştirildi) */
.apus-mortgage-calculator {
    display: none !important;
}

/* Ödeme Planı bölümünde alt sınır ve boşlukları kaldır */
.property-section.property-payment-plan {
    border-bottom: none !important;
    padding-bottom: 0px !important;
    margin-bottom: 0px !important;
}

/* Mobile: add space between Payment Plan and contact widget */
@media (max-width: 991.98px) {
    .single-property .property-section.property-payment-plan {
        margin-bottom: 16px !important;
    }
}

/* Page Views bölümünü gizle */
.property-section.property-page_views,
#property-section-stats_graph {
    display: none !important;
}

/* Schedule a Tour formunu gizle */
.widget.widget-schedule-tour,
.schedule-tour-wrapper,
.property-section.property-schedule-tour,
#property-section-schedule-tour {
    display: none !important;
}

/* Sticky Sidebar Top Offset Adjustment */
.sidebar-property.sticky-top {
    top: 100px !important;
    z-index: 0;
}

/* Sticky Top Banner (dynamic text over image) */
.sticky-top-banner.sticky-top-banner-with-copy {
    position: relative;
    width: 100%;
}

.sticky-top-banner.sticky-top-banner-with-copy .sticky-banner-visual {
    position: relative;
}

.sticky-top-banner.sticky-top-banner-with-copy .sticky-banner-image {
    display: block;
    width: 100%;
    height: auto;
}

.sticky-top-banner.sticky-top-banner-with-copy .sticky-banner-copy {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: calc(100% - 40px);
    color: #ffffff;
    pointer-events: none;
}

.sticky-top-banner.sticky-top-banner-with-copy .sticky-banner-copy-title,
.sticky-top-banner.sticky-top-banner-with-copy .sticky-banner-copy-subtitle {
    margin: 0;
    text-wrap: balance;
}

.sticky-top-banner.sticky-top-banner-with-copy .sticky-banner-copy-title {
    font-size: clamp(16px, 4.2vw, 28px);
    line-height: 1.15;
    font-weight: 700;
}

.sticky-top-banner.sticky-top-banner-with-copy .sticky-banner-copy-subtitle {
    font-size: clamp(12px, 3.2vw, 20px);
    line-height: 1.2;
    font-weight: 400;
}

@media (max-width: 767.98px) {
    .sticky-top-banner.sticky-top-banner-with-copy .sticky-banner-copy {
        gap: 4px;
    }

    .sticky-top-banner.sticky-top-banner-with-copy .sticky-banner-copy-title {
        font-size: clamp(14px, 3.9vw, 22px);
    }

    .sticky-top-banner.sticky-top-banner-with-copy .sticky-banner-copy-subtitle {
        font-size: clamp(11px, 2.9vw, 16px);
    }
}

@media (min-width: 1200px) {
    .sticky-top-banner.sticky-top-banner-with-copy .sticky-banner-copy {
        left: clamp(20px, 9vw, 150px);
        max-width: calc(100% - 40px);
    }

    .sticky-top-banner.sticky-top-banner-with-copy .sticky-banner-copy-title {
        font-size: 28px;
    }

    .sticky-top-banner.sticky-top-banner-with-copy .sticky-banner-copy-subtitle {
        font-size: 20px;
    }
}

/* Amenities List - Card Style */
.property-amenities .columns-gap {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 15px !important;
    padding: 0 !important;
    list-style: none !important;
    margin-top: 15px !important;
}

@media (max-width: 991px) {
    .property-amenities .columns-gap {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 576px) {
    .property-amenities .columns-gap {
        grid-template-columns: 1fr !important;
    }
}

.property-amenities .columns-gap li {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    background: #f5f5f5 !important;
    border-radius: 8px !important;
    padding: 14px 18px !important;
    margin: 0 !important;
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.property-amenities .columns-gap li::before {
    display: none !important;
}

/* Mobile filter trigger hint */
@media (max-width: 991.98px) {
    html {
        --homez-mobile-filter-hint-label: "Filtrele";
    }
    html[lang^="en"] {
        --homez-mobile-filter-hint-label: "Filter";
    }
    html[lang^="de"] {
        --homez-mobile-filter-hint-label: "Filtern";
    }
    html[lang^="pl"] {
        --homez-mobile-filter-hint-label: "Filtruj";
    }
    html[lang^="ru"] {
        --homez-mobile-filter-hint-label: "Фильтр";
    }
    html[lang^="nl"] {
        --homez-mobile-filter-hint-label: "Filter";
    }

    .mobile-sidebar-btn.btn-left {
        overflow: visible;
        opacity: 0.92;
    }

    .mobile-sidebar-btn.btn-left::before {
        content: var(--homez-mobile-filter-hint-label);
        position: absolute;
        right: 0;
        bottom: calc(100% + 10px);
        padding: 6px 12px;
        border-radius: 999px;
        background: rgba(15, 23, 42, 0.86);
        color: #fff;
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 0.24px;
        line-height: 1;
        white-space: nowrap;
        box-shadow: 0 10px 26px rgba(15, 23, 42, 0.28);
        pointer-events: none;
        animation: onkFilterHintPulse 2.4s ease-in-out infinite;
    }

    .mobile-sidebar-btn.btn-left::after {
        content: "";
        position: absolute;
        right: 14px;
        bottom: calc(100% + 4px);
        width: 8px;
        height: 8px;
        background: rgba(15, 23, 42, 0.86);
        transform: rotate(45deg);
        border-radius: 2px;
        pointer-events: none;
        animation: onkFilterHintPulse 2.4s ease-in-out infinite;
    }

    .mobile-sidebar-btn.btn-left:hover::before,
    .mobile-sidebar-btn.btn-left:focus::before {
        animation-duration: 1.8s;
    }
}

@keyframes onkFilterHintPulse {
    0% {
        opacity: 0.72;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(-2px);
    }
    100% {
        opacity: 0.72;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .mobile-sidebar-btn.btn-left::before,
    .mobile-sidebar-btn.btn-left::after {
        animation: none !important;
    }
}

/* Single Property - Tesis Ozellikleri Carousel */
.property-facility-features .facility-carousel {
    margin-top: 18px;
    padding: 0 18px;
}

.property-facility-features .facility-carousel:not(.slick-initialized) {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.property-facility-features .facility-carousel .facility-card {
    display: grid;
    grid-template-rows: 85px 2.6em;
    justify-items: center;
    align-content: center;
    text-align: center;
    gap: 12px;
    height: 196px;
    border-radius: 14px;
    border: 1px solid #e3eaf6;
    background: #ffffff;
    box-shadow: none;
    padding: 16px 14px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.property-facility-features .facility-carousel .facility-card:hover {
    transform: translateY(-3px);
    border-color: #d3ddf1;
    box-shadow: none;
}

.property-facility-features .facility-carousel .slick-list.draggable {
    padding: 5px;
}

.property-facility-features .facility-card .facility-card-icon {
    width: 85px;
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1f3f8f;
    line-height: 1;
    border-radius: 999px;
    background: linear-gradient(180deg, #eef3ff 0%, #e3ecff 100%);
}

.property-facility-features .facility-card .facility-card-title {
    color: #1f2f4f;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.25;
    margin: 0;
    min-height: 0;
    max-width: 100%;
    width: 100%;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.property-facility-features .facility-card .facility-icon-img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.property-facility-features .facility-card .facility-card-icon i {
    font-size: 42px;
    line-height: 1;
}

.property-facility-features .facility-carousel .slick-slide {
    padding-left: 9px !important;
    padding-right: 9px !important;
}

.property-facility-features .facility-carousel .slick-arrow {
    width: 44px;
    height: 44px;
    line-height: 44px;
    border-radius: 999px;
    border: 1px solid #d8e2f2;
    background: #fff;
    box-shadow: 0 8px 20px rgba(16, 42, 67, 0.16);
    color: #203a70;
}

.property-facility-features .facility-carousel .slick-arrow:hover,
.property-facility-features .facility-carousel .slick-arrow:focus {
    border-color: var(--homez-theme-color);
    background: var(--homez-theme-color);
    color: #fff;
}

.property-facility-features .facility-carousel .slick-prev {
    left: -4px;
}

.property-facility-features .facility-carousel .slick-next {
    right: -4px;
}

.property-facility-features .homez-property-video-slot {
    width: 100%;
}

.property-facility-features .homez-property-video-slot.has-divider {
    margin-top: var(--onk-single-section-space, 28px);
    padding-top: var(--onk-single-section-space, 28px);
    border-top: 1px solid #e5ebf3;
}

.property-facility-features .homez-property-vertical-video-section {
    margin-top: 0;
    max-width: 560px;
}

@media (min-width: 992px) {
    .property-facility-features .homez-property-vertical-video-section {
        max-width: 280px;
    }
}

.property-facility-features .homez-property-vertical-video-title {
    margin: 0 0 12px;
    color: #1f2f4f;
    font-size: 1.1rem;
    font-weight: 600;
}

.property-facility-features .homez-property-vertical-video-frame {
    width: 100%;
    aspect-ratio: var(--homez-property-video-ratio, 16 / 9);
    border-radius: 14px;
    overflow: hidden;
    background: #0f172a;
    box-shadow: 0 12px 28px rgba(14, 34, 66, 0.2);
    position: relative;
    isolation: isolate;
}

.property-facility-features .homez-property-vertical-video-open {
    width: 100%;
    height: 100%;
    border: 0;
    margin: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
    position: relative;
    color: #fff;
}

.property-facility-features .homez-property-vertical-video-preview {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    transition: transform 0.35s ease;
}

.property-facility-features .homez-property-vertical-video-frame-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #1b355f 0%, #0f172a 100%);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform: scale(1.02);
    transition: transform 0.35s ease;
}

.property-facility-features .homez-property-vertical-video-frame.has-thumbnail .homez-property-vertical-video-frame-bg {
    background-image: var(--homez-video-thumb);
}

.property-facility-features .homez-property-vertical-video-frame.has-preview-video .homez-property-vertical-video-frame-bg {
    display: none;
}

.property-facility-features .homez-property-vertical-video-frame-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 15, 31, 0.2) 0%, rgba(8, 15, 31, 0.72) 100%);
}

.property-facility-features .homez-property-vertical-video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 74px;
    height: 74px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    transform: translate(-50%, -58%);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
}

.property-facility-features .homez-property-vertical-video-play-icon::before {
    content: "";
    position: absolute;
    left: 31px;
    top: 23px;
    width: 0;
    height: 0;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    border-left: 22px solid #1a3360;
}

.property-facility-features .homez-property-vertical-video-open-text {
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    background: rgba(12, 20, 37, 0.88);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    border-radius: 999px;
    padding: 10px 16px;
    white-space: nowrap;
}

.property-facility-features .homez-property-vertical-video-open:hover .homez-property-vertical-video-frame-bg,
.property-facility-features .homez-property-vertical-video-open:focus .homez-property-vertical-video-frame-bg {
    transform: scale(1.07);
}

.property-facility-features .homez-property-vertical-video-open:hover .homez-property-vertical-video-preview,
.property-facility-features .homez-property-vertical-video-open:focus .homez-property-vertical-video-preview {
    transform: scale(1.07);
}

.homez-property-video-template {
    display: none;
}

body.homez-video-lightbox-open {
    overflow: hidden;
}

.homez-property-video-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: rgba(10, 16, 30, 0.78);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.homez-property-video-lightbox.is-active {
    display: flex;
}

.homez-property-video-lightbox-dialog {
    width: min(96vw, 980px);
    position: relative;
}

.homez-property-video-lightbox-dialog.is-portrait {
    width: min(92vw, 500px);
}

.homez-property-video-lightbox-close {
    position: absolute;
    right: -12px;
    top: -12px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    color: #0f172a;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

.homez-property-video-lightbox-content {
    border-radius: 14px;
    overflow: hidden;
    background: #000;
}

.homez-property-video-lightbox-media {
    width: 100%;
    aspect-ratio: var(--homez-lightbox-video-ratio, 16 / 9);
    background: #000;
    max-height: 84vh;
}

.homez-property-video-lightbox-media iframe,
.homez-property-video-lightbox-media video,
.homez-property-video-lightbox-media .wp-video,
.homez-property-video-lightbox-media .wp-video-shortcode,
.homez-property-video-lightbox-media .wp-video-shortcode video {
    width: 100% !important;
    height: 100% !important;
    display: block;
    border: 0;
}

.homez-property-video-lightbox-media .homez-property-vertical-video-player {
    object-fit: contain;
    background: #000;
}

.homez-property-video-lightbox-media .homez-property-vertical-video-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #fff;
    font-weight: 500;
    text-align: center;
    padding: 12px;
}

.property-amenities .columns-gap li .facility-icon-img {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    object-fit: contain;
}

/* Elementor campaign carousel widget */
.homez-child-campaign-carousel .widget-title-wrapper {
    margin-bottom: 18px;
}

.homez-child-campaign-carousel .slick-carousel {
    margin-left: -8px;
    margin-right: -8px;
}

.homez-child-campaign-carousel .campaign-carousel-slide {
    padding-left: 8px;
    padding-right: 8px;
}

.homez-child-campaign-carousel .campaign-carousel-card {
    display: block;
    height: auto;
    background: transparent;
    border: 0;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    transition: none;
    text-decoration: none !important;
}

.homez-child-campaign-carousel .campaign-carousel-card:hover,
.homez-child-campaign-carousel .campaign-carousel-card:focus {
    transform: none;
    border-color: transparent;
    box-shadow: none;
    text-decoration: none !important;
    background-image: none !important;
    border-bottom: 0 !important;
}

.homez-child-campaign-carousel .campaign-carousel-card,
.homez-child-campaign-carousel .campaign-carousel-card:hover,
.homez-child-campaign-carousel .campaign-carousel-card:focus,
.homez-child-campaign-carousel .campaign-carousel-card:active,
.homez-child-campaign-carousel .campaign-carousel-card:visited {
    text-decoration: none !important;
    background-image: none !important;
    border-bottom: 0 !important;
}

.homez-child-campaign-carousel .campaign-carousel-card * {
    text-decoration: none !important;
}

.homez-child-campaign-carousel .campaign-carousel-card.no-link {
    cursor: default;
}

.homez-child-campaign-carousel .campaign-carousel-card.no-link:hover,
.homez-child-campaign-carousel .campaign-carousel-card.no-link:focus {
    transform: none;
    border-color: transparent;
    box-shadow: none;
}

.homez-child-campaign-carousel .campaign-carousel-media {
    width: auto;
    aspect-ratio: auto;
    border: 0 !important;
    box-shadow: none !important;
    outline: 0 !important;
}

.homez-child-campaign-carousel .campaign-carousel-card::before,
.homez-child-campaign-carousel .campaign-carousel-card::after,
.homez-child-campaign-carousel .campaign-carousel-media:not(.campaign-carousel-media-template)::before,
.homez-child-campaign-carousel .campaign-carousel-media:not(.campaign-carousel-media-template)::after {
    content: none !important;
    display: none !important;
}

.homez-child-campaign-carousel .campaign-carousel-media:not(.campaign-carousel-media-template) {
    background: transparent !important;
    overflow: visible !important;
}

.homez-child-campaign-carousel .campaign-carousel-media img {
    width: auto;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 16px;
    transition: none;
}

.homez-child-campaign-carousel .campaign-carousel-card:hover .campaign-carousel-media img,
.homez-child-campaign-carousel .campaign-carousel-card:focus .campaign-carousel-media img {
    transform: none;
}

.homez-child-campaign-carousel .campaign-carousel-media-template {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    min-height: 420px;
    border-radius: 16px;
    overflow: hidden !important;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: stretch;
    border: 0 !important;
    box-shadow: none !important;
}

.homez-child-campaign-carousel .campaign-template-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 15, 35, 0.2) 0%, rgba(8, 15, 35, 0.68) 100%);
}

.homez-child-campaign-carousel .campaign-template-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: clamp(20px, 3vw, 36px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    text-align: center;
    color: #fff;
}

.homez-child-campaign-carousel .campaign-template-eyebrow {
    font-size: clamp(13px, 1.1vw, 17px);
    line-height: 1.3;
    letter-spacing: 0.02em;
    opacity: 0.95;
    font-weight: 400;
}

.homez-child-campaign-carousel .campaign-template-headline {
    margin: 0;
    font-size: clamp(20px, 2.25vw, 40px);
    line-height: 1.18;
    font-weight: 900 !important;
    color: #C1AC51 !important;
    text-wrap: balance;
    text-decoration: none !important;
}

.homez-child-campaign-carousel .campaign-carousel-card .campaign-template-headline,
.homez-child-campaign-carousel .campaign-carousel-card:hover .campaign-template-headline,
.homez-child-campaign-carousel .campaign-carousel-card:focus .campaign-template-headline {
    text-decoration: none !important;
}

.homez-child-campaign-carousel .campaign-template-boxes {
    width: min(92%, 580px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 6px;
}

.homez-child-campaign-carousel .campaign-template-box {
    border-left: 4px solid #d1b554;
    border-radius: 12px;
    padding: 10px 12px;
    background: rgba(8, 15, 35, 0.42);
    text-align: left;
    line-height: 1.42;
    font-size: clamp(12px, 0.95vw, 15px);
    font-weight: 500;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

@media (max-width: 767px) {
    .homez-child-campaign-carousel .slick-carousel {
        margin-left: -6px;
        margin-right: -6px;
    }

    .homez-child-campaign-carousel .campaign-carousel-slide {
        padding-left: 6px;
        padding-right: 6px;
    }

    .homez-child-campaign-carousel .campaign-carousel-media-template {
        min-height: 360px;
    }

    .homez-child-campaign-carousel .campaign-template-content {
        padding: 18px 14px;
    }

    .homez-child-campaign-carousel .campaign-template-boxes {
        width: 100%;
        gap: 8px;
    }

    .homez-child-campaign-carousel .campaign-template-box {
        padding: 9px 10px;
    }
}

@media (max-width: 767px) {
    .property-facility-features .facility-carousel:not(.slick-initialized) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .property-facility-features .facility-carousel {
        padding: 0 4px;
    }

    .property-facility-features .facility-carousel .facility-card {
        grid-template-rows: 78px 2.8em;
        gap: 12px;
        height: 200px;
        padding: 16px 12px;
    }

    .property-facility-features .facility-card .facility-card-title {
        font-size: 0.98rem;
        font-weight: 600;
        min-height: 0;
        line-height: 1.25;
    }

    .property-facility-features .facility-card .facility-card-icon,
    .property-facility-features .facility-card .facility-icon-img {
        width: 78px;
        height: 78px;
        flex-basis: 78px;
    }

    .property-facility-features .facility-card .facility-card-icon i {
        font-size: 38px;
    }

    .property-facility-features .facility-carousel .facility-icon-img {
        width: 42px;
        height: 42px;
    }

    .property-facility-features .facility-carousel .slick-slide {
        padding-left: 6px !important;
        padding-right: 6px !important;
    }

    .property-facility-features .facility-carousel .slick-arrow {
        width: 34px;
        height: 34px;
        line-height: 34px;
    }

    .property-facility-features .facility-carousel .slick-prev {
        left: -2px;
    }

    .property-facility-features .facility-carousel .slick-next {
        right: -2px;
    }

    .property-facility-features .homez-property-vertical-video-frame {
        width: 100%;
        max-width: 100%;
    }

    .property-facility-features .homez-property-vertical-video-play-icon {
        width: 64px;
        height: 64px;
    }

    .property-facility-features .homez-property-vertical-video-play-icon::before {
        left: 27px;
        top: 20px;
        border-top-width: 12px;
        border-bottom-width: 12px;
        border-left-width: 18px;
    }

    .property-facility-features .homez-property-vertical-video-open-text {
        bottom: 14px;
        font-size: 13px;
        padding: 9px 14px;
    }
}

/* Installment Payment Badge Styles */
.badge-installment {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #C1AC52 !important;
    color: #fff !important;
    font-size: 12px;
    font-weight: 600;
    padding: 7px;
    border-radius: 4px;
    margin-left: 0;
    margin-top: 0;
    /* Align correctly in new flex container */
    line-height: 1.4;
    text-transform: none;
    border: none !important;
    vertical-align: middle;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.badge-installment i {
    margin-right: 5px;
    font-size: 11px;
    color: #fff !important;
}

.badge-installment:hover {
    background-color: #a89545 !important;
    color: #fff !important;
}

/* Specific adjustments for grid/list views */

/* Adjust amenity group spacing in vertical search forms */
form.form-search.vertical .form-group-amenity {
    margin-bottom: 25px !important;
}

/* Match projects page background on all property listing/query pages */
body.homez-child-property-listing-page {
    background: #F7F7F7 !important;
}

/* Stable empty-state layout on property listing pages */
.properties-listing-wrapper > .not-found {
    background: #fff;
    border: 1px solid #e4e9f2;
    border-radius: 14px;
    padding: 30px 20px;
    margin: 0 0 18px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #24324a;
}

/* Keep empty-state layout balanced when sidebar + listing columns are visible */
body.homez-child-property-listing-page .main-content > .row > #main-content .properties-listing-wrapper > .not-found {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

/* Normalize taxonomy listing layout to match projects page container width */
body.homez-child-property-listing-page #main-container.inner.layout-type-default > .main-content.container-fluid.inner {
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 15px;
    padding-right: 15px;
}

/* Hard override for pages rendered with container-fluid to avoid stretched side layout */
body.homez-child-property-listing-page .main-content.container-fluid.inner {
    max-width: 1320px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

/* Projects page search button: default secondary, hover main (all languages) */
body.homez-child-property-listing-page .elementor-5766 .elementor-element.elementor-element-00ceb0d .btn-submit.btn-theme,
body.homez-child-property-listing-page form.filter-listing-form .btn-submit.btn-theme {
    background-color: var(--homez-theme-hover-color) !important;
    border-color: var(--homez-theme-hover-color) !important;
    color: #fff !important;
}

body.homez-child-property-listing-page .elementor-5766 .elementor-element.elementor-element-00ceb0d .btn-submit.btn-theme:hover,
body.homez-child-property-listing-page .elementor-5766 .elementor-element.elementor-element-00ceb0d .btn-submit.btn-theme:focus,
body.homez-child-property-listing-page .elementor-5766 .elementor-element.elementor-element-00ceb0d .btn-submit.btn-theme:active,
body.homez-child-property-listing-page form.filter-listing-form .btn-submit.btn-theme:hover,
body.homez-child-property-listing-page form.filter-listing-form .btn-submit.btn-theme:focus,
body.homez-child-property-listing-page form.filter-listing-form .btn-submit.btn-theme:active {
    background-color: var(--homez-theme-color) !important;
    border-color: var(--homez-theme-color) !important;
    color: #fff !important;
}

/* Fix layout for long checkbox labels in search filter */
.form-search .terms-list.circle-check .list-item label {
    display: flex;
    align-items: flex-start;
    line-height: 1.4;
    white-space: normal;
    text-align: left;
}

.form-search .terms-list.circle-check .list-item label::before {
    flex-shrink: 0;
    margin-top: 3px;
    /* Align with text top */
    margin-right: 8px;
    /* Ensure spacing */
}

/* 2-Column layout for Housing Types (Konut Tipleri) in search filter */
.form-search .form-group-type .terms-list.circle-check {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 10px;
    /* Adjust spacing between columns */
    grid-row-gap: 15px;
    /* Standard spacing to match other filters */
}

.form-search .form-group-type .terms-list.circle-check .list-item {
    width: auto;
    /* Reset float width logic if necessary */
    float: none;
    margin-bottom: 0;
    /* Let grid gap handle vertical spacing */
}

/* Keep long amenity names stable across languages */
.form-search .form-group-amenity .terms-list.circle-check .list-item .list-item-inner {
    display: flex;
    align-items: flex-start;
}

.form-search .form-group-amenity .terms-list.circle-check .list-item label {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.35;
    text-align: left;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.form-search .form-group-amenity .terms-list.circle-check .list-item label::before {
    margin-right: 0;
    margin-top: 2px;
    flex: 0 0 16px;
}

/* Prevent language-specific long labels from breaking 2-column amenity layout */
form.form-search.vertical .form-group-amenity .circle-check li,
.properties-filter-sidebar-wrapper .form-group-amenity .circle-check li {
    width: 100% !important;
    padding: 0 !important;
}


/* Header Sticky Effect - no_keep_header override */
.apus-header,
.apus-header.no_keep_header {
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
    background-color: #fff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
    width: 100% !important;
}

/* Elementor container'ı da sticky yap */
.apus-header .elementor,
.apus-header.no_keep_header .elementor {
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
    background-color: #fff !important;
}

/* Elementor container inner */
.apus-header .elementor .e-con,
.apus-header.no_keep_header .elementor .e-con {
    background-color: #fff !important;
}

.apus-header .main-sticky-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
    background-color: #fff !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

/* Sticky header için daha belirgin shadow */
.apus-header.is-sticky .main-sticky-header,
.apus-header.elementor-sticky .main-sticky-header,
.apus-header .main-sticky-header.elementor-sticky,
.apus-header.no_keep_header.is-sticky,
.apus-header.no_keep_header.elementor-sticky {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    background-color: #fff !important;
}

/* Elementor sticky container için */
.apus-header .elementor-sticky,
.apus-header.no_keep_header .elementor-sticky {
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
}

/* Single Property Header Overlay - Blue Gradient */
.property-single-v7 .property-detail-header-wrapper.has-bg:before {
    background: linear-gradient(180deg, rgba(25, 66, 143, 0) 0%, rgba(25, 66, 143, 1) 100%) !important;
    opacity: 0.8 !important;
}

/* Header Badge Container - Keep badges on a single row (desktop) */
.property-single-v7 .property-detail-badges-v7 {
    flex-wrap: nowrap !important;
    gap: 15px;
    /* Use gap for spacing instead of margins */
    width: 100%;
}

/* Header Badge Styles - Glassmorphism */
.property-single-v7 .detail-badge-v7 {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-left: 3px solid #c1ac52 !important;
    /* Gold accent left border */
    border-radius: 8px;
    padding: 8px 12px !important;
    /* Reduced padding */
    margin: 0 !important;
    /* Reset margins, container gap handles spacing */
    min-width: 0;
    /* Allow shrinking if needed to fit */
    transition: transform 0.3s ease, background 0.3s ease;
    flex: 1 1 0;
    /* Equal-width badges on one row */
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.property-single-v7 .detail-badge-v7:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    transform: translateY(-2px);
    border-left-color: #e0cd7a !important;
    /* Brighter gold on hover */
}

.property-single-v7 .detail-badge-v7 .detail-badge-label {
    font-size: 12px !important;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9) !important;
    letter-spacing: 0.3px;
    margin-bottom: 2px;
    font-weight: 500;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    overflow-wrap: anywhere;
    word-break: break-word;
    line-height: 1.25;
}

.property-single-v7 .detail-badge-v7 .detail-badge-value,
.property-single-v7 .detail-badge-v7 .detail-badge-value * {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #fff !important;
    line-height: 1.3;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* Remove default separator if exists */
.property-single-v7 .detail-badge-v7:before {
    display: none !important;
}

/* Badge layout fix for mobile/tablet */
@media (max-width: 991.98px) {
    .property-single-v7 .property-detail-badges-v7 {
        flex-wrap: wrap !important;
        gap: 10px;
    }

    .property-single-v7 .detail-badge-v7 {
        flex: 1 1 calc(50% - 10px);
    }

    .property-single-v7 .detail-badge-v7 .detail-badge-inner {
        padding: 10px 12px !important;
    }

    .property-single-v7 .detail-badge-v7 .detail-badge-label {
        white-space: normal;
        overflow: visible;
        text-overflow: unset;
        line-height: 1.25;
    }

    .property-single-v7 .detail-badge-v7 .detail-badge-value,
    .property-single-v7 .detail-badge-v7 .detail-badge-value * {
        white-space: normal;
        overflow-wrap: anywhere;
        word-break: break-word;
        line-height: 1.25;
    }
}

@media (max-width: 575.98px) {
    .property-single-v7 .detail-badge-v7 {
        flex: 1 1 calc(50% - 8px);
    }

    .property-single-v7 .property-detail-badges-v7 {
        gap: 8px;
    }

    .property-single-v7 .detail-badge-v7 .detail-badge-value,
    .property-single-v7 .detail-badge-v7 .detail-badge-value * {
        font-size: 1rem !important;
    }
}

/* --- User Requested Integrations --- */

/* Homepage hero overlay gradient (all language homepage clones) */
.elementor-element.elementor-element-e1f22c0 > .elementor-background-overlay {
    background: linear-gradient(180deg, rgba(25, 66, 143, 0) 0%, rgba(25, 66, 143, 1) 100%) !important;
    opacity: 0.7 !important;
}

/* Language Switcher Styles */
.lang-switcher {
    position: relative;
    display: inline-block;
}

.lang-btn {
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    min-width: 160px;
    text-align: left;
}

.lang-menu {
    display: none;
    position: absolute;
    left: 0;
    top: calc(100% + 8px);
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    list-style: none;
    margin: 0;
    padding: 6px;
    min-width: 100%;
    z-index: 9999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
}

.lang-menu li {
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
}

.lang-menu li:hover {
    background: rgba(0, 0, 0, .06);
}

.lang-switcher.is-open .lang-menu {
    display: block;
}

/* Specific Elementor Button Width */
.elementor-5766 .elementor-element.elementor-element-00ceb0d .btn-submit {
    width: 100%;
}

/* Horizontal Search Form Stretch */
form.form-search.horizontal .form-group-search .d-md-flex {
    justify-content: stretch !important;
}

/* Mobile Sticky Header */
#apus-header-mobile {
    position: sticky;
    top: 0;
    z-index: 2;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Hide View Icon in Property Cards */
.property-item .action-item .btn-permalink {
    display: none !important;
}

/* Standardized Typography Rules */
.single-property .content-property-detail p,
.single-property .content-property-detail li,
.single-property .property-description,
.single-property .property-features li,
.single-property .property-address-content,
.single-property .property-detail-info li {
    font-size: 1rem !important;
    line-height: 1.7;
}

.single-property .content-property-detail h1,
.single-property .content-property-detail h2,
.single-property .content-property-detail h3:not(.elementor-widget-heading h3),
.single-property .content-property-detail h4,
.single-property .content-property-detail h5,
.single-property .content-property-detail h6,
.single-property .property-section .title {
    font-size: 1.6rem !important;
    line-height: 1.4;
    font-weight: 700;
}

/* Single Property - Standard section spacing + divider rhythm */
.single-property .content-property-detail .property-detail-main > .property-section,
.single-property .content-property-detail .property-detail-main > .tabs-video-virtual {
    --onk-single-section-space: 28px;
    margin-top: 0 !important;
    margin-bottom: var(--onk-single-section-space) !important;
    padding-top: 0 !important;
    padding-bottom: var(--onk-single-section-space) !important;
    border-bottom: 1px solid #e5ebf3 !important;
}

.single-property .content-property-detail .property-detail-main > .property-section:last-of-type,
.single-property .content-property-detail .property-detail-main > .tabs-video-virtual:last-of-type {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: 0 !important;
}

.single-property .content-property-detail .property-detail-main > .property-section > .title,
.single-property .content-property-detail .property-detail-main > .tabs-video-virtual > .title {
    margin-bottom: 14px !important;
}

/* Payment Plan should end flush with sidebar block rhythm */
.single-property .content-property-detail .property-detail-main > .property-section.property-payment-plan {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: 0 !important;
}

/* Safety net: keep only custom video block under Tesis Özellikleri */
.single-property .content-property-detail .property-detail-main .property-section.property-video {
    display: none !important;
}

@media (max-width: 991.98px) {
    .single-property .content-property-detail .property-detail-main > .property-section,
    .single-property .content-property-detail .property-detail-main > .tabs-video-virtual {
        --onk-single-section-space: 22px;
    }
}

/* New Price Display in Action Item - Ensure Visibility */
.property-item .action-item .price-wrapper-bottom {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    margin-right: 15px !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 10;
}

.property-item .action-item .price-wrapper-bottom .property-price,
.property-item .action-item .price-wrapper-bottom .property-price * {
    color: #222 !important;
    font-size: 1.3rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    margin-bottom: 0 !important;
}

.property-item .action-item .price-wrapper-bottom .starting-price-text-bottom {
    font-size: 11px !important;
    color: #666 !important;
    font-weight: 500 !important;
    display: block !important;
    margin-top: 0 !important;
    line-height: 1.2 !important;
}

/* Mobile: keep price layer below mobile menu/off-canvas overlays */
@media (max-width: 991.98px) {
    .property-item .action-item .price-wrapper-bottom,
    .property-item .action-item .price-wrapper-bottom .property-price,
    .property-item .action-item .price-wrapper-bottom .property-price * {
        z-index: auto !important;
    }
}

/* Force visibility of price in Related Projects - High Specificity */
body .wrapper-posts-related .related-properties .property-item .action-item,
body .related-posts .property-item .action-item,
body .related-properties .property-item .action-item {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    width: auto !important;
}

body .wrapper-posts-related .related-properties .property-item .action-item .price-wrapper-bottom,
body .related-posts .property-item .action-item .price-wrapper-bottom {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    width: auto !important;
}

body .wrapper-posts-related .related-properties .property-item .action-item .price-wrapper-bottom .property-price,
body .related-posts .property-item .action-item .price-wrapper-bottom .property-price {

    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Property Card Separator - HR style with spacing */
.property-card-separator {
    border-top: 1px solid #eaeaea !important;
    margin: 10px 0 15px 0 !important;
    width: 100%;
    display: block !important;
}

/* Ensure spacing in list view */
.property-list .property-card-separator {
    margin: 15px 0 !important;
}

/* Remove duplicate border when separator div is present */
.property-card-separator+.property-metas-bottom,
.property-item .property-card-separator~.property-metas-bottom {
    border-top: none !important;
    padding-top: 0 !important;
}

/* Remove box-shadow and padding from sidebar widgets */
body.single-property-v7 .sidebar .widget {
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
}

.sidebar .widget,
.apus-sidebar .widget {
    padding: 0 !important;
}

/* WhatsApp card content padding */
.whatsapp-card-content {
    padding: 15px !important;
}

/* =============================================
   WhatsApp CTA Global Section
   ============================================= */
.whatsapp-cta-global {
    padding: 60px 0;
}

.whatsapp-cta-global .whatsapp-cta-wrapper {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1px solid #d1d5db;
    border-radius: 20px;
    padding: 10px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    overflow: visible;
}

.whatsapp-cta-global .whatsapp-cta-box {
    flex: 1;
}

.whatsapp-cta-global .whatsapp-cta-content {
    max-width: 550px;
}

.whatsapp-cta-global .whatsapp-cta-title {
    font-size: 32px !important;
    font-weight: 700;
    color: #166534;
    margin: 0 0 20px 0;
    line-height: 1.3;
}

.whatsapp-cta-global .whatsapp-cta-text {
    font-size: 16px;
    color: #15803d;
    margin: 0 0 12px 0;
    line-height: 1.6;
}

.whatsapp-cta-global .whatsapp-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #25D366;
    color: #fff !important;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
    margin-top: 15px;
}

.whatsapp-cta-global .whatsapp-cta-button:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
    color: #fff !important;
}

.whatsapp-cta-global .whatsapp-cta-button svg {
    flex-shrink: 0;
}

.whatsapp-cta-global .whatsapp-cta-image {
    flex-shrink: 0;
    position: relative;
}

.whatsapp-cta-global .whatsapp-cta-image img {
    max-width: 280px;
    height: auto;
    filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.2));
    position: relative;
    top: -30px;
    margin-bottom: -60px;
}

@media (max-width: 991px) {
    .whatsapp-cta-global .whatsapp-cta-wrapper {
        padding: 20px 35px;
    }

    .whatsapp-cta-global .whatsapp-cta-image img {
        max-width: 220px;
        top: -20px;
        margin-bottom: -40px;
    }
}

@media (max-width: 768px) {
    .whatsapp-cta-global .whatsapp-cta-wrapper {
        flex-direction: column;
        text-align: center;
        padding: 30px 25px;
        overflow: hidden;
    }

    .whatsapp-cta-global .whatsapp-cta-content {
        max-width: 100%;
    }

    .whatsapp-cta-global .whatsapp-cta-title {
        font-size: 26px !important;
    }

    .whatsapp-cta-global .whatsapp-cta-image img {
        max-width: 160px;
        top: 0;
        margin-bottom: 0;
    }
}

/* Hide duplicate WhatsApp CTA on single property pages */
.single-property .whatsapp-cta-section {
    display: none !important;
}

/* =============================================
   Floor Plans Styling
   ============================================= */
.single-property .property-detail-floor-plans .accordion .accordion-item .accordion-header .accordion-button h3,
.property-detail-floor-plans .accordion-item .accordion-button h3,
.property-detail-floor-plans .floor-item .accordion-button h3 {
    font-size: 1.3rem !important;
    font-weight: 600 !important;
    margin: 0 !important;
    color: #1a1a1a !important;
}

.property-detail-floor-plans .accordion-item .metas {
    font-size: 16px;
    color: #555;
}

.property-detail-floor-plans .accordion-item .metas .size {
    font-size: 16px;
    font-weight: 500;
}

.property-detail-floor-plans .accordion-item .metas .subtitle {
    color: #888;
    margin-right: 4px;
}

/* =============================================
   Consolidated Sidebar Sticky Container
   ============================================= */
.sidebar-sticky-container {
    position: sticky;
    top: 100px;
    z-index: 90;
}

/* WhatsApp Sidebar Card Redesign */
.whatsapp-sidebar-card {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-radius: 12px;
    padding: 15px;
    border: 1px solid #bbf7d0;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.whatsapp-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.whatsapp-text {
    flex: 0 0 60%;
}

.whatsapp-image {
    flex: 0 0 35%;
    text-align: right;
}

.whatsapp-image img {
    max-width: 100px;
    height: auto;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.whatsapp-card-title {
    font-size: 20px !important;
    font-weight: 700;
    color: #166534;
    margin: 0 0 4px 0 !important;
    line-height: 1.2;
}

.whatsapp-card-desc {
    font-size: 0.82rem !important;
    color: #15803d;
    margin: 0 !important;
    line-height: 1.4;
}

.whatsapp-card-button {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25D366;
    color: #fff !important;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 3px 10px rgba(37, 211, 102, 0.2);
}

.whatsapp-card-button:hover {
    background: #128C7E;
    transform: translateY(-2px);
}

/* Sticky Contact Form (Inside Container) */
.sticky-contact-form-wrapper {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.sticky-contact-form-wrapper .form-title {
    font-size: 17px !important;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 12px 0 !important;
    text-align: center;
}

.sticky-contact-form-wrapper .wpcf7-form .form-row {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.sticky-contact-form-wrapper .wpcf7-form .form-group {
    margin-bottom: 0;
}

.sticky-contact-form-wrapper .wpcf7-form .form-group.half {
    flex: 1;
    min-width: 0;
}

/* CF7 Form Styling - Clean and Safe */
.sticky-contact-form-wrapper .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.sticky-contact-form-wrapper .wpcf7-form label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
}

.sticky-contact-form-wrapper .wpcf7-form input:not([type="submit"]),
.sticky-contact-form-wrapper .wpcf7-form select {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 13px;
    background: #fff;
    box-sizing: border-box;
    margin-bottom: 12px;
}

.sticky-contact-form-wrapper .wpcf7-form input:focus,
.sticky-contact-form-wrapper .wpcf7-form select:focus {
    outline: none;
    border-color: #c1ac52;
}

@media (max-width: 767.98px) {
    .sticky-contact-form-wrapper .wpcf7-form .form-row {
        display: block;
        gap: 0;
        margin-bottom: 0;
    }

    .sticky-contact-form-wrapper .wpcf7-form .form-group.half {
        width: 100%;
        flex: 0 0 100%;
    }

    .sticky-contact-form-wrapper .wpcf7-form .form-group {
        margin-bottom: 10px;
    }

    .sticky-contact-form-wrapper .wpcf7-form input[type="date"] {
        width: 100%;
        min-height: 42px;
        line-height: 1.2;
        -webkit-appearance: none;
        appearance: none;
    }
}

.sticky-contact-form-wrapper .wpcf7-submit {
    background: #c1ac52 !important;
    color: #fff !important;
    border: none !important;
    padding: 12px 15px !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
    text-align: center !important;
    min-width: 160px;
    display: block !important;
    margin: 10px auto 0 auto !important;
    height: auto !important;
}

.sticky-contact-form-wrapper .wpcf7-submit:hover {
    background: #a89545 !important;
    transform: translateY(-1px);
}

.sticky-contact-form-wrapper .wpcf7-not-valid-tip {
    font-size: 0.6em;
}

.sticky-contact-form-wrapper .wpcf7-form.is-submitting .wpcf7-submit {
    opacity: 0.86;
    cursor: wait !important;
}

.sticky-contact-form-wrapper .wpcf7-form.is-submitting .wpcf7-submit:hover {
    transform: none;
}

.sticky-contact-form-wrapper .wpcf7-spinner {
    width: 16px;
    height: 16px;
    margin: 0 0 0 10px;
    border-radius: 50%;
    border: 2px solid rgba(193, 172, 82, 0.35);
    border-top-color: #c1ac52;
    opacity: 0;
    vertical-align: middle;
    animation: onkibris-submit-spin 0.7s linear infinite;
    display: inline-block !important;
}

.sticky-contact-form-wrapper .wpcf7-form.is-submitting .wpcf7-spinner,
.sticky-contact-form-wrapper .wpcf7-form.submitting .wpcf7-spinner,
.sticky-contact-form-wrapper .wpcf7-spinner.is-active {
    opacity: 1;
}

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

@media (max-width: 991px) {
    .sidebar-sticky-container {
        position: relative;
        top: 0;
    }

    .sidebar-sticky-container .whatsapp-sidebar-card {
        margin-top: 28px;
        margin-bottom: 28px;
    }
}

/* Remove widget border for cleaner sticky look */
body.single-property-v7 .sidebar .widget {
    border: none !important;
    padding: 0 !important;
    background: transparent !important;
}

/* Hide Subproperties Section Global */
.wrapper-posts-related.subproperties,
.property-subproperties {
    display: none !important;
}
