/* Estilo general de los botones flotantes de WhatsApp */
.whatsapp-button {
    position: fixed;
    right: 20px;
    width: 60px;
    height: 60px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #25D366;
    border-radius: 50%;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
    text-decoration: none;
}

/* Ícono */
.whatsapp-button img {
    width: 35px;
    height: 35px;
}

/* Texto flotante oculto por defecto */
.whatsapp-text {
    position: absolute;
    right: 70px;
    background: #25D366;
    color: white;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    pointer-events: none;
}

/* Mostrar texto al pasar el mouse */
.whatsapp-button:hover .whatsapp-text {
    opacity: 1;
}

/* Botón 1: Las Condes */
.whatsapp-button.las-condes {
    bottom: 90px;
}

/* Botón 2: Peñalolén */
.whatsapp-button.penalolen {
    bottom: 20px;
}

/* Responsive: tamaño más pequeño en móviles */
@media (max-width: 768px) {
    .whatsapp-button {
        width: 50px;
        height: 50px;
    }

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

    .whatsapp-text {
        font-size: 12px;
        right: 60px;
    }

    .whatsapp-button.las-condes {
        bottom: 75px;
    }

    .whatsapp-button.penalolen {
        bottom: 15px;
    }
}
