/* One checkout surface for PHOTO, studio, certificates and service orders. */
.ng-checkout{--checkout-blue:#163a5f;--checkout-green:#2f7d5a;background:#fff;border:1px solid #cbdce3;border-radius:20px;padding:28px;color:#202a33;box-shadow:0 8px 28px #163a5f08;min-width:0}
.ng-checkout h1,.ng-checkout h2,.ng-checkout h3{color:#163a5f;line-height:1.25}
.ng-checkout h1,.ng-checkout h2{font-size:clamp(1.6rem,3vw,2rem);margin:0 0 16px}
.ng-checkout p{line-height:1.6}
.ng-checkout [data-checkout-caption]{font-size:14px;letter-spacing:.06em;color:#526570;margin:0 0 10px;font-weight:600}
.ng-checkout-summary{border:1px solid #d6e2e8;border-radius:14px;padding:20px;background:#f4f7f8;color:#202a33}
.ng-checkout-summary dl{margin:0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px}
.ng-checkout-summary dt,.ng-checkout-summary dd{margin:0;overflow-wrap:anywhere}
.ng-checkout-summary dd{font-weight:600;color:#163a5f;text-align:right}
.ng-checkout-total{display:flex;justify-content:space-between;align-items:baseline;gap:16px;margin-top:20px;padding-top:18px;border-top:1px solid #cbdce3}
.ng-checkout-total strong,#summary-price,#gift-purchase-summary{font-size:clamp(1.5rem,4vw,2rem);font-weight:700;color:#163a5f}
.ng-checkout-note{font-size:14px;color:#526570}
.ng-checkout-status{padding:14px 16px;border:1px solid #bfd3df;border-radius:12px;background:#eaf2f7;color:#163a5f;overflow-wrap:anywhere}
.ng-checkout-status[data-state=confirmed],.ng-checkout-status[data-state=paid]{background:#e9f4ed;border-color:#9fc7ad;color:#205c40}
.ng-checkout-status[data-state=reconciliation],.ng-checkout-status[data-state=declined]{background:#fff2e7;border-color:#ddbd98;color:#754517}
.ng-checkout-actions{display:grid;gap:12px;margin-top:22px}
.ng-checkout-actions a,.ng-checkout-actions button,.ng-checkout .checkout-primary{display:flex;align-items:center;justify-content:center;min-height:48px;padding:12px 20px;border:1px solid #2f7d5a;border-radius:12px;background:#2f7d5a;color:#fff;font:600 16px/1.4 Inter,Arial,sans-serif;text-decoration:none;text-align:center;cursor:pointer}
.ng-checkout-actions .secondary{background:#fff;color:#163a5f;border-color:#a8bcc7}
.ng-checkout-actions :disabled{background:#e4e9ed;color:#526570;border-color:#cbd6dd;cursor:not-allowed;opacity:1}
.ng-checkout :is(a,button,input):focus-visible{outline:3px solid #163a5f;outline-offset:3px;box-shadow:0 0 0 2px #fff}
.ng-checkout [hidden]{display:none!important}
.checkout-page{max-width:760px;margin:44px auto;padding:0 24px}
.checkout-back{display:inline-block;margin-bottom:20px;color:#163a5f;font-weight:600}
.checkout-page>p{font-size:14px;color:#526570}
.ng-checkout .order-summary{background:#f4f7f8}
.ng-checkout .studio-summary-box{background:#f4f7f8;border-color:#cbdce3;color:#202a33}
.ng-checkout .studio-summary-box h3,.ng-checkout .studio-summary-box legend{color:#163a5f}
.ng-checkout .studio-footer{flex-wrap:wrap;gap:12px}
.ng-checkout .studio-footer>button{min-height:48px}
.ng-checkout .studio-hint{color:#526570}
dialog.ng-checkout{width:min(560px,calc(100% - 32px));max-height:90vh;overflow:auto}
@media(max-width:600px){.ng-checkout{padding:20px 16px;border-radius:16px}.checkout-page{padding:0 16px;margin:26px auto}.ng-checkout-summary{padding:16px}.ng-checkout-summary dl{grid-template-columns:minmax(0,1fr)}.ng-checkout-summary dd{text-align:left}.ng-checkout-total{gap:12px}}
.ng-unified .ng-checkout-actions a,.ng-unified .ng-checkout-actions button{color:#fff}
.ng-unified .ng-checkout-actions .secondary{color:#163a5f}
.ng-unified .ng-checkout h1,.ng-unified .ng-checkout h2{font-size:clamp(1.6rem,3vw,2rem)}
