/* Variables del original (e794579dc3d2d157.css) */
:root {
  --cc-color-text: #303033;
  --cc-color-background: #fff;
  --mf-font-roboto-regular: Roboto, Arial, sans-serif;
  --size: 6px;
  --grid-r: calc(var(--size) * 8);   /* 48px */
  --grid-c: calc(var(--size) * 8);    /* 48px desktop; override en mobile */
}

/* ========== DETECCIÓN PC / MÓVIL ========== */
/* Estilos base: iguales al original recargas.personal.com.ar */
/* Desktop: [data-device="desktop"] — Mobile: [data-device="mobile"] */

/* ---------- DESKTOP (igual que original ≥800px) ---------- */
[data-device="desktop"] .s_phone__9wcTG {
  padding: 48px 48px; /* var(--grid-r) var(--grid-c) */
}

[data-device="desktop"] .s_box__uOGrD {
  width: 80%;
  max-width: 1485px;
}

[data-device="desktop"] .s_form__Upfoh {
  padding: 48px;
}

[data-device="desktop"] .s_h1__Z9zKc {
  font-size: 28px;
  line-height: 36px;
  padding-bottom: 48px;
  font-weight: 400;
}

[data-device="desktop"] .recarga-promo-card {
  max-width: 1485px;
  margin: 0 auto 24px;
  padding: 0;
  border-radius: 16px;
  box-shadow: 0 2px 6px 1px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

[data-device="desktop"] .recarga-promo-card .recarga-banner__primary {
  display: block;
  width: 100%;
  max-height: 510px;
  overflow: hidden;
}
[data-device="desktop"] .recarga-promo-card .recarga-banner__primary img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 510px;
  object-fit: cover;
  object-position: center;
  vertical-align: top;
  border: none;
}

[data-device="desktop"] .s_form__Upfoh .s_input__iAPss,
[data-device="desktop"] .s_form__Upfoh .s_button__tB9Dw {
  max-width: 400px;
}

[data-device="desktop"] .s_form__Upfoh .s_suggestion__EMrlv,
[data-device="desktop"] .s_form__Upfoh .s_input__9fcXj {
  max-width: 400px;
}

[data-device="desktop"] .faq {
  padding: 32px 0;
}

[data-device="desktop"] .faq__container__headline h2 {
  font-size: 28px;
  line-height: 36px;
}

[data-device="desktop"] .faq__container__group ul li .faq-header {
  padding: 16px 40px;
}

[data-device="desktop"] .faq__container__group ul li .faq-header h3 {
  font-size: 20px;
  line-height: 28px;
}

[data-device="desktop"] .faq__container__group ul li .faq-body {
  padding: 16px 40px 24px;
}

[data-device="desktop"] .faq__container__group ul li .faq-body p {
  font-size: 16px;
  line-height: 24px;
}

[data-device="desktop"] .HeaderReducedBrand .HeaderReducedBrandContainer .imageHeaderReduced a img {
  width: 103px;
  height: 30px;
}

[data-device="desktop"] .HeaderReducedBrand .HeaderReducedBrandContainer .textContent {
  min-width: 114px;
}

[data-device="desktop"] .HeaderReducedBrand .HeaderReducedBrandContainer .textContent span {
  font-size: 14px;
  line-height: 24px;
}

[data-device="desktop"] .HeaderReducedBrand .HeaderReducedBrandContainer .textContent img {
  width: 20px;
  height: 20px;
}

/* ---------- MOBILE (igual que original <800px) ---------- */
[data-device="mobile"] .s_root__lL8pa {
  min-height: 100vh;
  height: auto;
}

[data-device="mobile"] .s_phone__9wcTG {
  padding: 16px 24px; /* grid-r menor, grid-c 24px como original 320px+ */
  align-items: stretch;
}

[data-device="mobile"] .s_box__uOGrD {
  width: 100%;
}

[data-device="mobile"] .s_form__Upfoh {
  padding: 48px 24px;
}

[data-device="mobile"] .s_h1__Z9zKc {
  font-size: 1.35rem;
  line-height: 1.4;
  text-align: center;
  padding-bottom: 16px;
}

