.wc-fly-to-cart {
    position: fixed;
    top: 0;
    left: 0;
    width: 48px;
    height: 48px;
    z-index: 10050;
    pointer-events: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.22);
    transition: transform 0.72s cubic-bezier(0.22, 0.85, 0.28, 1), opacity 0.72s ease;
    will-change: transform, opacity;
}

.wc-fly-to-cart img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wc-gallery-cart-toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translate(-50%, 16px);
    z-index: 10060;
    max-width: min(92vw, 360px);
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.35;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
}

.wc-gallery-cart-toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

.wc-gallery-cart-toast--success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.wc-gallery-cart-toast--error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.wc-gallery-cart-toast--info {
    background: #fffbeb;
    color: #92400e;
    border: 1px solid #fde68a;
}

.header-cart.wc-cart-pulse,
.menubar-cart.wc-cart-pulse {
    animation: wcCartPulse 0.65s ease;
}

@keyframes wcCartPulse {
    0% { transform: scale(1); }
    35% { transform: scale(1.12); }
    100% { transform: scale(1); }
}

.template-product .pd-btn-cart.is-loading,
.template-product .pd-action-form button.pd-btn-cart.is-loading {
    opacity: 0.85;
    cursor: wait;
}

.template-product .pd-btn-cart.is-loading i.fa-spinner,
.template-product .pd-action-form button.pd-btn-cart.is-loading i.fa-spinner {
    margin-right: 0.35rem;
}
