@media screen and (max-width: 1700px) {
    .order {
        min-width: 500px;
    }
}

@media screen and (max-width: 1250px) {
    .products__wrapper {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media screen and (max-width: 1100px) {
    body {  
        min-width: initial;
    }

    .container {
        padding: 0 20px;
    }

    .section__title {
        font-size: 40px;
    }

    .header {
        padding-bottom: 30px;
    }

    .menu {
        margin-top: 30px;
    }

    .menu__head {
        gap: 10px;
    }

    .menu__head__weekdays {
        gap: 7px;
    }

    .menu__head__weekdays__item {
        width: 100px;
        height: 80px;
    }

    .menu__banners {
        grid-template-columns: 1fr;
        margin: 55px 0;
    }

    .menu__banners__item.active::after {
        display: none;
    }

    .products__item {
        max-width: initial;
    }

    .footer {
        padding: 40px;
    }

    .footer__row {
        gap: 20px;
    }

    .footer__logo {
        max-width: 220px;
    }

    .header__buttons__item__info.login {
        display: none;
    }
}

@media screen and (max-width: 1000px) {
    .products__container {
        flex-direction: column;
    }

    .products__wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 750px) { 
    .header__nav {
        position: absolute;
        left: 0;
        right: 0;
        margin: 0 auto;
        top: 90px;
        z-index: 0;
    }

    .header__nav__list {
        gap: 20px;
    }

    .slider {
        margin-top: 50px;
    }

    .menu__head {
        align-items: center;
    }

    .menu__head__weekdays {
        flex-wrap: wrap;
        justify-content: flex-end;
        max-width: 270px;
    }

    .menu__head__weekdays__item__day {
        font-size: 20px;
    }

    .menu__head__weekdays__item {
        width: 80px;
        height: 54px;
    }

    .menu__banners {
        margin: 30px 0;
    }

    .products {
        margin-bottom: 30px;
    }

    .social {
        flex-direction: column;
    }

    .social__item {
        max-width: initial;
        height: 340px;
    }

    .bonappetit {
        height: 400px;
        padding: 40px;
        gap: 10px;
        margin-top: 20px;
    }

    .bonappetit__title,
    .bonappetit__title__gray {
        font-size: 40px;
    }

    .bonappetit__title {
        max-width: 176px;
    }

    .bonappetit__desc {
        font-size: 14px;
    }

    .footer__column__wrapper {
        gap: 10px;
    }

    .footer__column__link {
        font-size: 24px;
    }

    .footer {
        height: 370px;
    }

    .products__item__info__title {
        font-size: 20px;
    }

    .products__item__info__price {
        font-size: 24px;
        min-width: 60px;
    }

    .products__item__img__wrapper {
        min-width: 200px;
        width: 200px;
        height: 200px;
    }

    .products__item__info__btn {
        min-width: initial;
        width: 50px;
        height: 50px;
    }

    .products__item__info__btn__icon {
        width: 18px;
        height: 18px;
    }

    .modal__wrapper {
        padding: 0 30px;
        box-sizing: border-box;
    }

    .products__wrapper {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 550px) { 

    .menu {
        margin-top: 20px;
    }

    .header__logo {
        width: 150px;
    }

    .header__nav {
        width: calc(100% - 40px);
        box-sizing: border-box;
    }

    .slider__controls__item {
        width: 45px;
        height: 28px;
    }

    .header__buttons__item:has(.header__buttons__item__info) {
        padding: 10px 12px;
    }

    .menu__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .menu__head__title {
        max-width: initial;
    }

    .menu__head__weekdays {
        max-width: initial;
        justify-content: space-between;
        width: 100%;
        flex-wrap: nowrap;
    }

    .menu__banners__item {
        height: 290px;
    }

    .footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .footer__row {
        width: 100%;
        justify-content: space-between;
        order: 1;
    }

    .footer__link {
        order: 2;
    }

    .menu__head__weekdays__item__date {
        font-size: 12px;
    }

    .modal {
        padding: 30px 30px 40px 30px;
    }

    .modal__step__form__buttons {
        flex-direction: column;
    }

    .modal__step__form__buttons__item  {
        justify-content: center;
    }

    .modal__step__wrapper {
        gap: 20px;
    }

    .btn__prev__img,
    .btn__next__img {
        display: none;
    }

    .order {
        min-width: initial;
        width: 100%;
        padding: 20px;
        gap: 30px;
    }

    .products__item__img__wrapper {
        min-width: 170px;
        width: 170px;
        height: 170px;
    }
}

@media screen and (max-width: 350px) { 

    .header__buttons {
        position: initial;
    }

    .order {
        left: 0;
        margin: auto;
    }
}