/* UPDATE 173 — PRE-ORDER REFERENCE LOCK
   This is the single final layout layer for the Pre-Order page. It replaces
   the earlier incremental mobile/spacing fixes on this page and follows the
   approved desktop and phone compositions at four tested viewport classes. */

body.customer-preorder{
  --po-green:#052d1e;
  --po-dark:#031d13;
  --po-cream:#f4ebdb;
  --po-red:#d7352c;
  --po-serif:Georgia,'Times New Roman',serif;
  --po-sans:BartleinisMontserrat,Montserrat,Arial,sans-serif;
  position:relative!important;
  min-height:100svh!important;
  padding:0!important;
  background:var(--po-dark) url('/assets/bartleinis-pizzas-landscape.png') center top/cover fixed no-repeat!important;
  color:var(--po-cream)!important;
}

body.customer-preorder::before{
  content:""!important;
  position:fixed!important;
  inset:0!important;
  z-index:0!important;
  display:block!important;
  pointer-events:none!important;
  background:linear-gradient(90deg,rgba(1,15,9,.91) 0%,rgba(1,15,9,.56) 42%,rgba(1,15,9,.08) 100%)!important;
}
body.customer-preorder>.customer-header,
body.customer-preorder>.customer-shell,
body.customer-preorder>.customer-footer{position:relative;z-index:1}
body.customer-preorder .customer-shell{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  background:transparent!important;
}

/* Header: the logo always owns a defined area above the event strip. */
body.customer-preorder>.customer-header{
  position:absolute!important;
  inset:0 0 auto!important;
  z-index:1200!important;
  height:150px!important;
  min-height:0!important;
  display:grid!important;
  grid-template-columns:360px minmax(0,1fr)!important;
  align-items:start!important;
  gap:40px!important;
  padding:18px 5.4vw 0!important;
  border:0!important;
  background:linear-gradient(180deg,rgba(1,13,8,.74),rgba(1,13,8,0))!important;
  box-shadow:none!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}
body.customer-preorder>.customer-header .customer-logo{
  display:block!important;
  width:330px!important;
  height:112px!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
  background:transparent!important;
  border:0!important;
}
body.customer-preorder>.customer-header .customer-logo img.master-logo{
  display:block!important;
  width:100%!important;
  height:110px!important;
  max-height:110px!important;
  object-fit:contain!important;
  object-position:left top!important;
  opacity:1!important;
}
body.customer-preorder>.customer-header nav{
  position:static!important;
  display:flex!important;
  justify-content:flex-end!important;
  align-items:flex-start!important;
  gap:clamp(30px,4.1vw,68px)!important;
  width:auto!important;
  height:auto!important;
  margin:22px 0 0!important;
  padding:0!important;
  overflow:visible!important;
  background:transparent!important;
  transform:none!important;
  opacity:1!important;
  visibility:visible!important;
}
body.customer-preorder>.customer-header nav a{
  display:block!important;
  padding:10px 0!important;
  color:var(--po-cream)!important;
  font:500 12px/1 var(--po-sans)!important;
  letter-spacing:.12em!important;
  text-transform:uppercase!important;
  white-space:nowrap!important;
}
body.customer-preorder>.customer-header .customer-menu-toggle{display:none!important}

/* Hero: the event strip and headline are independent anchors, so moving the
   headline can never cover the master logo again. */
body.customer-preorder .cinematic-preorder-hero{
  position:relative!important;
  display:block!important;
  width:100%!important;
  height:484px!important;
  min-height:484px!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  border:0!important;
  background:transparent!important;
}
body.customer-preorder .cinematic-preorder-hero>div{
  position:absolute!important;
  left:5.4vw!important;
  top:236px!important;
  display:block!important;
  width:min(620px,45vw)!important;
  max-width:620px!important;
  margin:0!important;
}
body.customer-preorder .cinematic-preorder-hero h1{
  margin:0!important;
  color:var(--po-cream)!important;
  font-size:0!important;
  text-transform:uppercase!important;
}
body.customer-preorder .cinematic-preorder-hero h1::after{
  content:"Your Next\A Pizza Night."!important;
  display:block!important;
  white-space:pre!important;
  color:var(--po-cream)!important;
  font:400 clamp(60px,5.8vw,92px)/.82 var(--po-serif)!important;
  letter-spacing:-.055em!important;
  text-shadow:0 2px 16px rgba(0,0,0,.28)!important;
}
body.customer-preorder .preorder-title-accent{
  display:block!important;
  width:190px!important;
  height:4px!important;
  margin:16px 0 12px!important;
  background:var(--po-red)!important;
  transform:skewX(-17deg)!important;
}
body.customer-preorder .cinematic-preorder-hero>div>p:last-child{
  display:block!important;
  max-width:510px!important;
  margin:0!important;
  color:var(--po-cream)!important;
  font:500 12px/1.45 var(--po-sans)!important;
  letter-spacing:.27em!important;
  text-align:left!important;
  text-transform:uppercase!important;
}
body.customer-preorder .cinematic-kicker{display:none!important}

body.customer-preorder .preorder-event-card{
  position:absolute!important;
  z-index:6!important;
  top:172px!important;
  left:5.4vw!important;
  width:min(675px,52vw)!important;
  height:48px!important;
  min-height:48px!important;
  max-height:48px!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 1px minmax(0,1fr)!important;
  align-items:center!important;
  gap:18px!important;
  margin:0!important;
  padding:6px 18px!important;
  overflow:hidden!important;
  border:1px solid var(--po-cream)!important;
  border-radius:7px!important;
  background:rgba(2,35,22,.84)!important;
  color:var(--po-cream)!important;
  box-shadow:none!important;
  -webkit-backdrop-filter:blur(4px)!important;
  backdrop-filter:blur(4px)!important;
}
body.customer-preorder .preorder-event-date,
body.customer-preorder .preorder-event-status{min-width:0!important;min-height:0!important}
body.customer-preorder .preorder-event-date .eyebrow{
  display:inline!important;
  margin:0 9px 0 0!important;
  color:var(--po-cream)!important;
  font:700 9px/1.1 var(--po-sans)!important;
  letter-spacing:.18em!important;
  text-transform:uppercase!important;
}
body.customer-preorder .preorder-event-date strong{
  color:var(--po-cream)!important;
  font:600 10px/1.1 var(--po-sans)!important;
  letter-spacing:.12em!important;
  text-transform:uppercase!important;
  white-space:nowrap!important;
}
body.customer-preorder .preorder-event-date #eventLocation{display:none!important}
body.customer-preorder .preorder-event-divider{
  display:block!important;
  width:1px!important;
  height:27px!important;
  min-height:27px!important;
  margin:0!important;
  background:rgba(244,235,219,.65)!important;
}
body.customer-preorder .preorder-event-status{
  display:flex!important;
  align-items:center!important;
  gap:0!important;
}
body.customer-preorder .preorder-event-status .eyebrow,
body.customer-preorder .preorder-event-card #closedNoticeText{display:none!important}
body.customer-preorder .preorder-event-card h2{
  margin:0!important;
  overflow:visible!important;
  color:var(--po-cream)!important;
  font:500 10px/1.15 var(--po-sans)!important;
  letter-spacing:.16em!important;
  text-overflow:clip!important;
  text-transform:uppercase!important;
  white-space:nowrap!important;
}
body.customer-preorder .preorder-event-card h2::before{
  content:""!important;
  display:inline-block!important;
  width:12px!important;
  height:12px!important;
  margin-right:11px!important;
  border-radius:50%!important;
  background:#57ad6b!important;
  box-shadow:0 0 10px rgba(87,173,107,.55)!important;
  vertical-align:-2px!important;
}
body.customer-preorder .preorder-event-card.ordering-closed h2::before,
body.customer-preorder .preorder-event-card.sold-out-notice h2::before{background:var(--po-red)!important}

