/* ============================================================
   Estilos do Mapa de Pontos - Pins & Labels
   (Layout do wrapper fica em lojas.css)
   ============================================================ */

/* Pin — âncora de posição, sem dimensão */
.sl-pin {
    position: absolute;
    transform: translate(-50%, -50%);
    width: 1px;
    height: 1px;
    pointer-events: none;
    z-index: 10;
}

/* Core: ponto sólido central */
.sl-pin-core {
    position: absolute;
    top: -4px;
    left: -4px;
    width: 8px;
    height: 8px;
    background: #C8472A;
    border-radius: 50%;
    border: 2px solid #F5F0E8;
    /* sl.bg */
    box-shadow: 0 0 12px rgba(200, 71, 42, 0.3);
    pointer-events: auto;
    cursor: default;
    z-index: 2;
}

/* Rings pulsantes - Vermelho Marca */
.sl-pin-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 26px;
    height: 26px;
    border: 1.5px solid #C8472A;
    border-radius: 50%;
    opacity: 0;
    animation: sl-pulse 3s ease-out infinite;
}

.sl-pin-ring--1 {
    animation-delay: 0s;
}

.sl-pin-ring--2 {
    animation-delay: 1s;
}

.sl-pin-ring--3 {
    animation-delay: 2s;
}

@keyframes sl-pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.3);
        opacity: 0.85;
    }

    80% {
        transform: translate(-50%, -50%) scale(3.5);
        opacity: 0;
    }

    100% {
        transform: translate(-50%, -50%) scale(3.5);
        opacity: 0;
    }
}

/* Label da cidade no hover */
.sl-pin-label {
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: #1A1A1A;
    color: #F5F2ED;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
    padding: 5px 9px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    pointer-events: none;
    transition: all 250ms ease;
}

.sl-pin-core:hover~.sl-pin-label,
.sl-pin:hover .sl-pin-label {
    opacity: 1;
    transform: translateX(-50%) translateY(-2px);
}

/* Seta do label */
.sl-pin-label::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #1A1A1A;
}

/* Mobile */
@media (max-width: 768px) {
    .sl-pin-label {
        display: none;
    }

    .sl-pin-core {
        width: 10px;
        height: 10px;
        top: -5px;
        left: -5px;
    }
}