/* Last in the cascade: one scrolling body and a non-shrinking action footer. */
body:not(.staff-mode) #product-dialog.customer-choice-steps.choice-banner-design{
 position:fixed!important;top:calc(var(--order-visible-top,0px) + 8px)!important;bottom:auto!important;left:0!important;right:0!important;
 margin:0 auto!important;box-sizing:border-box!important;
 height:calc(var(--order-visible-height,100dvh) - 16px)!important;max-height:calc(var(--order-visible-height,100dvh) - 16px)!important;
 overflow:hidden!important;
}
body:not(.staff-mode) #product-dialog.customer-choice-steps.choice-banner-design #product-form{display:flex!important;flex-direction:column!important;height:100%!important;max-height:100%!important;min-height:0!important;overflow:hidden!important}
body:not(.staff-mode) #product-dialog.choice-banner-design .choice-heading,
body:not(.staff-mode) #product-dialog.choice-banner-design .choice-progress{flex:0 0 auto}
body:not(.staff-mode) #product-dialog.choice-banner-design .choice-body{flex:1 1 0;min-height:0!important;overflow:auto!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scroll-padding-bottom:16px}
body:not(.staff-mode) #product-dialog.choice-banner-design .choice-footer{position:relative;flex:0 0 auto!important;flex-shrink:0!important;box-sizing:border-box;padding-bottom:max(10px,env(safe-area-inset-bottom));background:#fff;z-index:3}
body:not(.staff-mode) #product-dialog.choice-banner-design .choice-footer button{min-height:44px;touch-action:manipulation;font-size:16px}
body:not(.staff-mode) #product-dialog.choice-banner-design .choice-footer .primary{min-height:50px}
body:not(.staff-mode) #product-dialog.choice-banner-design .choice-footer .choice-cart{grid-column:1/-1;width:100%;background:#fff;color:#6f211e;border:1px solid #a98885;border-radius:10px;margin:0;padding:10px;min-height:44px;font-size:14px}
.customer-cart-access.customer-modal-open>#mobile-basket{visibility:hidden;pointer-events:none}
.customer-cart-access #customer-cart-dialog{box-sizing:border-box;max-height:calc(var(--order-visible-height,100dvh) - 16px);overflow:auto;overscroll-behavior:contain}
.customer-cart-access #customer-cart-dialog .basket #review{position:sticky;bottom:0;background:#922722;color:white;z-index:2;min-height:50px;width:100%}
.customer-cart-access #customer-cart-dialog .cart-draft-warning{font-size:15px;background:#fff0d7;color:#663c06;padding:12px;border-radius:10px}
@media(max-width:600px){body:not(.staff-mode) #product-dialog.choice-banner-design{width:calc(100vw - 12px)!important;border-radius:18px!important}body:not(.staff-mode) #product-dialog.choice-banner-design .choice-footer{gap:6px;padding:8px 12px max(8px,env(safe-area-inset-bottom))}body:not(.staff-mode) #product-dialog.choice-banner-design .choice-footer .quantity{flex-basis:auto}}
body.customer-keyboard-open:not(.staff-mode) #product-dialog.choice-banner-design .choice-heading{padding:10px 60px 10px 14px}
body.customer-keyboard-open:not(.staff-mode) #product-dialog.choice-banner-design .choice-heading p{display:none}
body.customer-keyboard-open:not(.staff-mode) #product-dialog.choice-banner-design .choice-heading #dialog-title{font-size:21px;margin:0}
body.customer-keyboard-open:not(.staff-mode) #product-dialog.choice-banner-design .choice-progress{padding:5px 12px;max-height:42px;overflow:auto}
@media(max-height:500px){body:not(.staff-mode) #product-dialog.choice-banner-design .choice-heading{padding:8px 60px 8px 14px}body:not(.staff-mode) #product-dialog.choice-banner-design .choice-heading p{display:none}body:not(.staff-mode) #product-dialog.choice-banner-design #dialog-title{font-size:21px!important;margin:0}body:not(.staff-mode) #product-dialog.choice-banner-design .choice-progress{padding:4px 10px;max-height:40px;overflow:auto}body:not(.staff-mode) #product-dialog.choice-banner-design .choice-footer{padding-top:6px;gap:5px}}

.customer-cart-access #review-dialog{position:fixed!important;top:calc(var(--order-visible-top,0px) + 8px)!important;bottom:auto!important;left:0!important;right:0!important;margin:0 auto!important;max-height:calc(var(--order-visible-height,100dvh) - 16px)!important;overflow:auto!important;overscroll-behavior:contain}

.customer-cart-access>#mobile-basket{bottom:max(12px,env(safe-area-inset-bottom),calc(var(--order-keyboard-inset,0px) + 12px))}
.customer-cart-access #customer-cart-dialog{position:fixed;top:calc(var(--order-visible-top,0px) + 8px);bottom:auto;left:0;right:0;margin:0 auto!important}