/* Menu and order panel. */
body.customer-preorder #orderStage{
  /* The live event strip is authored inside this section for legacy ordering
     behaviour, but is visually part of the hero. Keeping every intervening
     wrapper static makes its absolute coordinates resolve against the page
     shell instead of the menu grid. */
  position:static!important;
  z-index:3!important;
  width:100%!important;
  margin:0!important;
  padding:32px 4.2vw!important;
  background:linear-gradient(90deg,rgba(2,34,21,.92),rgba(3,52,33,.83),rgba(2,34,21,.9))!important;
}
body.customer-preorder #orderForm{width:100%!important;max-width:1425px!important;margin:0 auto!important}
body.customer-preorder .customer-order-layout{
  position:static!important;
  display:grid!important;
  grid-template-columns:minmax(0,2.25fr) minmax(320px,.88fr)!important;
  gap:16px!important;
  align-items:start!important;
}
body.customer-preorder .customer-order-main{position:static!important;min-width:0!important}
body.customer-preorder .paper-panel.menu-panel{
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
body.customer-preorder .cinematic-section-title{display:none!important}
body.customer-preorder .menu-list{
  display:grid!important;
  grid-template-columns:1fr!important;
  gap:7px!important;
  counter-reset:preorder-item!important;
}
body.customer-preorder .menu-item,
body.customer-preorder .menu-item:has(.garlic-extras){
  counter-increment:preorder-item!important;
  position:relative!important;
  display:block!important;
  width:100%!important;
  height:112px!important;
  min-height:112px!important;
  max-height:112px!important;
  margin:0!important;
  padding:15px 190px 13px 325px!important;
  overflow:hidden!important;
  border:1px solid var(--po-cream)!important;
  border-radius:6px!important;
  background:var(--po-cream)!important;
  color:var(--po-green)!important;
  box-shadow:none!important;
}
body.customer-preorder .menu-item::before{
  content:""!important;
  position:absolute!important;
  inset:5px auto 5px 5px!important;
  z-index:0!important;
  display:block!important;
  width:240px!important;
  height:auto!important;
  border-radius:4px!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-size:cover!important;
}
body.customer-preorder .menu-item:nth-child(1)::before{background-image:url('/assets/menu-margherita.jpg')!important}
body.customer-preorder .menu-item:nth-child(2)::before{background-image:url('/assets/menu-pepperoni.jpg')!important}
body.customer-preorder .menu-item:nth-child(3)::before{background-image:url('/assets/menu-bartleini.jpg')!important}
body.customer-preorder .menu-item:nth-child(4)::before{background-image:url('/assets/menu-garlic-bread.jpg')!important}
body.customer-preorder .menu-number{
  position:absolute!important;
  left:268px!important;
  top:21px!important;
  z-index:2!important;
  display:block!important;
  color:var(--po-red)!important;
  font:400 27px/1 var(--po-serif)!important;
}
body.customer-preorder .menu-copy{position:relative!important;z-index:1!important;min-width:0!important}
body.customer-preorder .menu-item h3{
  margin:0 0 8px!important;
  color:var(--po-green)!important;
  font:400 clamp(24px,2vw,31px)/.95 var(--po-serif)!important;
  letter-spacing:-.025em!important;
  text-transform:uppercase!important;
  white-space:nowrap!important;
}
body.customer-preorder .menu-item p{
  display:block!important;
  max-width:540px!important;
  margin:0!important;
  color:var(--po-green)!important;
  font:500 9px/1.45 var(--po-sans)!important;
  letter-spacing:.13em!important;
  text-transform:uppercase!important;
}
body.customer-preorder .menu-item .menu-buy{
  position:absolute!important;
  z-index:2!important;
  top:50%!important;
  right:17px!important;
  bottom:auto!important;
  left:auto!important;
  display:grid!important;
  justify-items:end!important;
  gap:10px!important;
  transform:translateY(-50%)!important;
}
body.customer-preorder .menu-item .price{
  color:var(--po-green)!important;
  font:400 24px/1 var(--po-serif)!important;
}
body.customer-preorder .menu-item .quantity{
  display:flex!important;
  height:36px!important;
  overflow:hidden!important;
  border:1px solid rgba(10,37,22,.65)!important;
  border-radius:3px!important;
}
body.customer-preorder .menu-item .quantity button,
body.customer-preorder .menu-item .quantity output{
  width:37px!important;
  min-width:37px!important;
  height:34px!important;
  min-height:34px!important;
  display:grid!important;
  place-items:center!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-right:1px solid rgba(10,37,22,.24)!important;
  border-radius:0!important;
  background:transparent!important;
  color:var(--po-green)!important;
  font:500 19px/1 var(--po-sans)!important;
}
body.customer-preorder .menu-item .quantity button:last-child{border-right:0!important}
body.customer-preorder .garlic-extras{
  position:absolute!important;
  left:325px!important;
  right:180px!important;
  bottom:8px!important;
  z-index:3!important;
  display:flex!important;
  align-items:center!important;
  gap:8px 15px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}
body.customer-preorder .garlic-extras .extras-heading,
body.customer-preorder .garlic-extras .extra-option{
  width:auto!important;
  margin:0!important;
  color:var(--po-green)!important;
  font:600 7px/1.2 var(--po-sans)!important;
  letter-spacing:.05em!important;
  text-transform:uppercase!important;
  white-space:nowrap!important;
}
body.customer-preorder .garlic-extras .extra-option{display:flex!important;align-items:center!important;gap:5px!important}
body.customer-preorder .garlic-extras input{width:14px!important;min-width:14px!important;height:14px!important;min-height:14px!important;margin:0!important}
body.customer-preorder .customer-allergen-note{
  margin:7px 0 0!important;
  padding:8px 12px!important;
  border:0!important;
  border-left:2px solid var(--po-red)!important;
  background:var(--po-cream)!important;
  color:var(--po-green)!important;
  font:500 8px/1.4 var(--po-sans)!important;
  letter-spacing:.1em!important;
  text-transform:uppercase!important;
}
body.customer-preorder .customer-basket,
body.customer-preorder.checkout-active .customer-basket{
  position:sticky!important;
  top:16px!important;
  align-self:start!important;
  width:100%!important;
  height:469px!important;
  min-height:469px!important;
  max-height:calc(100svh - 32px)!important;
  margin:0!important;
  padding:24px!important;
  overflow:auto!important;
  border:1px solid var(--po-cream)!important;
  border-radius:6px!important;
  background:rgba(2,35,22,.96)!important;
  color:var(--po-cream)!important;
  box-shadow:none!important;
  transform:none!important;
  opacity:1!important;
  pointer-events:auto!important;
}
body.customer-preorder .customer-basket>.eyebrow{
  margin:0!important;
  color:var(--po-cream)!important;
  font:400 36px/1 var(--po-serif)!important;
  text-transform:uppercase!important;
}
body.customer-preorder .customer-basket>.eyebrow::after{
  content:""!important;
  display:block!important;
  width:105px!important;
  height:3px!important;
  margin:13px 0 0!important;
  background:var(--po-red)!important;
}
body.customer-preorder .customer-basket-sketch{display:block!important;height:78px!important;margin:18px auto 4px!important;color:var(--po-cream)!important;opacity:.82!important}
body.customer-preorder .customer-basket h2{margin:0 auto 14px!important;max-width:260px!important;color:var(--po-cream)!important;font:600 10px/1.5 var(--po-sans)!important;letter-spacing:.17em!important;text-align:center!important;text-transform:uppercase!important}
body.customer-preorder .customer-basket #basketItems{color:var(--po-cream)!important;font-size:9px!important;text-align:center!important}
body.customer-preorder .customer-basket .order-total{margin:14px 0 0!important;padding:13px 0 0!important;border:0!important;border-top:1px solid rgba(244,235,219,.55)!important;color:var(--po-cream)!important}
body.customer-preorder .customer-basket .order-total strong{color:var(--po-cream)!important}
body.customer-preorder .customer-basket .primary-button{width:100%!important;min-height:52px!important;margin:10px 0 0!important;border:0!important;border-radius:3px!important;background:var(--po-cream)!important;color:var(--po-green)!important}
body.customer-preorder .customer-basket>.helper,
body.customer-preorder .customer-order-steps{display:none!important}

body.customer-preorder:not(.checkout-active) .customer-checkout,
body.customer-preorder:not(.checkout-active) #reviewButton{display:none!important}
body.customer-preorder.checkout-active .cinematic-preorder-hero{display:none!important}
body.customer-preorder.checkout-active #orderStage{padding-top:165px!important}
body.customer-preorder.checkout-active .customer-checkout{display:block!important;margin:0!important;padding:0!important;border:0!important}
body.customer-preorder.checkout-active .customer-basket{height:auto!important;min-height:0!important}

/* Medium desktop and tablet landscape keep the approved desktop composition,
   but scale it to the shorter canvas instead of allowing collisions. */
@media(min-width:901px) and (max-width:1180px){
  body.customer-preorder>.customer-header{
    height:116px!important;
    grid-template-columns:270px minmax(0,1fr)!important;
    gap:24px!important;
    padding:10px 3vw 0!important;
  }
  body.customer-preorder>.customer-header .customer-logo{width:250px!important;height:88px!important}
  body.customer-preorder>.customer-header .customer-logo img.master-logo{height:86px!important;max-height:86px!important}
  body.customer-preorder>.customer-header nav{gap:clamp(15px,2.6vw,31px)!important;margin-top:14px!important}
  body.customer-preorder>.customer-header nav a{font-size:9px!important;letter-spacing:.08em!important}
  body.customer-preorder .cinematic-preorder-hero{height:365px!important;min-height:365px!important}
  body.customer-preorder .preorder-event-card{top:116px!important;left:3vw!important;width:58vw!important;height:44px!important;min-height:44px!important;max-height:44px!important;padding-inline:12px!important}
  body.customer-preorder .preorder-event-date .eyebrow{font-size:7px!important}
  body.customer-preorder .preorder-event-date strong,
  body.customer-preorder .preorder-event-card h2{font-size:8px!important}
  body.customer-preorder .cinematic-preorder-hero>div{left:3vw!important;top:177px!important;width:55vw!important}
  body.customer-preorder .cinematic-preorder-hero h1::after{font-size:clamp(50px,6.5vw,69px)!important}
  body.customer-preorder .cinematic-preorder-hero>div>p:last-child{font-size:9px!important}
  body.customer-preorder .preorder-title-accent{margin:10px 0 8px!important}
  body.customer-preorder #orderStage{padding:24px 2.2vw!important}
  body.customer-preorder .customer-order-layout{grid-template-columns:minmax(0,2.15fr) minmax(260px,.85fr)!important;gap:10px!important}
  body.customer-preorder .menu-item,
  body.customer-preorder .menu-item:has(.garlic-extras){height:82px!important;min-height:82px!important;max-height:82px!important;padding:10px 136px 8px 225px!important}
  body.customer-preorder .menu-item::before{width:170px!important}
  body.customer-preorder .menu-number{left:185px!important;top:16px!important;font-size:21px!important}
  body.customer-preorder .menu-item h3{margin-bottom:5px!important;font-size:21px!important}
  body.customer-preorder .menu-item p{font-size:6.5px!important}
  body.customer-preorder .menu-item .menu-buy{right:9px!important;gap:6px!important}
  body.customer-preorder .menu-item .price{font-size:19px!important}
  body.customer-preorder .menu-item .quantity{height:30px!important}
  body.customer-preorder .menu-item .quantity button,
  body.customer-preorder .menu-item .quantity output{width:29px!important;min-width:29px!important;height:28px!important;min-height:28px!important;font-size:15px!important}
  body.customer-preorder .garlic-extras{left:225px!important;right:125px!important;bottom:5px!important;gap:4px 7px!important}
  body.customer-preorder .garlic-extras .extras-heading,
  body.customer-preorder .garlic-extras .extra-option{font-size:5px!important}
  body.customer-preorder .garlic-extras input{width:10px!important;min-width:10px!important;height:10px!important;min-height:10px!important}
  body.customer-preorder .customer-basket,
  body.customer-preorder.checkout-active .customer-basket{height:349px!important;min-height:349px!important;padding:16px!important}
  body.customer-preorder .customer-basket>.eyebrow{font-size:27px!important}
  body.customer-preorder .customer-basket-sketch{height:48px!important;margin:11px auto 2px!important}
  body.customer-preorder .customer-basket h2{font-size:8px!important;margin-bottom:7px!important}
  body.customer-preorder .customer-basket .order-total{margin-top:8px!important;padding-top:8px!important}
  body.customer-preorder .customer-basket .primary-button{min-height:39px!important;margin-top:7px!important;font-size:8px!important}
  body.customer-preorder.checkout-active #orderStage{padding-top:118px!important}
}

/* Phone and portrait tablet. The approved photographic hero is followed by
   four cream pizza cards. Each card has an explicit image slot and crop. */
@media(max-width:1180px) and (orientation:portrait){
  body.customer-preorder{
    padding:0 0 calc(78px + env(safe-area-inset-bottom))!important;
    background:var(--po-green)!important;
  }
  body.customer-preorder::before{display:none!important}
  body.customer-preorder>.customer-header{
    height:104px!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 54px!important;
    align-items:start!important;
    gap:12px!important;
    padding:13px 18px 0!important;
    background:linear-gradient(180deg,rgba(1,15,9,.72),rgba(1,15,9,0))!important;
  }
  body.customer-preorder>.customer-header .customer-logo{width:clamp(210px,48vw,300px)!important;height:80px!important}
  body.customer-preorder>.customer-header .customer-logo img.master-logo{height:78px!important;max-height:78px!important}
  body.customer-preorder>.customer-header .customer-menu-toggle{
    position:relative!important;
    inset:auto!important;
    display:flex!important;
    width:50px!important;
    height:50px!important;
    margin:5px 0 0!important;
    padding:0!important;
    align-items:center!important;
    justify-content:center!important;
    flex-direction:column!important;
    gap:6px!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }
  body.customer-preorder>.customer-header .customer-menu-toggle span:not(.visually-hidden){display:block!important;width:30px!important;height:3px!important;margin:0!important;background:var(--po-cream)!important}
  body.customer-preorder>.customer-header nav{
    position:absolute!important;
    top:96px!important;
    left:0!important;
    right:0!important;
    z-index:2300!important;
    display:none!important;
    flex-direction:column!important;
    gap:0!important;
    margin:0!important;
    padding:8px 20px 18px!important;
    background:rgba(2,31,19,.98)!important;
  }
  body.customer-preorder>.customer-header nav.is-open{display:flex!important}
  body.customer-preorder>.customer-header nav a{padding:14px 4px!important;border-bottom:1px solid rgba(244,235,219,.18)!important;font-size:10px!important}
  body.customer-preorder .cinematic-preorder-hero{
    height:clamp(490px,60svh,760px)!important;
    min-height:490px!important;
    background:
      linear-gradient(180deg,rgba(1,13,8,.14) 0%,rgba(1,13,8,.03) 52%,rgba(2,35,22,.34) 100%),
      url('/assets/bartleinis-pizzas-landscape.png') 58% center/cover no-repeat!important;
  }
  body.customer-preorder .cinematic-preorder-hero>div{
    left:7vw!important;
    right:5vw!important;
    top:auto!important;
    bottom:42px!important;
    width:auto!important;
    max-width:620px!important;
  }
  body.customer-preorder .cinematic-preorder-hero h1::after{font-size:clamp(48px,12vw,82px)!important;line-height:.82!important}
  body.customer-preorder .preorder-title-accent{width:86px!important;height:3px!important;margin:13px 0 0!important}
  body.customer-preorder .cinematic-preorder-hero>div>p:last-child{display:none!important}
  body.customer-preorder .preorder-event-card{
    top:clamp(146px,18svh,205px)!important;
    left:7vw!important;
    width:86vw!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    display:block!important;
    padding:0!important;
    overflow:visible!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    -webkit-backdrop-filter:none!important;
    backdrop-filter:none!important;
  }
  body.customer-preorder .preorder-event-date{display:flex!important;align-items:center!important;gap:8px!important}
  body.customer-preorder .preorder-event-date .eyebrow,
  body.customer-preorder .preorder-event-date strong{margin:0!important;color:var(--po-cream)!important;font:600 clamp(8px,2.2vw,12px)/1.25 var(--po-sans)!important;letter-spacing:.24em!important;white-space:normal!important}
  body.customer-preorder .preorder-event-date .eyebrow::after{content:"";display:inline-block;width:25px;height:2px;margin:0 0 3px 8px;background:var(--po-red)}
  body.customer-preorder .preorder-event-divider{display:none!important}
  body.customer-preorder .preorder-event-status{
    display:inline-flex!important;
    min-height:36px!important;
    margin:13px 0 0!important;
    padding:10px 18px!important;
    background:var(--po-red)!important;
    transform:skewX(-7deg)!important;
  }
  body.customer-preorder .preorder-event-card h2{font-size:clamp(10px,2.7vw,14px)!important;letter-spacing:.22em!important;white-space:normal!important;transform:skewX(7deg)!important}
  body.customer-preorder .preorder-event-card h2::before{display:none!important}
  body.customer-preorder #orderStage{padding:22px 10px!important;background:linear-gradient(90deg,#032c1c,#063c27 52%,#032b1c)!important}
  body.customer-preorder .customer-order-layout{display:block!important}
  body.customer-preorder .cinematic-section-title{display:flex!important;align-items:center!important;margin:0 8px 14px!important}
  body.customer-preorder .cinematic-section-title p,
  body.customer-preorder .cinematic-section-title span{display:none!important}
  body.customer-preorder .cinematic-section-title h2{display:flex!important;width:100%!important;align-items:center!important;gap:12px!important;margin:0!important;color:var(--po-cream)!important;font:600 10px/1 var(--po-sans)!important;letter-spacing:.34em!important;text-transform:uppercase!important}
  body.customer-preorder .cinematic-section-title h2::after{content:"";height:1px;flex:1;background:rgba(244,235,219,.8)}
  body.customer-preorder .menu-list{gap:8px!important}
  body.customer-preorder .menu-item,
  body.customer-preorder .menu-item:has(.garlic-extras){height:126px!important;min-height:126px!important;max-height:126px!important;padding:15px 98px 12px 128px!important}
  body.customer-preorder .menu-item::before{inset:7px auto 7px 7px!important;width:108px!important;height:auto!important;border-radius:6px!important;background-size:cover!important;background-position:center!important}
  body.customer-preorder .menu-number{display:none!important}
  body.customer-preorder .menu-item h3{margin-bottom:10px!important;font-size:clamp(20px,5.4vw,31px)!important}
  body.customer-preorder .menu-item p{font-size:clamp(7px,1.8vw,9px)!important;line-height:1.45!important}
  body.customer-preorder .menu-item .menu-buy{top:15px!important;right:9px!important;gap:15px!important;transform:none!important}
  body.customer-preorder .menu-item .price{font-size:clamp(20px,5vw,27px)!important}
  body.customer-preorder .menu-item .quantity{height:36px!important}
  body.customer-preorder .menu-item .quantity button,
  body.customer-preorder .menu-item .quantity output{width:29px!important;min-width:29px!important;height:34px!important;min-height:34px!important;font-size:16px!important}
  body.customer-preorder .menu-item:has(.garlic-extras){height:162px!important;min-height:162px!important;max-height:162px!important;padding-bottom:48px!important}
  body.customer-preorder .garlic-extras{left:128px!important;right:8px!important;bottom:8px!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:4px!important}
  body.customer-preorder .garlic-extras .extras-heading{display:none!important}
  body.customer-preorder .garlic-extras .extra-option{min-width:0!important;gap:3px!important;font-size:5.5px!important;white-space:normal!important}
  body.customer-preorder .garlic-extras input{width:13px!important;min-width:13px!important;height:13px!important;min-height:13px!important}
  body.customer-preorder .customer-allergen-note{font-size:7px!important}
  body.customer-preorder .customer-basket,
  body.customer-preorder.checkout-active .customer-basket{
    position:fixed!important;
    inset:auto 0 0!important;
    z-index:2400!important;
    width:auto!important;
    height:auto!important;
    min-height:68px!important;
    max-height:none!important;
    display:grid!important;
    grid-template-columns:auto minmax(0,1fr)!important;
    align-items:center!important;
    gap:13px!important;
    padding:8px 13px calc(8px + env(safe-area-inset-bottom))!important;
    overflow:visible!important;
    border:0!important;
    border-top:1px solid var(--po-cream)!important;
    border-radius:0!important;
    background:#06291b!important;
    box-shadow:none!important;
    transform:translateY(calc(100% + 20px))!important;
    opacity:0!important;
    pointer-events:none!important;
  }
  body.customer-preorder.mobile-basket-visible .customer-basket{transform:translateY(0)!important;opacity:1!important;pointer-events:auto!important}
  body.customer-preorder .customer-basket>.eyebrow,
  body.customer-preorder .customer-basket-sketch,
  body.customer-preorder .customer-basket h2,
  body.customer-preorder .customer-basket #basketItems,
  body.customer-preorder .customer-basket>.helper{display:none!important}
  body.customer-preorder .customer-basket .order-total{margin:0!important;padding:0 4px!important;border:0!important;white-space:nowrap!important}
  body.customer-preorder .customer-basket .order-total span{font-size:8px!important}
  body.customer-preorder .customer-basket .order-total strong{font-size:25px!important}
  body.customer-preorder .customer-basket .primary-button{min-height:50px!important;margin:0!important;padding:12px 8px!important;border-radius:999px!important;font-size:9px!important}
  body.customer-preorder.checkout-active .cinematic-preorder-hero{display:none!important}
  body.customer-preorder.checkout-active #orderStage{padding-top:118px!important}
  body.customer-preorder.checkout-active .customer-checkout .paper-panel{margin:0 0 12px!important;padding:20px 16px!important}
}

/* Short landscape phones use two menu columns and reserve a clean band for
   the logo/event/headline rather than compressing those elements together. */
@media(max-width:900px) and (orientation:landscape){
  body.customer-preorder>.customer-header{height:76px!important;padding:6px 3vw 0!important}
  body.customer-preorder>.customer-header .customer-logo{width:190px!important;height:64px!important}
  body.customer-preorder>.customer-header .customer-logo img.master-logo{height:62px!important;max-height:62px!important}
  body.customer-preorder>.customer-header .customer-menu-toggle{width:42px!important;height:42px!important;margin:2px 0 0!important}
  body.customer-preorder>.customer-header nav{top:70px!important}
  body.customer-preorder .cinematic-preorder-hero{height:330px!important;min-height:330px!important;background-position:58% 52%!important}
  body.customer-preorder .preorder-event-card{top:82px!important;left:4vw!important;width:53vw!important}
  body.customer-preorder .cinematic-preorder-hero>div{left:4vw!important;bottom:27px!important;width:47vw!important}
  body.customer-preorder .cinematic-preorder-hero h1::after{font-size:clamp(40px,7vw,60px)!important}
  body.customer-preorder #orderStage{padding:18px 3vw 90px!important}
  body.customer-preorder .menu-list{grid-template-columns:1fr 1fr!important;gap:8px!important}
  body.customer-preorder .menu-item,
  body.customer-preorder .menu-item:has(.garlic-extras){height:112px!important;min-height:112px!important;max-height:112px!important;padding:12px 86px 10px 112px!important}
  body.customer-preorder .menu-item::before{width:94px!important}
  body.customer-preorder .menu-item h3{font-size:20px!important}
  body.customer-preorder .menu-item p{font-size:6px!important}
  body.customer-preorder .menu-item .menu-buy{top:12px!important;right:7px!important;gap:11px!important}
  body.customer-preorder .menu-item .price{font-size:18px!important}
  body.customer-preorder .menu-item .quantity button,
  body.customer-preorder .menu-item .quantity output{width:25px!important;min-width:25px!important}
  body.customer-preorder .menu-item:has(.garlic-extras){height:140px!important;min-height:140px!important;max-height:140px!important}
  body.customer-preorder .garlic-extras{left:112px!important}
}

/* UPDATE 185 — BOTTOM-ANCHORED PRE-ORDER INTRODUCTION.
   On the closed first-stage view, the photograph receives the available
   canvas first. The live Pop-Up gateway then occupies its own row directly
   above the footer, so neither panel is pulled over the pizza by a negative
   margin. Once ordering opens, the established menu layout takes over
   unchanged. */
body.customer-preorder:not(.preorder-menu-open):not(.checkout-active){
  display:flex!important;
  min-height:100svh!important;
  flex-direction:column!important;
  padding-bottom:0!important;
}
body.customer-preorder:not(.preorder-menu-open):not(.checkout-active)>.customer-shell{
  display:grid!important;
  flex:1 0 auto!important;
  grid-template-rows:minmax(484px,1fr) auto!important;
  min-height:calc(100svh - 112px)!important;
}
body.customer-preorder:not(.preorder-menu-open):not(.checkout-active) .cinematic-preorder-hero{
  height:100%!important;
  min-height:484px!important;
}
body.customer-preorder:not(.preorder-menu-open):not(.checkout-active) .preorder-gateway{
  align-self:end!important;
  margin:0 auto 16px!important;
}
body.customer-preorder:not(.preorder-menu-open):not(.checkout-active)>.customer-footer{
  flex:0 0 auto!important;
  margin-top:0!important;
}
body.customer-preorder>.customer-footer .brand-promise{
  color:var(--po-cream)!important;
}

@media(max-width:1180px) and (orientation:portrait){
  body.customer-preorder:not(.preorder-menu-open):not(.checkout-active)>.customer-shell{
    grid-template-rows:minmax(490px,1fr) auto!important;
    min-height:calc(100svh - 170px)!important;
  }
  body.customer-preorder:not(.preorder-menu-open):not(.checkout-active) .cinematic-preorder-hero{
    height:100%!important;
    min-height:490px!important;
  }
  body.customer-preorder:not(.preorder-menu-open):not(.checkout-active) .preorder-gateway{
    margin:0 auto 14px!important;
  }
}

/* UPDATE 186 — MEASURED PORTRAIT LOWERING.
   The customer's yellow guide sits about 100 CSS pixels below the current
   footer boundary at phone scale. Add that space ahead of the gateway so the
   gateway and footer move as one group while their existing gap is retained.
   The promise colour is stated directly in this final cascade layer. */
@media(max-width:1180px) and (orientation:portrait){
  body.customer-preorder:not(.preorder-menu-open):not(.checkout-active) .preorder-gateway{
    margin:100px auto 14px!important;
  }
}
body.customer-preorder>.customer-footer .brand-promise{
  color:#f4ebdb!important;
  -webkit-text-fill-color:#f4ebdb!important;
  opacity:1!important;
}

/* UPDATE 187 — FINAL PORTRAIT CASCADE LOCK. */
@media(max-width:1180px) and (orientation:portrait){
  body.customer-preorder:not(.preorder-menu-open):not(.checkout-active){
    background:#090909!important;
  }
  body.customer-preorder:not(.preorder-menu-open):not(.checkout-active)::before{
    display:none!important;
  }
  body.customer-preorder:not(.preorder-menu-open):not(.checkout-active)>.customer-shell{
    background:
      linear-gradient(180deg,rgba(0,0,0,.18) 0%,rgba(0,0,0,.02) 52%,rgba(0,0,0,.44) 100%),
      url('/assets/bartleinis-pizzas-landscape.png') 58% center/cover no-repeat!important;
  }
  body.customer-preorder:not(.preorder-menu-open):not(.checkout-active) .cinematic-preorder-hero{
    background:transparent!important;
  }
  body.customer-preorder:not(.preorder-menu-open):not(.checkout-active) .preorder-gateway{
    margin:0 auto 14px!important;
    background:linear-gradient(90deg,rgba(0,0,0,.94),rgba(0,0,0,.8) 48%,rgba(0,0,0,.92))!important;
  }
}
@media(max-width:700px) and (orientation:portrait){
  body.customer-preorder:not(.preorder-menu-open):not(.checkout-active)>.customer-shell{
    flex:0 0 63svh!important;
    grid-template-rows:minmax(0,1fr) auto!important;
    min-height:63svh!important;
  }
  body.customer-preorder:not(.preorder-menu-open):not(.checkout-active) .cinematic-preorder-hero{
    height:100%!important;
    min-height:0!important;
  }
  body.customer-preorder:not(.preorder-menu-open):not(.checkout-active)>.customer-footer{
    flex:1 0 37svh!important;
    min-height:37svh!important;
  }
}
body.customer-preorder>.customer-footer .brand-promise{
  color:#f4ebdb!important;
  -webkit-text-fill-color:#f4ebdb!important;
  opacity:1!important;
}

/* UPDATE 187 — ONE PORTRAIT PHOTOGRAPH + MEASURED BOTTOM ALIGNMENT.
   The first screen now owns one continuous photo layer. The body, hero and
   gateway no longer each reveal another copy of the pizza artwork. */
@media(max-width:1180px) and (orientation:portrait){
  body.customer-preorder:not(.preorder-menu-open):not(.checkout-active){
    background:#090909!important;
  }
  body.customer-preorder:not(.preorder-menu-open):not(.checkout-active)::before{
    display:none!important;
  }
  body.customer-preorder:not(.preorder-menu-open):not(.checkout-active)>.customer-shell{
    background:
      linear-gradient(180deg,rgba(0,0,0,.18) 0%,rgba(0,0,0,.02) 52%,rgba(0,0,0,.44) 100%),
      url('/assets/bartleinis-pizzas-landscape.png') 58% center/cover no-repeat!important;
  }
  body.customer-preorder:not(.preorder-menu-open):not(.checkout-active) .cinematic-preorder-hero{
    background:transparent!important;
  }
  body.customer-preorder:not(.preorder-menu-open):not(.checkout-active) .preorder-gateway{
    margin:0 auto 14px!important;
    background:linear-gradient(90deg,rgba(0,0,0,.94),rgba(0,0,0,.8) 48%,rgba(0,0,0,.92))!important;
  }
}

@media(max-width:700px) and (orientation:portrait){
  body.customer-preorder:not(.preorder-menu-open):not(.checkout-active)>.customer-shell{
    flex:0 0 63svh!important;
    grid-template-rows:minmax(0,1fr) auto!important;
    min-height:63svh!important;
  }
  body.customer-preorder:not(.preorder-menu-open):not(.checkout-active) .cinematic-preorder-hero{
    height:100%!important;
    min-height:0!important;
  }
  body.customer-preorder:not(.preorder-menu-open):not(.checkout-active)>.customer-footer{
    flex:1 0 37svh!important;
    min-height:37svh!important;
  }
}

body.customer-preorder>.customer-footer .brand-promise{
  color:#f4ebdb!important;
  -webkit-text-fill-color:#f4ebdb!important;
  opacity:1!important;
}

@media(max-width:900px) and (orientation:landscape){
  body.customer-preorder:not(.preorder-menu-open):not(.checkout-active)>.customer-shell{
    grid-template-rows:minmax(330px,1fr) auto!important;
    min-height:calc(100svh - 112px)!important;
  }
  body.customer-preorder:not(.preorder-menu-open):not(.checkout-active) .cinematic-preorder-hero{
    height:100%!important;
    min-height:330px!important;
  }
  body.customer-preorder:not(.preorder-menu-open):not(.checkout-active) .preorder-gateway{
    margin:0 auto 12px!important;
  }
}

/* UPDATE 184 — UPCOMING POP-UPS ORDERING GATEWAY.
   The first screen now presents live dates and one clear route into ordering.
   The menu remains the existing functional order system and is revealed only
   after the customer chooses Place Your Order Here. */
body.customer-preorder .preorder-gateway{
  position:relative;
  z-index:8;
  display:grid;
  grid-template-columns:minmax(0,1fr) 1px minmax(0,1fr);
  align-items:stretch;
  width:min(1120px,88vw);
  min-height:154px;
  margin:-184px auto 38px;
  overflow:hidden;
  border:1px solid rgba(244,235,219,.9);
  border-radius:22px;
  background:
    linear-gradient(90deg,rgba(0,0,0,.94),rgba(0,0,0,.78) 47%,rgba(0,0,0,.9)),
    url('/assets/bartleinis-pizzas-landscape.png') center 61%/cover no-repeat;
  box-shadow:0 18px 42px rgba(0,0,0,.36);
  color:var(--po-cream);
  -webkit-backdrop-filter:blur(8px) saturate(.82);
  backdrop-filter:blur(8px) saturate(.82);
}
body.customer-preorder .preorder-gateway::after{
  content:"";
  position:absolute;
  inset:auto 0 0;
  height:4px;
  background:linear-gradient(90deg,var(--po-red) 0 18%,transparent 18% 100%);
}
body.customer-preorder .preorder-gateway-schedule,
body.customer-preorder .preorder-gateway-action{
  position:relative;
  z-index:1;
  display:flex;
  min-width:0;
  flex-direction:column;
  justify-content:center;
  padding:24px clamp(22px,3.2vw,48px);
}
body.customer-preorder .preorder-gateway-heading,
body.customer-preorder #gatewayOrderingStatus{
  margin:0 0 13px;
  color:var(--po-cream);
  font-family:Montserrat,Arial,sans-serif;
  font-size:clamp(12px,1.05vw,16px);
  font-weight:700;
  line-height:1.15;
  letter-spacing:.2em;
  text-transform:uppercase;
}
body.customer-preorder #upcomingPopups{
  display:grid;
  gap:5px;
  margin:0;
  padding:0;
  list-style:none;
}
body.customer-preorder #upcomingPopups li{
  display:grid;
  grid-template-columns:50px 14px minmax(0,1fr);
  gap:4px;
  align-items:center;
  color:rgba(244,235,219,.92);
  font:500 clamp(11px,.95vw,14px)/1.25 Montserrat,Arial,sans-serif;
  letter-spacing:.09em;
  text-transform:uppercase;
}
body.customer-preorder #upcomingPopups time,
body.customer-preorder #upcomingPopups strong{font:inherit;color:inherit}
body.customer-preorder .preorder-gateway-divider{
  align-self:stretch;
  width:1px;
  margin:20px 0;
  background:rgba(244,235,219,.62);
}
body.customer-preorder .preorder-gateway-action{align-items:flex-start}
body.customer-preorder #openPreorderMenu{
  display:flex;
  width:100%;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:0;
  border:0;
  background:transparent;
  color:var(--po-cream);
  font:500 clamp(14px,1.25vw,19px)/1.2 Montserrat,Arial,sans-serif;
  letter-spacing:.16em;
  text-align:left;
  text-transform:uppercase;
  cursor:pointer;
}
body.customer-preorder #openPreorderMenu span{font-size:1.35em;transition:transform .2s ease}
body.customer-preorder #openPreorderMenu:hover span,
body.customer-preorder #openPreorderMenu:focus-visible span{transform:translateX(6px)}
body.customer-preorder #openPreorderMenu:focus-visible{outline:2px solid var(--po-red);outline-offset:7px}
body.customer-preorder .preorder-gateway-note{
  max-width:38ch;
  margin:0;
  color:rgba(244,235,219,.88);
  font:500 12px/1.5 Montserrat,Arial,sans-serif;
  letter-spacing:.06em;
  text-transform:uppercase;
}
body.customer-preorder #orderStage{scroll-margin-top:var(--preorder-header-height,110px)}
body.customer-preorder #orderStage.hidden{display:none!important}
body.customer-preorder.preorder-menu-open .preorder-gateway{margin-bottom:0}

