/* Estilo para el botón flotante */
.whatsapp-button {
    position: fixed;
    bottom: 120px; /* <-- antes 20px */
    right: 20px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.whatsapp-button img {
    width: 30px;
    height: 30px;
}

.whatsapp-button:hover {
    background-color: #1ebe5a;
    transform: scale(1.1);
}

/* Estilo para la ventana flotante */
.whatsapp-window {
    display: none;
    position: fixed;
    bottom: 180px; /* <-- antes 80px */
    right: 20px;
    width: 320px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 15px;
    font-family: Arial, sans-serif;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeOut {
    from { opacity: 1; transform: translateY(0); }
    to { opacity: 0; transform: translateY(10px); }
}

.whatsapp-header {
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
    color: #444;
}

.whatsapp-window a {
    display: block;
    text-decoration: none;
    color: black;
    padding: 10px;
    background: #25d366;
    color: white;
    text-align: center;
    border-radius: 5px;
    margin-top: 10px;
    transition: background 0.3s;
}

.whatsapp-window a:hover {
    background: #1ebe5a;
}

.close-button {
    text-align: right;
    font-size: 18px;
    cursor: pointer;
    color: #999;
}

.close-button:hover {
    color: #666;
}

.message-box {
    width: 100%;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 10px;
}
