/* MP visual finish r3 — matched to approved layout.
   Desktop only. Existing cart markup/handlers/totals and mobile remain. */
@media(min-width:1024px){
html.desktop-header-active .header-lg.mp-desktop-redesign{width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:#fff!important;box-shadow:0 1px 0 #DCE4ED;}
html.desktop-header-active .header-lg.mp-desktop-redesign > .top-bar{box-sizing:border-box;min-height:32px!important;height:32px!important;width:100%!important;max-width:none!important;padding:0 max(20px,calc((100% - 1300px)/2 + 20px))!important;margin:0!important;background:#EDF4FC!important;border:0!important;border-bottom:1px solid #DCE8F6!important;}
html.desktop-header-active .header-lg.mp-desktop-redesign > .top-bar .top-menu > .j-menu > li > a{min-height:31px!important;height:31px!important;color:#254B75!important;font-size:12px!important;font-weight:400;text-transform:none;}
html.desktop-header-active .header-lg.mp-desktop-redesign > .mid-bar{box-sizing:border-box;display:grid!important;grid-template-columns:112px minmax(240px,1fr) auto!important;align-items:center!important;gap:28px!important;width:100%!important;max-width:1300px!important;height:108px!important;min-height:108px!important;margin:0 auto!important;padding:6px 20px!important;background:#fff!important;}
html.desktop-header-active .header-lg.mp-desktop-redesign .mid-bar > .desktop-logo-wrapper{grid-area:1 / 1!important;position:static!important;transform:none!important;display:flex;align-items:center;width:112px!important;height:96px!important;min-height:0!important;margin:0!important;padding:0!important;}
html.desktop-header-active .header-lg.mp-desktop-redesign .desktop-logo-wrapper #logo{display:flex;align-items:center;justify-content:flex-start!important;width:auto!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;}
html.desktop-header-active .header-lg.mp-desktop-redesign .desktop-logo-wrapper #logo > a{padding:0!important;margin:0!important;border:0!important;display:block;}
html.desktop-header-active .header-lg.mp-desktop-redesign .desktop-logo-wrapper #logo img{display:block;width:88px!important;height:88px!important;max-height:88px!important;object-fit:contain;margin:0!important;padding:0!important;}
html.desktop-header-active .header-lg.mp-desktop-redesign .mid-bar > .desktop-search-wrapper{grid-area:1 / 2!important;position:static!important;transform:none!important;width:100%!important;max-width:580px!important;min-width:0!important;justify-self:center;margin:0!important;}
html.desktop-header-active .header-lg.mp-desktop-redesign .mid-bar > .classic-cart-wrapper{grid-area:1 / 3!important;position:static!important;transform:none!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;gap:26px!important;width:auto!important;height:auto!important;min-width:0;margin:0!important;padding:0!important;}
html.desktop-header-active .header-lg.mp-desktop-redesign .mp-account-slot{position:relative!important;flex:0 0 auto;width:auto!important;margin:0!important;padding:0!important;}
html.desktop-header-active .header-lg.mp-desktop-redesign .mp-account-slot > *{position:static!important;width:auto!important;margin:0!important;}
html.desktop-header-active .header-lg.mp-desktop-redesign .mp-account-slot #main-menu-2 > .j-menu{display:flex!important;align-items:center;margin:0!important;padding:0!important;background:transparent!important;}
html.desktop-header-active .header-lg.mp-desktop-redesign .mp-account-slot #main-menu-2 > .j-menu > li > a{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:9px!important;min-height:44px!important;height:44px!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;color:#303C4C!important;font-size:13px!important;font-weight:500!important;text-transform:none!important;white-space:nowrap;}
html.desktop-header-active .header-lg.mp-desktop-redesign .mp-account-slot #main-menu-2 > .j-menu > li > a::before{content:""!important;display:block!important;position:static!important;flex:0 0 25px;width:25px!important;height:25px!important;margin:0!important;padding:0!important;background:#0850A4!important;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%228%22%20r%3D%223.5%22%2F%3E%3Cpath%20d%3D%22M4.5%2021v-2a7.5%207.5%200%200%201%2015%200v2%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%228%22%20r%3D%223.5%22%2F%3E%3Cpath%20d%3D%22M4.5%2021v-2a7.5%207.5%200%200%201%2015%200v2%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;}
html.desktop-header-active .header-lg.mp-desktop-redesign .mp-account-slot #main-menu-2 > .j-menu > li > a > .links-text{font-size:13px!important;line-height:1.3!important;padding:0!important;}
html.desktop-header-active .header-lg.mp-desktop-redesign .desktop-cart-wrapper{width:auto!important;min-width:0!important;margin:0!important;padding:0!important;}
html.desktop-header-active .header-lg.mp-desktop-redesign .classic-cart-wrapper #cart{width:auto!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;}
html.desktop-header-active .header-lg.mp-desktop-redesign .classic-cart-wrapper #cart > a.cart-heading{display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;position:relative!important;min-width:0!important;min-height:44px!important;height:44px!important;padding:0 3px!important;margin:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:#303C4C!important;}
html.desktop-header-active .header-lg.mp-desktop-redesign .classic-cart-wrapper #cart > a.cart-heading::after{display:none!important;}
html.desktop-header-active .header-lg.mp-desktop-redesign .classic-cart-wrapper #cart > a.cart-heading > i{order:0!important;display:block!important;position:static!important;flex:0 0 28px;width:28px!important;height:28px!important;padding:0!important;margin:0!important;background:transparent!important;}
html.desktop-header-active .header-lg.mp-desktop-redesign .classic-cart-wrapper #cart > a.cart-heading > i::before{content:""!important;display:block!important;width:28px!important;height:28px!important;background:#0850A4!important;-webkit-mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M2%203h3l2.2%2012h11.6l2-8H6%22%2F%3E%3Ccircle%20cx%3D%229%22%20cy%3D%2220%22%20r%3D%221%22%2F%3E%3Ccircle%20cx%3D%2218%22%20cy%3D%2220%22%20r%3D%221%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M2%203h3l2.2%2012h11.6l2-8H6%22%2F%3E%3Ccircle%20cx%3D%229%22%20cy%3D%2220%22%20r%3D%221%22%2F%3E%3Ccircle%20cx%3D%2218%22%20cy%3D%2220%22%20r%3D%221%22%2F%3E%3C%2Fsvg%3E") center/contain no-repeat;}
html.desktop-header-active .header-lg.mp-desktop-redesign .classic-cart-wrapper #cart > a.cart-heading #cart-total{order:1!important;display:block!important;min-width:0!important;width:auto!important;position:static!important;padding:0!important;margin:0!important;font-size:13px!important;font-weight:500!important;line-height:1.4!important;color:#303C4C!important;white-space:nowrap;}
html.desktop-header-active .header-lg.mp-desktop-redesign .classic-cart-wrapper #cart > a.cart-heading #cart-items{position:absolute!important;left:18px!important;right:auto!important;top:-1px!important;min-width:16px!important;width:auto!important;height:16px!important;line-height:16px!important;padding:0 3px!important;margin:0!important;background:#0850A4!important;color:#fff!important;border:2px solid #fff!important;border-radius:20px!important;font-size:9px!important;box-sizing:content-box;}
html.desktop-header-active .header-lg.mp-desktop-redesign .desktop-main-menu-wrapper{box-sizing:border-box;display:flex!important;align-items:center;justify-content:center;width:100%!important;min-height:50px!important;height:auto!important;margin:0!important;padding:0 20px!important;background:#fff!important;border:0!important;border-bottom:1px solid #DCE4ED!important;box-shadow:none!important;}
html.desktop-header-active .header-lg.mp-desktop-redesign .desktop-main-menu-wrapper::before{display:none!important;content:none!important;}
html.desktop-header-active .header-lg.mp-desktop-redesign .desktop-main-menu-wrapper::after{display:none!important;content:none!important;}
html.desktop-header-active .header-lg.mp-desktop-redesign .desktop-main-menu-wrapper > .main-menu{margin:0!important;padding:0!important;width:auto!important;max-width:100%!important;}
html.desktop-header-active .header-lg.mp-desktop-redesign .desktop-main-menu-wrapper > .main-menu > .j-menu{display:flex!important;justify-content:center;align-items:center;flex-wrap:wrap;margin:0!important;padding:0!important;background:#fff!important;}
html.desktop-header-active .header-lg.mp-desktop-redesign .desktop-main-menu-wrapper > .main-menu > .j-menu > li > a{min-height:49px!important;padding:0 11px!important;background:#fff!important;color:#303C4C!important;font-size:14px!important;font-weight:600!important;letter-spacing:0!important;text-transform:none!important;}
html.desktop-header-active .header-lg.mp-desktop-redesign .desktop-main-menu-wrapper > .main-menu > .j-menu > li > a:hover{background:#F3F7FC!important;color:#0850A4!important;}
html.desktop-header-active .header-lg.mp-desktop-redesign a:focus-visible{outline:2px solid #0850A4!important;outline-offset:3px;}
}
@media(min-width:1024px) and (max-width:1199px){
html.desktop-header-active .header-lg.mp-desktop-redesign > .mid-bar{grid-template-columns:96px minmax(220px,1fr) auto!important;gap:18px!important;padding-inline:20px!important;}
html.desktop-header-active .header-lg.mp-desktop-redesign .mid-bar > .classic-cart-wrapper{gap:16px!important;}
}

/* Alignment r3-align1: Journal content container is 1300px, not 1440px. */
@media(min-width:1024px){
 html.desktop-header-active .header-lg.mp-desktop-redesign > .top-bar{border-radius:0!important;}
 html.desktop-header-active .header-lg.mp-desktop-redesign .desktop-main-menu-wrapper{max-width:none!important;}
}
