/* Haritada ara (harita.php) */
.hm-bar{background:var(--ink-900,#0A0D13);color:#fff;padding:22px 0 18px}
.hm-bar__in{display:flex;flex-wrap:wrap;align-items:flex-end;gap:16px 28px}
.hm-bar__t h1{font-family:var(--head);font-size:clamp(28px,4vw,40px);line-height:1;text-transform:uppercase;letter-spacing:.01em;margin:0}
.hm-bar__t p{margin:6px 0 0;color:#A5B0C9;font-size:14px}
.hm-form{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px;margin-left:auto}
.hm-form .field{min-width:130px;flex:1 1 130px}
.hm-form .field label{color:#A5B0C9;font-size:11px}
.hm-form .field input,.hm-form .field select{padding:11px 12px;font-size:14px;background:#141A26;border-color:#282F3E;color:#E6E9F0}
.hm-form .btn{min-height:46px}
.hm-filters{padding-top:16px}
.hm-filters .need-filter-wrap{margin-bottom:12px}

.hm-ask{background:#FFF4DE;border-bottom:1px solid #FFD58A}
.hm-ask__in{display:flex;align-items:center;gap:14px;padding:12px 0;flex-wrap:wrap}
.hm-ask__ic{width:42px;height:42px;border-radius:12px;background:#FFA504;color:#0A0D13;display:flex;align-items:center;justify-content:center;flex:none}
.hm-ask__in div{flex:1 1 260px;display:flex;flex-direction:column;gap:2px;font-size:14px;color:#3D2A00}
.hm-ask__in div span{font-size:12.5px;color:#7A5A1F}

.hm-main{position:relative;display:grid;grid-template-columns:400px 1fr;height:calc(100vh - 150px);min-height:560px;border-top:1px solid var(--line,#E4E9F2)}
.hm-map{order:2;height:100%;z-index:0;background:#F5F3EF}
.hm-list{order:1;overflow-y:auto;background:var(--paper,#fff);border-right:1px solid var(--line,#E4E9F2)}
.hm-list__head{position:sticky;top:0;z-index:2;padding:14px 18px;background:var(--paper,#fff);border-bottom:1px solid var(--line,#E4E9F2);display:flex;flex-direction:column;gap:2px}
.hm-list__head b{font-size:15.5px}
.hm-list__head span{font-size:12.5px;color:var(--muted,#657391)}
.hm-items{list-style:none;margin:0;padding:6px 0}
.hm-item{display:grid;grid-template-columns:48px 1fr auto;gap:12px;align-items:center;padding:12px 18px;border-bottom:1px solid var(--line,#EEF1F6);cursor:pointer}
.hm-item:hover,.hm-item.is-on{background:#FFF8EA}
.hm-item.is-off{opacity:.65}
.hm-item__logo{width:48px;height:48px;border-radius:12px;border:1px solid var(--line,#E4E9F2);background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden}
.hm-item__logo img{width:100%;height:100%;object-fit:contain}
.hm-item__logo span{font-family:var(--head);font-weight:700;color:#111725}
.hm-item__txt{display:flex;flex-direction:column;gap:2px;min-width:0}
.hm-item__txt b{font-size:14.5px;line-height:1.25}
.hm-item__txt b em{font-style:normal;font-size:11px;color:#0E9F6E;font-weight:700}
.hm-item__txt>span{font-size:12.5px;color:var(--muted,#657391);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hm-item__meta{display:flex;flex-wrap:wrap;gap:4px 10px}
.hm-item__meta i{font-style:normal;font-size:12px;font-weight:600;color:var(--slate,#46536E)}
.hm-item__meta i:first-child{color:#B26A00}
.hm-item__end{display:flex;flex-direction:column;align-items:flex-end;gap:3px;text-align:right}
.hm-item__end strong{font-size:16px;line-height:1}
.hm-item__end small{font-size:11px;color:var(--muted,#657391)}
.hm-item__go{font-size:12.5px;font-weight:800;color:#0A0D13;background:#FFA504;border-radius:9px;padding:7px 10px;margin-top:4px;white-space:nowrap}
.hm-item__dir{font-size:11.5px;font-weight:700;color:var(--slate,#46536E)}

.hm-me{position:absolute;z-index:5;right:12px;bottom:34px;width:42px;height:42px;border-radius:12px;border:0;background:rgba(255,255,255,.96);color:#0A84FF;box-shadow:0 2px 10px rgba(0,0,0,.16);display:flex;align-items:center;justify-content:center;cursor:pointer;backdrop-filter:blur(10px)}
.hm-here{position:absolute;z-index:5;left:calc(400px + (100% - 400px) / 2);transform:translateX(-50%);top:14px;border:0;border-radius:999px;background:rgba(255,255,255,.96);color:#0A84FF;font:inherit;font-weight:700;font-size:13.5px;padding:10px 18px;box-shadow:0 4px 18px rgba(0,0,0,.18);cursor:pointer;backdrop-filter:blur(10px)}
.hm-here[hidden],.hm-ask[hidden]{display:none}

/* MapLibre — Apple Haritalar tarzı kontroller */
.hm-map .maplibregl-ctrl-group{border-radius:12px;box-shadow:0 2px 10px rgba(0,0,0,.16);overflow:hidden;background:rgba(255,255,255,.96)}
.hm-map .maplibregl-ctrl-group button{width:42px;height:42px}
.hm-map .maplibregl-ctrl-top-right{top:4px;right:2px}
.hm-map .maplibregl-ctrl-attrib{font-size:10px}
.fp-geo__map .maplibregl-ctrl-group{border-radius:10px;box-shadow:0 2px 8px rgba(0,0,0,.14)}

/* Fiyat iğneleri */
.hm-pin{position:relative;display:block;border:0;background:none;padding:0 0 9px;cursor:pointer;font:inherit}
.hm-pin__b{display:flex;align-items:center;gap:6px;padding:4px 10px 4px 4px;border-radius:999px;background:#fff;color:#1C1C1E;box-shadow:0 2px 8px rgba(0,0,0,.22),0 0 0 .5px rgba(0,0,0,.08);white-space:nowrap;transition:transform .15s,background .15s,color .15s}
.hm-pin::after{content:"";position:absolute;left:50%;bottom:2px;width:10px;height:10px;margin-left:-5px;background:#fff;transform:rotate(45deg);border-radius:2px;box-shadow:2px 2px 3px rgba(0,0,0,.1);transition:background .15s}
.hm-pin__ic{width:22px;height:22px;border-radius:50%;background:#FF9F0A;color:#fff;display:flex;align-items:center;justify-content:center;font:800 11.5px/1 -apple-system,BlinkMacSystemFont,"SF Pro Text",system-ui,sans-serif}
.hm-pin__t{font:700 13.5px/1 -apple-system,BlinkMacSystemFont,"SF Pro Text",system-ui,sans-serif;letter-spacing:-.01em}
.hm-pin.is-off .hm-pin__ic{background:#8E8E93}
.hm-pin.is-off .hm-pin__t{color:#636366;font-weight:600;font-size:12.5px}
.hm-pin:hover .hm-pin__b,.hm-pin.is-hot .hm-pin__b{transform:scale(1.06)}
.hm-pin.is-sel{z-index:3}
.hm-pin.is-sel .hm-pin__b{background:#1C1C1E;color:#fff;transform:scale(1.08)}
.hm-pin.is-sel .hm-pin__t{color:#fff}
.hm-pin.is-sel::after{background:#1C1C1E}

/* Kullanıcı konumu (mavi nokta) */
.hm-dot{position:relative;width:22px;height:22px}
.hm-dot b{position:absolute;inset:0;border-radius:50%;background:#0A84FF;border:3px solid #fff;box-shadow:0 1px 5px rgba(0,0,0,.3)}
.hm-dot i{position:absolute;left:50%;top:50%;width:22px;height:22px;margin:-11px 0 0 -11px;border-radius:50%;background:rgba(10,132,255,.28);animation:hmPulse 2.2s ease-out infinite}
@keyframes hmPulse{0%{transform:scale(1);opacity:.9}100%{transform:scale(3.4);opacity:0}}

/* Balon */
.hm-popup .maplibregl-popup-content{border-radius:14px;padding:12px 14px;box-shadow:0 8px 28px rgba(0,0,0,.2)}
.hm-popup .maplibregl-popup-tip{display:none}
.hm-pop{display:flex;flex-direction:column;gap:3px;min-width:190px;font:13px/1.35 -apple-system,BlinkMacSystemFont,"SF Pro Text",system-ui,sans-serif;color:#1C1C1E}
.hm-pop b{font-size:15px}
.hm-pop span{color:#636366}
.hm-pop__row{display:flex;align-items:center;gap:10px;margin-top:8px}
.hm-pop__go{flex:1;text-align:center;font-weight:800;background:#FFA504;color:#0A0D13!important;border-radius:10px;padding:8px 10px;text-decoration:none}
.hm-pop__dir{font-weight:700;color:#0A84FF!important;text-decoration:none;white-space:nowrap}

@media (max-width:900px){
  .hm-main{grid-template-columns:1fr;height:auto}
  .hm-map{order:1;height:58vh;min-height:360px}
  .hm-list{order:2;border-right:0;overflow:visible}
  .hm-here{left:50%}
  .hm-me{bottom:auto;top:calc(58vh - 70px)}
  .hm-form{margin-left:0;width:100%}
  .hm-form .field{flex-basis:calc(50% - 5px)}
  .hm-form .btn{flex:1 0 100%}
}

/* Uygulama içi görünüm (embed=app): başlık, alt bilgi ve yüzen düğmeler gizli */
body.kk-embed .site-header,body.kk-embed .site-footer,body.kk-embed .skip-link,body.kk-embed .cookie-banner,
body.kk-embed .kk-contact,body.kk-embed #kkBot,body.kk-embed [data-chat-widget],body.kk-embed .wa-float,body.kk-embed .kk-chatbot,body.kk-embed #kkcc,body.kk-embed .kkcc,body.kk-embed .kkcc-m{display:none!important}
body.kk-embed .hm-bar{padding:12px 0}
body.kk-embed .hm-main{height:calc(100vh - 120px)}

html[data-theme="dark"] .hm-list,html[data-theme="dark"] .hm-list__head{background:#0E121A;border-color:#282F3E}
html[data-theme="dark"] .hm-item{border-color:#1C2230}
html[data-theme="dark"] .hm-item:hover,html[data-theme="dark"] .hm-item.is-on{background:#1A1F2B}
html[data-theme="dark"] .hm-me,html[data-theme="dark"] .hm-here,html[data-theme="dark"] .hm-map .maplibregl-ctrl-group{background:rgba(44,44,46,.96);color:#0A84FF}
html[data-theme="dark"] .hm-map .maplibregl-ctrl-icon{filter:invert(1)}
html[data-theme="dark"] .hm-map{background:#1E1F22}
html[data-theme="dark"] .hm-pin__b,html[data-theme="dark"] .hm-pin::after{background:#2C2C2E;color:#F2F2F7}
html[data-theme="dark"] .hm-pin.is-sel .hm-pin__b,html[data-theme="dark"] .hm-pin.is-sel::after{background:#FFA504;color:#0A0D13}
html[data-theme="dark"] .hm-pin.is-sel .hm-pin__t{color:#0A0D13}
html[data-theme="dark"] .hm-popup .maplibregl-popup-content{background:#2C2C2E}
html[data-theme="dark"] .hm-pop{color:#F2F2F7}
html[data-theme="dark"] .hm-pop span{color:#AEAEB2}
html[data-theme="dark"] .hm-ask{background:#2A2213;border-color:#5C4310}
html[data-theme="dark"] .hm-ask__in div{color:#FFD58A}
html[data-theme="dark"] .hm-ask__in div span{color:#D8B77A}
