
@font-face {
  font-family: 'Montserrat'; font-style: italic; font-weight: 100 900; font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUQjIg1_i6t8kCHKm459WxRxC7mw9c.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Montserrat'; font-style: italic; font-weight: 100 900; font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUQjIg1_i6t8kCHKm459WxRzS7mw9c.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Montserrat'; font-style: italic; font-weight: 100 900; font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUQjIg1_i6t8kCHKm459WxRxi7mw9c.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Montserrat'; font-style: italic; font-weight: 100 900; font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUQjIg1_i6t8kCHKm459WxRxy7mw9c.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat'; font-style: italic; font-weight: 100 900; font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUQjIg1_i6t8kCHKm459WxRyS7m.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459WRhyzbi.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Montserrat'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459W1hyzbi.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Montserrat'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459WZhyzbi.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
@font-face {
  font-family: 'Montserrat'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459Wdhyzbi.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Montserrat'; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(https://fonts.gstatic.com/s/montserrat/v31/JTUSjIg1_i6t8kCHKm459Wlhyw.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: 'Montserrat', sans-serif;
  margin: 0;
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New", monospace;
}


.headerStyle {
  align-items: center;
  background-color: #fff;
  display: flex;
  padding: 8px 0;
}
.logoMegacable {
  left: 19%;
  padding-top: 5px;
  position: relative;
  width: 140px;
}
@media (max-width: 576px) {
  .headerStyle { justify-content: center; }
  .logoMegacable { left: 0; width: 170px; }
}


.textPayments     { width: 51%; }
@media (max-width: 1000px) { .textPayments { width: 100%; } }
.textPaymentsTwo  { width: 70%; }
@media (max-width: 1000px) { .textPaymentsTwo { width: 100%; } }
.rowButtons       { width: 50%; }
@media (max-width: 1000px) { .rowButtons { width: 100%; } }
.buttonPayments   { margin-top: 0; }
@media (max-width: 576px) { .buttonPayments { margin-top: 20px; } }
.paypalContainer  { padding: 15px; width: 300px; }
.cardsContain     { width: 80%; }
@media (max-width: 1000px) { .cardsContain { width: 100%; } }
@media (max-width: 1500px) { .cardsContain { width: 100%; } }

.cards { height: 60px; width: 155px; }
@media (max-width: 1000px) { .cards { height: 52px; width: 145px; } }
@media (max-width: 1500px) { .cards { height: 50px; width: 140px; } }
@media (max-width: 576px)  { .cards { height: 34px; width: 90px; } }
.landing-cards { height: 40px; margin-top: 2rem; }
@media (max-width: 576px) { .landing-cards { height: 34px; } }


.ant-modal .ant-modal-content { padding: 0; }
.ant-modal .ant-modal-header  { margin-bottom: 0; padding: 20px 24px; }
.ant-modal .ant-modal-body::after,
.ant-modal .ant-modal-body::before {
  background-color: #b0b0b0; content: ""; display: block; height: 1px; width: 100%;
}
.ant-modal .ant-modal-footer {
  align-items: center; background-color: #fff;
  border-bottom-left-radius: 8px; border-bottom-right-radius: 8px;
  display: flex; height: 60px; justify-content: flex-end; margin-top: 0;
}
.ant-modal .ant-modal-title { font-weight: normal; }

.alertModal-modalWidth { width: 600px; }
@media (max-width: 576px) { .alertModal-modalWidth { width: 390px; } }

.page { display: none; }
.page.active { display: block; }


.center-wrap {
  max-width: 700px;
  margin: 0 auto;
  padding: 30px 20px 60px;
  text-align: center;
}
.pay-wrap {
  max-width: 590px;
  margin: 0 auto;
  padding: 38px 20px;
}


h1 { font-size: 34px; font-weight: 800; color: #111; margin-bottom: 22px; }
.subtitle { font-size: 18px; color: #555; margin-bottom: 28px; }
.pay-title {
  text-align: center; font-size: 19px; font-weight: 700;
  color: #111; margin-bottom: 20px;
}


.btn {
  border: none; border-radius: 25px; cursor: pointer;
  font-family: inherit; font-size: 14px; font-weight: 700;
  letter-spacing: .6px; padding: 13px 28px;
  transition: filter .15s;
}
.btn:hover   { filter: brightness(.91); }
.btn:disabled { opacity: 1; cursor: not-allowed; filter: none; }
.btn-primary { background: #1a8fff; color: #fff; }
.btn-primary:disabled { background: #8a8a9a; }
.btn-paypal  { background: #003087; color: #fff;
               display: inline-flex; align-items: center; gap: 8px; }
.btn-outline { background: #fff; color: #1356a3;
               border: 1.5px solid #1356a3; }
.btn-block   { display: block; width: 100%; }

.input-contrato {
  display: block; width: 100%; max-width: 380px;
  margin: 0 auto 28px;
  padding: 14px 14px;
  border: 1px solid #e0e0f0; border-radius: 8px;
  font-size: 15px; text-align: center; color: #888;
  font-family: inherit; outline: none;
  background: #f0f0fa;
}
.input-contrato:focus { border-color: #1356a3; }

.captcha-box {
  display: inline-flex; align-items: center; gap: 18px;
  border: 1px solid #ccc; border-radius: 4px;
  padding: 10px 24px; background: #f9f9f9;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  margin-bottom: 28px; min-width: 310px;
}
.captcha-box { cursor: pointer; user-select: none; }
.cap-check {
  width: 28px; height: 28px; flex-shrink: 0;
  border: 2px solid #c1c1c1; border-radius: 2px;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
}
.cap-checkmark { display: none; }
.cap-spinner {
  display: none; flex-shrink: 0;
  width: 22px; height: 22px;
  border: 3px solid #e0e0e0; border-top-color: #4285F4;
  border-radius: 50%; animation: spin .7s linear infinite;
}
.captcha-box.cap-loading .cap-check   { display: none; }
.captcha-box.cap-loading .cap-spinner { display: block; }
.captcha-box.cap-done .cap-check      { border-color: transparent; background: #f9f9f9; }
.captcha-box.cap-done .cap-checkmark  { display: block; }
.captcha-label { font-size: 16px; }

.payment-logos {
  display: flex; align-items: center; justify-content: center;
  gap: 26px; margin: 20px 0 32px;
}
.pp-logo { font-size: 20px; font-weight: 800; font-style: italic; }
.pp-logo .pp-b { color: #003087; }
.pp-logo .pp-s { color: #009cde; }
.visa-logo { font-size: 24px; font-weight: 900; color: #1a1f71; font-style: italic; }
.mc-wrap { display: flex; }
.mc-r { width: 26px; height: 26px; border-radius: 50%; background: #eb001b; }
.mc-y { width: 26px; height: 26px; border-radius: 50%; background: #f79e1b; margin-left: -10px; }

.otras-formas-row {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 4px;
}
.otras-formas-label {
  font-size: 45px; color: #1a8fff; font-weight: 500;
}
.otras-toggle-btn {
  background: none; border: none;
  color: #1a8fff; font-size: 36px;
  cursor: pointer; padding: 0 2px;
  line-height: 1;
}
.otras-toggle-btn:hover { opacity: .75; }


.initials-name {
  font-size: 28px; font-weight: 800; color: #1356a3;
  letter-spacing: 3px; margin: 20px 0 10px;
}
.no-iniciales { color: #1356a3; font-size: 13px; display: inline-block; margin-bottom: 24px; }
.no-iniciales:hover { text-decoration: underline; }
.promo-text { font-size: 12px; font-weight: 700; color: #333; letter-spacing: .7px; margin-bottom: 22px; }
.saldo-corte-label { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.saldo-corte-amt   { display: inline; font-size: 17px; font-weight: 800; }
.elige-pago { font-size: 11px; font-weight: 700; color: #666; letter-spacing: 1px; margin: 18px 0 14px; }
.payment-btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }


.loading-screen {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  min-height: calc(100vh - 60px);
}
.spinner {
  width: 50px; height: 50px;
  border: 3px solid #ddd; border-top-color: #1356a3;
  border-radius: 50%; animation: spin .85s linear infinite;
  margin-bottom: 16px;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-text { font-size: 15px; font-weight: 600; color: #333; }


.info-banner {
  background: #dce8f8; border-radius: 6px;
  padding: 13px 16px;
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: 16px;
}
.info-icon { font-size: 22px; color: #1356a3; flex-shrink: 0; margin-top: 1px; }
.info-title { font-size: 13px; font-weight: 700; color: #1356a3; }
.info-sub   { font-size: 12px; color: #555; margin-top: 2px; }

.saldo-banner {
  background: #1356a3; color: #fff; border-radius: 6px;
  padding: 15px 20px;
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px;
}
.saldo-banner .s-label  { font-size: 15px; }
.saldo-banner .s-amount { font-size: 24px; font-weight: 800; }
.saldo-banner .s-amount sup { font-size: 13px; vertical-align: super; }

.form-card {
  background: #fff; border: 1px solid #ddd;
  border-radius: 8px; padding: 24px;
}
.form-group { margin-bottom: 20px; }
.form-group label { font-size: 13px; color: #444; display: block; margin-bottom: 7px; }
.form-row { display: flex; gap: 12px; }
.form-row .form-group { flex: 1; }
.form-row .fg-num { flex: 2.3; }

.input-field {
  width: 100%; padding: 12px 34px 12px 14px;
  border: 1px solid #e0e0f0; border-radius: 8px;
  font-size: 14px; font-family: inherit; outline: none; color: #333;
  background: #fff;
}
.input-field:focus { border-color: #1a8fff; background: #fff; }
.input-field:disabled { background: #f0f0f0; color: #aaa; cursor: not-allowed; }
.input-field::placeholder { color: #aaa; }
.input-wrap { position: relative; }
.input-wrap .iico {
  position: absolute; right: 9px; top: 50%;
  transform: translateY(-50%); color: #aaa; font-size: 15px; pointer-events: none;
}

.check-row { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.check-row input[type="checkbox"] { width: 16px; height: 16px; accent-color: #1356a3; cursor: pointer; flex-shrink: 0; }
.check-row label { font-size: 13px; color: #333; }
.check-row a { color: #1356a3; text-decoration: none; }
.check-row a:hover { text-decoration: underline; }

.action-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }

hr.div-line { border: none; border-top: 1px solid #e0e0e0; margin: 18px 0; }


.otras-accordion {
  text-align: left;
  border-top: 1px solid #ddd;
  margin-top: 18px;
  padding-top: 10px;
  animation: fadeIn .25s ease;
  width: 88vw;
  max-width: none;
  margin-left: calc(50% - 44vw);
  margin-right: calc(50% - 44vw);
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.otras-section {
  padding: 18px 0;
  font-size: 14px;
  color: #333;
  line-height: 1.6;
}

.otras-title {
  font-weight: 700; font-size: 18px; color: #111;
  margin-bottom: 8px; text-align: center;
  max-width: 750px; margin-left: auto; margin-right: auto;
}
.otras-title-bold {
  font-weight: 900; font-size: 18px; color: #111;
  margin-bottom: 8px; text-align: center; letter-spacing: .5px;
  max-width: 750px; margin-left: auto; margin-right: auto;
}
.otras-body {
  font-size: 16px; color: #444; text-align: center; line-height: 1.65;
  max-width: 750px; margin-left: auto; margin-right: auto;
}
.link-blue { color: #1356a3; text-decoration: none; }
.link-blue:hover { text-decoration: underline; }

.logos-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 26px;
}
.logos-grid-8 {
  grid-template-columns: repeat(8, 1fr);
}
.logo-box {
  border: 2.5px solid #1a8fff; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  padding: 4px 8px; height: 65px;
  background: #fff; overflow: hidden;
}
.logo-box img {
  height: 54px; width: auto;
  max-width: 100%; object-fit: contain;
}

.logo-txt { font-size: 14px; font-weight: 700; text-align: center; line-height: 1.2; }
.soriana   { color: #e31837; }
.chedraui  { color: #ff6600; }
.bancoppel { color: #003082; }
.merza     { color: #e31837; }
.lagunas   { color: #0072bc; }
.alsuper   { color: #00843d; }
.ley       { color: #c8102e; }
.cimaco    { color: #004f9f; }
.fin-bienestar { color: #00843d; }
.seven     { color: #e31837; font-size:13px !important; }
.benavides { color: #e31837; }
.walmart   { color: #0071ce; }
.bodega    { color: #e31837; }
.suburbia  { color: #7b2d8b; }
.six       { color: #e31837; font-style:italic; font-size:16px !important; }
.donde     { color: #00843d; }
.kiosko    { color: #ffb81c; font-size:13px !important; }
.waldos    { color: #e31837; }
.sams      { color: #004c97; }
.fasti     { color: #00843d; font-size:14px !important; }
.mic       { color: #555; }
.oxxo      { color: #e31837; font-size:16px !important; font-weight:900 !important; }
.spin      { color: #0071ce; }
.zamora    { color: #e31837; }
.yastas    { color: #0071ce; }
.qiubo     { color: #e31837; }
.sys       { color: #555; }
.yomp      { color: #ff6600; font-size:14px !important; }
.yza       { color: #00843d; }
.farmacon  { color: #e31837; }
.fmoderna  { color: #ff6600; }
.generix   { color: #0071ce; }
.cashi     { color: #7b2d8b; font-size:15px !important; }
.fahorro   { color: #e31837; }
.sanpablo  { color: #e31837; }
.dia       { color: #e31837; font-size:16px !important; font-weight:900 !important; }
.aramark   { color: #0052a5; }
.punto     { color: #00843d; }
.burocsa   { color: #e31837; }
.sanisidro { color: #555; }
.neto      { color: #e31837; font-size:15px !important; }
.tony      { color: #e31837; font-size:13px !important; }
.ya        { color: #0071ce; font-size:18px !important; }
.pagatodo  { color: #ff6600; }
.zubodega  { color: #e31837; }
.walmartexp{ color: #0071ce; }
.gomart    { color: #e31837; }
.bankaool  { color: #004c97; }
.pagorapido{ color: #0071ce; }
.via       { color: #e31837; }
.paynom    { color: #555; }
.mavi      { color: #c8102e; }
.abarrotesana { color: #004c97; font-size:10px !important; }
.liverpool { color: #e31837; }
.mercadopago { color: #009ee3; }
.farmacias-sj { color: #e31837; }
.extra     { color: #e31837; font-size:14px !important; }
.union     { color: #0071ce; }
.farmatodo { color: #e31837; }
.uala      { color: #555; }
.plata     { color: #555; font-size:15px !important; }
.odessa    { color: #555; font-size:13px !important; }


.al-error {
  background: #fde8e8; border: 1px solid #e74c3c; border-radius: 4px;
  color: #c0392b; font-size: 14px; padding: 10px 14px;
  display: none; text-align: left;
}

.success-bg {
  min-height: calc(100vh - 60px);
  background: linear-gradient(160deg, #0a2647 0%, #1356a3 55%, #0a9396 100%);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 40px 20px; position: relative;
}
.suc-inicio {
  position: absolute; top: 20px; right: 24px;
  color: #fff; font-size: 14px; font-weight: 600;
  text-decoration: none; opacity: .85;
}
.suc-inicio:hover { opacity: 1; text-decoration: underline; }
.success-card {
  background: #fff; border-radius: 16px;
  padding: 40px 36px 32px; max-width: 480px;
  width: 100%; text-align: center;
  box-shadow: 0 8px 40px rgba(0,0,0,.3);
}
.suc-icon { margin-bottom: 6px; }
.suc-status {
  color: #00843d; font-size: 21px; font-weight: 900;
  letter-spacing: 2px; margin: 14px 0 20px;
}
.suc-amount-pill {
  border: 1.5px solid #ccc; border-radius: 50px;
  padding: 11px 36px; display: inline-block;
  font-size: 20px; font-weight: 600; margin-bottom: 26px; color: #222;
}
.suc-amount-pill span { color: #1356a3; font-weight: 800; }
.suc-details {
  font-size: 14px; line-height: 2; color: #222; margin-bottom: 16px;
}
.suc-details b { color: #111; }
.suc-cobro {
  font-size: 15px; color: #555; margin-bottom: 24px;
}
.btn-cerrar {
  background: #00b4d8; color: #fff; border: none;
  border-radius: 8px; padding: 14px 0; width: 100%;
  font-size: 16px; font-weight: 700; cursor: pointer;
  transition: filter .15s;
}
.btn-cerrar:hover { filter: brightness(.9); }

@media (max-width: 768px) {
  h1 { font-size: 22px; margin-bottom: 14px; }
  .subtitle { font-size: 14px; margin-bottom: 18px; }

  .center-wrap { padding: 20px 16px 40px; }
  .pay-wrap { padding: 20px 16px; }

  .captcha-box { min-width: unset; width: 100%; padding: 10px 14px; }

  .input-contrato { font-size: 14px; padding: 12px 14px; }

  .btn { padding: 12px 20px; font-size: 13px; }
  .btn-block { width: 100%; }

  .payment-btns { flex-direction: column; gap: 10px; }
  .payment-btns .btn { width: 100%; }

  .otras-formas-label { font-size: 22px; }
  .otras-toggle-btn { font-size: 20px; }

  .otras-accordion {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .logos-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .logos-grid-8 {
    grid-template-columns: repeat(3, 1fr);
  }

  .logo-box { height: 52px; padding: 4px 6px; }
  .logo-box img { height: 38px; }

  .otras-title { font-size: 14px; }
  .otras-title-bold { font-size: 14px; }
  .otras-body { font-size: 13px; }

  .pay-title { font-size: 16px; }

  .input-row { flex-direction: column; gap: 10px; }


  .form-row { flex-direction: column; }
  .form-card { padding: 16px; }
  .saldo-banner { flex-direction: column; align-items: flex-start; gap: 4px; }
  .saldo-banner .s-amount { font-size: 20px; }
  .action-row { flex-direction: column; gap: 10px; }
  .action-row .btn { width: 100%; }


  .success-card { padding: 24px 14px; }
  .suc-amount-pill { padding: 10px 16px; font-size: 16px; }
  .suc-status { font-size: 17px; }
  .suc-details { font-size: 13px; }

  .payment-logos { margin-bottom: 14px; }
}
