body #cartModal.checkout-summary>.sheet{height:auto!important;max-height:90dvh!important;display:flex!important;flex-direction:column;overflow:hidden!important;padding:18px!important;gap:12px}
body #cartModal.checkout-summary>.sheet>.checkout-summary-header{position:static!important;top:auto!important;padding:0!important;flex-shrink:0}.checkout-summary-header h2{margin:0!important}
#checkoutSummaryMain{overflow:auto;min-height:0;flex:1;display:flex;flex-direction:column;gap:12px;padding-bottom:8px}.checkout-summary-card{display:block;width:100%;text-align:left;background:#fff;border:1px solid #d8e3dc;border-radius:14px;padding:14px;color:#163d2c;box-sizing:border-box}.checkout-summary-card>div:first-child{display:flex;justify-content:space-between;align-items:center;gap:10px}.checkout-summary-card .btn{font-size:13px;padding:8px 12px}.checkout-summary-button{display:flex;justify-content:space-between;align-items:center;gap:10px;cursor:pointer;font:inherit}.checkout-summary-button>span:first-child{min-width:0}.checkout-summary-button>span:last-child{white-space:nowrap;font-size:13px;font-weight:700}.checkout-summary-card small{display:block;margin-top:6px;font-size:14px;color:#50685b;overflow-wrap:anywhere}.checkout-mini-item{display:flex;gap:12px;justify-content:space-between;align-items:center;padding-top:12px}.checkout-mini-item>span{min-width:0;overflow-wrap:anywhere}.checkout-mini-item small{display:inline}.checkout-mini-item>b{white-space:nowrap}.checkout-summary-footer{flex-shrink:0;padding-top:10px;border-top:1px solid #dce5df}.checkout-summary-footer button{width:100%;font-size:18px}
.checkout-editor{position:fixed;inset:0;z-index:1100;display:flex;align-items:center;justify-content:center;padding:14px;background:#0008;box-sizing:border-box}.checkout-editor[hidden],.checkout-editor [hidden]{display:none!important}.checkout-editor-sheet{width:min(700px,100%);height:auto;max-height:88dvh;background:white;border-radius:18px;display:flex;flex-direction:column;padding:18px;gap:12px;box-sizing:border-box;box-shadow:0 15px 70px #0003;color:#173c2e}.checkout-editor-head{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0}.checkout-editor-head h2{font-size:22px;margin:0}.checkout-editor-head h2:focus{outline:none}#checkoutEditorSummary{background:#edf5ee;border-radius:9px;padding:10px 12px;font-weight:800;flex-shrink:0}#checkoutEditorBody{overflow:auto;min-height:0;flex:1;padding:0 2px 10px;overscroll-behavior:contain}.checkout-editor-panel{display:grid;gap:12px}.checkout-editor-panel>label{display:grid;gap:6px;font-weight:700}.checkout-editor-panel input:not([type=checkbox]),.checkout-editor-panel select,.checkout-editor-panel textarea{width:100%;min-width:0;box-sizing:border-box;padding:13px;border:1px solid #d0dbd4;border-radius:10px;font:inherit}.checkout-editor-footer{display:flex;gap:8px;border-top:1px solid #dde5df;padding-top:12px;flex-shrink:0}.checkout-editor-footer button{flex:1;font-size:18px;margin:0!important}.checkout-editor #reservationReceiveChoices,.checkout-editor .receive-step-badge{display:none!important}.checkout-editor .checkout-extra{padding:10px;border:1px solid #dce5df;border-radius:10px}.checkout-editor .checkout-extra summary{font-weight:700;cursor:pointer}.checkout-editor .checkout-date-help{font-size:13px}.checkout-editor .cartitem{border-bottom:1px solid #dce5df;padding:12px 0}.checkout-editor .checkout-extra>label{display:block;margin-top:10px}#checkoutReviewCustomer{font-size:14px;margin:0;color:#50685b;overflow-wrap:anywhere}
@media(max-width:600px){body #cartModal.checkout-summary>.sheet{height:auto!important;max-height:92dvh!important;padding:14px!important}.checkout-editor{padding:8px}.checkout-editor-sheet{height:auto;max-height:92dvh;padding:14px;gap:10px}.checkout-editor-head h2{font-size:20px}.checkout-summary-header>.btn{font-size:13px;padding:10px}.checkout-summary-card{padding:12px}.checkout-mini-item{font-size:15px}}

.checkout-item-kind{display:block;font-size:12px;color:#547464;font-weight:700;margin-bottom:3px}.checkout-mini-item small.checkout-item-option{display:block;font-size:12px;margin-top:4px}

.checkout-editor-footer>#checkoutEditorBack{flex:0 0 auto;font-size:16px;padding:13px 14px}

#cartModal .checkout-summary-footer .total{font-size:21px;padding:4px 0 10px!important;margin:0!important;row-gap:5px}#cartModal .checkout-summary-footer #cartTotalReceiveDate{font-size:16px;padding:7px 9px}

#checkoutPaymentTotal{flex-shrink:0;display:flex;justify-content:flex-end;font-size:19px;font-weight:800;color:#173e2d;border-top:1px solid #dde5df;padding-top:10px}.checkout-editor-footer #submitOrderBtn{font-size:16px}
/* Receipt editor: grid children must shrink to the sheet rather than date-row width. */
#checkoutEditorModal .checkout-editor-sheet,#checkoutEditorBody,#checkoutEditorModal .checkout-editor-panel{min-width:0;max-width:100%;box-sizing:border-box}
#checkoutEditorModal .checkout-editor-panel{grid-template-columns:minmax(0,1fr)}
#checkoutEditorModal .checkout-editor-panel>*{min-width:0;max-width:100%;box-sizing:border-box}
#checkoutEditorModal #checkoutEditorBody{overflow-x:hidden;overflow-y:auto}
#checkoutEditorModal .checkout-receive-first,#checkoutEditorModal .checkout-date-section,#checkoutEditorModal .checkout-date-panel{width:100%;min-width:0;max-width:100%;margin-left:0;margin-right:0;box-sizing:border-box}
#checkoutEditorModal #dates{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px;overflow:visible!important;white-space:normal;max-width:100%;padding:0}
#checkoutEditorModal #dates>*{min-width:0;width:100%;max-width:100%;margin:0;box-sizing:border-box;padding:10px 4px;white-space:normal;text-align:center;font-size:16px}
#checkoutEditorModal select,#checkoutEditorModal input{min-width:0;max-width:100%;box-sizing:border-box}
#checkoutEditorModal .checkout-date-help,#checkoutEditorModal .time-help{overflow-wrap:anywhere}
@media(max-width:600px){#checkoutEditorModal #dates{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px}#checkoutEditorModal .checkout-receive-first,#checkoutEditorModal .checkout-date-section{padding:12px!important}}

/* Payment follows receipt and customer fields within the same scrolling popup. */
#checkoutEditorBody>.checkout-editor-panel[data-panel="payment"]{border-top:1px solid #dce5df;margin-top:14px;padding-top:16px}
