/* Checkout uses Cart's quantity feedback with a compact 72 × 26 control.
   CartFlow owns sizing and updates; Ivy Universal owns interaction styling. */
html body :is(#order_review > section > div.ivy-order-details__items > article > span.ivy-order-details__quantity,.ivy-order-details-dialog__quantity){
 position:relative!important;isolation:isolate!important;overflow:visible!important;
 transform:none!important;translate:none!important;animation:none!important;
 box-shadow:none!important;border-radius:0!important;--ivy-focus-width:2px;--ivy-focus-gap:2px;--ivy-focus-speed:180ms;
}
html body :is(#order_review > section > div.ivy-order-details__items > article > span.ivy-order-details__quantity,.ivy-order-details-dialog__quantity) > :is(button,input){
 transform:none!important;translate:none!important;box-shadow:none!important;
}
@media (hover:hover){
 html body :is(#order_review > section > div.ivy-order-details__items > article > span.ivy-order-details__quantity,.ivy-order-details-dialog__quantity) > button:hover:not(:disabled){
  position:relative;
  z-index:6;
  box-shadow:var(--ivy-hover-glow)!important;
 }
}
/* Match the cart control: a 2px edge one pixel outside the control. */
html body :is(#order_review > section > div.ivy-order-details__items > article > span.ivy-order-details__quantity,.ivy-order-details-dialog__quantity)::after{
 content:""!important;position:absolute!important;inset:-1px!important;z-index:7!important;
 pointer-events:none!important;box-sizing:border-box!important;border:2px solid transparent!important;border-radius:inherit!important;
 padding:0!important;background:none!important;border-image:var(--ivy-brand-gradient) 1!important;
 -webkit-mask:none!important;mask:none!important;
 opacity:var(--ivy-checkout-quantity-edge-opacity,0)!important;
 transition:opacity var(--ivy-hover-speed,200ms) ease!important;
}
/* Both rings fade using the same state and timing. */
html body :is(#order_review > section > div.ivy-order-details__items > article > span.ivy-order-details__quantity,.ivy-order-details-dialog__quantity):is(:hover,[data-ivy-qty-hover="true"]),
html:not([data-ivy-focus-modality="pointer"]) body :is(#order_review > section > div.ivy-order-details__items > article > span.ivy-order-details__quantity,.ivy-order-details-dialog__quantity):has(> :focus-visible){
 --ivy-checkout-quantity-edge-opacity:1;
}
@media (hover:none){
 html body :is(#order_review > section > div.ivy-order-details__items > article > span.ivy-order-details__quantity,.ivy-order-details-dialog__quantity)[data-ivy-qty-focused="true"]{
  --ivy-checkout-quantity-edge-opacity:1;
 }
}
/* Cart's focus renderer is 2px wide and extends 4px from the control.
   This leaves the same 1px visual gap after the hover edge and keeps the
   full 80px outline inside the preview card. */
html body :is(#order_review > section > div.ivy-order-details__items > article > span.ivy-order-details__quantity,.ivy-order-details-dialog__quantity)::before{
 content:""!important;position:absolute!important;inset:-4px!important;z-index:8!important;
 pointer-events:none!important;box-sizing:border-box!important;border:0!important;border-radius:4px!important;
 padding:2px!important;background:var(--ivy-custom-focus-gradient,var(--ivy-brand-gradient-reverse))!important;
 -webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0)!important;
 -webkit-mask-composite:xor!important;mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0)!important;mask-composite:exclude!important;
 opacity:0!important;transform-origin:center!important;
 transition:opacity var(--ivy-hover-speed,200ms) ease!important;
}
html body :is(#order_review > section > div.ivy-order-details__items > article > span.ivy-order-details__quantity,.ivy-order-details-dialog__quantity)[data-ivy-qty-focused="true"]::before,
html:not([data-ivy-focus-modality="pointer"]) body :is(#order_review > section > div.ivy-order-details__items > article > span.ivy-order-details__quantity,.ivy-order-details-dialog__quantity):has(> :focus-visible)::before{
 opacity:var(--ivy-checkout-quantity-edge-opacity,0)!important;
 animation:var(--ivy-checkout-qty-focus-animation,ivy-checkout-qty-focus-outward) var(--ivy-focus-speed,180ms) ease-out both!important;
}
html body :is(#order_review > section > div.ivy-order-details__items > article > span.ivy-order-details__quantity,.ivy-order-details-dialog__quantity)[data-ivy-qty-focus-replay]{
 --ivy-checkout-qty-focus-animation:ivy-checkout-qty-focus-outward-replay;
}
@keyframes ivy-checkout-qty-focus-outward{from{transform:scale(.925,.82353)}to{transform:scale(1)}}
@keyframes ivy-checkout-qty-focus-outward-replay{from{transform:scale(.925,.82353)}to{transform:scale(1)}}
@media(prefers-reduced-motion:reduce){
 html body :is(#order_review > section > div.ivy-order-details__items > article > span.ivy-order-details__quantity,.ivy-order-details-dialog__quantity)::before,
 html body :is(#order_review > section > div.ivy-order-details__items > article > span.ivy-order-details__quantity,.ivy-order-details-dialog__quantity)::after{animation:none!important;transition:none!important;}
}
