.zulficarjoy-dot-map-wrap {
    position: relative;
    width: 100%;
    height: clamp(260px, 36vw, 480px);
    margin: 0 auto;
    overflow: hidden;
    border-radius: 16px;
    background: #ffffff;
}

#map {
    width: 100%;
    height: 100%;
    display: block;
}

.cta-map-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease;
}

.zulficarjoy-dot-map-wrap.is-ready .cta-map-overlay {
    opacity: 1;
    visibility: visible;
}

.cta-map-marker {
    position: absolute;
    transform: translate(-50%, -50%);
    pointer-events: auto;
    z-index: 5;
}

.cta-map-marker:hover,
.cta-map-marker:focus-within {
    z-index: 15;
}

.cta-map-dot {
    width: 26px;
    height: 26px;
    border: 0;
    border-radius: 9999px;
    background: rgba(152, 1, 171, 0.28);
    display: grid;
    place-items: center;
    cursor: pointer;
    padding: 0;
    position: relative;
    animation: ctaMapRipple 2s ease-out infinite;
}

.cta-map-overlay .cta-map-marker:nth-child(1) .cta-map-dot {
    animation-duration: 2.4s;
    animation-delay: -0.3s;
}

.cta-map-overlay .cta-map-marker:nth-child(2) .cta-map-dot {
    animation-duration: 1.9s;
    animation-delay: -1.1s;
}

.cta-map-overlay .cta-map-marker:nth-child(3) .cta-map-dot {
    animation-duration: 2.7s;
    animation-delay: -1.8s;
}

.cta-map-dot::before {
    content: "";
    width: 18px;
    height: 18px;
    border-radius: 9999px;
    background: #f1ebef;
}

.cta-map-dot::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 9999px;
    background: #9801ab;
    box-shadow: 0 0 0 2px #ffffff inset;
}

.cta-map-card {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 10px);
    transform: translate(-50%, 12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 20;
    white-space: nowrap;
    width: max-content;
    line-height: 1.1;
}

.cta-map-card::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -7px;
    width: 14px;
    height: 14px;
    background: #ffffff;
    transform: translateX(-50%) rotate(45deg);
    border-radius: 2px;
    z-index: -1;
}

.cta-map-marker:hover .cta-map-card,
.cta-map-marker:focus-within .cta-map-card {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

@keyframes ctaMapRipple {
    0% {
        box-shadow: 0 0 0 0 rgba(152, 1, 171, 0.35);
    }

    70% {
        box-shadow: 0 0 0 14px rgba(152, 1, 171, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(152, 1, 171, 0);
    }
}

@media (max-width: 767px) {
    .cta-map-overlay .cta-map-marker:nth-child(1) {
        top: 24% !important;
        left: 31% !important;
    }

    .cta-map-overlay .cta-map-marker:nth-child(2) {
        top: 53% !important;
        left: 52% !important;
    }

    .cta-map-overlay .cta-map-marker:nth-child(3) {
        top: 46.5% !important;
        left: 62% !important;
    }

    .cta-map-dot {
        width: 22px;
        height: 22px;
    }

    .cta-map-dot::before {
        width: 15px;
        height: 15px;
    }

    .cta-map-dot::after {
        width: 8px;
        height: 8px;
    }
}