/* Estilos para el carrito en navbar */ /* Estilos para el badge del carrito */
.cart-icon-container {
  position: relative;
  display: flex;
  align-items: center;
  text-decoration: none !important;
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: #dc3545;
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 0.7rem;
  font-weight: bold;
  display: none;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
}

/* Animación para el badge */
.pulse-animation {
  animation: pulse 0.5s ease-in-out;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

/* Transiciones suaves para el carrito */
#cartSidebar {
  transition: all 0.3s ease-in-out;
  transform: translateX(100%);
  visibility: hidden;
  opacity: 0;
}

/* Mejoras para items del carrito */
.cart-item {
  transition: all 0.2s ease;
}

.cart-item:hover {
  background-color: #f8f9fa;
  border-radius: 0.375rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}
