.lot-map-section {
  background: linear-gradient(180deg, #f8fafb 0%, #eef4f7 100%);
}

.lot-map-heading {
  max-width: 720px;
  margin: 0 auto 1.25rem;
  text-align: center;
}

.lot-map-heading h2 {
  margin: 0.5rem 0 0.75rem;
  color: var(--navy);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.lot-map-legend {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.lot-map-legend span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
}

.lot-map-legend-bottom {
  margin-bottom: 0;
}

.lot-map-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: min(1200px, 100%);
  margin: 0 auto 1rem;
}

.lot-map-help {
  margin: 0;
  color: #4c5968;
  font-weight: 600;
}

.lot-map-zoom-controls {
  display: flex;
  gap: 0.65rem;
}

.lot-map-control-button {
  min-width: 56px;
  border: 1px solid rgba(11, 36, 71, 0.18);
  background: #fff;
  color: var(--navy);
  border-radius: 999px;
  padding: 0.7rem 1rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(11, 36, 71, 0.08);
}

.lot-map-control-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.status-swatch {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  display: inline-block;
}

.status-available {
  background: rgba(31, 157, 85, 0.7);
}

.status-rental {
  background: rgba(230, 126, 34, 0.78);
}

.status-both {
  background: rgba(31, 157, 85, 0.78);
  box-shadow: inset 0 0 0 2px rgba(230, 126, 34, 0.95);
}

.lot-map-viewer {
  position: relative;
  width: min(1200px, 100%);
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(11, 36, 71, 0.14);
}

.lot-map-stage {
  position: relative;
  overflow: hidden;
  cursor: grab;
  background: #edf3f6;
  touch-action: none;
}

.lot-map-stage.is-panning {
  cursor: grabbing;
}

.lot-map-transform-layer {
  position: relative;
  transform-origin: center center;
  will-change: transform;
}

.lot-map-viewer img {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
}

.lot-map-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.lot-map-polygon {
  stroke: rgba(255, 255, 255, 0.92);
  stroke-width: 0.10;
}

.lot-map-polygon.status-available {
  fill: rgba(31, 157, 85, 0.42);
}

.lot-map-polygon.status-rental {
  fill: rgba(230, 126, 34, 0.48);
}

.lot-map-polygon.status-both {
  fill: rgba(31, 157, 85, 0.42);
  stroke: rgba(230, 126, 34, 0.95);
  stroke-width: 0.16;
}

@media (max-width: 800px) {
  .lot-map-controls {
    flex-direction: column;
    align-items: stretch;
  }

  .lot-map-zoom-controls {
    justify-content: center;
  }
}
