/* ==========================================
   Floating WhatsApp button (renders only when
   a WhatsApp number is configured in settings)
   ========================================== */

.whatsapp-float {
    position: fixed;
    right: 18px;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px));
    z-index: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #25D366;
    color: #ffffff;
    font-size: 30px;
    line-height: 1;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}

.whatsapp-float:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
}

@media (max-width: 640px) {
    .whatsapp-float {
        right: 14px;
        width: 50px;
        height: 50px;
        font-size: 28px;
    }
}

@media print {
    .whatsapp-float {
        display: none;
    }
}
