/* globals.css */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none; /* IE + Edge */
  scrollbar-width: none; /* Firefox */
}

@keyframes rotateSwing {
  0% {
    transform: rotate(5deg);
  }
  50% {
    transform: rotate(-5deg);
  }
  100% {
    transform: rotate(5deg);
  }
}

.rotate-swing {
  animation: rotateSwing 2.5s ease-in-out infinite;
  will-change: transform;
}

.cart-item-enter {
  opacity: 0;
  transform: translateY(5px);
  animation: cartItemFadeIn 0.25s ease-out forwards;
}

.cart-item-exit {
  opacity: 1;
  transform: translateY(0);
  animation: cartItemFadeOut 0.25s ease-in forwards;
}

@keyframes cartItemFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cartItemFadeOut {
  to {
    opacity: 0;
    transform: translateY(-5px);
  }
}

