.contact-map-marker,
.lhag-map-label--faifo {
  --map-label-accent: #8b0304;
}

.contact-map-marker[aria-label="Allegro Hoi An"],
.contact-map-marker[aria-label="Little Riverside"],
.contact-map-marker[aria-label="Little Oasis"] {
  --map-label-accent: #a4813f;
}

.contact-map-marker[aria-label="Little Faifo"],
.lhag-map-label--faifo {
  --map-label-accent: #002c71;
}

.contact-map-marker .contact-map-marker-label,
.contact-map-marker:hover .contact-map-marker-label,
.contact-map-marker:focus-visible .contact-map-marker-label,
.lhag-map-label--faifo {
  min-height: 29px;
  padding: 0 10px;
  background: #fffdf8;
  color: #2b2723;
  border: 1px solid #d8cfc0;
  border-left: 2px solid var(--map-label-accent);
  box-shadow: 0 2px 7px rgba(43, 39, 35, .18);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.contact-map-marker:hover .contact-map-marker-label,
.contact-map-marker:focus-visible .contact-map-marker-label {
  border-color: var(--map-label-accent);
  background: #fffdf8;
}

.lhag-map-label--faifo {
  display: inline-flex;
  align-items: center;
  font-family: Arial, sans-serif;
}


.contact-map-marker::after,
.contact-map-marker:hover::after,
.contact-map-marker:focus-visible::after {
  width: 16px;
  height: 16px;
  background: var(--map-label-accent);
}

.faifo-map-pin {
  position: absolute;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 2px solid #fffdf8;
  border-radius: 50%;
  background: #002c71;
  transform: translate(-50%, -50%);
  cursor: pointer;
}

.faifo-map-pin::before {
  content: "";
  position: absolute;
  inset: -8px;
  border: 2px solid #002c71;
  border-radius: 50%;
  pointer-events: none;
  animation: faifo-map-pulse 1.8s ease-out infinite;
}

.faifo-map-pin .lhag-map-label--faifo {
  position: absolute;
  top: 50%;
  left: 22px;
  transform: translateY(-50%);
}

@keyframes faifo-map-pulse {
  from { opacity: .65; transform: scale(.6); }
  to { opacity: 0; transform: scale(1.25); }
}

@media (prefers-reduced-motion: reduce) {
  .faifo-map-pin::before { animation: none; }
}
