/* ========== HERO - Search/Detail sayfası gibi ========== */
/* Hero yüksekliği (listing/harita sayfaları) */
.hero_in.detail_page.background-image {
    height: 280px !important;
    min-height: 280px !important;
}
/* Tek renk hero (resim yerine #5B9B3F - mevcut alan yüksekliğinde) */
.hero_in.detail_page.hero-solid-bg {
    background-color: #5B9B3F !important;
    background-image: none !important;
    height: 280px !important;
    min-height: 280px !important;
}
.hero_in.detail_page .wrapper.opacity-mask {
    min-height: 280px !important;
}
.hero_in.detail_page.hero-solid-bg .wrapper.opacity-mask {
    min-height: 280px !important;
}
@media (max-width: 767px) {
    .hero_in.detail_page.background-image { height: 240px !important; min-height: 240px !important; }
    .hero_in.detail_page.hero-solid-bg { height: 240px !important; min-height: 240px !important; }
    .hero_in.detail_page .wrapper.opacity-mask { min-height: 240px !important; }
    .hero_in.detail_page.hero-solid-bg .wrapper.opacity-mask { min-height: 240px !important; }
}
.hero_in.detail_page .wrapper.opacity-mask .breadcrumbs a { color: rgba(255,255,255,0.9); }
.hero_in.detail_page .wrapper.opacity-mask .breadcrumbs a:hover { color: #fff; }
.hero_in.detail_page .wrapper.opacity-mask .breadcrumbs li:last-child { color: #fff; }
.hero_in.detail_page .wrapper.opacity-mask .main_info .lead {
    color: rgba(255,255,255,0.9);
    font-size: 16px;
    margin: 8px 0 0;
}
.hero_in.detail_page .hero_actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}
.hero_in.detail_page .hero-search.search_bar_list {
    width: 280px;
    display: inline-block;
}
.hero_in.detail_page .hero_actions .btn_list_view {
    vertical-align: top;
    margin-left: 12px;
}
@media (max-width: 575px) {
    .hero_in.detail_page .hero_actions .hero-search { width: 100%; margin-bottom: 10px; }
    .hero_in.detail_page .hero_actions .btn_list_view { margin-left: 0; display: block; text-align: center; }
}
.hero_in.detail_page .hero-search input[type='text'] {
    background: rgba(255,255,255,0.95);
    color: #333;
}
.hero_in.detail_page .hero-search input[type='submit'] {
    background: #2d7a3e;
}
.hero_in.detail_page .hero-search input[type='submit']:hover {
    background: #1e5c2b;
}
.hero_in.detail_page .hero_actions .btn_1.outline {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.9);
    color: #fff !important;
}
.hero_in.detail_page .hero_actions .btn_1.outline:hover {
    background: rgba(255,255,255,0.2);
    border-color: #fff;
    color: #fff !important;
}

