/*
 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;
}

/* 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;
}

/* 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-amenities .columns-gap li .facility-icon-img {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    object-fit: contain;
}

@media (max-width: 767px) {
    .property-facility-features .facility-carousel:not(.slick-initialized) {
        grid-template-columns: 1fr;
    }

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

    .property-facility-features .facility-carousel .facility-card {
        grid-template-rows: 48px 2.6em;
        gap: 10px;
        height: 156px;
        padding: 14px 10px;
    }

    .property-facility-features .facility-card .facility-card-title {
        font-size: 0.9rem;
        font-weight: 500;
        min-height: 0;
    }

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

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

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

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

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

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

/* 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;
}

/* 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 */
}


/* 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;
}

/* Hide search submit button */
.form-search .btn-submit {
    display: none !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 - Force single line & equal width */
.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;
    /* Grow equally to fill space */
    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.5px;
    margin-bottom: 2px;
    font-weight: 500;
    white-space: nowrap;
    /* Prevent label wrapping if possible */
    overflow: hidden;
    text-overflow: ellipsis;
}

.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.1;
    white-space: nowrap;
}

/* 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 --- */

/* Elementor Background Overlay Gradient for specific section */
.elementor-5766 .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;
}

/* 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-spinner {
    display: none !important;
}

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

/* 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;
}
