/* Конфигуратор PR1121. Зелёный как у .b-color_green2 на keyacademy.ru: #5fb878 */
.ka-g3 {
    background: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    padding: 14px 16px 10px;
    margin: 4px 0 16px;
    color: #2b2b2b;
}
.ka-g3__head {
    font-weight: 700;
    font-size: 18px;
    line-height: 1.3;
    margin: 0 0 8px;
    background: #fff;
    color: #2b2b2b;
}
.ka-g3__head_sub {
    margin-top: 14px;
    font-size: 16px;
}
.ka-g3__row {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 10px;
    min-height: 48px;
    margin: 0;
    padding: 4px 8px;
    border-radius: 6px;
    cursor: pointer;
    background: #fff;
}
.ka-g3__row.is-on {
    background: #f4faf6;
}
.ka-g3__input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
    pointer-events: none;
}
.ka-g3__radio,
.ka-g3__box {
    width: 22px;
    height: 22px;
    box-sizing: border-box;
    border: 2px solid #c5c5c5;
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 22px;
}
.ka-g3__radio { border-radius: 50%; }
.ka-g3__box { border-radius: 4px; }
.ka-g3__input:checked + .ka-g3__radio {
    border-color: #5fb878;
}
.ka-g3__input:checked + .ka-g3__radio::after {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #5fb878;
}
.ka-g3__input:checked + .ka-g3__box {
    border-color: #5fb878;
    background: #fff;
}
.ka-g3__input:checked + .ka-g3__box::after {
    content: "";
    width: 6px;
    height: 11px;
    margin-top: -2px;
    border: solid #5fb878;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}
.ka-g3__input:focus-visible + .ka-g3__radio,
.ka-g3__input:focus-visible + .ka-g3__box {
    outline: 2px solid #5fb878;
    outline-offset: 2px;
}
.ka-g3__label {
    font-size: 15px;
    line-height: 1.25;
    font-weight: 600;
    white-space: nowrap;
}
.ka-g3__row-price {
    text-align: right;
    white-space: nowrap;
    line-height: 1.15;
}
.ka-g3__pay {
    display: block;
    font-weight: 700;
    font-size: 15px;
    color: #2b2b2b;
}
.ka-g3__was {
    display: block;
    font-size: 12px;
    color: #9a9a9a;
    font-weight: 500;
}
.ka-g3__total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 48px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #eee;
}
.ka-g3__total-label {
    font-weight: 700;
    font-size: 16px;
    white-space: nowrap;
}
.ka-g3__total-prices { text-align: right; white-space: nowrap; }
.ka-g3__total-pay {
    display: block;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.2;
}
.ka-g3__total-was {
    display: block;
    color: #9a9a9a;
    font-size: 13px;
}
.ka-g3__status {
    margin-top: 8px;
    font-size: 14px;
    line-height: 1.35;
    color: #3d6b4a;
}
.ka-g3-on .ka-price-percent { display: none !important; }
.ka-g3-on #yandex-pay-widget { display: none !important; }
.ka-g3-on .ka-g3-buy.b-btn_orange {
    background-color: #F4943E !important;
    border-color: #F4943E !important;
    color: #fff !important;
    white-space: nowrap !important;
    pointer-events: auto !important;
    box-sizing: border-box;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-top: 0;
    padding-bottom: 0;
}
@media (max-width: 420px) {
    .ka-g3 { padding: 12px 10px 8px; }
    .ka-g3__row { column-gap: 8px; padding: 4px 4px; }
    .ka-g3__label { font-size: 14px; }
    .ka-g3__pay { font-size: 14px; }
}
