/* ==========================
   Importar Tipografías
========================== */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Open+Sans:wght@400;600&family=Poppins:wght@500;600&display=swap');

/* ==========================
   Estilos para Catálogo
========================== */

/* Reset general */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background-color: #f5f5f5;
}

/* Contenedor general */
#catalogo {
  margin: 0;
  padding: 16px;
  width: 100%;
  min-height: 100vh;
  box-sizing: border-box;
}

/* ==========================
   TABS (Botones de filtro)
========================== */

.catalog-tabs {
  display: flex;
  gap: 12px;
  justify-content: flex-start;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

/* botones catalogo tamaño de letra */
.chip {
  font-family: 'Rubik', sans-serif;  /* fuente moderna */
  background-color: #333;              /* negro elegante */
  color: #fafafa;                      /* amarillo dorado */
  border: none;                        /* sin borde */
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  text-decoration: none;
}

.chip:hover {
  background-color: #ddbd15;           /* fondo amarillo */
  color: #333;                         /* texto negro */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.chip.is-active {
  background-color: #333;           /* botón activo */
  color: #fdf4f4;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(67, 67, 66, 0.5);
}

/* ==========================
   GRILLA DE PRODUCTOS
========================== */

#catalogGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
  margin-top: 24px;
}

/* Tarjeta de producto */
.product-card {
  background-color: #fff;
  padding: 16px;
  border-radius: 6px;
  text-align: center;
  box-sizing: border-box;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Imagen */
.product-image {
  width: 100%;
  height: 350px;
  object-fit: cover;
  border-radius: 4px;
}

/* Tipo tamaño de letra catalogo */
.product-type {
  font-family: 'Rubik', sans-serif;  /* fuente liviana */
  font-size: 13px;
  color: #333;
  font-weight: 300;
  text-transform: uppercase;
  margin-top: 12px;
  margin-bottom: 4px;
  letter-spacing: 0.5px;
  text-decoration: none !important;
}

/* Título tamaño de letra catalogo) */
.product-title {
  font-family: 'Rubik', sans-serif; /* fuente sólida */
  font-size: 14px;
  color: #333;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none !important;
}

/* Quitar subrayado en enlaces dentro de tarjetas */
.product-card a {
  text-decoration: none !important;
  color: inherit;
}

/* Mensaje si no hay productos */
#catalogGrid p {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 16px;
  color: #555;
}

/* ==========================
   RESPONSIVE
========================== */

@media (max-width: 1024px) {
  #catalogGrid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  #catalogGrid {
    grid-template-columns: 1fr;
  }
  .chip {
    padding: 8px 16px;
    font-size: 13px;
  }
}
