.background {
    padding: 0 25px 25px;
    position: relative;
    width: 100%;
}

.background::after {
    content: '';
    background: #71a32e;
    background: linear-gradient(to bottom, #71a32e 0%, #537821 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#71a32e', endColorstr='#537821', GradientType=0);
    height: 350px;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
}

.panel {
    border-radius: 10px;
    position: relative;
    width: 100%;
    z-index: 10;
    background-color: #fff;
}

.checkout__header {
    padding: 50px 0 0;
    max-width: 960px;
    width: 100%;
    margin: 0 auto 40px;
}

.checkout__header h1, .checkout__header p, .checkout__header h2 {
    color: #ffffff;
    display: block;
    position: relative;
    text-align: center;
    z-index: 2;
}

.checkout__header h1 {
    margin: 0 0 0.7em;
}

.checkout__header p {
    margin-bottom: 4px;
}

.checkout__content {
    margin: 0 auto;
    max-width: 1280px;
    width: 100%;
    padding: 40px;
    box-shadow: 0 10px 13px -6px rgba(0, 0, 0, .08), 0 20px 31px 3px rgba(0, 0, 0, .09), 0 8px 20px 7px rgba(0, 0, 0, .02);
    min-height: 500px;
}

.checkout__form {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.checkout__left, .checkout__right {
    width: calc(50% - 20px);
}

.checkout__form-title {
    font-size: 18px;
    font-weight: 600;
    padding-bottom: 4px;
    margin-bottom: 10px;
}

.checkout__section {
    margin-bottom: 40px;
}

.checkout__form .form-group {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.checkout__product {
    display: flex;
    cursor: pointer;
    width: 200px;
}

.checkout__product input {
    display: none;
}

.checkout__product-text {
    display: flex;
    width: 100%;
    background: rgba(0, 0, 0, .05);
    height: 40px;
    border-radius: 5px;
    justify-content: center;
    align-items: center;
    font-weight: normal;
    text-align: center;
}

.checkout__product input:checked + .checkout__product-text {
    background: #71a32e;
    color: #fff;
}

.form-group-column {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.checkout__thanks {
    display: flex;
    flex-wrap: wrap;
}

.checkout__thanks .right,
.checkout__thanks .left {
    width: 50%;
}

.checkout__payment {
    margin: 11px 0;
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    align-items: center;
    cursor: pointer;
}

.checkout__payment input {
    display: none;
}

.checkout__payment-text {
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: flex-start;
    max-width: calc(100% - 30px);
}

.checkout__payment-text img {
    max-width: 80%;
    max-height: 30px;
    display: inline-block;
    margin-bottom: 10px;
}

.checkout__payment-text img.checkout__payment-sbp {
    max-height: 90px;
}

.input-radio {
    display: block;
    width: 20px;
    height: 20px;
    border: 1px solid #000;
}

.checkout__payment input:checked + .input-radio {
    background: #71a32e;
    border: 1px solid #71a32e;
}

.checkout__button {
    box-sizing: border-box;
    min-width: 120px;
    letter-spacing: .8px;
    text-transform: uppercase;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
    border: 1px solid #71a32e;
    display: inline-block;

    border-radius: 17px;
    color: #fff;
    font-weight: 700;
    background: #71a32e;
    font-size: 13px;
    padding: 10px 21px;
    outline: 0;
}

.checkout__order-field {
    margin-bottom: 20px;
    width: 100%;
    /*max-width: 300px;*/
}

.checkout__order-field .error,
.checkout__payments .error {
    font-size: 12px;
    color: red;
}

.checkout__payment-list {
    margin-top: 40px;
}

.checkout__payment-item {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 10px;
}

.pricing-switch {
    position: relative;
    z-index: 100;
    margin-top: 20px;
    margin-bottom: 20px;
}

.pricing-switch__group {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.pricing-switch__label {

}

.pricing-switch__input {
    display: none;
}

.pricing-switch__text {
    height: 36px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    background: #fff;
    border: 2px solid #fff;
    cursor: pointer;
}

.pricing-switch__input:checked + .pricing-switch__text {
    background: #71a32e;
    color: #fff;
    cursor: text;
}

.checkout__section p {
    line-height: 1.3;
    margin-bottom: 15px;
}

.checkout__section a:not(.checkout__button) {
    text-decoration: underline;
    color: blue;
}

.payer {
    display: none;
}

.payer.active {
    display: block;
}

.payer textarea {
    min-height: 150px;
}

.payer .description {
    display: block;
    width: 100%;
    font-size: 14px;
    line-height: 1.3;
    color: green;
}

.required {
    color: red;
}

.ms2_button {
    display: inline-block;
    height: 40px;
    border-radius: 5px;
    font-weight: 400;

    background: #71a32e;
    color: #fff !important;
    text-decoration: none !important;
    padding: 10px 20px;
}

.checkout__thanks strong {
    white-space: nowrap;
}


@media (max-width: 1400px) {
    .checkout__content {
        max-width: 80%;
    }

    .checkout__order-field {
        max-width: 100%;
    }
}

@media (max-width: 1280px) {
    .checkout__product {
        width: 48%;
    }
}

@media (max-width: 960px) {
    .background {
        padding: 0 0 25px;
    }

    .checkout__product {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .pricing-switch {
        padding: 0 50px;
    }

    .pricing-switch__group {
        flex-direction: column;
        align-items: flex-start;
    }

    .pricing-switch__label {
        width: 100%;
    }

    .pricing-switch__text {
        width: 100%;
    }


    .checkout__header {
        max-width: 100%;
    }

    .checkout__content {
        max-width: 95%;
    }

    .checkout__form {
        gap: 0;
        flex-direction: column;
    }

    .checkout__left, .checkout__right {
        width: 100%;
    }

    .checkout__payment-text img.checkout__payment-sbp {
        max-height: 100%;
    }

    .checkout__thanks .right,
    .checkout__thanks .left {
        width: 100%;
    }
}