@media(max-width:1180px) and (orientation:portrait){
  body.customer-preorder .preorder-gateway{
    width:calc(100% - 34px);
    min-height:132px;
    margin:-150px auto 18px;
    border-radius:14px;
    background:
      linear-gradient(90deg,rgba(0,0,0,.94),rgba(0,0,0,.77) 48%,rgba(0,0,0,.92)),
      url('/assets/bartleinis-pizzas-landscape.png') center 68%/cover no-repeat;
  }
  body.customer-preorder .preorder-gateway-schedule,
  body.customer-preorder .preorder-gateway-action{padding:18px clamp(14px,3vw,30px)}
  body.customer-preorder .preorder-gateway-heading,
  body.customer-preorder #gatewayOrderingStatus{margin-bottom:10px;font-size:clamp(9px,2.2vw,13px);letter-spacing:.15em}
  body.customer-preorder #upcomingPopups li{grid-template-columns:39px 9px minmax(0,1fr);font-size:clamp(8px,1.9vw,11px);letter-spacing:.05em}
  body.customer-preorder #openPreorderMenu{font-size:clamp(9px,2.25vw,13px);letter-spacing:.1em}
  body.customer-preorder .preorder-gateway-note{font-size:clamp(8px,1.9vw,11px)}
  body.customer-preorder .preorder-gateway-divider{margin:15px 0}
}

