@media screen and (max-width: 1229px) {
    .advantages__list {
        -webkit-column-gap: 2.8%;
           -moz-column-gap: 2.8%;
                column-gap: 2.8%;
    }

    .products__swiper {
        max-width: 964px;
    }

    .order__container::after {
        right: 12%;
    }
}

@media screen and (max-width: 1023px) {
    .header__menu {
        margin-left: 13.6%;
    }

    .hero {
        padding: 58px 0 62px;
    }

    .hero__container {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    }

    .hero__title {
        margin-bottom: 68px;
    }

    .hero__text {
        margin-bottom: 44px;
    }

    .hero__image {
        margin-right: -116px;
        margin-top: -80px;
    }

    .advantages {
        padding-bottom: 126px;
    }

    .advantages__container {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
        justify-items: center;
        row-gap: 39px;
    }

    .advantages__content {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        text-align: center;
    }

    .advantages__description {
        max-width: 690px;
    }

    .advantages__image {
        -ms-grid-column-align: center;
            justify-self: center;
        -ms-flex-item-align: center;
            -ms-grid-row-align: center;
            align-self: center;
        width: 302px;
    }

    .advantages__list {
        -ms-grid-columns: 1fr 54px 1fr;
        grid-template-columns: repeat(2, 1fr);
        -webkit-column-gap: 54px;
           -moz-column-gap: 54px;
                column-gap: 54px;
        row-gap: 80px;
        margin-top: 44px;
    }

    .advantage {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        text-align: center;
    }

    .advantage__number {
        margin-bottom: 8px;
    }

    .products {
        padding-bottom: 123px;
    }

    .products__swiper {
        max-width: 555px;
    }

    .order__container::after {
        right: 6%;
    }
}

@media screen and (max-width: 899px) {
    .header .phone {
        display: none;
    }

    .order {
        padding: 112px 0 122px;
    }

    .order__container {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: reverse;
            -ms-flex-direction: row-reverse;
                flex-direction: row-reverse;
        position: relative;
    }

    .order__container::before {
        top: 224px;
        left: 367px;
        width: 72px;
        height: 89px;
    }

    .order__container::after {
        right: 13.3%;
        top: 86px;
    }

    .order__info {
        width: 100%;
    }

    .order__image {
        position: absolute;
        bottom: -112px;
        right: 15px;
    }

    .footer .rights {
        -ms-flex-item-align: center;
            -ms-grid-row-align: center;
            align-self: center;
    }

    .gift {
        display: none;
    }
}

@media screen and (max-width: 767px) {
    .order__container::before {
        top: 224px;
        left: 330px;
    }

    .order__container::after {
        right: 13%;
        top: 150px;
    }

}

