@media (min-width: 1px) {
    .company-block-items-main{
        display: flex;
        flex-direction: column;
        margin-top: unset;
    }
}

@media (min-width: 768px) {
    .company-block-items-main{
        display: flex;
        flex-direction: row;
        margin-top: 5px;
    }
}

@media (min-width: 1px) {
    .company-block-items{
        display: flex;
        flex-direction: column;
        margin-top: 15px;
        /*margin-right: -10px;*/
    }
}

@media (min-width: 768px) {
    .company-block-items{
        display: flex;
        flex-direction: column;
        margin-right: -10px;
        margin-top: 10px;
    }
}

@media (min-width:1px) {
    .company-block-item {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        /*margin-left: calc(var(--coef-scale) * 20px);
        margin-right: calc(var(--coef-scale) * -20px);*/
        margin-top: 10px;
        margin-bottom: 10px;
        border-bottom: 1px solid #9c9c9c;
    }
}

@media (min-width:768px) {
    .company-block-item {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        /*margin-left: calc(var(--coef-scale) * 20px);*/
        margin-right: -20px;
        margin-top: 20px;
        margin-bottom: 10px;
        border-bottom: 1px solid #9c9c9c;
    }
}

@media (min-width:1px) {
    .item-block {
        /*width: calc(100% / 1 - calc(var(--coef-scale) * 40px));*/
        width: 100%;
        /*margin-right: calc(var(--coef-scale) * 38px);*/
        margin-bottom: 10px;
        border: 1px solid #efefef;
        border-radius: 15px;
        height: 285px;
    }
}

@media (min-width:768px) {
    .item-block {
        width: calc(100% / 2 - 40px);
        margin-right: 38px;
        margin-bottom: 10px;
        border: 1px solid #efefef;
        border-radius: 15px;
        height: 285px;
    }
}

@media (min-width:993px) {
    .item-block {
        width: calc(100% / 3 - 40px);
        margin-right: 38px;
        margin-bottom: 10px;
        border: 1px solid #efefef;
        border-radius: 15px;
        height: 285px;
    }
}

/*@media (min-width:1200px) {
    .item-block {
        width: calc(100% / 4 - 40px);
        margin-right: 38px;
        margin-bottom: 10px;
        border: 1px solid #efefef;
        border-radius: 15px;
        height: 285px;
    }
}*/

.item-img{
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    width: 100%;
    height: 50%;
    object-fit: cover;
    vertical-align: middle;
}

.item-img-ref{
    cursor: pointer;
}

.company-block-group-name{
    margin-top: 10px;
    width: 100%;
    font-size: 22px;
    font-weight: 700;
}

@media (min-width:1px) {
    .company-block-menu-container {
        display: flex;
        flex-direction: row;
        width: 100%;
        margin: 10px 0px 10px 0px;
        overflow: auto;
        white-space: nowrap;
        position: relative;
        /*top: 112px;*/
        max-width: 100vw;
        scrollbar-width: none;
        margin-right: unset;
        padding-left: 8px;
        padding-top: 10px;
        background: #ffffff;
        /*margin-left: -17px;*/
    }
}

@media (min-width:768px) {
    .company-block-menu-container {
        display: flex;
        flex-direction: column;
        width: unset;
        margin: unset;
        overflow: auto;
        max-height: calc(100vh - 160px);
        white-space: unset;
        position: sticky;
        top: 70px;
        max-width: unset;
        scrollbar-width: none;
        margin-right: 20px;
        padding-left: unset;
        padding-top: unset;
        background: #ffffff;
        /*margin-left: unset;*/
    }
}

@media (min-width:1px) {
    .company-block-menu-item {
        background-color: #ffffff;
        border-radius: 8px;
        width: 250px;
        height: 20px;
        color: #000000;
        border: 1px solid #9c9c9c;
        margin-bottom: 10px;
        align-items: center;
        display: flex;
        justify-content: left;
        padding-left: unset;
        font-weight: 700;
        font-size: 14px;
        padding-right: unset;
        padding: 10px 20px;
        margin-right: 10px;
    }
}

@media (min-width:768px) {
    .company-block-menu-item {
        background-color: #ffffff;
        border-radius: 8px;
        width: 250px;
        height: 50px;
        color: #000000;
        border: none;
        margin-bottom: 10px;
        align-items: center;
        display: flex;
        justify-content: left;
        padding-left: unset;
        font-weight: 700;
        font-size: 14px;
        padding-right: unset;
        padding: 10px 20px;
        margin-right: unset;
    }
}