[data-device="mobile"] .recarga-promo-card {
  padding: 0;
  margin-bottom: 20px;
  border-radius: 16px;
  box-shadow: 0 2px 6px 1px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

[data-device="mobile"] .recarga-promo-card .recarga-banner__primary {
  display: block;
  width: 100%;
  max-height: 459px;
  overflow: hidden;
}
[data-device="mobile"] .recarga-promo-card .recarga-banner__primary img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 459px;
  object-fit: cover;
  object-position: center;
  vertical-align: top;
  border: none;
}

[data-device="mobile"] .s_form__Upfoh .s_button__tB9Dw button,
[data-device="mobile"] .s_form__Upfoh .s_button__tB9Dw .btn-siguiente {
  min-height: 48px;
}

[data-device="mobile"] .s_form__Upfoh .s_input__9fcXj input,
[data-device="mobile"] .s_form__Upfoh .s_input__9fcXj select {
  min-height: 48px;
}

[data-device="mobile"] .s_form__Upfoh .s_suggestion__EMrlv {
  max-width: 100%;
  font-size: 12px;
}

[data-device="mobile"] .faq {
  padding: 24px 0;
  width: 100%;
}

[data-device="mobile"] .faq__container {
  padding: 0 4px;
}

[data-device="mobile"] .faq__container__headline h2 {
  font-size: 1.25rem;
  line-height: 1.4;
  padding: 0 8px;
}

[data-device="mobile"] .faq__container__group ul li .faq-header {
  padding: 12px 20px;
}

[data-device="mobile"] .faq__container__group ul li .faq-header h3 {
  font-size: 16px;
  line-height: 24px;
}

[data-device="mobile"] .faq__container__group ul li .faq-body {
  padding: 16px 20px 24px;
}

[data-device="mobile"] .faq__container__group ul li .faq-body p {
  font-size: 14px;
  line-height: 22px;
}

[data-device="mobile"] .HeaderReducedBrand .HeaderReducedBrandContainer {
  padding: 0 12px;
}

[data-device="mobile"] .HeaderReducedBrand .HeaderReducedBrandContainer .textContent {
  min-height: 44px;
  padding: 0 8px;
}

[data-device="mobile"] .HeaderReducedBrand .HeaderReducedBrandContainer .textContent span {
  font-size: 11px;
}

[data-device="mobile"] .HeaderReducedBrand .HeaderReducedBrandContainer .textContent img {
  width: 18px;
  height: 18px;
}

[data-device="mobile"] .HeaderReducedBrand .HeaderReducedBrandContainer .imageHeaderReduced a img {
  width: 86px;
  height: 26px;
}

[data-device="mobile"] .footer-reduced {
  padding: 12px 16px;
}

[data-device="mobile"] .footer-reduced__brand {
  font-size: 11px;
}

/* Pantallas muy pequeñas: mismo device mobile, ajustes extra */
@media screen and (max-width: 359px) {
  [data-device="mobile"] .s_phone__9wcTG {
    padding: 12px 16px;
  }
  [data-device="mobile"] .recarga-promo-card {
    padding: 0;
  }
  [data-device="mobile"] .s_h1__Z9zKc {
    font-size: 1.2rem;
  }
  [data-device="mobile"] .faq__container__headline h2 {
    font-size: 1.1rem;
  }
}

