.stm-payment-page {
    --pay-blue: #001b72;
    --pay-accent: #315cff;
    --pay-light: #f3f6ff;
    --pay-border: #e1e7f3;
    --pay-text: #252b38;
    --pay-muted: #596579;
    --pay-white: #ffffff;

    width: 100%;
    max-width: 2000px;
    margin: 0 auto;
    padding: 0;
    color: var(--pay-text);
    font-size: 16px;
    line-height: 1.7;
    overflow-wrap: anywhere;
    box-sizing: border-box;
}

.stm-payment-page *,
.stm-payment-page *::before,
.stm-payment-page *::after {
    box-sizing: border-box;
}

/* Единая типографика */

.stm-payment-page h2,
.stm-payment-page h3,
.stm-payment-page p {
    margin-top: 0;
}

.stm-payment-page h2 {
    margin-bottom: 20px;
    color: #333333;
    font-size: 27px;
    font-weight: 600;
    line-height: 1.3;
}

.stm-payment-page h3 {
    margin-bottom: 10px;
    color: var(--pay-blue);
    font-size: 19px;
    font-weight: 600;
    line-height: 1.4;
}

.stm-payment-page p {
    margin-bottom: 14px;
}

.stm-payment-page a {
    color: var(--pay-accent);
    text-decoration: none;
    transition: color .2s ease;
}

.stm-payment-page a:hover {
    color: var(--pay-blue);
}

.stm-payment-page section {
    width: 100%;
    margin: 0 0 34px;
}

/* ==========================================
   ВСТУПИТЕЛЬНОЕ ОПИСАНИЕ
========================================== */

.stm-payment-page .stm-payment-intro {
    width: 100%;
    margin: 0 0 30px;
    padding: 0;
    background: transparent;
    border: none;
}

.stm-payment-page .stm-payment-intro p {
    margin: 0;
    color: #444444 !important;
    font-size: 16px;
    line-height: 1.75;
}

/* ==========================================
   ОБЩАЯ ИНСТРУКЦИЯ ПО ОПЛАТЕ
========================================== */

.stm-payment-page .stm-payment-common {
    padding: 26px;
    background: var(--pay-light);
    border: 1px solid var(--pay-border);
}

.stm-payment-page .stm-payment-common__heading {
    display: flex;
    align-items: center;
    gap: 17px;
    margin-bottom: 22px;
}

.stm-payment-page .stm-payment-common__icon,
.stm-payment-page .stm-payment-method__icon {
    display: flex;
    flex: 0 0 52px;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    color: var(--pay-blue);
    background: #ffffff;
    border: 1px solid var(--pay-border);
}

.stm-payment-page .stm-payment-common__icon svg,
.stm-payment-page .stm-payment-method__icon svg {
    display: block;
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.stm-payment-page .stm-payment-common__heading h2 {
    margin-bottom: 5px;
    color: #333333;
    font-size: 27px;
}

.stm-payment-page .stm-payment-common__subtitle {
    margin-bottom: 0;
    color: #596579;
    font-size: 14px;
    line-height: 1.65;
}

.stm-payment-page .stm-payment-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
}

.stm-payment-page .stm-payment-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    min-width: 0;
    padding: 19px 0 5px;
    border-top: 1px solid var(--pay-border);
}

.stm-payment-page .stm-payment-step__number {
    display: flex;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #ffffff;
    background: var(--pay-blue);
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
}

.stm-payment-page .stm-payment-step h3 {
    margin-bottom: 7px;
    font-size: 19px;
}

.stm-payment-page .stm-payment-step p {
    margin-bottom: 14px;
    color: #444444;
    font-size: 16px;
    line-height: 1.75;
}

/* ==========================================
   ЗАГОЛОВОК РАЗДЕЛА
========================================== */

.stm-payment-page .stm-payment-section-heading {
    margin-bottom: 20px;
}

