/* Shared Blocksy header stays in document flow while following the viewport. */
#header{position:sticky;top:0;z-index:50}
@media(min-width:1001px){body.admin-bar #header{top:32px}}

/* Products mega menu: shared native taxonomy links; desktop and offcanvas variants. */
.by-products-menu{position:relative}
.by-products-toggle{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:24px;min-height:32px;padding:0;border:0;background:transparent;color:inherit;cursor:pointer}
.by-products-toggle:hover,.by-products-toggle:active{background:transparent;color:var(--theme-palette-color-1)}
.by-products-toggle svg{transition:transform 160ms ease}
.by-products-toggle[aria-expanded="true"]{color:var(--theme-palette-color-1)}
.by-products-toggle[aria-expanded="true"] svg{transform:rotate(180deg)}
.by-products-panel[hidden]{display:none}
.by-products-panel{--menu-ink:#18232d;--menu-accent:var(--theme-palette-color-1,#b51c2e);background:#fff;color:var(--menu-ink);text-align:left;font-family:var(--theme-font-family);font-size:15px;line-height:1.5}
.by-products-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;padding:36px 32px}
.by-products-panel .by-products-group{min-width:0}
.by-products-panel .by-products-group+.by-products-group{border-left:1px solid #e8eaed;padding-left:24px}
.by-products-panel .by-products-group h2{font-family:inherit;font-size:14px;font-weight:600;line-height:1.5;letter-spacing:.1em;text-transform:uppercase;color:var(--menu-accent);margin:0 0 20px}
.by-products-panel .by-products-group ul{display:grid;gap:4px;list-style:none;padding:0;margin:0;position:static;width:auto;background:none;box-shadow:none;opacity:1;visibility:visible;transform:none}
.by-products-panel .by-products-group li{display:block;position:static;margin:0;padding:0;border:0}
.by-products-panel .by-products-group a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:46px;padding:11px 12px;border-left:3px solid transparent;border-radius:2px;color:var(--menu-ink);font-size:18px;font-weight:500;line-height:1.5;text-transform:none;letter-spacing:0;text-decoration:none;transition:background-color 160ms ease,color 160ms ease}
.by-products-group a svg{flex-shrink:0;width:15px;height:15px;opacity:.55}
.by-products-panel .by-products-group a:hover,.by-products-panel .by-products-group a:focus-visible,.by-products-panel .by-products-group a[aria-current="page"],.by-products-panel .by-products-group a.is-previewed{background:#faedef;border-left-color:var(--menu-accent);color:var(--menu-accent)}
.by-products-feature{display:flex;flex-direction:column;min-width:0;background:#f5f6f7}
.by-products-panel .by-products-feature-image{display:flex;align-items:center;justify-content:center;flex:1;min-height:0;padding:0}
.by-products-feature-image img{display:block;width:100%;height:100%;max-height:270px;object-fit:contain}
.by-products-feature-copy{padding:20px 24px}
.by-products-feature-copy>span{font-size:16px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--menu-accent)}
.by-products-feature-copy p{font-size:17px;line-height:1.6;color:#667382;margin:6px 0 14px}
.by-products-panel .by-products-all{display:inline-flex;align-items:center;gap:14px;padding:0;color:var(--menu-accent);font-size:14px;font-weight:600;line-height:1.5;text-decoration:none}
.by-products-panel .by-products-all{display:none}
@media(min-width:1000px){
 #header .by-products-menu{display:flex;align-items:center}
 #header .by-products-menu>.ct-menu-link{padding-right:0}
 #header .by-products-panel{position:fixed;top:var(--by-products-top,77px);left:50%;transform:translateX(-50%);width:min(1560px,calc(100vw - 80px));display:grid;grid-template-columns:minmax(0,2.3fr) minmax(280px,1fr);max-height:calc(100dvh - var(--by-products-top,77px) - 24px);overflow:auto;border:1px solid #e8eaed;border-radius:0 0 6px 6px;box-shadow:0 18px 36px #18232d24;z-index:60}
 #header .by-products-panel[hidden]{display:none}
}
@media(max-width:1200px) and (min-width:1000px){.by-products-groups{gap:12px;padding:28px 20px}.by-products-panel .by-products-group+.by-products-group{padding-left:12px}.by-products-panel .by-products-group a{font-size:16px;padding-inline:8px}}
@media(max-width:999px){
 #offcanvas .by-products-menu{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:center}
 #offcanvas .by-products-toggle{width:44px;min-height:44px;justify-self:end}
 #offcanvas .by-products-panel{grid-column:1/-1;position:static;width:100%;margin:8px 0 18px;padding:22px 18px;background:#f6f7f8;border-radius:6px}
 #offcanvas .by-products-groups{grid-template-columns:minmax(0,1fr);gap:24px;padding:0}
 #offcanvas .by-products-group+.by-products-group{border-left:0;border-top:1px solid #e1e4e8;padding:20px 0 0}
 #offcanvas .by-products-group h2{margin-bottom:10px}
 #offcanvas .by-products-group a{font-size:17px;min-height:44px;padding:10px 8px}
 #offcanvas .by-products-feature{display:none}
 #offcanvas .by-products-all{display:flex;margin-top:22px;padding-top:18px;border-top:1px solid #e1e4e8}
}
@media(prefers-reduced-motion:reduce){.by-products-toggle svg,.by-products-panel .by-products-group a{transition:none}}
