/* Floating WhatsApp button (injected by /js/whatsapp-float.js) */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0,0,0,.18);
    z-index: 9998;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    cursor: pointer;
    border: none;
}
.whatsapp-float:hover {
    background: #1ebe5d;
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,.22);
}
.whatsapp-float::before {
    content: attr(data-tooltip);
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    background: rgba(20,20,30,.85);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease;
}
.whatsapp-float:hover::before {
    opacity: 1;
}
/* Pulse animation to draw attention */
.whatsapp-float::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, .55);
    animation: wa-pulse 2.2s infinite;
}
@keyframes wa-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); }
    70%  { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
/* Mobile sizing */
@media (max-width: 767px) {
    .whatsapp-float {
        bottom: 20px;
        right: 16px;
        width: 50px;
        height: 50px;
        font-size: 26px;
    }
    .whatsapp-float::before { display: none; } /* no hover tooltip on touch */
}
/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
    .whatsapp-float::after { animation: none; }
}
