/* ================================
   PRODUCTOS DESTACADOS
   ================================ */
.productos {
  position: relative;
  background: #fff;
  padding: 2rem 5rem 4rem;
  margin-top: -4rem;     /* 👈 sube el bloque */
  z-index: 10;           /* 👈 lo pone por encima del fondo verde */
}

.productos h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #000;
}



/* CARRUSEL */
.productos-carrusel {
  display: flex;
  align-items: center;
  gap: 45px; /* Espaciado según Figma */
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  scrollbar-width: thin;
  scrollbar-color: #b9e0ff transparent;
}

.productos-carrusel::-webkit-scrollbar {
  height: 8px;
}
.productos-carrusel::-webkit-scrollbar-thumb {
  background-color: #b9e0ff;
  border-radius: 4px;
}

/* CARD */
.producto-card {
  flex: 0 0 calc(20% - 36px); /* 5 cards per scene */
  height: 300px;
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: center;
  padding: 1rem 0.8rem;
  scroll-snap-align: start;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.producto-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}

/* IMAGEN */
.producto-img img {
  width: 100%;
  height: 140px;
  object-fit: contain;
  border-radius: 20px;
}

.no-image-placeholder {
  width: 100%;
  height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f0f0f0;
  border-radius: 20px;
  gap: 6px;
}
.no-image-placeholder span {
  font-size: 12px;
  color: #aaa;
}

/* TITULO */
.producto-card h3 {
  font-size: 13px;
  font-weight: 700;
  color: #000;
  margin-top: 0.6rem;
}

/* DESCRIPCION */
.producto-card p {
  font-size: 12.5px;
  color: #333;
  margin: 0.2rem 0 0.6rem;
}

/* PRECIO + BOTÓN */
.producto-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.precio {
  background: #e83e6b;
  color: #fff;
  font-weight: 600;
  padding: 0.4rem 1.2rem;
  border-radius: 30px;
  font-size: 13.5px;
}

.btn-add {
  background: #8a9a22;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-add:hover {
  background: #7d8a1d;
  transform: scale(1.1);
}

/* FLECHA */
.flecha {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.arrow-btn {
  background: #8a9a22;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.arrow-btn img {
  width: 18px;
  height: 18px;
}

.arrow-btn:hover {
  background: #7d8a1d;
  transform: scale(1.05);
}

/* RESPONSIVE */
/* Cuando .producto-card es un enlace */
a.producto-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

@media (max-width: 900px) {
  .productos {
    padding: 2rem 1rem;
  }

  .productos-carrusel {
    gap: 10px;
  }

  .producto-card {
    flex: 0 0 70%;
  }
}