@media(max-width:430px) and (orientation:portrait){
  body.customer-preorder .preorder-gateway{width:calc(100% - 30px);min-height:126px;margin:-142px auto 16px}
  body.customer-preorder .preorder-gateway-schedule,
  body.customer-preorder .preorder-gateway-action{padding:16px 12px}
  body.customer-preorder #upcomingPopups li{grid-template-columns:35px 7px minmax(0,1fr);gap:2px}
}

@media(max-width:900px) and (orientation:landscape){
  body.customer-preorder .preorder-gateway{width:min(880px,88vw);min-height:106px;margin:-122px auto 18px;border-radius:14px}
  body.customer-preorder .preorder-gateway-schedule,
  body.customer-preorder .preorder-gateway-action{padding:14px 24px}
  body.customer-preorder .preorder-gateway-heading,
  body.customer-preorder #gatewayOrderingStatus{margin-bottom:7px;font-size:9px}
  body.customer-preorder #upcomingPopups li{font-size:8px;line-height:1.15}
  body.customer-preorder #openPreorderMenu{font-size:10px}
}

@media(max-width:430px){
  body.customer-preorder>.customer-header .customer-logo{width:205px!important}
  body.customer-preorder .cinematic-preorder-hero{height:510px!important;min-height:510px!important;background-position:60% center!important}
  body.customer-preorder .preorder-event-card{top:145px!important}
  body.customer-preorder .cinematic-preorder-hero>div{bottom:34px!important}
  body.customer-preorder .menu-item,
  body.customer-preorder .menu-item:has(.garlic-extras){padding-left:116px!important}
  body.customer-preorder .menu-item::before{width:94px!important}
  body.customer-preorder .garlic-extras{left:116px!important}
}