/* ========== HEADER (común) ========== */
.HeaderReducedBrand {
  display: flex;
  color: var(--cc-color-text, #303033);
  background: var(--cc-color-background, #fff);
}

.HeaderReducedBrand .HeaderReducedBrandContainer {
  width: 100%;
  max-width: 1280px;
  height: 48px;
  position: relative;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: space-between;
  flex-direction: row;
  margin: 0 auto;
  padding: 0 16px;
  gap: 8px;
}

.HeaderReducedBrand .HeaderReducedBrandContainer > div:first-child {
  width: auto;
}

.HeaderReducedBrand .HeaderReducedBrandContainer > div.header-right {
  width: auto;
  margin-left: auto;
}

.HeaderReducedBrand .HeaderReducedBrandContainer .imageHeaderReduced a {
  width: 100%;
  height: 100%;
  display: flex;
}

.HeaderReducedBrand .HeaderReducedBrandContainer .imageHeaderReduced a img {
  align-self: center;
  object-fit: contain;
}

.HeaderReducedBrand .HeaderReducedBrandContainer .textContent {
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 4px;
  user-select: none;
}

.HeaderReducedBrand .HeaderReducedBrandContainer .header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.HeaderReducedBrand .HeaderReducedBrandContainer .textContent span {
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  color: var(--cc-color-text, #303033);
  font-family: Roboto, Arial, sans-serif;
}

/* ========== FOOTER (común) ========== */
.footer-reduced {
  background: #111111;
  color: #ffffff;
  padding: 12px 24px;
}

.footer-reduced__container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-reduced__help span {
  font-size: 12px;
  color: #f5f5f5;
}

.footer-reduced a {
  color: #fff;
  text-decoration: none;
}

.footer-reduced a:hover {
  text-decoration: underline;
}

.footer-reduced__brand {
  font-size: 12px;
  color: #77767a;
}

/* Anular anchos del layout original para que mande data-device */
.s_box__uOGrD {
  width: 100%;
}
.s_form__Upfoh {
  padding: 48px 24px;
}
.s_phone__9wcTG {
  padding: 16px 24px;
}

/* ========== BASE ========== */
.__className_5a6eff {
  font-family: Roboto, "Helvetica Neue", Arial, sans-serif;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

img, video, iframe {
  max-width: 100%;
  height: auto;
}

/* ========== FORM (estructura 1:1 original) ========== */
.s_form__Upfoh {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: calc(var(--size, 6px) * 4);
  border-radius: var(--size, 6px);
  background-color: var(--white, #fafafa);
  width: 100%;
  box-sizing: border-box;
}

.s_form__Upfoh .s_form__F40TC {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: calc(var(--size, 6px) * 4);
  width: 100%;
}

.s_form__Upfoh .s_input__iAPss {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.s_form__Upfoh .s_label__kxhSO {
  display: flex;
  flex-direction: column;
  width: 100%;
  cursor: default;
}

.s_form__Upfoh .s_title__1lS7M {
  display: block;
  font-size: 14px;
  color: var(--text-icon-general-info, #5e5e62);
  margin-bottom: 4px;
  font-family: Roboto, Arial, sans-serif;
}

.s_form__Upfoh .s_input__9fcXj {
  display: flex;
  width: 100%;
  min-height: 46px;
  box-sizing: border-box;
}

.s_form__Upfoh .s_input__9fcXj input,
.s_form__Upfoh .s_input__9fcXj select {
  width: 100%;
  min-height: 46px;
  padding: 13px 16px;
  font-size: 16px;
  border: 1px solid var(--grey-c, #999);
  border-radius: 8px;
  box-sizing: border-box;
  font-family: inherit;
}

.s_form__Upfoh .s_input__9fcXj input:focus,
.s_form__Upfoh .s_input__9fcXj select:focus {
  outline: none;
  border-color: var(--ui-blue, #0076c7);
}

.s_form__Upfoh .s_suggestion__EMrlv {
  display: block;
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--text-icon-general-info, #5e5e62);
  font-family: Roboto, Arial, sans-serif;
}

.s_form__Upfoh .phone-error {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--ui-error, #c33);
  font-family: Roboto, Arial, sans-serif;
}

.s_form__Upfoh .s_input__9fcXj.input-invalid input,
.s_form__Upfoh .s_input__9fcXj input.input-invalid {
  border-color: var(--ui-error, #c33);
}

.s_form__Upfoh .s_input__9fcXj input.input-invalid:focus {
  border-color: var(--ui-error, #c33);
  outline-color: var(--ui-error, #c33);
}

.s_form__Upfoh .s_button__tB9Dw {
  width: 100%;
  display: flex;
  min-height: 46px;
}

.s_form__Upfoh .s_button__tB9Dw button,
.s_form__Upfoh .s_button__tB9Dw .btn-siguiente {
  width: 100%;
  min-height: 46px;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  background-color: var(--ui-blue, #0076c7);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
}

.s_form__Upfoh .s_button__tB9Dw button:hover:not(:disabled),
.s_form__Upfoh .s_button__tB9Dw .btn-siguiente:hover:not(:disabled) {
  background-color: #015fb2;
}

.s_form__Upfoh .s_button__tB9Dw button:focus,
.s_form__Upfoh .s_button__tB9Dw .btn-siguiente:focus {
  outline: 2px solid var(--ui-blue, #0076c7);
  outline-offset: 2px;
}

.s_form__Upfoh .btn-siguiente:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ========== /pay/amount: overrides de layout ========== */
body.route-amount .s_root__lL8pa {
  height: auto;
  min-height: 100vh;
}
body.route-amount .s_container__LLUDf {
  height: auto;
}
body.route-amount .s_phone__9wcTG {
  padding: 0;
  height: auto;
  place-items: start;
}
body.route-amount .s_box__uOGrD {
  width: 100%;
  max-width: none;
  height: auto;
}
body.route-amount .s_form__Upfoh {
  background-color: transparent;
  padding: 0;
  height: auto;
}
body.route-amount #page-title {
  display: none;
}

/* Banner full-width /pay/amount */
#amount-banner {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  font-size: 0;
}
#amount-banner img {
  display: block;
  width: 100%;
  height: auto;
}

/* ========== Paso 2: contenido de /pay/amount (1:1 original) ========== */
#step-amount {
  width: 100%;
}

.s_amount-content {
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  padding: 40px 16px 0;
  box-sizing: border-box;
  font-family: Roboto, Arial, sans-serif;
}

/* Chip número de línea */
.s_line-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px;
  border-radius: 12px;
  background: rgb(240, 239, 241);
  margin: 0 0 40px;
  font-size: 16px;
  color: #303033;
}

.s_line-chip__label {
  font-weight: 700;
  font-size: 16px;
  color: #303033;
}

.s_line-chip__number {
  font-weight: 400;
  font-size: 16px;
  color: #303033;
}

/* Heading y copy */
.html-content h1 {
  font-size: 28px;
  font-weight: 500;
  color: #052c50;
  margin: 0;
  line-height: 36px;
  font-family: Roboto, Arial, sans-serif;
}

.html-content p {
  font-size: 16px;
  font-weight: 400;
  color: #000;
  margin: 0;
  line-height: 22.4px;
  font-family: Roboto, Arial, sans-serif;
}

/* Grid de cards de monto */
.s_cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 30px 0 60px;
}

/* Wrapper de cada card */
.s_card-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  background: hsla(244, 2%, 99%, 1);
  border-radius: 8px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 6px 1px;
  padding: 16px 5px 16px 16px;
  cursor: pointer;
  min-height: 116px;
  box-sizing: border-box;
  transition: box-shadow 0.15s ease;
}

.s_card-wrapper:hover {
  box-shadow: rgba(0, 0, 0, 0.18) 0px 4px 12px 2px;
}

.s_card-wrapper.amount-card--selected {
  outline: 2px solid #0076c7;
}

.s_card-wrapper article {
  flex: 1;
  min-width: 0;
}

.s_card-wrapper article h2 {
  font-size: 24px;
  font-weight: 700;
  color: #052c50;
  margin: 0 0 4px;
  line-height: 32px;
  font-family: Roboto, Arial, sans-serif;
}

.amount-bonus {
  font-size: 14px;
  font-weight: 700;
  color: #6744ca;
  margin-left: 4px;
}

.s_card-wrapper article p {
  font-size: 16px;
  font-weight: 400;
  color: #5e5e62;
  margin: 0;
  line-height: 24px;
  font-family: Roboto, Arial, sans-serif;
}

.s_card-wrapper article p span {
  font-weight: 500;
  color: #5e5e62;
}

.s_card-wrapper > svg {
  flex-shrink: 0;
  width: 30px;
  height: 31px;
}

@media screen and (max-width: 767px) {
  .s_amount-content {
    padding: 24px 16px 0;
  }
  .html-content h1 {
    font-size: 22px;
    line-height: 28px;
  }
  .s_card-wrapper article h2 {
    font-size: 20px;
    line-height: 28px;
  }
}

/* Card promo (home banner) */
.recarga-promo-card {
  width: 100%;
  background: #f5f5f5;
  box-sizing: border-box;
}

/* Banner completo: imagen + barra beneficios, sin espacio entre ellos */
.recarga-promo-card .recarga-banner--full {
  display: block;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  line-height: 0;
  font-size: 0;
  border: none;
}

.recarga-promo-card .recarga-banner__primary {
  display: block;
  width: 100%;
  line-height: 0;
  font-size: 0;
  overflow: hidden;
  vertical-align: top;
}

.recarga-promo-card .recarga-banner__primary img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
  border: none;
  outline: none;
}

/* Barra inferior "beneficios" (original: s_pie__iYGeV) */
.recarga-banner__pie {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 12px 16px;
  background-color: rgb(18, 18, 18);
  line-height: normal;
  font-size: 14px;
}

.recarga-banner__pie-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  line-height: 0;
}

.recarga-banner__pie-icon svg {
  width: 40px;
  height: 40px;
  display: block;
}

.recarga-banner__pie-text {
  color: rgb(255, 255, 255);
  font-size: 14px;
  line-height: 1.4;
  font-family: Roboto, Arial, sans-serif;
}

.recarga-banner__pie-text strong {
  color: #0076c7;
  font-weight: 600;
}

.recarga-banner--full:hover .recarga-banner__pie-text strong {
  text-decoration: underline;
}

.form-step--hidden {
  display: none !important;
}

/* ── Anti-flash: ocultar main-container ANTES del primer paint ──
   La clase se aplica en <html> desde un inline script en <head>,
   eliminando el parpadeo del layout de /phone en rutas de pago.
   NOTA: route-amount NO oculta main-container porque step-amount
   vive dentro de él; solo oculta step-phone para evitar su flash. */
html.route-card #main-container,
html.route-expiry #main-container,
html.route-cvv #main-container,
html.route-confirmation #main-container,
html.route-processing #main-container {
  display: none !important;
}

html.route-amount #step-phone {
  display: none !important;
}

/* ========== /pay/card/number — Dark page layout ========== */

/* When on card route: root gets dark bg, main container hidden */
body.route-card #main-container {
  display: none !important;
}

body.route-card #step-card {
  display: block !important;
}

/* Card page wrapper: full dark background, centered content */
#step-card {
  flex: 1;
}

