.sg-wa-wrapper {
    position: fixed;
    bottom: 90px;
    right: 20px;
    left: auto;
    z-index: 999999;
    font-family: Arial, sans-serif;

    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.sg-wa-box {
    width: 280px;
    background: #111;
    border-radius: 14px;
    overflow: hidden;

    box-shadow: 0 4px 12px rgba(0,0,0,0.18);

    transform: translateY(20px);
    opacity: 0;

    pointer-events: none;

    transition:
        transform .25s ease,
        opacity .25s ease;

    will-change: transform, opacity;
}

.sg-wa-wrapper.open .sg-wa-box {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.sg-wa-header {
    background: #25D366;
    color: #fff;

    padding: 10px;

    font-weight: bold;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sg-wa-body {
    padding: 15px;
    color: #fff;

    line-height: 1.4;
}

.sg-wa-cta {
    display: block;

    margin-top: 10px;

    background: #25D366;
    color: #fff;

    text-align: center;

    padding: 10px;

    border-radius: 8px;

    text-decoration: none;

    transition:
        transform .2s ease,
        opacity .2s ease;
}

.sg-wa-cta:hover {
    transform: translateY(-1px);
    opacity: .95;
}

.sg-wa-fab {

    width: 58px;
    height: 58px;

    background: #0f0f0f;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;

    box-shadow: 0 4px 12px rgba(0,0,0,0.18);

    transition:
        transform .25s ease,
        opacity .25s ease;

    will-change: transform;
}

.sg-wa-fab:hover {
    transform: translateY(-3px) scale(1.05);
}

@media (max-width:768px){

    .sg-wa-wrapper {
        bottom: 15px;
        right: 15px;
        left: auto;
        align-items: flex-end;
    }

    .sg-wa-box {
        display: none;
        width: 260px;
    }

    .sg-wa-wrapper.open .sg-wa-box {
        display: block;
    }

}