
.kh-inline-checkout{padding:20px 24px}.kh-inline-checkout form{margin:0}.kh-inline-checkout #customer_details,.kh-inline-checkout .col-1,.kh-inline-checkout .col-2,.kh-inline-checkout #order_review{width:100%;float:none}.kh-inline-checkout .form-row{width:100%;float:none;margin:0 0 14px}.kh-inline-checkout label{display:block;margin-bottom:6px}.kh-inline-checkout input:not([type=hidden]),.kh-inline-checkout select,.kh-inline-checkout textarea{box-sizing:border-box;width:100%;min-height:46px;padding:10px;border:1px solid #d8ccc4;border-radius:9px;font:inherit;background:#fff}.kh-inline-checkout h3{font-size:18px;margin:20px 0 14px}.kh-inline-checkout table{width:100%;font-size:14px}.kh-inline-checkout #place_order{width:100%;background:#713d4a;color:white;border:0;border-radius:10px;padding:14px;font:inherit}.kh-inline-checkout .kh-inline-errors{color:#922d32}.kh-inline-checkout .kh-inline-errors:not(:empty){padding:14px;background:#fff4f4;margin-bottom:16px}.kh-inline-checkout #payment{background:transparent}.kh-inline-checkout .payment_methods{padding:0;list-style:none}.kh-inline-checkout .woocommerce-privacy-policy-text{font-size:12px}.kh-inline-checkout .woocommerce-billing-fields>h3{margin-top:0}@media(max-width:600px){.kh-inline-checkout{padding:16px}.kh-quick-dialog{width:calc(100vw - 20px);max-height:92dvh}.kh-inline-checkout input,.kh-inline-checkout select,.kh-inline-checkout textarea{font-size:16px!important}}

/* One scroll surface, fixed header and real form submit control outside it. */
#kh-quick-buy.kh-checkout-sheet{position:fixed;inset:var(--kh-checkout-top,0px) 0 auto;margin:12px auto;width:min(520px,calc(100vw - 24px));height:min(780px,calc(var(--kh-checkout-height,100dvh) - 24px));max-height:calc(var(--kh-checkout-height,100dvh) - 24px);padding:0;overflow:hidden;box-sizing:border-box;border-radius:18px;background:#fff}
#kh-quick-buy.kh-checkout-sheet[open]{display:flex;flex-direction:column}
.kh-checkout-sheet>.kh-quick-head{flex:0 0 auto;align-items:center;padding:14px 18px;border-bottom:1px solid #eee6e2;background:#fff}
.kh-checkout-sheet .kh-quick-head h2{font-size:20px;line-height:1.4;margin:0}
.kh-checkout-sheet .kh-quick-head button{width:40px;height:40px;flex:0 0 auto}
.kh-checkout-sheet>.kh-inline-checkout{flex:1 1 0;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;touch-action:pan-y;padding:18px;scroll-padding:14px}
.kh-checkout-sheet>.kh-checkout-actions{flex:0 0 auto;padding:12px 18px max(12px,env(safe-area-inset-bottom));border-top:1px solid #e8ded6;background:white;box-shadow:0 -5px 18px #35202008}
.kh-checkout-sheet .kh-checkout-actions[hidden]{display:none}
.kh-checkout-total{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:9px;font-size:13px}
.kh-checkout-total strong{font-size:20px;color:#713d4a}
.kh-checkout-actions #place_order{display:block;width:100%;min-height:48px;padding:12px;border:0;border-radius:10px;background:#713d4a;color:#fff;font:inherit;font-weight:700;font-size:16px;cursor:pointer}
.kh-checkout-actions #place_order:disabled{opacity:.6;cursor:wait}
.kh-order-preview{display:flex;flex-direction:column;gap:5px;padding:12px 14px;background:#f8f3f0;border-radius:10px;margin-bottom:16px;font-size:14px;line-height:1.6}
.kh-order-preview span{color:#71635d;font-size:12px}
.kh-checkout-sheet .woocommerce-billing-fields__field-wrapper{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}
.kh-checkout-sheet .woocommerce-billing-fields__field-wrapper>.form-row{grid-column:1/-1;padding:0;margin-bottom:12px}
.kh-checkout-sheet #billing_state_field,.kh-checkout-sheet #billing_city_field{grid-column:auto;min-width:0}
.kh-checkout-sheet .form-row label{font-size:13px;line-height:1.6}
.kh-checkout-sheet .kh-inline-checkout h3{font-size:16px}
.kh-checkout-sheet .kh-inline-checkout input,.kh-checkout-sheet .kh-inline-checkout select{height:46px;min-width:0}
.kh-checkout-notes,.kh-checkout-breakdown{margin:8px 0 14px;font-size:13px;border-top:1px solid #eee6e2;padding-top:12px}
.kh-checkout-notes summary,.kh-checkout-breakdown summary{cursor:pointer;padding:4px 0;color:#713d4a;list-style:revert}
.kh-checkout-notes .woocommerce-additional-fields{padding-top:12px}.kh-checkout-sheet .kh-inline-checkout #payment{padding:0;margin-top:12px}.kh-checkout-sheet .kh-inline-checkout .payment_methods{border:0;margin-bottom:8px}.kh-checkout-sheet .kh-inline-checkout .payment_box{font-size:12px}.kh-checkout-sheet .kh-inline-checkout .form-row.place-order{margin:0;padding:0}.kh-checkout-sheet .kh-inline-checkout .woocommerce-privacy-policy-text{font-size:11px;line-height:1.7}.kh-checkout-sheet .kh-inline-errors:empty{display:none}
@media(max-width:600px){#kh-quick-buy.kh-checkout-sheet{width:calc(100vw - 16px);margin:8px auto;height:calc(var(--kh-checkout-height,100dvh) - 16px);max-height:calc(var(--kh-checkout-height,100dvh) - 16px);border-radius:14px}.kh-checkout-sheet>.kh-inline-checkout{padding:16px}.kh-checkout-sheet>.kh-quick-head{padding:10px 16px}.kh-checkout-sheet .kh-quick-head h2{font-size:18px}.kh-checkout-sheet>.kh-checkout-actions{padding-inline:16px}}
