.hoverable-pin::after {
    content: attr(data-cp);
    position: absolute;
    left: 43px;
    /* Posición por defecto (izquierda) */
    top: 9px;
    border: 1px solid var(--gris-oscuro, #4A4C4E);
    font-size: 14px;
    background: #FFF;
    color: #4A4C4E;
    padding: 0 8px;
    border-radius: 25px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 99;
}

.hoverable-pin.active::after {
    opacity: 1;
}

.left-oriented::after {
    left: -63px;
}

@media (min-width: 768px) {
    .hoverable-pin::after {
        left: 43px;
    }
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: translateY(0);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }
    40% {
        transform: translateY(-25%);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

.animate-custom {
    animation: bounce 2.5s infinite;
}