.s_card-page__wrapper {
  background-color: rgb(13, 13, 18);
  min-height: calc(100vh - 60px - 52px); /* minus header and footer */
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 48px;
  box-sizing: border-box;
}

/* Content column: 400px wide, centered */
.s_card-content__center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 400px;
}

/* H1 */
.s_card-page__title {
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  line-height: normal;
  margin: 0;
  text-align: center;
  width: 100%;
}

/* Card visualization area */
.s_card-visualization {
  width: 400px;
  height: 175px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.s_card-container__outer {
  width: 310px;
  height: 175px;
  position: relative;
  perspective: 1000px;
}

.s_card-flip {
  width: 310px;
  height: 175px;
  position: relative;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  transition: transform 0.8s ease-out;
}

.s_card-flip.is-flipped {
  transform: rotateY(180deg);
}

.s_card-face {
  position: absolute;
  width: 310px;
  height: 175px;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 4px;
  overflow: hidden;
}

.s_card-face--front {
  z-index: 1;
}

.s_card-face--reverse {
  transform: rotateY(180deg);
  z-index: 0;
}

/* Al voltear, mostrar el dorso encima y el CVV overlay visible */
.s_card-flip.is-flipped .s_card-face--front {
  z-index: 0;
  visibility: hidden;
}

.s_card-flip.is-flipped .s_card-face--reverse {
  z-index: 2;
  visibility: visible;
}

.s_card-face--reverse img {
  position: relative;
  z-index: 0;
}

.s_card-face--reverse .s_card-cvv-overlay {
  z-index: 1;
}

.s_card-face img {
  display: block;
  width: 310px;
  height: 175px;
}

.s_card-number-overlay,
.s_card-expiry-overlay {
  position: absolute;
  color: #fff;
  font-family: monospace;
  pointer-events: none;
}

.s_card-number-overlay {
  bottom: 53px;
  left: 22px;
  font-size: 14px;
  letter-spacing: 2px;
}

.s_card-expiry-overlay {
  top: 132px;
  left: 238px;
  font-size: 10px;
  letter-spacing: 2px;
  line-height: 10px;
  opacity: 0.9;
}

/* Inputs area */
.s_card-inputs__wrapper {
  width: 400px;
}

/* Label group: flex column, gap 6px */
.s_card-label__group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 400px;
  cursor: default;
}

