/* Update 112: concise live ordering copy, retaining the Update 111 header-safe order panel. */
.customer-preorder{--preorder-green:#0a2516;--preorder-cream:#f4ebdb;--preorder-red:#c7372a;--preorder-line:rgba(10,37,22,.68);--preorder-art:url('/assets/bartleinis-background.png');min-height:100%;background:var(--preorder-cream);color:var(--preorder-green);text-transform:uppercase}
.customer-preorder:before{position:fixed;z-index:0;background-color:var(--preorder-cream);background-image:linear-gradient(rgba(244,235,219,.58),rgba(244,235,219,.74)),var(--preorder-art);background-position:center,center;background-repeat:no-repeat;background-size:auto,cover;transform:translateZ(0);will-change:transform}
.customer-preorder>.customer-header,.customer-preorder>.customer-shell,.customer-preorder>.customer-footer{position:relative;z-index:1}

/* A solid navigation band sits above the transparent PNG on the shared warm-cream frost. */
.customer-preorder .customer-header{position:sticky;top:0;z-index:30;display:flex;flex-direction:column;min-height:0;max-width:none;margin:0;padding:0 0 18px;border:0;border-bottom:1px solid rgba(10,37,22,.22);background:linear-gradient(180deg,rgba(244,235,219,.3) 0%,rgba(244,235,219,.25) 55%,rgba(233,226,214,.24) 100%),linear-gradient(90deg,rgba(244,235,219,.17),rgba(244,235,219,.08) 50%,rgba(244,235,219,.15));color:var(--preorder-green);-webkit-backdrop-filter:blur(1.5px) saturate(.82);backdrop-filter:blur(1.5px) saturate(.82);align-items:center}
.customer-preorder .customer-logo{display:flex;width:min(calc(100% - 56px),520px);margin:18px auto 0;padding:0;background:transparent;box-shadow:none}
.customer-preorder .customer-header img.master-logo{display:block;width:100%;height:116px;margin:0;object-fit:contain}
.customer-preorder .customer-header nav{order:-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));width:100%;padding:0 max(28px,calc((100vw - 1220px)/2));border-bottom:1px solid rgba(244,235,219,.28);background:var(--preorder-green);color:var(--preorder-cream);font-size:10px;font-weight:600;letter-spacing:.14em;text-transform:uppercase;align-items:center}
.customer-preorder .customer-header nav a{width:100%;padding:13px 8px 11px;border:0;border-bottom:2px solid transparent;text-align:center}
.customer-preorder .customer-header nav a[aria-current=page]{border-color:var(--preorder-red)}

/* Rustic illustrated title area. */
.customer-preorder .customer-shell{width:min(calc(100% - 48px),1120px);max-width:none;padding:24px 0 64px}
.customer-preorder .customer-page-heading{display:block;max-width:920px;margin:0 auto 24px;text-align:center}
.customer-preorder .customer-page-heading>div{display:contents}
.customer-preorder .customer-page-heading h1{margin-bottom:8px;font-size:clamp(54px,6vw,80px);line-height:.92;text-transform:uppercase}
.customer-preorder .preorder-title-accent{display:block;width:68px;height:3px;margin:17px auto 18px;border-radius:99px;background:var(--preorder-red)}
.customer-preorder .customer-page-heading>div>p:not(.eyebrow):not(.helper){margin-bottom:5px;font-size:10px;font-weight:700;letter-spacing:.23em;line-height:1.7;text-transform:uppercase}

