/* TrendLis — Restoran haritası (/harita). */

.map-page { display: flex; flex-direction: column; }
.map-canvas { height: 58vh; min-height: 320px; background: var(--surface); z-index: 0; }
.map-side { order: 2; padding: 16px 18px 24px; }

@media (min-width: 960px) {
  .map-page { flex-direction: row; height: calc(100vh - 64px); }
  .map-side { order: 0; width: 380px; flex-shrink: 0; overflow-y: auto; border-right: 1px solid var(--border); padding: 20px; }
  .map-canvas { flex: 1; height: auto; }
}

.map-title { font-size: 22px; font-weight: 800; line-height: 1.2; color: var(--ink); margin: 4px 0 14px; }
.map-title em { font-style: italic; color: var(--muted); }
.map-filters { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.map-filters select { border: 1px solid var(--border-3); border-radius: var(--r-md); padding: 10px 12px; font-size: 13px; background: #fff; color: var(--ink); min-width: 0; }
.map-side__bar { display: flex; align-items: center; justify-content: space-between; margin: 14px 0 8px; font-size: 12px; }
.map-side__bar .btn { display: inline-flex; align-items: center; gap: 6px; }
.map-side__guide { display: block; margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--indigo-600); }

.map-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.map-item { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--r-md); background: #fff; transition: border-color .15s, box-shadow .15s; }
.map-item:hover, .map-item.is-active { border-color: var(--ink); box-shadow: var(--shadow-sm); }
.map-item__name { font-weight: 600; font-size: 14px; color: var(--ink); }
.map-item__meta { grid-column: 1; font-size: 12px; color: var(--text-soft); display: flex; gap: 6px; flex-wrap: wrap; }
.map-item__meta span { color: #b45309; font-weight: 600; }
.map-item__dist { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 11px; color: var(--muted); }

/* İşaretçi ve popup */
.map-pin { width: 30px; height: 30px; border-radius: 50% 50% 50% 0; background: var(--ink); transform: rotate(-45deg); border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.3); display: grid; place-items: center; }
.map-pin span { transform: rotate(45deg); color: #fff; font-size: 10px; font-weight: 700; font-family: var(--font-mono, monospace); }
.map-pin.is-active { background: var(--indigo-600); }
.map-me { width: 16px; height: 16px; border-radius: 50%; background: #2563eb; border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(37,99,235,.25); }
.map-pop { width: 200px; font-family: var(--font-ui); }
.map-pop img { width: 100%; height: 96px; object-fit: cover; border-radius: 8px; display: block; margin-bottom: 8px; }
.map-pop__name { font-weight: 600; font-size: 14px; color: var(--ink); }
.map-pop__meta { font-size: 12px; color: var(--text-soft); margin: 2px 0 8px; }
.map-pop a.btn { display: block; text-align: center; color: #fff; }
.leaflet-popup-content { margin: 12px; }
