.checkout-page.checkout-payment-ux-v2 .checkout-step-one-heading {
  display: flex;
  gap: 0.85rem;
  align-items: center;
  min-width: 0;
}

.checkout-page.checkout-payment-ux-v2 .checkout-step-one-copy {
  min-width: 0;
}

.checkout-page.checkout-payment-ux-v2 .checkout-step-one-copy .eyebrow {
  margin-bottom: 0.18rem;
}

.checkout-page.checkout-payment-ux-v2 .checkout-payment-provider {
  display: grid;
  gap: 0.9rem;
  margin: 1rem 0 0;
  padding: 1rem;
  background: linear-gradient(180deg, rgba(249, 250, 247, 0.96), rgba(245, 247, 243, 0.96));
  border: 1px solid rgba(21, 23, 20, 0.09);
  border-radius: 18px;
  box-shadow: none;
}

.checkout-page.checkout-payment-ux-v2 .checkout-payment-choice-heading {
  gap: 0.72rem;
  align-items: center;
}

.checkout-page.checkout-payment-ux-v2 .checkout-payment-choice-number,
.checkout-page.checkout-payment-ux-v2 .checkout-section-number {
  width: 2.05rem;
  height: 2.05rem;
  flex: 0 0 auto;
  font-size: 0.72rem;
}

.checkout-page.checkout-payment-ux-v2 .checkout-payment-choice-kicker {
  font-size: 0.62rem;
  letter-spacing: 0.13em;
}

.checkout-page.checkout-payment-ux-v2 .checkout-payment-choice-heading h3 {
  margin-top: 0.08rem;
  font-size: 1.08rem;
  letter-spacing: -0.015em;
}

.checkout-page.checkout-payment-ux-v2 .checkout-payment-security-card {
  display: grid;
  gap: 0.72rem;
  padding: 0.82rem 0.88rem;
  background: #fff;
  border: 0;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(20, 24, 21, 0.045);
}

.checkout-page.checkout-payment-ux-v2 .checkout-payment-security-brand {
  display: grid;
  grid-template-columns: 5.7rem minmax(0, 1fr);
  gap: 0.78rem;
  align-items: center;
}

.checkout-page.checkout-payment-ux-v2 .checkout-payment-security-brand img {
  display: block;
  width: 100%;
  max-width: 5.7rem;
  height: auto;
}

.checkout-page.checkout-payment-ux-v2 .checkout-payment-security-brand div {
  min-width: 0;
}

.checkout-page.checkout-payment-ux-v2 .checkout-payment-security-brand strong,
.checkout-page.checkout-payment-ux-v2 .checkout-payment-security-brand span {
  display: block;
}

.checkout-page.checkout-payment-ux-v2 .checkout-payment-security-brand strong {
  color: #242824;
  font-size: 0.76rem;
  line-height: 1.35;
}

.checkout-page.checkout-payment-ux-v2 .checkout-payment-security-brand span {
  margin-top: 0.16rem;
  color: #747c76;
  font-size: 0.66rem;
  line-height: 1.42;
}

.checkout-page.checkout-payment-ux-v2 .checkout-payment-security-link {
  justify-self: start;
  padding: 0;
  color: #4f5a53;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(79, 90, 83, 0.32);
  border-radius: 0;
  font: inherit;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 1.4;
  cursor: pointer;
}

.checkout-page.checkout-payment-ux-v2 .checkout-payment-security-link:hover,
.checkout-page.checkout-payment-ux-v2 .checkout-payment-security-link:focus-visible {
  color: #171a18;
  border-bottom-color: #171a18;
}