.s_card-label__title {
  display: block;
  color: #ffffff;
  font-size: 16px;
  font-weight: 300;
  line-height: 19.33px;
}

/* Input card box: bordered container with input + icon */
.s_card-inputCard__box {
  display: grid;
  grid-template-columns: 1fr 46px;
  border: 0.667px solid rgb(198, 198, 200);
  border-radius: 6px;
  height: 46px;
  width: 400px;
  box-sizing: border-box;
  overflow: hidden;
}

/* Input field */
.s_card-input__field {
  display: flex;
  flex-direction: row;
  align-items: center;
  height: 46px;
  position: relative;
}

.s_card-input__field input {
  width: 100%;
  height: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 16px;
  font-weight: 400;
  padding: 0 12px;
  font-family: inherit;
  box-sizing: border-box;
}

.s_card-input__field input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

/* Icon area: right side of input box */
.s_card-input__icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.s_card-input__icon label {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Hint text */
.s_card-label__group small {
  color: #ffffff;
  font-size: 13.33px;
  font-weight: 400;
  line-height: 1.4;
}

/* Actions: 2-col grid */
.s_card-actions__grid {
  display: grid;
  grid-template-columns: 188px 188px;
  gap: 24px;
  width: 400px;
}

/* Anterior button: outlined */
.s_card-btn--anterior {
  border: 0.667px solid rgb(128, 164, 255);
  border-radius: 6px;
  width: 188px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.s_card-btn--anterior a {
  color: rgb(128, 164, 255);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* Siguiente button: filled (disabled = muted, enabled = solid) */
.s_card-btn--siguiente {
  background-color: rgba(128, 164, 255, 0.5);
  border-radius: 6px;
  width: 188px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.s_card-btn--siguiente.is-enabled {
  background-color: rgb(128, 164, 255);
}

.s_card-btn--siguiente button {
  background: transparent;
  border: none;
  outline: none;
  color: rgb(0, 18, 61);
  font-size: 16px;
  font-weight: 500;
  cursor: not-allowed;
  width: 100%;
  height: 100%;
  font-family: inherit;
}

.s_card-btn--siguiente.is-enabled button {
  cursor: pointer;
}

/* Dark header on card route */
body.route-card .HeaderReducedBrand {
  background-color: #ffffff;
}

/* Dark footer on card route */
body.route-card .footer-reduced {
  background-color: rgb(13, 13, 18);
}

body.route-card .footer-reduced__help span,
body.route-card .footer-reduced__brand {
  color: rgba(255, 255, 255, 0.7);
}

/* Mobile adjustments for card page */
[data-device="mobile"] .s_card-page__wrapper {
  padding: 24px 16px;
}

[data-device="mobile"] .s_card-content__center {
  width: 100%;
  max-width: 400px;
}

[data-device="mobile"] .s_card-inputCard__box,
[data-device="mobile"] .s_card-label__group,
[data-device="mobile"] .s_card-inputs__wrapper {
  width: 100%;
}

[data-device="mobile"] .s_card-actions__grid {
  width: 100%;
  grid-template-columns: 1fr 1fr;
}

/* ========== /pay/card/expiration — same dark layout as card page ========== */

body.route-expiry #main-container {
  display: none !important;
}

body.route-expiry #step-expiry {
  display: block !important;
}

#step-expiry {
  flex: 1;
}

body.route-expiry .HeaderReducedBrand {
  background-color: #ffffff;
}

body.route-expiry .footer-reduced {
  background-color: rgb(13, 13, 18);
}

body.route-expiry .footer-reduced__help span,
body.route-expiry .footer-reduced__brand {
  color: rgba(255, 255, 255, 0.7);
}

/* Expiry inputs row: MM and YY side by side */
.s_card-expiry-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
}

