/* Full-page map styles - no border radius, edge to edge */
.sm-map-sticky {
  position: absolute;
  z-index: 99;
  height: 100vh;
  width: 100%;
  top: 0;
  left: 0;
}

#sm-map {
  width: 100%;
  height: 100%;
  border-radius: 0; /* Remove border radius for full-page feel */
  overflow: hidden;
  background: #f5f5f5;
}

/* Anchor used for scroll-to */
.sm-prop-anchor {
  display: block;
  height: 0;
  width: 0;
}

/* Highlight the listing card after clicking a pin */
.sm-map-selected {
  outline: 3px solid #5f5a3c;
  outline-offset: 4px;
  border-radius: 8px;
}

/* Info window bubble */
.sm-map-infowindow {
  font-family: inherit;
  max-width: 260px;
}

.sm-map-infowindow__img {
  width: 100%;
  height: auto;        /* let image decide height */
  max-height: 220px;   /* optional safety cap */
  object-fit: contain; /* show full image */
  border-radius: 10px;
  display: block;
  margin-bottom: 10px;
  background: #f5f5f5; /* avoids white gaps for portrait images */
}

.sm-map-infowindow__addr {
  font-size: 14px;
  line-height: 1.35;
  margin: 0 0 10px 0;
}

.sm-map-infowindow__btn {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #c6a85a;
  color: #ffffff;
}

.sm-map-infowindow__btn:hover {
  opacity: 0.9;
}