/* Shared order-flow action bar: cart, address, payment and confirmation. */
.cart-page .cart-action-bar,.checkout-wizard-page .floating-submit{position:fixed;z-index:301;bottom:0;left:0;right:0;display:flex;align-items:stretch;justify-content:center;gap:10px;margin:0;padding:10px max(12px,calc((100% - 760px)/2)) calc(10px + env(safe-area-inset-bottom,0px));box-sizing:border-box;background:#fff;border-top:1px solid #e2e5ea;box-shadow:0 -4px 20px #14294610}
.cart-page .cart-action-back,.checkout-wizard-page .floating-submit .wizard-back{display:flex;align-items:center;justify-content:center;flex:0 0 auto;min-width:88px;min-height:54px;margin:0;padding:10px 12px;border:1px solid #dbe1e8;border-radius:13px;background:#fff;color:#59636f;font-family:inherit;font-size:16px;font-weight:600;line-height:1.4;white-space:nowrap;text-decoration:none;cursor:pointer}
.cart-page .cart-action-bar .cart-checkout,.checkout-wizard-page .floating-submit .submit-btn{display:flex;align-items:center;justify-content:center;flex:1;min-width:0;max-width:none;width:auto;min-height:54px;margin:0;gap:10px;padding:10px 12px;border:1px solid #ee5b24;border-radius:13px;background:linear-gradient(115deg,#ff611a,#ff8c13);color:#fff;font-family:inherit;font-size:clamp(14px,3.8vw,19px);font-weight:700;line-height:1.4;white-space:nowrap;text-decoration:none;box-shadow:none;transform:none;cursor:pointer}
.cart-page .cart-checkout-amount,.checkout-wizard-page .checkout-action-amount{flex-shrink:0;padding-left:10px;border-left:1px solid #ffffff70;font-size:inherit;white-space:nowrap}
.checkout-wizard-page .floating-submit .fs-total{display:none}
.checkout-wizard-page .floating-submit .wizard-back[hidden]{display:none}
.cart-page .cart-action-bar :is(a,button):focus-visible,.checkout-wizard-page .floating-submit :is(a,button):focus-visible{outline:3px solid #ffb35c;outline-offset:2px}
body.cart-page.cart-has-items,body.customer-ui.checkout-wizard-page{padding-bottom:calc(100px + env(safe-area-inset-bottom,0px))}
@media(max-width:360px){.cart-page .cart-action-bar,.checkout-wizard-page .floating-submit{gap:7px;padding-left:8px;padding-right:8px}.cart-page .cart-action-back,.checkout-wizard-page .floating-submit .wizard-back{min-width:72px;padding:8px;font-size:14px}.cart-page .cart-action-bar .cart-checkout,.checkout-wizard-page .floating-submit .submit-btn{gap:7px;padding:9px}.cart-page .cart-checkout-amount,.checkout-wizard-page .checkout-action-amount{padding-left:7px}}

.cart-page .cart-action-bar .cart-checkout>span:first-child,.checkout-wizard-page #checkoutActionLabel{min-width:0;white-space:normal}

/* Cart buttons match the compact 54px reference. */
.cart-page .cart-action-bar .cart-action-back{box-sizing:border-box;flex:0 0 88px;width:88px;min-width:88px;height:54px;min-height:54px;padding:8px 10px;font-size:16px}
.cart-page .cart-action-bar .cart-checkout{box-sizing:border-box;height:54px;min-height:54px;padding:8px 10px;font-size:16px;gap:10px}
.cart-page .cart-action-bar .cart-checkout-amount{padding-left:10px}
@media(max-width:360px){.cart-page .cart-action-bar .cart-action-back{flex-basis:78px;width:78px;min-width:78px;font-size:14px}.cart-page .cart-action-bar .cart-checkout{font-size:14px;gap:7px}.cart-page .cart-action-bar .cart-checkout-amount{padding-left:7px}}

/* Keep checkout action dimensions consistent with cart. */
.checkout-wizard-page .floating-submit .wizard-back{box-sizing:border-box;flex:0 0 88px;width:88px;min-width:88px;height:54px;min-height:54px;padding:8px 10px;font-size:16px}
.checkout-wizard-page .floating-submit .submit-btn{box-sizing:border-box;height:54px;min-height:54px;padding:8px 10px;font-size:16px;gap:10px}
.checkout-wizard-page .floating-submit .checkout-action-amount{padding-left:10px}
@media(max-width:360px){.checkout-wizard-page .floating-submit .wizard-back{flex-basis:78px;width:78px;min-width:78px;font-size:14px}.checkout-wizard-page .floating-submit .submit-btn{font-size:14px;gap:7px}.checkout-wizard-page .floating-submit .checkout-action-amount{padding-left:7px}}

.checkout-wizard-page .floating-submit #checkoutActionLabel{white-space:nowrap;font-size:inherit;line-height:1.4}
.checkout-wizard-page .floating-submit .submit-btn:disabled{border-color:#dbe1e8;background:#e9ecef;color:#969da6;cursor:not-allowed}

.checkout-wizard-page .floating-submit .submit-btn:disabled #checkoutActionLabel{font-size:13px;white-space:nowrap}
@media(max-width:360px){.checkout-wizard-page .floating-submit .submit-btn:disabled #checkoutActionLabel{font-size:12px}}

/* Override the global checkout action font so this bar matches cart. */
body.customer-ui.checkout-wizard-page .floating-submit .submit-btn{font-size:16px!important;min-height:54px;height:54px;line-height:1.4}
body.customer-ui.checkout-wizard-page .floating-submit .checkout-action-amount{font-size:16px!important;line-height:1.4}
@media(max-width:360px){body.customer-ui.checkout-wizard-page .floating-submit .submit-btn,body.customer-ui.checkout-wizard-page .floating-submit .checkout-action-amount{font-size:14px!important}}
