.mrs-mobile-header-controls,.mrs-mobile-menu-overlay,.mrs-mobile-header-announcement{display:none}
@media(max-width:560px){
body img[src="/assets/mrs-logo-perf-v1.webp"]{filter:url(#mrs-mobile-logo-sharpen);image-rendering:-webkit-optimize-contrast}
body .site-header .brand img[src="/assets/mrs-logo-perf-v1.webp"],body.home-page footer .foot>img[src="/assets/mrs-logo-perf-v1.webp"]{filter:contrast(1.12) url(#mrs-mobile-logo-sharpen)}
.mrs-mobile-header-announcement{display:flex;position:absolute;top:14px;left:0;right:0;flex-direction:column;align-items:center;gap:3px;background:transparent;color:#fff;text-align:center;font:700 clamp(12px,3vw,14px)/1.35 Arial,sans-serif;pointer-events:none}
.mrs-mobile-header-announcement>span:last-child{color:var(--red,#d3242b)}
body .site-header.mrs-mobile-header-ready{height:calc(68px + min(clamp(140px,40vw,180px),calc((100vw - 52px - clamp(112px,28vw,128px)) / 1.2)) / 3);box-sizing:border-box}
body .site-header.mrs-mobile-header-ready .head{position:relative;display:flex;align-items:center;justify-content:center;height:calc(123px + min(clamp(140px,40vw,180px),calc((100vw - 52px - clamp(112px,28vw,128px)) / 1.2)) / 3);min-height:0;padding:0;width:calc(100% - 32px);box-sizing:border-box}
body .site-header.mrs-mobile-header-ready .head>nav,body .site-header.mrs-mobile-header-ready .built-badge{display:none}
body .site-header.mrs-mobile-header-ready .brand{display:flex;width:clamp(100px,30vw,136px);margin:0;justify-content:center;position:relative;z-index:1}
body .site-header.mrs-mobile-header-ready .brand img{width:100%;max-width:100%;height:auto;transform:none}
.mrs-mobile-header-controls{display:flex;position:absolute;inset:0;align-items:center;gap:10px;pointer-events:none}
.mrs-header-icon{display:flex;width:32px;height:44px;padding:0;align-items:center;justify-content:center;border:0;background:transparent;color:#fff;cursor:pointer;pointer-events:auto}
.mrs-header-icon svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
body .mrs-mobile-header-controls .mrs-mobile-cart{display:flex;position:relative!important;left:auto!important;top:auto!important;margin-left:auto;align-items:center;justify-content:center;width:32px;height:44px;border:0;padding:0;background:transparent;color:#fff;pointer-events:auto}
body .mrs-mobile-header-controls .mrs-mobile-cart svg{width:28px;height:28px}
.mrs-mobile-menu-overlay:not([hidden]){display:block;position:fixed;inset:0;background:#0009;z-index:2000}
.mrs-mobile-menu-drawer{position:absolute;inset:0 auto 0 0;width:74%;max-width:420px;background:#fff;color:#111;overflow:auto;box-sizing:border-box;padding:76px 20px 24px;box-shadow:8px 0 30px #0005}
.mrs-menu-close{position:absolute;right:16px;top:12px;color:#111}
.mrs-mobile-menu-row{display:flex;align-items:center;min-height:58px;gap:8px}
.mrs-mobile-menu-row>a{flex:1;color:#111;text-decoration:none;font:20px/1.4 Arial,sans-serif;padding:12px 0}
.mrs-mobile-menu-row .mrs-header-icon{color:#111;flex:none}
.mrs-mobile-submenu{padding:0 0 12px 12px}
.mrs-mobile-submenu[hidden]{display:none}
.mrs-mobile-submenu>a,.mrs-mobile-submenu>.unavailable{display:block;padding:12px 0;color:#111;text-decoration:none;font:16px/1.4 Arial,sans-serif}
.mrs-mobile-submenu>.unavailable{color:#777}
body .site-header.mrs-mobile-header-ready .head>.mobile-site-search{display:none;position:absolute;left:0;right:0;top:calc(100% - 47px);z-index:1200;width:100%;max-width:none;height:42px;margin:0;padding:4px;background:#070b0e;border:1px solid #465158;border-radius:8px;box-sizing:border-box}
body .site-header.mrs-mobile-header-ready .head.mrs-header-search-open>.mobile-site-search{display:flex}
body .site-header.mrs-mobile-header-ready .mobile-site-search input{height:32px}
body .site-header.mrs-mobile-header-ready .mobile-site-search button{height:32px}
body .site-header.mrs-mobile-header-ready .mobile-search-results{width:100%;box-sizing:border-box}
.mrs-header-icon:focus-visible,.mrs-mobile-menu-row>a:focus-visible{outline:2px solid #d3242b;outline-offset:3px}
}

/* Search-specific click feedback on both layouts. */
body .mrs-header-search-toggle{-webkit-tap-highlight-color:transparent}
body .mrs-header-search-toggle:focus:not(:focus-visible){outline:none;box-shadow:none}
body .site-header.mrs-mobile-header-ready .mobile-site-search input{outline:none;box-shadow:none;-webkit-tap-highlight-color:transparent}
@media(max-width:560px){
.mrs-mobile-header-announcement{flex-direction:row;gap:0;color:var(--red,#ff102b);white-space:nowrap}
}

/* Mobile offer line: centred white type and a tighter gap to the logo. */
@media(max-width:560px){
.mrs-mobile-header-announcement{top:24px;justify-content:center;color:#fff;font:700 12px/1.35 Arial,sans-serif;text-transform:uppercase;white-space:nowrap}
.mrs-mobile-header-announcement>span:last-child{color:#fff}
body .site-header.mrs-mobile-header-ready{height:calc(58px + min(clamp(140px,40vw,180px),calc((100vw - 52px - clamp(112px,28vw,128px)) / 1.2)) / 3)}
body .site-header.mrs-mobile-header-ready .head{height:calc(103px + min(clamp(140px,40vw,180px),calc((100vw - 52px - clamp(112px,28vw,128px)) / 1.2)) / 3)}
}

@font-face{font-family:"MRS Offer";src:url('/assets/mrs-offer-bold.woff?v=2') format('woff');font-style:normal;font-weight:700;font-display:swap}
@media(max-width:560px){
.mrs-mobile-header-announcement{font-family:"MRS Offer",Arial,sans-serif;-webkit-font-smoothing:antialiased}
.mrs-mobile-header-announcement>span{background:none;color:#fff;-webkit-text-fill-color:#fff;text-shadow:none}
}

/* Offer trigger retains the announcement type and spacing. */
.mrs-mobile-header-announcement .mrs-offer-details{font:inherit;text-transform:inherit;letter-spacing:inherit;border:0;padding:0;margin:0 0 0 .25em;background:transparent;color:var(--red,#ff102b);-webkit-text-fill-color:var(--red,#ff102b);pointer-events:auto;cursor:pointer}
.mrs-offer-details:focus-visible{outline:2px solid currentColor;outline-offset:3px}
body .mrs-offer-overlay .mrs-offer-panel:not([hidden]){width:min(540px,calc(100vw - 24px));max-height:calc(100dvh - 48px)}
body .mrs-offer-panel .mrs-offer-benefit{margin:0 0 16px;color:#171717;font:800 28px/1.2 Arial,sans-serif;text-transform:none}
body .mrs-offer-panel .mrs-cart-content p{margin:0 0 16px;color:#333;line-height:1.5}
body .mrs-offer-panel .mrs-offer-conditions,body .mrs-offer-panel .mrs-offer-submit{font-size:14px}
body .mrs-offer-panel .mrs-offer-submit a{color:#d40925;overflow-wrap:anywhere}
body .mrs-offer-panel .mrs-cart-continue{display:flex;text-align:center}

/* Mobile offer: fit the complete message and action in one portrait view. */
@media(max-width:560px){
body .mrs-cart-overlay.mrs-offer-overlay:not([hidden]){padding:10px}
body .mrs-cart-overlay.mrs-offer-overlay .mrs-cart-panel.mrs-offer-panel:not([hidden]){width:calc(100vw - 20px);max-width:540px;max-height:calc(100dvh - 20px)}
body .mrs-offer-panel .mrs-cart-heading{min-height:56px;padding:12px 44px}
body .mrs-offer-panel .mrs-cart-content{padding:16px}
body .mrs-offer-panel .mrs-offer-benefit{margin-bottom:12px}
body .mrs-offer-panel .mrs-cart-content p{margin-bottom:12px;line-height:1.4}
}
@media(max-width:560px){
body .mrs-cart-overlay.mrs-offer-overlay:not([hidden]){display:flex;align-items:center;justify-content:center;pointer-events:auto}
body .mrs-cart-overlay.mrs-offer-overlay .mrs-cart-panel.mrs-offer-panel:not([hidden]){position:relative;inset:auto}
}
@media(max-width:560px){.mrs-mobile-menu-drawer{width:51.8%;max-width:294px}}

/* Compact navigation dropdown anchored below the menu button on both layouts. */
body .mrs-mobile-menu-drawer{position:fixed;inset:auto;left:var(--mrs-menu-left,16px);top:var(--mrs-menu-top,100px);bottom:auto;width:min(294px,calc(100vw - 24px));max-width:none;height:auto;max-height:var(--mrs-menu-max-height,calc(100dvh - 116px));padding:48px 20px 12px;border-radius:8px;box-shadow:0 12px 36px #0005;overflow:auto;overscroll-behavior:contain}

/* Shared desktop and mobile navigation colours. */
body .mrs-mobile-menu-drawer{background:#15191c;color:#fff;outline:1px solid #343a40}
body .mrs-mobile-menu-drawer .mrs-menu-close,
body .mrs-mobile-menu-row>a,
body .mrs-mobile-menu-row .mrs-header-icon,
body .mrs-mobile-submenu>a{color:#fff}
body .mrs-mobile-menu-drawer a:active,
body .mrs-mobile-menu-drawer a:focus-visible,
body .mrs-mobile-menu-drawer a[aria-current="page"],
body .mrs-mobile-menu-drawer a[aria-current="location"]{color:var(--red,#ff102b)}
@media(hover:hover){body .mrs-mobile-menu-drawer a:hover{color:var(--red,#ff102b)}}
body .mrs-mobile-menu-drawer a:focus-visible{outline:2px solid currentColor;outline-offset:3px}

/* Introductory offer: match the charcoal menu and cart surfaces. */
body .mrs-cart-overlay.mrs-offer-overlay .mrs-cart-panel.mrs-offer-panel:not([hidden]),
body #mrs-offer-panel .mrs-cart-content{background:#15191c;color:#fff}
body #mrs-offer-panel .mrs-offer-benefit{color:#fff}
body #mrs-offer-panel .mrs-cart-content p{color:#c7cbd0}

@media(max-width:560px){
body #mrs-offer-panel .mrs-offer-benefit{text-align:center}
body #mrs-offer-panel .mrs-offer-submit{text-align:center}
body #mrs-offer-panel .mrs-cart-continue{display:flex;width:max-content;max-width:100%;margin-left:auto;margin-right:auto}
}

/* Desktop offer: match the existing mobile heading and submission alignment. */
@media(min-width:561px){
body #mrs-offer-panel .mrs-offer-benefit{text-align:center}
body #mrs-offer-panel .mrs-offer-submit{text-align:center}
body #mrs-offer-panel .mrs-cart-continue{display:flex;width:max-content;max-width:100%;margin-left:auto;margin-right:auto}
}
