.pix-payment[hidden] { display: none !important; }
.pix-payment { width: 100%; min-width: 0; margin: 20px 0; padding: 18px; border: 1px solid #dce3e9; border-radius: 8px; background: #fff; color: #111827; text-align: left; box-sizing: border-box; }
.pix-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pix-heading h3 { font: inherit; font-weight: 800; font-size: 16px; margin: 0; }
.pix-amount { font-size: 20px; color: #00874b; white-space: nowrap; }
.pix-payment .pix-status { font-size: 12px; color: #8a5b00; margin: 8px 0 16px; line-height: 1.5; }
.pix-payment-body { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; }
.pix-qr { display: block; flex: 0 0 220px; margin: 0 auto; width: 220px; height: 220px; max-width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; }
.pix-details { flex: 1 1 200px; min-width: 0; font-size: 13px; }
.pix-recipient { display: grid; gap: 4px; margin-bottom: 14px; overflow-wrap: anywhere; }
.pix-recipient span { color: #64748b; font-size: 12px; }
.pix-details label { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 600; }
.pix-code { width: 100%; box-sizing: border-box; resize: vertical; min-height: 76px; max-height: 180px; padding: 10px; border: 1px solid #dce3e9; border-radius: 6px; background: #f8fafc; color: #111827; font: 11px/1.5 monospace; overflow-wrap: anywhere; }
.pix-copy { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 42px; padding: 10px 14px; border: 0; border-radius: 6px; background: var(--primary, #ff5a1f); color: #fff; font: inherit; font-weight: 700; cursor: pointer; margin-top: 8px; }
.pix-copy svg { width: 18px; height: 18px; flex: 0 0 18px; }
.pix-copy:focus-visible, .pix-code:focus-visible { outline: 3px solid #93c5fd; outline-offset: 2px; }
.pix-copy-feedback { display: block; min-height: 18px; margin-top: 6px; font-size: 12px; color: #00874b; }
.pix-payment .pix-bank-check { font-size: 12px; line-height: 1.5; margin: 8px 0 0; color: #64748b; }
#success-pix { max-width: 660px; }
#page-success .success-pg:has(#success-pix:not([hidden])) { max-width: 710px; }
@media (max-width: 620px) {
  .pix-payment-body { gap: 14px; }
  .pix-payment { padding: 16px; }
}
