.checkout-page { min-width: 0; background: #070b16; color: #f7f8fc; }
.checkout-nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-width: 0; padding: 14px max(16px, env(safe-area-inset-left)); border-bottom: 1px solid rgba(255,255,255,.1); background: rgba(7,11,22,.94); backdrop-filter: blur(16px); }
.checkout-brand { min-width: 0; color: #fff; text-decoration: none; }
.checkout-brand strong, .checkout-brand small { display: block; }
.checkout-brand strong { font-size: 14px; font-weight: 900; }
.checkout-brand strong span { color: #ffb51f; }
.checkout-brand small { color: #a9b1c7; font-size: 9px; letter-spacing: .1em; text-transform: uppercase; }
.checkout-back { flex: 0 0 auto; color: #c7cdde; font-size: 12px; text-decoration: none; }
.checkout-shell { width: min(100% - 24px, 760px); min-width: 0; margin: 32px auto 64px; }
.checkout-progress { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; }
.checkout-progress li { min-width: 0; color: #7f899f; font-size: 11px; font-weight: 800; }
.checkout-progress li::after { content: ""; display: block; height: 4px; margin-top: 8px; border-radius: 99px; background: #252d40; }
.checkout-progress li.is-complete, .checkout-progress li[aria-current="step"] { color: #fff; }
.checkout-progress li.is-complete::after, .checkout-progress li[aria-current="step"]::after { background: linear-gradient(90deg,#ffb51f,#ff5b2d); }
.checkout-progress span { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 4px; border-radius: 50%; background: #20283b; }
.checkout-panel { width: 100%; min-width: 0; overflow: hidden; padding: clamp(20px,5vw,42px); border: 1px solid rgba(255,255,255,.12); border-radius: 22px; background: radial-gradient(circle at 90% 0,rgba(255,91,45,.12),transparent 240px),#0e1425; }
.checkout-panel[hidden] { display: none; }
.checkout-panel h1 { margin: 7px 0; font-size: clamp(28px,7vw,44px); line-height: 1.05; }
.checkout-lead { margin: 0 0 20px; color: #a9b1c7; }
.checkout-promo { margin: 0 0 18px; padding: 15px 16px; border: 1px solid rgba(255,181,31,.36); border-radius: 14px; background: rgba(255,181,31,.09); color: #eef1f9; }
.checkout-promo > strong { color: #ffcf5a; }
.checkout-promo p { margin: 7px 0 10px; color: #d9deeb; line-height: 1.5; }
.checkout-promo ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px 18px; margin: 0; padding: 0; list-style: none; color: #c7cdde; font-size: 13px; }
.checkout-promo li { min-width: 0; overflow-wrap: anywhere; }
.checkout-tickets, .checkout-review, .checkout-field, .checkout-actions { width: 100%; min-width: 0; }
.checkout-ticket { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 12px; width: 100%; min-width: 0; padding: 16px; margin: 10px 0; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: #151c30; }
.checkout-ticket__copy { min-width: 0; overflow-wrap: anywhere; }
.checkout-loading { margin: 14px 0; padding: 16px; border: 1px solid rgba(255,255,255,.1); border-radius: 14px; background: #151c30; color: #c7cdde; text-align: center; }
.checkout-ticket__copy strong, .checkout-ticket__copy small { display: block; }
.checkout-ticket__copy small { margin-top: 4px; color: #a9b1c7; }
.checkout-ticket__price { color: #ffb51f; font-weight: 900; }
.checkout-qty { display: grid; grid-template-columns: 44px 30px 44px; align-items: center; }
.checkout-qty button { width: 44px; height: 44px; border: 0; border-radius: 50%; background: #283147; color: #fff; font-size: 20px; }
.checkout-qty output { text-align: center; font-weight: 900; }
.checkout-summary-bar { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 16px; margin-top: 20px; }
.checkout-summary-bar span, .checkout-summary-bar strong { display: block; }
.checkout-summary-bar span { color: #a9b1c7; font-size: 12px; }
.checkout-summary-bar strong { margin-top: 2px; font-size: 22px; }
.checkout-field { display: block; margin: 14px 0; }
.checkout-field > span { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 800; }
.checkout-field em { color: #a9b1c7; font-style: normal; font-weight: 500; }
.checkout-field input { display: block; width: 100%; min-width: 0; height: 48px; padding: 0 14px; border: 1px solid rgba(255,255,255,.16); border-radius: 10px; background: #11192b; color: #fff; font: inherit; }
.checkout-field input[aria-invalid="true"] { border-color: #ff6b6b; }
.field-error { display: block; min-height: 18px; margin-top: 5px; color: #ff9999; font-size: 11px; }
.checkout-consent { display: grid; grid-template-columns: 24px minmax(0,1fr); gap: 10px; align-items: start; color: #c7cdde; line-height: 1.45; }
.checkout-consent input { width: 20px; height: 20px; margin: 1px 0 0; }
.checkout-consent a { color: #ffb51f; }
.checkout-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; }
.checkout-actions .btn { min-height: 48px; }
.checkout-review__row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.checkout-review__row span { min-width: 0; overflow-wrap: anywhere; color: #c7cdde; }
.checkout-review__row > strong { min-width: 0; overflow-wrap: anywhere; text-align: right; }
.checkout-review__total { font-size: 21px; font-weight: 900; }
.checkout-alert { margin-bottom: 14px; padding: 12px 14px; border: 1px solid rgba(255,107,107,.45); border-radius: 10px; background: rgba(255,107,107,.1); }
.checkout-retry { margin: 0 0 14px; }
.checkout-retry[hidden] { display: none; }
.checkout-page .btn:disabled,
.checkout-page .btn:disabled:hover { cursor: not-allowed; opacity: .45; filter: grayscale(.35); transform: none; box-shadow: none; }
.checkout-trust { margin: 12px 0 0; color: #a9b1c7; text-align: center; font-size: 11px; }
@media (max-width: 560px) {
  .checkout-shell { width: min(100% - 16px,760px); margin-top: 18px; }
  .checkout-panel { padding: 22px 16px; border-radius: 18px; }
  .checkout-promo ul { grid-template-columns: 1fr; }
  .checkout-summary-bar { grid-template-columns: 1fr; }
  .checkout-summary-bar .btn { width: 100%; }
  .checkout-actions { flex-direction: column-reverse; }
  .checkout-actions .btn { width: 100%; }
  .checkout-back { font-size: 0; }
  .checkout-back::after { content: "← Wróć"; font-size: 12px; }
}
@media (max-width: 350px) {
  .checkout-ticket { grid-template-columns: 1fr; }
  .checkout-qty { justify-content: start; }
  .checkout-progress li { font-size: 0; }
  .checkout-progress li span { font-size: 11px; }
}
