/* Systemtech Reference UI 1.5.0-dev16 — native catalog. */
.systemtech-reference-ui-v1.systemtech-reference-page-catalog {
  background: #fff;
}

.systemtech-reference-ui-v1 .st-catalog {
  width: min(calc(100% - var(--st-page-inset)),var(--st-container-storefront));
  margin-inline: auto;
  padding: 28px 0 46px;
  color: var(--st-color-ink);
}

.systemtech-reference-ui-v1 .st-catalog__head {
  min-width: 0;
  margin-bottom: 22px;
  padding: clamp(16px,2vw,26px);
  border: 1px solid var(--st-card-border);
  border-radius: var(--st-radius-panel);
  background: linear-gradient(112deg,#eaf4ff 0%,#f8fbff 57%,#ffffff 100%);
  box-shadow: inset 4px 0 0 var(--st-color-action),var(--st-shadow-card);
}

.systemtech-reference-ui-v1 .st-catalog__breadcrumb {
  margin-bottom: 12px;
  color: #5f7690;
  font-size: 12px;
}

.systemtech-reference-ui-v1 .st-catalog__eyebrow {
  color: var(--st-color-link);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
}

.systemtech-reference-ui-v1 .st-catalog__head h1 {
  margin: 4px 0 8px;
  color: var(--st-color-primary);
  font-size: clamp(2.2rem,3.3vw,3.35rem);
  line-height: 1;
  letter-spacing: -.055em;
}

.systemtech-reference-ui-v1 .st-catalog__description {
  max-width: 820px;
  margin: 0;
  color: #65758a;
  font-size: 13px;
}

.systemtech-reference-ui-v1.systemtech-reference-catalog-search-results .st-catalog__head {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(360px,430px);
  column-gap: 44px;
  align-items: end;
}

.systemtech-reference-ui-v1.systemtech-reference-catalog-search-results .st-catalog__head > :not(.st-catalog-search) {
  grid-column: 1;
}

.systemtech-reference-ui-v1.systemtech-reference-catalog-search-results .st-catalog-search {
  grid-column: 2;
  grid-row: 1 / span 4;
  align-self: end;
  margin: 0 0 4px;
}

.systemtech-reference-ui-v1 .st-catalog-search__box {
  min-height: 46px;
  padding: 4px;
  border: 1px solid #d1dce7;
  border-radius: var(--st-radius-control);
  background: #fff;
  box-shadow: none;
}

.systemtech-reference-ui-v1 .st-catalog-search input {
  min-height: 38px;
  font-size: 12px;
}

.systemtech-reference-ui-v1 .st-catalog-search button {
  min-height: 38px;
  border-radius: 4px;
}

.systemtech-reference-ui-v1.systemtech-reference-category-archive .st-catalog__head {
  min-height: 155px;
  display: grid;
  grid-template-columns: minmax(0,1.15fr) minmax(340px,.85fr);
  align-content: center;
  column-gap: 34px;
}

.systemtech-reference-ui-v1.systemtech-reference-category-archive .st-catalog__head .st-catalog__category-image {
  width: 100%;
  height: 150px;
  object-fit: contain;
  grid-column: 2;
  grid-row: 1 / span 5;
  border-radius: var(--st-radius-card);
  background: #f4f7fb;
}

.systemtech-reference-ui-v1.systemtech-reference-category-archive .st-catalog__head:not(:has(.st-catalog__category-image)) { grid-template-columns: 1fr; min-height: 0; }

.systemtech-reference-ui-v1.systemtech-reference-category-archive .st-catalog__head > :not(.st-catalog-search):not(.st-catalog__category-image) {
  grid-column: 1;
}

.systemtech-reference-ui-v1.systemtech-reference-category-archive .st-catalog-search {
  display: block;
  grid-column: 1;
  grid-row: auto;
  min-width: 0;
  width: min(100%, 560px);
  margin: 12px 0 0;
}

.systemtech-reference-ui-v1 .st-category-explorer {
  margin-bottom: 22px;
}

.systemtech-reference-ui-v1 .st-category-explorer__head h2 {
  font-size: 18px;
}

.systemtech-reference-ui-v1 .st-catalog-nav {
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 8px;
}

.systemtech-reference-ui-v1 .st-catalog-nav__item {
  min-height: 52px;
  padding: 10px 12px;
  border: 1px solid #dce5ed;
  border-radius: 6px;
  color: #25364b;
  background: #f8fafc;
  font-size: 11px;
  box-shadow: none;
}

.systemtech-reference-ui-v1 .st-catalog__workspace {
  grid-template-columns: var(--st-sidebar-width) minmax(0,1fr);
  gap: 24px;
}

.systemtech-reference-ui-v1.st-reference-catalog-nav-enhanced .st-category-explorer {
  display: none;
}

.systemtech-reference-ui-v1 .st-reference-sidebar-categories {
  padding: 13px 14px 4px;
  border-bottom: 1px solid #e3eaf1;
}

.systemtech-reference-ui-v1 .st-reference-sidebar-categories > strong {
  display: block;
  margin-bottom: 8px;
  color: #18253a;
  font-size: 12px;
}

.systemtech-reference-ui-v1 .st-reference-sidebar-categories .st-catalog-nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
}

