.street-properties-section {
  margin-bottom: 0.5rem;
}

.street-properties-section--with-map {
  display: grid;
  gap: 1.25rem;
  align-items: start;
}

@media (min-width: 1024px) {
  .street-properties-section--with-map {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  }

  .street-map-panel {
    position: sticky;
    top: 1rem;
    align-self: start;
  }
}

.street-map-panel,
.street-properties-panel {
  min-width: 0;
}

.street-map-canvas {
  width: 100%;
  height: 22rem;
}

@media (min-width: 1024px) {
  .street-map-canvas {
    height: 34rem;
  }
}

.street-map-status {
  margin: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  font-size: 0.85rem;
}

.street-map-marker.maplibregl-marker {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  line-height: 1;
  position: absolute;
  z-index: 2;
}

.street-map-marker.maplibregl-marker:hover,
.street-map-marker.maplibregl-marker.is-active {
  z-index: 8;
}

.street-map-marker__dot {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #b58245;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(34, 50, 41, 0.35);
  will-change: transform, box-shadow;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

@keyframes street-marker-pop {
  0% {
    transform: scale(2);
    box-shadow: 0 2px 8px rgba(34, 50, 41, 0.35);
  }
  30% {
    transform: scale(3);
    box-shadow: 0 8px 18px rgba(45, 74, 62, 0.45);
  }
  56% {
    transform: scale(2);
    box-shadow: 0 3px 9px rgba(34, 50, 41, 0.35);
  }
  78% {
    transform: scale(2.4);
    box-shadow: 0 6px 14px rgba(45, 74, 62, 0.4);
  }
  100% {
    transform: scale(2.2);
    box-shadow: 0 5px 12px rgba(45, 74, 62, 0.38);
  }
}

.street-map-marker:hover .street-map-marker__dot,
.street-map-marker.is-active .street-map-marker__dot {
  animation: street-marker-pop 420ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
  filter: brightness(0.75) saturate(1.3);
}

.street-property-row {
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.street-property-row--active {
  background: #f6f3eb;
  border-color: #dfd5c4;
}

.street-map-popup .maplibregl-popup-content strong {
  display: block;
  margin-bottom: 2px;
}

.street-spiderfy-marker {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  line-height: 1;
}

.street-spiderfy-marker__dot {
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #b58245;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(34, 50, 41, 0.3);
  transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.street-spiderfy-marker:hover .street-spiderfy-marker__dot,
.street-spiderfy-marker.is-active .street-spiderfy-marker__dot {
  transform: scale(1.32);
  filter: brightness(0.8) saturate(1.25);
  box-shadow: 0 6px 14px rgba(45, 74, 62, 0.4);
}
