/* WhatsApp floating chat widget */
.whatsapp-widget {
    position: fixed;
    right: 31px;
    bottom: 85px;
    z-index: 1000;
}

.whatsapp-widget__button {
    width: 60px;
    height: 60px;
    border: 0;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    font-size: 28px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-widget__button:hover {
    background: #1ebe5b;
}

.whatsapp-widget__box {
    position: absolute;
    right: 0;
    bottom: 74px;
    width: 280px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
}

.whatsapp-widget__box.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.whatsapp-widget__header {
    background: #075E54;
    color: #fff;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: "Work Sans", sans-serif;
    font-weight: 700;
}

.whatsapp-widget__close {
    background: transparent;
    border: 0;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}

.whatsapp-widget__body {
    padding: 16px;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

.whatsapp-widget__body p {
    margin: 0;
}

.whatsapp-widget__open {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 16px 16px;
    padding: 10px;
    background: #25D366;
    color: #fff !important;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.whatsapp-widget__open:hover {
    background: #1ebe5b;
}

.whatsapp-widget__open i {
    font-size: 18px;
}

@media (max-width: 575px) {
    .whatsapp-widget {
        right: 16px;
        bottom: 75px;
    }
    .whatsapp-widget__box {
        width: 240px;
    }
}