@media(prefers-reduced-motion:reduce){
  body.customer-preorder *{scroll-behavior:auto!important;transition:none!important}
}

/* UPDATE 176 — MOBILE MENU DETAIL + RELIABLE PIZZA PHOTOGRAPHS.
   Real image elements replace pseudo-element artwork so Safari uses the same
   prepared crops as desktop. The mobile event strip mirrors desktop and the
   controls have dedicated space instead of colliding with names or extras. */
body.customer-preorder .menu-item::before{display:none!important}
body.customer-preorder .menu-photo{
  position:absolute!important;
  inset:5px auto 5px 5px!important;
  z-index:0!important;
  display:block!important;
  width:240px!important;
  height:calc(100% - 10px)!important;
  margin:0!important;
  border:0!important;
  border-radius:4px!important;
  object-fit:cover!important;
  object-position:center!important;
}

@media(min-width:901px) and (max-width:1180px){
  body.customer-preorder .menu-photo{width:170px!important}
}

@media(max-width:900px), (max-width:1180px) and (orientation:portrait){
  body.customer-preorder{
    --mobile-menu-photo:clamp(96px,22vw,170px);
    --mobile-menu-left:calc(var(--mobile-menu-photo) + 22px);
  }
  body.customer-preorder .cinematic-preorder-hero>div{
    top:clamp(236px,31svh,310px)!important;
    bottom:auto!important;
  }
  body.customer-preorder .preorder-event-card{
    top:clamp(116px,15svh,154px)!important;
    left:5vw!important;
    width:90vw!important;
    height:52px!important;
    min-height:52px!important;
    max-height:52px!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) 1px minmax(0,1fr)!important;
    align-items:center!important;
    gap:9px!important;
    padding:6px 11px!important;
    overflow:hidden!important;
    border:1px solid rgba(244,235,219,.84)!important;
    border-radius:6px!important;
    background:rgba(2,35,22,.86)!important;
    -webkit-backdrop-filter:blur(4px)!important;
    backdrop-filter:blur(4px)!important;
  }
  body.customer-preorder .preorder-event-date{
    display:block!important;
    min-width:0!important;
  }
  body.customer-preorder .preorder-event-date .eyebrow,
  body.customer-preorder .preorder-event-date strong{
    display:block!important;
    margin:0!important;
    overflow:hidden!important;
    font-size:clamp(5.5px,1.45vw,9px)!important;
    line-height:1.25!important;
    letter-spacing:.13em!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
  }
  body.customer-preorder .preorder-event-date .eyebrow{margin-bottom:3px!important}
  body.customer-preorder .preorder-event-date .eyebrow::after{display:none!important}
  body.customer-preorder .preorder-event-divider{
    display:block!important;
    width:1px!important;
    height:28px!important;
    min-height:28px!important;
    background:rgba(244,235,219,.66)!important;
  }
  body.customer-preorder .preorder-event-status{
    display:flex!important;
    min-width:0!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    background:transparent!important;
    transform:none!important;
  }
  body.customer-preorder .preorder-event-card h2{
    overflow:hidden!important;
    font-size:clamp(6px,1.65vw,10px)!important;
    line-height:1.25!important;
    letter-spacing:.13em!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
    transform:none!important;
  }
  body.customer-preorder .preorder-event-card h2::before{
    display:inline-block!important;
    width:8px!important;
    height:8px!important;
    margin-right:6px!important;
    vertical-align:-1px!important;
  }
  body.customer-preorder .menu-item,
  body.customer-preorder .menu-item:has(.garlic-extras){
    height:clamp(132px,18vw,154px)!important;
    min-height:clamp(132px,18vw,154px)!important;
    max-height:clamp(132px,18vw,154px)!important;
    padding:15px clamp(96px,24vw,190px) 12px var(--mobile-menu-left)!important;
  }
  body.customer-preorder .menu-photo{
    inset:7px auto 7px 7px!important;
    width:var(--mobile-menu-photo)!important;
    height:calc(100% - 14px)!important;
    border-radius:6px!important;
  }
  body.customer-preorder .menu-copy{min-width:0!important}
  body.customer-preorder .menu-item h3{
    max-width:100%!important;
    margin:0 0 9px!important;
    overflow:visible!important;
    font-size:clamp(18px,3.5vw,29px)!important;
    line-height:.95!important;
    white-space:nowrap!important;
  }
  body.customer-preorder .menu-item[data-menu-id="bartleini"] h3{font-size:clamp(16px,3.2vw,27px)!important}
  body.customer-preorder .menu-heat svg{width:clamp(24px,4.5vw,34px)!important;height:auto!important}
  body.customer-preorder .menu-item p{
    max-width:none!important;
    font-size:clamp(6.5px,1.25vw,8.5px)!important;
    line-height:1.42!important;
    letter-spacing:.09em!important;
  }
  body.customer-preorder .menu-item .menu-buy{
    top:14px!important;
    right:9px!important;
    bottom:12px!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-end!important;
    justify-content:space-between!important;
    gap:6px!important;
    transform:none!important;
  }
  body.customer-preorder .menu-item .price{font-size:clamp(19px,4.5vw,27px)!important}
  body.customer-preorder .menu-item:has(.garlic-extras){
    height:clamp(190px,25vw,218px)!important;
    min-height:clamp(190px,25vw,218px)!important;
    max-height:clamp(190px,25vw,218px)!important;
    padding-bottom:68px!important;
  }
  body.customer-preorder .garlic-extras{
    left:var(--mobile-menu-left)!important;
    right:clamp(96px,24vw,190px)!important;
    bottom:10px!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:4px!important;
  }
  body.customer-preorder .garlic-extras .extra-option{
    display:grid!important;
    grid-template-columns:15px minmax(0,1fr)!important;
    align-items:center!important;
    gap:5px!important;
    font-size:clamp(5.5px,1.2vw,7px)!important;
    white-space:nowrap!important;
  }
}

