.main_tabs_buttons .item,
.main_tabs_buttons .item .title,
.main_tabs_buttons .item .background,
.main_tabs_buttons .item .background::before,
.footer_form .input,
.child_tabs_buttons .title::after{
    -webkit-transition: all linear 0.2s;
    -moz-transition: all linear 0.2s;
    -o-transition: all linear 0.2s;
    transition: all linear 0.2s;
}
.first-screen {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: left center;
}
.first-screen {
    /*background-image: url("/templates/custom/images/bg-main.jpg");*/
}
.main_tabs_buttons .item .background {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.main_tabs_buttons .item.cuisine .background {
    /*background-image: url("/images/menu/menu_cuisine.jpg");*/
}
.main_tabs_buttons .item.bar .background {
    /*background-image: url("/images/menu/menu_bar.jpg");*/
}


.messenger_link {
    display: inline-block;
    margin-right: 5px;
}
.messenger_phone {
    display: block;
}
.social_link {
    display: inline-flex;
    align-items: center;
    margin-right: 10px;
    margin-bottom: 20px;
}
.social_link .user {
    padding-left: 15px;
}
.tabs-button-wrapper {
    display: flex;
}
.tabs-content-item {
    display: none;
}
.tabs-content-item.active {
    display: block;
}
.main-page .header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}
.header {
    padding-top: 10px;
}
.header .row {
    align-items: center;
}
.header .space {
    flex: 1;
}
.header .logo, .header .menu_item {
    margin-right: 50px;
}
.basket {
    margin-right: 20px;
}
.header .contacts, .header .contacts .phones {
    position: relative;
}
.header .contacts .phones {
    width: 193px;
    height: 53px;
    background: var(--color-purple);
    border-radius: 5px;
    padding-top: 5px;
    padding-left: 60px;
}
.header .contacts .phones::before {
    content: '';
    display: block;
    position: absolute;
    top: 15px;
    left: 30px;
    width: 20px;
    height: 20px;
    background-image: url("/templates/custom/icon/phone_small.png");
}
.header .contacts .phone_link {
    font-size: 14px;
    line-height: 18px;
    font-weight: bold;
    color: var(--text-white);
}
.header .contacts .messengers {
    position: absolute;
    top: 115%;
    left: 50px;
}
.header .contacts .messenger_link {
    max-width: 25px;
}
.header .contacts .messenger_phone {
    display: none;
}
.first-screen .row {
    padding-top: 285px;
    padding-bottom: 285px;
    align-items: center;
    justify-content: space-between;
}
.first-screen .subtitle {
    font-size: 24px;
    line-height: 30px;
    margin-bottom: 10px;
}
.first-screen .section-title {
    margin-bottom: 40px;
}
.first-screen .social_link .user {
    display: none;
}
.menu-section .section-title, .order-section .title-line {
    margin-bottom: 80px;
}
.main_tabs_buttons {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 430px;
}

.main_tabs_buttons .item {
    width: 405px;
    box-shadow: 0 15px 45px rgba(25, 25, 25, 0.25);
    border-radius: 5px 5px 10px 10px;
    cursor: pointer;
}
.main_tabs_buttons .item .title {
    text-align: center;
    padding: 25px;
    font-size: 24px;
    line-height: 30px;
    font-weight: bold;
    background-color: var(--color-yellow);
    border-radius: 5px 5px 0 0;
    position: relative;
    z-index: 1;
}
.main_tabs_buttons .item .background {
    height: 295px;
    margin-top: -5px;
    border-radius: 0 0 10px 10px;
    position: relative;
}
.main_tabs_buttons .item .background::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(50, 50, 50, 0.7);
    border-radius: 0 0 10px 10px;
}

