.whatsapp-widget{
    position:fixed;
    right:25px;
    bottom:25px;
    z-index:9999;
}

.wa-message{
    position:absolute;
    bottom:80px;
    right:0;

    width:320px;
    background:#fff;
    border-radius:15px;
    overflow:hidden;

    box-shadow:0 10px 35px rgba(0,0,0,.20);

    opacity:0;
    visibility:hidden;
    transform:translateY(15px);

    transition:all .3s ease;
}

/* Mostrar al pasar el mouse */
.whatsapp-widget:hover .wa-message{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}

.wa-header{
    background:#25D366;
    color:#fff;
    padding:15px;
    font-size:18px;
    font-weight:600;
}

.wa-body{
    padding:20px;
    color:#555;
    line-height:1.6;
}

.wa-btn {
    display: block;
    margin: 0 20px 20px;
    padding: 12px;
    text-align: center;
    background: #25D366;
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
}

.wa-btn:hover {
    color: #fff;
    background: #20bd5a;
    text-decoration: none;
}

.wa-floating{
    width:65px;
    height:65px;

    background:#25D366;
    border-radius:50%;

    display:flex;
    justify-content:center;
    align-items:center;

    color:#fff;
    font-size:36px;

    box-shadow:0 5px 20px rgba(0,0,0,.25);

    animation:pulse 2s infinite;
}

.wa-floating:hover {
    color: #fff;
    background: #20bd5a;
    text-decoration: none;
}


@keyframes pulse{
    0%{transform:scale(1);}
    50%{transform:scale(1.08);}
    100%{transform:scale(1);}
}

@media(max-width:768px){

    .wa-message{
        width:280px;
        opacity:1;
        visibility:visible;
        transform:none;
        display:none;
    }

    .whatsapp-widget:active .wa-message{
        display:block;
    }

}