.huanca-wa-float {
    --huanca-wa-green: #20b858;
    --huanca-wa-green-dark: #118a3c;
    position: fixed;
    right: 24px;
    bottom: 42px;
    z-index: 9990;
    display: flex;
    align-items: center;
    gap: 11px;
    font-family: inherit;
    transition: opacity .18s ease, transform .18s ease;
}

.huanca-wa-float.is-cart-open {
    opacity: 0;
    transform: translateX(12px);
    pointer-events: none;
}

.huanca-wa-button {
    position: relative;
    width: 60px;
    height: 60px;
    flex: 0 0 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(145deg, #24c961 0%, #18a94d 100%);
    color: #fff;
    text-decoration: none !important;
    box-shadow:
        0 10px 28px rgba(15, 112, 53, .23),
        0 3px 8px rgba(0, 0, 0, .10);
    transform: translateZ(0);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

.huanca-wa-button:hover,
.huanca-wa-button:focus-visible {
    color: #fff;
    transform: translateY(-2px) scale(1.025);
    box-shadow:
        0 13px 32px rgba(15, 112, 53, .28),
        0 4px 10px rgba(0, 0, 0, .10);
    outline: none;
}

.huanca-wa-button:active {
    transform: translateY(0) scale(.97);
}

.huanca-wa-icon {
    position: relative;
    z-index: 2;
    display: block;
    width: 38px;
    height: 38px;
    object-fit: contain;
    pointer-events: none;
}

.huanca-wa-pulse {
    position: absolute;
    inset: -5px;
    border: 2px solid rgba(32, 184, 88, .42);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
}

.huanca-wa-float.is-ready .huanca-wa-pulse {
    animation: huancaWaPulse 2.8s ease-out infinite;
}

.huanca-wa-bubble {
    min-width: 190px;
    max-width: 240px;
    padding: 11px 14px;
    border: 1px solid #e6ebe5;
    border-radius: 15px;
    background: rgba(255, 255, 255, .98);
    box-shadow:
        0 9px 26px rgba(31, 47, 35, .09),
        0 2px 7px rgba(0, 0, 0, .04);
    color: #1a251c;
    opacity: 0;
    transform: translateX(8px) scale(.98);
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
}

.huanca-wa-bubble::after {
    content: "";
    position: absolute;
    right: 54px;
    bottom: -6px;
    width: 12px;
    height: 12px;
    background: #fff;
    border-right: 1px solid #e6ebe5;
    border-bottom: 1px solid #e6ebe5;
    transform: rotate(45deg);
}

.huanca-wa-bubble strong,
.huanca-wa-bubble span {
    display: block;
}

.huanca-wa-bubble strong {
    margin: 0 0 2px;
    font-size: 13px;
    line-height: 1.25;
    font-weight: 800;
}

.huanca-wa-bubble span {
    color: #687169;
    font-size: 11px;
    line-height: 1.35;
    font-weight: 500;
}

.huanca-wa-float.is-visible .huanca-wa-bubble,
.huanca-wa-float:hover .huanca-wa-bubble,
.huanca-wa-float:focus-within .huanca-wa-bubble {
    opacity: 1;
    transform: translateX(0) scale(1);
}

@keyframes huancaWaPulse {
    0% {
        transform: scale(.88);
        opacity: .7;
    }
    70%,
    100% {
        transform: scale(1.35);
        opacity: 0;
    }
}

@media (max-width: 782px) {
    .huanca-wa-float {
        right: 15px;
        bottom: 34px;
        gap: 8px;
    }

    .admin-bar .huanca-wa-float {
        bottom: 34px;
    }

    .huanca-wa-button {
        width: 56px;
        height: 56px;
        flex-basis: 56px;
    }

    .huanca-wa-icon {
        width: 35px;
        height: 35px;
    }

    .huanca-wa-bubble {
        position: absolute;
        right: 0;
        bottom: 68px;
        min-width: 172px;
        max-width: calc(100vw - 40px);
        padding: 10px 12px;
        border-radius: 13px;
    }

    .huanca-wa-bubble::after {
        right: 21px;
    }

    .huanca-wa-bubble strong {
        font-size: 12px;
    }

    .huanca-wa-bubble span {
        font-size: 10px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .huanca-wa-float,
    .huanca-wa-button,
    .huanca-wa-bubble,
    .huanca-wa-pulse {
        animation: none !important;
        transition: none !important;
    }
}
