.lwfc-contact {
    --lwfc-green: #25d366;
    --lwfc-green-hover: #20c55e;
    --lwfc-obstruction-offset: 0px;
    position: fixed;
    right: var(--lwfc-desktop-right, 15px);
    bottom: calc(var(--lwfc-desktop-bottom, 15px) + var(--lwfc-obstruction-offset));
    z-index: 9999;
    display: block;
    width: 44px;
    height: 44px;
    overflow: hidden;
    border: 0;
    border-radius: 999px;
    outline-offset: 4px;
    background: var(--lwfc-green);
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .16);
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
    transition: width 260ms ease, bottom 220ms ease, background-color 200ms ease, box-shadow 200ms ease;
}

.lwfc-contact__icon {
    position: absolute;
    top: 50%;
    right: 0;
    display: grid;
    width: 44px;
    height: 44px;
    transform: translateY(-50%);
    place-items: center;
    transition: width 260ms ease, height 260ms ease;
}

.lwfc-contact__icon img {
    display: block;
    width: 20px;
    height: 20px;
}

.lwfc-contact__label {
    position: absolute;
    top: 50%;
    right: 54px;
    overflow: hidden;
    max-width: 100px;
    opacity: 0;
    color: #fff;
    font-family: inherit;
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
    transform: translate(10px, -50%);
    transition: opacity 180ms ease 30ms, transform 220ms ease 20ms;
}

@media (hover: hover) and (pointer: fine) {
    .lwfc-contact:hover,
    .lwfc-contact:focus-visible {
        width: 162px;
        height: 44px;
        background: var(--lwfc-green-hover);
        box-shadow: 0 7px 20px rgba(0, 0, 0, .2);
    }

    .lwfc-contact:hover .lwfc-contact__icon,
    .lwfc-contact:focus-visible .lwfc-contact__icon {
        width: 44px;
        height: 44px;
    }

    .lwfc-contact:hover .lwfc-contact__label,
    .lwfc-contact:focus-visible .lwfc-contact__label {
        opacity: 1;
        transform: translate(0, -50%);
    }
}

.lwfc-contact:focus-visible {
    outline: 3px solid #111;
    outline-offset: 4px;
}

@media (max-width: 767px), (hover: none), (pointer: coarse) {
    .lwfc-contact,
    .lwfc-contact:hover,
    .lwfc-contact:focus-visible {
        right: var(--lwfc-mobile-right, 14px);
        bottom: calc(var(--lwfc-mobile-bottom, 14px) + env(safe-area-inset-bottom, 0px) + var(--lwfc-obstruction-offset));
        width: 52px;
        height: 52px;
        transform: none;
    }

    .lwfc-contact__icon,
    .lwfc-contact:hover .lwfc-contact__icon,
    .lwfc-contact:focus-visible .lwfc-contact__icon {
        width: 52px;
        height: 52px;
    }

    .lwfc-contact__icon img {
        width: 25px;
        height: 25px;
    }

    .lwfc-contact__label {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lwfc-contact,
    .lwfc-contact__icon,
    .lwfc-contact__label {
        transition-duration: 1ms !important;
    }
}

@media print {
    .lwfc-contact {
        display: none !important;
    }
}
