[hidden] { display: none !important; }
.payment-qr { display: block; width: 224px; max-width: 100%; height: auto; margin: auto; background: #fff; }
.pix-code { overflow-wrap: anywhere; user-select: all; }

/* The payment step follows the supplied reference; amount selection is unchanged. */
body.is-pix-payment { background: #f6fbfa; color: #061f20; }
.is-pix-payment .payment-page { background: #f6fbfa; }
.is-pix-payment .payment-shell {
  max-width: none;
  min-height: 100svh;
  padding: 0;
  background: transparent;
}
.is-pix-payment .payment-header,
.is-pix-payment .payment-footer { display: none; }
.is-pix-payment .payment-main { padding: 0; }
.pix-back-button {
  position: fixed;
  top: max(20px, env(safe-area-inset-top));
  left: max(20px, env(safe-area-inset-left));
  z-index: 10;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 2px solid #00b29b;
  border-radius: 50%;
  background: #fff;
  color: #007f70;
  box-shadow: 0 4px 14px #007f701a;
  cursor: pointer;
  touch-action: manipulation;
}
.pix-back-button svg { width: 28px; height: 28px; }
.pix-back-button:hover { background: #ddf3f1; }
.pix-back-button:focus-visible { outline: 3px solid #00796b; outline-offset: 4px; }
.pix-payment {
  width: min(100% - 48px, 462px);
  margin: 0 auto;
  padding: 56px 0 max(6px, env(safe-area-inset-bottom));
  text-align: center;
}
.pix-payment-logo {
  display: grid;
  place-items: center;
  width: 115px;
  height: 115px;
  margin: 0 auto 45px;
  border: 1px solid #dbe8e5;
  border-radius: 40px;
  background: #fff;
  box-shadow: 0 18px 28px -12px #00b29b38, 0 0 70px 12px #00b29b18;
}
.pix-payment-logo .pix-mark { width: 58px; height: 58px; color: #00b29b; }
.pix-payment-title {
  margin: 0;
  color: #061f20;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
  outline: none;
}
.pix-payment-description {
  max-width: 365px;
  margin: 16px auto 0;
  color: #596e6f;
  font-size: 18px;
  font-weight: 400;
  line-height: 29px;
}
.pix-payment-action { position: relative; margin-top: 37px; }
.pix-copy-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  min-height: 77px;
  padding: 16px 20px;
  border: 0;
  border-radius: 23px;
  background: #00b29b;
  color: #fff;
  box-shadow: 0 16px 27px -9px #00b29b40;
  font: inherit;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.25;
  cursor: pointer;
  touch-action: manipulation;
  transition: background .15s;
}
.pix-copy-button svg { flex: none; width: 28px; height: 28px; }
.pix-copy-button:focus-visible { outline: 3px solid #00796b; outline-offset: 4px; }
.pix-copy-button:active { background: #00a390; }
.pix-copy-button:disabled { cursor: wait; }
.pix-payment-steps {
  display: grid;
  gap: 15px;
  margin: 43px 0 0;
  padding: 0;
  list-style: none;
  text-align: left;
}
.pix-payment-steps li { display: flex; align-items: center; gap: 15px; font-size: 17px; line-height: 28px; }
.pix-step-number {
  display: grid;
  flex: none;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ddf3f1;
  color: #00ad99;
  font-size: 14px;
  font-weight: 600;
}
.pix-payment-footer { margin: 28px 0 0; color: #596e6f; font-size: 14px; line-height: 22px; }
.pix-payment-message { margin: 0 0 16px; color: #596e6f; font-size: 16px; line-height: 1.6; }
.pix-manual-code { width: 100%; min-height: 95px; margin-top: 18px; padding: 12px; border: 1px solid #dbe8e5; border-radius: 12px; background: white; color: #061f20; font-size: 13px; overflow-wrap: anywhere; }
.pix-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 480px) {
  .pix-payment { padding-top: 40px; padding-bottom: max(24px, env(safe-area-inset-bottom)); }
  .pix-payment-logo { width: 100px; height: 100px; border-radius: 34px; margin-bottom: 36px; }
  .pix-payment-title { font-size: 30px; }
  .pix-payment-description { max-width: 335px; font-size: 16px; line-height: 26px; }
  .pix-payment-action { margin-top: 34px; }
  .pix-copy-button { min-height: 68px; font-size: 20px; border-radius: 20px; }
  .pix-payment-steps { margin-top: 36px; }
  .pix-payment-steps li { gap: 12px; font-size: 15px; }
}
