/* Editorial product navigation. Kept separate from the underlying page blur. */
html{scrollbar-gutter:stable}
html.simo-mega-lock{overflow:hidden}
.wp-site-blocks>header .simo-mega-menu{display:none}
.simo-product-trigger{appearance:none;border:0;background:none;padding:0;font:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;cursor:pointer;display:inline-flex;align-items:center;gap:7px;white-space:nowrap;position:relative}
.simo-product-trigger svg{width:11px;height:11px;transition:transform .22s;flex-shrink:0}
.simo-nav .simo-product-trigger[aria-expanded=true]{color:#0071e3}
.simo-product-trigger[aria-expanded=true] svg{transform:rotate(180deg)}
.simo-product-trigger[aria-expanded=true]:after{content:'';position:absolute;bottom:-22px;left:0;right:0;height:2px;background:#0071e3}
body .wp-site-blocks>header.simo-mega-open{opacity:1;visibility:visible;transform:none;pointer-events:auto}
body .wp-site-blocks>header.simo-mega-open .simo-header{background:#fff;color:#17191d;border-bottom:1px solid #e9edf1;backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:none}
body .wp-site-blocks>header.simo-mega-open .simo-nav a:hover{color:#0071e3}
.simo-mega-backdrop{position:fixed;inset:0;z-index:999;background:rgba(9,14,23,.32);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .24s,visibility .24s}
.simo-mega-backdrop.is-open{opacity:1;visibility:visible;pointer-events:auto}
.wp-site-blocks>header.simo-mega-open .simo-mega-menu.is-open{display:grid;animation:simo-mega-reveal .22s ease both}
.simo-mega-menu{position:absolute;top:100%;left:0;right:0;max-height:calc(100dvh - var(--simofilm-header-height) - var(--simofilm-admin-offset));overflow-y:auto;overscroll-behavior:contain;grid-template-columns:minmax(240px,.9fr) minmax(0,2.25fr);gap:30px;padding:38px 48px 34px;margin:0!important;background:#fff;color:#17191d;box-shadow:0 16px 28px #06101c12;box-sizing:border-box;line-height:1.5}
.simo-mega-menu>div{min-width:0;margin:0!important}
.simo-mega-menu .simo-mega-label{font-size:11px;font-weight:650;letter-spacing:.08em;color:#6e7682;margin:0 0 24px;line-height:1.4}
.simo-mega-directory{display:flex;flex-direction:column;align-items:flex-start}
.simo-mega-categories{display:flex;flex-direction:column;gap:20px;width:100%;margin:0!important}
.simo-mega-menu .simo-mega-category{display:flex;align-items:center;flex-wrap:wrap;gap:8px 10px;font-size:clamp(20px,1.6vw,30px);font-weight:600;letter-spacing:-.035em;line-height:1.25;margin:0}
.simo-mega-category a{display:inline-flex;align-items:center;gap:16px;transition:color .18s}
.simo-mega-category a:after{content:'→';font-weight:400;color:#0071e3;opacity:0;transform:translateX(-6px);transition:opacity .18s,transform .18s}
.simo-mega-category.is-active a,.simo-mega-category a:hover{color:#0071e3}
.simo-mega-category.is-active a:after{opacity:1;transform:none}

.simo-mega-menu .simo-mega-view-all{font-size:14px;margin:34px 0 0;color:#0071e3}
.simo-mega-previews{border-left:1px solid #e8ebef;padding-left:30px}
.simo-mega-preview{display:none;margin:0!important}
.simo-mega-preview.is-active{display:block;animation:simo-mega-preview .22s ease both}
.simo-mega-photo{margin:0 0 20px!important;aspect-ratio:2.75;max-height:340px;overflow:hidden;border-radius:9px;background:#eef0f3}
.simo-mega-photo a{display:block;width:100%;height:100%}
.simo-mega-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.simo-mega-preview h3{font-size:clamp(24px,1.9vw,36px);line-height:1.15;letter-spacing:-.04em;margin:0 0 10px;font-weight:600}
.simo-mega-preview h3 a{display:flex;justify-content:space-between;align-items:center;gap:16px}
.simo-mega-preview h3 a:after{content:'↗';color:#0071e3;font-size:25px;font-weight:400}
.simo-mega-preview>p{font-size:15px;line-height:1.5;color:#6e7682;margin:0}
.simo-mega-business{padding-top:0;padding-right:8px}
.simo-mega-menu .simo-mega-business-link{font-size:clamp(18px,1.25vw,23px);line-height:1.4;letter-spacing:-.025em;font-weight:500;margin:0 0 23px}
.simo-mega-business-link a{display:inline-flex;align-items:center;gap:14px}
.simo-mega-business-link span{color:#0071e3}
.simo-mega-menu a:hover{color:#0071e3}
.simo-mega-menu .simo-mega-note{border-top:1px solid #e8ebef;padding-top:22px;margin:32px 0 0;font-size:14px;color:#6e7682;line-height:1.6}
.simo-mega-close{position:absolute;top:7px;right:10px;border:0;background:transparent;color:#6e7682;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;cursor:pointer}
.simo-mega-close svg{width:16px;height:16px}.simo-mega-close:hover{background:#f0f3f6;color:#17191d}
@keyframes simo-mega-reveal{from{opacity:0;transform:translateY(-9px)}to{opacity:1;transform:translateY(0)}}
@keyframes simo-mega-preview{from{opacity:.35;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:1200px){.simo-mega-menu{gap:24px;padding:34px 32px 30px;grid-template-columns:minmax(220px,1fr) minmax(0,2.2fr)}.simo-mega-previews{padding-inline:24px}.simo-mega-category a{gap:8px}.simo-mega-menu .simo-mega-category{font-size:21px}}
@media(max-width:960px){.simo-mega-menu{grid-template-columns:minmax(0,1fr) minmax(0,1.65fr);gap:28px;padding-top:46px}.simo-mega-previews{border-right:0;padding-right:0}.simo-mega-business{grid-column:1/-1;border-top:1px solid #e8ebef;padding:22px 0 0;display:flex;align-items:center;flex-wrap:wrap;gap:16px 26px}.simo-mega-business .simo-mega-label{width:100%;margin:0}.simo-mega-menu .simo-mega-business-link{margin:0;font-size:16px}.simo-mega-menu .simo-mega-note{display:none}.simo-mega-close{width:40px;height:40px;top:4px;right:12px}.simo-product-trigger[aria-expanded=true]:after{display:none}}
@media(max-width:600px){.simo-mega-menu{grid-template-columns:minmax(0,1fr);padding:40px 20px 24px;gap:22px}.simo-mega-menu .simo-mega-label{margin:0 0 16px}.simo-mega-categories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px}.simo-mega-menu .simo-mega-category{font-size:18px;align-content:start;align-items:flex-start;gap:4px}.simo-mega-category a{min-height:40px;gap:4px}.simo-mega-category a:after{display:none}.simo-mega-menu .simo-mega-view-all{margin-top:16px;font-size:13px}.simo-mega-view-all a{display:inline-block;padding-block:5px}.simo-mega-previews{padding:0;border:0}.simo-mega-photo{aspect-ratio:2.6;margin-bottom:13px!important;max-height:180px}.simo-mega-preview h3{font-size:24px}.simo-mega-preview>p{font-size:13px}.simo-mega-business{gap:12px 20px;padding-top:18px}.simo-mega-business .simo-mega-label{margin:0;width:100%}.simo-mega-menu .simo-mega-business-link{font-size:14px}.simo-mega-business-link a{min-height:36px;gap:7px}}
@media(prefers-reduced-motion:reduce){.simo-mega-backdrop,.simo-product-trigger svg,.simo-mega-category a,.simo-mega-category a:after{transition:none}.simo-mega-menu,.simo-mega-preview{animation:none!important}}
/* Site Editor exposes every native preview block for replacement. */
.editor-styles-wrapper .simo-mega-menu{position:relative;display:grid;max-height:none;overflow:visible;top:auto;box-shadow:none}
.editor-styles-wrapper .simo-mega-preview{display:block;margin-bottom:28px!important}

/* Business and Resources share the Products editorial rhythm. */
#private-label,#packaging{scroll-margin-top:100px}
.simo-mega-editorial{grid-template-columns:minmax(210px,1fr) minmax(0,1.8fr) minmax(230px,1fr)}
.simo-mega-editorial .simo-mega-photo,.simo-mega-document{aspect-ratio:2.15;max-height:330px}
.simo-mega-editorial .simo-mega-category{font-size:clamp(20px,1.5vw,28px)}
.simo-mega-aside{border-left:1px solid #e8ebef;padding-left:30px}
.simo-mega-aside h3{font-size:clamp(23px,1.9vw,35px);line-height:1.25;letter-spacing:-.035em;margin:0 0 20px;font-weight:600}
.simo-mega-aside .simo-mega-aside-copy{font-size:14px;color:#6e7682;max-width:270px;line-height:1.6;margin:0}
.simo-mega-menu .simo-mega-action{margin-top:30px;font-size:14px;font-weight:600}
.simo-mega-action a{display:inline-flex;gap:18px;align-items:center;background:#0071e3;color:white;padding:12px 20px;border-radius:999px}
.simo-mega-action a:hover{color:white;background:#0066ce}
.simo-mega-menu .simo-mega-resource-link{font-size:clamp(17px,1.25vw,23px);font-weight:500;margin:0 0 20px;letter-spacing:-.025em}
.simo-mega-resource-link a{display:flex;align-items:center;justify-content:space-between;gap:12px}
.simo-mega-resource-link span{color:#0071e3;font-size:20px}
.simo-mega-document{display:flex;align-items:flex-start;justify-content:center;overflow:hidden;background:linear-gradient(135deg,#eef1f5,#dce5ef);border-radius:9px;margin:0 0 20px!important;padding:22px 25px 0;box-sizing:border-box}
.simo-menu-paper{position:relative;box-sizing:border-box;width:76%;min-height:330px;padding:23px 30px;background:#fff;box-shadow:0 8px 26px #132b4c1a;border-radius:3px 3px 0 0;transform:rotate(-3deg);border-top:4px solid #0071e3}
.simo-menu-paper:after{content:'';display:block;height:64px;margin-top:22px;background:repeating-linear-gradient(to bottom,#e8edf2 0,#e8edf2 1px,transparent 1px,transparent 16px)}
.simo-menu-paper .simo-menu-paper-brand{font-size:16px;font-weight:750;letter-spacing:-.04em;margin:0 0 20px}
.simo-menu-paper .simo-menu-paper-type{font-size:9px;letter-spacing:.13em;color:#0071e3;margin:0 0 10px;font-weight:600}
.simo-menu-paper h3{font-size:clamp(21px,1.65vw,30px);line-height:1.1;margin:0 0 18px}
.simo-menu-paper .simo-menu-paper-footer{font-size:8px;color:#7b8593;letter-spacing:.12em;margin:0}
.simo-resource-preview-1{background:#dce4ed}.simo-resource-preview-2{background:#e4e8ec}.simo-resource-preview-3{background:#e8f0f8}
.simo-mega-menu a:focus-visible,.simo-mega-trigger:focus-visible,.simo-mega-close:focus-visible{outline:2px solid #0071e3;outline-offset:5px;border-radius:3px}
@media(max-width:1200px){.simo-mega-editorial{grid-template-columns:minmax(190px,1fr) minmax(0,1.7fr) minmax(190px,.95fr);gap:22px}.simo-mega-aside{padding-left:22px}.simo-mega-editorial .simo-mega-category{font-size:21px}.simo-mega-aside h3{font-size:25px}.simo-menu-paper{padding:18px 23px;width:90%}.simo-mega-action a{padding:11px 15px;font-size:12px}}
@media(max-width:960px){.simo-mega-editorial{grid-template-columns:minmax(0,1fr) minmax(0,1.65fr)}.simo-mega-aside{grid-column:1/-1;padding:22px 0 0;border-left:0;border-top:1px solid #e8ebef}.simo-mega-aside h3{font-size:24px}.simo-mega-aside .simo-mega-aside-copy{max-width:none}.simo-mega-menu .simo-mega-resource-link{display:inline-block;margin:0 22px 12px 0;font-size:17px}.simo-mega-resource-link a{gap:14px}.simo-mega-aside .simo-mega-label{margin-bottom:18px}.simo-mega-menu .simo-mega-action{margin-top:18px}.simo-mega-aside .simo-mega-note{margin-top:10px}}
@media(max-width:600px){.simo-mega-editorial{grid-template-columns:minmax(0,1fr);gap:22px}.simo-mega-editorial .simo-mega-category{font-size:17px}.simo-mega-editorial .simo-mega-photo,.simo-mega-document{aspect-ratio:2.3;max-height:190px}.simo-mega-aside h3{font-size:22px}.simo-menu-paper{width:80%;padding:14px 20px}.simo-menu-paper .simo-menu-paper-brand{font-size:12px;margin-bottom:10px}.simo-menu-paper h3{font-size:22px;margin-bottom:12px}.simo-menu-paper:after{margin-top:12px}.simo-mega-menu .simo-mega-resource-link{font-size:16px;margin-bottom:14px}.simo-mega-resource-link a{min-height:30px}.simo-mega-aside .simo-mega-note{font-size:13px}}


/* Contextual links follow OEM / TDS / News selection. */
.simo-mega-aside-panel{display:none}.simo-mega-aside-panel.is-active{display:block;animation:simo-mega-preview .25s ease both}
.editor-styles-wrapper .simo-mega-aside-panel{display:block;margin-bottom:24px}
@media(prefers-reduced-motion:reduce){.simo-mega-aside-panel{animation:none!important}}

/* Products and Resources share a full-width, two-column preview. */
.simo-mega-menu .simo-mega-previews{padding-right:0}
.simo-mega-menu :is(.simo-mega-photo,.simo-mega-document){width:100%;max-width:none;height:clamp(220px,20vw,340px);max-height:none;aspect-ratio:auto}
.simo-mega-menu .simo-menu-paper{width:min(76%,600px)}
@media(min-width:961px){
 .simo-mega-menu{--simo-category-size:clamp(18px,1.3vw,24px)}
 #simo-product-menu,#simo-resources-menu{grid-template-columns:max-content minmax(0,1fr)}
 #simo-product-menu .simo-mega-category,
 #simo-resources-menu .simo-mega-category{font-size:var(--simo-category-size);line-height:1.4}
 #simo-product-menu .simo-mega-category a,
 #simo-resources-menu .simo-mega-category a{white-space:nowrap}
 .simo-mega-menu .simo-mega-category a:after{flex-shrink:0}
}
@media(max-width:960px){
 .simo-mega-menu.simo-mega-editorial{grid-template-columns:minmax(0,1fr) minmax(0,1.65fr)}
}
@media(max-width:600px){
 .simo-mega-menu.simo-mega-editorial{grid-template-columns:minmax(0,1fr)}
 .simo-mega-menu :is(.simo-mega-photo,.simo-mega-document){height:clamp(160px,42vw,220px)}
 .simo-mega-menu .simo-menu-paper{width:90%;padding:14px 18px}
 .simo-mega-menu .simo-menu-paper h3{font-size:18px}
 #simo-resources-menu .simo-mega-categories{grid-template-columns:minmax(0,1fr)}
}
