/* Catalogue filters and the shared technical product cards. No external assets. */
.hc-theme .hc-catalog-intro { padding-block: 28px; }
.hc-theme .hc-catalog-intro h1 { font-size: clamp(25px, 3vw, 38px); overflow-wrap: anywhere; }
.hc-theme .hc-catalog-intro p:last-child { max-width: 760px; margin: 12px 0 0; color: #b8c7d1; font-size: 13px; line-height: 1.7; }
.hc-theme .hc-catalog-layout { display: grid; grid-template-columns: 238px minmax(0,1fr); gap: 26px; align-items: start; padding-block: 28px 54px; }
.hc-theme .hc-facets { min-width: 0; background: #fff; border: 1px solid var(--hc-line); border-radius: 12px; overflow: hidden; }
.hc-theme .hc-facet-heading { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 20px 17px; background: var(--hc-navy); color: #fff; }
.hc-theme .hc-facet-heading span { font-size: 9px; font-weight: 800; letter-spacing: .1em; color: var(--hc-signal); }
.hc-theme .hc-facet-heading h2 { margin: 5px 0 0; font-size: 18px; color: #fff; }
.hc-theme .hc-facet-heading a { font-size: 11px; color: #fff; white-space: nowrap; }
.hc-theme .hc-facet-group { border-bottom: 1px solid var(--hc-line); padding: 0 16px; }
.hc-theme .hc-facet-group summary { cursor: pointer; padding: 15px 0; color: var(--hc-navy); font-size: 12px; font-weight: 800; }
.hc-theme .hc-facet-group summary::marker { color: var(--hc-signal-dark); }
.hc-theme .hc-facet-values { display: grid; gap: 3px; padding-bottom: 13px; max-height: 260px; overflow-y: auto; }
.hc-theme .hc-facet-values label { display: flex; gap: 9px; align-items: flex-start; min-height: 32px; margin: 0; padding-block: 7px; color: #405566; cursor: pointer; font-size: 12px; line-height: 1.5; }
.hc-theme .hc-facet-values input[type=checkbox] { appearance: auto; -webkit-appearance: checkbox; width: 16px; height: 16px; min-width: 16px; margin: 1px 0 0; padding: 0; accent-color: #648d28; }
.hc-theme .hc-facet-values label span { overflow-wrap: anywhere; }
.hc-theme .hc-facet-empty { margin: 0; font-size: 12px; color: var(--hc-muted); }
.hc-theme .hc-apply-filters { display: flex; width: calc(100% - 32px); justify-content: center; margin: 16px; min-height: 44px; cursor: pointer; border: 0; }
.hc-theme .hc-catalog-results { min-width: 0; }
.hc-theme .hc-catalog-toolbar { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; padding: 0 0 18px; }
.hc-theme .hc-result-count { margin: 0; font-size: 12px; font-weight: 700; color: var(--hc-muted); }
.hc-theme .hc-catalog-sort { display: flex; gap: 8px; align-items: center; }
.hc-theme .hc-catalog-sort label { margin: 0; font-size: 11px; white-space: nowrap; }
.hc-theme .hc-catalog-sort select { min-height: 40px; width: 175px; border: 1px solid var(--hc-line); border-radius: 7px; background-color: #fff; padding: 6px 30px 6px 10px; color: var(--hc-navy); font-size: 12px; }
.hc-theme .hc-catalog-sort button { min-height: 40px; border: 1px solid var(--hc-navy); border-radius: 7px; padding: 7px 12px; background: var(--hc-navy); color: #fff; cursor: pointer; font-size: 12px; font-weight: 700; }
.hc-theme .hc-active-filters { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 0 18px; }
.hc-theme .hc-active-filters a { display: inline-flex; gap: 12px; align-items: center; min-height: 34px; padding: 7px 10px; border: 1px solid #d0dfb6; border-radius: 6px; background: #edf5e3; color: #294719; text-decoration: none; font-size: 11px; }
.hc-theme .hc-active-filters a span { font-size: 16px; line-height: 1; }
.hc-theme .hc-catalog-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.hc-theme .hc-catalog-grid .hc-product-card { padding: 0; margin: 0; }
.hc-theme .hc-catalog-grid .hc-product-body { padding: 15px 13px; }
.hc-theme .hc-catalog-grid .hc-product-body h3 { font-size: 13px; overflow-wrap: anywhere; min-height: 55px; }
.hc-theme .hc-catalog-grid .hc-product-body > small { font-size: 9px; }
.hc-theme .hc-catalog-grid .hc-product-meta { flex-wrap: wrap; row-gap: 10px; }
.hc-theme .hc-catalog-grid .hc-product-meta code { font-size: 10px; overflow-wrap: anywhere; }
.hc-theme .hc-catalog-grid .hc-product-meta b { font-size: 11px; }
.hc-theme .hc-catalog-grid .hc-product-meta .hc-card-price { margin-left: auto; }
.hc-theme .hc-catalog-grid .hc-product-actions a { min-height: 42px; padding-inline: 5px; }
.hc-theme .hc-product-meta b.is-on-backorder { color: #946300; }
.hc-theme .hc-catalog-pagination .page-numbers { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; list-style: none; margin: 28px 0 0; padding: 0; }
.hc-theme .hc-catalog-pagination li > .page-numbers { display: grid; place-items: center; min-width: 40px; height: 40px; margin: 0; padding: 6px; border: 1px solid var(--hc-line); border-radius: 7px; background: #fff; color: var(--hc-navy); text-decoration: none; }
.hc-theme .hc-catalog-pagination li > .current { background: var(--hc-navy); color: #fff; }
.hc-theme .hc-browse-all { display: inline-block; margin: 12px; color: var(--hc-navy); font-size: 12px; }
@media (max-width: 1100px) {
  .hc-theme .hc-catalog-layout { grid-template-columns: 210px minmax(0,1fr); gap: 18px; }
  .hc-theme .hc-catalog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 720px) {
  .hc-theme .hc-catalog-layout { grid-template-columns: minmax(0,1fr); gap: 22px; padding-top: 18px; }
  .hc-theme .hc-facets form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; }
  .hc-theme .hc-facet-heading, .hc-theme .hc-apply-filters { grid-column: 1 / -1; }
  .hc-theme .hc-facet-values { max-height: 150px; }
  .hc-theme .hc-facet-values label { min-height: 40px; }
  .hc-theme .hc-facet-group { height: 100%; }
  .hc-theme .hc-catalog-toolbar { align-items: flex-start; }
}
@media (max-width: 480px) {
  .hc-theme .hc-catalog-grid { grid-template-columns: minmax(0,1fr); }
  .hc-theme .hc-catalog-grid .hc-product-image { aspect-ratio: 1.7; }
  .hc-theme .hc-catalog-grid .hc-product-body h3 { min-height: 0; font-size: 15px; }
  .hc-theme .hc-catalog-sort { width: 100%; }
  .hc-theme .hc-catalog-sort select { flex: 1; min-width: 0; width: auto; }
  .hc-theme .hc-facet-group { padding-inline: 12px; }
}

/* Mobile-only filter disclosure; no-JS customers retain the complete form. */
.hc-theme .hc-mobile-filter-toggle[hidden],
.hc-theme .hc-facets form[hidden] { display: none !important; }
@media (max-width: 720px) {
  .hc-theme .hc-mobile-filter-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 52px; margin: 0; padding: 14px 17px; border: 0; border-radius: 0; background: var(--hc-navy); color: #fff; cursor: pointer; font: inherit; font-size: 13px; font-weight: 800; text-align: left; }
  .hc-theme .hc-mobile-filter-toggle > span:first-child { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
  .hc-theme .hc-mobile-filter-toggle small { border-radius: 5px; padding: 3px 6px; background: var(--hc-signal); color: var(--hc-navy); font-size: 10px; font-weight: 800; }
  .hc-theme .hc-filter-toggle-indicator { font-size: 20px; line-height: 1; color: var(--hc-signal); }
  .hc-theme .hc-mobile-filter-toggle[aria-expanded="true"] .hc-filter-toggle-indicator { transform: rotate(180deg); }
  .hc-theme .hc-mobile-filter-toggle:focus-visible { outline: 3px solid var(--hc-signal); outline-offset: -5px; }
}
