/* Quick cart notification: lightweight animation and reduced-motion support */
.quick-cart-icon {
    display:inline-flex; align-items:center; justify-content:center;
    min-width:48px; min-height:48px;
    transform-origin:50% 55%;
}
.quick-cart-icon.has-items {
    animation: quickCartWiggle 2.8s ease-in-out infinite;
}
.quick-cart-badge {
    min-width:20px; min-height:20px;
    display:inline-flex; align-items:center; justify-content:center;
    box-shadow:0 0 0 2px rgba(255,255,255,.72), 0 3px 8px rgba(185,28,28,.25);
    animation: quickCartBadgePulse 1.9s ease-in-out infinite;
}
.quick-cart-toast .toast {
    animation: quickCartToastIn .55s ease-out 1;
}
.quick-cart-widget-add {
    animation: quickCartPop .55s ease-out 1;
}
@keyframes quickCartWiggle {
    0%,100% { transform:translateX(0) rotate(0deg); }
    8% { transform:translateX(-2px) rotate(-6deg); }
    16% { transform:translateX(2px) rotate(6deg); }
    24% { transform:translateX(-1px) rotate(-4deg); }
    32% { transform:translateX(1px) rotate(4deg); }
    40% { transform:translateX(0) rotate(0deg); }
}
@keyframes quickCartBadgePulse {
    0%,100% { transform:translate(50%,-50%) scale(1); }
    50% { transform:translate(50%,-50%) scale(1.06); }
}
@keyframes quickCartToastIn {
    from { opacity:0; transform:translateY(-14px) scale(.98); }
    to { opacity:1; transform:translateY(0) scale(1); }
}
@keyframes quickCartPop {
    0% { transform:scale(1); }
    45% { transform:scale(1.03); }
    100% { transform:scale(1); }
}
@media (prefers-reduced-motion: reduce) {
    .quick-cart-icon.has-items, .quick-cart-badge, .quick-cart-toast .toast, .quick-cart-widget-add { animation:none !important; }
}

/* Compact cart badge */
.quick-cart-badge{font-size:.62rem!important;line-height:1!important;min-width:18px;padding:.24em .42em!important;}
/* Keep the payment/cart notification below the header */
.quick-cart-toast{top:76px!important;z-index:1060!important;}
