/* Global floating WhatsApp button + hide the redundant floating cart widget. */

/* Keep the header cart intact. Hide only common fixed/floating cart launchers. */
.xoo-wsc-basket,
.xt_woofc-trigger,
.xt_woofc-cart-open,
.woocommerce-floating-cart,
.wc-floating-cart,
.woo-floating-cart,
.woofc-count,
.woofc-area .woofc-count,
.floating-cart-button,
.floating-cart,
#floating-cart,
#woo-floating-cart,
.wfc-cart-button,
.wfc-floating-cart,
.woofc-cart-icon,
.woofc-cart,
body > .elementor-menu-cart__toggle.elementor-button-wrapper {
    display: none !important;
}

.lumiere-whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9998;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 58px;
    height: 58px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 999px;
    background: #25D366;
    color: #ffffff !important;
    box-shadow: 0 14px 34px rgba(23, 21, 20, .24), 0 4px 12px rgba(23, 21, 20, .12);
    text-decoration: none !important;
    overflow: hidden;
    transform: translateZ(0);
    transition: transform .28s ease, box-shadow .28s ease, background .28s ease, color .28s ease;
}

.lumiere-whatsapp-float__glow {
    position: absolute;
    inset: -50%;
    background: radial-gradient(circle, rgba(255,255,255,.28) 0%, rgba(255,255,255,0) 62%);
    opacity: 0;
    transform: scale(.6);
    transition: opacity .28s ease, transform .28s ease;
    pointer-events: none;
}

.lumiere-whatsapp-float svg {
    position: relative;
    z-index: 1;
    width: 27px;
    height: 27px;
    flex: 0 0 27px;
}

.lumiere-whatsapp-float__label {
    position: relative;
    z-index: 1;
    font-family: Montserrat, Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    white-space: nowrap;
}

.lumiere-whatsapp-float:hover,
.lumiere-whatsapp-float:focus-visible {
    background: #128C7E;
    color: #ffffff !important;
    transform: translateY(-4px);
    box-shadow: 0 20px 42px rgba(23, 21, 20, .32), 0 7px 18px rgba(23, 21, 20, .16);
}

.lumiere-whatsapp-float:hover .lumiere-whatsapp-float__glow,
.lumiere-whatsapp-float:focus-visible .lumiere-whatsapp-float__glow {
    opacity: 1;
    transform: scale(1);
}

@media (max-width: 680px) {
    .lumiere-whatsapp-float {
        right: 16px;
        bottom: 16px;
        width: 56px;
        min-width: 56px;
        height: 56px;
        padding: 0;
    }

    .lumiere-whatsapp-float__label {
        display: none;
    }
}


/* 4.4: icon-only WhatsApp button on every screen. */
.lumiere-whatsapp-float {
    width: 58px !important;
    min-width: 58px !important;
    height: 58px !important;
    padding: 0 !important;
    gap: 0 !important;
}

.lumiere-whatsapp-float__label {
    display: none !important;
}

/* Additional known floating-cart launchers. Header cart remains untouched. */
body > .xoo-wsc-basket,
body > .xoo-wsc-basket-wrapper,
body > .woofc-count,
body > .woofc-count-container,
body > .wfc-cart-button,
body > .wc-float-cart,
body > .floating-cart-icon,
body > .cart-float,
body > .cart-floating,
body > [class*="floating-cart"],
body > [class*="float-cart"],
body > [id*="floating-cart"],
body > [id*="float-cart"] {
    display: none !important;
}


/* 6.6.4: Official WhatsApp green override. Keep existing shape, sizing and motion. */
.lumiere-whatsapp-float,
body .lumiere-whatsapp-float,
html body .lumiere-whatsapp-float {
    background: #25D366 !important;
    background-color: #25D366 !important;
    color: #ffffff !important;
    border-color: rgba(255,255,255,.34) !important;
}

.lumiere-whatsapp-float svg,
body .lumiere-whatsapp-float svg {
    color: #ffffff !important;
    fill: currentColor !important;
}

.lumiere-whatsapp-float:hover,
.lumiere-whatsapp-float:focus-visible,
body .lumiere-whatsapp-float:hover,
body .lumiere-whatsapp-float:focus-visible {
    background: #128C7E !important;
    background-color: #128C7E !important;
    color: #ffffff !important;
}
