.premium-listing-page .archive-filter-output {
    background: #e9e5dc;
    border: 1px solid #ebebeb;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

@media (max-width: 991px) {
    .premium-listing-page .archive-filter-output {
        background: transparent;
        border: none;
        padding: 0;
        box-shadow: none;
    }
}

.premium-listing-page .realestate-archive-container {
    padding-top: 75px;
}

.hero-header-overlay:not(.header-fixed) {
    margin-bottom: 30px;
}

.premium-listing-page .realestate-search-filters {
    background: transparent;
    border: none;
    border-radius: 8px;
    padding: 0px;
}

.premium-listing-page .realestate-search-filters h4 {
    margin-bottom: 12px;
}

.premium-listing-page .realestate-search-filters-container input,
.premium-listing-page .realestate-search-filters-container select {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.premium-listing-page .realestate-search-filters-container input:focus,
.premium-listing-page .realestate-search-filters-container select:focus {
    border-color: #0c3d34;
    box-shadow: 0 0 0 0.2rem rgba(12, 61, 52, 0.25);
    outline: none;
}

/* Select2 Container - %100 genişlik ve taşmayı engelle */
.premium-listing-page .realestate-search-filters-dropdown {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.premium-listing-page .realestate-search-filters-dropdown .select2-container {
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
}

.premium-listing-page .realestate-search-filters-container .select2-container--default .select2-selection--single {
    border: 1px solid #ddd;
    border-radius: 5px;
    height: auto;
    min-height: 42px;
    padding: 6px 10px;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.premium-listing-page .realestate-search-filters-container .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 28px;
    padding-left: 0;
}

.premium-listing-page .realestate-search-filters-container .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 100%;
}

.premium-listing-page .realestate-search-filters-container .select2-container--default.select2-container--open .select2-selection--single,
.premium-listing-page .realestate-search-filters-container .select2-container--default.select2-container--focus .select2-selection--single {
    border-color: #0c3d34;
    box-shadow: 0 0 0 0.2rem rgba(12, 61, 52, 0.25);
}

/* Select2 Dropdown menüsü */
.select2-container--default .select2-results__option {
    padding: 8px 12px;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #0c3d34;
}

/* Filtre alanındaki native select'ler */
.premium-listing-page .realestate-search-filters-dropdown select {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.premium-listing-page .realestate-archive-sort select.realestate-orderby {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
    background-color: #fff;
}

.premium-listing-page .realestate-archive-sort select.realestate-orderby:focus {
    border-color: #0c3d34;
    box-shadow: 0 0 0 0.2rem rgba(12, 61, 52, 0.25);
    outline: none;
}

.premium-listing-page #price-range {
    margin-top: 8px;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 8px;
}

.premium-listing-page #price-range.ui-slider {
    height: 6px;
    border-radius: 999px;
    background: #e9ecef;
    border: none;
}

.premium-listing-page #price-range .ui-slider-range {
    background: #0c3d34;
    border-radius: 999px;
}

.premium-listing-page #price-range .ui-slider-handle {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #0c3d34;
    background: #fff;
    top: -6px;
    cursor: pointer;
}

.premium-listing-page #price-min-display,
.premium-listing-page #price-max-display {
    font-size: 12px;
    font-weight: 600;
    color: #0b3d33;
}

.premium-listing-page .archive-filter-output .realestate-filled-btn {
    background: #0c3d34;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 16px;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: 0 8px 20px rgba(12, 61, 52, 0.25);
}

.premium-listing-page .archive-filter-output .realestate-filled-btn:hover,
.premium-listing-page .archive-filter-output .realestate-filled-btn:focus {
    background: #0a312a;
    color: #fff;
    box-shadow: 0 10px 24px rgba(12, 61, 52, 0.35);
    outline: none;
}

.premium-listing-page .archive-filter-output .realestate-not-filled-btn {
    border-radius: 8px;
    padding: 10px 16px;
    font-weight: 600;
}

.realestate-archive-sort select.realestate-orderby {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
    background-color: #fff;
    min-width: 140px;
}

.realestate-archive-sort select.realestate-orderby:focus {
    border-color: #0c3d34;
    box-shadow: 0 0 0 0.2rem rgba(12, 61, 52, 0.25);
    outline: none;
}

.premium-listing-page .post-price span {
    font-size: 14px;
}

/* Premium listing: görsel full, daha yüksek alan – yükseklik tam */
.premium-listing-page .loop-style1.realestate-item .real-listings-post-thumbnail .slick-slide>div,
.premium-listing-page .loop-style1.realestate-item .real-listings-post-thumbnail {
    position: relative;
    height: 220px;
    min-height: 220px;
    overflow: hidden;
}

