/* ============================================================
   Custom_WhatsApp – Floating WhatsApp Button
   ============================================================ */

/* Base: position is controlled by modifier classes */
.whatsapp-float {
    position: fixed;
    z-index: 9999;
}

/* Position modifiers */
.whatsapp-float--bottom-right {
    bottom: 28px;
    right:  28px;
}

.whatsapp-float--bottom-left {
    bottom: 28px;
    left:   28px;
}

.whatsapp-float--top-right {
    top:   28px;
    right: 28px;
}

.whatsapp-float--top-left {
    top:  28px;
    left: 28px;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background-color: #25d366;
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.whatsapp-float a:hover,
.whatsapp-float a:focus {
    background-color: #1ebe5d;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.60);
    transform: scale(1.1);
    outline: none;
}

.whatsapp-float a:focus-visible {
    outline: 3px solid #1ebe5d;
    outline-offset: 3px;
}

.whatsapp-float svg {
    display: block;
    flex-shrink: 0;
}

/* Tablet / mobile adjustments */
@media (max-width: 767px) {
    .whatsapp-float--bottom-right { bottom: 16px; right:  16px; }
    .whatsapp-float--bottom-left  { bottom: 16px; left:   16px; }
    .whatsapp-float--top-right    { top:    16px; right:  16px; }
    .whatsapp-float--top-left     { top:    16px; left:   16px; }

    .whatsapp-float a {
        width: 50px;
        height: 50px;
    }
}
