









.balance {
    /*noinspection CssInvalidPropertyValue*/
    text-wrap: balance;
    text-wrap-style: balance;
}

.text__underline {
    text-decoration: underline;
}

.main {
    background: url("../img/main__bg.svg") no-repeat 50% 85% / 1585px;
    padding: 63px 0 100px;
}

.main__logo {
    width: 100%;
    max-width: 884px;
    margin: 0 auto 55px;
}

.cert__row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    margin-bottom: 77px;
}

.cert__item {
    max-width: 242px;
}

.main__row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
}

.main__product {
    max-width: 530px;
}

.main__right {
    max-width: 486px;
}

.price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.price_card {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin: 0;
}

.price__item {
    line-height: 1;
    width: auto;
}

.price__item_old {
    color: var(--dark2);
    font-size: 1.75rem;
    font-weight: 600;
    text-align: center;
    white-space: normal;
    text-decoration: line-through;
}

.price__item_new {
    color: var(--white);
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    background: var(--form__price);
    width: 100%;
    max-width: 262px;
    padding: 8px;
    border-radius: 116px;
}

.price__item_new span {
    color: var(--white);
    z-index: 2;
    position: relative;
}

.price__item_long {
    max-width: 100%;
    padding: 15px 30px 15px 55px;
}

.counter {
    display: flex;
    align-items: center;
    gap: 10px;
}

.counter__title {
    color: var(--dark2);
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1;
    max-width: 200px;
}

.counter__row {
    display: flex;
}

.counter__value {
    color: var(--dark2);
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
    text-align: center;
    position: relative;
}

.counter__value:after {
    content: ':';
    color: inherit;
    font-size: inherit;
    line-height: inherit;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(50%, -50%);
}

.counter__item:last-child .counter__value:after {
    content: none;
}

.counter__text {
    color: var(--dark2);
    font-size: 1rem;
    line-height: 1;
    text-align: center;
}

.order {
    padding-bottom: 67px;
}

.order__card {
    position: relative;
    background: var(--light);
    max-width: 964px;
    margin-left: auto;
    padding: 36px 88px;
    border-radius: 40px;
}

.order__title {
    color: var(--dark2);
    font-size: 1.875rem;
    font-weight: 900;
    line-height: 1.1;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 40px;
}

.order__row {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.order__left {
    max-width: 308px;
}

.order__product {
    position: absolute;
    top: 50%;
    left: 0;
    max-width: 226px;
    transform: translate(-41%, -50%);
}

.order__right {
    max-width: 435px;
}

.order__link {
    color: var(--white);
    font-size: 1.875rem;
    font-weight: 900;
    line-height: 1.1;
    text-align: center;
    text-transform: uppercase;
    background: var(--buttonBg);
    margin-bottom: 23px;
    padding: 22px 15px;
    border-radius: 100px;
    box-shadow: 0 0 11px 0 rgba(156, 156, 174, 0.22);
}

.footer {
    background: var(--main2);
    padding: 45px 0;
}

.footer__text {
    color: var(--white);
    font-size: 1.625rem;
    font-weight: 800;
    text-align: center;
}

@media screen and (max-width: 1280px) {

    .order__card {
        margin: 0 auto;
        padding: 36px 16px 36px 170px;
    }

    .order__product {
        transform: translate(-10%, -50%);
    }

}

@media screen and (max-width: 1024px) {
    .main__row {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
    }

    .main__product {
        max-width: 285px;
    }

    .cert__row {
        gap: 10px;
    }

    .cert__item {
        max-width: 31%;
    }

    .order__card {
        padding: 20px;
    }

    .order__row {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 20px;
    }

    .order__left {
        display: flex;
        justify-content: center;
        align-items: center;
        max-width: 500px;
    }

    .order__product {
        z-index: 2;
        position: relative;
        transform: none;
    }

    .order__right {
        max-width: 500px;
    }

    .price__item_long {
        position: relative;
        padding: 15px;
    }

    .price__item_long:before {
        content: '';
        z-index: 0;
        position: absolute;
        top: 0;
        left: 0;
        display: block;
        background: var(--form__price);
        width: 170px;
        height: 100%;
        transform: translateX(-50%);
        border-radius: 117px 0 0 117px;
    }

}

@media screen and (max-width: 576px) {
    .main {
        background-position: 50% 58%;
        background-size: 700px;
        padding: 45px 0;
    }

    .main__logo {
        margin-bottom: 40px;
    }

    .price {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-bottom: 10px;
    }

    .price_card {
        max-width: 160px;
    }

    .price__item_new {
        font-size: 2.8125rem;
        padding: 7px 15px;
    }

    .price__item_old {
        font-size: 1.4375rem;
        text-align: left;
        padding-left: 15px;
    }

    .counter {
        max-width: 300px;
        margin: 0 auto;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .counter__title {
        font-size: 1.1875rem;
        text-align: center;
        max-width: 100%;
    }

    .order {
        background: var(--light);
        padding: 25px 0 67px;
    }

    .order__card {
        padding: 0;
        border-radius: 0;
    }

    .order__title {
        font-size: 1.5625rem;
        margin-bottom: 20px;
    }

    .order__product {
        max-width: 141px;
    }

    .order__link {
        font-size: 1.375rem;
        max-width: 300px;
        margin: 0 auto 23px;
        padding: 8px;
    }

    .footer__text {
        font-size: 1.125rem;
    }
}

@media screen and (max-width: 376px) {

}