/* Apartado de métodos de pago — visual 2.1.0 sobre base 1.6.204 */

.tp-pagos.band-dark {
  --tp-canvas: #09090b;
  --tp-surface: #121214;
  --tp-surface-2: #1c1c1f;
  --tp-fg: #fafafa;
  --tp-fg-2: #a1a1aa;
  --tp-fg-3: #8b8b94;
  --tp-line: #26262a;
  --tp-brand: #ff8904;
  --tp-brand-text: #ff9a2e;
  background: var(--tp-canvas);
  color: var(--tp-fg);
  text-align: left;
  padding-block: 64px;
}

@media (min-width: 1024px) {
  .tp-pagos.band-dark {
    padding-block: 96px;
  }
}

.tp-pagos__wrap {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.tp-pagos__head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 40rem;
}

.tp-pagos__title {
  margin: 0;
  font-size: 32px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--tp-fg);
}

.tp-pagos__lead {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--tp-fg-2);
}

@media (min-width: 1024px) {
  .tp-pagos__title {
    font-size: 40px;
  }
  .tp-pagos__lead {
    font-size: 18px;
  }
}

.tp-pagos__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Segmented tabs */
.tp-pagos .tp-seg {
  display: inline-flex;
  align-self: flex-start;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: 2px;
  padding: 4px;
  overflow-x: auto;
  border-radius: 999px;
  background: var(--tp-surface-2);
  scrollbar-width: none;
}

.tp-pagos .tp-seg::-webkit-scrollbar {
  display: none;
}

.tp-pagos .tp-seg__opt {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--tp-fg-2);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease, box-shadow 150ms ease;
}

.tp-pagos .tp-seg__opt:hover {
  color: var(--tp-fg);
}

.tp-pagos .tp-seg__opt[aria-selected='true'] {
  background: var(--tp-surface);
  color: var(--tp-fg);
  box-shadow: 0 1px 2px rgb(0 0 0 / 0.35);
}

.tp-pagos__panels {
  width: 100%;
  position: relative;
}

.tp-pagos .method-panel {
  width: 100%;
}

.tp-pagos .method-panel[hidden] {
  display: none !important;
}

.tp-pagos .method-panel.is-leave {
  pointer-events: none;
  animation: tp-pay-out 200ms ease forwards;
}

.tp-pagos .method-panel.is-enter {
  animation: tp-pay-in 240ms ease both;
}

@keyframes tp-pay-out {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-6px);
  }
}

@keyframes tp-pay-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tp-pagos .method-panel.is-leave,
  .tp-pagos .method-panel.is-enter {
    animation: none;
  }
}

/* Logo tiles */
.tp-pagos .tp-logos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tp-pagos .tp-logo-tile {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 88px;
  padding: 12px 8px;
  border: 1px solid #e9e9ec;
  border-radius: 12px;
  background: #ffffff;
  box-sizing: border-box;
}

.tp-pagos .tp-logo-tile img {
  width: auto;
  max-width: 72px;
  height: 28px;
  object-fit: contain;
}

.tp-pagos .tp-logo-tile .brand-svg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  max-width: 72px;
}

.tp-pagos .tp-logo-tile .brand-svg svg,
.tp-pagos .tp-logo-tile .brand-svg img {
  height: var(--bh, 28px);
  width: auto;
  max-width: min(72px, calc(100% * var(--bs, 1)));
  display: block;
}

.tp-pagos .tp-logo-tile span {
  max-width: 100%;
  font-size: 12px;
  line-height: 1.25;
  color: #71717a;
  text-align: center;
}

@media (min-width: 1024px) {
  .tp-pagos .tp-logos {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }
}

@media (max-width: 639px) {
  .tp-pagos .tp-logos {
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  }
  .tp-pagos .tp-logo-tile {
    height: 76px;
    gap: 6px;
    padding: 10px 4px;
  }
  .tp-pagos .tp-logo-tile img {
    max-width: 60px;
    height: 24px;
  }
  .tp-pagos .tp-logo-tile span {
    font-size: 11px;
  }
}

/* Stats cards */
.tp-pagos .tp-home-pstats {
  display: grid;
  gap: 16px;
}

.tp-pagos .tp-card.tp-home-pstat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 24px;
  border: 1px solid var(--tp-line);
  border-radius: 16px;
  background: var(--tp-surface);
  box-shadow: none;
}

.tp-pagos .tp-big {
  font-size: 44px;
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--tp-brand-text);
}

.tp-pagos .tp-big i {
  font-style: normal;
  color: inherit;
}

.tp-pagos .tp-h4 {
  font-size: 16px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--tp-fg);
}

.tp-pagos .tp-home-pstat__proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 18px;
}

.tp-pagos .tp-home-pstat__proof--logos {
  display: grid;
  grid-template-columns: repeat(4, 44px);
  gap: 6px;
}

.tp-pagos .tp-cc {
  display: inline-flex;
  height: 24px;
  align-items: center;
  padding: 0 8px;
  border: 1px solid var(--tp-line);
  border-radius: 999px;
  color: var(--tp-fg-2);
  font-size: 12px;
  font-weight: 600;
}

.tp-pagos .tp-meta {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--tp-fg-3);
}

.tp-pagos .tp-home-pstat__proof .tp-meta {
  margin-left: 4px;
}

.tp-pagos .tp-ui__logo {
  display: flex;
  width: 44px;
  height: 28px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  padding: 4px 6px;
  border: 1px solid #e9e9ec;
  border-radius: 6px;
  background: #ffffff;
  box-sizing: border-box;
}

.tp-pagos .tp-ui__logo img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  object-fit: contain;
}

.tp-pagos .tp-meter {
  display: block;
  width: 100%;
  height: 6px;
  overflow: hidden;
  border: 0;
  border-radius: 999px;
  background: var(--tp-surface-2);
  color: var(--tp-brand);
  appearance: none;
  margin-bottom: 6px;
}

.tp-pagos .tp-meter::-webkit-progress-bar {
  border-radius: 999px;
  background: var(--tp-surface-2);
}

.tp-pagos .tp-meter::-webkit-progress-value {
  border-radius: 999px;
  background: var(--tp-brand);
}

.tp-pagos .tp-meter::-moz-progress-bar {
  border-radius: 999px;
  background: var(--tp-brand);
}

@media (min-width: 1024px) {
  .tp-pagos .tp-home-pstats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 767px) {
  .tp-pagos .tp-big {
    font-size: 36px;
  }
}
