.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 99999;

    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

/* Nube */
.whatsapp-message {
    position: relative;

    background: #ffffff;
    color: #222222;

    padding: 10px 16px;
    border-radius: 18px;

    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;

    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.18);

    white-space: nowrap;

    opacity: 1;
    visibility: visible;

    transition: opacity 0.4s ease,
                visibility 0.4s ease;
}

/* Pico de la nube */
.whatsapp-message::after {
    content: "";

    position: absolute;
    right: 20px;
    bottom: -7px;

    width: 14px;
    height: 14px;

    background: #ffffff;

    transform: rotate(45deg);
}

/* Cuando desaparece */
.whatsapp-message.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Botón WhatsApp */
.whatsapp-button {
    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #25D366;
    border-radius: 50%;

    text-decoration: none;

    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);

    transition: transform 0.2s ease,
                box-shadow 0.2s ease;
}

/* Icono */
.whatsapp-button svg {
    width: 34px;
    height: 34px;
    fill: #ffffff;
}

/* Hover */
.whatsapp-button:hover {
    transform: scale(1.08);

    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.30);
}

/* Responsive */
@media (max-width: 600px) {

    .whatsapp-float {
        right: 12px;
        bottom: 12px;
        gap: 8px;
    }

    .whatsapp-message {
        font-size: 12px;
        padding: 8px 12px;
        border-radius: 15px;
    }

    .whatsapp-button {
        width: 54px;
        height: 54px;
    }

    .whatsapp-button svg {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 360px) {

    .whatsapp-float {
        right: 8px;
        bottom: 8px;
    }

    .whatsapp-message {
        font-size: 11px;
        padding: 7px 10px;
    }

    .whatsapp-button {
        width: 50px;
        height: 50px;
    }

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