/* UPDATE 199 — CUSTOMER PAGE CINEMATIC CONSISTENCY
   Narrow final-state corrections for Pre-Order, Pizza At Yours and the public
   Dough & Co. coming-soon page. Home, ordering logic and admin are untouched. */

:root{
  --u199-cream:#f4ebdb;
  --u199-red:#c7372a;
}

/* PRE-ORDER: use the same short editorial title mark as the other pages and
   keep the gateway as a clean frosted panel with cream trim only. */
body.customer-preorder .preorder-gateway::after{
  content:none!important;
  display:none!important;
  background:none!important;
}

@media(max-width:700px) and (orientation:portrait){
  body.customer-preorder .preorder-title-accent{
    width:58px!important;
    max-width:58px!important;
    height:4px!important;
    margin:13px 0 0!important;
    background:var(--u199-red)!important;
  }
}

/* PIZZA AT YOURS: strengthen the neutral-black photographic header band and
   make the open-menu separators occupy the same usable width as Pre-Order. */
body.customer-site.customer-dining-page>.customer-header{
  background:linear-gradient(180deg,rgba(0,0,0,.98) 0%,rgba(0,0,0,.82) 48%,rgba(0,0,0,.34) 76%,rgba(0,0,0,0) 100%)!important;
  box-shadow:none!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}

@media(max-width:900px){
  body.customer-dining-page>.customer-header nav,
  body.customer-dining-page>.customer-header nav.is-open{
    right:0!important;
    left:0!important;
    width:100%!important;
    padding-right:28px!important;
    padding-left:28px!important;
    background:rgba(0,0,0,.97)!important;
  }
  body.customer-dining-page>.customer-header nav a,
  body.customer-dining-page>.customer-header nav a:hover,
  body.customer-dining-page>.customer-header nav a:focus,
  body.customer-dining-page>.customer-header nav a:focus-visible,
  body.customer-dining-page>.customer-header nav a:active{
    width:100%!important;
    padding:15px 4px!important;
    border-bottom:1px solid rgba(244,235,219,.2)!important;
    background:transparent!important;
    color:var(--u199-cream)!important;
    text-align:left!important;
  }
  body.customer-dining-page>.customer-header nav a::after{
    content:none!important;
    display:none!important;
  }
}

/* DOUGH & CO.: launch copy is solid red without a shaded label treatment.
   Its single red mark now belongs beneath the title. */
body.customer-event-page:not(.dough-invite-mode) .dough-launch-date{
  color:var(--u199-red)!important;
  font-weight:900!important;
  text-shadow:none!important;
  -webkit-text-stroke:0!important;
}
body.customer-event-page:not(.dough-invite-mode) .dough-launch-date::after{
  content:none!important;
  display:none!important;
}
body.customer-event-page:not(.dough-invite-mode) .dough-red-rule{
  display:block!important;
  width:58px!important;
  height:4px!important;
  margin:12px 0 16px!important;
  border:0!important;
  background:var(--u199-red)!important;
  transform:skewX(-17deg)!important;
}
body.customer-event-page:not(.dough-invite-mode) .dough-red-rule::after{
  content:none!important;
  display:none!important;
}

/* The phone footer uses three deliberately separated rows, mirroring the
   established customer footer hierarchy without crowding the social links. */
@media(max-width:540px) and (orientation:portrait){
  body.customer-event-page:not(.dough-invite-mode){
    grid-template-rows:minmax(0,1fr) 132px!important;
  }
  body.customer-site.customer-event-page:not(.dough-invite-mode)>.customer-footer{
    position:relative!important;
    inset:auto!important;
    grid-template-columns:1fr!important;
    grid-template-rows:auto auto auto!important;
    width:100%!important;
    height:132px!important;
    min-height:132px!important;
    padding:12px 18px 14px!important;
    gap:6px!important;
    justify-items:center!important;
    text-align:center!important;
  }
  body.customer-site.customer-event-page:not(.dough-invite-mode)>.customer-footer .brand-promise{
    grid-column:1!important;
    grid-row:1!important;
    max-width:330px!important;
    margin:0!important;
    font-size:16px!important;
    line-height:1!important;
    text-align:center!important;
    align-self:end!important;
    justify-self:center!important;
  }
  body.customer-site.customer-event-page:not(.dough-invite-mode)>.customer-footer>span{
    grid-column:1!important;
    grid-row:2!important;
    max-width:100%!important;
    margin:0!important;
    font-size:7px!important;
    line-height:1.35!important;
    white-space:normal!important;
    text-align:center!important;
    align-self:center!important;
    justify-self:center!important;
  }
  body.customer-site.customer-event-page:not(.dough-invite-mode)>.customer-footer .customer-socials{
    grid-column:1!important;
    grid-row:3!important;
    display:flex!important;
    width:auto!important;
    margin:0!important;
    gap:14px!important;
    align-self:start!important;
    justify-self:center!important;
  }
  body.customer-site.customer-event-page:not(.dough-invite-mode)>.customer-footer .customer-socials a{
    width:36px!important;
    height:36px!important;
  }
}

@media(max-height:520px) and (orientation:landscape){
  body.customer-event-page:not(.dough-invite-mode) .dough-red-rule{
    width:42px!important;
    height:3px!important;
    margin:7px 0 8px!important;
  }
}
