/* WinMax4 V3.7: corrected missing sector styles and reduced internal scroll.
   Scope all components to .wmv3 and keep approved full-height cinematic heroes intact. */
:root{--wm37-orange:#ff713c;--wm37-navy:#162944;--wm37-light:#f5f7fa;}
body.wmv3 .wm39-sectors{padding:30px 28px 29px!important;margin:0!important;background:#f3f6fa!important;color:var(--wm37-navy);font-family:inherit;}
body.wmv3 .wm39-inner{max-width:1260px;width:100%;margin:0 auto!important;padding:0!important;}
body.wmv3 .wm39-kicker{display:block;margin:0 0 8px;font-size:.72rem;line-height:1.5;font-weight:850;letter-spacing:.12em;text-transform:uppercase;color:#d75431;}
body.wmv3 .wm39-sectors h2{font-size:clamp(1.6rem,2.45vw,2.35rem)!important;line-height:1.16!important;letter-spacing:-.034em!important;margin:0!important;font-weight:800!important;color:#152943!important;}
body.wmv3 .wm39-lead{font-size:.91rem!important;line-height:1.48!important;color:#63738a!important;margin:8px 0 15px!important;}
body.wmv3 .wm39-grid{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;gap:9px!important;align-items:stretch;}
body.wmv3 .wm39-grid .wm39-tile{position:relative;display:flex!important;flex-direction:column;gap:5px;min-width:0;min-height:99px;padding:13px 14px!important;border:1px solid #dfe5ec;border-radius:14px!important;background:#fff!important;color:#182d47!important;text-decoration:none!important;box-shadow:0 3px 12px rgba(15,31,53,.03);transition:box-shadow .2s,transform .2s,border-color .2s;}
body.wmv3 .wm39-grid .wm39-tile strong{font-size:1rem!important;line-height:1.19!important;font-weight:800;color:#182d47!important;}
body.wmv3 .wm39-grid .wm39-tile span{font-size:.76rem;line-height:1.39;color:#6b7a91;}
body.wmv3 .wm39-grid .wm39-tile b{position:absolute;right:11px;top:12px;font-size:.86rem;color:#eb6b45;font-weight:800;}
body.wmv3 .wm39-grid .wm39-tile:hover{transform:translateY(-2px);border-color:#f6b09a;box-shadow:0 12px 20px rgba(23,38,60,.09);}
body.wmv3 .wm39-grid .wm39-tile:focus-visible{outline:3px solid #e76a42;outline-offset:2px;}
body.wmv3 .wm39-actions{display:flex!important;gap:17px!important;flex-wrap:wrap;align-items:center;margin-top:15px!important;}
body.wmv3 .wm39-actions a{color:#c84b2b!important;font-weight:800;font-size:.87rem;line-height:1.4;text-decoration:none;}
body.wmv3 .wm39-actions a:hover{text-decoration:underline;}
/* Tighter secondary sections; never shrink a hero. */
body.wmv3 .retail-section{padding-block:46px!important;}
body.wmv3 .retail-section .wrap{max-width:1200px;}
body.wmv3 .retail-section h2{font-size:clamp(2rem,3.5vw,3.35rem)!important;line-height:1.06!important;letter-spacing:-.045em!important;}
body.wmv3 .retail-section .lead{font-size:.96rem!important;line-height:1.54!important;margin-top:13px!important;}
body.wmv3 .stock-grid-v2{grid-template-columns:minmax(0,.96fr) minmax(0,1.04fr)!important;gap:clamp(20px,3vw,42px)!important;}
body.wmv3 .stock-visual-v2{max-height:365px!important;aspect-ratio:1.5!important;border-radius:20px!important;box-shadow:0 12px 28px rgba(21,35,58,.09)!important;}
body.wmv3 .stock-visual-v2 img{object-fit:cover!important;object-position:center center!important;}
body.wmv3 .stock-badge-v2{left:15px!important;right:15px!important;bottom:15px!important;padding:11px 14px!important;border-radius:12px!important;}
body.wmv3 .stock-grid-v2 h2{max-width:630px!important;}
body.wmv3 .stock-grid-v2 .retail-fit-grid-v2{gap:10px!important;margin-top:15px!important;}
body.wmv3 .stock-grid-v2 .retail-fit-card{padding:14px 16px!important;}
body.wmv3 .counter-v2{gap:24px!important;}
body.wmv3 .counter-item-v2{padding:11px 15px!important;}
/* Slim commercial CTA: full-width message, not a giant divider. */
body.wmv3 .retail-final-v2{padding:39px 22px!important;min-height:0!important;}
body.wmv3 .retail-final-box{max-width:1120px!important;margin:0 auto!important;grid-template-columns:minmax(0,1fr) auto!important;gap:25px!important;align-items:center!important;}
body.wmv3 .retail-final-v2 h2{font-size:clamp(2.1rem,3.45vw,3.2rem)!important;line-height:1.05!important;letter-spacing:-.041em!important;max-width:760px!important;}
body.wmv3 .retail-final-v2 p{font-size:.91rem!important;line-height:1.5!important;margin:10px 0 0!important;max-width:650px;}
body.wmv3 .retail-final-v2 a.btn-secondary{font-size:.88rem!important;padding:12px 19px!important;white-space:nowrap;}
/* Keep original sector images clean and legible; captions remain editable HTML. */
body.wmv3 .retail-photo-zoom img{object-fit:cover!important;}
/* Other whitespace blocks that were left tall after v3.6 */
body.wmv3 .retail-fit-grid-v2{gap:13px!important;}
body.wmv3 .retail-fit-card{padding:17px 18px!important;}
body.wmv3 .wmv3-landing-content,body.wmv3 .wmv3-landing-secondary,body.wmv3 .wmv3-sector-section{padding-block:43px!important;}
body.wmv3 .wmv3-footer{margin-top:0!important;}
@media(max-width:1100px){
 body.wmv3 .wm39-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
 body.wmv3 .wm39-grid .wm39-tile{min-height:93px;}
}
@media(max-width:800px){
 body.wmv3 .stock-grid-v2{grid-template-columns:1fr!important;gap:21px!important;}
 body.wmv3 .stock-visual-v2{max-height:340px!important;width:100%;}
 body.wmv3 .retail-final-box{grid-template-columns:1fr!important;gap:18px!important;align-items:start!important;}
 body.wmv3 .retail-final-v2{padding-block:36px!important;}
 body.wmv3 .retail-section{padding-block:41px!important;}
}
@media(max-width:620px){
 body.wmv3 .wm39-sectors{padding:29px 16px 30px!important;}
 body.wmv3 .wm39-sectors h2{font-size:1.6rem!important;}
 body.wmv3 .wm39-lead{margin-bottom:14px!important;}
 body.wmv3 .wm39-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;}
 body.wmv3 .wm39-grid .wm39-tile{min-height:94px;padding:12px 10px!important;}
 body.wmv3 .wm39-grid .wm39-tile strong{font-size:.9rem!important;}
 body.wmv3 .wm39-grid .wm39-tile span{font-size:.72rem;}
 body.wmv3 .wm39-grid .wm39-tile b{top:9px;right:9px;}
 body.wmv3 .wm39-actions{gap:12px!important;}
 body.wmv3 .wm39-actions a{font-size:.8rem;}
 body.wmv3 .retail-section{padding-block:33px!important;}
 body.wmv3 .retail-section h2{font-size:clamp(1.9rem,8.6vw,2.6rem)!important;line-height:1.1!important;}
 body.wmv3 .stock-visual-v2{max-height:255px!important;border-radius:16px!important;}
 body.wmv3 .retail-final-v2{padding:30px 16px!important;}
 body.wmv3 .retail-final-v2 h2{font-size:clamp(1.9rem,9vw,2.5rem)!important;line-height:1.07!important;}
 body.wmv3 .retail-final-v2 p{font-size:.85rem!important;}
 body.wmv3 .wmv3-landing-content,body.wmv3 .wmv3-landing-secondary,body.wmv3 .wmv3-sector-section{padding-block:34px!important;}
}

/* Keep the existing zoom/lightbox, but reduce the intrusive black icon on imagery. */
body.wmv3 .retail-photo-zoom:after{width:29px!important;height:29px!important;top:10px!important;right:10px!important;background-size:14px 14px!important;opacity:.68!important;box-shadow:0 4px 12px rgba(0,0,0,.14)!important;}
body.wmv3 .retail-photo-zoom:hover:after{opacity:.93!important;}
/* Ensure consistent contrast after scrolling; navigation overlay remains light when explicitly opened on mobile. */
body.wmv3.wmv36-scrolled .wmv3-header,body.wmv3 .wmv3-header.wmv35-scrolled{background:rgba(12,26,47,.98)!important;color:#fff!important;border-bottom-color:rgba(255,255,255,.1)!important;}
@media(max-width:620px){
 body.wmv3 .max-launch{width:72px!important;min-width:0!important;height:45px!important;font-size:0!important;padding:0 7px!important;gap:4px!important;}
 body.wmv3 .max-launch:before{font-size:17px!important;}
 body.wmv3 .max-launch:after{content:'Max';font-size:12px;font-weight:800;color:#fff;}
}
