.yetolock-hero-map {
position: relative;
display: inline-block;
max-width: 100%;
line-height: 0;
}
.yetolock-hero-map__media {
position: relative;
display: inline-block;
max-width: 100%;
line-height: 0;
}
.yetolock-hero-map__media img {
display: block;
width: 100%;
height: auto;
}
.yetolock-hero-map__hotspots {
position: absolute;
inset: 0;
pointer-events: none;
}
.yetolock-hero-hotspot {
position: absolute;
pointer-events: auto;
border: 0;
padding: 0;
margin: 0;
background: transparent;
cursor: pointer;
border-radius: 999px;
transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.yetolock-hero-hotspot::before {
content: "";
position: absolute;
top: 50%;
left: 50%;
width: 14px;
height: 14px;
border-radius: 50%;
background: rgba(219, 76, 76, 0.95);
border: 2px solid #fff;
box-shadow: 0 0 0 0 rgba(219, 76, 76, 0.45);
transform: translate(-50%, -50%);
animation: yetolock-pulse 2.4s ease-out infinite;
}
.yetolock-hero-hotspot::after {
content: attr(data-label);
position: absolute;
left: 50%;
bottom: calc(100% + 10px);
transform: translateX(-50%) translateY(6px);
padding: 8px 12px;
border-radius: 999px;
background: rgba(17, 17, 17, 0.92);
color: #fff;
font: 600 12px/1.2 "Candara", "Segoe UI", sans-serif;
white-space: nowrap;
opacity: 0;
visibility: hidden;
transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
pointer-events: none;
z-index: 2;
}
.yetolock-hero-hotspot:hover,
.yetolock-hero-hotspot:focus-visible {
background: rgba(219, 76, 76, 0.18);
box-shadow: 0 0 0 2px rgba(219, 76, 76, 0.65);
outline: none;
}
.yetolock-hero-hotspot:hover::before,
.yetolock-hero-hotspot:focus-visible::before {
animation: none;
transform: translate(-50%, -50%) scale(1.15);
}
.yetolock-hero-hotspot:hover::after,
.yetolock-hero-hotspot:focus-visible::after {
opacity: 1;
visibility: visible;
transform: translateX(-50%) translateY(0);
}
@keyframes yetolock-pulse {
0% {
box-shadow: 0 0 0 0 rgba(219, 76, 76, 0.45);
}
70% {
box-shadow: 0 0 0 12px rgba(219, 76, 76, 0);
}
100% {
box-shadow: 0 0 0 0 rgba(219, 76, 76, 0);
}
}
@media (max-width: 767px) {
.yetolock-hero-hotspot::before {
width: 10px;
height: 10px;
}
.yetolock-hero-hotspot::after {
font-size: 11px;
padding: 6px 10px;
}
}