﻿.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 45px; /* distancia desde abajo */
    right: 20px; /* distancia desde la derecha */
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 32px;
    box-shadow: 2px 2px 5px rgba(0,0,0,.3);
    z-index: 1000;
    transition: transform 0.3s ease; /* Transición suave */
    transform: scale(1); /* Estado base */
}

    .whatsapp-float:hover {
        transform: scale(1.1); /* Crece 10% al hacer hover */
    }

.whatsapp-icon {
    line-height: 60px;
}

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 45px;
    right: 20px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 32px;
    box-shadow: 2px 2px 5px rgba(0,0,0,.3);
    z-index: 1000;
    transition: transform 0.3s ease;
    transform: scale(1);
    overflow: visible; /* IMPORTANTE */
}

    /* Cuadro de texto */
    .whatsapp-float::before {
        content: "Contáctanos por WhatsApp";
        position: absolute;
        right: 70px; /* se muestra a la izquierda */
        top: 50%;
        transform: translateY(-50%);
        background-color: #25d366;
        color: #fff;
        padding: 8px 12px;
        border-radius: 8px;
        font-size: 14px;
        white-space: nowrap;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    /* Hover */
    .whatsapp-float:hover {
        transform: scale(1.1);
    }

        .whatsapp-float:hover::before {
            opacity: 1;
            transform: translate(-5px, -50%);
        }

.whatsapp-icon {
    line-height: 60px;
}
