/* Colour-only feedback on commands: no spinner, transforms or layout changes. */
:is([data-home-card], .compose-sauce) .hz-product-card__actions .hz-card-add, :is([data-home-card], .compose-sauce) .hz-product-card__actions .hz-card-increase, :is([data-home-card], .compose-sauce) .hz-product-card__actions .hz-card-decrease, [data-card-inline-quantity] {
    transition: color .18s ease, background-color .18s ease, opacity .18s ease;
}
:is([data-home-card], .compose-sauce) .hz-product-card__actions .hz-card-add.is-feedback-add, :is([data-home-card], .compose-sauce) .hz-product-card__actions .hz-card-increase.is-feedback-add { color: #227743; background-color: #e8f5ec; }
:is([data-home-card], .compose-sauce) .hz-product-card__actions .hz-card-decrease.is-feedback-minus { color: #fff; background-color: #302920; }
:is([data-home-card], .compose-sauce) .hz-product-card__actions .hz-card-decrease.is-feedback-remove, :is([data-home-card], .compose-sauce) .hz-product-card__actions .hz-card-add.is-feedback-remove { color: #98611f; background-color: #fff0d9; }
:is([data-home-card], .compose-sauce) .hz-product-card__actions .hz-card-add.is-feedback-error, :is([data-home-card], .compose-sauce) .hz-product-card__actions .hz-card-increase.is-feedback-error, :is([data-home-card], .compose-sauce) .hz-product-card__actions .hz-card-decrease.is-feedback-error { color: #ad2525; background-color: #fce8e8; }
[data-card-inline-quantity].is-count-updated { opacity: .6; }
@media (prefers-reduced-motion: reduce) {
    :is([data-home-card], .compose-sauce) .hz-product-card__actions .hz-card-add, :is([data-home-card], .compose-sauce) .hz-product-card__actions .hz-card-increase, :is([data-home-card], .compose-sauce) .hz-product-card__actions .hz-card-decrease, [data-card-inline-quantity] { transition: none; }
}
/* Errors remain announced without growing or shifting the validated cards. */
[data-home-card] [data-card-error] {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* One shared notification badge, anchored to the icon rather than the photo. */
.hz-card-cart-icon { position: relative; display: inline-block; flex: 0 0 19px; width: 19px; height: 19px; }
.hz-card-cart-count {
    position: absolute; top: -9px; right: -9px;
    display: flex; align-items: center; justify-content: center;
    box-sizing: border-box; width: 18px; height: 18px;
    border: 1px solid #fff; border-radius: 50%;
    background: #a90078; color: #fff;
    font: 700 11px/1 var(--sans, sans-serif);
    font-variant-numeric: tabular-nums;
    pointer-events: none;
}
