.abc-property-map-wrap {
  margin: 0;
  padding: 0;
  position: relative;
}

.abc-property-map-legend {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 500;
  transform: translateX(-50%);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
  max-width: calc(100% - 28px);
  padding: 10px 14px;
  margin: 0;
  font-size: 13px;
  color: #314156;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(24, 33, 46, 0.16);
  backdrop-filter: blur(8px);
}

.abc-property-map-legend__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.abc-property-map-legend__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.55);
}

.abc-property-map-legend__dot--school {
  background: #246bce;
}

.abc-property-map-legend__dot--supermarket {
  background: #2c8c3a;
}

.abc-property-map-legend__dot--mini_market {
  background: #d97a16;
}

.abc-property-map {
  width: 100%;
  height: var(--abc-property-map-height, 420px);
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: #f5f5f5;
  margin: 0;
}

.abc-property-map .leaflet-tile-pane {
  filter: grayscale(1) contrast(1.05) brightness(1.02);
}

.abc-property-map .leaflet-control-attribution {
  font-size: 10px;
}

.abc-property-map .leaflet-tooltip {
  border: 0;
  border-radius: 12px;
  padding: 8px 10px;
  box-shadow: 0 10px 24px rgba(24, 33, 46, 0.14);
  color: #18212e;
  font-size: 12px;
  line-height: 1.45;
}

.abc-property-map .leaflet-tooltip strong {
  display: block;
  font-size: 13px;
}

.abc-property-map .leaflet-popup-content-wrapper {
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
}

.abc-property-map .leaflet-popup-content {
  margin: 0;
  width: 220px !important;
  line-height: 1.4;
}

.abc-map-popup {
  padding: 0;
  margin: 0;
  background: #fff;
}

.abc-property-map .abc-map-popup__image {
	display: block;
	width: 100% !important;
	height: 150px !important;
	max-height: 150px !important;
	aspect-ratio: 11 / 7;
	object-fit: cover;
	object-position: center;
}


.abc-map-popup__body {
  padding: 12px 14px;
}

.abc-map-popup__title {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 8px;
  color: #111;
}

.abc-map-popup__meta {
  font-size: 13px;
  color: #333;
  margin: 0;
}

.abc-map-popup__meta div {
  margin: 0 0 4px;
}

.abc-map-popup__meta div:last-child {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .abc-property-map-legend {
    bottom: 12px;
    gap: 8px 12px;
    padding: 8px 12px;
    font-size: 12px;
    border-radius: 18px;
  }
}
