/* Floating WhatsApp — sits above LUC */

.lit-wa-float {
    position: fixed;
    right: 24px;
    bottom: 104px;
    z-index: 100000;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px 10px 12px;
    border-radius: 999px;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, #128c7e 0%, #25d366 100%);
    border: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 10px 28px rgba(18, 140, 126, 0.4);
    transition: transform 0.25s ease, box-shadow 0.25s ease, bottom 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.lit-wa-float:hover,
.lit-wa-float:focus-visible {
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 14px 34px rgba(18, 140, 126, 0.55);
}

.lit-wa-float__icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.18);
    flex: 0 0 auto;
}

.lit-wa-float__label {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
    min-width: 0;
}

.lit-wa-float__title {
    font-size: 0.92rem;
    font-weight: 800;
}

.lit-wa-float__meta {
    font-size: 0.72rem;
    opacity: 0.92;
    font-weight: 600;
}

/* When cart/estimate dock is active, LUC lifts — lift WhatsApp with it */
.has-luc-float-stack .lit-wa-float {
    bottom: 176px;
}

/* Keep clear of open LUC panel on small screens */
@media (max-width: 640px) {
    .lit-wa-float {
        right: 16px;
        bottom: 96px;
        padding: 10px 12px;
    }

    .lit-wa-float__label {
        display: none;
    }

    .has-luc-float-stack .lit-wa-float {
        bottom: 168px;
    }

    .luc-widget.is-open ~ .lit-wa-float,
    body:has(.luc-widget.is-open) .lit-wa-float {
        opacity: 0.35;
        pointer-events: none;
    }
}
