/* =========================
   Payment Page
========================= */

.sr-payment-page {
  padding: 40px 0 80px;
}

.sr-payment-page .sr-container {
  max-width: 1170px;
  padding-left: 0;
  padding-right: 0;
}

.sr-payment-hero {
  width: 100%;
  height: 64px;

  margin-bottom: 30px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 10px;
  background: #d6dae0;

  font-size: 20px;
  font-weight: 700;
  line-height: 1;

  color: #464855;
}

/* Methods grid */

.sr-payment-methods {
  display: grid;
  grid-template-columns: repeat(2, 570px);
  gap: 30px;
}

/* Card */

.sr-payment-card {
  width: 570px;
  height: 243px;

  overflow: hidden;

  border: 1px solid #d6dae0;
  border-radius: 10px;
  background: #ffffff;
}

.sr-payment-card__head {
  width: 570px;
  height: 95px;

  padding: 20px;

  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;

  background: #d6dae0;
}

.sr-payment-card--featured .sr-payment-card__head {
  background: #464855;
}

.sr-payment-card__head h2 {
  margin: 0 0 17px;

  font-size: 20px;
  font-weight: 700;
  line-height: 1;

  color: #464855;
}

.sr-payment-card--featured .sr-payment-card__head h2 {
  color: #ffffff;
}

.sr-payment-card__head p {
  margin: 0;

  font-size: 16px;
  font-weight: 700;
  line-height: 1;

  color: #8592a4;
}

.sr-payment-card__body {
  padding: 20px 20px 18px;

  background: #ffffff;
}

.sr-payment-card__body p {
  margin: 0 0 19px;

  font-family: var(--sr-font-main);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;

  letter-spacing: 0;

  color: #464855;
}

.sr-payment-card__body p:last-child {
  margin-bottom: 0;
}

/* Badges */

.sr-payment-badge {
  height: 25px;

  padding: 5px 10px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  flex-shrink: 0;

  border-radius: 27px;

  font-size: 12px;
  font-weight: 700;
  line-height: 1;

  white-space: nowrap;
}

.sr-payment-badge--best {
  background: #8592a4;
  color: #ffffff;
}

.sr-payment-badge--verification {
  background: #eceff2;
  color: #464855;
}

/* =========================
   Responsive
========================= */

@media (max-width: 1200px) {
  .sr-payment-page .sr-container {
    padding-left: 32px;
    padding-right: 32px;
  }

  .sr-payment-methods {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sr-payment-card,
  .sr-payment-card__head {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .sr-payment-page {
    padding: 0 0 48px;
  }

  .sr-payment-page .sr-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .sr-payment-hero {
    height: 54px;
    margin-bottom: 24px;
  }

  .sr-payment-methods {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .sr-payment-card {
    width: 100%;
    height: auto;
  }

  .sr-payment-card__head {
    width: 100%;
    height: auto;
    min-height: 95px;
  }

  .sr-payment-card__body {
    padding: 18px 16px;
  }

  .sr-payment-card__body p {
    font-size: 14px;
  }
}