/* Map pin markers (public) */
.vp-pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 10px;
  border-radius: 999px;
  font: 700 11px/1.1 "Instrument Sans", system-ui, sans-serif;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
  border: 2px solid #fff;
  cursor: pointer;
}
.vp-pin--sale { background: #1a2332; }
.vp-pin--rent { background: #1d7a57; }
.vp-pin--both { background: linear-gradient(90deg, #1a2332 50%, #1d7a57 50%); }
.vp-pin--neutral { background: #5c6674; }

.vp-pin-tip {
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.vp-pin-tip::before { display: none !important; }
.leaflet-tooltip.vp-pin-tip {
  background: transparent;
  border: 0;
  box-shadow: none;
}

.vp-pin-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: min(240px, 70vw);
  padding: 8px;
  border-radius: 14px;
  background: #fffcf7;
  border: 1px solid rgba(26, 35, 50, 0.12);
  box-shadow: 0 14px 28px rgba(18, 24, 34, 0.18);
  color: #1a2332;
  text-decoration: none;
  font: 500 12px/1.25 "Instrument Sans", system-ui, sans-serif;
}
.vp-pin-card:hover { border-color: rgba(26, 35, 50, 0.28); }
.vp-pin-card__img {
  width: 64px;
  height: 52px;
  object-fit: cover;
  border-radius: 10px;
  background: #d9e2ea;
  display: block;
}
.vp-pin-card__img--ph { background: #d9e2ea; }
.vp-pin-card__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.vp-pin-card__body strong {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vp-pin-card__body em {
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #5c6674;
}
.vp-pin-card__body span {
  color: #5c6674;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vp-str-pin {
  width: 72px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
  border: 2px solid #fff;
  font: 700 10px/1.2 "Instrument Sans", system-ui, sans-serif;
  color: #1a2332;
  text-align: center;
}
.vp-str-pin img,
.vp-str-pin__ph {
  display: block;
  width: 100%;
  height: 48px;
  object-fit: cover;
  background: #d9e2ea;
}
.vp-str-pin em {
  display: block;
  font-style: normal;
  padding: 4px 4px 6px;
}

.re-map-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 0 0 12px;
}
.re-map-toolbar label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(26, 35, 50, 0.12);
  background: #fff;
  cursor: pointer;
}
.re-map-toolbar input { accent-color: #1a2332; }
.inventory-map {
  height: min(420px, 55vh);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(26, 35, 50, 0.1);
  margin-bottom: 18px;
  z-index: 1;
}
.map-note { color: #5c6674; font-size: 13px; margin: -8px 0 18px; }

.listing-pin-map {
  height: 260px;
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line, rgba(26, 35, 50, 0.12));
  z-index: 1;
}
.listing-pin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}
