/* Keep desktop preferences in the utility row and the live basket beside the journey action. */
@media(min-width:1201px){
 html:root body.scc-brand-scc header.site-header.scc-header>.shell.scc-header-inner{
 display:grid!important;grid-template-columns:minmax(max-content,auto) minmax(0,1fr) max-content max-content max-content max-content!important;
 grid-template-rows:minmax(38px,auto) minmax(68px,auto)!important;align-items:center!important;column-gap:clamp(10px,1.2vw,22px)!important;row-gap:0!important;padding-block:0!important}
 html:root body.scc-brand-scc header.site-header.scc-header{background:linear-gradient(to bottom,#f3f7f4 0 39px,#dce6df 39px 40px,#fff 40px);overflow:visible!important;}
 html:root body.scc-brand-scc header.scc-header .scc-header-commerce{display:contents!important}
 html:root body.scc-brand-scc header.scc-header .scc11-utility{display:block!important;position:static!important;grid-area:1/1/2/3;background:transparent!important;border:0!important;padding:0!important;align-self:center}
 html:root body.scc-brand-scc header.scc-header .scc11-utility>.shell{display:flex!important;justify-content:flex-start;align-items:center;gap:clamp(12px,1.4vw,24px);width:auto;max-width:none;margin:0;padding:0;min-height:0}
 html:root body.scc-brand-scc header.scc-header .scc11-utility a{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;text-decoration:none;color:#244638;font-size:13px}
 /* Give the live notification control a utility-row cell instead of an implicit third row. */
 html:root body.scc-brand-scc header.site-header.scc-header>.shell.scc-header-inner>.scc-notification-centre{grid-area:1/3;justify-self:end;margin-inline:0}
 html:root body.scc-brand-scc header.scc-header .site-language--header{grid-area:1/4;justify-self:end}
 html:root body.scc-brand-scc header.scc-header .scc-currency-picker{grid-area:1/5;justify-self:end}
 html:root body.scc-brand-scc header.scc-header .p114-account-nav--desktop{grid-area:1/6;justify-self:end}
 html:root body.scc-brand-scc header.scc-header :is(.p114-account-nav--desktop,.site-language--header,.scc-currency-picker) :is(summary,.p114-account-button,.header-account){min-height:36px!important;height:auto!important;padding-block:4px!important}
 html:root body.scc-brand-scc header.scc-header .scc-brand-lockup{grid-area:2/1;justify-self:start}
 html:root body.scc-brand-scc header.scc-header .scc-nav{grid-area:2/2/3/6!important;justify-self:stretch!important;margin-inline-end:calc(48px + clamp(10px,1.2vw,22px))!important;justify-content:center;min-width:0}
 html:root body.scc-brand-scc header.scc-header .scc-basket-button{grid-area:2/5;justify-self:end}
 html:root body.scc-brand-scc header.scc-header .scc11-plan{display:inline-flex!important;grid-area:2/6;justify-self:end;align-items:center;justify-content:center;min-height:42px;padding:8px 17px;border-radius:7px;background:#126348;color:#fff;text-decoration:none;font-weight:700;white-space:nowrap}
}
@media(max-width:1200px){body.scc-brand-scc header.scc-header .scc11-utility,body.scc-brand-scc header.scc-header .scc11-plan{display:none!important}}
html:not([lang^="en"]) .scc-footer .scc-footer-grid{align-items:start;gap:clamp(16px,3vw,42px)}
html:not([lang^="en"]) .scc-footer .scc-footer-links>a{height:auto;min-height:34px;display:flex;align-items:center;text-align:start;overflow-wrap:anywhere}
html:not([lang^="en"]) .scc-footer .appx-downloads{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap}
@media(max-width:620px){html:not([lang^="en"]) .scc-footer .scc-footer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
html:not([lang^="en"]) .scc-footer .scc-footer-grid>:is(nav,.footer-brand,.scc-footer-contact){grid-column:1/-1}}

@media(min-width:1201px){html:root body.scc-brand-scc header.scc-header .scc11-utility>.shell>a{margin-inline:0!important}}

@media (min-width:1201px) {
  html:root body.scc-brand-scc header.site-header.scc-header {
    height:auto !important;
    max-height:none !important;
  }
  html:root body.scc-brand-scc header.scc-header .scc-header-inner {
    grid-template-rows:minmax(52px,auto) minmax(68px,auto) !important;
  }
  html:root body.scc-brand-scc header.scc-header .p114-account-nav--desktop .p114-account-nav-link {
    padding-inline:16px !important;
    min-height:44px;
    gap:8px;
    white-space:nowrap;
  }
  header.scc-header .scc11-primary .nv-disclosure > .nv-mega {
    inset-inline:auto;
    left:50%;
    transform:translateX(-50%);
    width:min(1100px,calc(100vw - 48px));
    max-width:none;
    box-sizing:border-box;
    white-space:normal;
  }
  header.scc-header .nv-mega :is(p,a,span) {white-space:normal;}
  header.scc-header .nv-mega-links {grid-template-columns:repeat(2,minmax(0,1fr));}
}

@media (min-width:1201px) { html:root body.scc-brand-scc header.site-header.scc-header > .shell.scc-header-inner { grid-template-rows:minmax(52px,auto) minmax(68px,auto) !important; } }

.scc-nav .scc-mobile-booking { display:none; }
@media (max-width:1200px) {
  .scc-nav .scc-mobile-booking { display:grid; gap:8px; padding-block:8px 14px; }
  .scc-nav .scc-mobile-services { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:6px; }
  .scc-nav .scc-mobile-booking a { display:flex; align-items:center; justify-content:center; min-height:44px; padding:6px; border-radius:6px; text-align:center; text-decoration:none; background:#f0f4ef; color:#173c30; }
  .scc-nav .scc-mobile-booking a.scc-mobile-plan { background:#075e45; color:#fff; font-weight:700; }
}


/* Drawer preferences follow the width of their navigation column. */
:is(.mobile-nav, nav, .scc-nav, .sat-nav__preferences) :is(.site-language--drawer, .p114-language--drawer, .scc-currency-picker[data-currency-context="drawer"]) {
  box-sizing: border-box; width: 100%; min-width: 0; max-width: 100%; margin-inline: 0;
}
:is(.site-language--drawer, .p114-language--drawer, .scc-currency-picker[data-currency-context="drawer"]) > summary {
  box-sizing: border-box !important; display: flex !important; align-items: center;
  justify-content: flex-start !important; gap: .55rem; width: 100% !important;
  max-width: none !important; min-width: 0 !important; min-height: 46px;
  height: auto !important; padding: .55rem .75rem !important; margin: 0;
  border: 1px solid color-mix(in srgb, currentColor 24%, transparent);
  border-radius: .45rem; font-size: .9rem; line-height: 1.35; text-align: start;
}
:is(.site-language--drawer, .p114-language--drawer, .scc-currency-picker[data-currency-context="drawer"]) > summary > :is(.header-selector-label,.p114-selector-label,.scc-currency-caption) {
  display: inline-block !important; position: static !important; inset: auto !important;
  width: auto !important; height: auto !important; clip: auto !important; clip-path: none !important;
  transform: none !important; margin: 0 auto 0 0 !important; margin-inline: 0 auto !important;
  white-space: normal !important; font: inherit !important; letter-spacing: normal; text-transform: none;
}
.site-language--drawer > summary > .site-language__name {display: inline !important;}
.site-language--drawer > summary > b {display: none;}
.scc-currency-picker[data-currency-context="drawer"] > summary .scc-currency-summary-line {width: auto; flex: 0 0 auto; gap: .6rem;}
:is(.site-language--drawer, .p114-language--drawer,.scc-currency-picker[data-currency-context="drawer"]) > :is(ul,div) {max-inline-size: 100%; box-sizing: border-box;}

header .p114-account-nav .p114-account-nav-link:not(.p114-account-nav-register) {
  box-sizing: border-box; min-height: 44px; padding-inline: 16px !important;
  gap: 8px; align-items: center; white-space: nowrap; line-height: 1.25;
}

header .site-language--header > summary,
header .scc-currency-picker:not([data-currency-context="drawer"]) > summary {
  box-sizing: border-box; min-height: 44px !important; height: auto;
  padding-inline: 12px !important; align-items: center;
}

@media (min-width:1201px) {
 html:root body.scc-brand-scc header.site-header.scc-header,
 html:root body.scc-brand-scc header.site-header.scc-header > .shell.scc-header-inner {
   height:auto !important; max-height:none !important; block-size:auto !important;
 }
 html:root body.scc-brand-scc header.site-header.scc-header > .shell.scc-header-inner {
   position:relative !important; inset:auto !important; padding-block:4px !important;
 }
 html:root body.scc-brand-scc header.site-header.scc-header .scc-nav {
   position:static !important; transform:none !important; grid-area:2 / 2 / 3 / 6 !important;
   justify-self:center !important; width:auto !important;
 }
 html:root body.scc-brand-scc header.site-header.scc-header .scc-nav > .scc-mobile-booking {display:none !important;}
}
