/* ===== BM-FORJA-2026-022 v2 — tarjetas de subcategorias en categoria Forja (51890) =====
   Estructura inspirada en la seccion "Explora el catalogo" de Escaleras (escaleras-3550):
   titulo de seccion H2 (20px/700 #2e2323) + enlaces de subcategoria en tipografia del sitio.
   Rejilla: 6 tarjetas / 3 columnas escritorio, 2 tablet (<=991px), 1 movil (<=479px).
   Scoped a body.category-id-51890: sin efecto en otras categorias.
   Sin imagenes: no existen imagenes validas de categoria para 51891-51898
   (placeholders de producto vacios de 0 bytes). */
body.category-id-51890 .product-list-subcategories::before {
  content: "Explora el catálogo";
  display: block;
  margin: 0 0 15px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: #2e2323;
}
body.category-id-51890 .product-list-subcategories .row { margin-left: -10px; margin-right: -10px; }
body.category-id-51890 .product-list-subcategories .row > div {
  display: block !important;
  flex: 0 0 33.3333%;
  max-width: 33.3333%;
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 20px;
}
body.category-id-51890 .product-list-subcategories .subcategory-image { display: none; }
body.category-id-51890 .product-list-subcategories .subcategory-name {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 100%;
  min-height: 92px;
  padding: 1rem 1.25rem;
  border: 1px solid #e7e9ec;
  border-radius: 8px;
  background: #fff;
  color: #2e2323 !important;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  transition: box-shadow .15s ease, border-color .15s ease, color .15s ease;
}
body.category-id-51890 .product-list-subcategories .subcategory-name:hover,
body.category-id-51890 .product-list-subcategories .subcategory-name:focus {
  box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
  border-color: #f07c00;
  color: #f07c00 !important;
  text-decoration: none;
}
body.category-id-51890 .product-list-subcategories .subcategory-name::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  border-radius: 8px;
}
@media (max-width: 991px) {
  body.category-id-51890 .product-list-subcategories .row > div { flex: 0 0 50%; max-width: 50%; }
}
@media (max-width: 479px) {
  body.category-id-51890 .product-list-subcategories .row > div { flex: 0 0 100%; max-width: 100%; }
}
