/* Maharana V20 — dedicated checkout and sticky dish-cart flow. CSS-only presentation patch. */
:root { --mh-v20-purple:#56217e;--mh-v20-dark:#290e3b;--mh-v20-gold:#dda94d;}
html {scroll-padding-top:8px}
body.mh-menu-route .shopLayout {display:block!important;max-width:1240px}
body.mh-menu-route .shopLayout > section {width:100%;min-width:0}
body.mh-menu-route #cart {display:none!important}
body.mh-menu-route .mobileCart,body.mh-checkout-route .mobileCart {display:none!important}
.mh-cartdock {position:fixed;bottom:calc(12px + env(safe-area-inset-bottom,0px));left:max(12px,env(safe-area-inset-left,0px));right:max(12px,env(safe-area-inset-right,0px));z-index:105;min-height:62px;padding:10px 17px;display:flex;gap:12px;align-items:center;justify-content:space-between;border-radius:19px;border:1px solid #e6bb67;background:linear-gradient(180deg,#783caf,#481467);box-shadow:0 6px 0 #2b103e,0 14px 26px #200b3660;color:#fff!important;text-decoration:none;font-size:17px;font-weight:900;transition:transform .15s,box-shadow .15s}
.mh-cartdock strong {white-space:nowrap;font-size:18px;color:#ffe39c}
.mh-cartdock:active {transform:translateY(4px);box-shadow:0 2px 0 #2b103e,0 6px 18px #200b3660}
body.mh-menu-route {padding-bottom:calc(85px + env(safe-area-inset-bottom,0px))}
body.mh-checkout-route .mh-cartdock,body.mh-checkout-route .toolbar,body.mh-checkout-route .restaurantHero,body.mh-checkout-route #digitalOrder,body.mh-checkout-route .allergenIntro,body.mh-checkout-route .shopLayout>section,body.mh-checkout-route .section,body.mh-checkout-route #lastOrderFollow {display:none!important}
body.mh-checkout-route .top {position:relative!important}
body.mh-checkout-route .shopLayout {display:block!important;max-width:880px!important;margin:0 auto!important;padding:22px 12px 44px!important}
body.mh-checkout-route .cart {display:block!important;position:static!important;top:auto!important;width:100%!important;max-width:none!important;margin:0!important;border-radius:24px!important;box-shadow:0 10px 35px #28113b1c!important}
body.mh-checkout-route .cartHeader {padding:20px!important}
body.mh-checkout-route .cartBody {padding:14px 20px 22px!important}
.mh-checkout-hero {display:none;max-width:860px;margin:0 auto;padding:6px 0 18px}
.mh-checkout-hero h1 {font-size:clamp(25px,5vw,36px);margin:9px 0;color:#42185e}
.mh-checkout-hero p {color:#6b5680;margin:0}
body.mh-checkout-route .mh-checkout-hero {display:block}
.mh-back {color:#55267a;text-decoration:none;font-weight:800;display:inline-flex;align-items:center;gap:7px;padding:9px 0;min-height:44px}
.mh-checkout-choice {display:none;padding:13px 0 17px}
body.mh-checkout-route .mh-checkout-choice {display:block}
.mh-checkout-choice > strong {display:block;margin:0 0 10px;font-size:16px;color:#321343}
.mh-checkout-choice .orderMode {width:100%;min-width:0!important;gap:8px;display:flex!important;background:#f0e5f8!important;border:1px solid #dfc8ee;border-radius:17px;padding:7px}
.mh-checkout-choice .orderMode button {min-height:56px;font-size:17px;border-radius:13px;flex:1}
.mh-checkout-choice .orderMode button:disabled {opacity:.48;cursor:not-allowed}
.mh-checkout-choice .pickupHelp {font-size:13px;color:#695b72;padding:10px 4px 0}
body.mh-checkout-route .checkoutSteps{display:flex!important}
body.mh-checkout-route .field input,body.mh-checkout-route .field textarea,body.mh-checkout-route .field select {font-size:16px!important;max-width:100%!important;box-sizing:border-box}
body.mh-checkout-route #submitOrder {min-height:56px!important;margin:16px 0 6px!important}
body.mh-checkout-route .cartValidation:not(:empty) {margin:12px 0}
body.mh-checkout-route .cartline {padding:16px 0}
body.mh-checkout-route .footer {margin-top:8px}
/* Compact bottom-sheet item customization: all options scroll, the final action stays visible. */
#customModal {overscroll-behavior:contain!important}
#customModal.open {place-items:end center!important;align-items:end!important;padding:10px 12px calc(8px + env(safe-area-inset-bottom,0px))!important}
#customModal .modalCard {width:min(600px,100%)!important;max-height:min(90dvh,850px)!important;overflow-y:auto!important;overscroll-behavior:contain!important;border-radius:25px 25px 17px 17px!important;padding:18px!important;scrollbar-width:thin}
#customModal .modalCard h2 {font-size:clamp(21px,5vw,29px);line-height:1.25;max-width:calc(100% - 70px)}
#customModal .mh-item-actions {position:sticky;bottom:-18px;z-index:4;margin:18px -18px -18px;padding:12px 18px calc(15px + env(safe-area-inset-bottom,0px));background:linear-gradient(180deg,#ffffffed,#fff);border-top:1px solid #ebdcef;box-shadow:0 -8px 14px #2411390d;display:grid;gap:10px}
#customModal .mh-qty {display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px;font-weight:800;color:#42205e}
#customModal .mh-qty-controls{display:flex;align-items:center;gap:10px}
#customModal .mh-qty button {border:1px solid #d5b8e9;background:linear-gradient(180deg,#fff,#f1e6f8);border-radius:11px;min-width:43px;min-height:40px;font-size:22px;font-weight:800;color:#64298e}
#customModal .mh-qty output {min-width:24px;text-align:center;font-weight:900;font-size:19px}
#customModal .mh-item-actions > button {width:100%!important;margin:0!important;min-height:55px!important;border-radius:14px!important;background:linear-gradient(180deg,#8f4cb6,#542175)!important;color:#fff!important;box-shadow:0 4px 0 #35154c!important;font-size:16px!important}
#customModal .mh-item-actions > button:disabled {background:#e6e0e8!important;box-shadow:none!important;color:#857991!important}
@media(min-width:850px){body.mh-menu-route .mh-cartdock{max-width:440px;left:auto;right:24px}#customModal.open {place-items:center!important;align-items:center!important}}
@media(max-width:600px){body.mh-checkout-route .shopLayout{padding:8px 9px 28px!important}body.mh-checkout-route .cartBody{padding:8px 14px 18px!important}body.mh-checkout-route .cartHeader{padding:15px!important}body.mh-checkout-route .cart{border-radius:18px!important}body.mh-checkout-route .cart .paytiles{grid-template-columns:repeat(2,minmax(0,1fr))}body.mh-checkout-route .cart .paytile{min-width:0;overflow-wrap:anywhere}body.mh-checkout-route .top .topin{min-height:62px;height:auto!important}body.mh-checkout-route .top .brand{font-size:16px!important}}
@media(prefers-reduced-motion:reduce){.mh-cartdock{transition:none}}