.stm-payment-page .stm-payment-section-heading h2 {
    margin-bottom: 12px;
    color: #333333;
    font-size: 27px;
}

.stm-payment-page .stm-payment-section-heading p {
    max-width: 900px;
    margin-bottom: 0;
    color: #444444 !important;
    font-size: 16px;
    line-height: 1.75;
}

/* ==========================================
   КАРТОЧКИ СПОСОБОВ ОПЛАТЫ
========================================== */

.stm-payment-page .stm-payment-methods {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    width: 100%;
}

.stm-payment-page .stm-payment-method {
    min-width: 0;
    padding: 24px;
    background: #ffffff;
    border: 1px solid var(--pay-border);
    border-radius: 0;
    box-shadow: 0 5px 20px rgba(0, 27, 114, .045);
    transition: border-color .2s ease, box-shadow .2s ease;
}

.stm-payment-page .stm-payment-method:hover {
    border-color: #b9c9f1;
    box-shadow: 0 5px 20px rgba(0, 27, 114, .07);
}

.stm-payment-page .stm-payment-method__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 18px;
}

.stm-payment-page .stm-payment-method__label {
    padding: 5px 10px;
    color: var(--pay-blue);
    background: var(--pay-light);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
}

.stm-payment-page .stm-payment-method h3 {
    margin-bottom: 10px;
    color: var(--pay-blue);
    font-size: 19px;
}

.stm-payment-page .stm-payment-method__description {
    margin-bottom: 0;
    color: #444444 !important;
    font-size: 16px;
    line-height: 1.75;
}

.stm-payment-page .stm-payment-method__note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 20px;
    padding: 14px 16px;
    background: #f8f9fc;
    border: 1px solid var(--pay-border);
}

.stm-payment-page .stm-payment-note__icon {
    display: flex;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    color: var(--pay-accent);
}

.stm-payment-page .stm-payment-note__icon svg {
    display: block;
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.stm-payment-page .stm-payment-method__note p {
    margin-bottom: 0;
    color: #596579;
    font-size: 14px;
    line-height: 1.65;
}

/* ==========================================
   ПЛАТЁЖНЫЕ СИСТЕМЫ
========================================== */

.stm-payment-page .stm-payment-logos-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 24px;
    background: #ffffff;
    border: 1px solid var(--pay-border);
    border-radius: 0;
    box-shadow: 0 5px 20px rgba(0, 27, 114, .045);
}

.stm-payment-page .stm-payment-logos-card__text {
    flex: 1 1 auto;
    min-width: 0;
}

.stm-payment-page .stm-payment-logos-card h2 {
    margin-bottom: 10px;
    color: #333333;
    font-size: 27px;
}

.stm-payment-page .stm-payment-logos-card p {
    max-width: 720px;
    margin-bottom: 0;
    color: #444444 !important;
    font-size: 16px;
    line-height: 1.75;
}

.stm-payment-page .stm-payment-logos {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px;
}

.stm-payment-page .stm-payment-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 60px;
    padding: 9px;
    background: #ffffff;
    border: 1px solid var(--pay-border);
}

.stm-payment-page .stm-payment-logo img {
    display: block;
    width: 100%;
    max-width: 82px;
    height: 38px;
    object-fit: contain;
}


.wp-image-8107 {
    display: block;
    width: 100% !important;
    max-width: 1200px;
    height: 200px !important;
    margin-top: 20px !important;
    object-fit: cover;
    object-position: center;
}

/* ==========================================
   БЛОК «НЕ НАШЛИ НУЖНОГО ОТВЕТА?»
========================================== */

.stm-payment-page .stm-payment-help {
    width: 100%;
    margin: 40px 0 0;
    padding: 29px 30px 30px;
    background: #f2f5ff;
    border: 1px solid #dce4f5;
    border-radius: 0;
}

.stm-payment-page .stm-payment-help h2 {
    margin: 0 0 12px;
    color: #333333;
    font-size: 27px;
    font-weight: 600;
    line-height: 1.3;
}

