@keyframes pulse-square {
    0% {
        box-shadow: 0 0 0 10px rgba(0, 106, 255, 0.1);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(0, 106, 255, 0.5);
    }
    100% {
        box-shadow: 0 0 0 10px rgba(0, 106, 255, 0.1);
    }
}

/* Square button */
.square-float {
    position: fixed;
    bottom: 15vh; /* queda encima del de WhatsApp */
    left: 20px;
    z-index: 1000;
    width: 7vh;
    height: 7vh;
    border-radius: 50%;
    background: #006aff; /* azul Square */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 10px rgba(0, 106, 255, 0.5);
    transition: all 0.3s;
    animation: pulse-square 2s infinite;
    overflow: visible; /* importante para que el tooltip se vea */
}

.square-float:hover {
    background: #0050c7;
    transform: scale(1.1);
}

.square-icon {
    color: white;
    font-size: 3vh;
}

/* el ícono */
.square-icon {
    color: white;
    font-size: 24px;
}

/* tooltip */
.square-float::after {
    content: "You can pay in advance with Square.";
    position: absolute;
    left: 60px; /* se muestra a la derecha del botón */
    white-space: nowrap;
    background: #006aff;
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 14px;
    opacity: 0;
    transform: translateY(-50%);
    top: 50%;
    pointer-events: none;
    transition: opacity 0.3s, left 0.3s;
}

/* mostrar tooltip en hover */
.square-float:hover::after {
    opacity: 1;
    left: 70px; /* pequeño desplazamiento */
}
