/* WhatsApp Chat Button - Versión Superior Izquierda */
.whatsapp-chat-btn {
    position: fixed;
    top: 30px;
    left: 30px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

/* Tooltip ajustado para posición superior */
.whatsapp-tooltip {
    position: fixed;
    top: 100px; /* Posición debajo del botón */
    left: 30px;
    background: white;
    color: #333;
    padding: 10px 15px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 9998;
    display: none;
    max-width: 250px;
    font-size: 14px;
}

.whatsapp-tooltip:after {
    content: '';
    position: absolute;
    top: -10px; /* Flecha hacia arriba */
    left: 20px;
    border-width: 0 10px 10px;
    border-style: solid;
    border-color: transparent transparent white transparent;
}

/* Animación y efectos hover */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-chat-btn:hover {
    background: #128C7E;
    transform: scale(1.1);
}

/* Estilos para móvil */
@media (max-width: 768px) {
    .whatsapp-chat-btn {
        top: 15px;
        left: 15px;
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
    
    .whatsapp-tooltip {
        top: 75px;
        left: 15px;
        max-width: 200px;
    }
}

/* Evitar superposición con el menú */
@media (min-width: 992px) {
    .main-header.header-style-one .header-upper .logo-box {
        margin-left: 80px; /* Ajuste para no cubrir el logo */
    }
}