/* =========================================================
   PRODUCTS — overview, filters, category pages
   ========================================================= */
.filter-bar{display:flex; flex-wrap:wrap; gap:10px; margin-bottom:40px}
.filter-btn{
  padding:10px 18px; border-radius:40px; border:1px solid var(--steel-200); background:var(--white);
  color:var(--navy); font-size:14px; font-weight:700; transition:.25s;
}
.filter-btn:hover{border-color:var(--navy)}
.filter-btn.active{background:var(--navy); border-color:var(--navy); color:#fff}
.filter-btn .count{display:inline-block; margin-left:6px; font-size:12px; opacity:.6}
.filter-search{position:relative; max-width:360px; flex:1 1 260px; margin-left:auto}
.filter-search input{width:100%; padding:11px 16px 11px 42px; border:1px solid var(--steel-200); border-radius:40px; font-size:14.5px; font-weight:600; color:var(--navy)}
.filter-search input:focus{outline:none; border-color:var(--blue); box-shadow:0 0 0 4px rgba(23,75,115,.12)}
.filter-search i{position:absolute; left:16px; top:50%; transform:translateY(-50%); color:var(--steel)}
.product-item{transition:opacity .3s, transform .3s}
.product-item.is-hidden{display:none}
.no-results{display:none; text-align:center; padding:60px 20px; color:var(--steel)}
.no-results.show{display:block}

.product-card .card-media{aspect-ratio:1/1; background:linear-gradient(160deg, var(--light), #fff)}
.product-card .card-body-p{padding:22px 22px 24px}
.product-card h3{font-size:18px}
.product-card .meta{display:flex; justify-content:space-between; align-items:center; border-top:1px solid var(--steel-100); padding-top:14px; margin-top:auto}

.category-card{display:flex; flex-direction:column}
.category-card .card-media{aspect-ratio:16/10}
.category-card .cat-count{position:absolute; right:16px; top:16px; background:var(--white); color:var(--navy); font-size:12.5px; font-weight:800; padding:6px 12px; border-radius:30px; box-shadow:var(--shadow-sm)}

.cat-sidebar{position:sticky; top:110px; background:var(--light); border-radius:var(--radius); padding:26px}
.cat-sidebar h2{font-size:16px; letter-spacing:.12em; text-transform:uppercase; margin-bottom:16px}
.cat-sidebar ul{list-style:none; padding:0; margin:0}
.cat-sidebar a{display:flex; justify-content:space-between; align-items:center; padding:11px 14px; border-radius:var(--radius-sm); color:var(--navy); font-weight:600; font-size:14.5px}
.cat-sidebar a:hover{background:var(--white)}
.cat-sidebar a.active{background:var(--navy); color:#fff}
.cat-sidebar a i{font-size:11px; opacity:.6}
/* Product photos: supplied renders are on black backgrounds; drawings on white */
.product-card .card-media{background:#000}
.product-card .card-media img{object-fit:cover}
.chip-link{display:flex; align-items:center; gap:10px; padding:12px 14px; border:1px solid var(--steel-100); border-radius:var(--radius-sm); color:var(--navy); font-weight:700; font-size:14.5px; background:var(--white); transition:.25s}
.chip-link i{color:var(--blue); width:18px; text-align:center}
.chip-link:hover{border-color:var(--navy); color:var(--navy); transform:translateY(-2px)}
.model-table thead th{white-space:nowrap}
.model-table tbody th{width:auto; white-space:nowrap}
.model-table td{font-variant-numeric:tabular-nums}
/* Technical specifications page */
.spec-jump{display:flex; flex-wrap:wrap; gap:8px; position:sticky; top:84px; z-index:5; background:var(--white); padding:14px 0; margin-bottom:28px; border-bottom:1px solid var(--steel-100)}
.spec-jump a{padding:8px 14px; border:1px solid var(--steel-200); border-radius:30px; font-size:13.5px; font-weight:700; color:var(--navy)}
.spec-jump a:hover{background:var(--navy); color:#fff; border-color:var(--navy)}
.spec-cat{padding-top:30px; margin-bottom:56px; scroll-margin-top:150px}
.spec-item{border:1px solid var(--steel-100); border-radius:var(--radius); padding:22px; margin-bottom:20px; background:var(--white)}
.spec-item-head{display:flex; gap:16px; align-items:center; margin-bottom:16px}
.spec-item-head img{width:72px; height:72px; object-fit:cover; border-radius:8px; background:#000; flex:none}
.spec-item-head h3{font-size:18px; margin:0 0 4px}
.spec-item-head h3 a{color:var(--navy)}
.spec-item-head p{font-size:14.5px; margin:0}
.spec-item .table-responsive + .table-responsive{margin-top:12px}
.spec-compact th,.spec-compact td{padding:10px 14px; font-size:14px}
/* Datasheets page */
.ds-table td{vertical-align:middle}
.ds-table .ds-group th{background:var(--light); color:var(--blue); font-size:12.5px; letter-spacing:.14em; text-transform:uppercase; width:auto}