.systemtech-reference-ui-v1 .st-reference-sidebar-categories .st-catalog-nav__item {
  min-height: 32px;
  padding: 0 7px;
  border: 0;
  color: #405169;
  background: transparent;
  font-size: 10.5px;
}

.systemtech-reference-ui-v1 .st-reference-sidebar-categories .st-catalog-nav__item:hover {
  color: var(--st-color-link);
  background: #edf6ff;
}

.systemtech-reference-ui-v1 .st-catalog__sidebar {
  top: var(--st-sticky-content-offset);
  border: 1px solid var(--st-color-line);
  border-radius: var(--st-radius-card);
  background: var(--st-gradient-panel);
  box-shadow: 0 7px 22px rgb(11 31 59 / 8%),inset 0 1px 0 #fff;
}

.systemtech-reference-ui-v1 .st-sidebar__head {
  min-height: 51px;
  padding: 0 15px;
  border-bottom: 1px solid #e3eaf1;
}

.systemtech-reference-ui-v1 .st-filter-form {
  padding: 0 14px 15px;
}

.systemtech-reference-ui-v1 .st-filter {
  padding: 15px 0;
  border-bottom: 1px solid #e5ebf1;
}

.systemtech-reference-ui-v1 .st-filter legend {
  color: #18253a;
  font-size: 12px;
  font-weight: 800;
}

.systemtech-reference-ui-v1 :where(.st-filter__options label,.st-filter__check) {
  min-height: 31px;
  color: #526176;
  font-size: 11px;
}

.systemtech-reference-ui-v1 .st-filter__options input,
.systemtech-reference-ui-v1 .st-filter__check input {
  width: 16px;
  height: 16px;
  accent-color: var(--st-color-accent);
}

.systemtech-reference-ui-v1 .st-filter-actions {
  padding-top: 13px;
}

.systemtech-reference-ui-v1 .st-catalog__results {
  scroll-margin-top: var(--st-sticky-content-offset);
}

.systemtech-reference-ui-v1 .st-results__tools {
  min-height: 48px;
  margin-bottom: 12px;
}

.systemtech-reference-ui-v1 .st-results__summary,
.systemtech-reference-ui-v1 .st-sort {
  color: var(--st-color-muted);
  font-size: 13px;
}

.systemtech-reference-ui-v1 .st-sort select {
  min-height: var(--st-control-height);
  border-radius: var(--st-radius-control);
  font-size: 11px;
}

.systemtech-reference-ui-v1 .st-product-grid {
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 12px;
}

.systemtech-reference-ui-v1 .st-product-card {
  border: 1px solid var(--st-card-border);
  border-radius: var(--st-radius-card);
  background: #fff;
  box-shadow: var(--st-shadow-product-card);
}

.systemtech-reference-ui-v1 .st-product-card:hover {
  transform: translateY(-2px);
  border-color: var(--st-card-border-hover);
  box-shadow: var(--st-shadow-hover);
}

.systemtech-reference-ui-v1 .st-pagination {
  margin-top: 22px;
}

