/* ================= BARRA INFO ================= */
.info-bar {
  background-color: #111;
  color: #fff;
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 10px 1rem;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  overflow-x: auto;
  white-space: nowrap;
}
@media (max-width: 768px) {
  .info-bar { justify-content: flex-start; gap: 1.5rem; }
}

/* ================= GRILLA CATEGORÍAS (NOVEDAD) ================= */
.category-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 10px;
  margin-top: 10px;
}
.cat-item {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4; /* Vertical */
  overflow: hidden;
  text-decoration: none;
}
.cat-img {
  width: 100%; height: 100%;
}
.cat-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.cat-item:hover img { transform: scale(1.05); }

/* Botón flotante sobre la categoría */
.cat-btn {
  position: absolute;
  bottom: 20px; left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: #000;
  padding: 10px 25px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* ================= SECCIONES DE PRODUCTOS ================= */
.product-section {
  width: 100%;
  overflow: hidden; /* Evita scroll horizontal indeseado de la pagina */
}
.product-section.bg-light {
  background-color: #fafafa; /* Color de fondo suave para diferenciar */
}

.section-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  color: #000;
}

/* Ajustes Responsive para la nueva Home */
@media (max-width: 768px) {
  .category-grid { padding: 0; gap: 2px; } /* Full width en móvil */
  .section-title { font-size: 1.2rem; margin-bottom: 1rem; }

}
/* Lógica para el fade-in del JS */
.cat-img img {
  opacity: 0; /* Empiezan invisibles */
  transition: opacity 0.5s ease, transform 0.5s ease; /* Transición suave */
}

.cat-img img.visible {
  opacity: 1; /* Se muestran cuando el JS carga la foto */
}

/* mejora chatgpt*/
.section-subtitle{
  display:block;
  margin-top:.4rem;
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing:.12em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.contenedor_producto:hover{
  transform: translateY(-4px);
}

.renglon{
  padding-top: 0px!important;
}