@media(min-width:541px) and (max-width:900px), (min-width:541px) and (max-width:1180px) and (orientation:portrait){
  body.customer-preorder .garlic-extras{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    right:10px!important;
    gap:8px!important;
  }
}

@media(max-width:430px) and (orientation:portrait){
  body.customer-preorder .cinematic-preorder-hero>div{top:240px!important}
  body.customer-preorder .preorder-event-card{top:116px!important}
  body.customer-preorder .menu-item,
  body.customer-preorder .menu-item:has(.garlic-extras){padding-left:var(--mobile-menu-left)!important}
  body.customer-preorder .garlic-extras{left:var(--mobile-menu-left)!important}
}

/* UPDATE 177 — MOBILE HERO ORDER, NEUTRAL GRADE AND MENU USABILITY. */
@media(max-width:900px), (max-width:1180px) and (orientation:portrait){
  body.customer-preorder>.customer-header{
    background:linear-gradient(180deg,rgba(0,0,0,.72),rgba(0,0,0,0))!important;
  }
  body.customer-preorder .cinematic-preorder-hero{
    background:
      linear-gradient(180deg,rgba(0,0,0,.2) 0%,rgba(0,0,0,.04) 52%,rgba(0,0,0,.3) 100%),
      url('/assets/bartleinis-pizzas-landscape.png') 58% center/cover no-repeat!important;
  }
  body.customer-preorder .cinematic-preorder-hero>div{
    top:clamp(148px,19svh,218px)!important;
    bottom:auto!important;
  }
  body.customer-preorder .preorder-event-card{
    top:calc(clamp(490px,60svh,760px) - 90px)!important;
    bottom:auto!important;
  }
  body.customer-preorder .menu-photo{
    object-fit:contain!important;
    object-position:center!important;
    background:#0b0b0b!important;
  }
  body.customer-preorder .menu-item:has(.garlic-extras){
    height:clamp(220px,29vw,250px)!important;
    min-height:clamp(220px,29vw,250px)!important;
    max-height:clamp(220px,29vw,250px)!important;
    padding-bottom:12px!important;
  }
  body.customer-preorder .menu-item:has(.garlic-extras) .menu-copy{
    padding-right:0!important;
  }
  body.customer-preorder .garlic-extras{
    position:static!important;
    width:auto!important;
    margin:10px 0 0!important;
    padding:9px 0 0!important;
    border-top:1px solid rgba(10,37,22,.24)!important;
  }
  body.customer-preorder .garlic-extras .extra-option{
    min-height:22px!important;
    font-size:clamp(6px,1.35vw,8px)!important;
    line-height:1.25!important;
  }
}