.main_tabs_buttons .active .item {
    width: 430px;
}
.main_tabs_buttons .active .item .title {
    padding: 30px;
    background: var(--color-purple);
    color: var(--text-white);
}
.main_tabs_buttons .active .item .background {
    height: 315px;
}
.main_tabs_buttons .active .item .background::before {
    background-color: rgba(50, 50, 50, 0);
}
.main_tabs_buttons .item.cuisine {
    margin-bottom: 45px;
}
.main_tabs_content {
    flex: 1;
    padding-left: 50px;
}
.child_tabs_buttons {
    border-bottom: 3px solid var(--color-lightgray);
    margin-bottom: 30px;
    /*justify-content: space-between;*/
}
.child_tabs_buttons .title {
    font-size: 22px;
    line-height: 28px;
    font-weight: bold;
    letter-spacing: 0.01em;
    padding-bottom: 10px;
    position: relative;
    cursor: pointer;
    margin-right: 48px;
}
.child_tabs_buttons .title::after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    width: 0;
    height: 3px;
    bottom: -3px;
    background-color: var(--color-purple);
}
.child_tabs_buttons .active .title::after {
    width: 100%;
}
.child_tabs_content .tabs-content-item {
    min-height: 744px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 15px 45px rgba(25, 25, 25, 0.25);
}
.child_tabs_content .menu_list_photo {
    /*width: 520px;*/
}
.child_tabs_content .menu_list_photo.two {
    /*width: 450px;*/
}
.owl-carousel.burger-carousel .owl-item img {
    width: auto;
    margin-left: auto;
    margin-right: auto;
}
.burger-carousel.owl-theme .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 50px;
    padding-right: 50px;
}
.owl-carousel.burger-carousel .owl-nav button.owl-next,
.owl-carousel.burger-carousel .owl-nav button.owl-prev {
    font-size: 46px;
    padding-left: 10px;
    padding-right: 10px;
}
.owl-theme.burger-carousel .owl-nav [class*="owl-"]:hover {
    background: transparent;
    color: #000;
}
.main_tabs_content .tabs-content-item {
    max-width: 920px;
    position: relative;
}
.order-section .title-line {
    align-items: center;
    justify-content: space-between;
}
.order-section .delivery_link {
    display: inline-block;
    padding: 15px;
}
.menu_block .menu_block-head {
    background-color: var(--color-yellow);
    display: flex;
}
.menu_block {
    box-shadow: 0 15px 45px rgba(25, 25, 25, 0.15);
    margin-bottom: 50px;
    border-radius: 3px;
}
.menu_block .product {
    display: flex;
    min-height: 80px;
    background: #fff;
}
.menu_block .th {
    font-size: 20px;
    line-height: 26px;
    font-weight: bold;
    padding: 32px 20px;
}
.menu_block .first {
    width: 51%;
}
.menu_block .second,
.menu_block .three,
.menu_block .four {
    width: 16.5%;
    text-align: center;
}
.menu_block .product .second,
.menu_block .product .three,
.menu_block .product .four {
    border-left: thin solid var(--color-lightgray);
}
.menu_block .product .image_block {
    max-width: 80px;
    padding: 5px;
}
.menu_block .product .first {
    display: flex;
    align-items: center;
}
.menu_block .product .title {
    font-size: 18px;
    line-height: 22px;
    font-weight: bold;
    padding-left: 5px;
}
.menu_block .product .description {
    padding-left: 5px;
}
.menu_block .product .prod_qty_input,
.menu_block .product .jshop_price,
.menu_block .product .buttons {
    display: flex;
    align-items: center;
    justify-content: center;
}
.menu_block .product .inputbox {
    font-size: 18px;
    line-height: 22px;
    font-weight: bold;
    text-align: center;
    border: none;
    max-width: 50px;
    background: transparent;
}
.menu_block .product .product_minus, .menu_block .product .product_plus {
    display: inline-block;
    width: 24px;
    height: 24px;
    border-radius: 12px;
    font-size: 18px;
    line-height: 18px;
    text-align: center;
    background: transparent;
    cursor: pointer;
}
.menu_block .product .product_minus {
    color: var(--text-light);
    border-color: var(--text-light);
}
.menu_block .product .product_plus {
    color: var(--color-purple);
    border-color: var(--color-purple);
}
.menu_block .product .jshop_price {
    font-size: 16px;
    line-height: 20px;
    font-weight: bold;
}
.menu_block .product .btn.button_buy {
    border: none;
    min-width: auto;
    margin: 0;
    max-width: 50px;
}
.menu_block .list_product .product:nth-child(odd) {
    background-color: var(--text-white);
}

