/* Category names are navigation, without horizontal rules between them. */
.catalogue-category-navigation li{border:0!important}
/* Show count and page size together; keep sorting at the right. */
.catalogue-toolbar{justify-content:flex-start;gap:14px}
.catalogue-toolbar .catalogue-ordering{margin-left:auto!important}
.catalogue-page-size{display:flex;align-items:center;gap:8px;margin:0;flex:0 0 auto}
.catalogue-page-size label{white-space:nowrap;font-size:14px!important;font-weight:600}
.catalogue-page-size select{min-height:42px;min-width:72px;padding:8px;border:1px solid #cbd8e9;border-radius:4px;background:#fff;color:var(--navy);font-size:16px!important}
.catalogue-page-size-apply{padding:8px;border:1px solid #cbd8e9;border-radius:4px;background:white}
.has-ajax-catalogue .catalogue-page-size-apply{display:none}
.woocommerce .catalogue-toolbar .woocommerce-result-count{margin:0!important}
.catalogue-products>.woocommerce-pagination{margin:28px 0 0;text-align:center}
.woocommerce nav.woocommerce-pagination ul li .page-numbers{min-width:40px;min-height:40px;display:flex;align-items:center;justify-content:center;font-size:16px!important;line-height:1.4}
.woocommerce nav.woocommerce-pagination ul li .current{background:var(--blue);color:white}
.woocommerce nav.woocommerce-pagination ul li .is-disabled{background:#f7f9fc;color:#a2adbc;cursor:default}
/* The assistance card is deliberately quieter than the header's yellow CTA. */
.shop-layout-archive .catalogue-custom-help{position:static!important;margin:16px 0 0;padding:14px;border-radius:6px;box-shadow:none;background:#f3f6fb;border:1px solid #dce5f0;flex:0 0 auto;min-width:0}
.shop-layout-archive .catalogue-custom-help>svg,.shop-layout-archive .catalogue-custom-help>.icon{display:none}
.shop-layout-archive .catalogue-custom-help h3{font-size:18px!important;line-height:1.3!important;margin:0 0 8px}
.shop-layout-archive .catalogue-custom-help p{font-size:14px!important;line-height:1.5!important;margin:0 0 12px}
.shop-layout-archive .catalogue-custom-help .button-engineer{display:flex;gap:7px;justify-content:center;align-items:center;min-height:44px;width:100%;padding:10px 8px;background:#132338!important;border:1px solid #132338!important;color:#fff!important;font-size:15px!important;line-height:1.4!important;white-space:nowrap}
.shop-layout-archive .catalogue-custom-help .button-engineer:hover{background:#233e5c!important;border-color:#233e5c!important}
.shop-layout-archive .catalogue-custom-help .button-engineer .icon{width:16px;height:16px;flex:0 0 16px;filter:brightness(0) invert(1)}
/* No nested scrollbox and no shrinking/cropping of sidebar content. */
@media(min-width:951px){
 .shop-layout-archive>.catalogue-sidebar{position:relative!important;top:auto!important;align-self:stretch;height:auto!important;box-sizing:border-box;padding-top:var(--catalogue-title-gap,0px);padding-bottom:0;min-height:0}
 .shop-layout-archive .catalogue-sidebar-frame{display:block;position:static;top:auto;width:100%;height:auto!important;max-height:none!important;min-height:0;visibility:visible!important}
 .shop-layout-archive .catalogue-sidebar-frame.is-fit{position:sticky;top:var(--harnevia-sticky-top,180px)}
 .shop-layout-archive .catalogue-sidebar-body{height:auto!important;max-height:none!important;overflow:visible!important;padding-right:0}
 .shop-layout-archive .catalogue-category-section h2{margin-top:0}
 .shop-layout-archive .catalogue-category-navigation li a{padding:8px 0}
 .shop-layout-archive .catalogue-filter-drawer{margin-top:16px}
}
@media(max-width:950px){
 .shop-layout-archive{grid-template-columns:minmax(0,1fr)}
 .shop-layout-archive>.catalogue-sidebar{padding-top:0;min-height:0}
 .shop-layout-archive .catalogue-sidebar-frame{height:auto!important;max-height:none;position:static;visibility:visible!important}
 .shop-layout-archive .catalogue-sidebar-body{overflow:visible}
 .shop-layout-archive .catalogue-custom-help{margin-top:16px}
 .catalogue-toolbar .catalogue-ordering{width:100%;justify-content:space-between}
 .catalogue-toolbar .catalogue-ordering select{max-width:calc(100% - 70px);min-width:0}
}

/* One consistent hierarchy for archive navigation and filters. */
.shop-layout-archive .catalogue-sidebar :is(.catalogue-category-section>h2,.catalogue-filters>h2,.catalogue-filter-drawer>summary){font-size:16px!important;line-height:1.5!important;color:#132338;font-weight:700!important;letter-spacing:0}
.shop-layout-archive .catalogue-sidebar :is(.catalogue-category-navigation li a,.catalogue-filter-group>summary){font-size:16px!important;line-height:1.5!important;color:#555;font-weight:400!important}
.shop-layout-archive .catalogue-sidebar .catalogue-filters>p{font-size:14px!important;line-height:1.5!important;color:#888;font-weight:400}
.shop-layout-archive .catalogue-sidebar .catalogue-category-navigation li a[aria-current=page]{color:var(--blue)}
.shop-layout-archive .catalogue-filter-group>summary:hover,.shop-layout-archive .catalogue-filter-group>summary:focus-visible{color:var(--blue);background:#f2f7ff}
@media(max-width:950px){.shop-layout-archive .catalogue-sidebar .catalogue-category-navigation li a[aria-current=page]{color:#fff}}


/* Shared category and filter feedback on catalogue and product sidebars. */
body .shop-layout .shop-sidebar .catalogue-category-navigation li a{cursor:pointer;transition:color .15s,transform .15s}
body .shop-layout .shop-sidebar .catalogue-category-navigation li a:is(:hover,:focus-visible){color:var(--blue)}
body .shop-layout .shop-sidebar .catalogue-category-navigation li a[aria-current=page]{color:var(--blue);font-weight:700!important}
body .shop-layout .shop-sidebar .catalogue-filter-group>summary{cursor:pointer;transition:color .15s,background .15s}
body .shop-layout .shop-sidebar .catalogue-filter-group>summary:is(:hover,:focus-visible){color:var(--blue);background:#f2f7ff}
body .shop-layout .shop-sidebar .catalogue-filter-group>summary:after{border-color:currentColor}
body .shop-layout .shop-sidebar .catalogue-filter-options label{cursor:pointer;transition:color .15s}
body .shop-layout .shop-sidebar .catalogue-filter-options label:is(:hover,:focus-within){color:var(--blue)}
@media(hover:hover) and (min-width:951px){body .shop-layout .shop-sidebar .catalogue-category-navigation li a:hover{transform:translateX(3px)}}
@media(max-width:950px){body .shop-layout .shop-sidebar .catalogue-category-navigation li a[aria-current=page]{color:#fff}}
@media(prefers-reduced-motion:reduce){body .shop-layout .shop-sidebar .catalogue-category-navigation li a{transition:none}body .shop-layout .shop-sidebar .catalogue-category-navigation li a:hover{transform:none}}

/* Compact archive heading and aligned, secondary sidebar navigation. */
.shop-layout-archive .catalogue-header{padding:0;border-bottom:0;margin-bottom:20px}
.shop-layout-archive .catalogue-header h1{margin-top:0;margin-bottom:10px}
.shop-layout-archive .catalogue-header>p:last-child{margin-bottom:0}
.shop-layout-archive .catalogue-sidebar .catalogue-category-section>h2{color:#000;cursor:default}
@media(min-width:951px){.shop-layout-archive>.catalogue-sidebar{padding-top:var(--catalogue-title-gap,0px)!important}.catalogue-toolbar .catalogue-ordering{width:auto;justify-content:flex-end}}

/* Product category navigation needs no nested scrolling, including on hover. */
body.single-product .shop-layout-detail>.shop-sidebar{overflow:visible;max-height:none}
body.single-product .shop-layout-detail .catalogue-category-navigation a{min-width:0;white-space:normal;overflow-wrap:anywhere}
