.box-whatsapp-widget {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 9998;
    font-family: inherit;
}

.box-whatsapp-widget__toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 54px;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    background: #10aebe;
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.18);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

.box-whatsapp-widget__toggle:hover {
    background: #079cab;
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
}

.box-whatsapp-widget__toggle svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.box-whatsapp-widget__panel {
    position: absolute;
    right: 0;
    bottom: calc(100% + 14px);
    width: min(340px, calc(100vw - 32px));
    padding: 14px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 20px 55px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(0.98);
    transform-origin: bottom right;
    transition:
        opacity 0.2s ease,
        visibility 0.2s ease,
        transform 0.2s ease;
}

.box-whatsapp-widget.is-open .box-whatsapp-widget__panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.box-whatsapp-widget__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 5px 5px 14px;
}

.box-whatsapp-widget__header strong {
    display: block;
    color: #111;
    font-size: 15px;
    line-height: 1.4;
}

.box-whatsapp-widget__header span {
    display: block;
    margin-top: 3px;
    color: #707070;
    font-size: 11px;
}

.box-whatsapp-widget__close {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border: 0;
    border-radius: 50%;
    background: #f2f5f5;
    color: #333;
    font-size: 21px;
    line-height: 1;
    cursor: pointer;
}

.box-whatsapp-widget__contact {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 70px;
    margin-top: 8px;
    padding: 12px;
    border: 1px solid #edf0f0;
    border-radius: 14px;
    color: inherit;
    text-decoration: none;
    transition:
        border-color 0.2s ease,
        background-color 0.2s ease,
        transform 0.2s ease;
}

.box-whatsapp-widget__contact:hover {
    border-color: rgba(16, 174, 190, 0.35);
    background: #f4fcfd;
    transform: translateY(-1px);
}

.box-whatsapp-widget__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 12px;
    background: #e9f9fb;
    color: #10aebe;
}

.box-whatsapp-widget__icon svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.box-whatsapp-widget__content {
    min-width: 0;
    flex: 1;
}

.box-whatsapp-widget__content strong,
.box-whatsapp-widget__content small {
    display: block;
}

.box-whatsapp-widget__content strong {
    color: #111;
    font-size: 12px;
    line-height: 1.4;
    text-transform: uppercase;
}

.box-whatsapp-widget__content small {
    margin-top: 4px;
    color: #676767;
    font-size: 12px;
}

.box-whatsapp-widget__arrow {
    color: #10aebe;
    font-size: 18px;
}

@media (max-width: 767px) {
    .box-whatsapp-widget {
        right: 14px;
        bottom: 78px;
    }

    .box-whatsapp-widget__toggle {
        width: 54px;
        height: 54px;
        min-height: 54px;
        padding: 0;
        border-radius: 50%;
    }

    .box-whatsapp-widget__toggle span {
        display: none;
    }

    .box-whatsapp-widget__panel {
        position: fixed;
        right: 14px;
        bottom: 145px;
        width: calc(100vw - 28px);
        max-width: 360px;
    }
}
