﻿#listingTypeFilter .filter-option {
    cursor: pointer;
    transition: all .15s ease;
    border: 1px solid #e9ecef;
    padding: 12px 14px;
    border-radius: 10px;
    margin-bottom: 10px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

    #listingTypeFilter .filter-option:hover {
        border-color: #22c55e;
    }

    #listingTypeFilter .filter-option.active {
        background: #22c55e !important;
        border-color: #22c55e !important;
        color: #fff !important;
    }

        #listingTypeFilter .filter-option.active .filter-name,
        #listingTypeFilter .filter-option.active .filter-count {
            color: #fff !important;
        }

        #listingTypeFilter .filter-option.active * {
            color: #fff !important;
        }


.select2-container {
    width: 100% !important;
}
.select2-container--default .select2-selection--single {
    height: 50px; 
    border: 1px solid #e5e7eb; 
    border-radius: 10px; 
    background: #fff;
    display: flex;
    align-items: center;
    padding: 0 14px;
}

   
    .select2-container--default .select2-selection--single .select2-selection__rendered {
        line-height: 1;
        padding: 0;
        color: #6b7280; 
        font-size: 14px;
    }

    
    .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 50px;
        right: 10px;
    }


.select2-container--default .select2-dropdown {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

.select2-container--default .select2-search--dropdown .select2-search__field {
    height: 44px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 10px 12px;
    outline: none;
    font-size: 14px;
}

.select2-container--default .select2-results__option {
    padding: 10px 12px;
    font-size: 14px;
}

.select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background: #22c55e; 
    color: #fff;
}

.select2-container--default .select2-results__option--selected {
    background: rgba(34, 197, 94, .10);
}

.select2-container--default .select2-selection--single .select2-selection__clear {
    margin-right: 26px;
    color: #111827;
}
/*
price-range alanı */
.price-range {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.price-input {
    position: relative;
}

    .price-input input {
        width: 100%;
        height: 50px; 
        border: 1px solid #e5e7eb; 
        border-radius: 10px;
        padding: 0 14px 0 38px;
        font-size: 14px;
        color: #111827;
        background: #fff;
    }

        .price-input input::placeholder {
            color: #9ca3af;
        }

        .price-input input:focus {
            outline: none;
            border-color: #22c55e; 
        }

    .price-input .currency {
        position: absolute;
        left: 12px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 14px;
        color: #6b7280;
        pointer-events: none;
    }
.property-page-section .item-shorting .left-column {
    float: left; 
}
.property-page-section .item-shorting .right-column {
    float: right; 
}
.property-page-section .item-shorting .short-box {
    width: 260px;
}
.property-page-section .item-shorting .nice-select {
    width: 100%;
}
.property-page-section .item-shorting .left-column {
    text-align: left !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}

    .property-page-section .item-shorting .left-column h5 {
        margin-left: 0 !important;
    }
.property-page-section .item-shorting {
    text-align: left;
}
.quick-property-widget .quick-property-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quick-property-widget .quick-property-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 15px;
    border: 1px solid #e5e8ec;
    border-radius: 8px;
    background: #ffffff;
    transition: all 0.3s ease;
}

    .quick-property-widget .quick-property-link:hover {
        border-color: #2eca6a;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
        transform: translateY(-2px);
    }

.quick-property-widget .quick-property-icon {
    min-width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f0fbf5;
    color: #2eca6a;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-property-widget .quick-property-content {
    flex: 1;
    line-height: 1.3;
}

    .quick-property-widget .quick-property-content strong {
        display: block;
        color: #1b1d21;
        font-size: 15px;
        font-weight: 600;
    }

    .quick-property-widget .quick-property-content small {
        display: block;
        color: #6c757d;
        font-size: 12px;
        margin-top: 3px;
    }

.quick-property-widget .quick-property-arrow {
    color: #a0a6ad;
    transition: all 0.3s ease;
}

.quick-property-widget .quick-property-link:hover .quick-property-arrow {
    color: #2eca6a;
    transform: translateX(3px);
}

@media only screen and (max-width: 991px) {
    .quick-property-widget .quick-property-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 575px) {
    .quick-property-widget .quick-property-list {
        grid-template-columns: 1fr;
    }
}

/* Agent list page */
.agents-list .agents-block-one .inner-box .image-box {
    width: 250px;
    height: 330px;
}

.agents-list .agents-block-one .inner-box .image-box img.agent-card-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
}