@media (min-width:1px) {
    .company-block-menu-item:hover {
        background-color: #FFC107;
        border-radius: 8px;
        width: 250px;
        height: 20px;
        color: #ffffff;
        border: 1px solid #FFC107;
        margin-bottom: 10px;
        align-items: center;
        display: flex;
        justify-content: left;
        padding-left: unset;
        font-weight: 700;
        font-size: 14px;
        cursor: pointer;
        padding: 10px 20px;
        margin-right: 10px;

    }
}

@media (min-width:768px) {
    .company-block-menu-item:hover {
        background-color: #FFC107;
        border-radius: 8px;
        width: 250px;
        height: 50px;
        color: #ffffff;
        border: none;
        margin-bottom: 10px;
        align-items: center;
        display: flex;
        justify-content: left;
        padding-left: unset;
        font-weight: 700;
        font-size: 14px;
        cursor: pointer;
        padding: 10px 20px;
    }
}

@media (min-width:1px) {
    .company-block-menu-item-selected {
        background-color: #FFC107;
        border-radius: 8px;
        width: 250px;
        height: 20px;
        color: #ffffff;
        border: 1px solid #FFC107;
        margin-bottom: 10px;
        align-items: center;
        display: flex;
        justify-content: left;
        padding-left: unset;
        font-weight: 700;
        font-size: 14px;
        padding: 10px 20px;
        margin-right: 10px;
    }
}

@media (min-width:768px) {
    .company-block-menu-item-selected {
        background-color: #FFC107;
        border-radius: 8px;
        width: 250px;
        height: 50px;
        color: #ffffff;
        border: none;
        margin-bottom: 10px;
        align-items: center;
        display: flex;
        justify-content: left;
        padding-left: unset;
        font-weight: 700;
        font-size: 14px;
        padding: 10px 20px;
    }
}

.company-block-menu-item-span{
    color: #000000;
    font-weight: 700;
    font-size: 14px;
}

.company-block-menu-item-span-selected{
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
}

.company-block-menu-item-span:hover{
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
}

/*///////////////////////////////////////////////////////////////////////*/

@media (min-width:1px){
    .shop_banner{
        position: relative;
        z-index: 4;
        border-radius: 8px;
        padding: 5px 5px 10px;
        /*margin-bottom: 54px;*/
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        margin-top: 100px;
    }
    .shop_banner_r{
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        z-index: -1;
        right: 0;
        -webkit-border-radius: 8px;
        -moz-border-radius: 8px;
        border-radius: 8px;
        overflow: hidden;
        height: 215px
    }
    .goods-button-to-cart{
        display: none
    }
    .goods-button-to-cart-mobile{
        display: block
    }
    .restaurant-block__title-wrap{
        padding-bottom:0;
        border-bottom:0;
        margin-bottom:5px;
        max-height:14px
    }
}

@media (max-width:767px){
    .shop_banner_r{
        -webkit-transform: scale(1.1);
        filter: blur(10px)
    }
}

@media (min-width:767px){
    .shop_banner{
        position: relative;
        z-index: 4;
        border-radius: 8px;
        /*padding: 250px 64px 64px;
        margin-bottom: 54px;*/
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        margin-top: 0px;
    }
    .shop_banner_r{
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        z-index: -1;
        right: 0;
        -webkit-border-radius: 8px;
        -moz-border-radius: 8px;
        border-radius: 8px;
        overflow: hidden;
        height: 465px;
    }
    .goods-button-to-cart{
        display: block
    }
    .goods-button-to-cart-mobile{
        display: none
    }
    .restaurant-block__title-wrap{
        padding-bottom:10px;
        margin-bottom:15px
    }
}

.restaurant-block{
    /*background-color:#fff;*/
    padding:25px 40px 0;
    border:1px solid #efefef;
    border-radius:10px;
    margin-bottom:40px;
    display:-ms-flexbox;
    display:flex;
    -ms-flex-direction:column;
    flex-direction:column;
    height: 465px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    /*background: linear-gradient(180deg, rgba(0, 0, 0, 0) 33.41%, rgba(0, 0, 0, 0.8) 100%);*/
}

