/* Shared payment instruction steps (VTB / Sberbank online pages). */
.pcontent .payment-guide-steps,
.block-tpl .payment-guide-steps,
.page-content .payment-guide-steps,
.pcontent .vtb-guide-steps,
.block-tpl .vtb-guide-steps,
.page-content .vtb-guide-steps {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 14px;
}

.pcontent .payment-guide-steps__item,
.block-tpl .payment-guide-steps__item,
.page-content .payment-guide-steps__item,
.pcontent .vtb-guide-steps__item,
.block-tpl .vtb-guide-steps__item,
.page-content .vtb-guide-steps__item {
  margin: 0;
  padding: 16px;
  border: 1px solid #9ec3e3;
  border-radius: 16px;
  background:
    radial-gradient(circle at 0 0, rgba(143, 196, 235, 0.28), rgba(255, 255, 255, 0) 55%),
    linear-gradient(160deg, #f7fbff 0%, #e8f3fc 48%, #dcecfb 100%);
  box-shadow:
    0 12px 28px rgba(11, 63, 111, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
  display: grid;
  gap: 16px;
}

.pcontent .payment-guide-steps__body,
.block-tpl .payment-guide-steps__body,
.page-content .payment-guide-steps__body,
.pcontent .vtb-guide-steps__body,
.block-tpl .vtb-guide-steps__body,
.page-content .vtb-guide-steps__body {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.pcontent .payment-guide-steps__num,
.block-tpl .payment-guide-steps__num,
.page-content .payment-guide-steps__num,
.pcontent .vtb-guide-steps__num,
.block-tpl .vtb-guide-steps__num,
.page-content .vtb-guide-steps__num {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(145deg, #0b3f6f 0%, #0f5f9f 52%, #1f67b2 100%);
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  line-height: 40px;
  text-align: center;
  box-shadow:
    0 6px 16px rgba(11, 63, 111, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.pcontent .payment-guide-steps__text,
.block-tpl .payment-guide-steps__text,
.page-content .payment-guide-steps__text,
.pcontent .vtb-guide-steps__text,
.block-tpl .vtb-guide-steps__text,
.page-content .vtb-guide-steps__text {
  flex: 1 1 auto;
  min-width: 0;
  color: #25364a;
  font-size: 15px;
  line-height: 1.5;
}

.pcontent .payment-guide-steps__text strong,
.block-tpl .payment-guide-steps__text strong,
.page-content .payment-guide-steps__text strong,
.pcontent .vtb-guide-steps__text strong,
.block-tpl .vtb-guide-steps__text strong,
.page-content .vtb-guide-steps__text strong {
  color: #0b3f6f;
}

.pcontent .payment-guide-steps__list,
.block-tpl .payment-guide-steps__list,
.page-content .payment-guide-steps__list,
.pcontent .vtb-guide-steps__list,
.block-tpl .vtb-guide-steps__list,
.page-content .vtb-guide-steps__list {
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.pcontent .payment-guide-steps__list li,
.block-tpl .payment-guide-steps__list li,
.page-content .payment-guide-steps__list li,
.pcontent .vtb-guide-steps__list li,
.block-tpl .vtb-guide-steps__list li,
.page-content .vtb-guide-steps__list li {
  position: relative;
  margin: 0 0 6px;
  padding: 0 0 0 18px;
  color: #4f6277;
  font-size: 14px;
  line-height: 1.45;
}

.pcontent .payment-guide-steps__list li::before,
.block-tpl .payment-guide-steps__list li::before,
.page-content .payment-guide-steps__list li::before,
.pcontent .vtb-guide-steps__list li::before,
.block-tpl .vtb-guide-steps__list li::before,
.page-content .vtb-guide-steps__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(180deg, #1f67b2 0%, #0f5f9f 100%);
  box-shadow: 0 0 0 2px rgba(143, 196, 235, 0.45);
  transform: translateY(-50%);
}

.pcontent .payment-guide-steps__figure,
.block-tpl .payment-guide-steps__figure,
.page-content .payment-guide-steps__figure,
.pcontent .vtb-guide-steps__figure,
.block-tpl .vtb-guide-steps__figure,
.page-content .vtb-guide-steps__figure {
  margin: 0;
  display: flex;
  justify-content: center;
}

.pcontent .payment-guide-steps__shot,
.block-tpl .payment-guide-steps__shot,
.page-content .payment-guide-steps__shot,
.pcontent .vtb-guide-steps__shot,
.block-tpl .vtb-guide-steps__shot,
.page-content .vtb-guide-steps__shot {
  display: block;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  padding: 10px;
  border-radius: 18px;
  background: linear-gradient(160deg, #ffffff 0%, #d9ebfa 100%);
  border: 1px solid #8fb5d6;
  box-shadow:
    0 16px 32px rgba(11, 63, 111, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.9);
}

.pcontent .payment-guide-steps__shot img,
.block-tpl .payment-guide-steps__shot img,
.page-content .payment-guide-steps__shot img,
.pcontent .vtb-guide-steps__shot img,
.block-tpl .vtb-guide-steps__shot img,
.page-content .vtb-guide-steps__shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.pcontent .payment-guide-steps__item--text-only,
.block-tpl .payment-guide-steps__item--text-only,
.page-content .payment-guide-steps__item--text-only,
.pcontent .vtb-guide-steps__item--text-only,
.block-tpl .vtb-guide-steps__item--text-only,
.page-content .vtb-guide-steps__item--text-only {
  padding-bottom: 18px;
}

@media (min-width: 768px) {
  .pcontent .payment-guide-steps__item:not(.payment-guide-steps__item--text-only),
  .block-tpl .payment-guide-steps__item:not(.payment-guide-steps__item--text-only),
  .page-content .payment-guide-steps__item:not(.payment-guide-steps__item--text-only),
  .pcontent .vtb-guide-steps__item:not(.vtb-guide-steps__item--text-only),
  .block-tpl .vtb-guide-steps__item:not(.vtb-guide-steps__item--text-only),
  .page-content .vtb-guide-steps__item:not(.vtb-guide-steps__item--text-only) {
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: center;
    gap: 20px;
    padding: 18px 20px;
  }

  .pcontent .payment-guide-steps__figure,
  .block-tpl .payment-guide-steps__figure,
  .page-content .payment-guide-steps__figure,
  .pcontent .vtb-guide-steps__figure,
  .block-tpl .vtb-guide-steps__figure,
  .page-content .vtb-guide-steps__figure {
    justify-content: flex-end;
  }

  .pcontent .payment-guide-steps__shot,
  .block-tpl .payment-guide-steps__shot,
  .page-content .payment-guide-steps__shot,
  .pcontent .vtb-guide-steps__shot,
  .block-tpl .vtb-guide-steps__shot,
  .page-content .vtb-guide-steps__shot {
    max-width: 100%;
  }
}

@media (min-width: 1024px) {
  .pcontent .payment-guide-steps__item:not(.payment-guide-steps__item--text-only),
  .block-tpl .payment-guide-steps__item:not(.payment-guide-steps__item--text-only),
  .page-content .payment-guide-steps__item:not(.payment-guide-steps__item--text-only),
  .pcontent .vtb-guide-steps__item:not(.vtb-guide-steps__item--text-only),
  .block-tpl .vtb-guide-steps__item:not(.vtb-guide-steps__item--text-only),
  .page-content .vtb-guide-steps__item:not(.vtb-guide-steps__item--text-only) {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
  }

  .pcontent .payment-guide-steps__text,
  .block-tpl .payment-guide-steps__text,
  .page-content .payment-guide-steps__text,
  .pcontent .vtb-guide-steps__text,
  .block-tpl .vtb-guide-steps__text,
  .page-content .vtb-guide-steps__text {
    font-size: 16px;
  }
}
