.pay-method {
    display: flex;
    flex: 0 0 72px;
    flex-direction: column;
    align-items: center;
    align-self: center;
    justify-content: center;
    gap: 4px;
    width: 72px;
    height: 64px;
    padding: 4px;
    border-radius: 8px;
    cursor: pointer;
    box-sizing: border-box;
    background: #fff;
    overflow: hidden;
}

.pay-method img {
    width: 64px;
    height: 28px;
    max-width: 64px;
    max-height: 28px;
    object-fit: contain;
    display: block;
    flex: none;
}

.pay-method__name {
    font-size: 11px;
    line-height: 1.1;
    color: #4b5563;
    text-align: center;
}

.vk-open-browser {
    display: block;
    width: 100%;
    margin: 0 auto 20px;
    padding: 12px 40px;
    border-radius: 8px;
    border: 2px solid #FF5A00;
    background: #fff;
    color: #FF5A00;
    font-weight: 700;
    cursor: pointer;
}

.vk-open-browser[hidden],
form [type="submit"][hidden] {
    display: none !important;
}

#pay_container_online .grid-rows-2,
#pay_container_sms .grid-rows-2 {
    grid-template-rows: auto auto;
    align-content: start;
}

#pay_container_online .grid-rows-2 > div,
#pay_container_sms .grid-rows-2 > div {
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    box-sizing: border-box;
    height: 44px;
    min-height: 44px;
    padding: 0 4px;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    background: #f3f4f6;
    color: #4b5563;
    font-size: 14px;
    line-height: 1.2;
}

#pay_container_online .grid-rows-2 > div.is-on,
#pay_container_sms .grid-rows-2 > div.is-on {
    background: #2977ff;
    border-color: #2977ff;
    color: #fff;
}

#pay_container_online .grid-rows-2 input,
#pay_container_sms .grid-rows-2 input {
    width: 100% !important;
    max-width: 100%;
    height: 22px !important;
    min-height: 22px;
    margin: 0;
    padding: 0 !important;
    font-size: 13px !important;
    line-height: 22px !important;
    text-align: center;
}