.overlay_banner_block {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 33.41%, rgba(0, 0, 0, 0.8) 100%);
    border-radius: 10px;
}

.restaurant_block_info{
    position: relative;
}

@media (max-width:767px){
    .restaurant_block_info{
        padding-top:40px
    }
}

.company-block__image-layout2 img{
    width: 60px;
    height: 60px;
    /*object-fit: contain;*/
    border-radius: 50%;
    margin-right: 16px;
    margin-left: 16px
}

.restaurant-block__title-wrap{
    display:-ms-flexbox;
    display:flex;
    -ms-flex-direction:row;
    flex-direction:row;
    -ms-flex-pack:justify;
    justify-content:space-between;
    -ms-flex-align:center;
    align-items:center;
    border-bottom:1px solid #efefef;
    /*margin-bottom:20px;*/
    padding-bottom:35px
}

.restaurant-block__raiting{
    margin-top:0;
    margin-right:0;
    margin-left:17px;
    width:80px;
}

/*@media (min-width: 768px) {*/
    .restaurant-block__title {
        font-size: 17px;
        line-height: 30px;
        font-weight: 700;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
        -ms-flex: 1px;
        flex: 1px;
        margin-bottom: 0;
        letter-spacing: .07em;
        color: #ffffff;
        width: unset;
        padding-bottom: unset;
    }
/*}*/

@media (max-width: 767px) {
    .restaurant-block__title {
        font-size: 14px;
        line-height: 16px;
        padding-bottom: 0;
        margin-bottom: 0;
        width: calc(100% - 25px);

        font-weight: 700;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
        -ms-flex: 1px;
        flex: 1px;
        letter-spacing: -.05em;
        color: #ffffff;
    }
}

.company-block__review-rating{
    position:relative;
    width:80px;
    margin-top:10px;
    height:6px
}

@media (max-width:1200px){
    .company-block__review-rating,
    .company-block__stars-masks{
        width:80px
    }
}

@media (max-width:992px){
    .company-block__review-rating{
        width:80px;
        margin:10px auto 0
    }
}

@media (max-width: 400px){
    .company-block__review-rating,
    .company-block__stars-masks{
        width:75px
    }
}

.company-block__progress{
    position:absolute;
    top:0;
    left:0;
    height:24px;
    overflow:hidden;
    align-items: flex-end;
}

@media (max-width:991px){
    .restaurant-block__raiting
    .company-block__progress{
        height:13px
    }
}

.company-block__stars,
.company-block__stars-masks{
    display:-ms-flexbox;
    display:flex;
    -ms-flex-direction:row;
    flex-direction:row;
    -ms-flex-pack:justify;
    justify-content:space-between;
    -ms-flex-align:center;
    align-items:center
}

.company-block__stars-masks{
    position:absolute;
    top:0;
    left:0;
    width:80px;
}

@media (max-width:1200px){
    .company-block__review-rating,
    .company-block__stars-masks{
        width:90px
    }
}

@media (max-width:992px){
    .company-block__stars-masks{
        width:90px
    }
}

@media (max-width:400px){
    .company-block__review-rating,
    .company-block__stars-masks{
        width:90px
    }
}

.company-block__star{
    position:relative;
    width:6px;
    height:6px;
    z-index:4;
    background:url(/media/star.svg) bottom no-repeat;
    background-size:contain
}

.company-block__star-mask{
    position:relative;
    width:13px;
    height:13px;
    z-index:5;
    background:url(/media/star_mask.svg) bottom no-repeat;
    background-size:contain
}

.company-block__star-mask-grey{
    position:relative;
    width:13px;
    height:13px;
    z-index:5;
    background:url(/media/star_mask_grey.svg) bottom no-repeat;
    background-size:contain
}

.company-block__star-mask-grey-shop-list{
    position:relative;
    width:13px;
    height:13px;
    z-index:5;
    background:url(/media/star_mask_grey.svg) bottom no-repeat;
    background-size:contain
}

.restaurant-block__info{
    display:-ms-flexbox;
    display:flex;
    -ms-flex-direction:row;
    flex-direction:row;
    -ms-flex-pack:start;
    justify-content:flex-start
}

.restaurant-block__info
.company-block__options{
    /*width:24%;*/
    text-align:left
}

