/* Match the compact space below product-page breadcrumbs. */
body#category #wrapper .breadcrumb__wrapper { margin-bottom:0!important; }
body#category #center-column { padding-top:12px!important; }

/* Equipment categories: reuse the product section-title artwork. */
body#category:is(.category-id-6,.category-id-3,.category-id-11) .category__header {
  background:linear-gradient(90deg,rgba(2,18,34,.78),rgba(2,18,34,.6) 65%,rgba(2,18,34,.35)),url("../img/bws80-copper-lightning-v1.jpg") center 58% / cover no-repeat #061b30;
  border-color:#244b70;
  color:#fff;
}
body#category:is(.category-id-6,.category-id-3,.category-id-11) .category__header h1,
body#category:is(.category-id-6,.category-id-3,.category-id-11) .category__description,
body#category:is(.category-id-6,.category-id-3,.category-id-11) .category__description p {
  color:#fff;
  text-shadow:0 1px 3px #001020;
}
body#category:is(.category-id-6,.category-id-3,.category-id-11) .category__header .subcategory__list > a.subcategory__link {
  background:rgba(6,27,48,.86)!important;
  border-color:#8cb9e5!important;
  color:#fff!important;
}
body#category:is(.category-id-6,.category-id-3,.category-id-11) .category__header .subcategory__list > a.subcategory__link .subcategory__name {
  color:#fff!important;
}
body#category:is(.category-id-6,.category-id-3,.category-id-11) .category__header .subcategory__list > a.subcategory__link:hover,
body#category:is(.category-id-6,.category-id-3,.category-id-11) .category__header .subcategory__list > a.subcategory__link:focus-visible {
  background:#125892!important;
  border-color:#fff!important;
}
body#category:is(.category-id-6,.category-id-3,.category-id-11) .category__header .subcategory__link:focus-visible {
  outline:3px solid #fff;
  outline-offset:3px;
}
@media(max-width:767.98px) {
  body#category:is(.category-id-6,.category-id-3,.category-id-11) .category__header {
    padding:20px 16px!important;
    border:1px solid #244b70;
    border-radius:12px;
  }
}

/* Keep native mobile offcanvas filters; reclaim the sidebar space. */
body#category.category-id-11.bd-inline-filters #left-column { display:contents!important; }
body#category.category-id-11.bd-inline-filters #center-column { flex:0 0 100%;width:100%;max-width:100%; }
.bd-filter-menu { display:none; }
@media(min-width:768px) {
  body#category.category-id-11.bd-inline-filters #products { display:grid;grid-template-columns:minmax(140px,1fr) minmax(180px,260px) minmax(260px,1fr);column-gap:20px;align-items:start; }
  body#category.category-id-11.bd-inline-filters #products > * { grid-column:1 / -1;min-width:0; }
  body#category.category-id-11.bd-inline-filters #products > #js-product-list-top { grid-column:1 / -1;grid-row:1; }
  body#category.category-id-11.bd-inline-filters .products__selection { display:grid;grid-template-columns:minmax(140px,1fr) minmax(180px,260px) minmax(260px,1fr);gap:20px;align-items:center; }
  body#category.category-id-11.bd-inline-filters .products__count { grid-column:1;width:auto; }
  body#category.category-id-11.bd-inline-filters .products__sort { grid-column:3;width:auto; }
  body#category.category-id-11.bd-inline-filters .products__sort-dropdown { flex:1;min-width:0; }
  body#category.category-id-11.bd-inline-filters #products > .bd-filter-menu { display:block;grid-column:2;grid-row:1;position:relative;margin:12px 0;z-index:20; }
  .bd-filter-menu > summary { display:flex;align-items:center;justify-content:space-between;list-style:none;cursor:pointer;min-height:40px;padding:8px 12px;border:1px solid #d5dfeb;border-radius:6px;background:#fff;color:#102d4b;font-weight:600;
  }
  .bd-filter-menu > summary::-webkit-details-marker { display:none; }
  .bd-filter-menu > summary::after { content:'';width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);margin-left:16px;margin-top:-4px; }
  .bd-filter-menu > summary:focus-visible { outline:3px solid #087cff;outline-offset:3px; }
  body#category.category-id-11 .bd-filter-menu #search_filters_wrapper { display:block!important;position:absolute;left:0;top:calc(100% + 8px);width:340px;max-width:calc(100vw - 40px);max-height:65vh;overflow:auto;background:white;border-radius:10px;box-shadow:0 10px 30px #001b3540; }
  body#category.category-id-11 .bd-filter-menu #search-filters .left-block__title { display:none!important; }
  body#category.category-id-11.bd-inline-filters #search_filter_toggler { display:none!important; }
}
