
.sinfully-wa {
    --sinfully-wa-bottom: 24px;
    --sinfully-wa-side: 24px;
    position: fixed;
    bottom: calc(var(--sinfully-wa-bottom) + env(safe-area-inset-bottom));
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-family: inherit;
}

.sinfully-wa--right {
    right: var(--sinfully-wa-side);
    align-items: flex-end;
}

.sinfully-wa--left {
    left: var(--sinfully-wa-side);
    align-items: flex-start;
}

.sinfully-wa__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 58px;
    padding: 12px 18px;
    border-radius: 999px;
    background: #25d366;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    box-shadow: 0 10px 30px rgba(0,0,0,.22);
    transition: transform .2s ease, box-shadow .2s ease;
}

.sinfully-wa__button:hover,
.sinfully-wa__button:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(0,0,0,.28);
    color: #fff !important;
    outline: none;
}

.sinfully-wa__button:focus-visible {
    box-shadow: 0 0 0 4px rgba(37,211,102,.28), 0 14px 34px rgba(0,0,0,.28);
}

.sinfully-wa__icon {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
}

.sinfully-wa__tooltip {
    position: relative;
    max-width: 270px;
    padding: 12px 38px 12px 14px;
    border-radius: 14px;
    background: #fff;
    color: #18202a;
    box-shadow: 0 8px 26px rgba(0,0,0,.17);
    font-size: 14px;
    line-height: 1.4;
}

.sinfully-wa__tooltip::after {
    content: "";
    position: absolute;
    bottom: -7px;
    width: 14px;
    height: 14px;
    background: #fff;
    transform: rotate(45deg);
}

.sinfully-wa--right .sinfully-wa__tooltip::after {
    right: 24px;
}

.sinfully-wa--left .sinfully-wa__tooltip::after {
    left: 24px;
}

.sinfully-wa__close {
    position: absolute;
    top: 4px;
    right: 7px;
    border: 0;
    background: transparent;
    color: #5a6470;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.sinfully-wa__tooltip.is-hidden {
    display: none;
}

@media (max-width: 767px) {
    .sinfully-wa__label {
        display: none;
    }

    .sinfully-wa__button {
        width: 58px;
        height: 58px;
        min-height: 58px;
        padding: 0;
    }

    .sinfully-wa__tooltip {
        max-width: min(260px, calc(100vw - 40px));
    }

    .sinfully-wa--hide-mobile {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .sinfully-wa--hide-desktop {
        display: none !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sinfully-wa__button {
        transition: none;
    }
}