.restaurant-block__info
.company-block__option-name{
    margin-bottom:12px
}

.restaurant-block__info
.company-block__option-value{
    font-weight:700;
    font-size:14px
}

@media (max-width:991px){
    .restaurant-block__info
    .company-block__option-name{
        margin-bottom:7px
    }
    .restaurant-block__info
    .company-block__option-value{
        font-size:10px
    }
}

@media (max-width:767px) {
    .restaurant-block__info{
        -ms-flex-pack:justify;
        justify-content:space-between;
        padding-top: 30px
    }
    .restaurant-block__info
    .company-block__options {
        text-align: left
        /*width:33.333%*/
    }
}

.company-block__options{
    width:33.333%;
    /*-ms-flex:unset!important;
    flex:unset!important*/
}

.company-block__options2{
    width:33.333%;
    /*-ms-flex:unset!important;
    flex:unset!important*/
    display: flex;
}

.company-block__options.company-block__options_spacer{
    display: flex
}

@media (max-width:575px){
    .restaurant-block
    .company-block__options{
        -ms-flex:0 1 auto;
        flex:0 1 auto
    }
}

.company-block__option-name2{
    font-size:12px;
    color:#ffffff;
    /*margin-bottom:15px;*/
    display:block;
    margin-top: 5px;
    margin-right: 10px;
}

.company-block__option-value2{
    font-size:16px;
    display:block;
    font-weight:400;
    color: #ffffff;
}

.restaurant-block__panel{
    -ms-flex:none;
    flex:none;
    -ms-flex-direction:row;
    flex-direction:row;
    -ms-flex-pack:justify;
    justify-content:space-between;
    padding-top:27px
}

.restaurant-block__panel,
.restaurant-block__tabs{
    display:-ms-flexbox;
    display:flex;
    -ms-flex-align:center;
    align-items:center
}

.restaurant-block__tabs{
    font-size:0;
    position:relative
}

/*@media (max-width:992px){
    .restaurant-block__panel{
        padding-top:27px
    }
}*/

@media (max-width:767px){
    .content-aside,
    .restaurant-block__panel{
        padding:0px 0px
    }
    .restaurant-block__tabs{
        text-align:center
    }
    .restaurant-block__tab-link:last-of-type{
        margin-right:0
    }
    .restaurant-block__tab-link--desktop{
        display:none
    }
    .restaurant-block__tab-link--mobile{
        display:inline-block
    }
}

.restaurant-block__tab-link{
    text-transform:uppercase;
    font-weight:700;
    font-size:11px;
    padding:10px 38px;
    border-bottom:2px solid transparent;
    position:relative;
    color: #ffffff;
}

.restaurant-block__tab-link:hover{
    text-decoration:none;
    color: #9b9b9b
}

.restaurant-block__tab-link--mobile{
    display:none
}

@media (max-width:991px){
    .restaurant-block__tab-link{
        font-size:9px;
        padding-left:20px;
        padding-right:20px
    }
}

.magic-line,
.magic-line2{
    position:absolute;
    bottom:0;
    left:0;
    width:135px;
    height:2px;
    background-color:#FFC107
}

@media (max-width: 767px) {
    .company-block-mobile {
        max-width: calc(100vw - 40px);
        margin-left: 10px;
    }
}

.company-block-menu-container-fixed{
    position: fixed;
    top: 112px;
}

.goods-block__item-sub2{
    padding: 0px 20px 0px;
}

.goods-block__item-sub3{
    height: 70px;
    margin: auto;
}

.goods-block__item-title{
    font-size:18px;
    /*margin-top:10px;
    margin-bottom:20px;*/
    /*font-weight:700;*/
    /*overflow:hidden;*/
    text-overflow:ellipsis;
    /*white-space:nowrap;*/
    word-wrap: break-spaces;
    letter-spacing:-.05em;
    text-align: center;
    margin-top: 10%;
}

.goods-block__item-title--twoline{
    white-space:normal;
    /*display:-webkit-box;*/
    -webkit-line-clamp:2;
    text-align:center;
    /*line-height:22px;*/
    /*vertical-align: middle;*/
}

@media (max-width:1199px){
    .goods-block__item-title{
        font-size:18px
    }
}

@media (max-width:991px){
    .goods-block__item-title{
        font-size:18px;
        line-height:18px;
        max-height:40px;
        margin-bottom:15px
    }
}