.systemtech-reference-ui-v1 .st-pagination :where(a,span) {
  min-width: var(--st-control-height);
  height: var(--st-control-height);
  border-radius: 5px;
  font-size: 11px;
}

@media (max-width: 1180px) {
  .systemtech-reference-ui-v1 .st-product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .systemtech-reference-ui-v1.systemtech-reference-catalog-search-results .st-catalog__head { grid-template-columns: 1fr; }
  .systemtech-reference-ui-v1.systemtech-reference-catalog-search-results .st-catalog-search { grid-column: 1; grid-row: auto; width: min(100%,560px); margin-top: 12px; }
}

@media (max-width: 900px) {
  .systemtech-reference-ui-v1 .st-catalog__workspace { grid-template-columns: 1fr; }
  .systemtech-reference-ui-v1 .st-product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .systemtech-reference-ui-v1.systemtech-reference-category-archive .st-catalog__head { grid-template-columns: 1fr; }
  .systemtech-reference-ui-v1.systemtech-reference-category-archive .st-catalog__head .st-catalog__category-image { display: none; }
}

@media (max-width: 782px) {
  .systemtech-reference-ui-v1 .st-catalog { width: calc(100% - var(--st-page-inset)); padding-top: 18px; }
  .systemtech-reference-ui-v1 .st-catalog-nav { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .systemtech-reference-ui-v1 .st-catalog__sidebar { top: 0; }
  .systemtech-reference-ui-v1 .st-mobile-toolbar { top: 0; background: rgb(255 255 255 / 96%); }
}

/* dev18: Woo owns brand, tag and sale queries; Theme owns their presentation. */
body.systemtech-reference-ui-v1.systemtech-reference-woo-archive main { width: min(calc(100% - var(--st-page-inset)),var(--st-container-storefront)); margin-inline: auto; padding-block: 28px 48px; }
body.systemtech-reference-ui-v1.systemtech-reference-woo-archive ul.products { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 20px; padding: 0; margin: 24px 0; }
body.systemtech-reference-ui-v1.systemtech-reference-woo-archive ul.products::before,
body.systemtech-reference-ui-v1.systemtech-reference-woo-archive ul.products::after { content: none; }
body.systemtech-reference-ui-v1.systemtech-reference-woo-archive ul.products li.product { float: none; width: auto; min-width: 0; margin: 0; padding: 18px; display: flex; flex-direction: column; border: 1px solid var(--st-card-border); border-radius: var(--st-radius-card); background: white; box-shadow: var(--st-shadow-product-card); transition: transform var(--st-transition-fast),border-color var(--st-transition-fast),box-shadow var(--st-transition-fast); }
body.systemtech-reference-ui-v1.systemtech-reference-woo-archive ul.products li.product:hover { transform: translateY(-2px); border-color: var(--st-card-border-hover); box-shadow: var(--st-shadow-hover); }
body.systemtech-reference-ui-v1.systemtech-reference-woo-archive li.product img { width: 100%; height: 190px; object-fit: contain; }
body.systemtech-reference-ui-v1.systemtech-reference-woo-archive li.product .woocommerce-loop-product__title { font-size: 16px; line-height: 1.4; }
body.systemtech-reference-ui-v1.systemtech-reference-woo-archive li.product .price { font-size: 20px; color: var(--st-color-primary); }
body.systemtech-reference-ui-v1.systemtech-reference-woo-archive li.product .button { min-height: var(--st-control-height); display: inline-flex; align-items: center; justify-content: center; margin-top: auto; border-radius: var(--st-radius-control); }
@media (max-width: 1040px) {
 body.systemtech-reference-ui-v1.systemtech-reference-woo-archive ul.products { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 782px) {
 body.systemtech-reference-ui-v1.systemtech-reference-woo-archive main { width: calc(100% - var(--st-page-inset)); }
 body.systemtech-reference-ui-v1.systemtech-reference-woo-archive ul.products { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
}
@media (max-width: 420px) {
 body.systemtech-reference-ui-v1.systemtech-reference-woo-archive ul.products { grid-template-columns: minmax(0,1fr); }
}

/* DEV28 WIP8: shared Product Card catalog presentation; data stays Catalog Core-owned. */
/* Finish the native catalog geometry after its compatibility stylesheet. */
body.systemtech-reference-ui-v1 .st-catalog .st-catalog__head h1 { font-size: clamp(28px,3vw,38px); line-height: 1.15; letter-spacing: -.025em; }
body.systemtech-reference-ui-v1 .st-catalog .st-product-card { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border-radius: 7px; }
body.systemtech-reference-ui-v1 .st-catalog .st-product-card__media { display: grid; place-items: center; height: 190px; min-height: 0; aspect-ratio: auto; padding: 16px; border-bottom:1px solid var(--st-card-media-divider); background: var(--st-gradient-card-media); }
body.systemtech-reference-ui-v1 .st-catalog .st-product-card__media img { width: 100%; height: 100%; max-height: 158px; object-fit: contain; }
body.systemtech-reference-ui-v1 .st-catalog .st-product-card__placeholder { width:70%;height:120px;border-radius:6px;background:linear-gradient(rgb(244 247 251 / 84%),rgb(244 247 251 / 84%)),url("../../brand/systemtech-logo-primary.png") center/120px auto no-repeat var(--st-color-soft); }
body.systemtech-reference-ui-v1 .st-catalog .st-product-card__body { display: flex; flex: 1; flex-direction: column; min-height: 0; gap: 8px; padding: 14px; border-top: 1px solid #dfeaf5; }
body.systemtech-reference-ui-v1 .st-catalog .st-product-card__brand { margin: 0; font-size: 12px; font-weight: 500; color: #52647a; }
body.systemtech-reference-ui-v1 .st-catalog .st-product-card h2 { min-height: 42px; margin: 0; font-size: 15px; font-weight: 750; line-height: 1.4; }
body.systemtech-reference-ui-v1 .st-catalog .st-product-card h2 a { color: #0b1f3b; text-decoration: none; }
body.systemtech-reference-ui-v1 .st-catalog .st-product-card__price { margin-top:auto;color:var(--st-color-primary);font-size:22px;font-weight:800;line-height:1.25;letter-spacing:-.025em; }
body.systemtech-reference-ui-v1 .st-catalog .st-product-card__footer { min-height: 0; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-end; gap: 10px; }
body.systemtech-reference-ui-v1 .st-catalog .st-product-card__stock { margin: 0; color: #64748b; font-size: 12px; }
body.systemtech-reference-ui-v1 .st-catalog .st-product-card__stock i { width: 8px; height: 8px; display: inline-block; margin-right: 5px; border-radius: 50%; background: #f59e0b; }
body.systemtech-reference-ui-v1 .st-catalog .st-product-card__stock.is-instock i { background: #10b85f; }
body.systemtech-reference-ui-v1 .st-catalog .st-product-card__stock.is-outofstock i { background: #9a3c33; }
body.systemtech-reference-ui-v1 .st-catalog .st-product-card__action { width: 100%; min-width: 0; min-height: 44px; height: auto; display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0; padding: 10px 12px; border: 1px solid var(--st-color-action); border-radius: 6px; background: var(--st-gradient-action); color: #fff; font-size: 13px; font-weight: 800; line-height: 1.3; text-align: center; text-decoration: none; box-shadow:0 4px 12px rgb(0 91 192 / 15%); }
body.systemtech-reference-ui-v1 .st-catalog .st-product-card__action-label { position: static; width: auto; height: auto; padding: 0; margin: 0; overflow: visible; clip: auto; white-space: normal; border: 0; }
body.systemtech-reference-ui-v1 .st-catalog .st-product-card__action:hover { border-color:var(--st-color-action-hover); background:var(--st-gradient-action-hover); color:#fff; }
body.systemtech-reference-ui-v1 .st-catalog .st-sort,
body.systemtech-reference-ui-v1 .st-catalog .st-results__summary,
body.systemtech-reference-ui-v1 .st-catalog .st-sort select { font-size: 14px; }
body.systemtech-reference-ui-v1 .st-reference-sidebar-categories .st-catalog-nav__item { font-size: 13px; min-height: 38px; }
@media (min-width: 901px) {
  body.systemtech-reference-ui-v1 .st-catalog .st-catalog__sidebar { position: static; max-height: none; overflow: visible; scrollbar-gutter: auto; }
}
@media (max-width: 900px) {
  body.systemtech-reference-ui-v1 .st-catalog__workspace { grid-template-columns: minmax(0,1fr); }
}

/* WIP25 Visual2: visual consistency and overflow-safe supplier presentation. */
body.systemtech-reference-ui-v1 .st-catalog__head { background:radial-gradient(ellipse at 100% 0%,rgb(35 131 245 / 16%),transparent 56%),linear-gradient(115deg,#e8f3ff 0%,#f5faff 58%,#fff 100%); }
body.systemtech-reference-ui-v1 .st-catalog .st-product-card__footer,body.systemtech-reference-ui-v1 .st-catalog .st-product-card__footer .st-availability { min-width:0; max-width:100%; }
body.systemtech-reference-ui-v1 .st-catalog .st-product-card__footer :is(.st-availability__own,.st-availability__supplier,.st-availability__dispatch,.st-availability__stale) { min-width:0; overflow-wrap:anywhere; }
body.systemtech-reference-ui-v1 .st-catalog .st-product-card__footer .st-availability :is(.st-availability__own,.st-availability__supplier) > span:last-child { min-width:0; overflow-wrap:anywhere; }
body.systemtech-reference-ui-v1 .st-catalog .st-product-card__action:focus-visible { outline:2px solid #004fa9; outline-offset:2px; }

/* DEV28 WIP18: prioritize availability, collapse technical facets and keep the desktop filter rail viewport-bound. */
body.systemtech-reference-ui-v1 .st-catalog .st-filter-form{padding:0 14px}
body.systemtech-reference-ui-v1 .st-catalog .st-filter{padding:11px 0}
body.systemtech-reference-ui-v1 .st-catalog .st-filter legend{padding-bottom:7px;font-size:12px}
body.systemtech-reference-ui-v1 .st-catalog :where(.st-filter__options label,.st-filter__check){min-height:34px;padding:4px 3px;color:#4d6077;font-size:12px}
body.systemtech-reference-ui-v1 .st-catalog .st-filter__options{max-height:232px}
body.systemtech-reference-ui-v1 .st-catalog .st-filter__option-search input{min-height:36px;font-size:12px}
body.systemtech-reference-ui-v1 .st-catalog .st-filter__range input{min-height:37px}
body.systemtech-reference-ui-v1 .st-catalog .st-reference-sidebar-categories{margin:0;padding:10px 0 8px;border-bottom:1px solid #e5ebf1}
body.systemtech-reference-ui-v1 .st-catalog .st-reference-sidebar-categories>strong{margin-bottom:5px;font-size:12px}
body.systemtech-reference-ui-v1 .st-catalog .st-reference-sidebar-categories .st-catalog-nav{gap:0}
body.systemtech-reference-ui-v1 .st-catalog .st-reference-sidebar-categories .st-catalog-nav__item{min-height:34px;padding:0 4px;font-size:12px}
body.systemtech-reference-ui-v1 .st-catalog .st-advanced>summary{min-height:42px;padding:10px 0;font-size:12.5px}
body.systemtech-reference-ui-v1 .st-catalog .st-filter-disclosure>summary{min-height:38px;padding:7px 1px;font-size:12px}
body.systemtech-reference-ui-v1 .st-catalog .st-filter--nested{padding:3px 0 8px}
body.systemtech-reference-ui-v1 .st-catalog .st-filter-actions{grid-template-columns:1fr;gap:2px;margin-top:0;padding:12px 0 10px;border-top:1px solid #e5ebf1;background:linear-gradient(180deg,rgb(248 251 254 / 94%),#f8fbfe 20%);backdrop-filter:blur(8px)}
body.systemtech-reference-ui-v1 .st-catalog .st-filter-actions>button:first-child{width:100%;min-height:40px;border-radius:7px}
body.systemtech-reference-ui-v1 .st-catalog .st-filter-actions__clear{width:100%;min-height:34px;font-size:12px}
body.systemtech-reference-ui-v1 .st-catalog .st-results__summary-tools{gap:10px 12px}
body.systemtech-reference-ui-v1 .st-catalog .st-stock-quick{min-height:34px;border-radius:999px;font-size:12px}
@media (min-width:901px){body.systemtech-reference-ui-v1 .st-catalog .st-catalog__sidebar{position:sticky;top:var(--st-sticky-content-offset);max-height:calc(100vh - var(--st-sticky-content-offset) - 12px);max-height:calc(100dvh - var(--st-sticky-content-offset) - 12px);overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}}
@media (max-width:782px){body.systemtech-reference-ui-v1 .st-catalog :where(.st-filter__options label,.st-filter__check),body.systemtech-reference-ui-v1 .st-catalog .st-filter-disclosure>summary{min-height:44px}body.systemtech-reference-ui-v1 .st-catalog .st-filter-actions{padding-bottom:max(10px,env(safe-area-inset-bottom))}}

/* DEV28 WIP19: catalog filter UX2 final reference-theme overrides. */
body.systemtech-reference-ui-v1 .st-catalog :where(.st-advanced>summary,.st-filter-disclosure>summary){position:relative;list-style:none;outline-offset:2px}
body.systemtech-reference-ui-v1 .st-catalog :where(.st-advanced>summary,.st-filter-disclosure>summary)::-webkit-details-marker{display:none}
body.systemtech-reference-ui-v1 .st-catalog :where(.st-advanced>summary,.st-filter-disclosure>summary)::before{content:'›';display:grid;place-items:center;width:14px;min-width:14px;height:18px;color:#47708f;font-size:17px;font-weight:800;line-height:1;transform-origin:center;transition:transform .14s ease,color .14s ease}
body.systemtech-reference-ui-v1 .st-catalog :where(.st-advanced[open]>summary,.st-filter-disclosure[open]>summary)::before{transform:rotate(90deg);color:#0f67c9}
body.systemtech-reference-ui-v1 .st-catalog :where(.st-advanced>summary,.st-filter-disclosure>summary):hover{background:#f7fafc}
body.systemtech-reference-ui-v1 .st-catalog :where(.st-advanced>summary,.st-filter-disclosure>summary):focus-visible{outline:2px solid #77aee9;border-radius:5px}
body.systemtech-reference-ui-v1 .st-catalog .st-advanced>summary{margin-inline:-4px;padding-inline:4px;border-radius:6px}
body.systemtech-reference-ui-v1 .st-catalog .st-filter-disclosure>summary{margin-inline:-3px;padding-inline:3px;border-radius:5px}
body.systemtech-reference-ui-v1 .st-catalog .st-filter__options{overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}
body.systemtech-reference-ui-v1 .st-catalog .st-filter__options label{min-width:0}
body.systemtech-reference-ui-v1 .st-catalog .st-filter__options label>span{min-width:0;overflow-wrap:break-word;word-break:normal}
body.systemtech-reference-ui-v1 .st-catalog .st-filter__options label>small{white-space:nowrap}
body.systemtech-reference-ui-v1 .st-catalog .st-filter-form>[data-st-primary-filters] .st-filter__options{max-height:196px}
body.systemtech-reference-ui-v1 .st-catalog .st-filter-disclosure .st-filter__options{max-height:212px}
body.systemtech-reference-ui-v1 .st-catalog .st-filter-actions{box-shadow:0 -10px 18px -18px rgb(18 49 78 / 60%)}
body.systemtech-reference-ui-v1 .st-catalog .st-stock-quick__indicator{display:grid;place-items:center}
body.systemtech-reference-ui-v1 .st-catalog .st-stock-quick.is-active .st-stock-quick__indicator::after{content:'✓';color:#fff;font-size:9px;font-weight:900;line-height:1}
@media (min-width:901px){
  body.systemtech-reference-ui-v1 .st-catalog .st-catalog__sidebar{scrollbar-width:thin;scrollbar-color:#aebdcb transparent}
  body.systemtech-reference-ui-v1 .st-catalog .st-catalog__sidebar::-webkit-scrollbar{width:7px}
  body.systemtech-reference-ui-v1 .st-catalog .st-catalog__sidebar::-webkit-scrollbar-track{background:transparent}
  body.systemtech-reference-ui-v1 .st-catalog .st-catalog__sidebar::-webkit-scrollbar-thumb{border-radius:999px;background:#aebdcb}
  body.systemtech-reference-ui-v1 .st-catalog .st-filter__options{scrollbar-width:thin;scrollbar-color:#bcc8d3 transparent}
  body.systemtech-reference-ui-v1 .st-catalog .st-filter__options::-webkit-scrollbar{width:6px;height:0}
  body.systemtech-reference-ui-v1 .st-catalog .st-filter__options::-webkit-scrollbar-track{background:transparent}
  body.systemtech-reference-ui-v1 .st-catalog .st-filter__options::-webkit-scrollbar-thumb{border-radius:999px;background:#bcc8d3}
}
@media (max-width:782px){
  body.systemtech-reference-ui-v1 .st-catalog .st-filter-form>[data-st-primary-filters] .st-filter__options,
  body.systemtech-reference-ui-v1 .st-catalog .st-filter-disclosure .st-filter__options{max-height:232px}
}


/* WIP25 Visual7: compact the ALL-PRODUCTS desktop catalog head. The main
   site header already offers a search; keep catalog-specific search fully
   functional but stop spending a full extra row of vertical space on it.
   Category archives retain their own contextual title/image design. */
@media (min-width:1181px) {
  body.systemtech-reference-ui-v1.systemtech-reference-page-catalog:not(.systemtech-reference-category-archive) .st-catalog__head {
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(300px,440px);
    grid-template-rows:auto auto auto;
    column-gap:clamp(22px,3vw,52px);
    align-items:center;
    padding-block:18px;
    min-height:0;
  }
  body.systemtech-reference-ui-v1.systemtech-reference-page-catalog:not(.systemtech-reference-category-archive) .st-catalog__head > .st-catalog__breadcrumb {
    grid-column:1 / -1;grid-row:1;margin:0 0 10px;min-width:0;
  }
  body.systemtech-reference-ui-v1.systemtech-reference-page-catalog:not(.systemtech-reference-category-archive) .st-catalog__head > .st-catalog__eyebrow {
    grid-column:1;grid-row:2;align-self:end;margin:0 0 3px;
  }
  body.systemtech-reference-ui-v1.systemtech-reference-page-catalog:not(.systemtech-reference-category-archive) .st-catalog__head > h1 {
    grid-column:1;grid-row:3;align-self:start;margin:0;
  }
  body.systemtech-reference-ui-v1.systemtech-reference-page-catalog:not(.systemtech-reference-category-archive) .st-catalog__head > .st-catalog-search {
    grid-column:2;grid-row:2 / span 2;align-self:center;margin:0;
    width:100%;max-width:none;min-width:0;
  }
  body.systemtech-reference-ui-v1.systemtech-reference-page-catalog:not(.systemtech-reference-category-archive) .st-catalog__head > .st-catalog__description {
    grid-column:1;grid-row:4;
  }
  body.systemtech-reference-ui-v1.systemtech-reference-page-catalog:not(.systemtech-reference-category-archive) .st-catalog-search__box {
    width:100%;
  }
}
/* At intermediate desktop widths, retain the proven single-column order. */
@media (min-width:783px) and (max-width:1180px) {
  body.systemtech-reference-ui-v1.systemtech-reference-page-catalog .st-catalog__head > .st-catalog-search {
    grid-column:1;grid-row:auto;margin-top:12px;max-width:100%;
  }
}

/* WIP25 SEARCHSCOPE1: category search must remain visible even with the old
   Systemtech brand stylesheet (which has display:none !important). The scope
   of the actual Core query comes from the server-side category state. */
body.systemtech-brand-v150-dev10.systemtech-reference-ui-v1.systemtech-reference-category-archive .st-catalog__head .st-catalog-search {
  display: block !important;
  grid-column: 1;
  grid-row: auto;
  min-width: 0;
  width: min(100%, 560px);
  margin: 12px 0 0 !important;
}
body.systemtech-reference-ui-v1.systemtech-reference-category-archive .st-catalog-search > label {
  display: grid;
  gap: 7px;
}
@media (max-width: 900px) {
  body.systemtech-brand-v150-dev10.systemtech-reference-ui-v1.systemtech-reference-category-archive .st-catalog-search {
    grid-column: 1;
    width: 100%;
  }
}