.premium-listing-page .post-img.loop-style1-grid-slider,
.premium-listing-page .post-img.loop-style1-grid-slider.slick-initialized {
    height: 100%;
    min-height: 220px;
}

.premium-listing-page .real-listings-post-thumbnail .post-img,
.premium-listing-page .real-listings-post-thumbnail .post-img .slick-slide>div {
    height: 100%;
    min-height: 220px;
}

.premium-listing-page .real-listings-post-thumbnail .post-img img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.premium-listing-page .realestate-archive-loop .real-listings-post-item:hover .real-listings-post-thumbnail img {
    transform: scale(1.05);
}

/* Satılık/Kiralık kutunun en sağına dayalı */
.premium-listing-page .real-listings-post-thumbnail .post-for span {
    left: auto;
    top: 14px;
}

/* Fiyat büyük – premium */
.premium-listing-page .post-content-main .luxury-price p {
    font-size: 1.30rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.loop-style1.realestate-item .real-listings-post-thumbnail .slick-slide>div,
.loop-style1.realestate-item .real-listings-post-thumbnail {
    position: relative;
    height: 154px;
    overflow: hidden;
}

.post-img.loop-style1-grid-slider.slick-initialized {
    height: 154px;
}

.premium-listing-page .realestate-archive-loop .realestate-item {
    height: 100%;
}

.premium-listing-page .realestate-archive-loop .real-listings-post-item {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.premium-listing-page .realestate-archive-loop .real-listings-post-content {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 12px 15px 15px;
}

.premium-listing-page .post-content-main {
    flex: 1;
}

.premium-listing-page .post-content-main .luxury-price {
    margin-bottom: 6px;
}

.premium-listing-page .post-content-main .luxury-title {
    margin-bottom: 6px;
}

.premium-listing-page .post-content-main .luxury-location {
    margin-bottom: 0;
}

.premium-listing-page .realestate-archive-loop .post-title h2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
}

.premium-listing-page .realestate-archive-loop .post-price {
    min-height: 1.6em;
}

.premium-listing-page .realestate-search-result-output .row {
    --bs-gutter-x: 24px;
    --bs-gutter-y: 24px;
}

.premium-listing-page .realestate-archive-loop {
    margin-top: 0;
}

.premium-listing-page .realestate-search-result-output .row > [class*="col-"] {
    margin-bottom: 24px;
    padding-left: 12px;
    padding-right: 12px;
    box-sizing: border-box;
}

.premium-listing-page .realestate-archive-loop .realestate-item,
.premium-listing-page .realestate-archive-loop .real-listings-post-item {
    background: #fff;
    border: 1px solid #e8eaed;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(11, 61, 52, 0.06);
    transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.25s ease;
}

.premium-listing-page .realestate-archive-loop .real-listings-post-item:hover {
    box-shadow: 0 12px 32px rgba(11, 61, 52, 0.12);
    border-color: rgba(11, 61, 52, 0.15);
}

/* Listeleme sayfasında: içerik ve footer stilleri */
.premium-listing-page .loop-style1.realestate-item .real-listings-post-content {
    padding: 20px 16px 17px 15px;
    background: var(--white-700);
    position: relative;
    border: none;
    border-radius: 0;
    border-top: 0;
    border-left: none !important;
}

.premium-listing-page .loop-style1.realestate-item .post-content-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.realestate-item.loop-style1 {
    background: #fff;
    margin-top: 19px;
    position: relative;
    border-radius: 3px;
    overflow: hidden;
}

.premium-listing-page .realestate-item {
    height: 100%;
}

/* Kart Footer */
.premium-listing-page .post-content-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
    gap: 8px;
}

.premium-listing-page .post-footer-left {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: nowrap;
    overflow: hidden;
}

.premium-listing-page .post-footer-right {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    margin-left: auto;
}

/* Kategori Türü Badge - Global */
.subcategory-badge {
    display: inline-block !important;
    font-size: 9px !important;
    font-weight: 600 !important;
    color: #0c3d34 !important;
    background: rgba(12, 61, 52, 0.08) !important;
    padding: 3px 8px !important;
    border-radius: 50px !important;
    letter-spacing: 0.2px;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 120px;
    vertical-align: middle;
}

.post-subcategory {
    margin-top: 8px;
}

/* Fotoğraf İkonu - Premium solda */
.post-footer-photo-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(12, 61, 52, 0.12) 0%, rgba(12, 61, 52, 0.06) 100%);
    border: 1px solid rgba(12, 61, 52, 0.15);
}