.agents-list .agents-empty-state {
    background: #fff;
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    color: #6c757d;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

@media only screen and (max-width: 767px) {
    .agents-list .agents-block-one .inner-box .image-box {
        width: 100%;
        max-width: 270px;
        height: 340px;
    }
}

/* Liste sayfasından haritaya geçiş butonu */
.item-shorting .fibi-result-col { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 0; }
.item-shorting .fibi-result-col h5 { margin: 0; }
.fibi-result-col .fibi-map-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    padding: 0 14px;
    margin-left: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #fff;
    color: #2d2929;
    font-size: 14px;
    font-weight: 500;
    vertical-align: middle;
    transition: all .2s ease;
}
.fibi-result-col .fibi-map-view-btn i { color: #2dbe6c; }
.fibi-result-col .fibi-map-view-btn:hover { background: #2dbe6c; border-color: #2dbe6c; color: #fff; }
.fibi-result-col .fibi-map-view-btn:hover i { color: #fff; }

/* İlan Kartları - Eşit Yükseklik ve Hizalama */
.deals-grid-content > .row {
    display: flex;
    flex-wrap: wrap;
}

.deals-grid-content .feature-block {
    display: flex;
}

.deals-grid-content .feature-block-one {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.deals-grid-content .feature-block-one .inner-box {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.deals-grid-content .feature-block-one .inner-box .image-box .image img {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.deals-grid-content .feature-block-one .lower-content {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
}

.deals-grid-content .feature-block-one .lower-content .title-text h4 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 56px;
}

.deals-grid-content .feature-block-one .lower-content .title-text h4 a {
    display: inline;
}

.deals-grid-content .feature-block-one .lower-content > p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 78px;
}

.deals-grid-content .feature-block-one .lower-content .more-details li {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.deals-grid-content .feature-block-one .lower-content .more-details li i {
    font-size: 15px;
    color: #93959e;
}

.deals-grid-content .feature-block-one .lower-content .btn-box {
    margin-top: auto;
}


/* İlan durumu rozeti (Opsiyonlu) */
.listing-status-badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 4px;
    background-color: #f5a623;
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
    line-height: 20px;
    letter-spacing: .3px;
    text-transform: uppercase;
}

.feature-block-one .inner-box .image-box .listing-status-badge {
    position: absolute;
    right: 15px;
    top: 12px;
    z-index: 2;
}

.listing-status-badge--inline {
    margin-left: 10px;
    vertical-align: middle;
}

/* İlan kartı görsel rozetleri: tema her rozeti ayrı sabit konuma koyuyor (left:70px, left:170px, sağ üst);
   burada sol üstte tek satırda, içerik genişliğine göre yan yana dizilir */
.image-box .listing-badges {
    position: absolute;
    left: 20px;
    right: 15px;
    top: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 6px;
    z-index: 2;
    pointer-events: none;
}

.image-box .listing-badges > * {
    pointer-events: auto;
}

/* Tema kuralları daha özgül (ör. .feature-block-one .inner-box .image-box .category), bu yüzden !important */
.image-box .listing-badges > .batch,
.image-box .listing-badges > .category,
.image-box .listing-badges > .buy-btn,
.image-box .listing-badges > .listing-status-badge {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    margin: 0;
    flex: 0 0 auto;
}

/* Yer imi görselin üst kenarından sarkar; yazılı rozetler ona hizalı biraz aşağıda */
.image-box .listing-badges > .category,
.image-box .listing-badges > .buy-btn,
.image-box .listing-badges > .listing-status-badge {
    margin-top: 10px;
}

.image-box .listing-badges > .batch {
    margin-right: 2px;
}

.image-box .listing-badges > .buy-btn a {
    display: block;
}


/* Form spam tuzağı (honeypot): ziyaretçiye görünmez */
.fibi-hp {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}


/* ==========================================================================
   Liste | Harita Görünüm Geçişi (.fibi-view-toggle & .fibi-embedded-map)
   ========================================================================== */
.fibi-view-toggle {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    margin-left: 14px;
    background: #ffffff;
    vertical-align: middle;
}

.fibi-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 38px;
    padding: 0 14px;
    border: none;
    border-right: 1px solid #e5e7eb;
    background: #ffffff;
    color: #2d2929;
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all .2s ease;
    outline: none;
}

.fibi-view-btn:last-child {
    border-right: none;
}

.fibi-view-btn i {
    color: #22c55e;
    transition: color .2s ease;
}

.fibi-view-btn:hover:not(.is-active) {
    background-color: #f7f7f7;
}

.fibi-view-btn.is-active {
    background: #22c55e;
    color: #ffffff;
    font-weight: 600;
}

.fibi-view-btn.is-active i {
    color: #ffffff;
}

/* Gömülü Harita */
.fibi-embedded-map {
    margin-bottom: 30px;
}

.fibi-embedded-map .lm-map {
    height: 560px;
}

.fibi-embedded-map .lm-list {
    height: 560px;
}

[data-list-view][hidden],
#listingsMapRoot[hidden] {
    display: none !important;
}

@media only screen and (max-width: 991px) {
    .fibi-embedded-map .lm-map {
        height: 420px;
    }

    .fibi-embedded-map .lm-list {
        height: auto;
    }
}


/* ==========================================================================
   Mobil düzeltmeler (2026-10-31)
   ========================================================================== */
/* Liste sayfası bölüm boşluğu (eski satır içi stil) */
.property-page-section.fibi-list-section { padding: 110px 0 50px 0; }

/* Mobil filtre aç/kapa düğmesi */
.fibi-filter-toggle { display: none; }

@media only screen and (max-width: 991px) {
    .property-page-section.fibi-list-section { padding: 40px 0 40px 0; }

    .fibi-filter-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        width: 100%;
        height: 48px;
        margin-bottom: 20px;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        background: #ffffff;
        color: #2d2929;
        font-size: 16px;
        font-weight: 500;
        font-family: inherit;
        cursor: pointer;
    }
    .fibi-filter-toggle i { color: #22c55e; }
    .fibi-filter-toggle[aria-expanded="true"] { background: #22c55e; border-color: #22c55e; color: #ffffff; }
    .fibi-filter-toggle[aria-expanded="true"] i { color: #ffffff; }

    /* select2/nice-select genişliği doğru hesaplansın diye display:none yerine yükseklik 0 */
    .fibi-filter-panel:not(.is-open) { height: 0; overflow: hidden; visibility: hidden; margin: 0; padding: 0; }

    /* Danışmanlar sayfasında liste önce, yan sütun sonra */
    .agents-page-section .sidebar-side { order: 2; }
}

@media only screen and (max-width: 767px) {
    /* Header mobilde absolute ve 124-132 px; sayfa başlığı altında kalmasın */
    .page-title { padding: 155px 0 60px 0; }

    /* Sonuç sayısı + Liste|Harita + sıralama alt alta, ekran içinde */
    .property-page-section .item-shorting { flex-direction: column; align-items: stretch; }
    .property-page-section .item-shorting .right-column {
        float: none !important;
        display: block;
        width: 100%;
        padding-right: 0;
        margin: 0;
        text-align: left;
    }
    .property-page-section .item-shorting .fibi-result-col { justify-content: space-between; margin-bottom: 12px; }
    .property-page-section .item-shorting .fibi-view-toggle { margin-left: 0; }
    .property-page-section .item-shorting .short-box { width: 100%; float: none; }

    /* Yukarı çık düğmesi footer alt bağlantılarını örtmesin */
    .main-footer .footer-bottom { padding-bottom: 80px; }

    /* KVKK onay kutuları dokunmaya uygun boyutta */
    input[type="checkbox"][name="KvkkApproved"],
    #leadKvkkConsent { width: 18px !important; height: 18px !important; flex-shrink: 0; }
}


/* Form onay metinlerindeki linkler renk dışında da ayırt edilsin */ .kvkk-label a { text-decoration: underline; }

/* ==========================================================================
   İlan Detay - Site İçi Bağlantılar (Listing Internal Links)
   ========================================================================== */
.listing-internal-links {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 24px;
    margin-bottom: 30px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
}

.listing-internal-links .lil-title {
    font-size: 20px;
    font-weight: 600;
    color: #1b1d21;
    margin: 0 0 14px 0;
    line-height: 1.3;
}

.listing-internal-links .lil-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.listing-internal-links .lil-list li {
    margin: 0;
    padding: 0;
    min-width: 0;
}

.listing-internal-links .lil-list li a {
    display: block;
    color: #22c55e;
    padding: 10px 0;
    min-height: 44px;
    box-sizing: border-box;
    overflow-wrap: anywhere;
    text-decoration: none;
    transition: color 0.2s ease;
    line-height: 1.4;
}

.listing-internal-links .lil-list li a:hover {
    color: #16a34a;
    text-decoration: underline;
}

.listing-internal-links .lil-block + .lil-block {
    margin-top: 20px;
}

.listing-internal-links .lil-more {
    display: inline-block;
    font-size: 13px;
    color: #22c55e;
    text-decoration: none;
    margin-top: 10px;
    transition: color 0.2s ease;
}

.listing-internal-links .lil-more:hover {
    text-decoration: underline;
}

@media only screen and (max-width: 767px) {
    .listing-internal-links .lil-list {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Liste Kartı İyileştirmeleri (Konum ve Özellikler)
   ========================================================================== */
.deals-grid-content .feature-block-one .lower-content > p.listing-card-location,
.listing-card-location {
    display: block;
    min-height: 0;
    -webkit-line-clamp: unset;
    font-size: 14px;
    line-height: 22px;
    color: #93959e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: -4px 0 10px;
}

.deals-grid-content .feature-block-one .lower-content > p.listing-card-location i,
.listing-card-location i {
    color: #2dbe6c;
    margin-right: 5px;
}

.feature-block-one .inner-box .lower-content ul.more-details.listing-card-specs,
.listing-card-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
}

.feature-block-one .inner-box .lower-content ul.more-details.listing-card-specs li,
.listing-card-specs li {
    float: none;
    width: auto;
    padding-left: 22px;
    white-space: nowrap;
    font-size: 14px;
    line-height: 22px;
    margin: 0;
}

.feature-block-one .inner-box .lower-content ul.more-details.listing-card-specs li:before,
.listing-card-specs li:before {
    display: none;
}
