/* Shared public website navigation. Scoped to avoid changing site controls. */
body > header nav.mirai-sites-host { overflow: visible; flex-wrap: wrap; }
body > header .mirai-sites { position: relative; flex: 0 0 auto; margin-inline-start: auto; color: #fff; text-align: left; }
body > header .mirai-sites > summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 0; box-sizing: border-box; cursor: pointer; list-style: none; font: inherit; letter-spacing: inherit; text-transform: none; color: inherit; background: transparent; border: 0; border-radius: 6px; }
/* These headers size links independently of their parent navigation. */
body.corporate > header .mirai-sites > summary { border-bottom: 1px solid transparent; }
@media (min-width: 761px) {
 body.corporate > header .mirai-sites > summary { font-size: 12px; }
 body.site-chat:is(.page-home, .page-privacy, .page-terms) > header .mirai-sites > summary { font-size: 14px; }
}
body > header .mirai-sites > summary::-webkit-details-marker { display: none; }
body > header .mirai-sites > summary::after { content: ''; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
body > header .mirai-sites[open] > summary::after { transform: translateY(2px) rotate(225deg); }
body > header .mirai-sites > summary:hover, body > header .mirai-sites[open] > summary { color: #75dedd; background: #223554; }
body > header .mirai-sites > summary:focus-visible { outline: 3px solid #75dedd; outline-offset: 2px; }
body > header .mirai-sites .mirai-sites-panel { position: absolute; z-index: 10000; inset: auto 0 auto auto; margin: 6px 0 0; padding: 12px; width: min(440px, calc(100vw - 32px)); max-height: min(480px, 70vh); overflow: auto; overscroll-behavior: contain; box-sizing: border-box; background: #06183e; color: #fff; border: 1px solid #64748b; border-radius: 8px; box-shadow: 0 12px 32px #06183e33; white-space: normal; }
body > header .mirai-sites:not([open]) > .mirai-sites-panel { display: none; }
body > header .mirai-sites .mirai-sites-panel ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; list-style: none; padding: 0; margin: 0; }
body > header .mirai-sites .mirai-sites-panel li { display: block; padding: 0; margin: 0; min-width: 0; }
body > header .mirai-sites .mirai-sites-panel a { display: flex !important; align-items: center; justify-content: flex-end; text-align: right; min-height: 44px; width: 100%; margin: 0; padding: 10px 12px; box-sizing: border-box; color: #fff !important; background: transparent; border: 0; border-radius: 4px; font: 500 13px/1.5 Montserrat, Arial, sans-serif; letter-spacing: 0; text-transform: none; text-decoration: none; white-space: normal; }
body > header .mirai-sites .mirai-sites-panel a:hover, body > header .mirai-sites .mirai-sites-panel a:focus-visible { background: #223554; color: #75dedd !important; outline: 2px solid #75dedd; outline-offset: -2px; }
body > header .mirai-sites .mirai-sites-panel a[aria-current=site] { color: #75dedd !important; }
@media (max-width: 760px) {
 body > header .mirai-sites { margin: 0; width: 100%; }
 body > header .mirai-sites > summary { width: 100%; padding: 10px 12px; font-size: 14px; line-height: 1.5; }
 body > header .mirai-sites .mirai-sites-panel { position: static; width: 100%; max-height: 60vh; margin-top: 4px; box-shadow: none; }
 body > header .mirai-sites .mirai-sites-panel ul { grid-template-columns: 1fr; }
}

/* P74 shared website header, 26 October 2026.
   One 112px brand band and 56px navigation row. Compact disclosure at 1200px.
   Existing logo artwork, catalogue controls and destinations are preserved. */
body.website-polish > header:has(.mirai-sites-host) {
 display:grid!important;grid-template-columns:184.8px minmax(0,1fr) auto auto;grid-template-rows:112px 56px;
 column-gap:24px;row-gap:0;align-items:center;box-sizing:border-box;
 padding:0 max(32px,calc((100% - 1280px)/2))!important;margin:0!important;
 width:100%;height:auto!important;min-height:0!important;max-width:none;
 position:relative!important;top:auto!important;background:#06183e!important;color:#fff;border:0!important;
 font:500 14px/1.5 Montserrat,Arial,sans-serif;letter-spacing:0;
}
body.website-polish > header:has(.mirai-sites-host) > :is(.header,.navwrap) {display:contents!important;}
body.website-polish > header:has(.mirai-sites-host) .brand:has(img.family-r017) {
 grid-row:1;grid-column:1;align-self:center;justify-self:start;width:184.8px!important;
 margin:0!important;padding:0!important;max-width:none!important;line-height:0;
}
body.website-polish > header:has(.mirai-sites-host) .brand img.family-r017 {
 width:184.8px!important;height:auto!important;max-width:none!important;display:block!important;
}
body.website-polish > header nav.mirai-sites-host {
 grid-row:2;grid-column:1/-1;display:flex!important;flex-direction:row;flex-wrap:nowrap;align-items:center!important;
 justify-content:flex-end!important;gap:18px!important;width:100%!important;max-width:none!important;
 min-width:0;min-height:0!important;height:56px!important;padding:0!important;margin:0!important;
 border:0!important;box-sizing:border-box;overflow:visible;white-space:nowrap;
 font:500 14px/21px Montserrat,Arial,sans-serif!important;letter-spacing:0!important;
}
body.website-polish > header nav.mirai-sites-host > a,
body.website-polish > header nav.mirai-sites-host > .mirai-sites > summary {
 display:flex!important;align-items:center;justify-content:flex-end;text-align:right;flex:0 0 auto;
 font:500 14px/21px Montserrat,Arial,sans-serif!important;letter-spacing:0!important;text-transform:none!important;
 height:44px;min-height:44px;box-sizing:border-box;margin:0!important;padding:0!important;
 border:0!important;text-decoration:none;color:#fff!important;background:transparent!important;
}
body.website-polish > header nav.mirai-sites-host > a:is(.button,.btn,.cta) {
 padding:0 14px!important;background:#75dedd!important;color:#06183e!important;border-radius:6px!important;
}
body.website-polish > header nav.mirai-sites-host > a:hover,
body.website-polish > header nav.mirai-sites-host > .mirai-sites > summary:hover {color:#75dedd!important;}
body.website-polish > header nav.mirai-sites-host > a:is(.button,.btn,.cta):hover {color:#06183e!important;background:#a1eceb!important;}
body.website-polish > header nav.mirai-sites-host > a:focus-visible {outline:3px solid #75dedd;outline-offset:3px;}
body.website-polish > header .mirai-sites {margin:0!important;}
body.website-polish > header .mobile-menu {display:none!important;}
body.website-polish > header .search {
 grid-row:1;grid-column:2;order:initial!important;width:100%!important;max-width:640px!important;
 min-width:0;margin:0!important;justify-self:center;box-sizing:border-box;
}
body.website-polish > header :is(.account-link,.basket-link) {
 grid-row:1;grid-column:3;order:initial!important;margin:0!important;white-space:nowrap;
 font:500 14px/21px Montserrat,Arial,sans-serif!important;min-height:44px;display:inline-flex;align-items:center;
}
body.website-polish > header .basket-link {grid-column:4;}
@media(max-width:1200px) {
 body.website-polish > header:has(.mirai-sites-host) {
  grid-template-columns:minmax(0,1fr) auto;grid-template-rows:76px;grid-auto-rows:auto;column-gap:16px;
  padding-inline:18px!important;
 }
 body.website-polish > header:has(.mirai-sites-host) .brand:has(img.family-r017),
 body.website-polish > header:has(.mirai-sites-host) .brand img.family-r017 {width:97.02px!important;}
 body.website-polish > header .mobile-menu {
  display:inline-flex!important;grid-row:1;grid-column:2;align-items:center;justify-content:center;gap:10px;
  min-width:76px;min-height:44px;height:44px;padding:10px 12px;margin:0!important;box-sizing:border-box;
  border:1px solid #8c9caf;border-radius:8px;background:transparent;color:#fff;font:500 13px/18px Montserrat,Arial,sans-serif;
 }
 body.website-polish > header .mobile-menu::after {content:'+';font-size:20px;line-height:1;}
 body.website-polish > header .mobile-menu[aria-expanded=true]::after {content:'−';}
 body.website-polish > header .mobile-menu:focus-visible {outline:3px solid #75dedd;outline-offset:3px;}
 body.website-polish > header nav.mirai-sites-host {
  height:auto!important;flex-direction:column;align-items:stretch!important;gap:4px!important;white-space:normal;
  padding:12px 0 16px!important;border-top:1px solid #34425c!important;
 }
 body.website-polish > header nav.mirai-sites-host > a,
 body.website-polish > header nav.mirai-sites-host > .mirai-sites > summary {
  width:100%;height:auto;min-height:44px;padding:10px 12px!important;white-space:normal;
 }
 body.website-polish > header .mirai-sites {width:100%;margin:0!important;}
 body.website-polish > header .mirai-sites .mirai-sites-panel {position:static;width:100%;max-height:60vh;margin-top:4px;box-shadow:none;}
 body.website-polish > header .mirai-sites .mirai-sites-panel ul {grid-template-columns:1fr;}
 body.website-polish > header .search {grid-row:3;grid-column:1/-1;max-width:none!important;margin:0 0 12px!important;}
 body.website-polish > header .search input {font-size:16px!important;min-width:0;min-height:44px;}
 body.website-polish > header .account-link {grid-row:4;grid-column:1;margin-bottom:12px!important;}
 body.website-polish > header .basket-link {grid-row:4;grid-column:2;margin-bottom:12px!important;}
 body.website-polish > header[data-mobile-ready]:not(:has(.mobile-open)) :is(nav.mirai-sites-host,.search,.account-link,.basket-link) {display:none!important;}
}
