@font-face {
  font-family: 'DM Sans';
  src: url('./checkout-dm-sans-400.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('./checkout-dm-sans-500.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
}
:root {
  --text: #e8edf8;
  --muted: #9baac4;
  --border: #ffffff1a;
  --blue: linear-gradient(135deg, #1e4a9a, #2d6be4);
  --green: linear-gradient(180deg, #2fd873, #12b453 52%, #0a8c3e);
  --gap-banner: 28px;
  --gap-price: 18px;
  --gap-tabs: 20px;
  --gap-related: 12px;
  --gap-context: 20px;
  --gap-action: 22px;
  --gap-wallet: 28px;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background: #0a1632;
  font: 400 16px/1.4 'DM Sans', system-ui, sans-serif;
}
body::before {
  content: '';
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 120% 60% at 15% 20%, #1d4ea74d, transparent 55%),
    radial-gradient(ellipse 80% 50% at 85% 75%, #0d1f4599, transparent 55%),
    radial-gradient(ellipse 60% 40% at 50% 10%, #2d6be41f, transparent 50%),
    linear-gradient(160deg, #0a1632, #0d1d40 40%, #091528);
}
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
:focus-visible { outline: 3px solid #8bb9ff; outline-offset: 3px; }
.payment-wrap { width: 100%; max-width: 480px; margin-inline: auto; padding: 18px 20px 12px; }
.payment-banner { margin-bottom: var(--gap-banner); }
.payment-banner img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 8px 32px #0006; }
.payment-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 72px;
  margin-bottom: var(--gap-price);
  padding: 10px 12px 10px 14px;
  border: 1px solid #6d91e33b;
  border-radius: 14px;
  background: linear-gradient(135deg, #3259a852, #142a5954);
}
.payment-summary h1 {
  display: inline-block;
  margin: 0 0 6px;
  padding: 5px 8px;
  border-radius: 6px;
  color: #fff;
  background: var(--blue);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1px;
  line-height: 1.25;
}
.payment-summary p { margin: 0; color: #b7c7df; font-size: .69rem; line-height: 1.3; }
.payment-price { color: #f5f8ff; font-size: 1.875rem; font-weight: 600; line-height: 1; letter-spacing: -.5px; white-space: nowrap; }
.payment-price span { color: #bfcfe6; font-size: .875rem; font-weight: 500; }
.payment-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  margin-bottom: var(--gap-tabs);
  padding: 3px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #0a163299;
}
.payment-tabs button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-size: .875rem;
  font-weight: 500;
}
.payment-tabs button[aria-selected="true"] { color: #fff; background: var(--blue); box-shadow: 0 2px 12px #2d6be459, inset 0 1px 0 #ffffff1a; }
.payment-pix-icon { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; width: 15px; height: 15px; transform: rotate(45deg); margin: 0 2px; }
.payment-pix-icon i { background: currentColor; border-radius: 1.5px; }
.payment-card-icon { width: 18px; height: 14px; border: 1.5px solid currentColor; border-radius: 3px; background: linear-gradient(currentColor, currentColor) 0 3px / 100% 1px no-repeat; }
.field {
  position: relative;
  min-width: 0;
  margin-bottom: var(--gap-related);
}
.field label {
  position: absolute;
  z-index: 1;
  top: 6px;
  left: 13px;
  color: var(--muted);
  font-size: .69rem;
  line-height: 13px;
  pointer-events: none;
}
.field input {
  display: block;
  width: 100%;
  height: 52px;
  padding: 23px 13px 7px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #ffffff08;
  color: var(--text);
  font-size: 16px;
  line-height: 22px;
}
.field input::placeholder { color: #7b8ba5; }
.field input:focus { border-color: #548cff; outline: 0; box-shadow: 0 0 0 3px #2d6be429; }
.contact-email { margin-bottom: var(--gap-context); }
.document-field { margin-bottom: var(--gap-action); }
.payment-field-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: var(--gap-related); }
.payment-field-pair .field { margin-bottom: 0; }
.payment-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-height: 46px;
  padding: 10px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: var(--green);
  box-shadow: inset 0 1px 0 #ffffff70, 0 10px 25px -10px #14c85f99;
  font-weight: 800;
  text-shadow: 0 1px 3px #003c19a0;
}
.payment-submit:not(:disabled):hover { filter: brightness(1.08); }
.payment-submit:disabled { background: #3b4351; color: #b8c0cd; box-shadow: none; font-weight: 500; text-shadow: none; }
.payment-wallet { margin-top: var(--gap-wallet); }
.payment-divider { display: flex; align-items: center; gap: 12px; margin: 0 0 10px; color: var(--muted); font-size: .69rem; text-align: center; }
.payment-divider::before, .payment-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.wallet-button { display: block; width: 100%; min-height: 40px; padding: 7px 10px; border: 1px solid #5b6477; border-radius: 4px; background: #080c16; color: #fff; }
.wallet-button:disabled { opacity: .55; }
.wallet-button strong { font-size: 1.05rem; font-weight: 500; }
.wallet-button strong span { color: #8ab4f8; }
.payment-hint, .payment-demo { margin: 14px 0 0; color: var(--muted); font-size: .69rem; text-align: center; }
.payment-demo { margin-top: 10px; color: #b7e4cf; }
.payment-result { padding: 22px; border: 1px solid var(--border); border-radius: 14px; background: #ffffff09; text-align: center; }
.payment-result h1 { margin: 0; font-size: 1.35rem; line-height: 1.25; }
.payment-result p { margin: 9px 0 16px; color: var(--muted); font-size: .875rem; }
.payment-result code { display: block; margin-bottom: 10px; padding: 10px; border-radius: 8px; background: #0a1632; color: #ecf4ff; overflow-wrap: anywhere; }
.payment-copy { width: 100%; padding: 8px; border: 1px solid #87aaff70; border-radius: 8px; background: transparent; color: #a9c9ff; }
.payment-result-icon { display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto 12px; border-radius: 50%; background: #23644965; color: #94ebbe; font-size: 1.5rem; }
#copy-status:empty { display: none; }
#confirm-demo-pix { margin-top: 10px; }
.payment-footer { margin-top: 14px; padding-top: 12px; color: var(--muted); font-size: .65rem; text-align: center; }
.payment-footer img { display: block; width: 30px; height: auto; margin: 0 auto 5px; opacity: .8; }
.payment-footer p { margin: 0 0 4px; }
.payment-footer a { color: inherit; text-underline-offset: .17em; }

@media (min-width: 601px) and (max-height: 850px) {
  :root { --gap-banner: 24px; --gap-price: 14px; --gap-tabs: 16px; --gap-related: 10px; --gap-context: 20px; --gap-action: 18px; --gap-wallet: 24px; }
  .payment-wrap { max-width: 440px; padding-block: 10px; }
  .field label { top: 4px; font-size: .625rem; line-height: 12px; }
  .field input { height: 46px; padding-block: 19px 5px; }
  .card-contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: var(--gap-context); }
  .card-contact .field { margin-bottom: 0; }
  .payment-submit { min-height: 44px; }
}
@media (min-width: 601px) and (max-height: 700px) {
  :root { --gap-banner: 20px; --gap-price: 12px; --gap-tabs: 12px; --gap-related: 8px; --gap-context: 14px; --gap-action: 16px; --gap-wallet: 16px; }
  .payment-wrap { max-width: 400px; padding-block: 4px; }
  .field input { height: 44px; }
}
@media (max-width: 600px) {
  :root { --gap-banner: 24px; --gap-price: 14px; --gap-tabs: 16px; --gap-related: 10px; --gap-context: 18px; --gap-action: 16px; --gap-wallet: 22px; }
  .payment-wrap { padding: 12px 16px; }
  .payment-summary h1 { font-size: .69rem; }
  .payment-price { font-size: 1.75rem; }
  .payment-tabs button { font-size: .81rem; }
  .field label { font-size: .625rem; }
}
@media (max-width: 360px) {
  .payment-summary { gap: 8px; padding-inline: 12px 10px; }
  .payment-price { font-size: 1.56rem; }
  .payment-price span { font-size: .75rem; }
}
