/* =========================================================
   EMLAK MOBILE LIST APP v262
   Temiz mobil ilan uygulama arayüzü.
   Bu dosya yalnız yeni .eml-* bileşenlerini biçimlendirir.
   ========================================================= */

/* Yeni mobil kartlar masaüstünde kapalıdır. */
.eml-mobile-card,
.eml-mobile-stack,
.eml-mobile-top,
.eml-mobile-top-spacer,
.fe-mobile-listing-heading,
.eml-mobile-header-tools{display:none}

@media (max-width:640px){
  :root{
    --eml-mobile-header-h:68px;
    --eml-mobile-top-h:108px;
    --eml-card-bg:#0a2948;
    --eml-card-border:#244b70;
    --eml-text:#f5f9ff;
    --eml-muted:#a8bdd2;
    --eml-location:#a9c0d7;
    --eml-price:#27b9ff;
    --eml-toolbar:#092540;
    --eml-chip:#0d3157;
    --eml-chip-border:#3a6793;
  }

  html,body{
    width:100%!important;
    max-width:100%!important;
    overflow-x:hidden!important;
  }

  /* Eski mobil kartların görünmesini engeller; desktop yapısı masaüstünde korunur. */
  .fe-listings-family-scope .fe-result-card{display:none!important}
  .fe-listings-family-scope .fe-listing-card-grid{
    display:flex!important;
    flex-direction:column!important;
    gap:0!important;
    width:100%!important;
    margin:0!important;
  }

  .eml-mobile-card{display:block!important}
  .eml-mobile-stack{
    display:flex!important;
    flex-direction:column!important;
    gap:0!important;
    width:100%!important;
  }

  /* Ana sayfada eski mobil slider/kart kopyalarını kapatır, yeni ortak bileşeni kullanır. */
  .fe-home-featured-unified-list{display:none!important}
  .fe-featured-panel .fe-featured-viewport,
  .fe-featured-panel .fe-slider-arrow,
  .fe-featured-panel .fe-slider-dots{display:none!important}
  .eml-home-featured-stack{display:flex!important}
  .fe-featured-panel{padding:0!important;overflow:hidden!important}

  .fe-opportunities .fe-opportunity-grid,
  .fe-opportunities .fe-opportunity-view-switch,
  .fe-home-opportunity-unified-list{display:none!important}
  .eml-home-opportunity-stack{display:flex!important}

  /* Sonuç sayfasını mobil uygulama gibi tam genişlik yapar. */
  .fe-listing-banner{display:none!important}
  .fe-listing-results{
    padding:0 0 24px!important;
    background:#081f38!important;
  }
  .fe-listing-results>.fe-container{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
  }
  .fe-listing-layout{display:block!important;width:100%!important;max-width:100%!important}
  .fe-listing-main{width:100%!important;min-width:0!important;max-width:100%!important}
  .fe-listing-toolbar{display:none!important}

  /* ---------- MOBİL HEADER + 4'LÜ BAR: TEK PARÇA ---------- */
  body.fe-mobile-listing-page{
    --fe-chrome-h:120px!important;
  }
  body.fe-mobile-listing-page .fe-chrome{
    width:100vw!important;
    max-width:100vw!important;
    left:0!important;
    right:0!important;
    background:#0d2d4f!important;
  }
  body.fe-mobile-listing-page .fe-topbar{display:none!important}
  body.fe-mobile-listing-page .fe-header{
    display:block!important;
    width:100vw!important;
    max-width:100vw!important;
    height:120px!important;
    background:linear-gradient(180deg,#0e3155 0%,#0b2948 100%)!important;
    border-bottom:1px solid #244c72!important;
    box-shadow:0 8px 20px rgba(0,0,0,.14)!important;
    overflow:visible!important;
  }
  body.fe-mobile-listing-page .fe-header-inner{
    position:relative!important;
    width:100%!important;
    max-width:none!important;
    height:120px!important;
    margin:0!important;
    padding:0 10px!important;
    display:grid!important;
    grid-template-columns:44px minmax(0,1fr) 44px!important;
    grid-template-rows:64px 56px!important;
    column-gap:8px!important;
    row-gap:0!important;
    align-items:center!important;
  }
  body.fe-mobile-listing-page .fe-mobile-detail-back{
    display:inline-flex!important;
    grid-column:1!important;
    grid-row:1!important;
    width:44px!important;
    min-width:44px!important;
    height:44px!important;
    justify-content:flex-start!important;
    color:#f7fbff!important;
  }
  body.fe-mobile-listing-page .fe-mobile-listing-heading[hidden],
  body.fe-mobile-listing-page .fe-mobile-listing-heading{
    display:flex!important;
    grid-column:2!important;
    grid-row:1!important;
    min-width:0!important;
    flex-direction:column!important;
    justify-content:center!important;
    align-items:flex-start!important;
    padding:0!important;
  }
  body.fe-mobile-listing-page .fe-mobile-listing-heading strong{
    max-width:100%!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    color:#f7fbff!important;
    font-size:18px!important;
    line-height:1.05!important;
    font-weight:850!important;
    letter-spacing:-.02em!important;
  }
  body.fe-mobile-listing-page .fe-mobile-listing-heading span{
    max-width:100%!important;
    margin-top:3px!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    color:#bdd0e4!important;
    font-size:11px!important;
    line-height:1!important;
    font-weight:700!important;
  }
  body.fe-mobile-listing-page .fe-logo,
  body.fe-mobile-listing-page .fe-nav{display:none!important}
  body.fe-mobile-listing-page .fe-header-actions{
    grid-column:3!important;
    grid-row:1!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    width:44px!important;
    min-width:44px!important;
    margin:0!important;
  }
  body.fe-mobile-listing-page .fe-header-actions>.fe-theme-toggle,
  body.fe-mobile-listing-page .fe-header-actions>.fe-mini-select,
  body.fe-mobile-listing-page .fe-header-actions>.fe-outline-btn,
  body.fe-mobile-listing-page .fe-header-actions>.fe-primary-btn,
  body.fe-mobile-listing-page .fe-header-actions>.fe-icon-btn{display:none!important}
  body.fe-mobile-listing-page .fe-menu-toggle{
    display:inline-flex!important;
    width:44px!important;
    min-width:44px!important;
    height:44px!important;
    border:1px solid #355d83!important;
    border-radius:13px!important;
    background:#102f50!important;
    color:#fff!important;
  }
  body.fe-mobile-listing-page .eml-mobile-header-tools[hidden],
  body.fe-mobile-listing-page .eml-mobile-header-tools{
    display:grid!important;
    grid-column:1 / -1!important;
    grid-row:2!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    align-items:center!important;
    gap:6px!important;
    width:100vw!important;
    max-width:100vw!important;
    height:56px!important;
    margin-left:calc(50% - 50vw)!important;
    margin-right:0!important;
    padding:7px 4px 12px!important;
    background:transparent!important;
    border:0!important;
    box-sizing:border-box!important;
  }
  body.fe-mobile-listing-page .eml-mobile-action{
    min-width:0!important;
    width:100%!important;
    height:39px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:6px!important;
    padding:0 7px!important;
    border:1px solid #35628f!important;
    border-radius:13px!important;
    background:linear-gradient(180deg,#12385f 0%,#0b2b4b 100%)!important;
    color:#eef6ff!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.08)!important;
    overflow:hidden!important;
    cursor:pointer!important;
  }
  body.fe-mobile-listing-page .eml-mobile-action .fe-icon{
    width:14px!important;
    height:14px!important;
    flex:0 0 14px!important;
  }
  body.fe-mobile-listing-page .eml-mobile-action span{
    min-width:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    font-size:11.5px!important;
    line-height:1!important;
    font-weight:800!important;
    color:inherit!important;
  }
  body.fe-mobile-listing-page .eml-mobile-action[data-filter-open] .fe-icon{color:#3cc0ff!important}
  body.fe-mobile-listing-page .eml-mobile-action[data-sort-open] .fe-icon{color:#33d0ff!important}
  body.fe-mobile-listing-page .eml-mobile-action[data-view-toggle] .fe-icon{color:#78baff!important}
  body.fe-mobile-listing-page .eml-mobile-action[data-save-search] .fe-icon{color:#ff638d!important}
  body.fe-mobile-listing-page .eml-mobile-action.is-active,
  body.fe-mobile-listing-page.fe-view-detailed .eml-mobile-action[data-view-toggle],
  body.fe-mobile-listing-page.fe-view-map .eml-mobile-action[data-view-toggle]{
    border-color:#168dff!important;
    background:linear-gradient(135deg,#168dff,#0d66e8)!important;
    color:#fff!important;
    box-shadow:0 7px 18px rgba(18,119,255,.24)!important;
  }
  body.fe-mobile-listing-page .fe-listing-results{
    padding-top:8px!important;
  }
  body.fe-mobile-listing-page .fe-listing-results>.fe-container{
    width:100vw!important;
    max-width:100vw!important;
    margin:0!important;
    padding:0!important;
  }
  body.fe-mobile-listing-page .fe-listing-layout,
  body.fe-mobile-listing-page .fe-listing-main{
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding-left:0!important;
    padding-right:0!important;
  }

  /* ---------- KART ---------- */
  .eml-mobile-card{
    width:100%!important;
    margin:0!important;
    border:0!important;
    border-bottom:1px solid var(--eml-card-border)!important;
    border-radius:0!important;
    background:var(--eml-card-bg)!important;
    box-shadow:none!important;
    overflow:hidden!important;
  }
  .eml-mobile-card-link{
    width:100%!important;
    min-width:0!important;
    height:122px!important;
    display:grid!important;
    grid-template-columns:34% minmax(0,66%)!important;
    color:inherit!important;
    text-decoration:none!important;
  }
  .eml-mobile-card-media{
    position:relative!important;
    width:100%!important;
    height:122px!important;
    min-width:0!important;
    overflow:hidden!important;
    background:#163958!important;
  }
  .eml-mobile-card-media>img{
    width:100%!important;
    height:100%!important;
    display:block!important;
    object-fit:cover!important;
  }

  .eml-mobile-fav{
    position:absolute!important;
    right:7px!important;
    top:7px!important;
    z-index:5!important;
    width:30px!important;
    height:30px!important;
    display:grid!important;
    place-items:center!important;
    padding:0!important;
    border:1px solid rgba(255,255,255,.34)!important;
    border-radius:50%!important;
    background:rgba(53,83,113,.83)!important;
    color:#fff!important;
    box-shadow:0 4px 10px rgba(0,0,0,.14)!important;
    backdrop-filter:blur(7px)!important;
  }
  .eml-mobile-fav .fe-icon{width:15px!important;height:15px!important}

  .eml-mobile-category{
    position:absolute!important;
    left:7px!important;
    bottom:7px!important;
    z-index:4!important;
    min-height:28px!important;
    max-width:calc(100% - 14px)!important;
    display:inline-flex!important;
    align-items:center!important;
    gap:5px!important;
    padding:0 10px!important;
    border-radius:999px!important;
    color:#fff!important;
    font-size:11px!important;
    line-height:1!important;
    font-weight:850!important;
    white-space:nowrap!important;
    box-shadow:0 5px 14px rgba(0,0,0,.22)!important;
  }
  .eml-mobile-category .fe-icon{width:13px!important;height:13px!important;flex:0 0 13px!important}
  .eml-mobile-category-sale{background:linear-gradient(135deg,#3197ff,#1369ea)!important}
  .eml-mobile-category-rent{background:linear-gradient(135deg,#38c868,#159342)!important}
  .eml-mobile-category-project{background:linear-gradient(135deg,#a44fff,#7526dd)!important}
  .eml-mobile-category-daily_rent{background:linear-gradient(135deg,#ffa42e,#ff711e)!important}

  .eml-mobile-state{
    position:absolute!important;
    left:7px!important;
    top:7px!important;
    z-index:4!important;
    min-height:22px!important;
    display:inline-flex!important;
    align-items:center!important;
    padding:0 7px!important;
    border-radius:999px!important;
    font-size:8.5px!important;
    line-height:1!important;
    font-weight:850!important;
  }
  .eml-mobile-state.urgent{background:#e94255!important;color:#fff!important}
  .eml-mobile-state.first{background:#b9efcd!important;color:#136536!important}
  .eml-mobile-state.new{background:#ffe69b!important;color:#6d5200!important}

  .eml-mobile-card-content{
    position:relative!important;
    min-width:0!important;
    height:122px!important;
    padding:10px 14px 10px 12px!important;
    display:flex!important;
    flex-direction:column!important;
    background:var(--eml-card-bg)!important;
  }
  .eml-mobile-card-content h3{
    margin:0!important;
    padding:0!important;
    color:var(--eml-text)!important;
    font-size:12.8px!important;
    line-height:1.28!important;
    font-weight:780!important;
    letter-spacing:-.01em!important;
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;
    overflow:hidden!important;
    text-transform:none!important;
  }
  .eml-mobile-location{
    margin-top:auto!important;
    margin-bottom:1px!important;
    min-width:0!important;
    display:flex!important;
    align-items:center!important;
    gap:5px!important;
    color:var(--eml-location)!important;
    font-size:9.8px!important;
    line-height:1.2!important;
    font-weight:600!important;
    padding-right:104px!important;
  }
  .eml-mobile-location .fe-icon{
    width:12px!important;
    height:12px!important;
    flex:0 0 12px!important;
    color:#5ca8f5!important;
  }
  .eml-mobile-location span{
    min-width:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  .eml-mobile-price{
    position:absolute!important;
    right:11px!important;
    bottom:10px!important;
    color:var(--eml-price)!important;
    font-size:14.8px!important;
    line-height:1!important;
    font-weight:920!important;
    letter-spacing:-.025em!important;
    white-space:nowrap!important;
  }
  .eml-mobile-price small{font-size:9px!important;font-weight:700!important;color:inherit!important}
  .eml-mobile-chevron{
    position:absolute!important;
    top:50%!important;
    right:7px!important;
    transform:translateY(-50%)!important;
    color:#b9d7f4!important;
    font-size:22px!important;
    line-height:1!important;
    opacity:.95!important;
  }
  .eml-mobile-detail-chips{display:none!important}

  /* ---------- DETAYLI LISTE ----------
     Görsel genişliği ve fotoğraf yüksekliği değişmez; sadece kart gövdesi bilgi için uzar. */
  body.fe-view-detailed .eml-results-card .eml-mobile-card-link{
    min-height:148px!important;
    height:148px!important;
    grid-template-columns:34% minmax(0,66%)!important;
  }
  body.fe-view-detailed .eml-results-card .eml-mobile-card-media{
    height:122px!important;
    margin-top:13px!important;
  }
  body.fe-view-detailed .eml-results-card .eml-mobile-card-content{
    height:148px!important;
    padding:8px 10px 8px 12px!important;
  }
  body.fe-view-detailed .eml-results-card .eml-mobile-card-content h3{
    font-size:12px!important;
    line-height:1.22!important;
    -webkit-line-clamp:2!important;
  }
  body.fe-view-detailed .eml-results-card .eml-mobile-location{
    margin-top:4px!important;
    margin-bottom:6px!important;
    padding-right:0!important;
  }
  body.fe-view-detailed .eml-results-card .eml-mobile-detail-chips{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:5px!important;
    padding-right:0!important;
  }
  body.fe-view-detailed .eml-results-card .eml-mobile-detail-chips span{
    height:25px!important;
    min-width:0!important;
    display:flex!important;
    align-items:center!important;
    gap:4px!important;
    padding:0 7px!important;
    border:1px solid #385d80!important;
    border-radius:8px!important;
    background:#0e3153!important;
    color:#deecf8!important;
    font-size:8.7px!important;
    line-height:1!important;
    font-weight:700!important;
    white-space:nowrap!important;
    overflow:hidden!important;
  }
  body.fe-view-detailed .eml-results-card .eml-mobile-detail-chips span b{
    min-width:0!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    font-weight:800!important;
  }
  body.fe-view-detailed .eml-results-card .eml-mobile-detail-chips .fe-icon{width:11px!important;height:11px!important;flex:0 0 11px!important}
  body.fe-view-detailed .eml-results-card .eml-mobile-detail-chips span:nth-child(1) .fe-icon{color:#7d9fff!important}
  body.fe-view-detailed .eml-results-card .eml-mobile-detail-chips span:nth-child(2) .fe-icon{color:#48c9ff!important}
  body.fe-view-detailed .eml-results-card .eml-mobile-detail-chips span:nth-child(3) .fe-icon{color:#7598ff!important}
  body.fe-view-detailed .eml-results-card .eml-mobile-detail-chips span:nth-child(4) .fe-icon{color:#ffad55!important}
  body.fe-view-detailed .eml-results-card .eml-mobile-detail-chips .eml-mobile-type-chip{display:none!important}
  body.fe-view-detailed .eml-results-card .eml-mobile-price{
    right:10px!important;
    bottom:7px!important;
    font-size:13.7px!important;
  }
  body.fe-view-detailed .eml-results-card .eml-mobile-chevron{display:none!important}

  /* Home listesi compact kalır, detay modu yalnız ilanlar ekranına aittir. */
  .eml-home-card .eml-mobile-chevron{display:none!important}

  /* Haritada yeni kartları gizle. */
  body.fe-view-map .eml-results-card{display:none!important}

  /* Alt yatay scrollbar çıkmasını önle. */
  .fe-listing-bottom,
  .fe-mobile-map-view,
  .fe-listing-results,
  .fe-listing-main,
  .eml-mobile-stack{overflow-x:clip!important}
}

/* Çok dar telefonlar */
@media (max-width:380px){
  :root{--eml-mobile-top-h:104px}
  .eml-mobile-result-title{height:44px!important;padding:0 12px!important}
  .eml-mobile-actions{height:60px!important;gap:5px!important;padding:9px 7px!important}
  .eml-mobile-action{height:40px!important;padding:0 5px!important;gap:4px!important}
  .eml-mobile-action span{font-size:10.8px!important}
  .eml-mobile-action .fe-icon{width:13px!important;height:13px!important;flex-basis:13px!important}
  .eml-mobile-card-link{grid-template-columns:35% minmax(0,65%)!important;height:116px!important}
  .eml-mobile-card-media{height:116px!important}
  .eml-mobile-card-content{height:116px!important;padding:8px 10px 8px 9px!important}
  .eml-mobile-card-content h3{font-size:11.8px!important}
  .eml-mobile-price{font-size:13.4px!important}
  .eml-mobile-location{font-size:9px!important;padding-right:96px!important}
  body.fe-view-detailed .eml-results-card .eml-mobile-card-link{height:144px!important;min-height:144px!important;grid-template-columns:35% minmax(0,65%)!important}
  body.fe-view-detailed .eml-results-card .eml-mobile-card-media{height:116px!important;margin-top:14px!important}
  body.fe-view-detailed .eml-results-card .eml-mobile-card-content{height:144px!important}
}

/* Gündüz modu */
@media (max-width:640px){
  html[data-fe-theme="light"]{
    --eml-card-bg:#ffffff;
    --eml-card-border:#d8e1e9;
    --eml-text:#172536;
    --eml-muted:#66798c;
    --eml-location:#758698;
    --eml-price:#0878d7;
    --eml-toolbar:#f3f7fb;
    --eml-chip:#ffffff;
    --eml-chip-border:#cbd9e6;
  }
  html[data-fe-theme="light"] .fe-listing-results{background:#f5f7fa!important}
  html[data-fe-theme="light"] .eml-mobile-top{
    background:#fff!important;
    border-bottom-color:#d8e1e9!important;
    box-shadow:0 6px 18px rgba(19,44,69,.10)!important;
  }
  html[data-fe-theme="light"] .eml-mobile-result-title{background:#126596!important;border-bottom-color:#d1e0eb!important}
  html[data-fe-theme="light"] .eml-mobile-result-title strong{color:#fff!important}
  html[data-fe-theme="light"] .eml-mobile-result-title span{color:#dcebf5!important}
  html[data-fe-theme="light"] .eml-mobile-actions{background:#f7f9fb!important}
  html[data-fe-theme="light"] .eml-mobile-action{
    background:#fff!important;
    border-color:#cbd9e6!important;
    color:#26384a!important;
    box-shadow:0 3px 9px rgba(25,57,89,.06)!important;
  }
  html[data-fe-theme="light"] .eml-mobile-card-content{background:#fff!important}
  html[data-fe-theme="light"] .eml-mobile-location .fe-icon{color:#7e97ad!important}
  html[data-fe-theme="light"] body.fe-view-detailed .eml-results-card .eml-mobile-detail-chips span{
    background:#f7fafc!important;
    border-color:#d4e0ea!important;
    color:#344d65!important;
  }
}


/* v260 final guards: desktop kesinlikle etkilenmez */
@media (min-width:641px){
  .fe-mobile-listing-heading,
  .eml-mobile-header-tools{display:none!important}
}

@media (max-width:640px){
  html[data-fe-theme="light"] body.fe-mobile-listing-page .fe-chrome,
  html:not([data-fe-theme]) body.fe-mobile-listing-page .fe-chrome,
  html[data-fe-theme="light"] body.fe-mobile-listing-page .fe-header,
  html:not([data-fe-theme]) body.fe-mobile-listing-page .fe-header{
    background:linear-gradient(180deg,#f9fbfe 0%,#edf4fa 100%)!important;
    border-bottom-color:#d5e0ea!important;
    box-shadow:0 8px 20px rgba(20,48,77,.08)!important;
  }
  html[data-fe-theme="light"] body.fe-mobile-listing-page .fe-mobile-detail-back,
  html:not([data-fe-theme]) body.fe-mobile-listing-page .fe-mobile-detail-back,
  html[data-fe-theme="light"] body.fe-mobile-listing-page .fe-mobile-listing-heading strong,
  html:not([data-fe-theme]) body.fe-mobile-listing-page .fe-mobile-listing-heading strong{color:#102d49!important}
  html[data-fe-theme="light"] body.fe-mobile-listing-page .fe-mobile-listing-heading span,
  html:not([data-fe-theme]) body.fe-mobile-listing-page .fe-mobile-listing-heading span{color:#667f97!important}
  html[data-fe-theme="light"] body.fe-mobile-listing-page .fe-menu-toggle,
  html:not([data-fe-theme]) body.fe-mobile-listing-page .fe-menu-toggle{
    background:#fff!important;
    border-color:#cddae7!important;
    color:#183a5a!important;
  }
  html[data-fe-theme="light"] body.fe-mobile-listing-page .eml-mobile-action,
  html:not([data-fe-theme]) body.fe-mobile-listing-page .eml-mobile-action{
    background:#fff!important;
    border-color:#c8d7e5!important;
    color:#193b5b!important;
    box-shadow:0 2px 7px rgba(32,66,98,.05)!important;
  }
}

@media (max-width:380px){
  body.fe-mobile-listing-page{--fe-chrome-h:116px!important}
  body.fe-mobile-listing-page .fe-header{height:116px!important}
  body.fe-mobile-listing-page .fe-header-inner{
    height:116px!important;
    grid-template-rows:62px 54px!important;
    padding:0 8px!important;
  }
  body.fe-mobile-listing-page .eml-mobile-header-tools{
    width:calc(100% + 16px)!important;
    height:54px!important;
    margin-left:-8px!important;
    margin-right:-8px!important;
    gap:5px!important;
    padding:6px 8px 9px!important;
  }
  body.fe-mobile-listing-page .eml-mobile-action{height:37px!important;padding:0 5px!important;gap:4px!important}
  body.fe-mobile-listing-page .eml-mobile-action span{font-size:10.5px!important}
  body.fe-mobile-listing-page .fe-listing-results{padding-top:116px!important}
}


/* v261 safety + spacing fix */
@media (min-width:641px){
  .fe-mobile-listing-heading,
  .eml-mobile-header-tools{display:none!important}
}
@media (max-width:640px){
  body.fe-mobile-listing-page .fe-header{margin-bottom:0!important}
  body.fe-mobile-listing-page .fe-listing-results{margin-top:0!important;padding-top:0!important}
  body.fe-mobile-listing-page .fe-listing-layout,
  body.fe-mobile-listing-page .fe-listing-main,
  body.fe-mobile-listing-page .fe-listing-card-grid{margin-top:0!important}
  body.fe-mobile-listing-page .fe-container.fe-header-inner{padding-left:0!important;padding-right:0!important}
  body.fe-mobile-listing-page .fe-mobile-detail-back{margin-left:10px!important}
  body.fe-mobile-listing-page .fe-mobile-listing-heading{padding:0 8px 0 0!important}
  body.fe-mobile-listing-page .fe-header-actions{margin-right:10px!important}
  body.fe-mobile-listing-page .eml-mobile-header-tools{padding-left:10px!important;padding-right:10px!important}
}


/* v262 desktop refresh safety */
@media (min-width:641px){
  .fe-mobile-listing-heading,
  .fe-mobile-listing-heading[hidden],
  .eml-mobile-header-tools,
  .eml-mobile-header-tools[hidden]{display:none!important}
}


/* ===================== v263 mobile polish ===================== */
@media (max-width:640px){
  /* 4'lü filtre barı sağdan soldan tam genişlik */
  body.fe-mobile-listing-page .fe-header-inner{
    padding-left:0!important;
    padding-right:0!important;
  }
  body.fe-mobile-listing-page .fe-mobile-detail-back{margin-left:10px!important}
  body.fe-mobile-listing-page .fe-header-actions{margin-right:10px!important}
  body.fe-mobile-listing-page .fe-mobile-listing-heading{padding-right:6px!important}
  body.fe-mobile-listing-page .eml-mobile-header-tools{
    width:100vw!important;
    max-width:100vw!important;
    margin-left:calc(50% - 50vw)!important;
    margin-right:0!important;
    padding:8px 6px 10px!important;
    gap:6px!important;
  }
  body.fe-mobile-listing-page .eml-mobile-action{
    height:40px!important;
    border-radius:14px!important;
    padding:0 6px!important;
  }
  body.fe-mobile-listing-page .eml-mobile-action span{font-size:11.4px!important}

  /* Header ile ilk ilan arasındaki boşluğu azalt */
  body.fe-mobile-listing-page .fe-listing-results{
    margin-top:-8px!important;
    padding-top:0!important;
  }
  body.fe-mobile-listing-page .fe-listing-card-grid{
    margin-top:0!important;
    padding-top:0!important;
  }
  body.fe-mobile-listing-page .fe-listing-card-grid > .eml-results-card:first-of-type{
    margin-top:0!important;
  }

  /* Kartları daha final görünüme yaklaştır */
  .eml-mobile-card-link{
    height:118px!important;
    grid-template-columns:32.5% minmax(0,67.5%)!important;
  }
  .eml-mobile-card-media{height:118px!important}
  .eml-mobile-card-content{
    height:118px!important;
    padding:9px 16px 10px 11px!important;
  }
  .eml-mobile-card-content h3{
    font-size:12.5px!important;
    line-height:1.24!important;
    -webkit-line-clamp:2!important;
    max-height:31px!important;
  }
  .eml-mobile-location{
    font-size:9.7px!important;
    padding-right:96px!important;
    margin-bottom:2px!important;
  }
  .eml-mobile-price{
    right:15px!important;
    bottom:12px!important;
    font-size:14.4px!important;
  }
  .eml-mobile-chevron{right:8px!important;font-size:20px!important}
  .eml-mobile-fav{
    width:28px!important;
    height:28px!important;
    right:6px!important;
    top:6px!important;
  }
  .eml-mobile-fav .fe-icon{width:14px!important;height:14px!important}
  .eml-mobile-category{
    left:6px!important;
    bottom:6px!important;
    min-height:26px!important;
    padding:0 9px!important;
    font-size:10.8px!important;
  }

  /* Detaylı listede de görsel büyümesin, sadece gövde uzasın */
  body.fe-view-detailed .eml-results-card .eml-mobile-card-link{
    min-height:142px!important;
    height:142px!important;
    grid-template-columns:32.5% minmax(0,67.5%)!important;
  }
  body.fe-view-detailed .eml-results-card .eml-mobile-card-media{
    height:118px!important;
    margin-top:12px!important;
  }
  body.fe-view-detailed .eml-results-card .eml-mobile-card-content{
    height:142px!important;
    padding:8px 12px 8px 11px!important;
  }
  body.fe-view-detailed .eml-results-card .eml-mobile-card-content h3{
    font-size:11.8px!important;
    line-height:1.2!important;
  }
  body.fe-view-detailed .eml-results-card .eml-mobile-detail-chips{
    gap:4px!important;
  }
  body.fe-view-detailed .eml-results-card .eml-mobile-detail-chips span{
    height:24px!important;
    font-size:8.6px!important;
    padding:0 6px!important;
  }
  body.fe-view-detailed .eml-results-card .eml-mobile-price{
    right:12px!important;
    bottom:8px!important;
    font-size:13.4px!important;
  }
}

@media (max-width:380px){
  body.fe-mobile-listing-page .eml-mobile-header-tools{
    padding:7px 4px 9px!important;
    gap:4px!important;
  }
  body.fe-mobile-listing-page .eml-mobile-action{
    height:38px!important;
    padding:0 4px!important;
  }
  body.fe-mobile-listing-page .eml-mobile-action span{font-size:10.6px!important}
  .eml-mobile-card-link{
    height:114px!important;
    grid-template-columns:33% minmax(0,67%)!important;
  }
  .eml-mobile-card-media{height:114px!important}
  .eml-mobile-card-content{height:114px!important;padding:8px 14px 8px 9px!important}
  .eml-mobile-card-content h3{font-size:11.9px!important}
  .eml-mobile-price{font-size:13.6px!important;right:13px!important}
  .eml-mobile-location{padding-right:90px!important}
  body.fe-view-detailed .eml-results-card .eml-mobile-card-link{
    height:138px!important;
    min-height:138px!important;
    grid-template-columns:33% minmax(0,67%)!important;
  }
  body.fe-view-detailed .eml-results-card .eml-mobile-card-media{height:114px!important}
  body.fe-view-detailed .eml-results-card .eml-mobile-card-content{height:138px!important}
}


/* ===================== v265 small polish only ===================== */
@media (max-width:640px){
  /* Üst 4'lü bar: metinler tam görünsün */
  body.fe-mobile-listing-page .eml-mobile-header-tools{
    padding:8px 4px 10px!important;
    gap:4px!important;
  }
  body.fe-mobile-listing-page .eml-mobile-action{
    min-width:0!important;
    padding:0 3px!important;
    gap:4px!important;
    border-radius:13px!important;
  }
  body.fe-mobile-listing-page .eml-mobile-action .fe-icon{
    width:12px!important;
    height:12px!important;
    flex:0 0 12px!important;
  }
  body.fe-mobile-listing-page .eml-mobile-action span{
    font-size:10.6px!important;
    letter-spacing:-.02em!important;
  }

  /* Kart kenarına hafif beyaz çizgi */
  .eml-mobile-card{
    border-top:1px solid rgba(255,255,255,.07)!important;
    border-right:1px solid rgba(255,255,255,.06)!important;
    border-left:1px solid rgba(255,255,255,.06)!important;
    border-bottom:1px solid rgba(255,255,255,.09)!important;
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.025)!important;
  }

  /* Detaylı listede ikonlar daha canlı ve net */
  body.fe-view-detailed .eml-results-card .eml-mobile-detail-chips span{
    border-color:rgba(102,147,194,.9)!important;
    background:rgba(12,47,82,.98)!important;
    color:#edf6ff!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.04)!important;
  }
  body.fe-view-detailed .eml-results-card .eml-mobile-detail-chips .fe-icon{
    width:12px!important;
    height:12px!important;
    flex:0 0 12px!important;
    filter:drop-shadow(0 0 2px rgba(255,255,255,.08))!important;
  }
  body.fe-view-detailed .eml-results-card .eml-mobile-detail-chips span:nth-child(1) .fe-icon{color:#8b6dff!important}
  body.fe-view-detailed .eml-results-card .eml-mobile-detail-chips span:nth-child(2) .fe-icon{color:#36d8ff!important}
  body.fe-view-detailed .eml-results-card .eml-mobile-detail-chips span:nth-child(3) .fe-icon{color:#4f8dff!important}
  body.fe-view-detailed .eml-results-card .eml-mobile-detail-chips span:nth-child(4) .fe-icon{color:#ff9a2f!important}
}

@media (max-width:380px){
  body.fe-mobile-listing-page .eml-mobile-header-tools{
    padding:7px 3px 9px!important;
    gap:3px!important;
  }
  body.fe-mobile-listing-page .eml-mobile-action{
    padding:0 2px!important;
    gap:3px!important;
  }
  body.fe-mobile-listing-page .eml-mobile-action .fe-icon{
    width:11px!important;
    height:11px!important;
    flex:0 0 11px!important;
  }
  body.fe-mobile-listing-page .eml-mobile-action span{
    font-size:9.9px!important;
  }
}

@media (max-width:640px){
  html[data-fe-theme="light"] .eml-mobile-card,
  html:not([data-fe-theme]) .eml-mobile-card{
    border-top:1px solid rgba(24,57,91,.07)!important;
    border-right:1px solid rgba(24,57,91,.06)!important;
    border-left:1px solid rgba(24,57,91,.06)!important;
    border-bottom:1px solid rgba(24,57,91,.12)!important;
    box-shadow:inset 0 0 0 1px rgba(24,57,91,.02)!important;
  }
  html[data-fe-theme="light"] body.fe-view-detailed .eml-results-card .eml-mobile-detail-chips span,
  html:not([data-fe-theme]) body.fe-view-detailed .eml-results-card .eml-mobile-detail-chips span{
    background:#f6f9fc!important;
    border-color:#cfdceb!important;
    color:#123a5d!important;
  }
}

/* ===================== v271 unified mobile sheets ===================== */
@media (max-width:640px){
  body.fe-mobile-listing-page{
    --fe-sheet-bg:#0d2945;
    --fe-sheet-surface:#123352;
    --fe-sheet-soft:#0a2137;
    --fe-sheet-border:#2b4d71;
    --fe-sheet-text:#eef5fb;
    --fe-sheet-muted:#9ab4cd;
    --fe-sheet-accent:#2c8cff;
    --fe-sheet-accent-strong:#1174ff;
    --fe-sheet-shadow:0 -18px 42px rgba(0,0,0,.34);
  }
  html[data-fe-theme="light"] body.fe-mobile-listing-page,
  html:not([data-fe-theme]) body.fe-mobile-listing-page{
    --fe-sheet-bg:#f4f7fb;
    --fe-sheet-surface:#ffffff;
    --fe-sheet-soft:#edf3f8;
    --fe-sheet-border:#d4e0eb;
    --fe-sheet-text:#173b5b;
    --fe-sheet-muted:#6f879e;
    --fe-sheet-accent:#2c8cff;
    --fe-sheet-accent-strong:#126fe8;
    --fe-sheet-shadow:0 -16px 36px rgba(22,52,84,.12);
  }

  body.fe-mobile-listing-page .fe-listing-sidebar,
  body.fe-mobile-listing-page .fe-choice-sheet{
    background:var(--fe-sheet-bg)!important;
    color:var(--fe-sheet-text)!important;
    border:1px solid var(--fe-sheet-border)!important;
    border-bottom:0!important;
    border-radius:24px 24px 0 0!important;
    box-shadow:var(--fe-sheet-shadow)!important;
    overflow:hidden!important;
  }
  body.fe-mobile-listing-page .fe-mobile-sheet-handle{
    width:68px!important;
    height:5px!important;
    margin:10px auto 2px!important;
    border-radius:999px!important;
    background:rgba(143,177,208,.45)!important;
  }
  body.fe-mobile-listing-page .fe-sidebar-title,
  body.fe-mobile-listing-page .fe-mobile-sort-head{
    padding:14px 18px 12px!important;
    display:flex!important;
    align-items:flex-start!important;
    justify-content:space-between!important;
    gap:12px!important;
    border-bottom:1px solid var(--fe-sheet-border)!important;
    background:linear-gradient(180deg,rgba(255,255,255,.02),rgba(255,255,255,0))!important;
  }
  body.fe-mobile-listing-page .fe-sidebar-title h2,
  body.fe-mobile-listing-page .fe-mobile-sort-head h3{
    margin:0!important;
    color:var(--fe-sheet-text)!important;
    font-size:17px!important;
    line-height:1.2!important;
    font-weight:850!important;
    letter-spacing:-.02em!important;
  }
  body.fe-mobile-listing-page .fe-mobile-sort-head{display:block!important}
  body.fe-mobile-listing-page .fe-mobile-sort-head p,
  body.fe-mobile-listing-page .fe-sidebar-title small{
    margin:6px 0 0!important;
    color:var(--fe-sheet-muted)!important;
    font-size:12px!important;
    line-height:1.45!important;
    font-weight:500!important;
  }
  body.fe-mobile-listing-page .fe-mobile-sheet-close{
    width:38px!important;
    min-width:38px!important;
    height:38px!important;
    border:1px solid var(--fe-sheet-border)!important;
    border-radius:12px!important;
    background:var(--fe-sheet-surface)!important;
    color:var(--fe-sheet-text)!important;
  }
  body.fe-mobile-listing-page .fe-mobile-sheet-body{
    background:var(--fe-sheet-bg)!important;
  }
  body.fe-mobile-listing-page .fe-desktop-filter-scroll{
    padding:14px 16px 18px!important;
  }
  body.fe-mobile-listing-page .fe-mobile-filter-section{
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:10px!important;
    margin:0 0 10px!important;
    padding:0 2px!important;
  }
  body.fe-mobile-listing-page .fe-mobile-filter-section strong{
    color:var(--fe-sheet-text)!important;
    font-size:11px!important;
    line-height:1.2!important;
    font-weight:900!important;
    letter-spacing:.08em!important;
  }
  body.fe-mobile-listing-page .fe-filter-category{
    display:block!important;
    padding:14px!important;
    margin-bottom:14px!important;
    border:1px solid var(--fe-sheet-border)!important;
    border-radius:16px!important;
    background:var(--fe-sheet-surface)!important;
  }
  body.fe-mobile-listing-page .fe-filter-category strong{display:block!important;margin-bottom:8px!important}
  body.fe-mobile-listing-page .fe-filter-category a{
    float:right!important;
    margin-top:-22px!important;
    color:var(--fe-sheet-accent)!important;
    font-size:12px!important;
    font-weight:800!important;
    text-decoration:none!important;
  }
  body.fe-mobile-listing-page .fe-filter-category small{
    display:block!important;
    color:var(--fe-sheet-muted)!important;
    font-size:12px!important;
    line-height:1.5!important;
  }
  body.fe-mobile-listing-page .fe-sidebar-field{
    margin-bottom:14px!important;
  }
  body.fe-mobile-listing-page .fe-sidebar-field>label{
    display:block!important;
    margin:0 0 7px 2px!important;
    color:var(--fe-sheet-text)!important;
    font-size:13px!important;
    font-weight:750!important;
  }
  body.fe-mobile-listing-page .fe-sidebar-control,
  body.fe-mobile-listing-page .fe-sidebar-price,
  body.fe-mobile-listing-page .fe-sidebar-keyword,
  body.fe-mobile-listing-page .fe-family-control,
  body.fe-mobile-listing-page .fe-save-form input,
  body.fe-mobile-listing-page .fe-save-email input{
    border-radius:15px!important;
  }
  body.fe-mobile-listing-page .fe-sidebar-keyword,
  body.fe-mobile-listing-page .fe-sidebar-price,
  body.fe-mobile-listing-page .fe-family-control,
  body.fe-mobile-listing-page .fe-sidebar-control select,
  body.fe-mobile-listing-page .fe-save-form input,
  body.fe-mobile-listing-page .fe-save-email input{
    background:var(--fe-sheet-surface)!important;
    border:1px solid var(--fe-sheet-border)!important;
    color:var(--fe-sheet-text)!important;
    box-shadow:none!important;
  }
  body.fe-mobile-listing-page .fe-sidebar-keyword input,
  body.fe-mobile-listing-page .fe-sidebar-price input,
  body.fe-mobile-listing-page .fe-save-form input,
  body.fe-mobile-listing-page .fe-save-email input,
  body.fe-mobile-listing-page .fe-family-control-label,
  body.fe-mobile-listing-page .fe-sidebar-control select{
    color:var(--fe-sheet-text)!important;
    font-size:14px!important;
  }
  body.fe-mobile-listing-page .fe-sidebar-keyword input::placeholder,
  body.fe-mobile-listing-page .fe-sidebar-price input::placeholder,
  body.fe-mobile-listing-page .fe-save-form input::placeholder,
  body.fe-mobile-listing-page .fe-save-email input::placeholder{
    color:var(--fe-sheet-muted)!important;
  }
  body.fe-mobile-listing-page .fe-sidebar-keyword span,
  body.fe-mobile-listing-page .fe-sidebar-control>span,
  body.fe-mobile-listing-page .fe-family-arrow{
    color:var(--fe-sheet-accent)!important;
  }
  body.fe-mobile-listing-page .fe-location-status,
  body.fe-mobile-listing-page .fe-save-email small,
  body.fe-mobile-listing-page [data-save-status]{
    color:var(--fe-sheet-muted)!important;
    font-size:12px!important;
    line-height:1.45!important;
  }
  body.fe-mobile-listing-page .fe-mobile-nearby-row{
    display:flex!important;
    align-items:center!important;
    gap:12px!important;
    width:100%!important;
    padding:14px!important;
    border:1px solid var(--fe-sheet-border)!important;
    border-radius:16px!important;
    background:var(--fe-sheet-surface)!important;
    color:var(--fe-sheet-text)!important;
    margin-bottom:18px!important;
  }
  body.fe-mobile-listing-page .fe-mobile-nearby-icon,
  body.fe-mobile-listing-page .fe-mobile-nearby-more{
    color:var(--fe-sheet-accent)!important;
  }
  body.fe-mobile-listing-page .fe-mobile-nearby-copy strong{
    display:block!important;
    color:var(--fe-sheet-text)!important;
    font-size:14px!important;
    font-weight:800!important;
  }
  body.fe-mobile-listing-page .fe-mobile-nearby-copy small{
    color:var(--fe-sheet-muted)!important;
    font-size:12px!important;
  }
  body.fe-mobile-listing-page .fe-desktop-advanced-toggle{
    width:100%!important;
    margin:4px 0 14px!important;
    padding:14px 16px!important;
    border:1px solid var(--fe-sheet-border)!important;
    border-radius:16px!important;
    background:var(--fe-sheet-soft)!important;
    color:var(--fe-sheet-text)!important;
    font-weight:800!important;
  }
  body.fe-mobile-listing-page .fe-mobile-sheet-actions,
  body.fe-mobile-listing-page .fe-choice-footer{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
    padding:14px 16px calc(14px + env(safe-area-inset-bottom))!important;
    border-top:1px solid var(--fe-sheet-border)!important;
    background:var(--fe-sheet-bg)!important;
  }
  body.fe-mobile-listing-page .fe-mobile-sheet-actions>* ,
  body.fe-mobile-listing-page .fe-choice-footer>*{
    min-width:0!important;
    height:48px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:8px!important;
    padding:0 14px!important;
    border-radius:15px!important;
    font-size:15px!important;
    font-weight:850!important;
    text-decoration:none!important;
  }
  body.fe-mobile-listing-page .fe-mobile-sheet-reset,
  body.fe-mobile-listing-page .fe-choice-footer>*:first-child{
    border:1px solid var(--fe-sheet-border)!important;
    background:var(--fe-sheet-surface)!important;
    color:var(--fe-sheet-text)!important;
  }
  body.fe-mobile-listing-page .fe-mobile-sheet-apply,
  body.fe-mobile-listing-page .fe-choice-footer>*:last-child{
    border:1px solid var(--fe-sheet-accent-strong)!important;
    background:linear-gradient(135deg,var(--fe-sheet-accent),var(--fe-sheet-accent-strong))!important;
    color:#fff!important;
    box-shadow:0 10px 22px rgba(17,116,255,.25)!important;
  }
  body.fe-mobile-listing-page .fe-mobile-sheet-apply small{
    display:block!important;
    font-size:11px!important;
    font-weight:700!important;
    opacity:.9!important;
  }
  body.fe-mobile-listing-page .fe-choice-options{
    display:flex!important;
    flex-direction:column!important;
    gap:10px!important;
    padding:14px 16px 18px!important;
  }
  body.fe-mobile-listing-page .fe-choice-option{
    width:100%!important;
    text-align:left!important;
    display:flex!important;
    align-items:flex-start!important;
    gap:12px!important;
    padding:14px!important;
    border:1px solid var(--fe-sheet-border)!important;
    border-radius:16px!important;
    background:var(--fe-sheet-surface)!important;
    color:var(--fe-sheet-text)!important;
  }
  body.fe-mobile-listing-page .fe-choice-option.active{
    border-color:var(--fe-sheet-accent)!important;
    box-shadow:0 0 0 1px rgba(44,140,255,.14),0 10px 22px rgba(17,116,255,.14)!important;
  }
  body.fe-mobile-listing-page .fe-choice-copy{
    display:flex!important;
    min-width:0!important;
    flex:1 1 auto!important;
    flex-direction:column!important;
    gap:3px!important;
  }
  body.fe-mobile-listing-page .fe-choice-copy strong{
    color:var(--fe-sheet-text)!important;
    font-size:14px!important;
    line-height:1.3!important;
    font-weight:800!important;
  }
  body.fe-mobile-listing-page .fe-choice-copy small,
  body.fe-mobile-listing-page .fe-map-unavailable{
    color:var(--fe-sheet-muted)!important;
    font-size:12px!important;
    line-height:1.45!important;
  }
  body.fe-mobile-listing-page .fe-choice-radio{
    width:20px!important;
    min-width:20px!important;
    height:20px!important;
    margin-top:1px!important;
    border:2px solid #6f8dab!important;
    border-radius:50%!important;
    position:relative!important;
  }
  body.fe-mobile-listing-page .fe-choice-option.active .fe-choice-radio{
    border-color:var(--fe-sheet-accent)!important;
  }
  body.fe-mobile-listing-page .fe-choice-option.active .fe-choice-radio::after{
    content:""!important;
    position:absolute!important;
    inset:4px!important;
    border-radius:50%!important;
    background:var(--fe-sheet-accent)!important;
  }
  body.fe-mobile-listing-page .fe-save-form{
    display:block!important;
    padding:14px 16px 0!important;
  }
  body.fe-mobile-listing-page .fe-save-form>label{
    display:block!important;
    margin:0 0 8px 2px!important;
    color:var(--fe-sheet-text)!important;
    font-size:13px!important;
    font-weight:750!important;
  }
  body.fe-mobile-listing-page .fe-save-form>input,
  body.fe-mobile-listing-page .fe-save-email input{
    width:100%!important;
    min-height:50px!important;
    padding:0 14px!important;
    margin:0 0 14px!important;
  }
  body.fe-mobile-listing-page .fe-save-toggle-grid{
    display:grid!important;
    gap:10px!important;
    margin-bottom:14px!important;
  }
  body.fe-mobile-listing-page .fe-save-toggle-card{
    position:relative!important;
    display:flex!important;
    align-items:center!important;
    gap:12px!important;
    min-height:70px!important;
    padding:14px!important;
    border:1px solid var(--fe-sheet-border)!important;
    border-radius:16px!important;
    background:var(--fe-sheet-surface)!important;
    cursor:pointer!important;
  }
  body.fe-mobile-listing-page .fe-save-toggle-card input{
    position:absolute!important;
    opacity:0!important;
    pointer-events:none!important;
  }
  body.fe-mobile-listing-page .fe-save-toggle-ui{
    width:44px!important;
    min-width:44px!important;
    height:26px!important;
    border-radius:999px!important;
    background:#5d7894!important;
    position:relative!important;
    transition:all .18s ease!important;
  }
  body.fe-mobile-listing-page .fe-save-toggle-ui::after{
    content:""!important;
    position:absolute!important;
    top:3px!important;
    left:3px!important;
    width:20px!important;
    height:20px!important;
    border-radius:50%!important;
    background:#fff!important;
    transition:all .18s ease!important;
  }
  body.fe-mobile-listing-page .fe-save-toggle-copy{display:flex!important;flex-direction:column!important;gap:3px!important}
  body.fe-mobile-listing-page .fe-save-toggle-copy strong{
    color:var(--fe-sheet-text)!important;
    font-size:14px!important;
    font-weight:800!important;
  }
  body.fe-mobile-listing-page .fe-save-toggle-copy small{
    color:var(--fe-sheet-muted)!important;
    font-size:12px!important;
    line-height:1.45!important;
  }
  body.fe-mobile-listing-page .fe-save-toggle-card input:checked + .fe-save-toggle-ui{
    background:linear-gradient(135deg,var(--fe-sheet-accent),var(--fe-sheet-accent-strong))!important;
  }
  body.fe-mobile-listing-page .fe-save-toggle-card input:checked + .fe-save-toggle-ui::after{
    left:21px!important;
  }
  body.fe-mobile-listing-page .fe-save-toggle-card input:checked ~ .fe-save-toggle-copy strong{
    color:var(--fe-sheet-accent)!important;
  }
  body.fe-mobile-listing-page .fe-save-email{
    margin-bottom:10px!important;
  }
  body.fe-mobile-listing-page .fe-save-email small,
  body.fe-mobile-listing-page [data-save-status]{display:block!important;margin-top:-4px!important;margin-bottom:12px!important}

  body.fe-mobile-listing-page .fe-nearby-card{
    background:var(--fe-sheet-bg)!important;
    border:1px solid var(--fe-sheet-border)!important;
    color:var(--fe-sheet-text)!important;
    border-radius:24px!important;
    box-shadow:0 20px 45px rgba(0,0,0,.28)!important;
  }
  body.fe-mobile-listing-page .fe-nearby-head-copy h3,
  body.fe-mobile-listing-page .fe-nearby-range-label strong,
  body.fe-mobile-listing-page .fe-nearby-status{
    color:var(--fe-sheet-text)!important;
  }
  body.fe-mobile-listing-page .fe-nearby-head-copy p,
  body.fe-mobile-listing-page .fe-nearby-statusline{
    color:var(--fe-sheet-muted)!important;
  }
  body.fe-mobile-listing-page .fe-nearby-secondary{
    border:1px solid var(--fe-sheet-border)!important;
    background:var(--fe-sheet-surface)!important;
    color:var(--fe-sheet-text)!important;
  }
  body.fe-mobile-listing-page .fe-nearby-primary{
    border:1px solid var(--fe-sheet-accent-strong)!important;
    background:linear-gradient(135deg,var(--fe-sheet-accent),var(--fe-sheet-accent-strong))!important;
    color:#fff!important;
  }
}


/* ===================== v278 FILTER FINAL / RESPONSIVE ===================== */
@media (max-width:640px){
  body.fe-mobile-listing-page.fe-filter-open{overflow:hidden!important}

  body.fe-mobile-listing-page .fe-listing-sidebar{
    position:fixed!important;
    inset:var(--fe-chrome-h,120px) 0 0 0!important;
    width:100vw!important;
    max-width:100vw!important;
    height:auto!important;
    max-height:none!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:var(--fe-sheet-bg,#0d2945)!important;
    overflow:hidden!important;
    z-index:190!important;
    box-sizing:border-box!important;
  }

  body.fe-mobile-listing-page .fe-listing-sidebar .fe-sidebar-search{
    display:flex!important;
    flex-direction:column!important;
    width:100%!important;
    max-width:100%!important;
    height:100%!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    background:var(--fe-sheet-bg,#0d2945)!important;
    box-sizing:border-box!important;
  }

  body.fe-mobile-listing-page .fe-listing-sidebar .fe-mobile-sheet-handle{
    display:none!important;
  }

  body.fe-mobile-listing-page .fe-sidebar-title{
    flex:0 0 56px!important;
    min-height:56px!important;
    height:56px!important;
    width:100%!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:10px!important;
    margin:0!important;
    padding:0 12px 0 16px!important;
    border-bottom:1px solid var(--fe-sheet-border,#2b4d71)!important;
    background:var(--fe-sheet-bg,#0d2945)!important;
    box-sizing:border-box!important;
    position:relative!important;
    z-index:5!important;
  }
  body.fe-mobile-listing-page .fe-sidebar-title>span{display:none!important}
  body.fe-mobile-listing-page .fe-sidebar-title h2{
    margin:0!important;
    padding:0!important;
    color:var(--fe-sheet-text,#eef5fb)!important;
    font-size:17px!important;
    line-height:1.2!important;
    font-weight:850!important;
  }
  body.fe-mobile-listing-page .fe-mobile-sheet-close{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    position:static!important;
    width:40px!important;
    min-width:40px!important;
    height:40px!important;
    margin:0!important;
    padding:0!important;
    border:1px solid var(--fe-sheet-border,#2b4d71)!important;
    border-radius:12px!important;
    background:var(--fe-sheet-surface,#123352)!important;
    color:var(--fe-sheet-text,#eef5fb)!important;
    font-size:24px!important;
    line-height:1!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    z-index:6!important;
  }

  body.fe-mobile-listing-page .fe-mobile-sheet-body{
    flex:1 1 auto!important;
    min-height:0!important;
    width:100%!important;
    max-width:100%!important;
    display:flex!important;
    flex-direction:column!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    background:var(--fe-sheet-bg,#0d2945)!important;
    box-sizing:border-box!important;
  }

  body.fe-mobile-listing-page .fe-desktop-filter-scroll{
    flex:1 1 auto!important;
    min-height:0!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:14px 16px 24px!important;
    overflow-y:auto!important;
    overflow-x:hidden!important;
    overscroll-behavior:contain!important;
    -webkit-overflow-scrolling:touch!important;
    box-sizing:border-box!important;
  }

  body.fe-mobile-listing-page .fe-mobile-sheet-actions{
    flex:0 0 auto!important;
    display:grid!important;
    grid-template-columns:minmax(0,.92fr) minmax(0,1.28fr)!important;
    gap:10px!important;
    width:100%!important;
    max-width:100%!important;
    min-height:70px!important;
    margin:0!important;
    padding:9px 12px calc(9px + env(safe-area-inset-bottom))!important;
    border-top:1px solid var(--fe-sheet-border,#2b4d71)!important;
    background:var(--fe-sheet-bg,#0d2945)!important;
    box-shadow:0 -8px 22px rgba(0,0,0,.16)!important;
    box-sizing:border-box!important;
    position:relative!important;
    left:auto!important;
    right:auto!important;
    bottom:auto!important;
    z-index:10!important;
  }
  body.fe-mobile-listing-page .fe-mobile-sheet-reset,
  body.fe-mobile-listing-page .fe-mobile-sheet-apply{
    width:100%!important;
    min-width:0!important;
    height:48px!important;
    min-height:48px!important;
    margin:0!important;
    padding:0 10px!important;
    border-radius:14px!important;
    box-sizing:border-box!important;
  }
  body.fe-mobile-listing-page .fe-mobile-sheet-apply{
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    justify-content:center!important;
    line-height:1.05!important;
  }
  body.fe-mobile-listing-page .fe-mobile-sheet-apply small{
    margin-top:3px!important;
    font-size:10px!important;
  }
  body.fe-mobile-listing-page .fe-sidebar-submit,
  body.fe-mobile-listing-page .fe-sidebar-clear{display:none!important}

  body.fe-mobile-listing-page .fe-sidebar-field,
  body.fe-mobile-listing-page .fe-desktop-advanced-fields,
  body.fe-mobile-listing-page .fe-mobile-filter-section,
  body.fe-mobile-listing-page .fe-mobile-nearby-row{
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }

  body.fe-mobile-listing-page .fe-sidebar-field{margin-bottom:14px!important}
  body.fe-mobile-listing-page .fe-sidebar-field>label{
    display:block!important;
    margin:0 0 7px!important;
    color:var(--fe-sheet-text,#eef5fb)!important;
    font-size:13px!important;
    font-weight:800!important;
  }

  body.fe-mobile-listing-page .fe-listing-sidebar .fe-select-shell{
    position:relative!important;
    width:100%!important;
    max-width:100%!important;
    height:48px!important;
    min-height:48px!important;
    margin:0!important;
    border:1px solid var(--fe-sheet-border,#2b4d71)!important;
    border-radius:14px!important;
    background:var(--fe-sheet-surface,#123352)!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
  }
  body.fe-mobile-listing-page .fe-listing-sidebar .fe-select-shell>.fe-family-control,
  body.fe-mobile-listing-page .fe-listing-sidebar .fe-select-shell>.fe-family-menu{
    display:none!important;
  }
  body.fe-mobile-listing-page .fe-listing-sidebar .fe-select-shell>select,
  body.fe-mobile-listing-page .fe-listing-sidebar .fe-select-shell>select.fe-family-native{
    display:block!important;
    position:absolute!important;
    inset:0!important;
    width:100%!important;
    height:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:0 42px 0 14px!important;
    border:0!important;
    border-radius:13px!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    clip:auto!important;
    clip-path:none!important;
    appearance:none!important;
    -webkit-appearance:none!important;
    background:transparent!important;
    color:var(--fe-sheet-text,#eef5fb)!important;
    font-size:14px!important;
    font-weight:750!important;
    outline:none!important;
    z-index:2!important;
    box-sizing:border-box!important;
  }
  body.fe-mobile-listing-page .fe-listing-sidebar .fe-select-shell:after{
    content:""!important;
    position:absolute!important;
    right:16px!important;
    top:50%!important;
    width:8px!important;
    height:8px!important;
    border-right:2px solid var(--fe-sheet-muted,#9ab4cd)!important;
    border-bottom:2px solid var(--fe-sheet-muted,#9ab4cd)!important;
    transform:translateY(-70%) rotate(45deg)!important;
    pointer-events:none!important;
    z-index:3!important;
  }
  body.fe-mobile-listing-page .fe-listing-sidebar .fe-select-shell>span{display:none!important}
  body.fe-mobile-listing-page .fe-listing-sidebar select:disabled{
    color:var(--fe-sheet-muted,#9ab4cd)!important;
    opacity:.58!important;
  }

  body.fe-mobile-listing-page .fe-sidebar-keyword,
  body.fe-mobile-listing-page .fe-sidebar-price{
    width:100%!important;
    max-width:100%!important;
    box-sizing:border-box!important;
  }
  body.fe-mobile-listing-page .fe-sidebar-keyword{
    min-height:48px!important;
    border:1px solid var(--fe-sheet-border,#2b4d71)!important;
    border-radius:14px!important;
    background:var(--fe-sheet-surface,#123352)!important;
    overflow:hidden!important;
  }
  body.fe-mobile-listing-page .fe-sidebar-keyword input{
    width:100%!important;
    min-width:0!important;
    height:46px!important;
    padding:0 14px 0 42px!important;
    border:0!important;
    background:transparent!important;
    color:var(--fe-sheet-text,#eef5fb)!important;
    box-sizing:border-box!important;
  }
  body.fe-mobile-listing-page .fe-sidebar-price{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr)!important;
    align-items:center!important;
    gap:8px!important;
  }
  body.fe-mobile-listing-page .fe-sidebar-price input{
    width:100%!important;
    min-width:0!important;
    height:48px!important;
    margin:0!important;
    padding:0 12px!important;
    border:1px solid var(--fe-sheet-border,#2b4d71)!important;
    border-radius:14px!important;
    background:var(--fe-sheet-surface,#123352)!important;
    color:var(--fe-sheet-text,#eef5fb)!important;
    box-sizing:border-box!important;
  }
  body.fe-mobile-listing-page .fe-sidebar-price>span{
    text-align:center!important;
    color:var(--fe-sheet-muted,#9ab4cd)!important;
  }
  body.fe-mobile-listing-page .fe-listing-sidebar input::placeholder{
    color:var(--fe-sheet-muted,#9ab4cd)!important;
    opacity:1!important;
  }

  body.fe-mobile-listing-page .fe-filter-options,
  body.fe-mobile-listing-page .fe-filter-location-section,
  body.fe-mobile-listing-page .fe-filter-details,
  body.fe-mobile-listing-page .fe-filter-other{
    margin-top:18px!important;
    padding:0 0 8px!important;
    border-bottom:1px solid rgba(92,143,190,.42)!important;
  }
  body.fe-mobile-listing-page .fe-filter-options strong,
  body.fe-mobile-listing-page .fe-filter-location-section strong,
  body.fe-mobile-listing-page .fe-filter-details strong,
  body.fe-mobile-listing-page .fe-filter-other strong{
    color:#7fb8ed!important;
  }

  body.fe-mobile-listing-page .fe-mobile-nearby-row{
    margin:0 0 12px!important;
  }

  html[data-fe-theme="light"] body.fe-mobile-listing-page .fe-listing-sidebar,
  html:not([data-fe-theme]) body.fe-mobile-listing-page .fe-listing-sidebar,
  html[data-fe-theme="light"] body.fe-mobile-listing-page .fe-sidebar-search,
  html:not([data-fe-theme]) body.fe-mobile-listing-page .fe-sidebar-search,
  html[data-fe-theme="light"] body.fe-mobile-listing-page .fe-sidebar-title,
  html:not([data-fe-theme]) body.fe-mobile-listing-page .fe-sidebar-title,
  html[data-fe-theme="light"] body.fe-mobile-listing-page .fe-mobile-sheet-body,
  html:not([data-fe-theme]) body.fe-mobile-listing-page .fe-mobile-sheet-body,
  html[data-fe-theme="light"] body.fe-mobile-listing-page .fe-mobile-sheet-actions,
  html:not([data-fe-theme]) body.fe-mobile-listing-page .fe-mobile-sheet-actions{
    background:#f4f7fb!important;
  }
  html[data-fe-theme="light"] body.fe-mobile-listing-page .fe-sidebar-title h2,
  html:not([data-fe-theme]) body.fe-mobile-listing-page .fe-sidebar-title h2,
  html[data-fe-theme="light"] body.fe-mobile-listing-page .fe-sidebar-field>label,
  html:not([data-fe-theme]) body.fe-mobile-listing-page .fe-sidebar-field>label{
    color:#173b5b!important;
  }
  html[data-fe-theme="light"] body.fe-mobile-listing-page .fe-mobile-sheet-close,
  html:not([data-fe-theme]) body.fe-mobile-listing-page .fe-mobile-sheet-close,
  html[data-fe-theme="light"] body.fe-mobile-listing-page .fe-listing-sidebar .fe-select-shell,
  html:not([data-fe-theme]) body.fe-mobile-listing-page .fe-listing-sidebar .fe-select-shell,
  html[data-fe-theme="light"] body.fe-mobile-listing-page .fe-sidebar-keyword,
  html:not([data-fe-theme]) body.fe-mobile-listing-page .fe-sidebar-keyword,
  html[data-fe-theme="light"] body.fe-mobile-listing-page .fe-sidebar-price input,
  html:not([data-fe-theme]) body.fe-mobile-listing-page .fe-sidebar-price input{
    background:#fff!important;
    border-color:#d4e0eb!important;
    color:#173b5b!important;
  }
  html[data-fe-theme="light"] body.fe-mobile-listing-page .fe-listing-sidebar select,
  html:not([data-fe-theme]) body.fe-mobile-listing-page .fe-listing-sidebar select,
  html[data-fe-theme="light"] body.fe-mobile-listing-page .fe-sidebar-keyword input,
  html:not([data-fe-theme]) body.fe-mobile-listing-page .fe-sidebar-keyword input,
  html[data-fe-theme="light"] body.fe-mobile-listing-page .fe-sidebar-price input,
  html:not([data-fe-theme]) body.fe-mobile-listing-page .fe-sidebar-price input{
    color:#173b5b!important;
    color-scheme:light!important;
  }
  html[data-fe-theme="light"] body.fe-mobile-listing-page .fe-listing-sidebar input::placeholder,
  html:not([data-fe-theme]) body.fe-mobile-listing-page .fe-listing-sidebar input::placeholder{
    color:#7a8fa4!important;
  }
  html[data-fe-theme="light"] body.fe-mobile-listing-page .fe-filter-options,
  html:not([data-fe-theme]) body.fe-mobile-listing-page .fe-filter-options,
  html[data-fe-theme="light"] body.fe-mobile-listing-page .fe-filter-location-section,
  html:not([data-fe-theme]) body.fe-mobile-listing-page .fe-filter-location-section,
  html[data-fe-theme="light"] body.fe-mobile-listing-page .fe-filter-details,
  html:not([data-fe-theme]) body.fe-mobile-listing-page .fe-filter-details,
  html[data-fe-theme="light"] body.fe-mobile-listing-page .fe-filter-other,
  html:not([data-fe-theme]) body.fe-mobile-listing-page .fe-filter-other{
    border-bottom-color:#d7e2ec!important;
  }
  html[data-fe-theme="light"] body.fe-mobile-listing-page .fe-filter-options strong,
  html:not([data-fe-theme]) body.fe-mobile-listing-page .fe-filter-options strong,
  html[data-fe-theme="light"] body.fe-mobile-listing-page .fe-filter-location-section strong,
  html:not([data-fe-theme]) body.fe-mobile-listing-page .fe-filter-location-section strong,
  html[data-fe-theme="light"] body.fe-mobile-listing-page .fe-filter-details strong,
  html:not([data-fe-theme]) body.fe-mobile-listing-page .fe-filter-details strong,
  html[data-fe-theme="light"] body.fe-mobile-listing-page .fe-filter-other strong,
  html:not([data-fe-theme]) body.fe-mobile-listing-page .fe-filter-other strong{
    color:#527491!important;
  }
}

@media (max-width:380px){
  body.fe-mobile-listing-page .fe-listing-sidebar{
    inset:var(--fe-chrome-h,116px) 0 0 0!important;
  }
  body.fe-mobile-listing-page .fe-sidebar-title{
    flex-basis:52px!important;
    min-height:52px!important;
    height:52px!important;
    padding-left:12px!important;
  }
  body.fe-mobile-listing-page .fe-mobile-sheet-close{
    width:36px!important;
    min-width:36px!important;
    height:36px!important;
  }
  body.fe-mobile-listing-page .fe-desktop-filter-scroll{
    padding:12px 12px 18px!important;
  }
  body.fe-mobile-listing-page .fe-mobile-sheet-actions{
    grid-template-columns:minmax(0,.9fr) minmax(0,1.3fr)!important;
    gap:8px!important;
    padding:8px 8px calc(8px + env(safe-area-inset-bottom))!important;
  }
  body.fe-mobile-listing-page .fe-mobile-sheet-reset,
  body.fe-mobile-listing-page .fe-mobile-sheet-apply{
    height:46px!important;
    min-height:46px!important;
    font-size:12px!important;
  }
}


/* ===================== v279 FILTER CLOSE FINAL ===================== */
@media (max-width:640px){
  /* Kapatma butonu ayrı header satırı oluşturmaz; panelin sağ üstünde yüzer. */
  body.fe-mobile-listing-page .fe-sidebar-title{
    position:absolute!important;
    top:10px!important;
    right:10px!important;
    left:auto!important;
    width:42px!important;
    height:42px!important;
    min-height:42px!important;
    flex:0 0 42px!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
    z-index:40!important;
    pointer-events:none!important;
  }
  body.fe-mobile-listing-page .fe-sidebar-title>span,
  body.fe-mobile-listing-page .fe-sidebar-title h2{display:none!important}
  body.fe-mobile-listing-page .fe-mobile-sheet-close{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    position:absolute!important;
    inset:0!important;
    width:42px!important;
    min-width:42px!important;
    height:42px!important;
    margin:0!important;
    padding:0!important;
    border:1px solid #315a80!important;
    border-radius:13px!important;
    background:#123b60!important;
    color:#f5f9ff!important;
    box-shadow:0 6px 16px rgba(0,0,0,.16)!important;
    font-size:24px!important;
    font-weight:500!important;
    line-height:1!important;
    cursor:pointer!important;
    pointer-events:auto!important;
    z-index:41!important;
  }
  body.fe-mobile-listing-page .fe-mobile-sheet-body{
    padding-top:0!important;
  }
  body.fe-mobile-listing-page .fe-desktop-filter-scroll{
    padding-top:14px!important;
  }
  body.fe-mobile-listing-page .fe-filter-category{
    margin-right:50px!important;
  }

  /* Gece: mevcut kurumsal lacivert aile. */
  html[data-fe-theme="dark"] body.fe-mobile-listing-page .fe-mobile-sheet-close{
    background:#123b60!important;
    border-color:#315a80!important;
    color:#f5f9ff!important;
    box-shadow:0 6px 16px rgba(0,0,0,.18)!important;
  }

  /* Gündüz: aynı aile yapısının açık varyantı. */
  html[data-fe-theme="light"] body.fe-mobile-listing-page .fe-mobile-sheet-close,
  html:not([data-fe-theme]) body.fe-mobile-listing-page .fe-mobile-sheet-close{
    background:#ffffff!important;
    border-color:#cfdeeb!important;
    color:#183b5b!important;
    box-shadow:0 5px 14px rgba(20,52,84,.10)!important;
  }
}

@media (max-width:380px){
  body.fe-mobile-listing-page .fe-sidebar-title{
    top:8px!important;
    right:8px!important;
    width:38px!important;
    height:38px!important;
    min-height:38px!important;
    flex-basis:38px!important;
  }
  body.fe-mobile-listing-page .fe-mobile-sheet-close{
    width:38px!important;
    min-width:38px!important;
    height:38px!important;
    border-radius:12px!important;
    font-size:22px!important;
  }
  body.fe-mobile-listing-page .fe-filter-category{margin-right:44px!important}
}


/* v280: bottom apply button single-line */
@media (max-width:640px){
  body.fe-mobile-listing-page .fe-mobile-sheet-apply{
    white-space:nowrap!important;
    line-height:1!important;
  }
  body.fe-mobile-listing-page .fe-mobile-sheet-apply small{display:none!important}
}

/* ===================== v281 MAP / VIEW MODAL FINAL ===================== */
@media (max-width:640px){
  /* Görünüm modalı harita kontrollerinin kesin üstünde kalır. */
  body.fe-mobile-listing-page .fe-mobile-sheet-backdrop{
    z-index:690!important;
  }
  body.fe-mobile-listing-page .fe-choice-sheet{
    z-index:700!important;
  }

  /* Harita açıkken Görünüm tekrar açılırsa harita üzerindeki aksiyonlar modalın üstüne çıkmaz. */
  body.fe-mobile-listing-page.fe-view-open .fe-mobile-map-types,
  body.fe-mobile-listing-page.fe-view-open .fe-mobile-map-list-button,
  body.fe-mobile-listing-page.fe-view-open .fe-mobile-map-resultbar,
  body.fe-mobile-listing-page.fe-view-open .fe-mobile-map-empty,
  body.fe-mobile-listing-page.fe-view-open .leaflet-control-container{
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
  }

  /* Normal harita görünümündeki kontroller aynı kurumsal gece ailesine bağlanır. */
  body.fe-mobile-listing-page .fe-mobile-map-types{
    border:1px solid #315a80!important;
    border-radius:13px!important;
    background:#123352!important;
    box-shadow:0 7px 20px rgba(0,0,0,.18)!important;
    overflow:hidden!important;
  }
  body.fe-mobile-listing-page .fe-mobile-map-types button{
    height:42px!important;
    padding:0 16px!important;
    border:0!important;
    border-right:1px solid #315a80!important;
    background:#123352!important;
    color:#d5e3f0!important;
    font-size:13px!important;
    font-weight:800!important;
  }
  body.fe-mobile-listing-page .fe-mobile-map-types button:last-child{border-right:0!important}
  body.fe-mobile-listing-page .fe-mobile-map-types button.active{
    background:linear-gradient(135deg,#2c8cff,#126fe8)!important;
    color:#fff!important;
  }

  body.fe-mobile-listing-page .fe-mobile-map-list-button{
    height:48px!important;
    right:12px!important;
    bottom:58px!important;
    padding:0 18px!important;
    border:1px solid #2c8cff!important;
    border-radius:16px!important;
    background:linear-gradient(135deg,#2c8cff,#126fe8)!important;
    color:#fff!important;
    font-size:14px!important;
    font-weight:850!important;
    box-shadow:0 10px 24px rgba(18,111,232,.28)!important;
  }
  body.fe-mobile-listing-page .fe-mobile-map-list-button span{
    margin-right:7px!important;
    font-size:18px!important;
  }

  body.fe-mobile-listing-page .fe-mobile-map-resultbar{
    min-height:50px!important;
    padding:8px 12px!important;
    border-top:1px solid #2b4d71!important;
    background:rgba(13,41,69,.96)!important;
    color:#b9cee1!important;
    font-size:12px!important;
    backdrop-filter:blur(10px)!important;
  }
  body.fe-mobile-listing-page .fe-mobile-map-resultbar strong{
    color:#4ba8ff!important;
    font-size:13px!important;
    font-weight:900!important;
  }

  /* Leaflet yakınlaştırma kontrolleri - gece */
  body.fe-mobile-listing-page .leaflet-control-zoom{
    border:1px solid #315a80!important;
    border-radius:12px!important;
    overflow:hidden!important;
    box-shadow:0 7px 20px rgba(0,0,0,.18)!important;
  }
  body.fe-mobile-listing-page .leaflet-control-zoom a{
    width:38px!important;
    height:38px!important;
    line-height:38px!important;
    border:0!important;
    border-bottom:1px solid #315a80!important;
    background:#123352!important;
    color:#eef5fb!important;
  }
  body.fe-mobile-listing-page .leaflet-control-zoom a:last-child{border-bottom:0!important}

  /* Gündüz varyantı */
  html[data-fe-theme="light"] body.fe-mobile-listing-page .fe-mobile-map-types,
  html:not([data-fe-theme]) body.fe-mobile-listing-page .fe-mobile-map-types{
    border-color:#cfddea!important;
    background:#fff!important;
    box-shadow:0 7px 20px rgba(24,59,91,.12)!important;
  }
  html[data-fe-theme="light"] body.fe-mobile-listing-page .fe-mobile-map-types button,
  html:not([data-fe-theme]) body.fe-mobile-listing-page .fe-mobile-map-types button{
    border-right-color:#cfddea!important;
    background:#fff!important;
    color:#183b5b!important;
  }
  html[data-fe-theme="light"] body.fe-mobile-listing-page .fe-mobile-map-types button.active,
  html:not([data-fe-theme]) body.fe-mobile-listing-page .fe-mobile-map-types button.active{
    background:linear-gradient(135deg,#2c8cff,#126fe8)!important;
    color:#fff!important;
  }
  html[data-fe-theme="light"] body.fe-mobile-listing-page .fe-mobile-map-resultbar,
  html:not([data-fe-theme]) body.fe-mobile-listing-page .fe-mobile-map-resultbar{
    border-top-color:#d5e0eb!important;
    background:rgba(255,255,255,.96)!important;
    color:#60788f!important;
  }
  html[data-fe-theme="light"] body.fe-mobile-listing-page .fe-mobile-map-resultbar strong,
  html:not([data-fe-theme]) body.fe-mobile-listing-page .fe-mobile-map-resultbar strong{
    color:#126fe8!important;
  }
  html[data-fe-theme="light"] body.fe-mobile-listing-page .leaflet-control-zoom,
  html:not([data-fe-theme]) body.fe-mobile-listing-page .leaflet-control-zoom{
    border-color:#cfddea!important;
    box-shadow:0 7px 20px rgba(24,59,91,.12)!important;
  }
  html[data-fe-theme="light"] body.fe-mobile-listing-page .leaflet-control-zoom a,
  html:not([data-fe-theme]) body.fe-mobile-listing-page .leaflet-control-zoom a{
    border-bottom-color:#cfddea!important;
    background:#fff!important;
    color:#183b5b!important;
  }
}

/* ===================== v282 FINAL FIX: close button fixed header ===================== */
@media (max-width:640px){
  /*
    Final mobile fix:
    - Close button stays in its own top bar
    - Scroll only happens inside filter content
    - Fields never pass over/under the X button
    - Same family styling in dark/light mode
  */
  body.fe-mobile-listing-page .fe-sidebar-title{
    position:relative!important;
    top:auto!important;
    right:auto!important;
    left:auto!important;
    bottom:auto!important;
    width:100%!important;
    height:56px!important;
    min-height:56px!important;
    flex:0 0 56px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:0!important;
    margin:0!important;
    padding:8px 12px!important;
    border:0!important;
    border-bottom:1px solid var(--fe-sheet-border,#2b4d71)!important;
    background:var(--fe-sheet-bg,#0d2945)!important;
    box-sizing:border-box!important;
    z-index:60!important;
    pointer-events:none!important;
  }

  body.fe-mobile-listing-page .fe-sidebar-title>span,
  body.fe-mobile-listing-page .fe-sidebar-title h2{
    display:none!important;
  }

  body.fe-mobile-listing-page .fe-mobile-sheet-close{
    position:relative!important;
    inset:auto!important;
    top:auto!important;
    left:auto!important;
    right:auto!important;
    bottom:auto!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:40px!important;
    min-width:40px!important;
    height:40px!important;
    margin:0!important;
    margin-left:auto!important;
    padding:0!important;
    border:1px solid #315a80!important;
    border-radius:13px!important;
    background:#123b60!important;
    color:#f5f9ff!important;
    box-shadow:0 6px 16px rgba(0,0,0,.16)!important;
    font-size:24px!important;
    font-weight:600!important;
    line-height:1!important;
    cursor:pointer!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    z-index:61!important;
  }

  body.fe-mobile-listing-page .fe-mobile-sheet-body{
    padding-top:0!important;
    overflow:hidden!important;
  }

  body.fe-mobile-listing-page .fe-desktop-filter-scroll{
    padding-top:14px!important;
  }

  body.fe-mobile-listing-page .fe-filter-category{
    margin-right:0!important;
  }

  html[data-fe-theme="dark"] body.fe-mobile-listing-page .fe-sidebar-title,
  html[data-fe-theme="dark"] body.fe-mobile-listing-page .fe-mobile-sheet-body,
  html[data-fe-theme="dark"] body.fe-mobile-listing-page .fe-mobile-sheet-actions{
    background:#0d2945!important;
  }
  html[data-fe-theme="dark"] body.fe-mobile-listing-page .fe-mobile-sheet-close{
    background:#123b60!important;
    border-color:#315a80!important;
    color:#f5f9ff!important;
    box-shadow:0 6px 16px rgba(0,0,0,.18)!important;
  }

  html[data-fe-theme="light"] body.fe-mobile-listing-page .fe-sidebar-title,
  html:not([data-fe-theme]) body.fe-mobile-listing-page .fe-sidebar-title,
  html[data-fe-theme="light"] body.fe-mobile-listing-page .fe-mobile-sheet-body,
  html:not([data-fe-theme]) body.fe-mobile-listing-page .fe-mobile-sheet-body,
  html[data-fe-theme="light"] body.fe-mobile-listing-page .fe-mobile-sheet-actions,
  html:not([data-fe-theme]) body.fe-mobile-listing-page .fe-mobile-sheet-actions{
    background:#f4f7fb!important;
  }
  html[data-fe-theme="light"] body.fe-mobile-listing-page .fe-mobile-sheet-close,
  html:not([data-fe-theme]) body.fe-mobile-listing-page .fe-mobile-sheet-close{
    background:#ffffff!important;
    border-color:#cfdeeb!important;
    color:#183b5b!important;
    box-shadow:0 5px 14px rgba(20,52,84,.10)!important;
  }
}

@media (max-width:380px){
  body.fe-mobile-listing-page .fe-sidebar-title{
    height:52px!important;
    min-height:52px!important;
    flex-basis:52px!important;
    padding:7px 10px!important;
  }
  body.fe-mobile-listing-page .fe-mobile-sheet-close{
    width:38px!important;
    min-width:38px!important;
    height:38px!important;
    border-radius:12px!important;
    font-size:22px!important;
  }
}

/* ===================== v283 FINAL CLICK FIX ===================== */
@media (max-width:640px){
  /* Filtre paneli kendi backdrop katmanının üstünde kalır. */
  body.fe-mobile-listing-page.fe-filter-open .fe-mobile-sheet-backdrop{
    z-index:180!important;
  }
  body.fe-mobile-listing-page.fe-filter-open .fe-listing-sidebar{
    z-index:190!important;
    pointer-events:auto!important;
  }
  body.fe-mobile-listing-page.fe-filter-open .fe-listing-sidebar *,
  body.fe-mobile-listing-page.fe-filter-open .fe-listing-sidebar select,
  body.fe-mobile-listing-page.fe-filter-open .fe-listing-sidebar input,
  body.fe-mobile-listing-page.fe-filter-open .fe-listing-sidebar button,
  body.fe-mobile-listing-page.fe-filter-open .fe-listing-sidebar a{
    pointer-events:auto;
  }

  /* Diğer bottom-sheet modallarında backdrop tekrar yüksek katmanda kalır. */
  body.fe-mobile-listing-page.fe-sort-open .fe-mobile-sheet-backdrop,
  body.fe-mobile-listing-page.fe-view-open .fe-mobile-sheet-backdrop,
  body.fe-mobile-listing-page.fe-save-open .fe-mobile-sheet-backdrop{
    z-index:690!important;
  }
  body.fe-mobile-listing-page.fe-sort-open .fe-choice-sheet,
  body.fe-mobile-listing-page.fe-view-open .fe-choice-sheet,
  body.fe-mobile-listing-page.fe-save-open .fe-choice-sheet{
    z-index:700!important;
  }
}

@media (max-width:390px){
  body.fe-mobile-listing-page .eml-mobile-action{padding:0 4px!important;gap:4px!important;}
  body.fe-mobile-listing-page .eml-mobile-action span{font-size:10.8px!important;}
}
