/* Checkout Pix: mesmo visual neon das LPs (usa as cores de style.css) */
.ck-modal { z-index: 80; }
.ck {
  position: relative; width: min(520px, 100%);
  max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); overflow-y: auto; overscroll-behavior: contain;
  display: grid; gap: 18px; padding: 30px 26px 26px;
  border-radius: var(--radius-lg); border: 1px solid var(--border);
  background: radial-gradient(500px 220px at 0% 0%, rgba(255, 45, 149, 0.18), transparent 70%), rgba(14, 6, 34, 0.98);
  box-shadow: var(--shadow); animation: pop 0.25s ease;
}
.ck-close {
  position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--border); background: rgba(20, 8, 40, 0.9); color: #fff;
}
.ck-close:hover { background: var(--pink); }
.ck-close svg { width: 20px; height: 20px; }
.ck-head { display: grid; gap: 10px; }
.ck-eyebrow, .ck-title { margin-right: 48px; }
.ck-head[hidden] { display: none; }
.ck-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--cyan); font-size: 11px; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; }
.ck-eyebrow i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.ck-title {
  font-family: var(--font-display); font-weight: 400; font-size: 34px; line-height: 1; text-transform: uppercase;
  background: var(--grad-title); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-top: 0.14em; margin-top: -0.14em;
}
.ck-resumo {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 14px; border-radius: 12px;
  background: linear-gradient(90deg, rgba(255, 45, 149, 0.14), rgba(122, 43, 255, 0.10)); border: 1px solid var(--border);
  font-weight: 700; font-size: 14px;
}
.ck-resumo b { font-size: 22px; font-weight: 900; white-space: nowrap; }

.ck-step { display: grid; gap: 14px; }
.ck-step[hidden] { display: none; }
.ck-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ck-field { display: grid; gap: 6px; min-width: 0; }
.ck-field span { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.ck-field input {
  width: 100%; min-width: 0; min-height: 50px; padding: 0 14px; border-radius: 12px;
  border: 1px solid var(--border-soft); background: var(--surface); color: #fff;
  font: inherit; font-size: 16px; font-weight: 600; transition: border-color 0.2s ease;
}
.ck-field input::placeholder { color: #7d6d98; font-weight: 500; }
.ck-field input:focus { outline: none; border-color: var(--pink); box-shadow: 0 0 0 1px rgba(255, 45, 149, 0.35); }
.ck-erro { padding: 10px 14px; border-radius: 10px; background: rgba(255, 77, 109, 0.14); border: 1px solid rgba(255, 77, 109, 0.5); color: #ffb3c2; font-size: 14px; font-weight: 600; }
.ck-erro[hidden] { display: none; }
.ck-go:disabled { opacity: 0.6; cursor: wait; transform: none; }
.ck-nota { font-size: 12px; color: var(--muted); text-align: center; line-height: 1.45; }
.ck-alt { font-size: 13px; color: var(--muted); text-align: center; text-decoration: underline; }
.ck-alt:hover { color: #fff; }

.ck-qr { justify-self: center; width: min(260px, 100%); padding: 12px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 4px rgba(255, 45, 149, 0.6), 0 0 40px rgba(255, 45, 149, 0.45); }
.ck-qr[hidden] { display: none; }
.ck-qr svg, .ck-qr img { display: block; width: 100%; height: auto; }
.ck-lbl { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.ck-code { display: flex; gap: 8px; margin-top: -6px; }
.ck-code input {
  flex: 1; min-width: 0; min-height: 48px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--border-soft);
  background: rgba(0, 0, 0, 0.3); color: #e6dcf3; font: 500 13px/1 ui-monospace, Consolas, monospace;
}
.ck-code button {
  flex: none; padding: 0 18px; border: 0; border-radius: 12px; background: var(--grad-neon); color: #fff;
  font-weight: 800; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase;
}
.ck-wait { display: flex; align-items: center; justify-content: center; gap: 10px; font-weight: 700; font-size: 15px; color: var(--yellow); }
.ck-spin { width: 18px; height: 18px; border-radius: 50%; border: 3px solid rgba(255, 212, 0, 0.25); border-top-color: var(--yellow); animation: ck-gira 0.9s linear infinite; }
@keyframes ck-gira { to { transform: rotate(360deg); } }
.ck-how { margin: 0; padding: 12px 14px 12px 34px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border-soft); display: grid; gap: 6px; font-size: 14px; color: #e6dcf3; }

.ck-ok { justify-items: center; text-align: center; padding: 18px 0 4px; }
.ck-okico { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; background: rgba(43, 217, 107, 0.12); border: 3px solid var(--green); color: var(--green); box-shadow: 0 0 40px rgba(43, 217, 107, 0.35); }
.ck-okico svg { width: 46px; height: 46px; }
.ck-ok h3 { font-family: var(--font-display); font-weight: 400; font-size: 34px; text-transform: uppercase; }
.ck-ok p { color: #e6dcf3; font-size: 15px; }

@media (max-width: 480px) {
  .ck { padding: 24px 16px 18px; gap: 16px; }
  .ck-row { grid-template-columns: 1fr; }
  .ck-title { font-size: 28px; }
}
@media (prefers-reduced-motion: reduce) { .ck-spin { animation-duration: 2s; } }
