.card-img-top {
  max-height: 160px;
  object-fit: contain;
}

.card-title {
  font-size: 1rem;
  font-weight: bold;
}

.badge {
  font-size: 0.85rem;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  background-size: 60% 60%;
  width: 2.5rem;
  height: 2.5rem;
}

.scroll-vendidos {
  display: flex;
  overflow-x: auto;
  gap: 1rem;
  padding-bottom: 1rem;
  scroll-behavior: smooth;
  animation: scrollLoop 40s linear infinite;
}

.scroll-vendidos::-webkit-scrollbar {
  display: none;
}

.card-vendida {
  flex: 0 0 auto;
  width: 180px;
  min-height: 280px;
}

.scroll-vendidos:hover {
  animation-play-state: paused;
  cursor: grab;
}

@keyframes scrollLoop {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.scroll-vendidos-container .mini-card {
  flex: 0 0 160px;
  min-width: 160px;
}

.scroll-infinito {
  animation: scroll-left 35s linear infinite;
}

@keyframes scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.nav-item.dropdown:hover .show-on-hover {
  display: block !important;
}

.dropdown-menu-dark .dropdown-item:hover {
  background-color: rgba(255,255,255,0.1);
}
