/* Checkout: slim header, order summary beside a one-field form, next steps below. */
.checkout-header .header-inner { display: flex; align-items: center; gap: 16px; }
.checkout-secure { display: flex; align-items: center; gap: 8px; margin: 0 0 0 auto; color: #c5d0e2; font: 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.checkout-exit { color: var(--desk-cream); font-weight: 700; font-size: 14px; text-underline-offset: .2em; }
.co-lock { position: relative; flex: none; display: inline-block; width: 12px; height: 9px; margin-top: 5px; border-radius: 2px; background: #8fd6a8; }
.co-lock::before { content: ""; position: absolute; left: 2px; top: -6px; width: 4px; height: 5px; border: 2px solid #8fd6a8; border-bottom: 0; border-radius: 5px 5px 0 0; }

.co-page { padding-block: clamp(28px, 4vw, 56px) clamp(40px, 5vw, 72px); color: #e6ecf6; }
.co-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: clamp(20px, 3vw, 32px); }
.desktop-site .co-head h1 { margin: 0; color: var(--desk-cream); font-size: clamp(34px, 4.5vw, 56px); letter-spacing: -.045em; }
.co-progress { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; color: #9fb0ca; font-size: 14px; }
.co-progress li { display: flex; align-items: center; gap: 8px; margin: 0; }
.co-progress span { display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid #56709a; border-radius: 50%; font: 700 12px var(--mono); }
.co-progress li[aria-current] { color: var(--desk-cream); font-weight: 700; }
.co-progress li[aria-current] span { border-color: var(--desk-red); background: var(--desk-red); color: #1a1020; }

.co-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); grid-template-areas: "form summary"; gap: clamp(18px, 3vw, 36px); align-items: start; }
.co-form-card { grid-area: form; padding: clamp(20px, 3vw, 34px); border: 1px solid var(--desk-frame); border-radius: 14px; background: var(--desk-paper); color: var(--desk-ink); box-shadow: var(--desk-rim); }
.co-form-card h2 { margin: 0 0 14px; color: #17243b; font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -.03em; }
.co-availability { margin: 0 0 6px; color: #344761; }
.co-form { display: grid; gap: 10px; margin: 0; }
.co-form .field-label { margin: 0; color: #17243b; font-weight: 700; }
.co-form .text-input { width: 100%; min-height: 50px; font-size: 17px; }
.co-hint { margin: 0; color: #4a5468; font-size: 14px; }
.co-suggestion { margin: 0; padding: 10px 12px; border: 1px solid #c9a24a; border-radius: 8px; background: #fff3cf; color: #3b2f12; font-size: 15px; }
.co-suggestion button { padding: 0; border: 0; background: none; color: #17243b; font: inherit; font-weight: 800; text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }
.co-form .check-label { margin-top: 6px; color: #273b59; }
.co-form .check-label a { color: #17243b; }
.co-pay { justify-content: center; gap: 10px; width: 100%; min-height: 56px; margin-top: 6px; font-size: 17px !important; }
.co-pay .home-pixel { width: 20px; height: 20px; }
.co-status { margin: 0; min-height: 1.4em; color: #7c3741; font-weight: 600; }
.co-status:empty { min-height: 0; }

.co-trust { margin-top: 20px; padding-top: 18px; border-top: 1px dashed #b4aa94; }
.co-secure { display: flex; gap: 10px; margin: 0; color: #344761; font-size: 14px; line-height: 1.5; }
.co-secure strong { color: #17243b; }
.co-form-card .co-lock { background: #3f7a5a; }
.co-form-card .co-lock::before { border-color: #3f7a5a; }
.co-methods-label { margin: 14px 0 8px; color: #4a5468; font: 11px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.co-methods { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.co-methods li { margin: 0; padding: 5px 10px; border: 1px solid #b4aa94; border-radius: 6px; background: #f6f2e6; color: #273b59; font-size: 13px; }

/* Order summary. */
.co-summary { grid-area: summary; position: sticky; top: 20px; padding: clamp(18px, 2.4vw, 26px); border: 1px solid #56709a; border-radius: 14px; background: #141c31; box-shadow: 5px 7px #070b16; }
.co-summary h2 { margin: 0 0 16px; color: #c5d0e2; font: 12px/1.4 var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.co-item { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; align-items: center; }
.co-item .pb-cover { position: relative; display: block; aspect-ratio: 16 / 10; padding: 10px; border: 1px solid #3d5277; border-radius: 8px; background: linear-gradient(135deg, #24365b, #121b31); color: #eef2f8; }
.co-item .pb-cover-title { display: block; font: 700 11px/1.05 var(--desk-display, monospace); }
.co-item .pb-cover-title b { color: #f2878a; }
.co-item .pb-cover-icon { position: absolute; right: 8px; bottom: 7px; width: 16px; height: 16px; color: #f2878a; }
.co-item .pb-cover-brand { position: absolute; left: 10px; bottom: 6px; color: #a9b8d0; font: 8px var(--mono); }
.co-item-title { margin: 0; color: var(--desk-cream); font-weight: 800; line-height: 1.3; }
.co-item-kind { margin: 4px 0 0; color: #9fb0ca; font-size: 13px; }
.co-includes { display: grid; gap: 7px; margin: 18px 0 0; padding: 0; list-style: none; }
.co-includes li { position: relative; margin: 0; padding-left: 22px; color: #c5d0e2; font-size: 14px; }
.co-includes li::before { content: "✓"; position: absolute; left: 0; color: #8fd6a8; font-weight: 800; }
.co-total { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid #2a3a5a; }
.co-total div { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 6px; color: #c5d0e2; }
.co-total dd { margin: 0; font-variant-numeric: tabular-nums; }
.co-total .co-total-row { margin: 10px 0 0; padding-top: 10px; border-top: 1px solid #2a3a5a; color: var(--desk-cream); font-size: 20px; font-weight: 800; }
.co-terms-line { margin: 10px 0 0; color: #9fb0ca; font-size: 13px; }
.co-back { display: inline-block; margin-top: 16px; color: var(--desk-blue); font-size: 14px; font-weight: 700; }

/* What happens next. */
.co-next { margin-top: clamp(28px, 4vw, 48px); }
.co-next h2 { margin: 0 0 16px; color: var(--desk-cream); font-size: clamp(22px, 2.4vw, 28px); letter-spacing: -.03em; }
.co-next ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.co-next li { display: flex; gap: 12px; margin: 0; padding: 18px; border: 1px solid #3d5376; border-radius: 12px; background: #141c31; }
.co-next-num { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--desk-red); border-radius: 50%; color: var(--desk-cream); font: 700 13px var(--mono); }
.co-next h3 { margin: 2px 0 6px; color: var(--desk-cream); font-size: 17px; }
.co-next p { margin: 0; color: #c5d0e2; font-size: 14px; line-height: 1.5; }
.co-help { margin-top: 18px !important; color: #9fb0ca; font-size: 14px; }
.co-help a { color: var(--desk-blue); }

@media (max-width: 900px) {
  .co-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "summary" "form"; }
  .co-summary { position: static; }
  .co-next ol { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .checkout-secure { display: none; }
  .checkout-exit { margin-left: auto; }
  .co-includes, .co-terms-line, .co-back { display: none; }
  .co-item { grid-template-columns: 88px minmax(0, 1fr); }
  .co-item .pb-cover-brand { display: none; }
}
