/* Miras Emlak v3.11.55 - iOS/Android mobil uyumluluk ve iki sutun ilan kartlari */
.mobile-app-bottom-bar{display:none}

@media (max-width:900px){
  :root{
    --miras-mobile-safe-bottom:env(safe-area-inset-bottom,0px);
    --miras-mobile-bar-height:76px;
  }

  html{
    width:100%;
    min-height:100%;
    min-height:100dvh;
    overflow-x:hidden;
    -webkit-text-size-adjust:100%;
    text-size-adjust:100%;
  }

  body{
    width:100%;
    min-height:100%;
    min-height:100dvh;
    overflow-x:hidden;
    padding-bottom:calc(var(--miras-mobile-bar-height) + var(--miras-mobile-safe-bottom) + 22px)!important;
    -webkit-tap-highlight-color:transparent;
  }

  main{
    min-height:calc(100svh - 68px);
    min-height:calc(100dvh - 68px);
  }

  a,button,[role="button"],input,select,textarea,summary{
    -webkit-tap-highlight-color:transparent;
  }

  a,button,[role="button"],summary{
    touch-action:manipulation;
  }

  /* iOS Safari'de alt navigasyonu her zaman dokunulabilir tut. */
  .mobile-app-bottom-bar{
    position:fixed!important;
    left:8px!important;
    right:8px!important;
    bottom:calc(7px + var(--miras-mobile-safe-bottom))!important;
    z-index:2147483600!important;
    display:block!important;
    width:auto!important;
    height:auto!important;
    pointer-events:auto!important;
    visibility:visible!important;
    opacity:1!important;
    isolation:isolate;
    transform:translate3d(0,0,0);
    -webkit-transform:translate3d(0,0,0);
    -webkit-backface-visibility:hidden;
    backface-visibility:hidden;
    will-change:transform;
  }

  .mobile-app-bottom-inner{
    position:relative!important;
    z-index:2!important;
    width:min(100%,620px)!important;
    min-height:var(--miras-mobile-bar-height)!important;
    margin:0 auto!important;
    pointer-events:auto!important;
    touch-action:manipulation!important;
    transform:translateZ(0);
    -webkit-transform:translateZ(0);
  }

  .mobile-app-nav-item{
    position:relative!important;
    z-index:3!important;
    min-width:44px!important;
    min-height:52px!important;
    pointer-events:auto!important;
    touch-action:manipulation!important;
    cursor:pointer!important;
    -webkit-user-select:none;
    user-select:none;
    -webkit-touch-callout:none;
  }

  .mobile-app-nav-item::before{
    content:"";
    position:absolute;
    inset:-4px -2px;
    z-index:-1;
    border-radius:18px;
  }

  .mobile-app-nav-item.mobile-app-nav-add{
    min-height:70px!important;
  }

  body.nav-open .mobile-app-bottom-bar{
    pointer-events:none!important;
    visibility:hidden!important;
    opacity:0!important;
  }

  /* Kapali katmanlarin iOS'ta gorunmeden tiklamayi engellemesini onle. */
  .filters:not(.open),
  .site-header .primary-nav:not(.open),
  [hidden],
  [aria-hidden="true"]{
    pointer-events:none;
  }

  .filters.open,
  .site-header .primary-nav.open{
    pointer-events:auto!important;
  }

  .cookie-consent-shell{
    bottom:calc(var(--miras-mobile-bar-height) + var(--miras-mobile-safe-bottom) + 18px)!important;
  }

  .compare-tray{
    bottom:calc(var(--miras-mobile-bar-height) + var(--miras-mobile-safe-bottom) + 16px)!important;
  }

  /* Tum ilan listelerinde mobilde iki kart yan yana. */
  .property-grid,
  .property-grid.list-grid,
  .member-favorites.property-grid,
  .similar-properties .property-grid,
  .home-featured-section .property-grid,
  .home-latest-section .property-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
    width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
    padding:0!important;
    overflow:visible!important;
    scroll-snap-type:none!important;
    touch-action:pan-y!important;
  }

  .property-grid .property-card,
  .home-featured-section .property-card,
  .home-latest-section .property-card{
    display:flex!important;
    flex-direction:column!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    margin:0!important;
    border-radius:14px!important;
    overflow:hidden!important;
    scroll-snap-align:none!important;
    box-shadow:0 7px 20px rgba(9,21,37,.08)!important;
    transform:none!important;
  }

  .property-grid .property-card::after,
  .home-featured-section .property-card::after,
  .home-latest-section .property-card::after{
    display:none!important;
  }

  .property-grid .property-image,
  .home-featured-section .property-image,
  .home-latest-section .property-image{
    width:100%!important;
    height:clamp(112px,30vw,170px)!important;
    min-height:0!important;
    margin:0!important;
    border-radius:0!important;
  }

  .property-grid .property-image::after,
  .home-featured-section .property-image::after,
  .home-latest-section .property-image::after{
    background:linear-gradient(180deg,rgba(9,21,37,.01) 45%,rgba(9,21,37,.28) 100%)!important;
  }

  .property-grid .property-badges,
  .home-featured-section .property-badges,
  .home-latest-section .property-badges{
    left:6px!important;
    right:38px!important;
    top:6px!important;
    gap:3px!important;
    flex-direction:column!important;
    align-items:flex-start!important;
  }

  .property-grid .listing-badge,
  .property-grid .promotion-badge,
  .property-grid .featured-badge,
  .home-featured-section .listing-badge,
  .home-featured-section .promotion-badge,
  .home-featured-section .featured-badge,
  .home-latest-section .listing-badge,
  .home-latest-section .promotion-badge,
  .home-latest-section .featured-badge{
    position:static!important;
    min-height:0!important;
    max-width:100%!important;
    padding:4px 6px!important;
    border-radius:5px!important;
    font-size:7px!important;
    line-height:1.05!important;
    letter-spacing:0!important;
    white-space:nowrap!important;
    box-shadow:0 3px 10px rgba(9,21,37,.13)!important;
  }

  .property-grid .favorite-btn,
  .home-featured-section .favorite-btn,
  .home-latest-section .favorite-btn{
    width:28px!important;
    height:28px!important;
    right:6px!important;
    top:6px!important;
    border-radius:50%!important;
    font-size:12px!important;
  }

  .property-grid .property-body,
  .home-featured-section .property-body,
  .home-latest-section .property-body{
    display:flex!important;
    flex:1!important;
    flex-direction:column!important;
    min-width:0!important;
    padding:9px 8px 10px!important;
  }

  .property-grid .location,
  .home-featured-section .location,
  .home-latest-section .location{
    display:block!important;
    min-width:0!important;
    overflow:hidden!important;
    color:var(--theme-muted,#66727d)!important;
    font-size:8px!important;
    font-weight:650!important;
    line-height:1.25!important;
    letter-spacing:0!important;
    text-overflow:ellipsis!important;
    text-transform:none!important;
    white-space:nowrap!important;
  }

  .property-grid .location i{
    margin-right:3px!important;
  }

  .property-grid .property-body h3,
  .home-featured-section .property-body h3,
  .home-latest-section .property-body h3{
    display:-webkit-box!important;
    min-height:30px!important;
    max-height:30px!important;
    margin:5px 0 7px!important;
    overflow:hidden!important;
    font-size:11px!important;
    line-height:1.34!important;
    letter-spacing:-.015em!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;
  }

  .property-grid .property-body h3 a{
    overflow-wrap:anywhere;
  }

  .property-grid .property-specs,
  .home-featured-section .property-specs,
  .home-latest-section .property-specs{
    display:grid!important;
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    margin-top:auto!important;
    overflow:hidden!important;
    border:0!important;
    border-top:1px solid var(--theme-border,#d4d9d7)!important;
    border-radius:0!important;
    background:transparent!important;
  }

  .property-grid .property-specs span,
  .home-featured-section .property-specs span,
  .home-latest-section .property-specs span{
    min-width:0!important;
    min-height:0!important;
    padding:6px 1px 4px!important;
    overflow:hidden!important;
    border-right:1px solid var(--theme-border,#d4d9d7)!important;
    color:var(--theme-muted,#66727d)!important;
    font-size:6.6px!important;
    line-height:1.12!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }

  .property-grid .property-specs span:last-child{
    border-right:0!important;
  }

  .property-grid .property-specs b,
  .home-featured-section .property-specs b,
  .home-latest-section .property-specs b{
    display:block!important;
    margin:0 0 2px!important;
    overflow:hidden!important;
    color:var(--theme-heading,#06101f)!important;
    font-size:8px!important;
    line-height:1.1!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }

  .property-grid .price-row,
  .home-featured-section .price-row,
  .home-latest-section .price-row{
    gap:4px!important;
    margin-top:5px!important;
    padding-top:6px!important;
    border-top:1px solid var(--theme-border,#d4d9d7)!important;
  }

  .property-grid .price-row strong,
  .home-featured-section .price-row strong,
  .home-latest-section .price-row strong{
    display:block!important;
    min-width:0!important;
    max-width:calc(100% - 56px)!important;
    overflow:hidden!important;
    font-size:12px!important;
    line-height:1.15!important;
    letter-spacing:-.02em!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }

  .property-grid .card-actions,
  .home-featured-section .card-actions,
  .home-latest-section .card-actions{
    flex:0 0 auto!important;
    gap:3px!important;
  }

  .property-grid .card-actions button,
  .property-grid .card-actions a,
  .home-featured-section .card-actions button,
  .home-featured-section .card-actions a,
  .home-latest-section .card-actions button,
  .home-latest-section .card-actions a{
    width:25px!important;
    height:25px!important;
    min-width:25px!important;
    border-radius:7px!important;
    font-size:10px!important;
  }

  .section-title,
  .page-heading{
    min-width:0;
  }
}

@media (max-width:390px){
  .mobile-app-bottom-bar{
    left:4px!important;
    right:4px!important;
  }

  .mobile-app-bottom-inner{
    padding-left:3px!important;
    padding-right:3px!important;
  }

  .property-grid,
  .property-grid.list-grid,
  .member-favorites.property-grid,
  .similar-properties .property-grid,
  .home-featured-section .property-grid,
  .home-latest-section .property-grid{
    gap:7px!important;
  }

  .property-grid .property-image,
  .home-featured-section .property-image,
  .home-latest-section .property-image{
    height:clamp(104px,30vw,128px)!important;
  }

  .property-grid .property-body,
  .home-featured-section .property-body,
  .home-latest-section .property-body{
    padding:8px 6px 9px!important;
  }

  .property-grid .property-body h3,
  .home-featured-section .property-body h3,
  .home-latest-section .property-body h3{
    font-size:10.5px!important;
  }

  .property-grid .price-row strong,
  .home-featured-section .price-row strong,
  .home-latest-section .price-row strong{
    font-size:11px!important;
  }
}

@media (min-width:901px){
  .mobile-app-bottom-bar{display:none!important}
}


/* v3.11.55 - Eski mobil yatay vitrin ve tek sutun kurallarini kesin olarak ez. */
@media (max-width:900px){
  html.miras-mobile-app-v31081 body .property-grid,
  html.miras-mobile-app-v31081 body .property-grid.list-grid,
  html.miras-mobile-app-v31081 body .property-grid.member-favorites,
  html.miras-mobile-app-v31081 body .similar-properties .property-grid,
  html.miras-mobile-app-v31081 body .home-featured-section .property-grid,
  html.miras-mobile-app-v31081 body .home-latest-section .property-grid,
  body[data-frontend-view="home"] .property-grid,
  body[data-frontend-view="listings"] .property-grid,
  body[data-frontend-view="favorites"] .property-grid,
  body[data-frontend-view="detail"] .similar-properties .property-grid{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-auto-flow:row!important;
    grid-auto-columns:auto!important;
    align-items:stretch!important;
    gap:10px!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    padding:0!important;
    overflow:visible!important;
    overflow-x:visible!important;
    overflow-y:visible!important;
    scroll-snap-type:none!important;
    scroll-padding:0!important;
    scrollbar-width:auto!important;
    touch-action:pan-y!important;
  }

  html.miras-mobile-app-v31081 body .property-grid>.property-card,
  html.miras-mobile-app-v31081 body .home-featured-section .property-grid>.property-card,
  html.miras-mobile-app-v31081 body .home-latest-section .property-grid>.property-card,
  html.miras-mobile-app-v31081 body .similar-properties .property-grid>.property-card{
    box-sizing:border-box!important;
    display:flex!important;
    flex:initial!important;
    flex-basis:auto!important;
    flex-grow:0!important;
    flex-shrink:1!important;
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    height:100%!important;
    margin:0!important;
    scroll-snap-align:none!important;
    border-radius:14px!important;
    overflow:hidden!important;
    transform:none!important;
  }

  html.miras-mobile-app-v31081 body .property-grid>.property-card .property-image,
  html.miras-mobile-app-v31081 body .home-featured-section .property-grid>.property-card .property-image,
  html.miras-mobile-app-v31081 body .home-latest-section .property-grid>.property-card .property-image,
  html.miras-mobile-app-v31081 body .similar-properties .property-grid>.property-card .property-image{
    box-sizing:border-box!important;
    display:block!important;
    width:100%!important;
    height:clamp(108px,30vw,168px)!important;
    min-height:0!important;
    margin:0!important;
    border-radius:0!important;
  }

  html.miras-mobile-app-v31081 body .property-grid>.property-card .property-image img{
    display:block!important;
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
  }

  html.miras-mobile-app-v31081 body .property-grid>.property-card .property-body,
  html.miras-mobile-app-v31081 body .home-featured-section .property-grid>.property-card .property-body,
  html.miras-mobile-app-v31081 body .home-latest-section .property-grid>.property-card .property-body{
    box-sizing:border-box!important;
    display:flex!important;
    flex:1 1 auto!important;
    flex-direction:column!important;
    min-width:0!important;
    width:100%!important;
    padding:9px 8px 10px!important;
  }

  html.miras-mobile-app-v31081 body .property-grid>.property-card .property-body h3,
  html.miras-mobile-app-v31081 body .home-featured-section .property-grid>.property-card .property-body h3,
  html.miras-mobile-app-v31081 body .home-latest-section .property-grid>.property-card .property-body h3{
    display:-webkit-box!important;
    min-height:30px!important;
    max-height:30px!important;
    margin:5px 0 7px!important;
    overflow:hidden!important;
    font-size:10.5px!important;
    line-height:1.36!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:2!important;
  }

  html.miras-mobile-app-v31081 body .property-grid>.property-card .location{
    display:block!important;
    overflow:hidden!important;
    font-size:7.8px!important;
    line-height:1.25!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }

  html.miras-mobile-app-v31081 body .property-grid>.property-card .property-specs{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    margin-top:auto!important;
  }

  html.miras-mobile-app-v31081 body .property-grid>.property-card .property-specs span:nth-child(3){
    display:none!important;
  }

  html.miras-mobile-app-v31081 body .property-grid>.property-card .property-specs span{
    box-sizing:border-box!important;
    min-width:0!important;
    padding:6px 2px 4px!important;
    font-size:6.6px!important;
  }

  html.miras-mobile-app-v31081 body .property-grid>.property-card .property-specs b{
    font-size:8px!important;
  }

  html.miras-mobile-app-v31081 body .property-grid>.property-card .price-row{
    gap:3px!important;
    margin-top:5px!important;
    padding-top:6px!important;
  }

  html.miras-mobile-app-v31081 body .property-grid>.property-card .price-row strong{
    max-width:calc(100% - 55px)!important;
    font-size:11.5px!important;
  }
}

@media (max-width:390px){
  html.miras-mobile-app-v31081 body .property-grid,
  html.miras-mobile-app-v31081 body .property-grid.list-grid,
  html.miras-mobile-app-v31081 body .property-grid.member-favorites,
  html.miras-mobile-app-v31081 body .similar-properties .property-grid,
  html.miras-mobile-app-v31081 body .home-featured-section .property-grid,
  html.miras-mobile-app-v31081 body .home-latest-section .property-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
  }

  html.miras-mobile-app-v31081 body .property-grid>.property-card .property-image{
    height:clamp(100px,29vw,124px)!important;
  }

  html.miras-mobile-app-v31081 body .property-grid>.property-card .property-body{
    padding:8px 6px 9px!important;
  }

  html.miras-mobile-app-v31081 body .property-grid>.property-card .price-row strong{
    font-size:10.8px!important;
  }
}
