* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

#map,
#simplyselect-map.simplyselect-map {
  width: 100%;
  height: 100%;
  min-height: 100vh;
}

.map-marker {
  width: 24px;
  height: 24px;
  background: #cf8d6c;
  border: 2px solid #fff;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.map-marker:hover {
  transform: scale(1.15);
  background: #b87a5a;
}

.map-popup-container .mapboxgl-popup-content {
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  min-width: 240px;
  max-width: 320px;
}

.map-popup {
  display: flex;
  flex-direction: column;
}

.map-popup__img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
  background: #e8ebe6;
}

.map-popup__body {
  padding: 12px 14px;
}

.map-popup__title {
  margin: 0 0 6px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #2c3e2c;
  line-height: 1.3;
}

.map-popup__meta {
  margin: 0;
  font-size: 0.85rem;
  color: #4a5d4a;
  line-height: 1.4;
}

.map-popup__actions {
  margin: 10px 0 0;
  padding: 0;
}

.map-popup__link {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #cf8d6c;
  text-decoration: none;
  margin-top: 4px;
}

.map-popup__link:hover {
  text-decoration: underline;
}

.map-popup-container .map-popup__link {
  color: #cf8d6c;
  cursor: pointer;
}

.mapboxgl-popup-close-button {
  font-size: 20px;
  padding: 4px 8px;
  color: #333;
}

.mapboxgl-ctrl-group button {
  width: 36px;
  height: 36px;
}
