.cart-feedback-toast-container {
  position: fixed;
  right: 16px;
  bottom: 20px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.cart-feedback-toast {
  min-width: 220px;
  max-width: min(320px, calc(100vw - 32px));
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(26, 26, 26, 0.94);
  color: #fff;
  font-size: 14px;
  line-height: 1.35;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.cart-feedback-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.cart-feedback-flyer {
  position: fixed;
  z-index: 1999;
  pointer-events: none;
  opacity: 0.98;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
  transition:
    left 0.62s cubic-bezier(0.22, 0.8, 0.24, 1),
    top 0.62s cubic-bezier(0.22, 0.8, 0.24, 1),
    width 0.62s cubic-bezier(0.22, 0.8, 0.24, 1),
    height 0.62s cubic-bezier(0.22, 0.8, 0.24, 1),
    transform 0.62s cubic-bezier(0.22, 0.8, 0.24, 1),
    opacity 0.62s ease;
}

.cart-feedback-flyer__image,
.cart-feedback-flyer__fallback {
  width: 100%;
  height: 100%;
  display: block;
}

.cart-feedback-flyer__image {
  object-fit: cover;
  background: #fff;
}

.cart-feedback-flyer__fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1f1f1f, #3a3a3a);
  color: #fff;
  font-size: 22px;
}

.site-header__cart.is-cart-bumping,
.site-cart-count.is-cart-bumping {
  animation: cart-bump 0.56s ease;
}

@keyframes cart-bump {
  0% {
    transform: scale(1);
  }

  35% {
    transform: scale(1.14);
  }

  55% {
    transform: scale(0.94);
  }

  100% {
    transform: scale(1);
  }
}

@media only screen and (max-width: 767px) {
  .cart-feedback-toast-container {
    right: 12px;
    left: 12px;
    bottom: 14px;
  }

  .cart-feedback-toast {
    max-width: none;
  }
}