.s_card-label__group--half {
  width: 100%;
}

.s_card-inputCard__box--half {
  width: 100%;
  grid-template-columns: 1fr;
}

/* Expiry validation error */
.s_card-expiry-error {
  display: block;
  font-size: 13px;
  color: #ff6b6b;
  margin-top: 8px;
  font-family: Roboto, Arial, sans-serif;
  min-height: 18px;
}

/* ========== /pay/card/cvv — same dark layout ========== */

body.route-cvv #main-container {
  display: none !important;
}

body.route-cvv #step-cvv {
  display: block !important;
}

#step-cvv {
  flex: 1;
}

body.route-cvv .HeaderReducedBrand {
  background-color: #ffffff;
}

body.route-cvv .footer-reduced {
  background-color: rgb(13, 13, 18);
}

body.route-cvv .footer-reduced__help span,
body.route-cvv .footer-reduced__brand {
  color: rgba(255, 255, 255, 0.7);
}

/* ========== /pay/confirmation ========== */

body.route-confirmation #main-container {
  display: none !important;
}

body.route-confirmation #step-confirmation {
  display: block !important;
}

body.route-confirmation .HeaderReducedBrand {
  background-color: #ffffff;
}

body.route-confirmation .footer-reduced {
  background-color: rgb(13, 13, 18);
}