.gallery-section {
    padding-bottom: 100px;
}
.gallery-wrapper, .gallery-wrapper .flex {
    display: flex;
    flex-wrap: wrap;
}
.gallery-wrapper .col-second {
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 400px;
}
.gallery-wrapper .col-first, .gallery-wrapper .col-three {
    width: 100%;
    max-width: 500px;
}

.gallery_item {
    display: block;
    width: 100%;
    height: 225px;
    margin-right: 20px;
    margin-bottom: 20px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    box-shadow: 0 15px 45px rgba(25, 25, 25, 0.15);
}
.gallery_item.small {
    max-width: 230px;

}
.gallery_item.square {
    max-width: 380px;
    height: 350px;
}


.footer {
    background-color: #FCFCFC;
    display: flex;
    flex-wrap: wrap;
}
.footer_title {
    font-size: 24px;
    line-height: 30px;
    font-weight: bold;
    margin-bottom: 10px;
}
.footer_title:not(:first-child) {
    margin-top: 40px;
}
.footer .map {
    width: 750px;
    height: 750px;
}
.footer_contacts, .footer_form {
    padding: 120px 15px 25px 100px;
}
.footer_contacts .footer_title {
    margin-bottom: 25px;
}
.footer_contacts .address, .footer_contacts .phones {
    font-size: 18px;
    font-weight: bold;
    padding-left: 55px;
    position: relative;
}
.footer_contacts .address::before, .footer_contacts .phones::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    top: 5px;
    width: 40px;
    height: 40px;
}
.footer_contacts .address {
    margin-bottom: 10px;
}
.footer_contacts .address::before {
    background-image: url("/templates/custom/icon/location.png");
}
.footer_contacts .phones::before {
    background-image: url("/templates/custom/icon/phone_big.png");
}
.footer_contacts .messenger_phone, .footer_contacts .social_link {
    font-weight: bold;
}
.footer_form {
    width: 100%;
    max-width: 460px;
}
.footer_form .desc {
    color: var(--text-light);
    margin-bottom: 25px;
}
.footer_form label {
    display: block;
}
.footer_form .input {
    width: 100%;
    font-size: 16px;
    line-height: 60px;
    font-weight: bold;
    padding-left: 35px;
    border-radius: 12px;
    margin-bottom: 15px;
    background-color: var(--color-lightgray);
    border: thin solid var(--color-lightgray);
}
.footer_form .input:focus {
    border-color: var(--color-purple);
}
.burger-menu span {
    display: block;
    position: absolute;
    left: 0;
    width: 80px;
    height: 50px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    transition: all linear 0.2s;
}
.burger-menu span:first-child {
    background-image: url("/templates/custom/icon/up.png");
    bottom: 25%;
    z-index: 16;
}
.burger-menu span:nth-child(2) {
    background-image: url("/templates/custom/icon/tomat.png");
    bottom: 19%;
    z-index: 15;
    opacity: 0;
}
.burger-menu span:nth-child(3) {
    background-image: url("/templates/custom/icon/leaf.png");
    bottom: 7%;
    z-index: 14;
}
.burger-menu span:nth-child(4) {
    background-image: url("/templates/custom/icon/cheese.png");
    bottom: 7%;
    z-index: 13;
    opacity: 0;
}
.burger-menu span:nth-child(5) {
    background-image: url("/templates/custom/icon/beaf.png");
    bottom: 0;
    opacity: 0;
    z-index: 12;
}
.burger-menu span:last-child {
    background-image: url("/templates/custom/icon/down.png");
    bottom: 0;
    z-index: 11;
}
.active .burger-menu span:first-child {
    bottom: 46%;
}
.active .burger-menu span:nth-child(2) {
    bottom: 33%;
    opacity: 1;
    transform: rotateZ(22deg);
}
.active .burger-menu span:nth-child(3) {
    background-image: url("/templates/custom/icon/meal.png");
    bottom: 22%;
}
.active .burger-menu span:nth-child(4) {
    bottom: 14%;
    opacity: 1;
}
.active .burger-menu span:nth-child(5) {
    bottom: 7%;
    opacity: 1;
}
.scroll_up {
    display: none;
    position: fixed;
    right: 50px;
    bottom: 50px;
    /*display: block;*/
    width: 40px;
    height: 70px;
    background: url("/templates/custom/icon/scroll_up.png") no-repeat center/cover;
    animation: translating 5s linear infinite;
}
@keyframes translating{
    0%{transform:rotateY(0deg)}
    20%{transform:rotateY(180deg)}
    22%{transform:rotateY(180deg)}
    42%{transform:rotateY(360deg)}
    100%{transform:rotateY(360deg)}
}
.header .basket.fixed {
    position: fixed;
    top: 50px;
    right: 0;
    z-index: 2;
}
.gallery-section .gallery-wrapper,
.order-section .section-title,
.order-section .title-line,
.order-section .moved-block,
.menu-section .container-wide,
.menu-section .row.mx-0 {
    position: relative;
}
.gallery-section .gallery-wrapper::before,
.gallery-section .gallery-wrapper::after,
.order-section .section-title::after,
.order-section .title-line::before,
.order-section .title-line::after,
.order-section .moved-block::before,
.order-section .moved-block::after,
.menu-section .container-wide::before,
.menu-section .container-wide::after,
.menu-section .row.mx-0::before,
.menu-section .row.mx-0::after {
    content: '';
    display: block;
    position: absolute;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    z-index: -1;
}
.order-section .section-title::after {
    width: 55px;
    height: 52px;
    right: 50px;
    top: -30px;
    background-image: url("/templates/custom/icon/squash.png");
}
.order-section .title-line::before {
    width: 192px;
    height: 192px;
    left: -200px;
    top: 50px;
    background-image: url("/templates/custom/icon/mineral_water.png");
}
.order-section .title-line::after {
    width: 192px;
    height: 187px;
    right: -200px;
    top: 150px;
    background-image: url("/templates/custom/icon/burger.png");
}
.order-section .moved-block::before {
    width: 104px;
    height: 114px;
    left: -150px;
    top: 52%;
    background-image: url("/templates/custom/icon/salad.png");
}
.order-section .moved-block::after {
    width: 93px;
    height: 82px;
    right: -150px;
    top: 48%;
    background-image: url("/templates/custom/icon/onion.png");
}
.menu-section .container-wide::before {
    width: 93px;
    height: 82px;
    right: 50%;
    top: 50px;
    background-image: url("/templates/custom/icon/onion.png");
}
.menu-section .container-wide::after {
    width: 104px;
    height: 114px;
    right: -50px;
    top: 0;
    background-image: url("/templates/custom/icon/salad.png");
}
.menu-section .row.mx-0::before {
    width: 121px;
    height: 166px;
    left: -150px;
    top: 45%;
    background-image: url("/templates/custom/icon/french_fries.png");
}
.menu-section .row.mx-0::after {
    width: 112px;
    height: 114px;
    right: -150px;
    top: 50%;
    background-image: url("/templates/custom/icon/tomato.png");
}
.gallery-section .gallery-wrapper::before {
    width: 112px;
    height: 114px;
    left: -50px;
    top: -135px;
    background-image: url("/templates/custom/icon/tomato.png");
}
.gallery-section .gallery-wrapper::after {
    width: 104px;
    height: 114px;
    right: 0;
    top: -135px;
    background-image: url("/templates/custom/icon/salad.png");
}

