/* =========================
   PAY PAGE
   /pages/pay.html
   ========================= */

.pay-page {
  padding: 0 0 40px;
}

.pay {
  animation: payFadeUp 0.5s ease forwards;
}

@keyframes payFadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pay__title {
  margin: 0 0 24px;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 900;
  color: var(--ink);
}

.pay__container {
  max-width: 650px;
  margin: 0 auto;
}

/* Обёртка iframe — подстраивается под высоту виджета */
.pay__frame-wrap {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--stroke);
  box-shadow: 0 4px 16px rgba(2, 44, 95, 0.06);
}

.pay__iframe {
  display: block;
  width: 100%;
  min-height: 420px;
  border: none;
  transition: height 0.25s ease;
}

/* Подсказка */
.pay__hint {
  margin: 16px 0 0;
  font-size: 14px;
  color: var(--muted);
  text-align: center;
  line-height: 1.5;
}

/* Блок «Есть вопросы?» — как в «Проверить адрес подключения» */
.pay__contact {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--stroke);
}

.pay__contact-title {
  margin: 0 0 18px;
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  text-align: center;
}

/* Иконки в кнопках — белый цвет */
.pay__btn-ico {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: block;
  filter: brightness(0) invert(1);
}