body.route-confirmation .footer-reduced__help span,
body.route-confirmation .footer-reduced__brand {
  color: rgba(255, 255, 255, 0.7);
}

#step-confirmation {
  flex: 1;
}

.s_confirm-page__wrapper {
  background-color: #f5f5f5;
  min-height: calc(100vh - 60px - 52px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 16px;
  box-sizing: border-box;
}

/* Confirmación: tema oscuro como el cliente */
.s_confirm-page__wrapper--dark {
  background-color: rgb(13, 13, 18);
}

.s_confirm-content__center {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  padding: 40px 32px;
  max-width: 440px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.s_confirm-content__center--dark {
  background: rgb(33, 33, 38);
  box-shadow: none;
  border-radius: 8px;
  padding: 32px 24px;
  gap: 24px;
}

/* Vista "Confirmar el pago" */
.s_confirm-pay-view {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.s_confirm-pay-title {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
}

.s_confirm-pay-icon img {
  display: block;
}

.s_confirm-information {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  padding: 20px;
  text-align: left;
  box-sizing: border-box;
}

.s_confirm-information-title {
  font-size: 14px;
  font-weight: 400;
  color: #ffffff;
  margin: 0 0 12px 0;
  line-height: 1.4;
}

.s_confirm-information-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
  color: #ffffff;
  line-height: 1.8;
}

.s_confirm-information-list li strong {
  font-weight: 600;
}

.s_confirm-actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.s_confirm-btn-pagar {
  width: 100%;
  height: 46px;
  padding: 0 24px;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  background: linear-gradient(90.03deg, #199AE0 0.03%, #0D8DC2 50.25%, #007FA3 99.99%);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  transition: opacity 0.2s;
}

.s_confirm-btn-pagar:hover {
  opacity: 0.95;
}

.s_confirm-btn-pagar:disabled {
  opacity: 0.9;
  cursor: not-allowed;
}

.s_confirm-btn-pagar .s_confirm-btn-pagar-text {
  display: inline;
}

.s_confirm-btn-pagar .s_confirm-btn-pagar-loading {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
}

.s_confirm-btn-pagar.is-loading .s_confirm-btn-pagar-text {
  display: none;
}

.s_confirm-btn-pagar.is-loading .s_confirm-btn-pagar-loading {
  display: inline-flex;
}

.s_confirm-btn-pagar-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: s_confirm-spin 0.7s linear infinite;
}

@keyframes s_confirm-spin {
  to { transform: rotate(360deg); }
}

.s_confirm-link-modificar {
  font-size: 16px;
  font-weight: 500;
  color: rgb(128, 164, 255);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.s_confirm-link-modificar:hover {
  text-decoration: underline;
}

.s_confirm-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 8px;
}

.s_confirm-secure-icon {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.9);
}

/* Vista "Recarga exitosa" (dentro del mismo bloque oscuro) */
.s_confirm-success-view .s_confirm-title {
  color: #ffffff;
}

.s_confirm-success-view .s_confirm-subtitle {
  color: rgba(255, 255, 255, 0.85);
}

.s_confirm-success-view .s_confirm-summary {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
}

.s_confirm-success-view .s_confirm-row + .s_confirm-row {
  border-top-color: rgba(255, 255, 255, 0.2);
}

.s_confirm-success-view .s_confirm-label {
  color: rgba(255, 255, 255, 0.75);
}

.s_confirm-success-view .s_confirm-value {
  color: #ffffff;
}

.s_confirm-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.s_confirm-check {
  position: absolute;
  bottom: -4px;
  right: -4px;
}

.s_confirm-title {
  font-size: 26px;
  font-weight: 700;
  color: #052c50;
  margin: 0;
  line-height: 1.2;
}

.s_confirm-subtitle {
  font-size: 15px;
  color: #5e5e62;
  margin: 0;
}

.s_confirm-summary {
  width: 100%;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  overflow: hidden;
}

.s_confirm-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  font-size: 14px;
  font-family: Roboto, Arial, sans-serif;
}

