/* Preserve WooCommerce/NMI behavior; correct only layout and spacing. */
.melts-checkout-form .melts-checkout-review{padding:20px;min-width:0}
.melts-checkout-form #payment ul.payment_methods{padding:12px}
.melts-checkout-form #payment div.payment_box{padding:12px;background:#f6f8fb}
.melts-checkout-form #payment div.payment_box:before{border-bottom-color:#f6f8fb}
.melts-checkout-form #payment #wc-gaincommerce_nmi-payment-form{min-width:0;width:100%;box-sizing:border-box;border:0;padding:0;margin:12px 0 0}
.melts-checkout-form #payment .ap-nmi-collectjs-container{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px 12px;margin:0}
.melts-checkout-form #payment .ap-nmi-collectjs-container>.form-row{float:none;clear:none;width:100%!important;min-width:0;padding:0!important;margin:0!important;box-sizing:border-box}
.melts-checkout-form #payment .ap-nmi-collectjs-container>.form-row-wide{grid-column:1/-1}
.melts-checkout-form #payment .ap-nmi-collectjs-container label{display:block;margin:0 0 6px;line-height:1.4;font-size:14px;letter-spacing:normal}
.melts-checkout-form #payment .CollectJSInlineIframe{width:100%!important;max-width:100%;min-height:46px}
.melts-checkout-form #payment .form-row.place-order{padding:12px!important}
.melts-checkout-form .melts-checkout-totals-table .recurring-total th,.melts-checkout-form .melts-checkout-totals-table .recurring-total td{font-size:16px}
.melts-checkout-form .melts-checkout-totals-table .first-payment-date{font-size:12px;font-weight:400;line-height:1.5}
@media(max-width:900px){
 .melts-checkout-form .melts-checkout-review{order:0;position:static}
 .melts-checkout-form .melts-checkout-grid{gap:28px}
}
@media(max-width:560px){
 .woocommerce form.melts-checkout-form{padding:24px 0 40px}
 .melts-checkout-form .melts-checkout-review{padding:14px}
 .melts-checkout-form .checkout-lede{margin:14px 0 24px;font-size:16px}
 .melts-checkout-form .melts-checkout-fields h1{font-size:42px}
 .melts-checkout-form .melts-checkout-fields input.input-text,.melts-checkout-form .melts-checkout-fields textarea,.melts-checkout-form .melts-checkout-fields select{font-size:16px}
 .melts-checkout-form #payment ul.payment_methods{padding:8px}
 .melts-checkout-form #payment div.payment_box{padding:8px}
 .melts-checkout-form .woocommerce-privacy-policy-text{font-size:12px;line-height:1.5}
}
