/* Catalog hub: category blocks as a product grid */

.cat-board.cat,
body[data-theme="editorial"] .cat-board.cat,
body[data-skin] .cat-board.cat {
  background: #fff;
  background-image: none;
  padding: 0;
  border-radius: 16px;
  overflow: visible;
  box-shadow: inset 0 0 0 1px rgba(28, 93, 104, 0.12);
}
.cat-board.cat::before,
.cat-board.cat::after {
  content: none;
  display: none;
}
.cat-board .cat-frost,
body[data-skin] .cat-board .cat-frost {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  padding: 16px 18px 18px;
  border-radius: 0;
  height: auto;
  min-height: 0;
  gap: 14px;
}
.cat-board .cat-top b {
  border-bottom: 0;
  padding-bottom: 0;
  font-family: "Source Serif 4", serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--elmet-ink, #1c5d68);
}
.cat-board-top {
  min-width: 0;
}
.cat-board-top > div:first-child {
  min-width: 0;
  flex: 1;
}
.cat-board-top p {
  color: var(--muted, #4a7d86);
  opacity: 1;
  margin-top: 4px;
}
.cat-board .cat-go {
  font-size: 13px;
  font-weight: 650;
  color: var(--elmet-ink, #1c5d68);
}
.cat-board .cat-go:hover {
  color: var(--elmet-aqua-deep, #3ea0b0);
}
.cat-board .cat-count {
  font-size: 12px;
  color: var(--muted, #4a7d86);
  font-weight: 600;
}
.cat-board .cat-foot {
  flex: none;
}
.cat-board-rail {
  grid-template-columns: 1fr;
}
.cat-board-arr {
  display: none;
}
.cat-board-previews {
  display: grid;
  grid-auto-flow: row;
  grid-auto-columns: unset;
  grid-template-columns: repeat(auto-fill, minmax(154px, 1fr));
  overflow: visible;
  gap: 12px;
}
.cat-mini {
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(28, 93, 104, 0.08);
  min-width: 0;
}

@media (max-width: 1100px) {
  .cat-board-previews { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cat-board-previews .cat-mini:nth-child(n+5) { display: none; }
}

@media (max-width: 900px) {
  .cat-board-previews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-board-previews .cat-mini:nth-child(n+5) { display: none; }
}