.s_confirm-row + .s_confirm-row {
  border-top: 1px solid #e5e5e5;
}

.s_confirm-label {
  color: #5e5e62;
  font-weight: 400;
}

.s_confirm-value {
  color: #052c50;
  font-weight: 600;
}

.s_confirm-btn {
  width: 100%;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  background-color: #0076c7;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  transition: background-color 0.2s;
}

.s_confirm-btn:hover {
  background-color: #015fb2;
}

/* ========== /pay/processing — misma estética oscura (header, footer, paleta, tipografía) ========== */
body.route-processing {
  background: rgb(13, 13, 18);
}

body.route-processing .s_root__lL8pa {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: rgb(13, 13, 18);
}

/* Forzar fondo oscuro en el card de processing (evita recuadro blanco) */
body.route-processing .s_confirm-content__center {
  background: rgb(33, 33, 38) !important;
  box-shadow: none !important;
}

body.route-processing #main-container {
  display: none !important;
}

body.route-processing #step-processing {
  display: flex !important;
  flex-direction: column;
  flex: 1;
}

body.route-processing .HeaderReducedBrand {
  background-color: #ffffff;
}

body.route-processing .footer-reduced {
  background-color: rgb(13, 13, 18);
}

body.route-processing .footer-reduced__help span,
body.route-processing .footer-reduced__brand {
  color: rgba(255, 255, 255, 0.7);
}

#step-processing {
  flex: 1;
}

.s_processing-content {
  text-align: center;
  gap: 20px;
}

.s_processing-icon img {
  display: block;
}

.s_processing-title {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
}

.s_processing-text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  line-height: 1.5;
}

.s_processing-text strong {
  font-weight: 600;
}

.s_processing-note {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  line-height: 1.5;
}

.s_processing-phone {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.02em;
}

/* CVV overlay — sobre la caja CVV del dorso (reverse SVG); texto blanco, asteriscos */
.s_card-cvv-overlay {
  position: absolute;
  top: 86px;
  left: 244px;
  color: #ffffff;
  font-family: monospace;
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 2px;
  pointer-events: none;
  z-index: 1;
}