@media screen and (max-width: 649px) {
    .header__container {
        -webkit-box-pack: justify;
            -ms-flex-pack: justify;
                justify-content: space-between;
    }

    .menu {
        display: none;
        position: fixed;
        width: 100%;
        height: 100%;
        margin: 0;
        top: 0;
        left: 0;
        background: rgba(0, 0, 0, 0.9);
        z-index: 99;
    }

    .menu.open {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
    }

    .menu__list {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        row-gap: 20px;
    }

    .menu__list .menu__item {
        margin-right: 0;
    }

    .menu__link {
        font-size: 28px;
        color: rgb(191 20 48);
    }

    .burger {
        position: relative;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        -webkit-box-pack: justify;
            -ms-flex-pack: justify;
                justify-content: space-between;
        width: 40px;
        height: 22px;
        row-gap: 8px;
        z-index: 1000;
    }

    .burger__line {
        width: 100%;
        height: 2px;
        background-color: #821328;
        -webkit-transition: -webkit-transform 0.5s;
        transition: -webkit-transform 0.5s;
        transition: transform 0.5s;
        transition: transform 0.5s, -webkit-transform 0.5s;
    }

    .burger.active .burger__line {
        background-color: rgb(191 20 48);
    }

    .burger.active .burger__line:nth-child(1) {
        position: absolute;
        left: 0;
        top: 50%;
        width: 80%;
        -ms-flex-item-align: end;
            align-self: flex-end;
        -webkit-transform: translateX(10%) rotate(315deg);
                transform: translateX(10%) rotate(315deg);
    }

    .burger.active .burger__line:nth-child(2) {
        -webkit-transform: translateX(200%);
                transform: translateX(200%);
        opacity: 0;
    }

    .burger.active .burger__line:nth-child(3) {
        position: absolute;
        left: 0;
        top: 50%;
        width: 80%;
        -ms-flex-item-align: end;
            align-self: flex-end;
        -webkit-transform: translateX(10%) rotate(-315deg);
                transform: translateX(10%) rotate(-315deg);
    }

    .hero__container {
        row-gap: 40px;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
    }

    .hero__info {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        text-align: center;
    }

    .hero__title {
        margin-bottom: 40px;
        font-size: 36px;
        line-height: 1.25;
    }

    .hero__image {
        margin: 0;
        max-width: 400px;
    }

    .hero__image::before, .hero__image::after {
        width: 190px;
        height: 190px;
    }

    .advantages__title {
        font-size: 34px;
    }

    .advantages__list {
        -ms-grid-columns: minmax(165px, 1fr) 15px minmax(165px, 1fr);
        grid-template-columns: repeat(2, minmax(165px, 1fr));
        -webkit-column-gap: 15px;
           -moz-column-gap: 15px;
                column-gap: 15px;
    }

    .advantage__title {
        font-size: 18px;
    }

    .advantage__text {
        font-size: 14px;
    }

    .products__title {
        font-size: 34px;
    }

    .products__swiper {
        max-width: 265px;
    }

    .order__container::before {
        top: 115px;
    }

    .order__container::after {
        display: none;
    }

    .order__title {
        font-size: 34px;
    }

    .order__image {
        display: none;
    }

    /*.order__form {*/
    /*    width: 100%;*/
    /*}*/

    .form__input {
        width: 100%;
        max-width: 374px;
    }

    .form__btn {
        width: 100%;
        max-width: 374px;
    }

    @-webkit-keyframes strawberry {
        0% {
            -webkit-transform: translateX(0);
                    transform: translateX(0);
        }
        50% {
            -webkit-transform: translateX(-50%);
                    transform: translateX(-50%);
        }
        100% {
            -webkit-transform: translateX(0);
                    transform: translateX(0);
        }
    }

    @keyframes strawberry {
        0% {
            -webkit-transform: translateX(0);
                    transform: translateX(0);
        }
        50% {
            -webkit-transform: translateX(-50%);
                    transform: translateX(-50%);
        }
        100% {
            -webkit-transform: translateX(0);
                    transform: translateX(0);
        }
    }

    .footer__container {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
        -ms-grid-rows: auto 40px auto 40px auto 40px auto;
        grid-template-rows: repeat(4, auto);
        justify-items: center;
        row-gap: 40px;
    }

    .footer__container > *:nth-child(1) {
        -ms-grid-row: 1;
        -ms-grid-column: 1;
    }

    .footer__container > *:nth-child(2) {
        -ms-grid-row: 3;
        -ms-grid-column: 1;
    }

    .footer__container > *:nth-child(3) {
        -ms-grid-row: 5;
        -ms-grid-column: 1;
    }

    .footer__container > *:nth-child(4) {
        -ms-grid-row: 7;
        -ms-grid-column: 1;
    }

    .footer .phone,
    .footer .social-link {
        grid-column: unset;
        grid-row: unset;
    }

    .footer .logo {
        -webkit-box-ordinal-group: 2;
            -ms-flex-order: 1;
                order: 1;
        -ms-grid-column-align: center;
            justify-self: center;
    }

    .footer .phone {
        -webkit-box-ordinal-group: 3;
            -ms-flex-order: 2;
                order: 2;
        -ms-grid-column-align: center;
            justify-self: center;
    }

    .footer .social-link {
        -webkit-box-ordinal-group: 4;
            -ms-flex-order: 3;
                order: 3;
        -ms-grid-column-align: center;
            justify-self: center;
    }

    .footer .rights {
        -webkit-box-ordinal-group: 5;
            -ms-flex-order: 4;
                order: 4;
        -ms-grid-column-align: center;
            justify-self: center;
    }
}

@media screen and (max-width: 424px) {
    .header {
        padding-top: 34px;
    }

    .hero {
        padding: 49px 0 44px;
    }

    .hero__title {
        margin-bottom: 31px;
        font-size: 32px;
    }

    .hero__text {
        margin-bottom: 31px;
    }

    .hero__image {
        max-width: 247px;
    }

    .hero__image::before, .hero__image::after {
        width: 158px;
        height: 158px;
    }

    .hero__text {
        margin-bottom: 39px;
        font-size: 16px;
    }

    .advantages__container {
        row-gap: 58px;
    }

    .advantages {
        padding: 93px 0 94px;
    }

    .advantages__title {
        font-size: 32px;
        line-height: 1.1;
        margin-bottom: 35px;
    }

    .advantages__description {
        font-size: 16px;
        line-height: 1.437;
    }

    .advantages__list {
        margin-top: 0;
        row-gap: 42px;
    }

    .advantage__text {
        font-size: 13px;
        line-height: 1.385;
    }

    .products {
        padding: 95px 0 101px;
    }

    .products__title {
        font-size: 30px;
    }

    .products__title {
        margin-bottom: 121px;
    }

    .product__image {
        margin-bottom: 41px;
    }

    .product__title {
        margin-bottom: 24px;
    }

    .order__container::before {
        top: 134px;
        left: 235px;
    }

    .order {
        padding: 94px 0 77px;
    }

    .order__title {
        margin-bottom: 36px;
        font-size: 30px;
    }

    .order__description {
        margin-bottom: 52px;
        font-size: 16px;
    }

    .footer {
        padding: 49px 0 51px;
    }

    .footer__container {
        row-gap: 35px;
    }

}

@media screen and (max-width: 374px) {
    .hero__title {
        font-size: 28px;
    }

    .advantages__list {
        -ms-grid-columns: minmax(260px, 1fr);
        grid-template-columns: minmax(260px, 1fr);
    }

    .advantages__title {
        font-size: 28px;
    }

    .advantage__title {
        font-size: 22px;
    }

    .advantage__text {
        font-size: 15px;
    }
}