.map-section-map {
  position: relative;
}
.bb-map-unavailable {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: #f1f1ef;
  color: #4a5568;
  font-size: 14px;
  text-align: center;
}
.bb-map-home {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333333;
}
.bb-map-popup .maplibregl-popup-content {
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
}
.bb-map-popup .maplibregl-popup-close-button {
  z-index: 2;
  width: 26px;
  height: 26px;
  margin: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  font-size: 18px;
  line-height: 24px;
}
.bb-map-card {
  display: block;
  width: min(260px, calc(100vw - 96px));
  color: #1d2433;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.35;
}
.bb-map-card:hover,
.bb-map-card:focus {
  color: #1d2433;
  text-decoration: none;
}
.bb-map-card__img {
  display: block;
  width: 100%;
  height: 140px;
  object-fit: cover;
  background: #e9edf0;
}
.bb-map-card__body {
  padding: 9px 12px 11px;
}
.bb-map-card__price {
  font-weight: 700;
  color: var(--bb-pin-bg, #2f7f8a);
  margin-bottom: 2px;
}
.bb-map-card__title {
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bb-map-card__meta,
.bb-map-card__facts {
  margin-top: 3px;
  color: #5a6472;
  font-size: 12px;
}
.bb-map-list {
  width: min(270px, calc(100vw - 96px));
  max-height: 300px;
  overflow: auto;
  font-size: 13px;
  line-height: 1.35;
}
.bb-map-list__head {
  padding: 9px 36px 9px 12px;
  font-weight: 600;
  border-bottom: 1px solid #eceef1;
}
.bb-map-list__row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  border-bottom: 1px solid #f1f2f4;
  color: #1d2433;
  text-decoration: none;
}
.bb-map-list__row:hover,
.bb-map-list__row:focus {
  background: #f6f8f9;
  color: #1d2433;
  text-decoration: none;
}
.bb-map-list__price {
  font-weight: 700;
  white-space: nowrap;
  color: var(--bb-pin-bg, #2f7f8a);
}
#homey-halfmap .maplibregl-ctrl-attrib {
  font-size: 11px;
}
.bb-map-settings__grid {
  display: grid;
  grid-template-columns: minmax(320px, 520px) minmax(320px, 1fr);
  gap: 32px;
  align-items: start;
}
.bb-map-settings__preview {
  position: sticky;
  top: 48px;
}
.bb-map-settings__map {
  position: relative;
  height: 560px;
  border: 1px solid #dcdcde;
  border-radius: 6px;
  overflow: hidden;
  background: #f1f1ef;
}
.bb-map-settings__status {
  min-height: 1.5em;
  font-weight: 600;
}
@media (max-width: 960px) {
  .bb-map-settings__grid {
    grid-template-columns: 1fr;
  }
  .bb-map-settings__preview {
    position: static;
  }
}

.bb-content-map {
  width: 100%;
  position: relative;
  overflow: hidden;
}
