/* ===========================
   FLOATING WHATSAPP BUTTON
   =========================== */

.whatsapp-float {
    position: fixed;
    bottom: 88px;
    right: 24px;
    z-index: 9999;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
    color: #fff;
}

.whatsapp-float:active {
    transform: scale(0.98);
}

.whatsapp-float__icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-float__icon svg {
    display: block;
}

/* Mobile: raised for visibility, safe area, comfortable tap target */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: calc(72px + env(safe-area-inset-bottom, 0px));
        right: max(16px, env(safe-area-inset-right, 16px));
        width: 54px;
        height: 54px;
        box-shadow: 0 4px 16px rgba(37, 211, 102, 0.5);
    }

    .whatsapp-float__icon svg {
        width: 28px;
        height: 28px;
    }
}