/* Next pop-up and live pre-order state are one compact, dynamic card. */
.customer-preorder .preorder-event-card{display:grid;grid-template-columns:minmax(210px,.8fr) 1px minmax(0,1.4fr);gap:28px;margin:0 0 24px;padding:22px 28px;border:1px solid var(--preorder-line);border-radius:8px;background:rgba(255,250,240,.9);align-items:center}
.customer-preorder .preorder-event-card .eyebrow{margin:0 0 7px;color:var(--preorder-red);font-size:9px;letter-spacing:.18em}
.customer-preorder .preorder-event-date strong{display:block;color:var(--preorder-green);font:32px/1 Bebas,Impact,sans-serif;text-transform:uppercase}
.customer-preorder .preorder-event-date #eventLocation{display:block;margin-top:8px;color:var(--preorder-green);font-size:10px;font-weight:700;letter-spacing:.18em;text-transform:uppercase}
.customer-preorder .preorder-event-divider{align-self:stretch;width:1px;min-height:68px;background:var(--preorder-red)}
.customer-preorder .preorder-event-status h2{margin:0 0 6px;font-size:36px;text-transform:uppercase}
.customer-preorder .preorder-event-status p:last-child{margin:0;color:#344438;font-size:12px;font-weight:600;letter-spacing:.06em;line-height:1.6;text-transform:uppercase}
.customer-preorder .preorder-event-card.ordering-open .preorder-event-status .eyebrow,.customer-preorder .preorder-event-card.ordering-open #closedNoticeText{display:none}
.customer-preorder .preorder-event-card.ordering-open .preorder-event-status h2{margin:0;font-size:40px;font-weight:700}
.customer-preorder .preorder-event-card.ordering-open{border:2px solid var(--preorder-green);box-shadow:none}
.customer-preorder .preorder-event-card.ordering-closed,.customer-preorder .preorder-event-card.sold-out-notice{border:2px solid var(--preorder-red);box-shadow:none}

/* Crafted menu cards and green order panel. */
.customer-preorder .customer-order-layout{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(280px,.72fr);gap:14px;align-items:start}
.customer-preorder .customer-order-main{min-width:0}
.customer-preorder .menu-panel{display:block;margin:0;padding:0}
.customer-preorder .menu-list{display:grid;align-content:start;gap:10px;counter-reset:preorder-item}
.customer-preorder .menu-item{counter-increment:preorder-item;position:relative;display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:12px;min-height:110px;padding:16px;border:1px solid var(--preorder-line);border-radius:8px;background:rgba(255,250,240,.72);box-shadow:none;align-items:center;transition:border-color .16s ease,background-color .16s ease}
.customer-preorder .menu-item:before{content:counter(preorder-item);display:grid;width:32px;height:32px;border-radius:50%;place-items:center;align-self:start;background:var(--preorder-red);color:var(--preorder-cream);font:22px/1 Bebas,Impact,sans-serif}
.customer-preorder .menu-item:hover{background:rgba(255,250,240,.9)}
.customer-preorder .menu-item.selected{border-color:var(--preorder-red);background:rgba(255,250,240,.94);box-shadow:inset 3px 0 0 var(--preorder-red)}
.customer-preorder .menu-item h3{margin:0 0 4px;font-size:29px;text-transform:uppercase}
.customer-preorder .menu-item p{max-width:490px;margin:0;color:#344438;font-size:10px;line-height:1.5}
.customer-preorder .menu-buy{display:flex;flex-direction:column;gap:10px;align-items:flex-end}
.customer-preorder .price{color:var(--preorder-green);font:26px/1 Bebas,Impact,sans-serif}
.customer-preorder .quantity{overflow:hidden;gap:0;border:1px solid rgba(10,37,22,.34);border-radius:7px;background:rgba(244,235,219,.76)}
.customer-preorder .quantity button{width:34px;min-width:34px;height:36px;border-radius:0;background:transparent;color:var(--preorder-green)}
.customer-preorder .quantity button:hover{background:rgba(10,37,22,.1)}
.customer-preorder .quantity output{display:grid;min-width:30px;min-height:36px;border-right:1px solid rgba(10,37,22,.18);border-left:1px solid rgba(10,37,22,.18);place-items:center;font-weight:700}
.customer-preorder .garlic-extras{grid-column:1/-1}
.customer-preorder .customer-allergen-note{margin:8px 4px 0}

/* Pencil-detail order panel. */
.customer-preorder .customer-basket{position:sticky;top:calc(var(--preorder-header-height,190px) + 14px);overflow:hidden;display:flex;flex-direction:column;min-height:540px;padding:22px 18px 18px;border:1px solid var(--preorder-cream);border-radius:8px;background:var(--preorder-green);box-shadow:0 8px 22px rgba(10,37,22,.13);color:var(--preorder-cream);align-self:start}
.customer-preorder .customer-basket .eyebrow{margin:0;color:var(--preorder-cream);font:38px/1 Bebas,Impact,sans-serif;letter-spacing:.02em}
.customer-preorder .customer-basket .eyebrow:after{content:"";display:block;width:100%;margin-top:10px;border-top:2px solid var(--preorder-red)}
.customer-preorder .customer-basket-sketch{display:block;width:130px;height:auto;margin:24px auto 6px;color:rgba(244,235,219,.68);stroke-width:1.6}
.customer-preorder .customer-basket h2{max-width:230px;margin:0 auto 20px;color:var(--preorder-cream);font:700 10px/1.8 Montserrat,Arial,sans-serif;letter-spacing:.24em;text-align:center;text-transform:uppercase}
.customer-preorder #basketItems{min-height:75px;text-align:center}
.customer-preorder .customer-basket .helper{color:rgba(244,235,219,.8)}
.customer-preorder .customer-basket-line{text-align:left}
.customer-preorder .customer-basket .order-total{margin-top:auto;border-color:rgba(244,235,219,.48);color:var(--preorder-cream)}
.customer-preorder .customer-basket .order-total strong{color:var(--preorder-cream);font:32px/1 Bebas,Impact,sans-serif}
.customer-preorder .customer-basket .primary-button{border-color:var(--preorder-cream);border-radius:7px;background:var(--preorder-cream);color:var(--preorder-green);text-transform:uppercase;letter-spacing:.06em}
.customer-preorder .customer-basket .primary-button:hover{background:#fffaf0}
.customer-preorder .customer-order-steps{border-color:rgba(244,235,219,.25)}
.customer-preorder .customer-checkout{margin-top:26px}
.customer-preorder .customer-checkout summary{text-transform:uppercase}
.customer-preorder .customer-checkout .paper-panel,.customer-preorder #reviewStage .paper-panel,.customer-preorder #confirmationStage .paper-panel,.customer-preorder .closed-notice{border:1px solid var(--preorder-line);border-radius:8px;background:rgba(255,250,240,.9)}
.customer-preorder #reviewButton{border-radius:7px;text-transform:uppercase;letter-spacing:.08em}
.customer-preorder.checkout-active .preorder-event-card,.customer-preorder.checkout-active .menu-panel{display:none}
.customer-preorder.checkout-active .customer-checkout{margin-top:0;border-top:0}
.customer-preorder.checkout-active .customer-basket{position:sticky;top:calc(var(--preorder-header-height,190px) + 14px);min-height:0}
/* Desktop uses one native sticky rail. It stays beneath the complete fixed header
   while the menu or checkout column scrolls, without a second scroll pane. */
@media(min-width:901px){
  .customer-preorder .customer-order-layout{align-items:start}
  .customer-preorder .customer-basket,.customer-preorder.checkout-active .customer-basket{position:sticky;top:calc(var(--preorder-header-height,190px) + 14px);left:auto;width:auto;height:max-content;align-self:start}
}
.customer-preorder .customer-footer{justify-content:center;text-align:center}
.customer-preorder .customer-footer>span{margin-left:auto}
.customer-preorder .customer-socials{display:flex;gap:9px;align-items:center}
.customer-preorder .customer-socials a{display:grid;width:36px;height:36px;border:1px solid rgba(10,37,22,.42);border-radius:50%;place-items:center;color:var(--preorder-green);transition:background-color .16s ease,color .16s ease}
.customer-preorder .customer-socials a:hover{background:var(--preorder-green);color:var(--preorder-cream)}
.customer-preorder .customer-socials svg{width:18px;height:18px;fill:currentColor}
.customer-preorder .customer-socials svg rect,.customer-preorder .customer-socials svg circle:not(.social-fill){fill:none;stroke:currentColor;stroke-width:1.8}
.customer-preorder .customer-socials .social-fill{fill:currentColor;stroke:none}

/* Tablet retains the reference's side-by-side composition. */
@media(max-width:900px){
  .customer-preorder .customer-header{padding:0 0 14px}
  .customer-preorder .customer-logo{width:calc(100% - 36px);max-width:none;margin-top:14px;padding:8px 20px;border-radius:10px}
  .customer-preorder .customer-header img.master-logo{width:100%;height:clamp(92px,17vw,128px)}
  .customer-preorder .customer-header nav{gap:0;padding:0 14px;font-size:9px;letter-spacing:.09em}
  .customer-preorder .customer-shell{width:min(calc(100% - 28px),760px);padding:20px 0 44px}
  .customer-preorder .customer-page-heading{margin-bottom:20px}
  .customer-preorder .customer-page-heading h1{font-size:clamp(50px,8vw,67px)}
  .customer-preorder .customer-order-layout{grid-template-columns:minmax(0,1fr) 245px;gap:11px}
  .customer-preorder .menu-item{grid-template-columns:36px minmax(0,1fr) auto;gap:9px;min-height:102px;padding:13px 11px}
  .customer-preorder .menu-item:before{width:29px;height:29px;font-size:20px}
  .customer-preorder .menu-item h3{font-size:25px}
  .customer-preorder .menu-item p{font-size:9px;line-height:1.45}
  .customer-preorder .price{font-size:23px}
  .customer-preorder .quantity button{width:30px;min-width:30px;height:34px}
  .customer-preorder .quantity output{min-width:27px;min-height:34px}
  .customer-preorder .customer-basket{padding:20px 14px 16px}
  .customer-preorder .customer-basket .eyebrow{font-size:34px}
  .customer-preorder .customer-basket-sketch{width:105px;margin-top:18px}
  .customer-preorder .customer-footer{width:calc(100% - 40px);flex-direction:column;justify-content:center;gap:10px;text-align:center}
  .customer-preorder .customer-footer>span{margin-left:0}
}

/* Use the extended portrait drawing so foliage rises naturally with no horizontal crop edge. */
@media(max-width:900px) and (orientation:portrait){
  .customer-preorder{--preorder-art:url('/assets/bartleinis-background-portrait.png')}
  .customer-preorder:before{position:fixed;inset:0;background-image:linear-gradient(rgba(244,235,219,.58),rgba(244,235,219,.74)),var(--preorder-art);background-position:center,right bottom;background-size:auto,100% auto;background-attachment:fixed}
}

/* Phone: full-width cards and a safe compact checkout bar. */
@media(max-width:700px){
  .customer-preorder{padding-bottom:calc(82px + env(safe-area-inset-bottom))}
  .customer-preorder .customer-header{display:flex;padding:0 0 10px}
  .customer-preorder .customer-logo{width:calc(100% - 22px);margin-top:10px;padding:6px 14px;border-radius:8px}
  .customer-preorder .customer-header img.master-logo{width:100%;height:clamp(88px,25vw,112px)}
  .customer-preorder .customer-header nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:0 5px;font-size:7px;line-height:1.2;letter-spacing:.05em}
  .customer-preorder .customer-header nav a{padding:10px 2px 8px;white-space:normal}
  .customer-preorder .customer-shell{width:calc(100% - 22px);padding:16px 0 34px}
  .customer-preorder .customer-page-heading{margin-bottom:17px}
  .customer-preorder .customer-page-heading h1{font-size:clamp(43px,13vw,58px)}
  .customer-preorder .preorder-title-accent{width:58px;margin:13px auto 14px}
  .customer-preorder .customer-page-heading>div>p:not(.eyebrow):not(.helper){max-width:340px;margin-right:auto;margin-left:auto;font-size:8px;letter-spacing:.17em}
  .customer-preorder .preorder-event-card{grid-template-columns:1fr;gap:13px;margin-bottom:17px;padding:17px 18px;text-align:center}
  .customer-preorder .preorder-event-divider{width:58px;min-height:0;height:2px;margin:auto}
  .customer-preorder .preorder-event-date strong{font-size:29px}
  .customer-preorder .preorder-event-status h2{font-size:31px}
  .customer-preorder .preorder-event-status p:last-child{font-size:10px}
  .customer-preorder .customer-order-layout{display:block}
  .customer-preorder .menu-list{gap:8px}
  .customer-preorder .menu-item{grid-template-columns:33px minmax(0,1fr) auto;gap:8px;min-height:94px;padding:12px 9px}
  .customer-preorder .menu-item:before{width:28px;height:28px;font-size:19px}
  .customer-preorder .menu-item h3{font-size:23px}
  .customer-preorder .menu-item p{font-size:8.5px;line-height:1.4}
  .customer-preorder .price{font-size:21px}
  .customer-preorder .menu-buy{gap:7px}
  .customer-preorder .quantity button{width:29px;min-width:29px;height:33px}
  .customer-preorder .quantity output{min-width:25px;min-height:33px}
  .customer-preorder .customer-basket{position:fixed;inset:auto 0 0;z-index:20;display:grid;grid-template-columns:auto auto minmax(160px,1fr);gap:9px;width:auto;height:auto;min-height:0;max-height:none;padding:8px 10px calc(8px + env(safe-area-inset-bottom));border:0;border-top:1px solid var(--preorder-cream);border-radius:0;align-items:center}
  .customer-preorder.checkout-active .customer-basket{position:fixed;top:auto}
  .customer-preorder .customer-basket>.eyebrow,.customer-preorder .customer-basket>.customer-basket-sketch,.customer-preorder .customer-basket>h2,.customer-preorder .customer-basket>#basketItems,.customer-preorder .customer-basket>.helper,.customer-preorder .customer-order-steps{display:none}
  .customer-preorder .customer-basket .order-total{display:contents;margin:0;padding:0;border:0}
  .customer-preorder .customer-basket .order-total span{font:20px/1 Bebas,Impact,sans-serif;text-transform:uppercase}
  .customer-preorder .customer-basket .order-total strong{font-size:25px}
  .customer-preorder .customer-basket .primary-button{min-height:48px;padding:9px 11px;font-size:9px;white-space:nowrap}
  .customer-preorder .customer-checkout{margin-top:20px}
  .customer-preorder .customer-checkout .paper-panel{scroll-margin-top:calc(var(--preorder-header-height,190px) + 14px)}
  .customer-preorder.checkout-active #reviewButton{display:none}
  .customer-preorder.customer-keyboard-open .customer-basket{display:none}
  .customer-preorder .customer-footer{width:calc(100% - 32px);padding-bottom:calc(104px + env(safe-area-inset-bottom))}
}
@media(max-width:390px){
  .customer-preorder .customer-header img.master-logo{width:100%;height:88px}
  .customer-preorder .menu-item{grid-template-columns:29px minmax(0,1fr) auto;gap:7px;padding:11px 8px}
  .customer-preorder .menu-item:before{width:26px;height:26px;font-size:18px}
  .customer-preorder .menu-item h3{font-size:21px}
  .customer-preorder .menu-item p{font-size:8px}
  .customer-preorder .quantity button{width:27px;min-width:27px}
  .customer-preorder .quantity output{min-width:23px}
  .customer-preorder .customer-basket{grid-template-columns:auto auto minmax(140px,1fr);gap:7px;padding-right:8px;padding-left:8px}
  .customer-preorder .customer-basket .primary-button{padding:8px;font-size:8px}
}
@media(max-width:340px){
  .customer-preorder .menu-item{grid-template-columns:28px minmax(0,1fr)}
  .customer-preorder .menu-buy{grid-column:2;flex-direction:row;align-items:center;justify-content:space-between}
  .customer-preorder .customer-basket{grid-template-columns:auto auto 1fr}
}

