/* ===== PRODUCTOS POPULARES - CARRUSEL COMO RULETAS ===== */
.productos-container {
  position: relative;
  overflow: hidden;
  padding: 1rem 0;
  background: #f8fafc;
  border-radius: 16px;
}

.productos-track {
  display: flex;
  transition: transform 0.4s ease;
}

.productos-slide {
  min-width: 100%;
  padding: 0 1rem;
}

.productos-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, 1fr);
}

.productos-container .navbtn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.9);
  border: 2px solid #e2e8f0;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  color: #4a5568;
  z-index: 2;
  transition: all 0.2s ease;
}

.productos-container .navbtn:hover {
  background: white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transform: translateY(-50%) scale(1.05);
}

.productos-container .prev {
  left: 10px;
}

.productos-container .next {
  right: 10px;
}

.productos-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.productos-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.productos-dots .dot.active {
  background: #3182ce;
  width: 20px;
  border-radius: 4px;
}

.item-producto {
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.item-producto:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.foto-zona {
  height: 180px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  overflow: visible;
}

.foto-producto {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.emoji-backup {
  font-size: 3rem;
}

.info-zona {
  padding: 1.2rem;
  text-align: center;
}

.titulo-producto {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  color: #1f2937;
}

.desc-producto {
  color: #6b7280;
  font-size: 0.9rem;
  margin: 0 0 0.8rem 0;
  line-height: 1.4;
}

.precio-zona {
  margin-bottom: 1rem;
}

.precio-actual {
  font-size: 1.1rem;
  font-weight: 900;
  color: #111827;
}

.precio-anterior {
  color: #9ca3af;
  text-decoration: line-through;
  margin-left: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.boton-agregar {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  padding: 0.7rem 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
  font-size: 0.9rem;
}

.boton-agregar:hover {
  background: #d1fae5;
  transform: translateY(-1px);
}

/* Responsive para productos grid */
@media (max-width: 768px) {
  .productos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .productos-grid {
    grid-template-columns: 1fr;
  }
  
  .foto-zona {
    height: 160px;
  }
}