/*========================================
WHATSAPP FLOATING BUTTON + HOVER TOOLTIP
========================================*/

.whatsapp-wrapper{

    position:fixed;

    bottom:28px;

    right:28px;

    z-index:9999;

    display:flex;

    align-items:center;

    gap:12px;

}

.whatsapp-tooltip{

    background:#1E293B;

    color:#ffffff;

    padding:11px 18px;

    border-radius:10px;

    font-family:'Inter',sans-serif;

    font-size:14px;

    font-weight:600;

    white-space:nowrap;

    box-shadow:0 8px 20px rgba(0,0,0,.18);

    opacity:0;

    transform:translateX(10px);

    pointer-events:none;

    transition:.25s ease;

    position:relative;

}

/* Small triangle pointing from the tooltip toward the button */

.whatsapp-tooltip::after{

    content:"";

    position:absolute;

    top:50%;

    right:-6px;

    transform:translateY(-50%);

    width:0;

    height:0;

    border-top:6px solid transparent;

    border-bottom:6px solid transparent;

    border-left:6px solid #1E293B;

}

.whatsapp-wrapper:hover .whatsapp-tooltip,
.whatsapp-tooltip.auto-show{

    opacity:1;

    transform:translateX(0);

}

.whatsapp-float{

    position:relative;

    flex-shrink:0;

    width:60px;

    height:60px;

    background:#25D366;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    box-shadow:0 8px 24px rgba(0,0,0,.25);

    text-decoration:none;

    animation:whatsapp-pulse 2.2s infinite;

}

.whatsapp-float:hover{

    transform:scale(1.08);

    transition:.25s;

}

.whatsapp-float svg{

    width:32px;

    height:32px;

    fill:#ffffff;

}

/* Pulsing halo ring behind the button */

.whatsapp-float::before{

    content:"";

    position:absolute;

    top:0;

    left:0;

    width:100%;

    height:100%;

    border-radius:50%;

    background:#25D366;

    z-index:-1;

    animation:whatsapp-ring 2.2s infinite;

}

@keyframes whatsapp-pulse{

    0%{

        transform:scale(1);

    }

    50%{

        transform:scale(1.06);

    }

    100%{

        transform:scale(1);

    }

}

@keyframes whatsapp-ring{

    0%{

        transform:scale(1);

        opacity:.55;

    }

    100%{

        transform:scale(1.9);

        opacity:0;

    }

}

/* Slightly smaller / repositioned on mobile so it doesn't overlap content.
   Tooltip is hidden on touch devices since hover doesn't apply there —
   the auto-preview animation (see whatsapp-button.js) handles mobile instead. */

@media (max-width:650px){

.whatsapp-wrapper{

    bottom:20px;

    right:20px;

}

.whatsapp-float{

    width:54px;

    height:54px;

}

.whatsapp-float svg{

    width:28px;

    height:28px;

}

.whatsapp-tooltip{

    font-size:13px;

    padding:9px 14px;

    max-width:160px;

    white-space:normal;

    line-height:1.4;

}

}