/* ==========================================
   SECCIÓN PRODUCTOS (CARRUSEL INFINITO)
   ========================================== */
.seccion-productos {
  padding: 4rem 2rem;
  max-width: 1140px;
  margin: 0 auto;
  text-align: center;
  box-sizing: border-box;
}

.encabezado-productos {
  max-width: 650px;
  margin: 0 auto 3rem auto;
}

.texto-naranja {
  color: var(--color-acento-naranja, #f97316);
}

.contenedor-carrusel {
  width: 100%;
  overflow: hidden;
  padding: 2rem 0;
  user-select: none;
  box-sizing: border-box;
}

.pista-carrusel {
  display: flex;
  gap: 24px;
  will-change: transform;
  width: 100%;
  box-sizing: border-box;
}

.pista-carrusel.con-transicion {
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.tarjeta-producto {
  flex: 0 0 calc((100% - 48px) / 3);
  width: calc((100% - 48px) / 3);
  box-sizing: border-box;
  height: 440px;
  background: var(--color-fondo-siguiente);
  box-shadow: 0 4px 15px var(--sombra);
  border-radius: 24px;
  border: none;
  padding: 2.5rem 1.5rem 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  opacity: 0.35;
  transform: scale(0.92);
  filter: blur(0.5px);
  transition: opacity 0.4s ease, transform 0.4s ease, filter 0.4s ease, box-shadow 0.4s ease;
}

.tarjeta-producto.activa {
  opacity: 1;
  transform: scale(1.03);
  filter: blur(0px);
}

/* CONTENIDO INTERNO */
.contenedor-img-producto {
  width: 135px;
  height: 135px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  background-color: #ffffff;
  flex-shrink: 0;
}

.contenedor-img-producto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tarjeta-producto h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--texto-principal, #0f172a);
  margin-top: 0.8rem;
  margin-bottom: 0.2rem;
}

.tarjeta-producto h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--texto-secundario, #64748b);
  margin-bottom: 0.6rem;
}

.tarjeta-producto p {
  font-size: 0.8rem;
  color: var(--texto-secundario, #64748b);
  line-height: 1.4;
  margin-bottom: 1rem;
  max-width: 260px;
}

.boton-mas-info {
  display: inline-block;
  border: 1px solid var(--boton-borde, #0f172a);
  color: var(--texto-principal, #0f172a);
  background-color: var(--boton-fondo, transparent);
  padding: 0.5rem 1.2rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.boton-mas-info:hover {
  background-color: var(--texto-principal, #0f172a);
  color: var(--color-fondo-siguiente);
}

/* CONTROLES Y PUNTOS */
.controles-carrusel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 1.5rem;
}

.boton-flecha {
  background: transparent;
  border: none;
  font-size: 1.1rem;
  color: var(--texto-principal, #0f172a);
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.boton-flecha:hover {
  transform: scale(1.25);
  opacity: 0.8;
}

.indicadores-puntos {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.punto {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--texto-principal, #0f172a);
  background: transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}

.punto.activo {
  background: var(--texto-principal, #0f172a);
}
@media (max-width: 768px) {
  .seccion-productos {
    padding: 2.5rem 1rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .contenedor-carrusel {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    padding: 1.5rem 0;
    box-sizing: border-box;
  }

  .pista-carrusel {
    width: max-content;
    display: flex;
    gap: 14px;
  }

  .tarjeta-producto {
    flex: 0 0 280px;
    width: 280px;
    min-width: 280px;
    max-width: 280px;
    height: 420px;
    margin: 0;
    transform: scale(0.88);
    opacity: 0.35;
    filter: blur(0.5px);
  }

  .tarjeta-producto.activa {
    transform: scale(1);
    opacity: 1;
    filter: blur(0);
  }
}


