/* Leaflet haritası — tema renkleri (v2) */
.oz-map-wrap { position: relative; border-radius: var(--r-xl, 28px); box-shadow: var(--shadow-lg); background: var(--cream-3); isolation: isolate; }
.oz-map { position: relative; width: 100%; min-height: 380px; border-radius: var(--r-xl, 28px); overflow: hidden; background: var(--cream-3); z-index: 0; font-family: inherit; border: 1px solid var(--peach); }
/* Sakin, krem-şeftali ton: gri ağırlıklı + sıcak renk + düşük kontrast */
.oz-map .leaflet-tile-pane { filter: grayscale(.45) sepia(.5) saturate(1.25) hue-rotate(-14deg) brightness(1.07) contrast(.84); }
.oz-map::after { content: ""; position: absolute; inset: 0; z-index: 450; pointer-events: none; border-radius: inherit;
  background: radial-gradient(120% 90% at 50% 45%, transparent 55%, oklch(0.86 0.06 50 / .38) 100%), linear-gradient(180deg, oklch(0.96 0.03 65 / .22), transparent 35%);
  box-shadow: inset 0 0 0 6px oklch(0.985 0.012 75 / .55); }
.oz-map-fallback { position: absolute; inset: 0; display: grid; place-items: center; color: var(--terracotta-deep); font-weight: 700; text-decoration: none; }

/* İğne: damla düşüşü + nabız halkası */
.oz-pin { background: none; border: 0; overflow: visible; }
.oz-pin .oz-pin-svg { position: relative; z-index: 2; display: block; filter: drop-shadow(0 8px 8px oklch(0.45 0.1 40 / .4)); transform-origin: 50% 100%; animation: ozdrop .8s cubic-bezier(.3,1.5,.5,1) both; }
.oz-pin .oz-pulse { position: absolute; left: 50%; bottom: -2px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--terracotta); opacity: 0; z-index: 1; animation: ozpulse 2.6s ease-out 1s infinite; }
.oz-pin .oz-pulse-2 { animation-delay: 1.9s; }
@keyframes ozdrop { 0% { transform: translateY(-46px) scale(.8); opacity: 0; } 70% { opacity: 1; } 100% { transform: none; opacity: 1; } }
@keyframes ozpulse { 0% { transform: scale(.4); opacity: .55; } 100% { transform: scale(5.5); opacity: 0; } }
.oz-area { stroke: var(--terracotta); stroke-width: 1.5; stroke-dasharray: 2 7; stroke-linecap: round; fill: var(--terracotta-soft); fill-opacity: .2; }

/* Kontroller */
.oz-map .leaflet-top.leaflet-right { margin: 14px 14px 0 0; }
.oz-map .leaflet-bar { border: 0; border-radius: 999px; overflow: hidden; box-shadow: 0 10px 22px -10px oklch(0.45 0.1 40 / .5); background: var(--cream); }
.oz-map .leaflet-bar a { background: var(--cream); color: var(--terracotta-deep); border-bottom: 1px solid var(--cream-3); width: 40px; height: 40px; line-height: 40px; font: 700 20px/40px var(--font-head, inherit); transition: background .2s; }
.oz-map .leaflet-bar a:last-child { border-bottom: 0; }
.oz-map .leaflet-bar a:hover { background: var(--peach-soft); color: var(--terracotta-deep); }
.oz-map .leaflet-control-attribution { background: oklch(0.985 0.012 75 / .9); color: var(--ink-faint); font-size: 10.5px; border-radius: 12px 0 0 0; padding: 2px 8px; }
.oz-map .leaflet-control-attribution a { color: var(--terracotta-deep); }

/* Popup */
.oz-popup .leaflet-popup-content-wrapper { background: var(--cream); color: var(--ink); border-radius: 18px; box-shadow: 0 16px 32px -14px oklch(0.45 0.1 40 / .5); border: 1px solid var(--peach); }
.oz-popup .leaflet-popup-tip { background: var(--cream); }
.oz-popup .leaflet-popup-content { margin: 14px 18px; line-height: 1.5; font-size: .92rem; }
.oz-popup .leaflet-popup-content strong { display: block; font-family: var(--font-head); font-size: 1rem; color: var(--ink); }
.oz-popup .leaflet-popup-content span { display: block; color: var(--ink-soft); margin: 2px 0 8px; }
.oz-popup .leaflet-popup-content a { color: var(--terracotta-deep); font-weight: 700; text-decoration: none; }

/* Harita üstü bilgi kartı */
.oz-map-card { position: absolute; left: 24px; top: 24px; z-index: 600; width: min(310px, calc(100% - 48px)); background: oklch(0.99 0.008 75 / .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid var(--peach); border-radius: 22px; padding: 20px 20px 18px; box-shadow: 0 22px 40px -22px oklch(0.45 0.1 40 / .55); }
.oz-map-card .mc-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--terracotta-deep); font-weight: 700; }
.oz-map-card .mc-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sage-deep); box-shadow: 0 0 0 4px oklch(0.92 0.03 150); }
.oz-map-card h3 { font-family: var(--font-head); font-size: 1.12rem; line-height: 1.3; margin: 8px 0 12px; color: var(--ink); }
.oz-map-card ul { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-direction: column; gap: 9px; font-size: .88rem; color: var(--ink-soft); }
.oz-map-card li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.45; }
.oz-map-card li svg { flex-shrink: 0; width: 18px; height: 18px; margin-top: 1px; fill: none; stroke: var(--terracotta-deep); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.oz-map-card .mc-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.oz-map-card .mc-actions .btn { padding: 10px 16px; font-size: .85rem; }
.oz-map-card.compact { padding: 14px 16px; width: min(250px, calc(100% - 48px)); }
.oz-map-card.compact h3 { font-size: 1rem; margin: 6px 0 8px; }
.oz-map-card.compact ul { margin-bottom: 10px; }

@media (max-width: 899px) {
  .oz-map { min-height: 300px; }
  .oz-map-card { position: relative; left: auto; top: auto; width: auto; margin: -34px 14px 0; z-index: 600; }
  .oz-map-card.compact { width: auto; }
}
@media (prefers-reduced-motion: reduce) { .oz-pin .oz-pin-svg, .oz-pin .oz-pulse { animation: none; } }