.stm-payment-page .stm-payment-help__description {
    width: 100%;
    margin: 0 0 22px;
    color: #444444 !important;
    font-size: 16px;
    line-height: 1.75;
}

.stm-payment-page .stm-payment-help__cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    width: 100%;
}

.stm-payment-page .stm-payment-help__card {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 0;
    min-height: 105px;
    padding: 19px 20px;
    color: var(--pay-blue);
    text-align: left;
    text-decoration: none !important;
    background: #ffffff;
    border: 1px solid #dce4f5;
    border-radius: 0;
    box-shadow: none;
    transition: border-color .2s ease, background-color .2s ease;
}

/* Карточки-ссылки */

.stm-payment-page a.stm-payment-help__card:hover {
    color: var(--pay-blue);
    text-decoration: none !important;
    border-color: #aabce9;
}

/* Иконки контактных карточек */

.stm-payment-page .stm-payment-help__icon {
    display: flex;
    flex: 0 0 46px;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    color: var(--pay-blue);
    background: #f2f5ff;
}

.stm-payment-page .stm-payment-help__icon svg {
    display: block;
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.stm-payment-page .stm-payment-help__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
    gap: 3px;
}

.stm-payment-page .stm-payment-help__label {
    display: block;
    color: #68748c;
    font-size: 13px;
    line-height: 1.5;
}

