/* BBH Cart Animation — bbh-cart-animation.css */

/* Flying clone element */
#bbh-flying-img {
    position: fixed;
    z-index: 99999;
    pointer-events: none;
    border-radius: 50%;
    overflow: hidden;
    opacity: 0;
    box-shadow: 0 4px 24px rgba(0,0,0,0.18);
    background: #fff;
    will-change: transform, opacity, width, height, top, left;
    transition: none;
}

#bbh-flying-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Cart burst feedback ring */
#bbh-cart-burst {
    position: fixed;
    z-index: 99998;
    pointer-events: none;
    border-radius: 50%;
    border: 3px solid #f36145;
    opacity: 0;
    width: 10px;
    height: 10px;
    transform: scale(0);
    will-change: transform, opacity;
}

#bbh-cart-burst.bbh-burst-active {
    animation: bbhBurst 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes bbhBurst {
    0%   { transform: scale(0);   opacity: 0.9; }
    60%  { transform: scale(3.5); opacity: 0.6; }
    100% { transform: scale(5);   opacity: 0; }
}

/* Small pill feedback toast */
#bbh-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(12px);
    background: #121212;
    color: #efeee7;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 100px;
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    white-space: nowrap;
    transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#bbh-toast.bbh-toast-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
