:root {
  --checkout-bg: #f6f9ff;
  --checkout-panel: #ffffff;
  --checkout-text: #10244a;
  --checkout-muted: #617191;
  --checkout-border: #d9e6ff;
  --checkout-purple: #6c56f4;
  --checkout-purple-soft: #8875f6;
  --checkout-green: #238c3a;
  --checkout-green-soft: #e8fbf0;
  --checkout-green-border: #bcebd2;
  --checkout-blue-soft: #f1f5ff;
  --checkout-shadow: 0 24px 70px rgba(32, 63, 115, 0.14);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  min-height: 100%;
  background: var(--checkout-bg);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--checkout-text);
  background:
    radial-gradient(circle at 16% 0%, rgba(122, 105, 247, 0.12), transparent 28rem),
    radial-gradient(circle at 100% 12%, rgba(32, 140, 255, 0.13), transparent 30rem),
    linear-gradient(180deg, #fbfaff 0%, #f5f9ff 58%, #eef6ff 100%);
  font-family: Inter, Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.checkout-shell {
  width: min(100% - 32px, 700px);
  margin: 0 auto;
  padding: 20px 0 44px;
}

.checkout-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.checkout-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--checkout-border);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 8px 24px rgba(47, 76, 126, 0.08);
  color: #16305b;
  font-size: 14px;
  font-weight: 800;
  padding: 0 14px;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.checkout-link:hover {
  border-color: #bfd3ff;
  box-shadow: 0 10px 28px rgba(47, 76, 126, 0.12);
  transform: translateY(-1px);
}

.checkout-warning {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  margin: 0 0 16px;
  border: 1px solid #fecaca;
  border-radius: 16px;
  background: #fff1f2;
  color: #b91c1c;
  box-shadow: 0 10px 28px rgba(185, 28, 28, 0.08);
  padding: 12px 16px;
  text-align: center;
  font-size: 14px;
  font-weight: 950;
  letter-spacing: 0.08em;
  animation: checkout-warning-pulse 1.15s ease-in-out infinite;
}

.checkout-warning-icon {
  flex: 0 0 auto;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0;
}

@keyframes checkout-warning-pulse {
  0%,
  100% {
    border-color: #fecaca;
    background: #fff1f2;
    box-shadow: 0 10px 28px rgba(185, 28, 28, 0.08);
  }

  50% {
    border-color: #ef4444;
    background: #fee2e2;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.14), 0 12px 34px rgba(185, 28, 28, 0.18);
  }
}

@media (prefers-reduced-motion: reduce) {
  .checkout-warning {
    animation: none;
  }
}

.checkout-card {
  overflow: hidden;
  border: 1px solid rgba(211, 224, 255, 0.92);
  border-radius: 30px;
  background: var(--checkout-panel);
  box-shadow: var(--checkout-shadow);
}

.checkout-hero {
  display: grid;
  min-height: 240px;
  place-items: center;
  padding: 34px 24px 40px;
  background: linear-gradient(135deg, var(--checkout-purple), var(--checkout-purple-soft));
  color: #ffffff;
  text-align: center;
}

.checkout-product {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.3;
}

.checkout-title {
  margin: 0;
  font-size: clamp(31px, 6vw, 42px);
  font-weight: 950;
  line-height: 1.02;
}

.checkout-price {
  margin: 26px 0 0;
  font-size: clamp(42px, 8vw, 58px);
  font-weight: 950;
  line-height: 1;
  letter-spacing: 0;
}

.checkout-content {
  padding: 24px;
}

.notice {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0 0 20px;
  border: 1px solid #cbdbff;
  border-radius: 16px;
  background: var(--checkout-blue-soft);
  color: #213d72;
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.58;
}

.notice strong {
  font-weight: 950;
}

.notice svg {
  flex: 0 0 auto;
  margin-top: 2px;
  color: #754cff;
}

.checkout-compat {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 16px;
  border: 1px solid #dce8fb;
  border-radius: 16px;
  background: linear-gradient(180deg, #fbfdff, #f5f9ff);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  padding: 14px;
}

.checkout-compat-group {
  min-width: 0;
}

.checkout-compat-group h2 {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 0 9px;
  color: #07162e;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 950;
}

.compat-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 10px;
  line-height: 1;
  font-weight: 950;
}

