.checkout-hero {
  padding: 44px 0 28px;
}

.checkout-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 20px;
}

.checkout-pane,
.checkout-card {
  padding: 28px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(23, 33, 43, 0.08);
  box-shadow: var(--shadow);
}

.checkout-pane {
  color: #eef6ff;
  background:
    linear-gradient(180deg, #102231 0%, #15364b 100%);
}

.checkout-pane .eyebrow,
.checkout-pane .section-copy,
.checkout-pane .micro-note {
  color: rgba(238, 246, 255, 0.8);
}

.checkout-pane .eyebrow::before {
  background: var(--accent);
}

.checkout-pane .display {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
}

.checkout-list {
  margin: 18px 0 0;
  padding-left: 18px;
  line-height: 1.75;
}

.status-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(15, 141, 125, 0.08);
  border: 1px solid rgba(15, 141, 125, 0.14);
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.status-idle {
  color: #35597a;
  background: rgba(53, 89, 122, 0.1);
}

.status-working {
  color: #8a5f00;
  background: rgba(244, 185, 66, 0.22);
}

.status-success {
  color: #0b5a4d;
  background: rgba(15, 141, 125, 0.14);
}

.status-warning {
  color: #86592b;
  background: rgba(245, 158, 11, 0.18);
}

.status-error {
  color: #8c2f2f;
  background: rgba(196, 76, 76, 0.18);
}

.checkout-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.checkout-form .field {
  display: grid;
  gap: 8px;
}

.checkout-form .field label {
  font-size: 0.9rem;
  font-weight: 700;
}

.checkout-form input,
.checkout-form select {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(23, 33, 43, 0.12);
  outline: none;
  font: inherit;
  background: #ffffff;
}

.checkout-form input:focus,
.checkout-form select:focus {
  border-color: rgba(15, 141, 125, 0.42);
  box-shadow: 0 0 0 4px rgba(15, 141, 125, 0.1);
}

.checkout-form .field-wide {
  grid-column: 1 / -1;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.detail {
  display: grid;
  gap: 8px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(23, 33, 43, 0.04);
}

.detail-wide {
  grid-column: 1 / -1;
}

.detail-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.detail code {
  overflow-wrap: anywhere;
  color: var(--brand-deep);
}

.status-copy {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.checkout-note {
  margin-top: 18px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(244, 185, 66, 0.12);
  color: var(--brand-deep);
}

@media (max-width: 980px) {
  .checkout-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .checkout-form,
  .detail-grid {
    grid-template-columns: 1fr;
  }
}
