/* UPDATE 216 — EMERGENCY CUSTOMER HEADER GRID RECOVERY
   Update 215 positioned the logo absolutely. That removed it from the header
   grid and allowed navigation to collapse into the first column. This layer
   restores a real, shared header grid while retaining Update 215's logo size,
   headline datum and low Home actions. */

:root{
  --u216-cream:#f4ebdb;
  --u216-gutter:5.4vw;
  --u216-header-height:124px;
  --u216-logo-width:300px;
  --u216-logo-height:96px;
}

@media(min-width:901px){
  body.customer-site>.customer-header,
  body.customer-site.cinematic-home>.customer-header,
  body.customer-site.customer-preorder>.customer-header,
  body.customer-site.customer-dining-page>.customer-header,
  body.customer-site.customer-event-page:not(.dough-invite-mode)>.customer-header{
    display:grid!important;
    grid-template-columns:var(--u216-logo-width) minmax(0,1fr) auto!important;
    grid-template-rows:var(--u216-logo-height)!important;
    column-gap:clamp(24px,3vw,54px)!important;
    width:100%!important;
    height:var(--u216-header-height)!important;
    min-height:var(--u216-header-height)!important;
    padding:12px var(--u216-gutter) 0!important;
    align-items:start!important;
  }

  body.customer-site>.customer-header .customer-logo,
  body.customer-site>.customer-header .landing-logo-panel{
    position:relative!important;
    inset:auto!important;
    grid-column:1!important;
    grid-row:1!important;
    justify-self:start!important;
    align-self:start!important;
    width:var(--u216-logo-width)!important;
    min-width:var(--u216-logo-width)!important;
    max-width:var(--u216-logo-width)!important;
    height:var(--u216-logo-height)!important;
    min-height:var(--u216-logo-height)!important;
    max-height:var(--u216-logo-height)!important;
    margin:0!important;
    transform:none!important;
  }

  body.customer-site>.customer-header>nav#customerSiteNav,
  body.customer-site>.customer-header>nav#customerSiteNav.is-open{
    position:static!important;
    inset:auto!important;
    grid-column:2!important;
    grid-row:1!important;
    display:flex!important;
    width:auto!important;
    max-width:100%!important;
    margin:18px 0 0!important;
    padding:0!important;
    justify-self:end!important;
    align-self:start!important;
    align-items:center!important;
    justify-content:flex-end!important;
    gap:clamp(22px,2.8vw,48px)!important;
    background:transparent!important;
    box-shadow:none!important;
    transform:none!important;
  }

  body.customer-site>.customer-header>nav#customerSiteNav>a{
    display:block!important;
    width:auto!important;
    min-width:0!important;
    margin:0!important;
    padding:12px 0!important;
    white-space:nowrap!important;
    pointer-events:auto!important;
  }

  body.customer-site>.customer-header .customer-header-action{
    position:static!important;
    grid-column:3!important;
    grid-row:1!important;
    margin:18px 0 0!important;
    justify-self:end!important;
    align-self:start!important;
    pointer-events:auto!important;
  }

  body.customer-site>.customer-header .customer-menu-toggle{
    display:none!important;
  }
}

@media(max-width:900px){
  :root{
    --u216-gutter:28px;
    --u216-header-height:104px;
    --u216-logo-width:min(220px,62vw);
    --u216-logo-height:78px;
  }

  body.customer-site>.customer-header,
  body.customer-site.cinematic-home>.customer-header,
  body.customer-site.customer-preorder>.customer-header,
  body.customer-site.customer-dining-page>.customer-header,
  body.customer-site.customer-event-page:not(.dough-invite-mode)>.customer-header{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 50px!important;
    grid-template-rows:var(--u216-logo-height)!important;
    gap:12px!important;
    width:100%!important;
    height:var(--u216-header-height)!important;
    min-height:var(--u216-header-height)!important;
    padding:12px var(--u216-gutter) 0!important;
    align-items:start!important;
  }

  body.customer-site>.customer-header .customer-logo,
  body.customer-site>.customer-header .landing-logo-panel{
    position:relative!important;
    inset:auto!important;
    grid-column:1!important;
    grid-row:1!important;
    justify-self:start!important;
    align-self:start!important;
    width:var(--u216-logo-width)!important;
    min-width:0!important;
    max-width:var(--u216-logo-width)!important;
    height:var(--u216-logo-height)!important;
    min-height:0!important;
    max-height:var(--u216-logo-height)!important;
    margin:0!important;
    transform:none!important;
  }

  body.customer-site>.customer-header .customer-menu-toggle{
    position:relative!important;
    inset:auto!important;
    grid-column:2!important;
    grid-row:1!important;
    display:flex!important;
    justify-self:end!important;
    align-self:start!important;
    margin:4px 0 0!important;
    pointer-events:auto!important;
    z-index:4!important;
  }

  body.customer-site>.customer-header>nav#customerSiteNav{
    position:absolute!important;
    top:100%!important;
    right:0!important;
    left:0!important;
    z-index:3!important;
    grid-column:1/-1!important;
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    pointer-events:auto!important;
  }

  body.customer-site>.customer-header>nav#customerSiteNav:not(.is-open){
    display:none!important;
  }

  body.customer-site>.customer-header>nav#customerSiteNav.is-open{
    display:flex!important;
  }

  body.customer-site>.customer-header>nav#customerSiteNav>a{
    width:100%!important;
    pointer-events:auto!important;
  }

  body.customer-site>.customer-header .customer-header-action{
    display:none!important;
  }
}

@media(max-width:900px) and (orientation:landscape){
  :root{
    --u216-gutter:32px;
    --u216-header-height:76px;
    --u216-logo-width:190px;
    --u216-logo-height:64px;
  }

  body.customer-site>.customer-header,
  body.customer-site.cinematic-home>.customer-header,
  body.customer-site.customer-preorder>.customer-header,
  body.customer-site.customer-dining-page>.customer-header,
  body.customer-site.customer-event-page:not(.dough-invite-mode)>.customer-header{
    grid-template-columns:minmax(0,1fr) 44px!important;
    padding:6px var(--u216-gutter) 0!important;
  }

  body.customer-site>.customer-header .customer-menu-toggle{
    width:44px!important;
    height:44px!important;
    margin:1px 0 0!important;
  }
}