/* ------------------------------------------------------------------------------------------------------------------ */

.grid-wrapper {
    padding-left: calc((100vw - 1430px) / 2);
    padding-top: 105px;
}
.first-screen .grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: repeat(4, 1fr);
    grid-gap: 7px;
}
.first-screen .wrap {
    grid-column: 1 / 4;
    grid-row: 3 / 5;
}
.first-screen .item-1 {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}
.first-screen .item-2 {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
}
.first-screen .item-3 {
    grid-column: 2 / 4;
    grid-row: 1 / 3;
}
.first-screen .item-4 {
    grid-column: 4 / 5;
    grid-row: 1 / 3;
}
.first-screen .item-5 {
    grid-column: 5 / 7;
    grid-row: 1 / 3;
}
.first-screen .item-6 {
    grid-column: 7 / 8;
    grid-row: 1 / 3;
}
.first-screen .item-7 {
    grid-column: 4 / 5;
    grid-row: 3 / 5;
}
.first-screen .item-8 {
    grid-column: 5 / 6;
    grid-row: 3 / 4;
}
.first-screen .item-9 {
    grid-column: 5 / 6;
    grid-row: 4 / 5;
}
.first-screen .item-10 {
    grid-column: 6 / 8;
    grid-row: 3 / 5;
}
.first-screen .img-item img {
    display: block;
    height: 100%;
}
.grid-wrapper .wrap{
    padding-top: 20px;
}
.grid-wrapper .wrap .btn {
    margin-bottom: 30px;
}
.grid-wrapper .wrap br {
    display: none;
}
@media screen and (max-width: 1500px) {
    .grid-wrapper {
        padding-left: calc((100vw - 1140px) / 2);
        padding-top: 105px;
    }
    .grid-wrapper .wrap {
        padding-top: 0;
    }
    .first-screen .section-title {
        font-size: 50px;
        line-height: 60px;
        margin-bottom: 20px;
    }
    .grid-wrapper .wrap .btn {
        margin-bottom: 15px;
    }
}
@media screen and (max-width: 1200px) {
    .first-screen .grid-wrapper {
        display: none;
    }
}
@media screen and (min-width: 1201px) {
    .first-screen .desktop-hide {
        display: none;
    }
}


