.cart-icon-wrapper {
  position: relative;
}

.cart-icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  cursor: pointer;
  transition: border-color 0.2s ease;
  color: var(--font-color);
  padding: 0;
  outline: 0;
}

.cart-icon-btn svg {
  fill: none;
}

.cart-badge {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  background: #ef4444;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  border-radius: 10px;
  pointer-events: none;
}

.badge-bounce {
  animation: badgeBounce 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.badge-pop-enter-active {
  animation: badgePop 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.badge-pop-leave-active {
  animation: badgePop 0.2s ease reverse;
}

@keyframes badgePop {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.3); }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes badgeBounce {
  0% { transform: translateY(0); }
  30% { transform: translateY(-8px) scale(1.2); }
  50% { transform: translateY(2px) scale(0.95); }
  70% { transform: translateY(-3px) scale(1.05); }
  100% { transform: translateY(0) scale(1); }
}
