@media(min-width:1101px){
 .site-header .nav-float{width:min(96vw,2200px);max-width:2200px!important}
 .site-header .mega-menu{width:min(96vw,2000px)!important;min-width:0!important;max-width:calc(100vw - 32px)!important}
 .site-header .mega-spotlight-v2{flex:0 0 210px;width:210px;max-width:210px}
 .site-header .mega-col-right{flex:0 0 360px;width:360px;max-width:400px;min-width:0;padding:24px;justify-content:flex-start;gap:12px}
 .site-header .mega-col-mid--grid{min-width:0;padding:28px;gap:24px;max-height:calc(100dvh - 130px);grid-template-columns:repeat(3,minmax(0,1fr));align-items:start}
 .site-header .mega-series-link{min-width:0}
 .site-header .mega-series-link{gap:12px;padding:7px 8px;margin-bottom:4px;min-height:72px}
 .site-header .mega-series-thumb{flex:0 0 56px;width:56px;height:60px;background:#f1f6f7;border-radius:10px}
 .site-header .mega-series-thumb img{object-fit:contain;width:90%;height:90%;max-width:90%;max-height:90%}
 .site-header .mega-series-text{font-size:15px;line-height:1.4;font-weight:650}
 .site-header .mega-category-stack{display:flex;flex-direction:column;gap:24px;min-width:0}
 .site-header .mega-group-block h4{font-size:11px;letter-spacing:.06em;margin-bottom:12px}
 .site-header .mega-preview-frame{height:290px;min-height:290px;margin:0;border-radius:18px;box-shadow:0 8px 24px #0638470a}
 .site-header .mega-preview-img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;filter:none}
 .site-header .mega-preview-frame{overflow:hidden;box-sizing:border-box;padding:10px}
 .site-header .mega-preview-frame .mega-preview-img{transform:none!important;object-fit:contain!important;object-position:center;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;min-height:0;min-width:0}
 /* Fit the product bounds, not the wide studio canvas, without zoom clipping. */
 .site-header .mega-preview-frame[data-product-fit="door"] .mega-preview-img{object-view-box:inset(5% 30% 5% 30%)}
 .site-header .mega-preview-group{margin:4px 0 0;font-size:10px}
 .site-header .mega-preview-title{font-size:19px;line-height:1.35;max-width:100%}
 .site-header .mega-help-card{margin-top:12px;padding:20px 10px;flex-shrink:0;box-shadow:none}
 .site-header .mega-help-line{font-size:13px;white-space:nowrap}
 .site-header [data-menu="commercial"] .mega-col-mid--grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:30px}
}
@media(min-width:1500px){
 .site-header .mega-residential-columns{grid-template-columns:repeat(4,minmax(0,1fr))}
}
.site-header .mega-preview-frame.is-unavailable img{display:none}
.site-header .mega-preview-frame.is-unavailable:after{content:'Product image coming soon';font-size:15px;color:#58717c;padding:24px;line-height:1.5}
@media(min-width:1850px){
 .site-header .mega-col-mid--grid{grid-template-columns:repeat(4,minmax(0,1fr))}
 .site-header .mega-col-right{flex-basis:390px;width:390px;padding:28px}
 .site-header .mega-series-thumb{flex-basis:64px;width:64px;height:68px}
 .site-header .mega-preview-frame{height:310px;min-height:310px}
 .site-header .mega-help-line{font-size:14px}
}
@media(min-width:1101px) and (max-width:1499px){
 .site-header .mega-spotlight-v2{flex-basis:180px;width:180px;max-width:180px}
 .site-header .mega-col-right{flex-basis:320px;width:320px;padding:18px}
 .site-header .mega-col-mid--grid{padding:20px;gap:18px;grid-template-columns:repeat(2,minmax(0,1fr))}
 .site-header [data-menu="commercial"] .mega-col-mid--grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
 .site-header .mega-series-text{font-size:14px}
 .site-header .mega-preview-frame{height:250px;min-height:250px}
 .site-header .mega-help-line{font-size:12px}
}
.site-header .mega-help-card{overflow-wrap:anywhere}
.commercial-directory-grid .commercial-directory-card{grid-template-rows:300px 1fr}
.commercial-directory-card .commercial-guide-media{min-height:0;height:300px}
.commercial-directory-card .commercial-guide-media img{width:100%;height:100%;min-height:0;object-fit:contain;padding:20px;transform:none!important}
@media(max-width:700px){
 .commercial-directory-grid .commercial-directory-card{grid-template-rows:280px 1fr}
 .commercial-directory-card .commercial-guide-media{height:280px}
}
.rp-lightbox.open{padding:70px 24px 24px}
.rp-lightbox .rp-lightbox-frame{position:relative;display:flex;align-items:center;justify-content:center;width:fit-content;max-width:100%;max-height:100%}
.rp-lightbox .rp-lightbox-frame img{display:block;width:auto;height:auto;max-width:calc(100vw - 48px);max-height:calc(100dvh - 110px);object-fit:contain}
.rp-lightbox .rp-lightbox-close,.hardware-dialog .hardware-close{position:absolute;right:0;top:-60px;width:52px;height:52px;min-height:52px;padding:0;border:2px solid #fff;border-radius:50%;background:#073846;color:#fff;font-size:38px;line-height:1;display:grid;place-items:center;cursor:pointer;box-shadow:0 3px 12px #0004;z-index:2}
.hardware-dialog .hardware-close{top:12px;right:12px}
.hardware-dialog{padding-top:20px}
.hardware-dialog h2{padding-right:58px;min-height:44px;display:flex;align-items:center}
.rp-lightbox .rp-lightbox-close:focus-visible,.hardware-dialog .hardware-close:focus-visible{outline:3px solid #30c5e2;outline-offset:3px}
body:has(.hardware-dialog[open]){overflow:hidden}
@media(min-width:1101px){
 .site-header .mega-residential-columns.mega-family-columns{grid-template-columns:1.15fr 1.15fr .8fr!important;gap:22px;align-items:start}
 .site-header .mega-product-family{min-width:0;height:100%;padding-left:20px;border-left:1px solid #dbe7eb}
 .site-header .mega-product-family:first-child{padding-left:0;border-left:0}
 .site-header .mega-family-heading{display:flex;justify-content:space-between;gap:8px;align-items:center;color:#073541;font:700 21px/1.25 Georgia,serif;text-decoration:none;padding:0 0 14px;margin-bottom:18px;border-bottom:2px solid #c5a257}
 .site-header .mega-family-heading span{font:400 19px sans-serif;color:#008ba5}
 .site-header .mega-family-groups{display:grid;gap:22px;align-items:start}
 .site-header .mega-family-groups h4{font-size:10px;letter-spacing:.06em}
 .site-header .mega-family-groups .mega-series-link{font-size:13px;line-height:1.3;gap:10px}
 .site-header .mega-family-groups .mega-series-thumb{width:44px;height:44px;flex:0 0 44px}
}
@media(min-width:1800px){
 .site-header .mega-residential-columns.mega-family-columns{grid-template-columns:2fr 2fr 1fr!important}
 .site-header .mega-product-family--windows .mega-family-groups,.site-header .mega-product-family--doors .mega-family-groups{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 14px}
 .site-header .mega-product-family--windows .mega-group-block:first-child{grid-row:span 2}
 .site-header .mega-product-family--doors .mega-group-block:first-child{grid-row:span 2}
}
 .site-header .mega-product-family[hidden]{display:none!important}
@media(min-width:1101px){
 .site-header [data-menu="residential"] .mega-family-columns{display:block!important}
 .site-header [data-menu="residential"] .mega-product-family{padding:0;border:0;width:100%;height:auto}
 .site-header [data-menu="residential"] .mega-family-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px}
 .site-header [data-menu="residential"] .mega-group-block{grid-row:auto!important}
 .site-header [data-menu="residential"] .mega-family-header{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:28px}
 .site-header .mega-family-header h3{font-size:28px;color:#073541;margin:0 0 6px;line-height:1.2}
 .site-header .mega-family-header p{font-size:13px;color:#58717b;margin:0}
 .site-header .mega-family-all{color:#00849e;font-size:13px;font-weight:700;text-decoration:none;white-space:nowrap}
 .site-header .mega-category-tabs{display:grid;gap:10px;margin:24px 0 30px;width:100%}
 .site-header .mega-category-tabs button{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;padding:16px 12px;min-height:58px;border:1px solid #ffffff24;border-radius:7px;color:white;background:transparent;font:650 15px/1.4 inherit;text-align:left;cursor:pointer}
 .site-header .mega-category-tabs button[aria-selected=true]{background:#008ba5;border-color:#3cbad1;box-shadow:0 4px 15px #001b2520}
 .site-header .mega-category-tabs button span{font-size:23px}
 .site-header .mega-category-tabs button:focus-visible,.site-header .mega-family-all:focus-visible{outline:3px solid #e2bc65;outline-offset:3px}
 .site-header [data-menu="residential"] .mega-spotlight-overlay{justify-content:flex-start;padding-top:30px}
 .site-header [data-menu="residential"] .mega-family-groups .mega-series-thumb{width:64px;height:70px;flex-basis:64px}
 .site-header [data-menu="residential"] .mega-series-text{font-size:14px;line-height:1.35}
 .site-header [data-menu="residential"] .mega-series-link.is-previewed{background:#e9f4f6;border-radius:7px}
 .site-header .mega-preview-product-link{color:#00849e;font-size:14px;font-weight:700;text-decoration:none}
}
@media(min-width:1101px) and (max-width:1499px){
 .site-header [data-menu="residential"] .mega-family-groups{gap:12px}
 .site-header [data-menu="residential"] .mega-family-groups .mega-series-thumb{width:42px;height:50px;flex-basis:42px}
 .site-header [data-menu="residential"] .mega-series-link{padding:6px 2px;gap:6px}
 .site-header [data-menu="residential"] .mega-series-text{font-size:12px}
 .site-header [data-menu="residential"] .mega-family-header{align-items:flex-start;flex-direction:column;gap:8px}
}
@media(min-width:1101px) and (max-height:800px){
 .site-header [data-menu="residential"] .mega-col-mid{max-height:calc(100dvh - 110px)!important}
 .site-header [data-menu="residential"] .mega-family-header{margin-bottom:16px!important}
 .site-header [data-menu="residential"] .mega-series-link{min-height:68px!important;margin-bottom:2px!important;padding:3px!important}
 .site-header [data-menu="residential"] .mega-family-groups .mega-series-thumb{height:60px!important}
 .site-header [data-menu="residential"] .mega-spotlight-overlay{padding-top:22px!important;padding-bottom:22px!important}
 .site-header [data-menu="residential"] .mega-category-tabs{margin:18px 0!important;gap:8px!important}
 .site-header [data-menu="residential"] .mega-category-tabs button{min-height:54px!important}
}
.site-header .mega-help-line svg{width:18px;height:18px;vertical-align:middle;margin-right:7px;flex-shrink:0}
@media(min-width:1101px){
 .site-header [data-menu="residential"] .mega-product-family{position:relative}
 .site-header .mega-family-footer{position:absolute;right:0;bottom:0;width:calc((100% - 40px)/3);display:flex;justify-content:flex-end;margin:0;padding:0;border:0}
 .site-header [data-menu="residential"] .mega-family-footer .mega-family-all.mega-family-all--card{width:250px;max-width:100%;min-height:62px;margin:0;padding:6px 8px;gap:12px;font-size:15px!important}
 .site-header .mega-family-footer .mega-all-symbol{width:48px;height:48px;flex-basis:48px}
 .site-header .mega-family-footer .mega-all-symbol svg{width:30px;height:30px}
}
@media(min-width:1101px){
 .site-header [data-menu="residential"] .mega-family-all.mega-family-all--card{justify-content:flex-start;gap:14px;margin-top:18px;padding:8px;background:#edf6f8;color:#075366!important;border:1px solid #c8dfe5;box-shadow:none;min-height:90px;font-size:16px!important}
 .site-header [data-menu="residential"] .mega-family-all--card:hover{background:#dceef2;border-color:#008ba5}
 .site-header .mega-all-symbol{display:grid;place-items:center;width:72px;height:72px;flex:0 0 72px;background:white;border-radius:8px;color:#087f96}
 .site-header .mega-all-symbol svg{width:48px;height:48px}
 .site-header .mega-family-all--card small{display:block;font-size:11px;font-weight:400;margin-top:5px;line-height:1.5}
}
@media(min-width:1101px) and (max-width:1499px){
 .site-header .mega-all-symbol{width:52px;height:58px;flex-basis:52px}
 .site-header .mega-all-symbol svg{width:38px;height:38px}
 .site-header [data-menu="residential"] .mega-family-all.mega-family-all--card{font-size:13px!important;gap:8px;min-height:74px}
}
@media(min-width:1101px){
 .site-header .nav-float{position:relative!important}
 .site-header .nav,.site-header .nav-links,.site-header .nav-drop{position:static!important}
 .site-header .mega-menu{position:absolute!important;top:100%!important;left:50%!important;right:auto!important;margin-left:0!important;translate:-50% 0}
 .site-header [data-menu="residential"] .mega-spotlight-link{display:flex;align-items:center;justify-content:space-between;width:100%;box-sizing:border-box;padding:16px;border:1px solid #c5a257;border-radius:9px;background:#ffffff0d;color:#f0d48c;min-height:54px;text-decoration:none;font-size:14px}
 .site-header [data-menu="residential"] .mega-spotlight-link:hover{background:#ffffff20}
 .site-header [data-menu="residential"] .mega-category-tabs button:before{display:none!important}
 .site-header [data-menu="residential"] .mega-category-tabs button svg{width:25px;height:25px;flex:0 0 25px}
 .site-header [data-menu="residential"] .mega-family-all{display:flex;justify-content:center;align-items:center;min-height:50px;margin-top:22px;padding:10px 22px;border-radius:8px;background:#007f98;color:white!important;font-size:15px!important;font-weight:600!important;white-space:normal;box-sizing:border-box;text-decoration:none}
 .site-header [data-menu="residential"] .mega-family-all:hover{background:#075366}
 .site-header [data-menu="residential"] .mega-family-groups .mega-series-thumb{width:90px!important;height:90px!important;flex-basis:90px!important}
}
@media(min-width:1101px) and (max-width:1499px){
 .site-header [data-menu="residential"] .mega-family-groups .mega-series-thumb{width:64px!important;height:68px!important;flex-basis:64px!important}
}
@media(min-width:1101px) and (max-height:800px){
 .site-header [data-menu="residential"] .mega-family-groups .mega-series-thumb{height:62px!important}
 .site-header [data-menu="residential"] .mega-family-header{margin-bottom:10px!important}
 .site-header [data-menu="residential"] .mega-family-all{margin-top:12px;min-height:44px}
}
/* Residential catalogue: generous imagery, quiet type and clear category navigation. */
@media(min-width:1101px){
 .site-header [data-menu="residential"] .mega-spotlight-v2{flex:0 0 18%;width:18%;max-width:none}
 .site-header [data-menu="residential"] .mega-spotlight-overlay{padding:32px 26px;justify-content:flex-start}
 .site-header [data-menu="residential"] .mega-spotlight-heading{font-size:34px!important;line-height:1.12!important;font-weight:500!important;letter-spacing:-1px}
 .site-header [data-menu="residential"] .mega-spotlight-desc{font-size:14px!important;font-weight:400!important;line-height:1.7}
 .site-header [data-menu="residential"] .mega-category-tabs button{font-family:inherit;font-size:16px;font-weight:500;min-height:65px;padding:16px;gap:12px;border-radius:9px}
 .site-header [data-menu="residential"] .mega-category-tabs button:before{content:'';display:block;width:17px;height:23px;border:1.5px solid currentColor;flex:0 0 17px;border-radius:1px;opacity:.85}
 .site-header [data-menu="residential"] #res-tab-windows:before{background:linear-gradient(90deg,transparent 46%,currentColor 47%,currentColor 53%,transparent 54%)}
 .site-header [data-menu="residential"] #res-tab-skylights:before{transform:skew(-12deg);height:17px}
 .site-header [data-menu="residential"] .mega-category-tabs button span{margin-left:auto}
 .site-header [data-menu="residential"] .mega-col-mid{padding:30px;flex:1;min-width:0}
 .site-header [data-menu="residential"] .mega-family-header{margin-bottom:26px}
 .site-header [data-menu="residential"] .mega-family-header h3{font-size:32px!important;font-weight:500!important;letter-spacing:-.7px}
 .site-header [data-menu="residential"] .mega-family-header p{font-weight:400!important;font-size:14px}
 .site-header [data-menu="residential"] .mega-family-groups{gap:20px}
 .site-header [data-menu="residential"] .mega-group-block+.mega-group-block{border-left:1px solid #e0e9ec;padding-left:20px}
 .site-header [data-menu="residential"] .mega-group-block h4{display:flex;align-items:center;gap:9px;font-size:13px!important;letter-spacing:.025em;font-weight:650!important;line-height:1.4;min-height:36px}
 .site-header [data-menu="residential"] .mega-group-block h4:before{display:none}
 .site-header [data-menu="residential"] .mega-group-block h4 svg{width:26px;height:26px;flex:0 0 26px}
 .site-header [data-menu="residential"] .mega-series-thumb img{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;transform:none}
 .site-header [data-menu="residential"] .mega-series-link{min-height:88px;padding:6px;gap:14px;margin-bottom:5px;border-radius:10px;transition:background .18s ease}
 .site-header [data-menu="residential"] .mega-family-groups .mega-series-thumb{width:76px;height:76px;flex:0 0 76px;background:#f2f6f7;border-color:#e0eaed}
 .site-header [data-menu="residential"] .mega-series-text{font-size:16px!important;font-weight:500!important;line-height:1.4!important}
 .site-header [data-menu="residential"] .mega-series-text small{display:block;font-size:10px;color:#64808a;margin-top:4px}
 .site-header [data-menu="residential"] .mega-col-right{flex:0 0 22%;width:22%;max-width:none;padding:24px;gap:14px}
 .site-header [data-menu="residential"] .mega-preview-frame{height:300px;min-height:300px}
 .site-header [data-menu="residential"] .mega-preview-title{font-weight:500!important;font-size:22px!important}
 .site-header [data-menu="residential"] .mega-help-card{width:100%;margin-top:auto;padding:22px 8px;box-sizing:border-box}
 .site-header [data-menu="residential"] .mega-help-line{font-size:13px;white-space:normal;overflow-wrap:anywhere}
}
@media(min-width:1101px) and (max-width:1499px){
 .site-header [data-menu="residential"] .mega-spotlight-overlay{padding:24px 16px}
 .site-header [data-menu="residential"] .mega-spotlight-heading{font-size:28px!important}
 .site-header [data-menu="residential"] .mega-col-mid{padding:22px 18px}
 .site-header [data-menu="residential"] .mega-family-groups{gap:10px}
 .site-header [data-menu="residential"] .mega-group-block+.mega-group-block{padding-left:10px}
 .site-header [data-menu="residential"] .mega-family-groups .mega-series-thumb{width:52px;height:64px;flex-basis:52px}
 .site-header [data-menu="residential"] .mega-series-text{font-size:13px!important}
 .site-header [data-menu="residential"] .mega-series-link{gap:8px;min-height:76px}
 .site-header [data-menu="residential"] .mega-col-right{padding:16px}
 .site-header [data-menu="residential"] .mega-preview-frame{height:245px;min-height:245px}
 .site-header [data-menu="residential"] .mega-category-tabs button{font-size:13px;padding:12px 8px}
 .site-header [data-menu="residential"] .mega-group-block h4{font-size:12px!important}
}