@media(max-width:540px) and (orientation:portrait){
  body.customer-preorder .cinematic-preorder-hero>div{top:150px!important}
  body.customer-preorder .preorder-event-card{top:420px!important;bottom:auto!important}
  body.customer-preorder .menu-item[data-menu-id="garlic-bread"] h3{font-size:16px!important}
  body.customer-preorder .menu-item:has(.garlic-extras){
    height:228px!important;
    min-height:228px!important;
    max-height:228px!important;
  }
  body.customer-preorder .garlic-extras{
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:3px!important;
  }
}

@media(max-width:900px) and (orientation:landscape){
  body.customer-preorder>.customer-header{
    background:linear-gradient(180deg,rgba(0,0,0,.72),rgba(0,0,0,0))!important;
  }
  body.customer-preorder .cinematic-preorder-hero{
    background:
      linear-gradient(180deg,rgba(0,0,0,.2),rgba(0,0,0,.08) 54%,rgba(0,0,0,.3)),
      url('/assets/bartleinis-pizzas-landscape.png') 58% 52%/cover no-repeat!important;
  }
  body.customer-preorder .menu-photo{
    object-fit:contain!important;
    object-position:center!important;
    background:#0b0b0b!important;
  }
}

/* UPDATE 178 — PHONE HERO ALIGNMENT, SQUARE PHOTOS AND GARLIC EXTRAS.
   This final layer is deliberately phone-only. It keeps the desktop/tablet
   composition intact while matching the positions marked on the supplied
   iPhone screenshots. */
@media(max-width:540px) and (orientation:portrait){
  body.customer-preorder{
    --mobile-menu-photo:106px;
    --mobile-menu-left:128px;
  }

  /* The title starts directly beneath the logo. The event strip sits over the
     lowest part of the pizza, immediately above the menu transition. */
  body.customer-preorder .cinematic-preorder-hero>div{
    top:104px!important;
  }
  body.customer-preorder .preorder-event-card{
    top:452px!important;
    bottom:auto!important;
  }

  body.customer-preorder .menu-item,
  body.customer-preorder .menu-item:has(.garlic-extras){
    padding-left:var(--mobile-menu-left)!important;
  }
  body.customer-preorder .menu-photo{
    inset:7px auto auto 7px!important;
    width:var(--mobile-menu-photo)!important;
    height:var(--mobile-menu-photo)!important;
    aspect-ratio:1!important;
    object-fit:contain!important;
    object-position:center!important;
    background-position:center!important;
    background-size:cover!important;
    background-repeat:no-repeat!important;
  }
  body.customer-preorder .menu-item[data-menu-id="margherita"] .menu-photo{background-image:url('/assets/menu-margherita.jpg')!important}
  body.customer-preorder .menu-item[data-menu-id="pepperoni"] .menu-photo{background-image:url('/assets/menu-pepperoni.jpg')!important}
  body.customer-preorder .menu-item[data-menu-id="bartleini"] .menu-photo{background-image:url('/assets/menu-bartleini.jpg')!important}
  body.customer-preorder .menu-item[data-menu-id="garlic-bread"] .menu-photo{background-image:url('/assets/menu-garlic-bread.jpg')!important}

  /* Reserve a separate block beneath the garlic-bread ingredients. Nothing in
     this block is absolutely overlaid on the heading, price or quantity. */
  body.customer-preorder .menu-item:has(.garlic-extras){
    height:246px!important;
    min-height:246px!important;
    max-height:246px!important;
    padding-bottom:12px!important;
  }
  body.customer-preorder .menu-item[data-menu-id="garlic-bread"] .menu-copy{
    padding-right:58px!important;
  }
  body.customer-preorder .menu-item[data-menu-id="garlic-bread"] h3{
    max-width:100%!important;
    font-size:16px!important;
  }
  body.customer-preorder .garlic-extras{
    position:absolute!important;
    top:76px!important;
    right:10px!important;
    bottom:auto!important;
    left:var(--mobile-menu-left)!important;
    display:grid!important;
    grid-template-columns:1fr!important;
    gap:6px!important;
    width:auto!important;
    margin:0!important;
    padding:9px 0 0!important;
    border-top:1px solid rgba(10,37,22,.24)!important;
  }
  body.customer-preorder .garlic-extras .extras-heading{
    display:block!important;
    margin:0 0 1px!important;
    font-size:7px!important;
  }
  body.customer-preorder .garlic-extras .extra-option{
    display:grid!important;
    grid-template-columns:18px minmax(0,1fr)!important;
    align-items:center!important;
    gap:7px!important;
    min-height:22px!important;
    font-size:7px!important;
    line-height:1.2!important;
    white-space:normal!important;
  }
  body.customer-preorder .garlic-extras input{
    width:18px!important;
    min-width:18px!important;
    height:18px!important;
    min-height:18px!important;
  }
}