/* ========== PAGE HEADER (eski - artık hero kullanılıyor) ========== */
.listing-map-header {
    padding: 24px 0;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
}
.listing-map-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}
.listing-map-header-left {
    flex: 1;
    min-width: 0;
}
.listing-map-header .breadcrumbs {
    margin: 0 0 6px;
    font-size: 12px;
}
.listing-map-header .breadcrumbs ul { margin: 0; padding: 0; list-style: none; }
.listing-map-header .breadcrumbs li {
    display: inline-block;
    margin-right: 4px;
    padding-right: 8px;
    position: relative;
}
.listing-map-header .breadcrumbs li:not(:last-child):after {
    content: '›';
    position: absolute;
    right: 0;
    color: #cbd5e1;
    font-size: 14px;
}
.listing-map-header .breadcrumbs a { color: #64748b; text-decoration: none; }
.listing-map-header .breadcrumbs a:hover { color: #2d7a3e; }
.listing-map-header .breadcrumbs li:last-child { color: #334155; font-weight: 500; }
.listing-map-header h1 {
    font-size: 22px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 10px;
    letter-spacing: -0.02em;
}
.listing-map-header .btn-list-view {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    color: #475569;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
}
.listing-map-header .btn-list-view:hover {
    color: #2d7a3e;
    border-color: #2d7a3e;
    background: #f8faf8;
}
.listing-map-header .btn-list-view .fa { font-size: 14px; }
.listing-map-header-right { flex-shrink: 0; }
.listing-map-search {
    display: flex;
    width: 100%;
    min-width: 260px;
    max-width: 320px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}
.listing-map-search input {
    flex: 1;
    padding: 10px 14px;
    font-size: 14px;
    border: none;
    outline: none;
}
.listing-map-search input::placeholder { color: #94a3b8; }
.listing-map-search button {
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    background: #2d7a3e;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s;
}
.listing-map-search button:hover { background: #1e5c2b; }
@media (max-width: 767px) {
    .listing-map-header-inner { flex-direction: column; align-items: stretch; }
    .listing-map-header-right { flex-shrink: unset; }
    .listing-map-search { max-width: none; }
}

/* Harita container - Leaflet için mutlaka boyut gerekli */
#collapseMap {
    width: 100%;
}
#collapseMap #map.map {
    width: 100%;
    min-height: 450px;
    height: 450px;
}

/* Harita popup - kompakt, çerçeveli */
#map .leaflet-popup-content-wrapper.dhg-leaflet-popup,
.leaflet-popup-content-wrapper.dhg-leaflet-popup {
    padding: 0 !important;
    border-radius: 8px !important;
    border: 2px solid #c5c9ce !important;
    box-shadow: 0 3px 14px rgba(0,0,0,0.15) !important;
}
.leaflet-popup-content-wrapper.dhg-leaflet-popup .leaflet-popup-content {
    margin: 0 !important;
    min-width: 160px !important;
    max-width: 185px !important;
}

/* ========== SIDEBAR FİLTRE - Profesyonel ========== */
.listing-map-sidebar .filter_col {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0;
    margin-bottom: 20px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.listing-map-sidebar .filter_col .filter_type {
    border-bottom: 1px solid #f0f4f8;
    margin: 0;
    padding: 0 14px;
}
.listing-map-sidebar .filter_type:last-of-type { border-bottom: none; }
.listing-map-sidebar .filter_type h4 a {
    padding: 12px 0;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}
.listing-map-sidebar .filter_type h4 a .fa { margin-right: 8px; color: #2d7a3e; width: 16px; text-align: center; }
.listing-map-sidebar .filter_type .collapse { padding-bottom: 12px; }
.listing-map-sidebar .filter_type ul { padding: 0; list-style: none; }
.listing-map-sidebar .filter_type ul li { padding: 4px 0; }
.listing-map-sidebar .filter_type ul li a {
    display: flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 13px;
    color: #475569;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.listing-map-sidebar .filter_type ul li a:hover {
    background: #f1f5f9;
    color: #2d7a3e;
}
.listing-map-sidebar .filter_type ul li a.font-weight-bold {
    background: #ecfdf5;
    color: #2d7a3e;
    font-weight: 600;
}
.listing-map-sidebar .filter_select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 13px;
    color: #334155;
    background: #fff;
    margin-bottom: 8px;
}
.listing-map-sidebar .filter_select:focus {
    border-color: #2d7a3e;
    outline: none;
}
.listing-map-sidebar .filter_label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}
.listing-map-sidebar .filter_rating_list { padding: 0; list-style: none; }
.listing-map-sidebar .filter_rating_list li {
    padding: 4px 0;
}
.listing-map-sidebar .filter_rating_list label {
    display: flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 13px;
    color: #475569;
    cursor: pointer;
    margin: 0;
    transition: background 0.2s;
}
.listing-map-sidebar .filter_rating_list label:hover { background: #f1f5f9; }
.listing-map-sidebar .filter_rating_list input { margin-right: 10px; }
.listing-map-sidebar .filter_rating_list .fa-star { color: #e6a800; margin-right: 4px; }
.listing-map-sidebar .filter_footer {
    padding: 14px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-radius: 0 0 10px 10px;
}
.listing-map-sidebar .filter_footer .btn_apply {
    width: 100%;
    padding: 10px 16px;
    background: #2d7a3e;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.listing-map-sidebar .filter_footer .btn_apply:hover { background: #1e5c2b; }
.listing-map-sidebar .filter_footer .btn_reset {
    width: 100%;
    padding: 8px;
    margin-top: 8px;
    background: transparent;
    color: #64748b;
    border: none;
    font-size: 12px;
    cursor: pointer;
}
.listing-map-sidebar .filter_footer .btn_reset:hover { color: #2d7a3e; }
.listing-map-sidebar .filter_info {
    font-size: 11px;
    color: #94a3b8;
    line-height: 1.4;
    padding: 10px 14px;
    border-top: 1px solid #f0f4f8;
}
.listing-map-sidebar .filter_result_count {
    font-size: 12px;
    font-weight: 600;
    color: #2d7a3e;
    padding: 8px 14px;
    background: #ecfdf5;
    border-radius: 6px;
    margin: 10px 14px;
}