.checkout-page.checkout-payment-ux-v2 .checkout-payment-options {
  display: grid;
  gap: 0.58rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.checkout-page.checkout-payment-ux-v2 .checkout-payment-option {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  width: 100%;
  min-height: 4.25rem;
  padding: 0.78rem 0.84rem;
  text-align: left;
  background: #fff;
  border: 1px solid transparent;
  border-radius: 14px;
  box-shadow: 0 4px 15px rgba(20, 24, 21, 0.035);
  transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease, background 150ms ease;
}

.checkout-page.checkout-payment-ux-v2 .checkout-payment-option:hover:not(:disabled),
.checkout-page.checkout-payment-ux-v2 .checkout-payment-option:focus-visible {
  border-color: rgba(21, 23, 20, 0.18);
  box-shadow: 0 8px 22px rgba(20, 24, 21, 0.065);
  transform: translateY(-1px);
}

.checkout-page.checkout-payment-ux-v2 .checkout-payment-option.is-selected {
  background: #f1f5f1;
  border-color: rgba(42, 68, 53, 0.28);
  box-shadow: 0 6px 18px rgba(25, 45, 34, 0.055);
}

.checkout-page.checkout-payment-ux-v2 .checkout-payment-option-icon {
  width: 2.2rem;
  height: 2.2rem;
  display: grid;
  place-items: center;
  color: #2e3832;
  background: #eef1ed;
  border: 0;
  border-radius: 10px;
  font-size: 0.66rem;
  font-weight: 950;
  letter-spacing: -0.02em;
}

.checkout-page.checkout-payment-ux-v2 .checkout-payment-option.is-selected .checkout-payment-option-icon {
  color: #fff;
  background: #28342d;
}

.checkout-page.checkout-payment-ux-v2 .checkout-payment-option-copy {
  min-width: 0;
}

.checkout-page.checkout-payment-ux-v2 .checkout-payment-option-copy strong,
.checkout-page.checkout-payment-ux-v2 .checkout-payment-option-copy small {
  display: block;
}

.checkout-page.checkout-payment-ux-v2 .checkout-payment-option-copy strong {
  color: #1b1d1b;
  font-size: 0.82rem;
  line-height: 1.3;
}

.checkout-page.checkout-payment-ux-v2 .checkout-payment-option-copy small {
  margin-top: 0.18rem;
  color: #747b76;
  font-size: 0.68rem;
  line-height: 1.42;
}

.checkout-page.checkout-payment-ux-v2 .checkout-payment-option-check {
  width: 1.45rem;
  height: 1.45rem;
  display: grid;
  place-items: center;
  color: transparent;
  background: #f1f2ef;
  border: 1px solid rgba(21, 23, 20, 0.08);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 900;
}

.checkout-page.checkout-payment-ux-v2 .checkout-payment-option.is-selected .checkout-payment-option-check {
  color: #fff;
  background: #28342d;
  border-color: #28342d;
}

.checkout-page.checkout-payment-ux-v2 .checkout-brick {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0.9rem 0 0;
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(21, 23, 20, 0.07);
  border-radius: 0;
  box-shadow: none;
}

.checkout-page.checkout-payment-ux-v2 .checkout-brick-container {
  min-width: 0;
  min-height: 2rem;
  overflow: visible;
  border: 0;
  border-radius: 0;
  isolation: isolate;
}

.checkout-page.checkout-payment-ux-v2 .checkout-brick-container iframe {
  max-width: 100%;
}

.checkout-page.checkout-payment-ux-v2 .checkout-brick-feedback {
  margin: 0;
  padding: 0.55rem 0.7rem;
  color: #6e756f;
  background: rgba(255, 255, 255, 0.72);
  border: 0;
  border-radius: 10px;
  font-size: 0.68rem;
}

.checkout-page.checkout-payment-ux-v2 .checkout-brick-feedback.is-success {
  display: none;
}

.checkout-page.checkout-payment-ux-v2 .checkout-brick-fallback {
  justify-self: center;
  margin-top: 0.15rem;
  color: #777e79;
  font-size: 0.68rem;
}

.checkout-security-dialog,
.trebien-pix-dialog {
  width: min(94vw, 31rem);
  max-height: min(92vh, 48rem);
  overflow: auto;
  margin: auto;
  padding: 0;
  color: #171917;
  background: #fff;
  border: 0;
  border-radius: 24px;
  box-shadow: 0 32px 90px rgba(8, 12, 9, 0.28);
}

.checkout-security-dialog::backdrop,
.trebien-pix-dialog::backdrop {
  background: rgba(10, 12, 10, 0.58);
  backdrop-filter: blur(5px);
}

.checkout-security-shell {
  display: grid;
  gap: 1rem;
  padding: clamp(1.05rem, 4vw, 1.45rem);
}

.checkout-security-head {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  justify-content: space-between;
}

.checkout-security-brand {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  min-width: 0;
}

.checkout-security-brand img {
  width: 6rem;
  height: auto;
  flex: 0 0 auto;
}

.checkout-security-brand p,
.checkout-security-brand h2,
.checkout-security-intro,
.checkout-security-list p,
.checkout-security-footnote {
  margin: 0;
}

.checkout-security-brand p {
  color: #6f7871;
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.checkout-security-brand h2 {
  margin-top: 0.12rem;
  color: #171917;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
}

.checkout-security-close,
.trebien-pix-close {
  width: 2.2rem;
  height: 2.2rem;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  padding: 0;
  color: #252925;
  background: #f1f3ef;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 1.15rem;
  cursor: pointer;
}

.checkout-security-intro {
  color: #5f6862;
  font-size: 0.79rem;
  line-height: 1.58;
}

.checkout-security-list {
  display: grid;
  gap: 0.65rem;
}

.checkout-security-list > div {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.78rem;
  background: #f7f8f5;
  border-radius: 13px;
}

.checkout-security-list > div > span {
  width: 1.35rem;
  height: 1.35rem;
  display: grid;
  place-items: center;
  color: #315d47;
  background: #e7f1eb;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 900;
}

.checkout-security-list strong,
.checkout-security-list small {
  display: block;
}

.checkout-security-list strong {
  color: #252a27;
  font-size: 0.76rem;
}

.checkout-security-list small {
  margin-top: 0.18rem;
  color: #737b75;
  font-size: 0.68rem;
  line-height: 1.45;
}

.checkout-security-footnote {
  color: #858c87;
  font-size: 0.64rem;
  line-height: 1.45;
}

.checkout-security-done {
  min-height: 3rem;
  border-radius: 12px;
}

.trebien-pix-shell {
  display: grid;
  gap: 1rem;
  padding: clamp(1rem, 4vw, 1.4rem);
}

.trebien-pix-head {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  justify-content: space-between;
}

.trebien-pix-title-group {
  display: grid;
  gap: 0.25rem;
}

.trebien-pix-eyebrow {
  margin: 0;
  color: #6c756f;
  font-size: 0.67rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.trebien-pix-title {
  margin: 0;
  font-family: var(--font-display, inherit);
  font-size: clamp(1.35rem, 5vw, 1.8rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.trebien-pix-status-row {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  justify-content: space-between;
  padding: 0.72rem 0.8rem;
  background: #f5f7f4;
  border-radius: 13px;
}

.trebien-pix-state {
  display: inline-flex;
  gap: 0.48rem;
  align-items: center;
  color: #465149;
  font-size: 0.73rem;
  font-weight: 800;
}

.trebien-pix-state::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  background: #d7a73d;
  border-radius: 999px;
  box-shadow: 0 0 0 4px rgba(215, 167, 61, 0.12);
}

.trebien-pix-dialog.is-approved .trebien-pix-state::before {
  background: #3f7b59;
  box-shadow: 0 0 0 4px rgba(63, 123, 89, 0.12);
}

.trebien-pix-countdown {
  min-width: 4.7rem;
  padding: 0.38rem 0.58rem;
  color: #1f2621;
  background: #fff;
  border: 1px solid rgba(21, 23, 20, 0.1);
  border-radius: 999px;
  font-variant-numeric: tabular-nums;
  font-size: 0.79rem;
  font-weight: 900;
  text-align: center;
}

.trebien-pix-qr-wrap {
  display: grid;
  place-items: center;
  min-height: 15.5rem;
  padding: 0.8rem;
  background: #fff;
  border: 1px solid rgba(21, 23, 20, 0.09);
  border-radius: 18px;
}

.trebien-pix-qr {
  display: block;
  width: min(70vw, 16rem);
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.trebien-pix-qr-placeholder {
  max-width: 22rem;
  margin: 0;
  color: #69716c;
  font-size: 0.8rem;
  line-height: 1.5;
  text-align: center;
}

.trebien-pix-meta {
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  justify-content: space-between;
  color: #737b75;
  font-size: 0.72rem;
}

.trebien-pix-meta strong {
  color: #202420;
  font-size: 0.82rem;
}

.trebien-pix-copy-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.55rem;
}

.trebien-pix-code {
  min-width: 0;
  height: 3.1rem;
  resize: none;
  overflow: hidden;
  padding: 0.78rem;
  color: #4c544e;
  background: #f7f8f5;
  border: 1px solid rgba(21, 23, 20, 0.1);
  border-radius: 12px;
  font: 600 0.68rem/1.35 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.trebien-pix-copy {
  min-height: 3.1rem;
  padding: 0.65rem 0.9rem;
  color: #fff;
  background: #171b18;
  border: 0;
  border-radius: 12px;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 900;
  cursor: pointer;
}

.trebien-pix-copy:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.trebien-pix-note {
  margin: -0.2rem 0 0;
  color: #707872;
  font-size: 0.72rem;
  line-height: 1.5;
  text-align: center;
}

.trebien-pix-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.trebien-pix-action {
  min-height: 2.9rem;
  padding: 0.65rem 0.8rem;
  border-radius: 12px;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 850;
  cursor: pointer;
}

.trebien-pix-refresh {
  color: #1f2521;
  background: #f1f3ef;
  border: 1px solid rgba(21, 23, 20, 0.08);
}

.trebien-pix-done {
  color: #fff;
  background: #1a1e1b;
  border: 1px solid #1a1e1b;
}

.trebien-pix-dialog.is-approved .trebien-pix-refresh {
  display: none;
}

.trebien-pix-dialog.is-approved .trebien-pix-done {
  grid-column: 1 / -1;
}

@media (max-width: 35.99rem) {
  .checkout-page.checkout-payment-ux-v2 .checkout-summary-card {
    padding-inline: 1rem;
  }

  .checkout-page.checkout-payment-ux-v2 .checkout-payment-provider {
    padding: 0.82rem;
    border-radius: 15px;
  }

  .checkout-page.checkout-payment-ux-v2 .checkout-payment-security-brand {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .checkout-page.checkout-payment-ux-v2 .checkout-payment-security-brand img {
    max-width: 5.35rem;
  }

  .checkout-page.checkout-payment-ux-v2 .checkout-payment-option {
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding: 0.72rem;
  }

  .checkout-page.checkout-payment-ux-v2 .checkout-brick {
    padding-top: 0.72rem;
  }

  .checkout-security-dialog,
  .trebien-pix-dialog {
    width: min(96vw, 31rem);
    border-radius: 20px;
  }

  .checkout-security-brand {
    align-items: flex-start;
  }

  .checkout-security-brand img {
    width: 5.2rem;
  }

  .trebien-pix-copy-box,
  .trebien-pix-actions {
    grid-template-columns: 1fr;
  }

  .trebien-pix-copy {
    min-height: 2.9rem;
  }
}