.compat-status.is-ok {
  background: #22c55e;
}

.compat-status.is-bad {
  background: #ef4444;
}

.compat-chip-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
}

.compat-chip {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  min-height: 28px;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 12px;
  line-height: 1.2;
  font-weight: 900;
  white-space: normal;
}

.compat-chip.is-ok {
  border: 1px solid #bbf7d0;
  background: #f0fdf4;
  color: #007a35;
}

.compat-chip.is-bad {
  border: 1px solid #fecaca;
  background: #fff1f2;
  color: #b91c1c;
}

.checkout-form {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 9px;
}

.field label {
  color: #142b55;
  font-size: 14px;
  font-weight: 950;
}

.field input {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--checkout-border);
  border-radius: 16px;
  background: #ffffff;
  color: #142b55;
  outline: none;
  padding: 0 16px;
  font-size: 15px;
  font-weight: 700;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.field input::placeholder {
  color: #8c9abb;
  opacity: 1;
}

.field input:focus {
  border-color: #9bbcff;
  box-shadow: 0 0 0 4px rgba(103, 147, 255, 0.16);
}
.coupon-input-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 9px; }
.coupon-input-row button {
  min-width: 96px; border: 0; border-radius: 14px; background: #10244a;
  color: #fff; cursor: pointer; padding: 0 16px; font-weight: 900;
}
.coupon-input-row button:disabled { cursor: wait; opacity: .65; }
.coupon-feedback { min-height: 18px; margin: 0; color: var(--checkout-muted); font-size: 12px; font-weight: 800; }
.coupon-feedback.is-valid { color: #238c3a; }
.coupon-feedback.is-error { color: #a72d2d; }
.payer-document-warning {
  border-color: rgba(245, 158, 11, 0.34);
  background: rgba(245, 158, 11, 0.09);
  color: #7c4a03;
}
.original-price { font-size: .48em; opacity: .72; text-decoration: line-through; vertical-align: middle; }

.payment-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 76px;
  margin-top: 2px;
  border: 1px solid var(--checkout-green-border);
  border-radius: 16px;
  background: var(--checkout-green-soft);
  padding: 14px 16px;
}

.payment-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.payment-icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 14px;
  background: #c8f7df;
  color: #0c9161;
}

.payment-name {
  margin: 0;
  color: #0f2142;
  font-size: 16px;
  font-weight: 950;
}

.payment-subtitle {
  margin: 3px 0 0;
  color: #275b64;
  font-size: 12px;
  font-weight: 700;
}

.selected-pill {
  flex: 0 0 auto;
  border: 1px solid #cae7da;
  border-radius: 999px;
  background: #ffffff;
  color: #008a4c;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 950;
}