/* UPDATE 179 — TRUE SINGLE MOBILE PHOTOGRAPHS + EXTRAS ALIGNMENT. */
@media(max-width:540px) and (orientation:portrait){
  body.customer-preorder .cinematic-preorder-hero>div{
    top:76px!important;
  }

  /* Mobile Safari receives one purpose-made square file. There is no second
     background image, so the pizza can never appear duplicated in its frame. */
  body.customer-preorder .menu-photo{
    width:106px!important;
    height:106px!important;
    object-fit:cover!important;
    background:none!important;
  }

  body.customer-preorder .menu-item:has(.garlic-extras){
    height:270px!important;
    min-height:270px!important;
    max-height:270px!important;
  }
  body.customer-preorder .menu-item[data-menu-id="garlic-bread"] .menu-copy{
    position:static!important;
    padding-right:0!important;
  }
  body.customer-preorder .garlic-extras{
    top:82px!important;
    right:78px!important;
    bottom:auto!important;
    left:128px!important;
    width:auto!important;
    gap:7px!important;
  }
  body.customer-preorder .garlic-extras .extras-heading{
    margin:0 0 2px!important;
    font-size:8px!important;
    line-height:1.2!important;
  }
  body.customer-preorder .garlic-extras .extra-option{
    grid-template-columns:20px minmax(0,1fr)!important;
    gap:8px!important;
    min-height:24px!important;
    font-size:8px!important;
    line-height:1.25!important;
  }
  body.customer-preorder .garlic-extras .extra-option span{
    display:block!important;
    min-width:0!important;
    white-space:nowrap!important;
  }
  body.customer-preorder .garlic-extras input{
    width:20px!important;
    min-width:20px!important;
    height:20px!important;
    min-height:20px!important;
  }
}

/* UPDATE 182 — PRE-ORDER BLACK CINEMATIC PHOTOGRAPHY THEME.
   This final visual layer carries the approved landing-page treatment onto
   Pre-Order without changing its measured layout, controls or order flow. */
body.customer-preorder{
  --po-dark:#090909;
  background:#090909 url('/assets/bartleinis-pizzas-landscape.png') center top/cover fixed no-repeat!important;
}
body.customer-preorder::before{
  display:block!important;
  background:linear-gradient(90deg,rgba(0,0,0,.92) 0%,rgba(0,0,0,.58) 43%,rgba(0,0,0,.12) 100%)!important;
}
body.customer-preorder>.customer-header{
  background:linear-gradient(180deg,rgba(0,0,0,.94) 0%,rgba(0,0,0,.68) 48%,rgba(0,0,0,.18) 82%,rgba(0,0,0,0) 100%)!important;
}
body.customer-preorder>.customer-header .customer-logo img.master-logo{
  filter:brightness(1.16) contrast(1.12) saturate(1.06) drop-shadow(0 2px 9px rgba(0,0,0,.92))!important;
}
body.customer-preorder .preorder-event-card{
  background:rgba(3,3,3,.8)!important;
  border-color:rgba(244,235,219,.9)!important;
  box-shadow:0 7px 22px rgba(0,0,0,.24)!important;
  -webkit-backdrop-filter:blur(6px) saturate(.9)!important;
  backdrop-filter:blur(6px) saturate(.9)!important;
}
body.customer-preorder #orderStage{
  background:linear-gradient(180deg,rgba(0,0,0,.72) 0%,rgba(0,0,0,.9) 38%,rgba(0,0,0,.96) 100%)!important;
}
body.customer-preorder .customer-basket,
body.customer-preorder.checkout-active .customer-basket{
  background:rgba(3,3,3,.9)!important;
  border-color:rgba(244,235,219,.9)!important;
  box-shadow:0 9px 28px rgba(0,0,0,.28)!important;
  -webkit-backdrop-filter:blur(7px) saturate(.88)!important;
  backdrop-filter:blur(7px) saturate(.88)!important;
}
body.customer-preorder .customer-basket .primary-button,
body.customer-preorder #reviewButton{
  position:relative!important;
  background:rgba(8,8,8,.78)!important;
  border:1px solid rgba(244,235,219,.9)!important;
  color:var(--po-cream)!important;
  box-shadow:none!important;
}
body.customer-preorder .customer-basket .primary-button:not(:disabled):hover,
body.customer-preorder #reviewButton:not(:disabled):hover{
  background:rgba(244,235,219,.12)!important;
}
body.customer-preorder .customer-basket .primary-button:disabled,
body.customer-preorder #reviewButton:disabled{
  opacity:.48!important;
}
body.customer-preorder>.customer-footer{
  border-top:1px solid rgba(244,235,219,.28)!important;
  background:linear-gradient(0deg,rgba(0,0,0,.97) 0%,rgba(0,0,0,.86) 72%,rgba(0,0,0,.68) 100%)!important;
  color:var(--po-cream)!important;
}
body.customer-preorder>.customer-footer a,
body.customer-preorder>.customer-footer .customer-socials a{
  color:var(--po-cream)!important;
}

@media(max-width:1180px) and (orientation:portrait){
  body.customer-preorder{
    background:#090909 url('/assets/bartleinis-pizzas-landscape.png') 60% top/auto max(720px,100svh) fixed no-repeat!important;
  }
  body.customer-preorder::before{
    background:linear-gradient(180deg,rgba(0,0,0,.16) 0%,rgba(0,0,0,.06) 44%,rgba(0,0,0,.7) 72%,rgba(0,0,0,.94) 100%)!important;
  }
  body.customer-preorder>.customer-header nav{
    background:rgba(3,3,3,.98)!important;
  }
  body.customer-preorder .cinematic-preorder-hero{
    background:
      linear-gradient(180deg,rgba(0,0,0,.2) 0%,rgba(0,0,0,.04) 52%,rgba(0,0,0,.38) 100%),
      url('/assets/bartleinis-pizzas-landscape.png') 58% center/cover no-repeat!important;
  }
  body.customer-preorder #orderStage{
    background:linear-gradient(180deg,rgba(0,0,0,.82) 0%,rgba(0,0,0,.96) 100%)!important;
  }
  body.customer-preorder .customer-basket,
  body.customer-preorder.checkout-active .customer-basket{
    background:rgba(3,3,3,.96)!important;
    border-top-color:rgba(244,235,219,.72)!important;
  }
}

@media(max-width:900px) and (orientation:landscape){
  body.customer-preorder .cinematic-preorder-hero{
    background:
      linear-gradient(180deg,rgba(0,0,0,.24),rgba(0,0,0,.08) 54%,rgba(0,0,0,.42)),
      url('/assets/bartleinis-pizzas-landscape.png') 58% 52%/cover no-repeat!important;
  }
  body.customer-preorder #orderStage{
    background:linear-gradient(180deg,rgba(0,0,0,.82),rgba(0,0,0,.96))!important;
  }
}

/* UPDATE 187 — FINAL PORTRAIT CASCADE LOCK. */
@media(max-width:1180px) and (orientation:portrait){
  body.customer-preorder:not(.preorder-menu-open):not(.checkout-active){
    background:#090909!important;
  }
  body.customer-preorder:not(.preorder-menu-open):not(.checkout-active)::before{
    display:none!important;
  }
  body.customer-preorder:not(.preorder-menu-open):not(.checkout-active)>.customer-shell{
    background:
      linear-gradient(180deg,rgba(0,0,0,.18) 0%,rgba(0,0,0,.02) 52%,rgba(0,0,0,.44) 100%),
      url('/assets/bartleinis-pizzas-landscape.png') 58% center/cover no-repeat!important;
  }
  body.customer-preorder:not(.preorder-menu-open):not(.checkout-active) .cinematic-preorder-hero{
    background:transparent!important;
  }
  body.customer-preorder:not(.preorder-menu-open):not(.checkout-active) .preorder-gateway{
    margin:0 auto 14px!important;
    background:linear-gradient(90deg,rgba(0,0,0,.94),rgba(0,0,0,.8) 48%,rgba(0,0,0,.92))!important;
  }
}
@media(max-width:700px) and (orientation:portrait){
  body.customer-preorder:not(.preorder-menu-open):not(.checkout-active)>.customer-shell{
    flex:0 0 63svh!important;
    grid-template-rows:minmax(0,1fr) auto!important;
    min-height:63svh!important;
  }
  body.customer-preorder:not(.preorder-menu-open):not(.checkout-active) .cinematic-preorder-hero{
    height:100%!important;
    min-height:0!important;
  }
  body.customer-preorder:not(.preorder-menu-open):not(.checkout-active)>.customer-footer{
    flex:1 0 37svh!important;
    min-height:37svh!important;
  }
}
body.customer-preorder>.customer-footer .brand-promise{
  color:#f4ebdb!important;
  -webkit-text-fill-color:#f4ebdb!important;
  opacity:1!important;
}
