/* Restrained motion for the sales contact launcher. */
.contact-widget__launcher {
    position: relative !important;
    isolation: isolate;
    height: 54px;
    gap: 10px;
    padding: 0 22px 0 9px;
    overflow: hidden !important;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 999px;
    background: #087fb7;
    box-shadow: 0 12px 28px rgba(8, 100, 148, .24), inset 0 1px 0 rgba(255, 255, 255, .18);
    font-size: 14px;
    letter-spacing: -.01em;
    transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease !important;
}

.contact-widget__launcher::before,
.contact-widget__launcher::after {
    content: "";
    position: absolute;
    pointer-events: none;
    border-radius: inherit;
}

.contact-widget__launcher::before {
    z-index: 0;
    inset: 0;
    border: 0;
    background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, .2) 48%, transparent 72%);
    transform: translateX(-135%);
    animation: contact-launcher-sheen 5.2s ease-in-out infinite;
}

.contact-widget__launcher::after {
    display: none;
}

.contact-widget__launcher svg,
.contact-widget__launcher span {
    position: relative;
    z-index: 1;
}

.contact-widget__launcher svg {
    box-sizing: border-box;
    width: 36px;
    height: 36px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    transition: transform .22s ease, background-color .22s ease;
}

.contact-widget__launcher:hover {
    transform: translateY(-2px);
    background: #0674a9;
    box-shadow: 0 16px 34px rgba(8, 100, 148, .3), inset 0 1px 0 rgba(255, 255, 255, .2) !important;
}

.contact-widget__launcher:hover svg {
    background: rgba(255, 255, 255, .18);
    transform: rotate(-7deg) scale(1.04);
}

@keyframes contact-launcher-sheen {
    0%, 58% { transform: translateX(-135%); }
    76%, 100% { transform: translateX(135%); }
}

@media (max-width: 620px) {
    .contact-widget__launcher {
        width: 54px;
        height: 54px;
        padding: 0;
    }

    .contact-widget__launcher svg {
        width: 38px;
        height: 38px;
        margin: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .contact-widget__launcher,
    .contact-widget__launcher::before {
        animation: none !important;
        transition: none !important;
    }
}

/* The launcher opens WhatsApp. Page and brand themes recolour the launcher, so these win. */
.contact-widget a.contact-widget__launcher--wa { background: #25D366 !important; border-color: #25D366 !important; color: #fff !important; text-decoration: none; box-shadow: 0 12px 28px rgba(18, 140, 70, .26), inset 0 1px 0 rgba(255, 255, 255, .2) !important; }
.contact-widget a.contact-widget__launcher--wa:hover { background: #1ebe5b !important; border-color: #1ebe5b !important; box-shadow: 0 16px 34px rgba(18, 140, 70, .32), inset 0 1px 0 rgba(255, 255, 255, .2) !important; }
.contact-widget a.contact-widget__launcher--wa { width: 58px; height: 58px; padding: 0 !important; justify-content: center; border-radius: 50% !important; }
.contact-widget a.contact-widget__launcher--wa::before { display: none; }
.contact-widget a.contact-widget__launcher--wa svg { width: 32px; height: 32px; padding: 0; border: 0; border-radius: 0; background: none; }
.contact-widget a.contact-widget__launcher--wa:hover svg { background: none; transform: scale(1.06); }