.submit-button {
  display: inline-flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 2px;
  border: 0;
  border-radius: 14px;
  background: #258b3c;
  box-shadow: 0 16px 34px rgba(35, 140, 58, 0.24);
  color: #ffffff;
  cursor: pointer;
  font-size: 16px;
  font-weight: 950;
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.submit-button:hover {
  box-shadow: 0 18px 38px rgba(35, 140, 58, 0.3);
  filter: brightness(1.04);
  transform: translateY(-1px);
}

.secure-text {
  margin: 10px 0 0;
  color: #7180a0;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.trust-pill {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid var(--checkout-border);
  border-radius: 14px;
  background: #f9fbff;
  color: #687896;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.trust-pill svg {
  color: #0ca779;
  flex: 0 0 auto;
}

.form-message {
  display: none;
  margin: 0;
  border: 1px solid #bfe8cf;
  border-radius: 14px;
  background: #effbf4;
  color: #176531;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

.form-message.is-visible {
  display: block;
}

.form-message.is-error {
  border-color: #f3c3c3;
  background: #fff3f3;
  color: #9b2727;
}

.submit-button:disabled {
  cursor: not-allowed;
  filter: grayscale(0.35);
  opacity: 0.62;
  transform: none;
}

.pix-result {
  display: grid;
  gap: 12px;
  margin-top: 4px;
  border: 1px solid var(--checkout-green-border);
  border-radius: 18px;
  background: var(--checkout-green-soft);
  padding: 18px;
}

.pix-result[hidden] {
  display: none;
}

.pix-result-title,
.pix-result-help,
.pix-expiration {
  margin: 0;
}

.pix-result-title {
  color: #176531;
  font-size: 18px;
  font-weight: 950;
}

.pix-result-help,
.pix-expiration {
  color: #38624a;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.pix-code {
  width: 100%;
  min-height: 112px;
  resize: vertical;
  border: 1px solid #a8ddbf;
  border-radius: 14px;
  background: #ffffff;
  color: #153323;
  padding: 12px;
  font: 700 12px/1.45 Consolas, "Courier New", monospace;
  overflow-wrap: anywhere;
}

.pix-qr-image {
  width: min(100%, 280px);
  height: auto;
  justify-self: center;
  border: 10px solid #ffffff;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(21, 51, 35, 0.12);
}

.pix-qr-image[hidden] {
  display: none;
}

.copy-button {
  min-height: 48px;
  border: 0;
  border-radius: 14px;
  background: #10244a;
  color: #ffffff;
  cursor: pointer;
  font-weight: 900;
}

.delivery-result {
  display: grid;
  gap: 10px;
  border: 1px solid #c9d8f5;
  border-radius: 18px;
  background: #f3f7ff;
  padding: 18px;
}

.delivery-result[hidden] {
  display: none;
}

.delivery-result.is-ready {
  gap: 14px;
  border: 0;
  background: transparent;
  padding: 0;
}

.delivery-title,
.delivery-help {
  margin: 0;
}

.delivery-title {
  color: #172f59;
  font-size: 18px;
  font-weight: 950;
}

.delivery-result.is-ready .delivery-title {
  color: #071a31;
}

.delivery-help {
  color: #526889;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}

.delivered-codes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.delivered-code {
  display: grid;
  min-width: min(100%, 290px);
  gap: 8px;
  border: 1px solid #b9dfc8;
  border-radius: 14px;
  background: #ffffff;
  padding: 12px 14px;
}

.delivered-code span {
  color: #11a979;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.delivered-code strong {
  color: #153323;
  font: 800 14px/1.2 Consolas, "Courier New", monospace;
  letter-spacing: 0.04em;
}

.checkout-card.is-complete .checkout-content {
  padding: 24px;
}

.order-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.order-summary article {
  display: grid;
  min-height: 72px;
  align-content: center;
  gap: 8px;
  border: 1px solid var(--checkout-border);
  border-radius: 16px;
  background: #f8faff;
  padding: 14px 16px;
}

.order-summary span,
.codes-release-head span {
  color: #8393b7;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.order-summary strong {
  color: #10244a;
  font-size: 14px;
  font-weight: 950;
}

.delivery-confirmation {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
  border: 1px solid #c9d8f5;
  border-radius: 18px;
  background: #f3f7ff;
  padding: 18px;
}

.delivery-result.is-ready .delivery-confirmation {
  border-color: var(--checkout-green-border);
  background: var(--checkout-green-soft);
}

.confirmation-icon {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border: 2px solid #6a83aa;
  border-radius: 50%;
  color: #6a83aa;
  font-size: 13px;
  font-weight: 950;
}

.delivery-result.is-ready .confirmation-icon {
  border-color: #00a66f;
  color: #00a66f;
}

.confirmation-time {
  margin: 14px 0 0;
  color: #56748b;
  font-size: 12px;
  font-weight: 700;
}

.email-status-pill {
  border-radius: 999px;
  background: #c9f8df;
  color: #008a5c;
  padding: 7px 12px;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: .13em;
  text-transform: uppercase;
  white-space: nowrap;
}

.codes-release {
  display: grid;
  gap: 14px;
  border: 1px solid var(--checkout-border);
  border-radius: 18px;
  background: #f7faff;
  padding: 18px;
}

.codes-release-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.codes-release-head p {
  margin: 7px 0 0;
  color: #526889;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.55;
}

.codes-release-head button {
  min-height: 54px;
  flex: 0 0 208px;
  border: 1px solid var(--checkout-border);
  border-radius: 14px;
  background: #ffffff;
  color: #10244a;
  cursor: pointer;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 900;
}

.whatsapp-group-card {
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  background: #f0fdf4;
  color: #334155;
  padding: 16px;
}

.whatsapp-group-card p {
  margin: 0 0 10px;
  color: #166534;
  font-size: 14px;
  font-weight: 800;
}

.whatsapp-group-card span {
  display: block;
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.5;
}

.whatsapp-group-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 11px 16px;
  border-radius: 8px;
  background: #16a34a;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.whatsapp-group-card a:hover {
  background: #15803d;
}

.delivery-support {
  margin: 0;
  border: 1px solid #c9e2ff;
  border-radius: 14px;
  background: #eef8ff;
  color: #23466d;
  padding: 12px 14px;
  font-size: 12px;
  line-height: 1.7;
}

.delivery-support strong {
  color: #071a31;
  font-weight: 950;
}

.delivery-support-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: 12px;
  padding: 10px 16px;
  border-radius: 10px;
  background: #16a34a;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
}

.delivery-support-button:hover,
.delivery-support-button:focus-visible {
  background: #15803d;
}

@media (max-width: 640px) {
  .checkout-shell {
    width: min(100% - 20px, 700px);
    padding-top: 14px;
  }

  .checkout-topbar {
    gap: 10px;
  }

  .checkout-link {
    min-height: 40px;
    border-radius: 14px;
    font-size: 12px;
    padding: 0 10px;
  }

  .checkout-card {
    border-radius: 24px;
  }

  .checkout-hero {
    min-height: 206px;
    padding: 30px 18px 34px;
  }

  .checkout-content {
    padding: 18px;
  }

  .checkout-card.is-complete .checkout-content {
    padding: 16px;
  }

  .notice {
    font-size: 12px;
    padding: 12px;
  }

  .payment-option {
    align-items: flex-start;
    flex-direction: column;
  }

  .selected-pill {
    margin-left: 54px;
  }
  .coupon-input-row { grid-template-columns: 1fr; }
  .coupon-input-row button { min-height: 46px; }

  .trust-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .order-summary {
    grid-template-columns: 1fr;
  }

  .order-summary article {
    min-height: 62px;
  }

  .delivery-confirmation {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .email-status-pill {
    grid-column: 2;
    justify-self: start;
  }

  .codes-release-head {
    align-items: stretch;
    flex-direction: column;
  }

  .codes-release-head button {
    width: 100%;
    min-height: 48px;
    flex-basis: auto;
  }

  .delivered-code {
    width: 100%;
  }

  .delivery-support-button {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .checkout-topbar {
    flex-direction: column;
    align-items: stretch;
  }

  .checkout-link {
    width: 100%;
  }

  .trust-row {
    grid-template-columns: 1fr;
  }
}

/* Compact checkout template */
:root {
  --checkout-bg: #f1f3f7;
  --checkout-text: #151927;
  --checkout-muted: #626777;
  --checkout-border: #d9dadd;
  --checkout-purple: #7058ed;
  --checkout-purple-soft: #9184f3;
  --checkout-green: #198735;
  --checkout-green-soft: #effcf6;
  --checkout-green-border: #00b98b;
  --checkout-blue-soft: #f0f3ff;
  --checkout-shadow: 0 18px 45px rgba(35, 42, 57, 0.12);
}

html,
body {
  background: #eef1f6;
}

body {
  display: grid;
  min-height: 100vh;
  align-items: start;
  justify-items: center;
}

.checkout-shell {
  width: min(100% - 28px, 360px);
  justify-self: center;
  padding: 18px 0 26px;
}

.checkout-topbar {
  margin-bottom: 10px;
}

.checkout-link {
  min-height: 30px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  box-shadow: none;
  color: #3e4658;
  font-size: 10px;
  font-weight: 800;
  padding: 0 5px;
}

.checkout-link:hover {
  border-color: transparent;
  box-shadow: none;
  color: #262b38;
}

.checkout-card {
  border: 0;
  border-radius: 9px;
  box-shadow: 0 20px 54px rgba(35, 42, 57, 0.13);
}

.checkout-hero {
  min-height: 119px;
  padding: 22px 18px 23px;
  background: linear-gradient(135deg, #7058ed, #9184f3);
}

.checkout-product {
  margin-bottom: 4px;
  font-size: 10px;
  font-weight: 800;
}

.checkout-title {
  font-size: 18px;
  font-weight: 800;
}

.checkout-price {
  margin-top: 10px;
  font-size: 27px;
  font-weight: 900;
}

.checkout-content {
  padding: 18px 18px 15px;
}

.checkout-content > .notice {
  display: none;
}

.checkout-form {
  gap: 12px;
}

.field {
  gap: 5px;
}

.field label {
  color: #242632;
  font-size: 10px;
  font-weight: 700;
}

.field input {
  min-height: 35px;
  border: 1px solid #d5d7dd;
  border-radius: 8px;
  color: #242632;
  padding: 0 11px;
  font-size: 11px;
  font-weight: 400;
}

.field input::placeholder {
  color: #b3b5bb;
}

.field input:focus {
  border-color: #8f80ef;
  box-shadow: 0 0 0 3px rgba(112, 88, 237, 0.12);
}

.coupon-field {
  border: 1px dashed #d3d4da;
  border-radius: 9px;
  background: #fafafa;
  padding: 9px;
}

.coupon-input-row {
  gap: 6px;
}

.coupon-input-row button {
  min-width: 64px;
  border-radius: 7px;
  background: #353944;
  padding: 0 10px;
  font-size: 10px;
  font-weight: 700;
}

.coupon-feedback {
  min-height: 0;
  font-size: 11px;
  font-weight: 600;
}

.coupon-feedback:empty {
  display: none;
}

.payment-option {
  min-height: 50px;
  margin-top: 0;
  border: 1px solid #00b98b;
  border-radius: 8px;
  background: #effcf6;
  padding: 9px 11px;
}

.payment-icon {
  width: 24px;
  height: 24px;
  border-radius: 10px;
  background: transparent;
  color: #2bbfab;
}

.payment-name {
  color: #111522;
  font-size: 11px;
  font-weight: 800;
}

.payment-subtitle {
  color: #5d626d;
  font-size: 9px;
  font-weight: 400;
}

.selected-pill {
  border-color: #00b98b;
  background: transparent;
  color: #00a77d;
  padding: 4px 8px;
  font-size: 9px;
  font-weight: 700;
}

.checkout-form > .notice {
  margin: 1px 0 4px;
  border-color: #b9c7ff;
  border-radius: 6px;
  background: #f0f3ff;
  color: #3346d3;
  padding: 10px 11px;
  font-size: 9px;
  font-weight: 400;
  line-height: 1.55;
}

.checkout-form > .notice svg {
  width: 13px;
  height: 13px;
}

.checkout-form > .notice svg {
  color: #4757e8;
}

.checkout-form > .payer-document-warning {
  border-color: rgba(245, 158, 11, 0.42);
  background: #fff7e6;
  color: #7c4a03;
}

.checkout-form > .payer-document-warning svg {
  color: #d97706;
}

.submit-button {
  min-height: 40px;
  margin-top: 0;
  border-radius: 7px;
  background: #198735;
  box-shadow: none;
  font-size: 14px;
  font-weight: 800;
  text-transform: none;
}

.submit-button:hover {
  background: #14772d;
  box-shadow: 0 10px 22px rgba(25, 135, 53, 0.2);
}

.secure-text {
  position: relative;
  margin-top: 10px;
  color: #646976;
  font-size: 9px;
  font-weight: 400;
}

.secure-text::before {
  content: "\1F6E1";
  margin-right: 6px;
  color: #69707d;
}

.trust-row {
  display: flex;
  gap: 0;
  justify-content: center;
  margin-top: 12px;
  border-top: 1px solid #e3e4e7;
  padding-top: 10px;
}

.trust-pill {
  min-height: auto;
  border: 0;
  border-right: 1px solid #dedfe3;
  border-radius: 0;
  background: transparent;
  color: #747985;
  padding: 0 8px;
  font-size: 7px;
  font-weight: 400;
}

.trust-pill:last-child {
  border-right: 0;
}

.trust-pill svg {
  width: 8px;
  height: 8px;
  color: #23bba7;
}

html[data-site="recargasite.com"] {
  --checkout-bg: #f6f9ff;
  --checkout-border: #dbeafe;
  --checkout-purple: #2563eb;
  --checkout-purple-soft: #38bdf8;
  --checkout-blue-soft: #eff6ff;
}

html[data-site="recargasite.com"][data-page="checkout"] body {
  background:
    radial-gradient(circle at 16% 0%, rgba(37, 99, 235, 0.14), transparent 28rem),
    radial-gradient(circle at 100% 12%, rgba(34, 211, 238, 0.12), transparent 30rem),
    linear-gradient(180deg, #f8fbff 0%, #f6f9ff 58%, #eef6ff 100%);
}

@media (max-width: 520px) {
  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }

  body {
    display: block;
  }

  .checkout-shell {
    width: min(100% - 20px, 360px);
    max-width: calc(100vw - 20px);
    padding: 12px 0 20px;
  }

  .checkout-topbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    margin-bottom: 8px;
  }

  .checkout-link {
    width: 100%;
    min-width: 0;
    justify-content: center;
    overflow: hidden;
    padding: 0 6px;
    white-space: nowrap;
  }

  .checkout-card {
    border-radius: 9px;
  }

  .checkout-compat {
    gap: 10px;
    padding: 12px;
  }

  .compat-chip {
    min-height: 27px;
    padding: 0 9px;
    font-size: 11px;
  }

  .checkout-hero {
    min-height: 119px;
    padding: 22px 16px 23px;
  }

  .checkout-content {
    padding: 18px 18px 15px;
  }

  .payment-option {
    align-items: center;
    flex-direction: row;
    gap: 8px;
    min-width: 0;
    padding: 9px 10px;
  }

  .payment-main {
    min-width: 0;
    gap: 8px;
  }

  .payment-name,
  .payment-subtitle {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .selected-pill {
    flex: 0 0 auto;
    margin-left: 0;
    padding: 4px 7px;
  }

  .coupon-input-row {
    grid-template-columns: minmax(0, 1fr) 68px;
  }

  .coupon-input-row input {
    min-width: 0;
  }

  .coupon-input-row button {
    min-width: 0;
    min-height: 46px;
    padding: 0 8px;
  }

  .trust-row {
    flex-wrap: wrap;
    row-gap: 10px;
  }
}

@media (max-width: 360px) {
  .checkout-topbar {
    align-items: center;
    flex-direction: row;
  }

  .checkout-link {
    width: auto;
    font-size: 11px;
  }

  .coupon-input-row {
    grid-template-columns: 1fr;
  }

  .payment-option {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (min-width: 521px) {
  .checkout-shell {
    width: min(100% - 28px, 480px);
    padding: 36px 0;
  }

  .checkout-topbar {
    margin-bottom: 12px;
  }

  .checkout-link {
    min-height: 36px;
    font-size: 12px;
  }

  .checkout-card {
    border-radius: 16px;
    box-shadow: var(--checkout-shadow);
  }

  .checkout-hero {
    min-height: 158px;
    padding: 28px 22px 30px;
  }

  .checkout-product {
    margin-bottom: 5px;
    font-size: 15px;
    font-weight: 500;
  }

  .checkout-title {
    font-size: 23px;
  }

  .checkout-price {
    margin-top: 15px;
    font-size: 34px;
  }

  .checkout-content {
    padding: 26px 24px 22px;
  }

  .checkout-form {
    gap: 16px;
  }

  .field {
    gap: 6px;
  }

  .field label {
    font-size: 14px;
    font-weight: 500;
  }

  .field input {
    min-height: 46px;
    border-radius: 10px;
    padding: 0 14px;
    font-size: 15px;
  }

  .coupon-field {
    border-radius: 12px;
    padding: 12px;
  }

  .coupon-input-row {
    gap: 7px;
  }

  .coupon-input-row button {
    min-width: 86px;
    border-radius: 9px;
    padding: 0 14px;
    font-size: 13px;
  }

  .payment-option {
    min-height: 69px;
    border-width: 2px;
    border-radius: 11px;
    padding: 12px 14px;
  }

  .payment-icon {
    width: 38px;
    height: 38px;
  }

  .payment-name {
    font-size: 15px;
  }

  .payment-subtitle {
    font-size: 12px;
  }

  .selected-pill {
    padding: 6px 11px;
    font-size: 12px;
  }

  .checkout-form > .notice {
    margin: 4px 0 8px;
    border-radius: 10px;
    padding: 13px 14px;
    font-size: 12px;
  }

  .checkout-form > .notice svg {
    width: 18px;
    height: 18px;
  }

  .submit-button {
    min-height: 53px;
    border-radius: 11px;
    font-size: 16px;
  }

  .secure-text {
    margin-top: 14px;
    font-size: 12px;
  }

  .trust-row {
    margin-top: 15px;
    padding-top: 13px;
  }

  .trust-pill {
    padding: 0 10px;
    font-size: 10px;
  }

  .trust-pill svg {
    width: 12px;
    height: 12px;
  }
}

@media (max-width: 520px) {
  .checkout-shell {
    width: min(100% - 20px, 480px);
    padding: 18px 0 24px;
  }

  .checkout-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
  }

  .checkout-link {
    width: auto;
    min-height: 36px;
    border: 1px solid var(--checkout-border);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.78);
    box-shadow: 0 8px 24px rgba(47, 76, 126, 0.08);
    color: #16305b;
    font-size: 12px;
    padding: 0 10px;
  }

  .checkout-card {
    border: 1px solid rgba(211, 224, 255, 0.92);
    border-radius: 16px;
    box-shadow: var(--checkout-shadow);
  }

  .checkout-compat {
    gap: 10px;
    padding: 12px;
  }

  .checkout-compat-group h2 {
    font-size: 12px;
    white-space: nowrap;
  }

  .compat-chip {
    min-height: 27px;
    padding: 0 9px;
    font-size: 11px;
  }

  .checkout-hero {
    min-height: 158px;
    padding: 28px 20px 30px;
  }

  .checkout-product {
    margin-bottom: 5px;
    font-size: 15px;
    font-weight: 500;
  }

  .checkout-title {
    font-size: 23px;
    font-weight: 800;
  }

  .checkout-price {
    margin-top: 15px;
    font-size: 34px;
  }

  .checkout-content,
  .checkout-card.is-complete .checkout-content {
    padding: 22px 18px 20px;
  }

  .checkout-form {
    gap: 16px;
  }

  .field {
    gap: 6px;
  }

  .field label {
    font-size: 14px;
    font-weight: 500;
  }

  .field input {
    min-height: 46px;
    border-radius: 10px;
    padding: 0 14px;
    font-size: 15px;
  }

  .coupon-field {
    border-radius: 12px;
    padding: 12px;
  }

  .coupon-input-row {
    grid-template-columns: minmax(0, 1fr) 86px;
    gap: 7px;
  }

  .coupon-input-row button {
    min-width: 0;
    min-height: 46px;
    border-radius: 9px;
    padding: 0 10px;
    font-size: 13px;
  }

  .payment-option {
    align-items: center;
    flex-direction: row;
    gap: 10px;
    min-height: 69px;
    border-width: 2px;
    border-radius: 11px;
    padding: 12px 14px;
  }

  .payment-icon {
    width: 38px;
    height: 38px;
  }

  .payment-name {
    font-size: 15px;
  }

  .payment-subtitle {
    font-size: 12px;
  }

  .selected-pill {
    margin-left: 0;
    padding: 6px 10px;
    font-size: 11px;
  }

  .checkout-form > .notice {
    margin: 4px 0 8px;
    border-radius: 10px;
    padding: 13px 14px;
    font-size: 12px;
  }

  .checkout-form > .notice svg {
    width: 18px;
    height: 18px;
  }

  .submit-button {
    min-height: 53px;
    border-radius: 11px;
    font-size: 16px;
  }

  .order-summary {
    grid-template-columns: 1fr;
  }

  .delivery-confirmation {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .email-status-pill {
    grid-column: 2;
    justify-self: start;
  }

  .codes-release-head {
    align-items: stretch;
    flex-direction: column;
  }

  .codes-release-head button,
  .whatsapp-group-card a {
    width: 100%;
  }

  .trust-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .trust-pill {
    border: 1px solid var(--checkout-border);
    border-radius: 12px;
    background: #f9fbff;
    padding: 0 8px;
    font-size: 10px;
  }

  .trust-pill svg {
    width: 12px;
    height: 12px;
  }
}

@media (max-width: 360px) {
  .checkout-compat {
    grid-template-columns: 1fr;
  }

  .checkout-compat-group h2 {
    white-space: normal;
  }

  .checkout-topbar {
    display: grid;
    grid-template-columns: 1fr;
  }

  .checkout-link {
    width: 100%;
  }

  .coupon-input-row {
    grid-template-columns: 1fr;
  }

  .payment-option {
    align-items: flex-start;
    flex-direction: column;
  }
}
