/* Contenedor y SVG. */
.px-mapa-lotes {
  position: relative;
}
.px-mapa-lotes svg {
  width: 100%;
  height: auto;
  display: block;
}
.px-mapa-lotes .px-lote--interactive {
  cursor: pointer;
}
/* Los textos del propio SVG heredan la tipografía y el espaciado del sitio. */
.px-mapa-lotes svg text,
.px-mapa-lotes svg tspan {
  font-family: inherit;
  letter-spacing: inherit;
}
.px-mapa-lotes .px-lote--active {
  stroke: #333;
  stroke-width: 2px;
  paint-order: stroke;
}

/* Popup estilo Leaflet (autónomo, no depende de leaflet.css). */
.px-lote-popup.leaflet-popup {
  position: absolute;
  z-index: 1000;
  text-align: center;
  transform: translate(-50%, calc(-100% - 14px));
  pointer-events: auto;
}
.px-lote-popup .leaflet-popup-content-wrapper {
  background: #fff;
  color: #333;
  border-radius: 12px;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.4);
  padding: 1px;
}
.px-lote-popup .leaflet-popup-content {
  margin: 14px 20px;
  line-height: 1.35;
  min-width: 60px;
  white-space: nowrap;
}
/* La tipografía y el espaciado los define el sitio, no el módulo. */
.px-lote-popup,
.px-lote-popup .leaflet-popup-content,
.px-lote-popup__title,
.px-lote-popup__m2,
.px-lote-popup__title--link,
.px-lote-popup .leaflet-popup-close-button {
  font-family: inherit;
  letter-spacing: inherit;
}
.px-lote-popup__title {
  font-weight: 700;
  font-size: 15px;
}
.px-lote-popup__m2 {
  margin-top: 2px;
  color: #0B94D6;
  font-weight: 600;
}
.px-lote-popup__title--ocupado {
  color: #5B5B5F;
  font-weight: 700;
}
.px-lote-popup__m2--ocupado {
  color: #5B5B5F;
}
.px-lote-popup__title--link {
  display: block;
  color: #0B94D6;
  text-decoration: none;
}
.px-lote-popup__title--link:hover {
  text-decoration: underline;
}
.px-lote-popup__imglink {
  display: block;
  margin-bottom: 6px;
}
.px-lote-popup__imglink img {
  display: block;
  max-width: 220px;
  width: 100%;
  height: auto;
  border-radius: 6px;
}
.px-lote-popup .leaflet-popup-tip-container {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 40px;
  height: 20px;
  margin-left: -20px;
  overflow: hidden;
  pointer-events: none;
}
.px-lote-popup .leaflet-popup-tip {
  width: 17px;
  height: 17px;
  margin: -10px auto 0;
  background: #fff;
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.4);
  transform: rotate(45deg);
}
.px-lote-popup .leaflet-popup-close-button {
  position: absolute;
  top: 0;
  right: 0;
  width: 24px;
  height: 24px;
  font-size: 16px;
  line-height: 24px;
  color: #757575;
  text-align: center;
  text-decoration: none;
  background: transparent;
}
.px-lote-popup .leaflet-popup-close-button:hover {
  color: #333;
}
