/* KAZIO ADD TO CART FLY V7 - delay blur until ball reaches cart */

.kz-cart-fly-ball-v7 {
  position: fixed !important;
  z-index: 2147483646 !important;
  pointer-events: none !important;
  width: 18px !important;
  height: 18px !important;
  border-radius: 999px !important;
  background: radial-gradient(circle at 35% 30%, #ff9a9a 0%, #ff3b3b 35%, #e4002b 72%, #b9001f 100%) !important;
  border: 2px solid #fff !important;
  box-shadow: 0 12px 28px rgba(228, 0, 43, .34), 0 0 0 5px rgba(228, 0, 43, .10) !important;
  opacity: .98 !important;
  transform-origin: center center !important;
  will-change: transform, opacity !important;
}

.kz-cart-fly-pop-v7 {
  position: fixed !important;
  z-index: 2147483647 !important;
  pointer-events: none !important;
  min-width: 24px !important;
  height: 24px !important;
  padding: 0 7px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #ff3347 !important;
  color: #fff !important;
  border: 2px solid #fff !important;
  box-shadow: 0 14px 30px rgba(228, 0, 43, .34) !important;
  font-family: Vazirmatn, Tahoma, sans-serif !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  animation: kzCartFlyPopV7 .98s cubic-bezier(.18,.85,.22,1) forwards !important;
}

@keyframes kzCartFlyPopV7 {
  0% { transform: translate3d(0, 0, 0) scale(.22); opacity: 0; }
  18% { transform: translate3d(0, -10px, 0) scale(1.28); opacity: 1; }
  45% { transform: translate3d(var(--kz-pop-x), var(--kz-pop-y), 0) scale(1); opacity: 1; }
  100% { transform: translate3d(calc(var(--kz-pop-x) * 1.25), calc(var(--kz-pop-y) - 22px), 0) scale(.58); opacity: 0; }
}

.kz-cart-fly-target-bounce-v7 {
  animation: kzCartFlyTargetBounceV7 .62s cubic-bezier(.18,.85,.24,1) both !important;
}

@keyframes kzCartFlyTargetBounceV7 {
  0% { transform: scale(1); }
  34% { transform: scale(1.12); box-shadow: 0 0 0 9px rgba(255, 51, 71, .14); }
  62% { transform: scale(.97); }
  100% { transform: scale(1); box-shadow: 0 0 0 rgba(255, 51, 71, 0); }
}

/*
  Delay blur/message safely:
  - hide only detected popup/dialog cards
  - make only known backdrops transparent
  - do not hide page wrappers, so no white screen
*/
.kz-cart-fly-modal-hold-v7 {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: scale(.96) !important;
  transition: none !important;
}

.kz-cart-fly-backdrop-hold-v7 {
  opacity: 0 !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  pointer-events: none !important;
}

html.kz-cart-fly-delay-blur-v7 body,
html.kz-cart-fly-delay-blur-v7 body > * {
  filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
