/* Foxgate Boat & RV Storage — lazy map facade styles. */

.foxgate-map {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 320px;
  background-color: #e8eae6;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}

.foxgate-map__cta {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 100%;
  margin: 0;
  border: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.26));
  color: #fff;
  font: 600 15px/1.2 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  cursor: pointer;
  transition: background 0.2s ease;
}

.foxgate-map__cta:hover,
.foxgate-map__cta:focus-visible {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0.36));
  outline: none;
}

.foxgate-map__pin {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #c0392b;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.foxgate-map__pin::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 14px;
  height: 14px;
  background: #fff;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.foxgate-map__cta-label {
  background: rgba(0, 0, 0, 0.55);
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: 0.01em;
}

.foxgate-map__iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.foxgate-map[data-loaded="true"] {
  cursor: default;
}
