.checkout-dialog{padding:14px;background:rgba(10,29,40,.66);backdrop-filter:blur(4px)}
.checkout-dialog .checkout-panel{width:min(700px,100%);max-height:min(92vh,900px);padding:28px 32px 24px;border-radius:24px;color:#142b36;box-shadow:0 28px 90px rgba(5,29,38,.32)}
.checkout-dialog .dialog-close{top:19px;right:20px;background:#f0f5f7;border-radius:50%;width:38px;height:38px;display:grid;place-items:center}
.checkout-eyebrow{color:#11775c;font-size:11px;font-weight:850;letter-spacing:.11em;margin-bottom:5px}
.checkout-panel h2{font-size:26px;line-height:1.2;margin:0 42px 6px 0;color:#17313a}
.checkout-subtitle{color:#617680;margin:0 0 20px;font-size:14px}
.checkout-section{border:1px solid #e2ebed;border-radius:17px;padding:17px 18px;margin-bottom:13px;background:#fff}
.checkout-section-title{display:flex;align-items:flex-start;gap:11px;margin-bottom:13px}
.checkout-step{background:#e8f6f0;color:#087255;border-radius:10px;flex:none;width:30px;height:30px;display:grid;place-items:center;font-size:14px;font-weight:850}
.checkout-section h3{font-size:16px;margin:0;color:#1a333b}.checkout-section-title p{font-size:12px;color:#687f89;margin:3px 0 0}
.checkout-address-choices{display:grid;grid-template-columns:1fr 1fr;gap:10px}.checkout-choice{display:flex;gap:9px;align-items:flex-start;padding:12px;border:1.5px solid #dbe6e9;border-radius:12px;cursor:pointer;transition:border .15s,background .15s;background:#fff}.checkout-choice.is-selected{border-color:#148366;background:#f0faf6}.checkout-choice input{margin-top:3px;accent-color:#08795b}.checkout-choice span{min-width:0}.checkout-choice b,.checkout-choice strong,.checkout-choice small{display:block}.checkout-choice b{font-size:13px}.checkout-choice strong{font-size:13px;margin-top:7px}.checkout-choice small{color:#607680;font-size:12px;line-height:1.5;margin-top:3px;overflow-wrap:anywhere}
.checkout-address-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:13px;padding-top:13px;border-top:1px solid #e7eff0}.checkout-address-fields label{font-size:12px;font-weight:750;color:#344e59}.checkout-address-fields .checkout-full{grid-column:1/-1}.checkout-address-fields input,.checkout-address-fields textarea{box-sizing:border-box;display:block;width:100%;margin-top:6px;padding:10px 11px;border:1px solid #cedfe3;border-radius:10px;background:#fff;color:#17333c;font:inherit;font-size:14px;resize:vertical}.checkout-address-fields input:focus,.checkout-address-fields textarea:focus{outline:2px solid #a5e1cb;border-color:#148366}
.checkout-credits{display:grid;gap:8px}.checkout-credits label{display:flex;align-items:center;gap:10px;background:#f6fafb;padding:10px 12px;border-radius:10px;font-size:13px;cursor:pointer}.checkout-credits input{accent-color:#08795b}.checkout-credits strong{margin-left:auto;color:#0a7457;white-space:nowrap}.checkout-credits label:has(input:disabled){opacity:.55;cursor:not-allowed}
.checkout-totals{background:#f6faf8}.checkout-total-line{display:flex;justify-content:space-between;gap:16px;font-size:13px;margin-top:8px}.checkout-total-line.is-final{border-top:1px solid #dce9e3;padding-top:11px;margin-top:11px;font-size:15px}.checkout-total-line.is-final strong{color:#0a7857;text-align:right}
.checkout-main-action{width:100%;padding:13px 18px;border-radius:12px;font-size:14px;font-weight:800}.checkout-message{font-size:12px;color:#506977;line-height:1.5;margin:13px 0 0}.checkout-payment-amount{background:#eaf7f1;border:1px solid #bce5d0;border-radius:14px;padding:18px;margin:18px 0}.checkout-payment-amount span,.checkout-payment-amount small,.checkout-payment-amount strong{display:block}.checkout-payment-amount small{margin-top:12px;color:#536e65}.checkout-payment-amount strong{font-size:28px;color:#087557}.checkout-bank-card{border:1px solid #d9e6ea;border-radius:13px;padding:15px;margin-bottom:18px}.checkout-bank-card span,.checkout-bank-card strong,.checkout-bank-card small{display:block}.checkout-bank-card span{font-size:12px;color:#607781}.checkout-bank-card strong{margin:5px 0}.checkout-bank-card small{line-height:1.5}.checkout-proof-label{display:block;font-weight:700;font-size:13px;margin-bottom:15px}.checkout-proof-label input{margin-top:8px;width:100%}.checkout-cancel{margin-top:10px;width:100%}
@media(max-width:560px){.checkout-dialog .checkout-panel{padding:23px 17px 17px;border-radius:18px}.checkout-panel h2{font-size:22px}.checkout-address-choices,.checkout-address-fields{grid-template-columns:1fr}.checkout-address-fields .checkout-full{grid-column:auto}.checkout-section{padding:14px 12px}.checkout-choice{padding:10px}}
/* Checkout completion and cart controls */
.cart-action-footer{display:flex;justify-content:flex-end;margin-top:14px;padding-top:15px;border-top:1px solid #e1eaeb}.cart-action-footer .submit-btn{width:auto;min-width:210px;padding:12px 22px;border-radius:11px;font-weight:800}.checkout-bank-preview{margin-top:14px;padding:12px 14px;background:#fff;border:1px solid #d7e9e1;border-radius:10px}.checkout-bank-preview span,.checkout-bank-preview strong{display:block}.checkout-bank-preview span{font-size:11px;color:#5e7680}.checkout-bank-preview strong{margin-top:5px;font-size:13px;color:#173841;overflow-wrap:anywhere}.checkout-actions{display:flex;gap:10px;margin-top:13px}.checkout-actions #checkoutBack{flex:0 0 auto;border-radius:11px}.checkout-actions .checkout-main-action{flex:1}.checkout-main-action:disabled{opacity:.53;cursor:not-allowed}.checkout-payment-step .checkout-proof-label input{padding:11px;border:1px dashed #94baa9;border-radius:10px;background:#f6fbf8}.checkout-payment-step .checkout-cancel{color:#a03030;border-color:#f0caca;background:#fff}
@media(max-width:560px){.cart-action-footer .submit-btn{width:100%}.checkout-actions{flex-direction:column-reverse}.checkout-actions #checkoutBack{width:100%}}
.merchant-shipping-form{display:grid;grid-template-columns:minmax(110px,1fr) minmax(130px,1fr) auto;gap:7px;align-items:center;min-width:330px}.merchant-shipping-form input{box-sizing:border-box;width:100%;min-width:0;border:1px solid #c8d9de;border-radius:8px;padding:8px;font:inherit;font-size:12px}.merchant-shipping-form button{white-space:nowrap;font-size:12px}.merchant-order-actions{font-size:12px;color:#526870;min-width:140px}@media(max-width:600px){.merchant-shipping-form{min-width:200px;grid-template-columns:1fr}.merchant-shipping-form button{width:100%}}
.checkout-success-step{text-align:center;padding:20px 8px 8px}.checkout-success-icon{display:grid;place-items:center;margin:0 auto 15px;background:#e1f7ea;color:#087d54;border-radius:50%;width:60px;height:60px;font-size:29px;font-weight:800}.checkout-success-step h3{font-size:21px;color:#163c32;margin:0 0 9px}.checkout-success-step p{line-height:1.65;color:#526b71;margin:0 auto 21px;max-width:500px}.checkout-success-step .checkout-cancel{margin-top:10px;width:100%}

/* Ongkir hanya informasi; ringkasan pembayaran tidak berubah. */
.checkout-shipping{display:grid;gap:12px}
.checkout-shipping label{display:grid;gap:6px;font-weight:600}
.checkout-shipping .form-control{width:100%;box-sizing:border-box;min-height:43px}
.checkout-shipping #shippingResults{padding:13px 15px;border-radius:12px;background:#eff7f4;color:#193c34;line-height:1.55}
.checkout-shipping #shippingResults strong{display:block;margin-top:8px}
.checkout-shipping #shippingResults p{margin:5px 0;border-bottom:1px solid #d6e9e1;padding-bottom:5px}

.merchant-origin-card{margin:20px 0;padding:18px;border:1px solid #cfe2d9;border-radius:14px;background:#f4faf7;display:grid;gap:10px}
.merchant-origin-card h3,.merchant-origin-card p{margin:0}
.merchant-origin-card .form-control{width:100%;box-sizing:border-box;min-height:42px}
.merchant-origin-controls{display:flex;gap:10px;flex-wrap:wrap}
.merchant-origin-controls input{flex:1 1 200px}
.merchant-origin-card button{justify-self:start}
#merchantOriginCurrent{font-weight:700;color:#12513f}
#merchantOriginMessage{font-size:.93rem}
