/* ===================================================================================== Estilos del botón de WhatsApp */
.whatsapp-button {
    position: fixed;
    bottom: -80px;
    right: 20px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    text-decoration: none;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease, bottom 0.5s ease, background-color 0.3s ease;
}

.whatsapp-button img {
    width: 35px;
    height: 35px;
}

.whatsapp-button:hover {
    background-color: #2fb962;
}

.whatsapp-button_animated:before {
    animation: _pulse 1.2s infinite;
    border-color: inherit;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(37, 211, 101, 0);
    content: "";
    height: 60px;
    position: absolute;
    width: 60px
}

@keyframes _pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 101, .75)
    }

    to {
        box-shadow: 0 0 0 15px rgba(37, 211, 101, 0)
    }
}

/* Estilos del tooltip */
.tooltip-wpp {
    position: fixed;
    bottom: 45px;
    right: 95px;
    background-color: #19CE67;
    color: #fff;
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 14px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.9s ease;
    white-space: nowrap;
    z-index: 1001;
    /* pointer-events: none; */
    display: flex;
    align-items: center;
}

.tooltip-wpp::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -15px;
    transform: translateY(-50%);
    border-width: 10px;
    border-style: solid;
    border-color: transparent transparent transparent #19CE67;
    /* filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.1)); */
}

/* Mostrar el tooltip-wpp */
.tooltip-wpp.show {
    opacity: 1;
}

/* Mostrar el botón con animación */
.whatsapp-button.show {
    opacity: 1;
    bottom: 40px;
}


/* Nuestros valores*/
@media (max-width: 768px) {
    .whatsapp-button.show {
        bottom: 20px;
    }
    .tooltip-wpp {
        bottom: 30px;
    }
}
