.checkout-heading { padding: 30px 0 25px; }
.checkout-heading h1 { margin: 15px 0 10px; font-size: clamp(27px, 3vw, 38px); font-weight: 600; line-height: 1.2; letter-spacing: -.8px; }
.checkout-heading > p { margin: 0; color: #607381; font-size: 15px; line-height: 1.6; }
.checkout-back { display: inline-flex; align-items: center; min-height: 28px; color: #496575; font-size: 13px; text-decoration: none; }
.checkout-back:hover { color: #007daf; }
.checkout-page { --checkout-ink: #193b4e; --checkout-muted: #607381; --checkout-line: #e1eaf0; color: var(--checkout-ink); margin-top: 0; margin-bottom: 0; padding-bottom: 58px; }
.checkout-page [hidden] { display: none !important; }
.checkout-page *, .checkout-page *::before, .checkout-page *::after { box-sizing: border-box; }
.checkout-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.checkout-card { padding: 28px; border: 1px solid var(--checkout-line); background: #fff; border-radius: 20px; box-shadow: 0 8px 32px rgb(27 62 82 / 4%); }
.checkout-card h2 { margin: 0; font-size: 21px; font-weight: 600; line-height: 1.3; letter-spacing: -.3px; }
.checkout-card-heading { display: flex; align-items: flex-start; gap: 13px; margin-bottom: 26px; }
.checkout-card-heading p { margin: 7px 0 0; font-size: 13px; line-height: 1.6; color: var(--checkout-muted); }
.checkout-step { flex: 0 0 34px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #eaf7fc; color: #007eab; font-size: 12px; font-weight: 600; }
.checkout-fields { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 21px 16px; }
.checkout-field { min-width: 0; }
.checkout-field-wide { grid-column: 1 / -1; }
.checkout-field label, .checkout-label { display: block; margin: 0 0 8px; color: var(--checkout-ink); font-size: 14px; font-weight: 500; }
.checkout-field input, .checkout-field textarea { display: block; width: 100%; min-width: 0; padding: 13px 14px; border: 1px solid #cbd9e2; border-radius: 10px; background: #fff; color: #193b4e; font-family: inherit; font-size: 16px; line-height: 1.5; transition: border-color .15s, box-shadow .15s; }
.checkout-field textarea { min-height: 94px; resize: vertical; }
.checkout-field input::placeholder, .checkout-field textarea::placeholder { color: #83939e; opacity: 1; }
.checkout-field input:focus, .checkout-field textarea:focus { outline: none; border-color: #00a9e7; box-shadow: 0 0 0 3px rgb(0 169 231 / 12%); }
.checkout-field [aria-invalid="true"] { border-color: #bd3945; background: #fffafb; }
.checkout-field-error { display: block; margin-top: 6px; font-size: 12px; color: #a52632; }
.checkout-field-hint { display: block; margin: 7px 0 0; font-size: 12px; line-height: 1.5; color: var(--checkout-muted); }
.checkout-verification { margin-top: 25px; }
.checkout-captcha { width: 100%; min-width: 0 !important; height: 100px; min-height: 100px; padding: 0; border-radius: 10px; background: #f5f8fa; overflow: visible; }
.checkout-captcha iframe { max-width: 100%; min-width: 0 !important; }
.checkout-text-button { padding: 8px 0; border: 0; background: none; color: #007ca9; font: inherit; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.checkout-submit-area { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--checkout-line); }
.checkout-primary { display: flex; align-items: center; justify-content: center; gap: 14px; width: 100%; min-height: 52px; padding: 14px 20px; border: 0; border-radius: 12px; background: #00a8e5; box-shadow: 0 5px 15px rgb(0 148 206 / 13%); color: #fff; text-decoration: none; font-family: inherit; font-size: 16px; font-weight: 600; line-height: 1.4; cursor: pointer; transition: background .15s; }
.checkout-primary:hover { background: #008ec5; color: #fff; }
.checkout-primary:disabled { background: #dcecf3; color: #446675; box-shadow: none; cursor: not-allowed; }
.checkout-primary:focus-visible, .checkout-page a:focus-visible, .checkout-text-button:focus-visible { outline: 3px solid #007fab; outline-offset: 4px; }
.checkout-submit-hint { margin: 10px 0 0; font-size: 12px; line-height: 1.6; color: var(--checkout-muted); text-align: center; }
.checkout-privacy { margin: 17px 0 0; color: #667c89; text-align: center; font-size: 11px; line-height: 1.7; }
.checkout-privacy a { color: #496878; text-underline-offset: 2px; }
.checkout-summary { position: sticky; top: 20px; min-width: 0; }
.checkout-summary-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 19px; border-bottom: 1px solid var(--checkout-line); }
.checkout-summary-heading h2 { display: flex; align-items: center; gap: 9px; }
.checkout-count { display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 8px; background: #edf4f7; color: #587383; font-size: 12px; }
.checkout-summary-heading > a { color: #007eab; font-size: 12px; text-decoration: none; border-bottom: 1px solid #b7dbe9; }
.checkout-items { list-style: none; padding: 0; margin: 0; }
.checkout-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; row-gap: 8px; padding: 21px 0; border-bottom: 1px solid var(--checkout-line); }
.checkout-item-name { grid-column: 1 / -1; margin: 0; font-size: 14px; line-height: 1.6; font-weight: 500; overflow-wrap: anywhere; }
.checkout-item-detail { font-size: 12px; color: var(--checkout-muted); align-self: center; }
.checkout-item-sum { font-size: 15px; font-weight: 600; white-space: nowrap; }
.checkout-total { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 16px; padding: 22px 0 18px; }
.checkout-total > span { font-size: 13px; }
.checkout-total strong { font-size: 28px; line-height: 1.2; letter-spacing: -.6px; white-space: nowrap; }
.checkout-cost-note { display: flex; align-items: flex-start; gap: 9px; padding: 13px; border-radius: 10px; background: #f1f7fa; }
.checkout-cost-note > span { display: grid; place-items: center; flex: 0 0 17px; height: 17px; margin-top: 1px; border: 1px solid #7c9cae; border-radius: 50%; font-size: 11px; color: #527587; }
.checkout-cost-note p { margin: 0; color: #547080; font-size: 12px; line-height: 1.6; }
.checkout-next { display: flex; gap: 13px; padding: 23px 12px 20px; }
.checkout-next .checkout-step { background: #e8eff3; color: #577182; }
.checkout-next h3 { margin: 2px 0 6px; font-size: 14px; font-weight: 600; }
.checkout-next p { margin: 0; color: var(--checkout-muted); font-size: 12px; line-height: 1.7; }
.checkout-help { display: flex; flex-direction: column; gap: 6px; padding: 0 12px 0 59px; text-decoration: none; color: var(--checkout-ink); }
.checkout-help > span { font-size: 12px; color: var(--checkout-muted); }
.checkout-help strong { font-size: 17px; font-weight: 500; }
.checkout-help strong span { color: #00a8e5; }
.checkout-alert { margin-bottom: 20px; padding: 14px 16px; border: 1px solid #f1c8ce; border-radius: 10px; background: #fff4f5; color: #962f3b; font-size: 14px; line-height: 1.5; }
.checkout-alert:focus, .checkout-success:focus { outline: none; }
.checkout-success, .checkout-empty { max-width: 700px; margin: 0 auto; padding: 48px; text-align: center; border: 1px solid var(--checkout-line); background: #fff; border-radius: 22px; }
.checkout-success-icon { display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 22px; border-radius: 50%; background: #e5f7ee; color: #158154; font-size: 32px; }
.checkout-eyebrow { color: #158154 !important; font-size: 12px !important; letter-spacing: 1.2px; text-transform: uppercase; }
.checkout-success h2, .checkout-empty h2 { margin: 10px 0 16px; font-size: 28px; }
.checkout-success p, .checkout-empty p { color: var(--checkout-muted); font-size: 15px; line-height: 1.7; }
.checkout-success .checkout-primary, .checkout-empty .checkout-primary { max-width: 300px; margin: 26px auto 0; }
@media (max-width: 991px) {
    .checkout-grid { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 16px; }
    .checkout-card { padding: 21px; }
    .checkout-fields { grid-template-columns: 1fr; }
    .checkout-card h2 { font-size: 19px; }
}
@media (max-width: 767px) {
    .checkout-heading { padding: 20px 0; }
    .checkout-heading > p { font-size: 14px; }
    .checkout-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
    .checkout-summary { position: static; order: -1; }
    .checkout-card { padding: 20px; border-radius: 16px; }
    .checkout-next, .checkout-help { display: none; }
    .checkout-item { padding: 16px 0; }
    .checkout-total { padding: 18px 0 14px; }
    .checkout-card-heading { margin-bottom: 22px; }
    .checkout-success, .checkout-empty { padding: 30px 20px; }
    .checkout-page { padding-bottom: 32px; }
}
@media (max-width: 359px) {
    .checkout-contact { padding: 14px; }
    .checkout-card-heading { gap: 9px; }
    .checkout-card h2 { font-size: 18px; }
}