/* ------------------------------------------------------------------------------------------------------------------ */

@media screen and (max-width: 1500px) {
    .footer .map {
        width: 550px;
        height: 600px;
    }
    .footer_contacts, .footer_form {
        padding: 45px 15px 25px 70px;
    }
    .gallery-wrapper .col-first, .gallery-wrapper .col-three {
        max-width: 400px;
    }
    .gallery-wrapper .col-second {
        max-width: 310px;
    }
    .first-screen .row {
        padding-top: 200px;
        padding-bottom: 160px;
    }
    .gallery_item {
        height: 190px;
        margin-right: 15px;
        margin-bottom: 15px;
    }
    .gallery_item.small {
        max-width: 185px;
    }
    .gallery_item.square {
        max-width: 295px;
        height: 300px;
    }
    .main_tabs_buttons .item {
        width: 310px;
    }
    .main_tabs_buttons, .main_tabs_buttons .active .item {
        width: 333px;
    }
    .main_tabs_content {
        padding-left: 35px;
    }
    .child_tabs_buttons .title {
        font-size: 20px;
        line-height: 24px;
        margin-right: 28px;
    }
    .child_tabs_content .menu_list_photo.two {
        width: 365px;
    }
    .menu_block .product .inputbox {
        font-size: 16px;
        max-width: 40px;
    }
    .menu_block .th {
        padding: 25px 5px;
    }
    .section-title {
        font-size: 56px;
        line-height: 72px;
    }
    .order-section .delivery_link {
        padding: 5px;
    }
    .order-section .delivery_link img {
        max-height: 30px;
    }
    .cart-form .quantity .inputbox {
        max-width: 50px;
    }
    .main_tabs_content .tabs-content-item {
        max-width: 740px;
    }
}
@media screen and (max-width: 1300px) {
    .footer .map {
        width: 430px;
    }
}
@media screen and (max-width: 1200px) {
    .footer .map {
        width: 100%;
        height: 250px;
    }
    .footer {
        justify-content: space-around;
    }
    .gallery-wrapper .col-second, .gallery-wrapper .col-second .section-title {
        order: 1;
    }
    .gallery-wrapper .col-first, .gallery-wrapper .col-second .gallery_item {
        order: 2;
    }
    .gallery-wrapper .col-three {
        order: 3;
    }
    .gallery-wrapper .col-second {
        flex-direction: row;
        justify-content: flex-start;
        max-width: 100%;
    }
    .gallery-wrapper .col-second .section-title {
        width: 100%;
        margin-bottom: 25px;
    }
    .main_tabs_buttons {
        width: 100%;
        flex-direction: row;
        justify-content: space-around;
        margin-bottom: 35px;
    }
    .main_tabs_buttons .item.cuisine {
        margin-bottom: 0;
        margin-right: 15px;
    }
    .child_tabs_content .tabs-content-item {
        min-height: auto;
    }
    .main_tabs_content .tabs-content-item {
        max-width: 100%;
    }
    .menu-section .row.mx-0 {
        display: block;
    }
}
@media screen and (max-width: 992px) {
    .section-title {
        font-size: 50px;
        line-height: 68px;
    }
    .first-screen .row {
        padding-bottom: 100px;
    }
    .header .contacts {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        margin-top: 15px;
    }
    .header .contacts .phones {
        margin-right: 15px;
    }
    .header .contacts .messengers {
        position: static;
    }
    .cart-page .title-row th, .order-page .minicart th {
        font-size: 16px;
        line-height: 22px;
        padding: 10px;
    }
    .cart-table .jshop_img_description_center {
        display: none !important;
    }
    .cart-page .title-row, .cart-table .jshop_prod_cart {
        display: flex;
        flex-wrap: wrap;
    }
    .cart-table .product_name {
        flex: 1;
        order: 1;
        width: 80% !important;
        min-width: 80%;
    }
    .cart-table .remove {
        order: 2;
        width: 20% !important;
        border-left-color: transparent !important;
    }
    .cart-table .single_price, .cart-table .quantity, .cart-table .total_price {
        order: 3;
        width: 33.3% !important;
    }
    .cart-table .jshop_prod_cart td {
        display: flex;
        align-items: center;
        justify-content: center;
        height: auto;
    }
    .cart-table .jshop_prod_cart td.product_name {
        justify-content: flex-start;
    }
    .cart-table td.product_name, .cart-table td.remove {
        border-bottom: thin solid #F2F2F2;
    }
    .order-page .order_step5_panel, .order-page .order_step5_info {
        max-width: 100%;
    }
    .gallery-wrapper .col-first, .gallery-wrapper .col-three {
        max-width: 100%;
    }
    .gallery_item, .gallery_item.square, .gallery_item.small {
        width: 47%;
        max-width: 47%;
        height: 250px;
        /*margin-right: 0;*/
    }
}
@media screen and (max-width: 768px) {
    .btn {
        padding: 15px 30px;
    }
    .section-indent {
        padding-top: 50px;
    }
    .section-title {
        font-size: 36px;
        line-height: 50px;
    }
    .section-title.circle::before {
        width: 40px;
        height: 40px;
    }
    .menu_block .th {
        font-size: 18px;
        padding: 25px 5px;
    }
    .menu_block .product .title {
        font-size: 16px;
        line-height: 20px;
    }
    .menu_block .product .jshop_price {
        font-size: 14px;
    }
    .menu_block .product .btn.button_buy {
        max-width: 44px;
    }
    .menu_block .product .inputbox {
        font-size: 16px;
        max-width: 38px;
    }
    .footer_title {
        font-size: 22px;
    }
    .footer_contacts .footer_title {
        margin-bottom: 15px;
    }
    .footer_contacts, .footer_form {
        padding: 35px 15px 15px 15px;
    }
    .footer_form .input {
        line-height: 54px;
    }
    .header .space { display: none; }
    .header .nav { order: 1; }
    .header .logo {
        order: 2;
        margin-right: 0;
    }
    .header .basket {
        order: 3;
        margin-right: 0;
    }
    .header .contacts { order: 4; }
    .basket .mycart_wrapp {
        min-width: auto;
    }
    .child_tabs_buttons {
        flex-wrap: wrap;
    }
    .child_tabs_buttons .title {
        font-size: 18px;
        line-height: 22px;
        margin-right: 15px;
        padding-bottom: 5px;
        margin-bottom: 10px;
    }
    .header .row {
        justify-content: space-between;
    }
    .header .menu_link {
        font-size: 22px;
        line-height: 40px;
        font-weight: bold;
    }
    .main_tabs_buttons .item {
        width: 240px;
    }
    .main_tabs_buttons .active .item {
        width: 260px;
    }
    .main_tabs_buttons .item .background,
    .main_tabs_buttons .active .item .background {
        height: 230px;
    }
    .main_tabs_buttons .item .title,
    .main_tabs_buttons .active .item .title {
        padding: 15px;
    }
    .menu-section .row.mx-0::before {
        left: -50px;
    }
    .menu-section .row.mx-0::after {
        right: -60px;
    }
    .order-section .title-line::before {
        left: -65px;
    }
    .order-section .title-line::after {
        right: -90px;
        top: 105px;
    }
    .order-section .moved-block::before {
        left: -35px;
    }
    .order-section .moved-block::after {
        right: -35px;
    }
}
@media screen and (max-width: 700px) {
    .footer {
        justify-content: flex-start;
    }
    .menu-section .section-title, .order-section .title-line {
        margin-bottom: 50px;
    }
    .main_tabs_content {
        padding-left: 0;
    }
    .burger-carousel.owl-theme .owl-nav {
        padding-left: 15px;
        padding-right: 15px;
    }
}
@media screen and (max-width: 565px) {
    .first-screen .row {
        padding-top: 160px;
        padding-bottom: 60px;
    }
    .main_tabs_buttons, .main_tabs_buttons .tabs-button-item, .main_tabs_buttons .item {
        width: 100% !important;
        max-width: 100%;
    }
    .main_tabs_buttons .item .background {
        height: 0!important;
        margin-top: 0 !important;
    }
    .main_tabs_buttons .item .title {
        padding: 15px;
        border-radius: 5px;
    }
    .main_tabs_buttons .active .item .title {
        padding: 20px;
    }
    .main_tabs_buttons .item {
        margin-bottom: 20px !important;
    }
    .menu_block .product .image_block {
        display: none;
    }
    .menu_block .menu_block-head, .menu_block .product {
        flex-wrap: wrap;
    }
    .menu_block .th {
        padding: 5px;
    }
    .menu_block .first {
        width: 100%;
        text-align: center;
    }
    .menu_block .product .first {
        justify-content: center;
        padding: 10px 0;
        border-bottom: thin solid var(--color-lightgray);
    }
    .menu_block .second, .menu_block .three, .menu_block .four {
        width: 33.3%;
    }
    .gallery_item, .gallery_item.square, .gallery_item.small {
        width: 100%;
        max-width: 100%;
        height: 250px;
        margin-right: 0;
    }
    .main_tabs_buttons {
        flex-direction: column;
    }
    .cart-page .cart_buttons .pull-left, .cart-page .cart_buttons .pull-right {
        float: unset;
        margin-bottom: 15px;
    }
    .header .basket.fixed {
        top: 10px;
        right: 10px;
    }
    .menu-section .row.mx-0::after, .menu-section .container-wide::after,
    .order-section .title-line::after, .order-section .moved-block::after {
        right: 0;
    }
}
@media screen and (max-width: 425px) {
    .first-screen .social {
        margin-top: 15px;
        display: flex;
    }
    .gallery_item, .gallery_item.square, .gallery_item.small {
        height: 200px;
    }
    .cart-page .title-row th.remove {
        font-size: 0;
        position: relative;
    }
    .cart-page .title-row th.remove::before {
        content: '';
        display: block;
        position: absolute;
        width: 40px;
        height: 40px;
        background: url("/templates/custom/icon/delete_button.png") no-repeat center/cover;
    }
    .scroll_up {
        right: 25px;
        bottom: 25px;
        width: 30px;
        height: 55px;
    }
}
@media screen and (max-width: 350px) {}




