/* ==========================================================================
   Unboxkey — catalog.css (software/index.html). Loads after site.css and only
   extends it (search, chips, tile-grid, empty, teaser).
   ========================================================================== */
.catalog-head { padding-top: 16px; }
@media (min-width: 960px) { .catalog-head { padding-top: 22px; } }
.catalog-title { display: grid; gap: 6px; margin: 14px 0 20px; }
@media (min-width: 960px) { .catalog-title { margin: 22px 0 26px; } }

.catalog-tools { display: grid; gap: 14px; }
.catalog-search { max-width: 640px; }
.catalog-search .search-field { border-radius: 12px; }
.catalog-search .search-ico { width: 20px; height: 20px; margin-left: 14px; }
.catalog-search .search-input { height: 50px; font-size: 16.5px; padding: 0 12px; }
.catalog-clear { width: 40px; height: 40px; margin-right: 4px; color: var(--grey); }
.catalog-clear svg { width: 18px; height: 18px; }
.catalog-clear:hover { color: var(--ink); }

.catalog-chips .chip { cursor: pointer; }
.catalog-chips .chip .count { font-size: 13px; }

.catalog-body { padding-top: 18px; padding-bottom: clamp(24px, 4vw, 40px); }
.catalog-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding-bottom: 14px; margin-bottom: 22px; border-bottom: 1px solid var(--rule);
}
.catalog-count { font-size: 14.5px; color: var(--grey); font-variant-numeric: tabular-nums; }
.catalog-count strong { color: var(--ink); }
.catalog-sort { display: flex; align-items: center; gap: 10px; }
.catalog-sort-label { font-size: 14.5px; font-weight: 600; color: var(--grey); white-space: nowrap; }
.catalog-sort .select { width: auto; min-height: 42px; padding-top: 8px; padding-bottom: 8px; font-size: 15px; }

.catalog-empty { margin-top: 4px; }
.catalog-empty .cluster { justify-content: center; margin-top: 6px; }

/* Without JS every tile is shown; filters/sort do nothing, so hide them. */
html:not(.js) [data-catalog-tools] { display: none; }

@media (max-width: 559px) {
  .catalog-title h1 { font-size: 32px; }
  .catalog-sort-label { font-size: 14px; }
  .catalog-sort .select { font-size: 14.5px; padding-left: 12px; }
}
