/* BEM manufacturing and catalog refresh. Scoped to navigation and landing pages. */
.bem-home-refresh .bem-hero{background:#f1f6f8;padding:52px 0;border-bottom:1px solid #dce6eb}
.bem-home-refresh .bem-hero__grid{grid-template-columns:minmax(0,1.1fr) minmax(0,.85fr);gap:56px;align-items:center}
.bem-home-refresh .bem-hero h1{font-size:clamp(34px,3.5vw,49px);line-height:1.12;letter-spacing:-1.6px;font-weight:800}
.bem-home-refresh .bem-hero h1 span{color:#155e75}
.bem-home-refresh .bem-hero__lead{font-size:16px;line-height:1.75;max-width:620px}
.bem-home-refresh .bem-hero__facts{gap:9px 18px;font-size:12px;font-weight:600}
.bem-manufacturing-photo{position:relative;margin:0;overflow:hidden;border-radius:12px;background:#dce5ea;min-width:0;align-self:stretch}
.bem-manufacturing-photo img{display:block;width:100%;height:100%;min-height:380px;max-height:510px;object-fit:cover;object-position:center}
.bem-manufacturing-photo figcaption{position:absolute;bottom:0;left:0;right:0;padding:42px 24px 20px;color:#fff;background:linear-gradient(transparent,rgba(10,29,38,.9));display:flex;flex-direction:column;gap:4px;font-size:12px;line-height:1.5}
.bem-manufacturing-photo figcaption strong{color:#fff;font-size:15px}
.bem-services{padding:28px 0;border-bottom:1px solid #e0e7ed;background:white}
.bem-services-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.bem-home-refresh .bem-service{display:flex;flex-direction:column;align-items:flex-start;padding:10px 22px 10px 0;border-right:1px solid #dce6eb;min-width:0}
.bem-home-refresh .bem-service:last-child{border:0}
.bem-service-num{font-size:10px;color:#526b79;font-weight:800;letter-spacing:1px}
.bem-home-refresh .bem-service h2{font-size:21px;margin:10px 0 8px;font-weight:800;line-height:1.25}
.bem-home-refresh .bem-service p{font-size:14px;color:#526574;line-height:1.65;margin:0 0 15px}
.bem-service>span:last-child{font-size:13px;font-weight:750;color:#155e75;margin-top:auto}
.bem-service:hover h2{color:#155e75}
.bem-production-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.bem-production-card{display:flex;flex-direction:column;background:#fff;border:1px solid #dce6eb;border-radius:10px;overflow:hidden;min-width:0;text-decoration:none!important;transition:border-color .2s,box-shadow .2s}
.bem-production-card:hover{border-color:#93b8c6;box-shadow:0 8px 22px #14313c0d}
.bem-production-card>img{display:block;width:100%;height:210px;object-fit:cover;object-position:center}
.bem-production-card>div{display:flex;flex-direction:column;align-items:flex-start;padding:19px 20px;flex:1}
.bem-production-code{font-size:10px;font-weight:800;letter-spacing:1px;color:#155e75}
.bem-production-card h3{font-size:18px;line-height:1.35;margin:8px 0;color:#172532;font-weight:750}
.bem-production-card p{font-size:13px;line-height:1.6;color:#526574;margin:0 0 16px}
.bem-production-link{font-size:12px;font-weight:750;color:#155e75;margin-top:auto}
.bem-production-card--text{background:#f0f5f7;justify-content:center}
.bem-production-card--text>div{justify-content:center;flex:0}
.bem-production-card--text .bem-production-code{font-size:24px;letter-spacing:1px;color:#547888}
.bem-production-card--text .bem-production-link{margin-top:15px}
.bem-ray-section{background:#f1f6f8;border-block:1px solid #dce6eb}
.bem-ray-grid{display:grid;grid-template-columns:.8fr 1.2fr;align-items:center;gap:60px}
.bem-ray-image{background:#fff;border:1px solid #dce6eb;border-radius:12px;padding:26px}
.bem-ray-image img{width:100%;height:280px;object-fit:contain}
.bem-ray-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}
.bem-ray-tags span{font-size:12px;color:#365b6a;padding:6px 10px;background:#e2eef1;border-radius:4px}
.bem-home-refresh a:focus-visible,.bem-panel-page a:focus-visible,.mega-menu-modern a:focus-visible{outline:3px solid #2468d8;outline-offset:3px}
.bem-home-refresh .bem-chip{min-height:44px}
.bem-panel-crumb{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:12px;color:#5b6f7a;padding:16px 0}
.bem-panel-crumb a{color:#155e75}
.bem-panel-page .bem-panel-hero{padding:36px;gap:36px;border-radius:12px;align-items:center;margin-top:0}
.bem-panel-page .bem-panel-hero h1{font-size:clamp(32px,3.6vw,46px);line-height:1.12;letter-spacing:-1px}
.bem-panel-page .bem-panel-lead{font-size:16px;line-height:1.75}
.bem-panel-page .bem-panel-photo{align-self:stretch}
.bem-panel-page .bem-panel-photo img{min-height:350px;max-height:465px;object-fit:cover}
.bem-panel-page .bem-panel-gallery figure img{object-fit:contain;background:#eef2f4;height:310px;padding:8px}
.bem-panel-page .bem-panel-gallery figure a{display:block}
.bem-panel-page .bem-panel-gallery figure a:focus-visible{outline-offset:-4px}
.bem-panel-page .bem-panel-section{padding-top:42px;padding-bottom:42px}
.bem-panel-page .bem-panel-grid--related{grid-template-columns:repeat(3,minmax(0,1fr))}
.bem-panel-page .bem-panel-type{min-width:0}
.bem-ray-page .bem-ray-product{background:#fff}
.bem-ray-page .bem-ray-product img{object-fit:contain;padding:20px;min-height:340px}
/* Preserve Woodmart mega menus, restore actual simple dropdowns. */
@media(min-width:1025px){
.whb-header .wd-header-nav .wd-nav>li.menu-simple-dropdown{position:relative}
.whb-header .wd-header-nav .wd-nav>li.menu-simple-dropdown>.wd-dropdown-menu{width:320px!important;max-width:calc(100vw - 32px)!important;left:auto!important;right:0!important;padding:10px!important;transform:none!important;border:1px solid #dce6eb;border-radius:0 0 10px 10px;box-shadow:0 16px 35px #1725321a;max-height:calc(100dvh - 165px);overflow-y:auto}
.whb-header .wd-header-nav .wd-nav>li.menu-simple-dropdown>.wd-dropdown-menu>.container{width:100%!important;max-width:100%!important;min-width:0!important;padding:0!important;margin:0!important}
.whb-header .wd-header-nav .wd-nav>li.menu-simple-dropdown>.wd-dropdown-menu .wd-sub-menu{display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;gap:0!important;width:100%!important;margin:0!important;padding:0!important}
.whb-header .wd-header-nav .wd-nav>li.menu-simple-dropdown>.wd-dropdown-menu .wd-sub-menu>li{width:100%!important;max-width:100%!important;flex:none!important;margin:0!important;padding:0!important}
.whb-header .wd-header-nav .wd-nav>li.menu-simple-dropdown>.wd-dropdown-menu .wd-sub-menu>li>a{display:flex!important;white-space:normal;min-height:43px;padding:11px 13px!important;font-size:13px;line-height:1.5;border-radius:5px;font-weight:600;color:#2c4655}
.whb-header .wd-header-nav .wd-nav>li.menu-simple-dropdown>.wd-dropdown-menu .wd-sub-menu>li>a:hover{background:#edf5f7;color:#155e75}
.whb-header .wd-header-nav .wd-nav>li.menu-simple-dropdown:is(:hover,:focus-within,.wd-opened)>.wd-dropdown-menu{visibility:visible!important;opacity:1!important;pointer-events:auto!important;z-index:550!important}
.whb-header .wd-header-nav .wd-nav>li.menu-mega-dropdown>.wd-dropdown-menu{max-height:calc(100dvh - 150px);overflow-y:auto;overscroll-behavior:contain}
.whb-header .wd-header-nav .wd-nav>li.bem-manufacturing-nav>a{color:#155e75;font-weight:750}
.whb-header .wd-header-nav .wd-nav{gap:8px}
.mega-menu-modern{padding:20px 28px!important}
.mega-menu-modern .mega-row{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px!important}
.mega-menu-modern .mega-col{max-width:none!important;min-width:0!important}
.mega-menu-modern .mega-col h4{font-size:12px!important;line-height:1.5;border-color:#b6ced7!important}
.mega-menu-modern .mega-col ul li a{font-size:13px!important;line-height:1.5;padding:4px 0;min-height:30px}
.mega-menu-modern .mega-footer{margin-top:14px!important;padding-top:12px!important}
.mega-menu-modern .mega-brands{margin-top:12px!important;padding-top:12px!important}
.mega-menu-modern .mega-brands h5{margin-bottom:8px!important}
}
.mega-menu-modern .bem-mega-feature{display:flex!important;align-items:center;gap:18px;padding:12px 18px;margin-bottom:20px;background:#f0f6f8;border:1px solid #dce6eb;border-radius:8px;color:#172532;text-decoration:none}
.bem-mega-feature>img{width:74px!important;height:74px!important;object-fit:contain;background:#fff;border-radius:6px;padding:5px;flex:0 0 74px}
.bem-mega-feature>span{display:flex;flex-direction:column;gap:5px}
.bem-mega-feature strong{font-size:19px;font-weight:750;color:#172532;line-height:1.3}
.bem-mega-feature>span>span{font-size:13px;color:#526574}
.bem-mega-feature>b{font-size:12px;color:#155e75;margin-left:auto;white-space:nowrap}
.mobile-nav .bem-manufacturing-nav>a{color:#155e75!important;background:#edf5f7;font-weight:750}
.mobile-nav .wd-nav-mobile>li>a{min-height:48px}
.mobile-nav .wd-nav-opener{min-width:48px;min-height:48px}
@media(max-width:1024px){
.bem-home-refresh .bem-hero__grid{grid-template-columns:1.1fr .8fr;gap:24px}
.bem-home-refresh .bem-hero h1{font-size:36px}
.bem-manufacturing-photo img{min-height:330px}
.bem-home-refresh .bem-hero__actions{gap:8px}
.bem-production-card>img{height:185px}
.bem-panel-page .bem-panel-hero{gap:24px;padding:26px;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)}
.bem-ray-grid{gap:30px}
}
@media(max-width:720px){
.bem-home-refresh .bem-hero__grid{grid-template-columns:1fr;gap:24px}
.bem-home-refresh .bem-hero h1{letter-spacing:-.8px;line-height:1.16!important;font-size:34px!important}
.bem-home-refresh .bem-hero__actions{display:flex;flex-wrap:wrap}
.bem-home-refresh .bem-hero__actions .bem-btn{flex:1 1 auto;padding:12px;min-height:46px}
.bem-home-refresh .bem-hero__actions .bem-btn:first-child{flex-basis:100%}
.bem-home-refresh .bem-hero__facts{display:none}
.bem-home-refresh .bem-manufacturing-photo img{height:250px;min-height:250px;object-position:center 43%}
.bem-manufacturing-photo figcaption{padding:35px 16px 15px}
.bem-services-grid{grid-template-columns:1fr;gap:0}
.bem-services{padding:6px 0}
.bem-home-refresh .bem-service{border-right:0;border-bottom:1px solid #dce6eb;padding:20px 0}
.bem-home-refresh .bem-service h2{font-size:20px;margin:6px 0}
.bem-home-refresh .bem-service p{margin-bottom:10px}
.bem-production-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.bem-production-card>img{height:165px}
.bem-production-card>div{padding:15px 12px}
.bem-production-card h3{font-size:16px}
.bem-production-card p{font-size:12px}
.bem-production-card--text .bem-production-code{font-size:19px}
.bem-production-card:last-child{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr}
.bem-production-card:last-child>img{height:100%;min-height:190px}
.bem-ray-grid{grid-template-columns:1fr;gap:26px}
.bem-ray-image img{height:200px}
.bem-home-refresh .bem-head>.bem-btn{margin-top:16px}
.bem-panel-page .bem-panel-hero{grid-template-columns:1fr;padding:24px 20px;gap:24px}
.bem-panel-page .bem-panel-hero h1{font-size:34px}
.bem-panel-page .bem-panel-photo img{height:290px;min-height:290px}
.bem-panel-page .bem-panel-actions{display:flex;flex-direction:column;align-items:stretch}
.bem-panel-page .bem-panel-button{min-height:48px;text-align:center}
.bem-panel-page .bem-panel-grid--related{grid-template-columns:repeat(2,minmax(0,1fr))}
.bem-panel-page .bem-panel-gallery figure img{height:280px}
.bem-panel-page .bem-panel-section{padding-top:32px;padding-bottom:32px}
.bem-panel-page .bem-panel-crumb{font-size:11px}
}
@media(max-width:360px){.bem-production-grid{grid-template-columns:1fr}.bem-production-card:last-child{display:flex}.bem-production-card>img{height:230px}.bem-panel-page .bem-panel-grid--related{grid-template-columns:1fr}.bem-home-refresh .bem-hero h1{font-size:30px!important}}
@media(min-width:1025px){
.whb-header .wd-header-nav .wd-nav>li.bem-manufacturing-nav>.wd-dropdown-menu{left:0!important;right:auto!important}
.whb-header .wd-header-nav .wd-nav>li.menu-simple-dropdown>.wd-dropdown-menu .wd-sub-menu>li>a{text-transform:none!important}
}
/* Content widgets include their own image reset; keep card crops consistent. */
.bem-home-refresh .bem-production-card>img{height:210px;object-fit:cover}
.bem-home-refresh .bem-ray-image img{height:280px;object-fit:contain}
@media(max-width:1024px){.bem-home-refresh .bem-production-card>img{height:185px}}
@media(max-width:720px){.bem-home-refresh .bem-production-card>img{height:165px}.bem-home-refresh .bem-production-card:last-child>img{height:100%;min-height:190px}.bem-home-refresh .bem-ray-image img{height:200px}}
@media(max-width:360px){.bem-home-refresh .bem-production-card>img{height:230px}}
.mobile-nav .wd-sub-menu>li>a{color:#405766}
.mobile-nav .wd-nav-opener:focus-visible{outline:3px solid #155e75;outline-offset:-3px}
@media(min-width:721px){
.bem-production-card:last-child{grid-column:1/-1;display:grid;grid-template-columns:1fr 2fr}
.bem-production-card:last-child>img{height:210px}
.bem-production-card:last-child>div{justify-content:center;padding:24px 30px}
.bem-production-card:last-child .bem-production-link{margin-top:8px}
}

/* One geometry owner for desktop dropdowns; no clipped hover gap. */
@media(min-width:1025px){
.whb-header .wd-header-nav .wd-nav>li[data-bem-desktop]>.wd-dropdown-menu{
left:var(--bem-dropdown-left,0px)!important;right:auto!important;width:var(--bem-dropdown-width,320px)!important;max-width:calc(100vw - 32px)!important;top:100%!important;margin:0!important;transform:none!important;max-height:var(--bem-dropdown-height,calc(100dvh - 150px))!important;overflow-y:auto;overscroll-behavior:contain;border:1px solid #dce6eb;border-radius:0 0 10px 10px;box-shadow:0 14px 30px #17253224
}
body .whb-header .wd-header-nav .wd-nav>li.menu-item[data-bem-desktop].bem-nav-open>.wd-dropdown-menu{
visibility:visible!important;opacity:1!important;pointer-events:auto!important;z-index:550!important
}
body .whb-header .wd-header-nav .wd-nav>li.menu-item[data-bem-desktop].bem-nav-dismissed>.wd-dropdown-menu{
visibility:hidden!important;opacity:0!important;pointer-events:none!important
}
.whb-header .wd-header-nav .wd-nav>li[data-bem-desktop]:focus-within>.wd-dropdown-menu{transition:none!important}
.whb-header .wd-header-nav .wd-dropdown-menu a:focus-visible{outline:2px solid #1f5fbf;outline-offset:2px;border-radius:3px}
}
