.sabores-hero {
  background: linear-gradient(135deg, #FF9A8B 0%, #FF6B95 50%, #FF8E53 100%);
  color: white;
  padding: 120px 20px 60px 20px; /* más espacio arriba para evitar el header fijo */
  text-align: center;
  margin-bottom: 40px;
}

.sabores-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  font-weight: 700;
}

.sabores-hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  opacity: 0.9;
}

.sabores-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 40px 5%;
}

.sabor-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  padding: 24px 16px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  opacity: 1 !important;
  transform: none !important;
}

.sabor-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

.sabor-item img {
  width: 100%;
  max-width: 180px;
  height: 180px;
  border-radius: 50%;
  margin-bottom: 20px;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: all 0.3s cubic-bezier(.4,1.5,.5,1);
}

.sabor-item:hover img {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.sabor-info {
  text-align: center;
  width: 100%;
}

.sabor-nombre {
  font-weight: 700;
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 8px;
}

.sabor-desc {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 16px;
  min-height: 40px;
}

.add-cart-btn {
  background: linear-gradient(to right, #FF6B95, #FF8E53);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  width: 90%;
  margin-top: auto;
}

.add-cart-btn:hover {
  background: linear-gradient(to right, #FF8E53, #FF6B95);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(255, 110, 149, 0.3);
}

.sabor-popular {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #FF6B95;
  color: white;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.cart-notification {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #4CAF50;
  color: white;
  padding: 15px 25px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  display: none;
  z-index: 1000;
}

#cart-summary {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
  padding: 20px 28px;
  z-index: 1000;
  min-width: 220px;
  font-family: Poppins, Arial, sans-serif;
  display: none;
}

#cart-summary h4 {
  margin-top: 0;
  margin-bottom: 10px;
}

#cart-summary ul {
  padding-left: 18px;
  margin: 0 0 10px 0;
}

@media (max-width: 900px) {
  .sabores-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .sabores-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
  }
  .sabores-hero h1 {
    font-size: 2rem;
  }
  .sabores-hero p {
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .sabores-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
/* Agregar al final del archivo */
.sabor-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
  width: 90%;
}

.quantity-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(to right, #FF6B95, #FF8E53);
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quantity-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 2px 8px rgba(255, 110, 149, 0.3);
}

.quantity-btn.minus {
  background: linear-gradient(to right, #ff6b6b, #ff8e53);
}

.quantity {
  min-width: 20px;
  text-align: center;
  font-weight: 600;
  color: #333;
}
/* Estilos para el carrito mejorado */
.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.cart-item-name {
  flex: 1;
  margin-right: 10px;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: 15px;
}

.cart-quantity {
  min-width: 20px;
  text-align: center;
}

.cart-plus, 
.cart-minus {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: none;
  background: #f0f0f0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.cart-plus:hover, 
.cart-minus:hover {
  background: #ddd;
}

.remove-item {
  background: none;
  border: none;
  color: #ff6b6b;
  cursor: pointer;
  padding: 5px;
  transition: all 0.2s;
}

.remove-item:hover {
  color: #ff0000;
  transform: scale(1.1);
}

/* Ajustes para los botones de cantidad en tarjetas */
.minus {
  visibility: hidden; /* Oculta inicialmente el botón menos */
}