.stm-payment-page .stm-payment-help__value {
    display: block;
    max-width: 100%;
    color: var(--pay-blue);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

/* ВАЖНО:
   Вопрос открывается нажатием на всю карточку.
   Кнопка занимает всю доступную площадь карточки.
*/

.stm-payment-page .stm-payment-help__card--question {
    position: relative;
    cursor: pointer;
}

.stm-payment-page .stm-payment-help__card--question:hover {
    border-color: #aabce9;
    background: #fbfcff;
}

.stm-payment-page .stm-payment-help__card--question:focus-within {
    outline: 2px solid var(--pay-accent);
    outline-offset: 2px;
}

.stm-payment-page .stm-payment-help__button {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 19px 20px 19px 81px;
    color: var(--pay-blue) !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.stm-payment-page .stm-payment-help__button:hover,
.stm-payment-page .stm-payment-help__button:focus {
    color: var(--pay-accent) !important;
    background: transparent !important;
    text-decoration: underline;
    outline: none;
}

/* ==========================================
   ПЛАНШЕТЫ
========================================== */

@media (max-width: 1000px) {
    .stm-payment-page .stm-payment-help {
        padding: 25px 22px;
    }

    .stm-payment-page .stm-payment-help__cards {
        gap: 12px;
    }

    .stm-payment-page .stm-payment-help__card {
        gap: 11px;
        padding: 16px 13px;
    }

    .stm-payment-page .stm-payment-help__icon {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
    }

    .stm-payment-page .stm-payment-help__value {
        font-size: 14px;
    }

    .stm-payment-page .stm-payment-help__button {
        padding: 16px 13px 16px 64px;
        font-size: 14px;
    }
}

@media (max-width: 800px) {
    .stm-payment-page .stm-payment-logos-card {
        align-items: flex-start;
        flex-direction: column;
        gap: 22px;
    }

    .stm-payment-page .stm-payment-logos {
        justify-content: flex-start;
    }

    .stm-payment-page .stm-payment-help__cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stm-payment-page .stm-payment-help__card:last-child {
        grid-column: 1 / -1;
    }
}

/* ==========================================
   МОБИЛЬНЫЕ УСТРОЙСТВА
========================================== */

@media (max-width: 600px) {
    .stm-payment-page {
        font-size: 15px;
        line-height: 1.65;
    }

    .stm-payment-page h2 {
        margin-bottom: 16px;
        font-size: 23px;
    }

    .stm-payment-page h3 {
        font-size: 18px;
    }

    .stm-payment-page section {
        margin-bottom: 27px;
    }

    .stm-payment-page .stm-payment-intro {
        margin-bottom: 24px;
        padding: 0;
    }

    .stm-payment-page .stm-payment-intro p {
        color: #444444 !important;
        font-size: 15px;
    }

    .stm-payment-page .stm-payment-common {
        padding: 20px 17px;
    }

    .stm-payment-page .stm-payment-common__heading {
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 18px;
    }

    .stm-payment-page .stm-payment-common__heading h2 {
        font-size: 23px;
    }

    .stm-payment-page .stm-payment-common__icon,
    .stm-payment-page .stm-payment-method__icon {
        flex-basis: 46px;
        width: 46px;
        height: 46px;
    }

    .stm-payment-page .stm-payment-common__icon svg,
    .stm-payment-page .stm-payment-method__icon svg {
        width: 24px;
        height: 24px;
    }

    .stm-payment-page .stm-payment-steps {
        grid-template-columns: minmax(0, 1fr);
    }

    .stm-payment-page .stm-payment-step {
        gap: 12px;
        padding: 16px 0 0;
    }

    .stm-payment-page .stm-payment-step__number {
        flex-basis: 36px;
        width: 36px;
        height: 36px;
        font-size: 13px;
    }

    .stm-payment-page .stm-payment-step h3 {
        font-size: 18px;
    }

    .stm-payment-page .stm-payment-step p {
        font-size: 15px;
    }

    .stm-payment-page .stm-payment-method {
        padding: 20px;
    }

    .stm-payment-page .stm-payment-method h3 {
        font-size: 18px;
    }

    .stm-payment-page .stm-payment-method__description {
        font-size: 15px;
    }

    .stm-payment-page .stm-payment-method__note {
        gap: 9px;
        padding: 12px;
    }

    .stm-payment-page .stm-payment-method__note p {
        font-size: 13px;
    }

    .stm-payment-page .stm-payment-logos-card {
        padding: 20px;
    }

    .stm-payment-page .stm-payment-logos-card h2 {
        font-size: 23px;
    }

    .stm-payment-page .stm-payment-logos-card p {
        font-size: 15px;
    }

    .stm-payment-page .stm-payment-logos {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
        gap: 8px;
    }

    .stm-payment-page .stm-payment-logo {
        width: 100%;
        height: 54px;
        padding: 7px;
    }

    .stm-payment-page .stm-payment-logo img {
        max-width: 100%;
        height: 34px;
    }

    .stm-payment-page .stm-payment-help {
        margin-top: 26px;
        padding: 21px 17px;
    }

    .stm-payment-page .stm-payment-help h2 {
        margin-bottom: 10px;
        font-size: 23px;
    }

    .stm-payment-page .stm-payment-help__description {
        margin-bottom: 18px;
        font-size: 15px;
    }

    .stm-payment-page .stm-payment-help__cards {
        grid-template-columns: minmax(0, 1fr);
    }

    .stm-payment-page .stm-payment-help__card,
    .stm-payment-page .stm-payment-help__card:last-child {
        grid-column: auto;
        min-height: 88px;
        padding: 17px;
        gap: 13px;
    }

    .stm-payment-page .stm-payment-help__icon {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
    }

    .stm-payment-page .stm-payment-help__value {
        font-size: 16px;
    }

    /* Кнопка по-прежнему покрывает всю карточку */
    .stm-payment-page .stm-payment-help__button {
        padding: 17px 17px 17px 72px;
        font-size: 16px;
    }
	
		.wp-image-8107 {
				width: 100% !important;
        height: 180px !important;
    }
}

/* УМЕНЬШЕНИЕ АНИМАЦИЙ */

@media (prefers-reduced-motion: reduce) {
    .stm-payment-page *,
    .stm-payment-page *::before,
    .stm-payment-page *::after {
        transition: none !important;
    }
}