.post-footer-photo-icon {
    font-size: 16px;
    color: #0c3d34;
    opacity: 0.9;
}

.post-footer-right .seller-logo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e5e7eb;
    padding: 2px;
    background: white;
}

.post-footer-right .seller-name {
    font-size: 11px;
    font-weight: 500;
    color: #6b7280;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
}

.post-footer-right .seller-logo-placeholder {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f3f4f6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #9ca3af;
    border: 2px solid #e5e7eb;
}

/* Fiyat ve lokasyon linkleri */
a.rel-post-price,
a.post-location {
    text-decoration: none;
    color: inherit;
    display: block;
}

a.rel-post-price:hover,
a.post-location:hover {
    text-decoration: none;
    opacity: 0.85;
}

.post-content-footer {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #f3f4f6;
}

.post-footer-left {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-wrap: nowrap;
    overflow: hidden;
}

.post-footer-right {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

/* Kurumsal Üye Filtresi */
.corporate-members-filter {
    margin-top: 15px;
}

.corporate-members-list {
    max-height: 300px;
    overflow-y: auto;
}

.corporate-member-item {
    margin-bottom: 10px;
}

.corporate-member-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    color: #374151;
}

.corporate-member-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #0c3d34;
    cursor: pointer;
    flex-shrink: 0;
}

.corporate-member-logo {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    object-fit: cover;
    border: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.corporate-member-logo-placeholder {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    background: #f3f4f6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #9ca3af;
    flex-shrink: 0;
}

.corporate-member-name {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
}

.corporate-member-count {
    color: #9ca3af;
    font-size: 12px;
    flex-shrink: 0;
}

.corporate-members-toggle {
    display: inline-block;
    margin-top: 10px;
    font-size: 13px;
    color: #0c3d34;
    text-decoration: none;
    font-weight: 500;
}

.corporate-members-toggle:hover {
    text-decoration: underline;
    color: #0a2f28;
}

/* Liste / Izgara görünüm geçiş butonları */
.listing-view-toggle {
    display: inline-flex;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.listing-view-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    background: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.listing-view-btn:first-child {
    border-right: 1px solid #e5e7eb;
}

.listing-view-btn:hover {
    background: #f9fafb;
    color: #0c3d34;
}

.listing-view-btn.active {
    background: #0c3d34;
    color: #fff;
}

.listing-view-btn.active:hover {
    background: #0a312a;
    color: #fff;
}

.listing-view-btn i {
    font-size: 1em;
}

/* Liste görünümü: tek sütun, yatay kart */
.listing-view-list.realestate-search-result-output .row {
    display: block;
}

.listing-view-list .realestate-archive-loop {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
}

.listing-view-list .realestate-archive-loop .real-listings-post-item {
    flex-direction: row;
    align-items: stretch;
    min-height: 160px;
}

/* Liste görünümü: görsel yüksekliği kartı tamamlasın */
.listing-view-list .realestate-archive-loop .real-listings-post-thumbnail {
    flex: 0 0 280px;
    width: 280px;
    height: auto;
    min-height: 160px;
    align-self: stretch;
}

.listing-view-list .realestate-archive-loop .real-listings-post-thumbnail .post-img.loop-style1-grid-slider,
.listing-view-list .realestate-archive-loop .real-listings-post-thumbnail .post-img {
    height: 100%;
    min-height: 160px;
}

.listing-view-list .realestate-archive-loop .real-listings-post-thumbnail .post-img img {
    width: 100%;
    height: 100%;
    min-height: 160px;
    object-fit: cover;
}

.listing-view-list .realestate-archive-loop .real-listings-post-content {
    flex: 1 1 auto;
    padding: 16px 20px;
    justify-content: center;
    border-left: none !important;
}

.listing-view-list .realestate-archive-loop .post-title h2 {
    -webkit-line-clamp: 2;
    min-height: auto;
}

/* Izgara görünümü: mevcut 3 sütun (varsayılan) */
.listing-view-grid .realestate-archive-loop {
    /* col-lg-4 col-md-6 zaten row içinde tanımlı */
}

@media (max-width: 768px) {
    .listing-view-list .realestate-archive-loop .real-listings-post-item {
        flex-direction: column;
        min-height: auto;
    }
    .listing-view-list .realestate-archive-loop .real-listings-post-thumbnail {
        flex: 0 0 auto;
        width: 100%;
        height: 180px;
        min-height: 180px;
    }
    .listing-view-list .realestate-archive-loop .real-listings-post-thumbnail .post-img img {
        min-height: 180px;
    }
}