.goods-block__item-panel{
    display:-ms-flexbox;
    display:flex;
    -ms-flex-direction:row;
    flex-direction:row;
    -ms-flex-pack:justify;
    justify-content:space-between;
    -ms-flex-align:center;
    align-items:center;
    margin-top:auto
}

.goods-block__price{
    /*font-weight:700;*/
    font-size:24px;
    line-height:26px;
    display:-ms-flexbox;
    display:flex
}

.goods-block__price
.currency{
    margin-top:8px;
    margin-left:3px
}

.goods-block__price
.currency2{
    margin-top:8px;
    margin-left:3px
}

@media (max-width:1199px){
    .goods-block__price{
        font-size:24px;
        white-space:nowrap
    }
}

@media (max-width:991px){
    .goods-block__price{
        font-size:24px
    }
}

.goods-block__tocart-wrap{
    height:33px;
}

@media (max-width:991px){
    .goods-block__tocart-wrap{
        max-height:36px
    }
}

@media (min-width:300px){
    .goods-button-to-cart-mobile{
        display: block
    }
}

@media (min-width:767px){
    .goods-button-to-cart-mobile{
        display: none
    }
}

.goods-block__tocart-btn{
    /*display:inline-block;*/
    background:transparent;
    padding:0;
    line-height:1;
    background-color:#FFC107;
    border-radius:10px;
    border:0;
    outline:0;
    color:#fff;
    padding:5px 11px;
    cursor:pointer;
    height:30px;
    min-width:89px;
    font-size:14px;
    font-weight:400;
    white-space:nowrap
}

.goods-block__tocart-btn:hover{
    background-color:#ce7c72; /*8f3c32*/
}

.goods-block__tocart-btn:focus{
    outline:0
}

@media (max-width:1199px){
    .goods-block__tocart-btn{
        max-width:81px
    }
}

@media (max-width:991px){
    .goods-block__tocart-btn{
        font-size:12px;
        min-width:81px;
        padding-top:6px
    }
}

.goods-popup__tocart-btn{
    height:auto;
    width:100%;
    min-width:100%;
    max-width:100%;
    border:0;
    border-radius:4px;
    color:#fff;
    background-color:#ce7c72;
    font-size:16px;
    padding:13px 10px
}

/*.goods-block__amount{*/
/*    font-size:0;*/
/*    display:none;*/
/*    height:30px;*/
/*    max-width:89px;*/
/*    -ms-flex-direction:row;*/
/*    flex-direction:row;*/
/*    -ms-flex-pack:justify;*/
/*    justify-content:space-between*/
/*}*/

.goods-block__amount--minus,
.goods-block__amount--plus{
    display:inline-block;
    vertical-align:middle;
    font-size:18px;
    border:0;
    padding:0;
    border-radius:4px;
    width:33px;
    height:33px;
    text-align:center;
    box-shadow:none;
    -webkit-appearance:none!important;
    -moz-appearance:none!important;
    appearance:none!important;

    background:transparent;
    line-height:1;
    background-color:#FFC107;
    outline:0;
    color:#fff;
    cursor:pointer;
    font-weight:400;
}

.goods-block__amount--minus:hover,
.goods-block__amount--plus:hover{
    cursor:pointer
}

.goods-block__amount--minus:focus,
.goods-block__amount--plus:focus{
    outline:0
}

.goods-block__amount--value{
    display:inline-block;
    vertical-align:middle;
    font-size:18px;
    font-weight:700;
    color:#000;
    text-align:center;
    width:33px;
    height:33px;
    border:0;
    outline:0;
    padding:0;
    background-color:transparent;
}

@media (max-width:1199px){
    .goods-block__amount{
        height:27px
    }
    .goods-block__amount--minus,
    .goods-block__amount--plus{
        width:33px;
        height:33px;
        min-width: 33px;
    }
    .goods-block__amount--value{
        font-size:16px;
        max-height:27px;
        max-width:27px
    }
}

@media (max-width:991px){

}

.goods-block__amount{
    font-size:0;
    height:30px;
    max-width:89px;
    -ms-flex-direction:row;
    flex-direction:row;
    -ms-flex-pack:justify;
    justify-content:space-between;
    align-items: baseline;
}

@media (max-width:1199px){
    .goods-block__amount{
        height:27px
    }
}