/* FINAL APPROVED DESKTOP MOCKUP OVERRIDE — mobile is intentionally untouched. */
@media (min-width:901px){
  :root{--jmf-header-h:82px;--jmf-red:#e21d3a;--jmf-navy:#031d43;}
  html{scroll-padding-top:var(--jmf-header-h)!important;}
  html,body{margin:0!important;}
  body{padding-top:var(--jmf-header-h)!important;overflow-x:hidden!important;}
  body>.desktop-hero-logo,.desktop-hero-logo{display:none!important;}

  /* Exactly one compact header geometry on every desktop page. */
  body .jmf-header{
    position:fixed!important;top:0!important;left:0!important;right:0!important;bottom:auto!important;
    width:100%!important;height:var(--jmf-header-h)!important;min-height:var(--jmf-header-h)!important;
    margin:0!important;padding:0 24px!important;box-sizing:border-box!important;
    display:flex!important;align-items:center!important;background:#fff!important;
    border:0!important;border-bottom:1px solid rgba(3,29,67,.12)!important;
    box-shadow:none!important;overflow:visible!important;z-index:2147483000!important;
  }
  body .jmf-logo-link{
    position:absolute!important;left:24px!important;top:50%!important;right:auto!important;bottom:auto!important;
    transform:translateY(-50%)!important;width:270px!important;height:76px!important;
    margin:0!important;padding:0 0 6px!important;box-sizing:border-box!important;
    display:flex!important;align-items:center!important;justify-content:center!important;border:0!important;
  }
  body .jmf-logo-link::after{
    content:""!important;display:block!important;position:absolute!important;left:0!important;right:0!important;bottom:2px!important;
    width:270px!important;height:2px!important;background:var(--jmf-red)!important;
  }
  body .jmf-header .jmf-logo{
    display:block!important;width:270px!important;max-width:270px!important;height:auto!important;max-height:67px!important;
    margin:0!important;padding:0!important;object-fit:contain!important;object-position:center center!important;
  }
  body .jmf-nav{
    position:absolute!important;left:50%!important;top:0!important;right:auto!important;bottom:auto!important;
    transform:translateX(-50%)!important;width:max-content!important;height:var(--jmf-header-h)!important;
    margin:0!important;padding:0!important;display:flex!important;align-items:stretch!important;justify-content:center!important;
    gap:clamp(24px,2.35vw,44px)!important;overflow:visible!important;
  }
  body .jmf-nav-item{height:100%!important;display:flex!important;align-items:stretch!important;position:relative!important;overflow:visible!important;}
  body .jmf-nav-link{height:100%!important;display:flex!important;align-items:center!important;padding:0!important;margin:0!important;line-height:1!important;white-space:nowrap!important;}
  body .jmf-nav-link.active::after{bottom:10px!important;}
  body .jmf-dropdown-menu{top:calc(var(--jmf-header-h) - 1px)!important;z-index:2147483001!important;}
  body .jmf-header-actions{
    position:absolute!important;right:24px!important;top:50%!important;left:auto!important;bottom:auto!important;
    transform:translateY(-50%)!important;height:auto!important;margin:0!important;padding:0!important;
    display:flex!important;align-items:center!important;justify-content:flex-end!important;
  }
  body .jmf-quote{
    display:inline-flex!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;
    min-height:44px!important;margin:0!important;padding:12px 22px!important;line-height:1!important;
    visibility:visible!important;opacity:1!important;transform:none!important;
  }

  /* Remove every historical desktop offset. */
  body>main,body.interior-page>main,body>main[style]{
    position:relative!important;top:auto!important;left:auto!important;right:auto!important;
    width:100%!important;max-width:none!important;margin:0!important;padding:0!important;transform:none!important;
  }
  body.interior-page>main>:first-child,
  body.interior-page>.jmf-mockup-leader,
  body .jmf-mockup-leader{
    margin-top:0!important;top:auto!important;transform:none!important;border-top:0!important;
  }

  /* Exact approved interior leader composition. */
  body.interior-page .jmf-mockup-leader{
    position:relative!important;width:100%!important;height:300px!important;min-height:300px!important;max-height:300px!important;
    margin:0!important;padding:0!important;box-sizing:border-box!important;display:flex!important;align-items:center!important;
    justify-content:flex-start!important;overflow:hidden!important;background:var(--jmf-navy)!important;background-image:none!important;
    isolation:isolate!important;
  }
  body.interior-page .jmf-mockup-leader::before,
  body.interior-page .jmf-mockup-leader::after{content:none!important;display:none!important;background:none!important;}
  body.interior-page .jmf-mockup-leader>.products-hero-ink{display:none!important;}
  body.interior-page .jmf-approved-photo{
    display:block!important;position:absolute!important;z-index:0!important;top:0!important;right:0!important;bottom:0!important;
    width:59%!important;height:100%!important;overflow:hidden!important;pointer-events:none!important;
    -webkit-mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.50) 13%,#000 29%)!important;
    mask-image:linear-gradient(to right,transparent 0%,rgba(0,0,0,.50) 13%,#000 29%)!important;
  }
  body.interior-page .jmf-approved-photo img{
    display:block!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;object-position:center!important;
  }
  body.interior-page .jmf-approved-shade{
    display:block!important;position:absolute!important;z-index:1!important;inset:0!important;pointer-events:none!important;
    background:linear-gradient(90deg,#031d43 0%,#031d43 40%,rgba(3,29,67,.88) 49%,rgba(3,29,67,.18) 70%,rgba(3,29,67,0) 100%)!important;
  }
  body.interior-page .jmf-mockup-leader>.products-hero-inner,
  body.interior-page .jmf-mockup-leader>.jmf-trc-hero-inner,
  body.interior-page .jmf-mockup-leader>.container{
    position:relative!important;z-index:2!important;width:min(1160px,calc(100% - 56px))!important;max-width:1160px!important;
    height:auto!important;margin:0 auto!important;padding:0!important;display:block!important;text-align:left!important;
    top:auto!important;left:auto!important;right:auto!important;bottom:auto!important;transform:none!important;
  }
  body.interior-page .jmf-mockup-leader .jmf-hero-copy-lock{
    position:relative!important;width:42%!important;max-width:460px!important;margin:0!important;padding:0!important;display:block!important;text-align:left!important;
  }
  body.interior-page .jmf-matched-interior-kicker,
  body.interior-page .jmf-trc-kicker{
    position:relative!important;display:block!important;width:max-content!important;max-width:100%!important;
    margin:0 0 20px!important;padding:0 0 10px!important;left:auto!important;right:auto!important;top:auto!important;transform:none!important;
    color:#ff304d!important;font-family:Arial,sans-serif!important;font-size:14px!important;font-weight:800!important;line-height:1!important;
    letter-spacing:.045em!important;text-transform:uppercase!important;text-align:left!important;
  }
  body.interior-page .jmf-matched-interior-kicker::after,
  body.interior-page .jmf-trc-kicker::after{
    content:""!important;display:block!important;position:absolute!important;left:0!important;bottom:0!important;width:34px!important;height:2px!important;background:#ff304d!important;
  }
  body.interior-page .jmf-matched-interior-title,
  body.interior-page .jmf-trc-hero h1{
    position:relative!important;display:block!important;width:auto!important;max-width:460px!important;height:auto!important;max-height:none!important;
    margin:0!important;padding:0!important;left:auto!important;right:auto!important;top:auto!important;transform:none!important;
    color:#fff!important;font-family:Georgia,'Times New Roman',serif!important;font-size:44px!important;font-weight:700!important;line-height:1.02!important;
    letter-spacing:-.025em!important;text-align:left!important;white-space:normal!important;overflow:visible!important;
  }
  body.interior-page .jmf-mockup-subtitle,
  body.interior-page .jmf-trc-hero p{
    position:relative!important;display:block!important;max-width:390px!important;margin:16px 0 0!important;padding:0!important;
    color:#fff!important;font-family:Arial,sans-serif!important;font-size:16px!important;font-weight:400!important;line-height:1.45!important;text-align:left!important;
  }

  /* Homepage uses the identical fixed white header and starts immediately below it. */
  body.home,body.home-page{padding-top:var(--jmf-header-h)!important;}
  body.home .jmf-header,body.home-page .jmf-header{background:#fff!important;position:fixed!important;}
  body.home .jmf-hero,body.home-page .jmf-hero{margin-top:0!important;top:auto!important;}
}

@media (min-width:901px) and (max-width:1320px){
  body .jmf-logo-link{left:16px!important;width:238px!important;}
  body .jmf-logo-link::after{width:238px!important;}
  body .jmf-header .jmf-logo{width:238px!important;max-width:238px!important;max-height:60px!important;}
  body .jmf-header-actions{right:16px!important;}
  body .jmf-nav{gap:18px!important;}
  body .jmf-nav-link{font-size:13px!important;}
  body .jmf-quote{font-size:12px!important;padding:11px 15px!important;}
}
