:root {
    /* --main-color: #42c19c; */
    --main-color: #5EBEC8;
    --main-color-gray: #8c8c8c;
    --main-color2: #f1f1f1;
    --border-color: #f5f5f5;
}

* {
    box-sizing: border-box;
}

body {
    /* font-family: "Roboto", sans-serif; */
    font-family: "Montserrat", sans-serif;
}


a,
button {
    cursor: pointer;
    color: inherit;
    outline: none;
}

.hide {
    display: none!important;
}

.logo {
    margin-left: 10px;
}

.logoimg {
    width: 125px;
}

.container {
    max-width: 1200px;
    margin-top: 20px;
    /* margin-bottom: 20px; */
    margin: auto;
}

/* фиксация шапки */
.sticky {
    position: sticky;
    top: 0;
    z-index: 5;
    min-height: 2em;
    background: #ffffff;
    /* border-bottom: 1px solid #f5f5f5;  */
    /* border-radius: 2px; */
}

.sticky-main-menu {
    position: sticky;
    width: 50%;
    /* height: 100%; */
    top: 50px;
    z-index: 5;
    min-height: 0em;
    /* background: #ffffff; */
    background: rgba(0, 0, 0, 0.4);
    /* border-bottom: 1px solid #f5f5f5;  */
    /* border-radius: 2px; */
}


/* фиксация навигационной панели внизу */
.sticky-bottom {
    /* max-width: 1200px; */
    /* margin-top: 20px; */
    /* margin-bottom: 5px; */
    /* margin: auto; */

    position: sticky;
    /* top: 50px; */
    bottom: 0px;
    z-index: 5;
    /* min-height: 2em; */
    background: #ffffff;
    border-top: 1px solid #f5f5f5; 
    border-bottom: 1px solid #f5f5f5; 
    /* border-top: 1px solid #1890ff; #595959 #f5f5f5 */
    /* border-radius: 2px; */
}


.btn-head-menu {
    margin-left: 5px;
    padding: 0 !important;

	background-color: transparent;
    outline: transparent;
    border-radius: 4px;

	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
    border: 1px solid transparent !important;
}

/* .btn-head-menu:hover {
	background-color: #f5f5f5;
	color: var(--main-color);
} */

/* .btn-head-menu:hover, .svg-icon:hover {
	background-color: var(--main-color);
    color:  #fff;
    fill: #fff;
} */


.btn-head-menu:active, .svg-icon:active {
	/* background-color: var(--main-color);
    color: var(--main-color); */
    background-color: #fff;
    color: var(--main-color);
    fill: var(--main-color);
}

.svg-icon{
    width: 40px;
    height: 40px;
    padding-top: 5px;
    padding-bottom: 5px;

    color: #fff;
    /* fill: #8c8c8c; */
    fill: var(--main-color);
}

.svg-icon:hover {
    color: #fff;
    fill: #fff; 
    /* var(--main-color); */
} 

.svg-icon:active{
    color: #8c8c8c;
    fill: var(--main-color);
}

.head-menu-svg {
    width: 36px;
    height: 36px;
    /* background-color: #008B95 #2abac2; */
    background-color: var(--main-color);
    color: #000000;
    -webkit-mask: url("../img/icon/head-menu.svg") no-repeat 50% 50%;
        mask: url("../img/icon/head-menu.svg") no-repeat 50% 50%;
    background-repeat: no-repeat;
}


/* Счетчик количества на корзине */
.cart-count {
    justify-content: space-around;
    align-items: center;
    position: absolute;
    right: 22px;
    top: 4px;
    min-width: 20px;
    min-height: 20px;

    color: #f1f1f1;
    background-color: #ffbc40;
    padding: 4px;
    font-size: 16px;
    border-radius: 50px; 
    box-shadow: 0 0 0 1px #fff;
    line-height: 0px;
}

.cart-count-mitm {
    display: flex;
    justify-content: center;
    align-items: center;
    line-height: 0x;
    position: absolute;
    right: -16px;
    top: -12px;
    min-width: 23px;
    min-height: 23px;
    /* font-family: 'Muli'; */
    color: #f1f1f1;
    background-color: #ffbc40;
    /* padding: 0px 7px; */
    font-size: 18px;
    border-radius: 50px; 
    box-shadow: 0 0 0 2px #fff;
    /* margin-left: 10px; */
    margin-right: 7px;
}


.header {
    display: flex;
    align-items: center;
    /* justify-content: center; */
    padding-top: 20px;
    padding-right: 15px;
    padding-left: 15px;
    flex-wrap: wrap;
    flex-direction: column;
    min-height: 410px;
    background-color: var(--main-color);
    color: white;
}

.header-title {
    max-width: 818px;
    text-align: center;
    font-size: x-large;
}

.proxy-link {
    margin: 0px;
    /* margin-bottom: 15px; */
    margin-top: 15px;
}

.input {
    background-color: #ffffff;
    border: 1px solid #d9d9d9;
    border-radius: 2px;
    font-size: 16px;
    line-height: 24px;
    padding: 8px 8px 8px 50px;
    background-repeat: no-repeat;
    background-position: left 11px center;
}

.address {
    flex: 0.8;
}

.input-address {
    width: 100%;
    background-image: url(../img/icon/home.svg);
}

.search {
    margin-left: 5px;
    margin-right: 5px;
    width: 100%;
}

.input-search {
    /* width: 500px; */
    width: 100%;
    /* max-width: 680px; */
    margin-right: 10px;
    border-radius: 2px;
    border: 0px;
    background-image: url(../img/icon/search.svg);
    /* border: 1px solid var(--main-color);  */
    /* outline: 0px solid #d9d9d9;  */
    outline: none; 
    box-shadow: 0 0 1px 1px #d9d9d9;

}

.formSend {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    margin-top: 20px;
    width: 88%;
}


.input-auth {
    /* width: 500px; */
    width: 100%;
    max-width: 400px;
    /* min-width: 252px;  */
    margin-bottom: 10px;
    border-radius: 18px;
    border: 0px;
    background-image: url(../img/icon/auth.svg);
    outline: none; 
}

.input-tel {
    /* width: 500px; */
    width: 100%;
    max-width: 400px;
    /* min-width: 252px;  */
    margin-bottom: 10px;
    border-radius: 18px;
    border: 0px;
    background-image: url(../img/icon/phone-9.svg);
    background-size: auto;
    outline: none; 
}

.input-msg {
    /* width: 500px; */
    width: 100%;
    max-width: 400px;
    /* min-width: 252px;  */
    margin-bottom: 10px;
    border-radius: 18px;
    border: 0px;
    background-image: url(../img/icon/msg.svg);
    background-size: 24px;
    fill: "#8C8C8C";
    outline: none; 
}


.info {
    text-align: center;
    font-size: 10px;
    max-width: 400px;
    margin-bottom: 10px;
}

.border-required {
    border: 1px solid #ffa02f;
}


.input-auth:active {
    /* border: 1px solid var(--main-color);  */
    /* outline: 2px solid var(--main-color);  */
    box-shadow: 0 0 3px 1px #d9d9d9;
}

.buttons {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.button {
    display: flex;
    align-items: center;
    padding: 5px 5px;
    background: #ffffff;
    border: 1px solid var(--main-color); 
    box-sizing: border-box;
    box-shadow: 0 0 0px rgba(0, 0, 0, 0.0015);
    border-radius: 4px;
    color: var(--main-color);
    font-size: 18px;
    line-height: 24px;
    user-select: none;

    max-width: 818px;
    min-height: 50px;
    margin-bottom: 5px;
}

.border-none {
    border: 0px solid var(--main-color); 
}

.button:hover {
    background: var(--main-color);
    border: 1px solid #f5f5f5;
    color: #fff;
}

.button:active {
    background: #f5f5f5;
    border: 1px solid var(--main-color);
    /* color: #fff; */
    color: var(--main-color);
}

.button-primary {
    background: var(--main-color);
    border: 1px solid var(--main-color);
    color: #fff;
    /* margin-right: 10px; */
}


.button-primary:active {
    /* background-color: 1890ff; */
    background: #ffffff;
    /* border: 1px solid #d9d9d9; */
    border: 1px solid var(--main-color);
    color: var(--main-color);
}

.button-primary-ok {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 44px;
    margin-left: 10px;
    font-size: x-large;
}

.span-ok {
    padding: 4px;
}

.button-icon {
    margin-right: 6px;
}

.button-cart-text {
    margin-right: 10px;
    margin-left: 0px;
}

.button-auth {
    background-position: 20px 13px;
    margin: 5px 5px;
}

.button-primary .button-auth-svg {
    width: 24px;
    height: 24px;
    background-color: #fff;
    -webkit-mask: url("../img/icon/user.svg") no-repeat 50% 50%;
    mask: url("../img/icon/user.svg") no-repeat 50% 50%;
    background-repeat: no-repeat;
}

.button-primary .button-out-svg {
    width: 24px;
    height: 18px;
    background-color: #fff;
    -webkit-mask: url(../img/icon/logout.svg) no-repeat 30% 30%;
    mask: url(../img/icon/logout.svg) no-repeat 30% 30%;
    background-repeat: no-repeat;
}


/* .button-out-svg {
    width: 24px;
    height: 24px;
    background-color: #fff;
    -webkit-mask: url(../img/icon/logout.svg) no-repeat 50% 50%;
    mask: url(../img/icon/logout.svg) no-repeat 50% 50%;
    background-repeat: no-repeat;
    -webkit-mask-size: 20px;
    mask-size: 20px;
} */

.button-primary:hover .button-auth-svg {
    background-color: #595959;
    
}

.button-primary:active  {
    background-color: #fff;
    color: var(--main-color);
}

.button-primary:hover .button-out-svg {
    background-color: #595959;
}


.button-add-cart {
    /* position: relative; для cчетчика  */
    position: relative;
    padding: 5px 5px;
    margin: 0 0 0 10px;
}





/* .cart-svg {
    width: 40px;
    height: 40px;

    margin: 0px 5px 0px 8px;

    border: 0px solid var(--main-color); 
    -webkit-mask: url("../img/icon/order.svg") no-repeat 50% 50%;
    mask: url("../img/icon/order.svg") no-repeat 50% 50%;
    background-repeat: no-repeat;

    background-color: var(--main-color);
    color: var(--main-color);

    outline: none;
} */
.cart-img {
    height: 37px;
    width: 60px;
    margin-right: 10px;
}






.button .button-cart-svg {
    width: 22px;
    height: 22px;

    margin: 0px 5px 0px 8px;
    background-color: #fff;
    border: 0px solid var(--main-color); 
    -webkit-mask: url("../img/icon/shopping-cart.svg") no-repeat 50% 50%;
    mask: url("../img/icon/shopping-cart.svg") no-repeat 50% 50%;
    background-repeat: no-repeat;
}

.cart-svg-card {
    margin: 5px 10px 5px 8px !important;
}

.button:hover .button-cart-svg {
    background-color: #fff;
    color: var(--main-color);
    border: 1px solid var(--main-color);
    outline: none;
}


.button-primary .button-cart-svg {
    background-color: #fff;
    color: var(--main-color);
    border: 1px solid var(--main-color);
    outline: none;
}


.button-primary:active .button-cart-svg, .button-primary:active .button-plus-svg {
    background-color: var(--main-color);
    color: var(--main-color);
    border: 1px solid var(--main-color);
    outline: none;
}


.button-cart {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 0px solid var(--main-color);
    /* min-width: 60px; */
    color:var(--main-color);
    /* margin: 0px 8px 0px 0px;
    padding: 10px 10px 10px 10px; */
    margin: 0px 20px 0px 0px;
    padding: 10px 14px 10px 14px;
}

.button-cart .button-cart-svg {
    background-color: var(--main-color);
    color: #fff;
    margin: 0px 3px 0px 0px;
}

.button:active .button-cart-svg {
    background-color: var(--main-color);
    color: var(--main-color);
    border: 1px solid var(--main-color);
    outline: none;
}


/* + - в карточке */
.button-plus-svg {
    width: 22px;
    height: 22px;

    margin: 0px 5px 0px 8px;
    background-color: #fff;
    border: 0px solid var(--main-color); 
    -webkit-mask: url("../img/icon/plus.svg") no-repeat 50% 50%;
    mask: url("../img/icon/plus.svg") no-repeat 50% 50%;
    background-repeat: no-repeat;
}

.button-minus-svg {
    width: 22px;
    height: 22px;

    background-color: var(--main-color);
    color: var(--main-color);
    /* border: 2px solid var(--main-color); */
    -webkit-mask: url("../img/icon/minus.svg") no-repeat 50% 50%;
    mask: url("../img/icon/minus.svg") no-repeat 50% 50%;
    background-repeat: no-repeat;
}


.button-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 44px;
    background: #ffffff;
    /* border: 1px solid #40a9ff; */
    border: 1px solid var(--main-color);
    box-sizing: border-box;
    border-radius: 4px;
    font-weight: normal;
    font-size: 14px;
    line-height: 22px;

    padding: 0px;
    color: #fff;
}

.button-counter:active .button-minus-svg {
    background-color: #fff;
    color: #fff;
    /* border: 1px solid var(--main-color); */
    outline: none;
}

.button-counter:active {
    background-color: var(--main-color);
    color: #fff;
    /* border: 1px solid var(--main-color); */
    outline: none;
}

/* + - end в карточке */

.button-cart-sum {
    color: var(--main-color);
    /* color: var(--main-color-gray); */
    font-size: 20px;
    font-weight: bold;
    margin-right: 5px;
    /* margin-left: 5px; */
}


/* .button-cart-sum:hover {
    color: #fff;
}   */


.button-out {
    display: none;
    margin: 10px 10px 10px auto;
}

.button-search {
    display: none;
    width: 200px;
    height: 40px;
    padding: 0;
}    

.user-name {
    display: none;
    margin-right: 20px;
    font-weight: bold;
    font-size: 18px;
}

/* .promo-slider {
    width: 600px;
    height: 600px;
} */

.swiper-pagination-progressbar-fill  {
    background-color: gray !important ;
}


.promo {
    box-shadow: 0 7px 12px rgba(158, 158, 163, 0.1);
    border-radius: 10px;
    padding: 68px 70px;
    margin-bottom: 20px;
    /* Одна высота для всех акций */
    min-height: 400px;
}

.promo1 {
    background: #fff1b8 url(../img/promo/pizza.png) no-repeat top -100px right -250px / 830px
}

.promo2 {
    background: #D6E4FF url(../img/promo/kebab.png) no-repeat top 10px right 10px / 555px;
}

.promo3 {
    background: #FFF566 url(../img/promo/vegetables.png) no-repeat top 0 right 0 / 950px
}

.promo4 {
    background: #FFF1F0 url(../img/promo/sushi.png) no-repeat top 10px right -10px / 600px
}

.promo-title {
    font-style: normal;
    font-weight: bold;
    font-size: 39px;
    line-height: 46px;
    color: #302c34;
}

.promo-text {
    font-style: normal;
    font-weight: normal;
    font-size: 24px;
    line-height: 28px;
    color: #302c34;
    max-width: 538px;
}

/* Инвертор иконки для слайдера бутстрап */
.carousel-control-next,
.carousel-control-prev {
    filter: invert(100%);
}

.main {
    background: linear-gradient(180deg, rgba(245, 245, 245, 0) 1.04%, #f5f5f5 100%);
    min-height: 80vh;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.section-title {
    font-style: normal;
    font-weight: bold;
    font-size: 36px;
    line-height: 42px;
    margin: 0 0px 10px 0;
    /* margin: auto; */
    color: #000000;
}


/* Панель управляющих кнопок  */

.nav-top {
    position: fixed;
    left: 0;
    top: 50px;
    width: 35%;
    height: 100%;
    /* Затенение основной области */
    /* background: rgba(0, 0, 0, 0.4); */
    background: var(--main-color2);
    z-index: 5;

    overflow: hidden;
    overflow-y: auto;
    margin: auto;
}


.nav-elems {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-direction: column;
}

.nav-elem {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: row;
    background: #ffffff;
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); */
    padding: 5px;
    border-radius: 0px;
    overflow: hidden;
    flex-basis: 30%;
    text-decoration: none;
    cursor: pointer;
    text-align: center;
    min-height: 62px;
    min-width: 100%;

    /* border-bottom: 2px solid orange; */ 
    border-top: 1px solid var(--main-color); 
}

.nav-elem:hover,.nav-elem:hover .nav-elem-title {
    background-color: var(--main-color);
    color: #fff;
    text-decoration-color:#fff;
}
.nav-elem:hover .svg-guest,.nav-elem:hover .svg-call,.nav-elem:hover .svg-home,.nav-elem:hover .svg-back,.nav-elem:hover .svg-fwd {
    background-color: #fff;
    color: #fff;
}


.nav-elem:active,.nav-elem:active .nav-elem-title {
    background-color: var(--main-color);
    color: #fff;
    text-decoration-color:#fff;
}
.nav-elem:active .svg-guest,.nav-elem:active .svg-call,.nav-elem:active .svg-home,.nav-elem:active .svg-back,.nav-elem:active .svg-fwd {
    background-color: #fff;
    color: #fff;
}


.svg-guest {
    width: 28px;
    height: 28px;
    margin: 5px 10px 10px 10px;
    background-color: #8c8c8c;
    /* background-color: var(--main-color); */
    -webkit-mask: url("../img/icon/guest.svg") no-repeat 50% 50%;
        mask: url("../img/icon/guest.svg") no-repeat 50% 50%;
    background-repeat: no-repeat;
}
.svg-call {
    width: 28px;
    height: 28px;
    margin: 5px 10px 10px 10px;
    background-color: #8c8c8c;
    /* background-color: var(--main-color); */
    -webkit-mask: url("../img/icon/checked.svg") no-repeat 50% 50%;
        mask: url("../img/icon/checked.svg") no-repeat 50% 50%;
    background-repeat: no-repeat;
}
.svg-home {
    width: 24px;
    height: 24px;
    margin: auto 10px auto 10px;
    background-color: #8c8c8c;
    /* background-color: var(--main-color); */
    -webkit-mask: url("../img/icon/home.svg") no-repeat 50% 50%;
        mask: url("../img/icon/home.svg") no-repeat 50% 50%;
    background-repeat: no-repeat;
}
.svg-back {
    width: 28px;
    height: 28px;
    margin: auto 10px auto 10px;
    background-color: #8c8c8c;
    /* background-color: var(--main-color); */
    -webkit-mask: url("../img/icon/back.svg") no-repeat 50% 50%;
        mask: url("../img/icon/back.svg") no-repeat 50% 50%;
    background-repeat: no-repeat;
}
.svg-fwd {
    width: 28px;
    height: 28px;
    margin: auto 10px auto 10px;
    background-color: #8c8c8c;
    /* background-color: var(--main-color); */
    -webkit-mask: url("../img/icon/fwd.svg") no-repeat 50% 50%;
        mask: url("../img/icon/fwd.svg") no-repeat 50% 50%;
    background-repeat: no-repeat;
}


.nav-elem-title {
    /* display: none; */
    margin-top: auto;
    margin-bottom: auto;
    /* padding-top: 5px; */
    font-style: normal;
    font-weight: normal;
    font-size: 16px;
    color: #8c8c8c;
    /* color: var(--main-color); */
    /* line-height: 12px; */
}

.nav-elem-title:active {
    color: #fff;
}
/* end  Панель управляющих кнопок */

.cards {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.cards-menugroups {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.card {
    background: #ffffff;
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.18);
    /* box-shadow: 0px 4px 8px var(--main-color); */
    border-radius: 7px;
    overflow: hidden;
    margin-bottom: 20px;
    margin-right: 1em;
    flex-basis: 31%;
    text-decoration: none;

}

.card-group {
    background: #ffffff;
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    border-radius: 7px;
    overflow: hidden;

    margin: 6px;
    /* margin-left: 6px;
    margin-right: 6px;
    margin-bottom: 12px; */

    /* flex-basis: 31%; */
    flex-basis: 23%;
    text-decoration: none;

    /* cursor: pointer; */

    text-align: center;
    /* min-height: 240px; */
    min-height: auto;

    /* margin-right: 10px; */
}


.card-cursor {
    cursor: pointer
}

.card-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.card-image-modal  {
    width: 100%;
    max-height: 600px;
    border-radius: 4px;
    object-fit: cover;
}

.card-image-group {
    width: 100%;
    height: auto;
    /* height: 250px; */
    object-fit: cover; 
    /* min-height: 160px; */
    /* min-height: 222px; */
    min-height: 10em;
    max-height: 10em;

}

.homeimg {
    width: 50px !important;
    height: 50px !important;
    min-height: 50px !important;
}

.card-text {
    padding: 0px 15px 0px;
    /* min-height: 275px; */
    display: flex;
    flex-direction: column;
    min-height: 150px;
}




.nav-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* width: 100%; */
    margin-top: 10px;
    margin-bottom: 10px;
}

.button-guest, .button-call {
    display: block;
    width: 100% !important;
    /* text-align: center !important; */
    margin-left: 10px;
    margin-right: 10px;
}

.button-menu {
    display: flex;
    width: 100% !important;
    max-width: 400px;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.button-send {
    display: block;
    width: 100% !important;
    text-decoration: none;
    max-width: 400px;
}


.restaurants .card-text {
    min-height: auto;
}

.card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.card-heading-group {
    /* display: flex; */
    align-items: center;
    justify-content: space-between;
    /* margin-bottom: 10px; */
}


.card-title {
    margin: 0;
    margin-top: 10px;
    font-style: normal;
    font-weight: bold;
    font-size: 24px;
    line-height: 24px;
    /* min-height: 50px; */
}

.card-title-group {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    /* margin-top: 10px; */
    font-style: normal;
    /* font-weight: bold; */
    font-weight: 800;
    font-size: 22px;
    line-height: 24px;
    min-height: 50px;
}

.card-title-reg {
    font-weight: 600;
}

.card-tag {
    font-style: normal;
    font-weight: normal;
    font-size: 12px;
    line-height: 20px;
    color: #ffffff;
    background: #262626;
    border-radius: 2px;
    padding: 1px 8px;
}

.card-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.card-buttons {
    display: flex;
    margin: 5px;
    flex-grow: 1;
    align-items: center;
    padding: 5px;
}

.card-price-bold {
    font-weight: bold;
    font-size: 18px;
    line-height: 32px;
    margin: 0 auto 0 0;
}

.rating {
    background-image: url("../img/icon/rating.svg");
    background-repeat: no-repeat;
    background-position: 0 7px;
    padding-left: 20px;
    margin-right: 26px;
    color: #ffbc40;
    font-weight: bold;
    font-size: 18px;
    line-height: 32px;
}

.price,
.category {
    color: #8c8c8c;
    font-size: 18px;
    line-height: 32px;
}

.price {
    margin-right: 10px;
}

.card-description {
    color: #8c8c8c;
    font-size: 18px;
    line-height: 21px;
    min-height: 30px;
}

.category {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    max-width: 150px;
}

.price:after {
    content: "";
    width: 5px;
    height: 5px;
    background-color: #8c8c8c;
    display: inline-block;
    vertical-align: middle;
    border-radius: 50%;
    margin-left: 10px;
}

.footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    /* padding: 10px 0; */
    color: var(--main-color);
}

.footer-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    margin-bottom: 10px;
}

.footer-nav {
    margin-left: 35px;
    margin-right: auto;
}

.footer-link {
    display: inline-block;
    color: #595959;
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 21px;
    text-decoration: none;
}

.footer-link:not(:last-child) {
    margin-right: 15px;
}

.social-links {
    display: flex;
    align-items: center;
}

.social-link:not(:last-child) {
    /* :not(:last-child) для всех кроме последнего */
    margin-right: 10px;
}


.modal-open {
    overflow: hidden;
    position: relative;
    height: 100vh;
    }



.modal-auth {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: none;
    z-index: 999;
}

.spin-open {
    position: fixed;
    left: 0;
    top: 0; 
    width: 100%; 
    height: 100%;
    /* background: rgba(0, 0, 0, 0.4); */
    /* display: none; */
    z-index: 1000;
    overflow: hidden;
}

.modal-height {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 110vh;
    background: rgba(0, 0, 0, 0.4);
    z-index: 888;
}
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* height: 88vh; */
    height: 100%;
    /* background: rgba(0, 0, 0, 0.4); */
    display: none;
    z-index: 999;
}

.is-open {
    position: fixed;
    display: flex;
    overflow: auto;
    overflow-y: auto;
    margin: auto;

}

.modal-dialog {
    max-width: 780px;
    width: 95%;
    min-height: 53px;
    /* height: 120%; */
    background: #ffffff;
    border-radius: 5px;
    /* margin: auto; */
    margin-left: auto;
    margin-right: auto;
    margin-bottom: auto;
    margin-top: auto;

    /* padding: 18px 18px; */
    padding: 5px 10px;
}

.modal-dialog-auth {
    width: auto;
    position: relative;
}

.label-auth {
    display: block;
    margin: 30px;
}

.label-auth span {
    width: 80px;
    display: inline-block;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* margin-top: 12px; */
    /* margin-bottom: 10px; */
}

.modal-title {
    margin: 0;
    font-weight: bold;
    font-size: 18px;
    line-height: 24px;
    /* margin-bottom: 24px; */
}

.close {

    /* position: absolute;
    right: 36px;
    top: auto; */

    font-size: 36px;
    width: 36px;
    border: none;
    background-color: transparent;
    margin-left: auto;
    color: var(--main-color);
}

.close-auth {
    font-size: 36px;
    border: none;
    background-color: transparent;
    position: absolute;
    top: 10px;
    right: 20px;
}

.modal-body {
    margin-top: 20px;
    margin-bottom: 10px;
}

.food-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 8px;
    border-bottom: 1px solid #d9d9d9;
    margin-bottom: 15px;
}

.food-name {
    font-weight: normal;
    font-size: 18px;
    line-height: 20px;
    width: 100%;
}

.food-name-mod {
    font-weight: normal;
    font-size: 16px;
    line-height: 16px;
}

.food-count-mod {
    font-size: 14px;
}

.food-price {
    white-space: nowrap;  /* не переносить пробелы в тексте */
    margin-left: auto;
    margin-right: 8px;
    font-weight: bold;
    font-size: 20px;
    line-height: 0px;

    min-width: 50px;
    text-align: right;
}

.mitm-price {
    white-space: nowrap;  /* не переносить пробелы в тексте */
    margin-left: auto;
    margin-right: 8px;
    font-weight: bold;
    font-size: 18px;
    line-height: 0px;

    min-width: 50px;
    text-align: right;
}

.food-counter {
    display: flex;
    align-items: center;
}

.counter-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 44px;
    background: #ffffff;
    /* border: 1px solid #40a9ff; */
    border: 1px solid var(--main-color);
    box-sizing: border-box;
    border-radius: 4px;
    font-weight: normal;
    font-size: 14px;
    line-height: 22px;
    /* color: #40a9ff; */
    color: var(--main-color);
}

.cart-btn {
    width: 30px;
    height: 30px;
}

.counter-button:active {
    /* background: #40a9ff; */
    background: var(--main-color);
    border: 1px solid #fff;
    color: #fff;
}

/* .counter-button:hover {
    background: var(--main-color);
    border: 1px solid #fff;
    color:#fff;
} */


.counter {
    min-width: 18px;
    text-align: center;
    font-size: 16px;
    line-height: 24px;
    margin-left: 5px;
    margin-right: 5px;
}

/* Верстка Счета в Модалке */

.ordr {
    font-weight:bold;
    padding-bottom: 5px;
}
.mitm-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 5px;
    border-bottom: 1px solid #d9d9d9;
    margin-bottom: 5px;
    margin-top: 5px;
}
.mitm-name {
    /* display: flex; */
    align-items: center;
    font-weight: normal;
    font-size: 16px;
    /* margin-left: 8px; */
}
.mitm-counter {
    display: flex;
    align-items: center;
}
.button-call-gest {
    display: flex;
    margin-left: auto;;
}
/* Верстка Счета в Модалке end */


.modal-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.modal-auth .modal-footer {
    justify-content: flex-end;
}

.footer-buttons {
    display: flex;
    align-items: center;
}

/* .modal-pricetag {
    white-space: nowrap; 
    background: #262626;
    border-radius: 5px;
    color: #ffffff;
    padding: 10px 10px;
    font-size: 16px;
    line-height: 20px;
} */

.modal-pricetag {
    white-space: nowrap;  /* не переносить пробелы в тексте */
    /* background: #262626; */
    border-radius: 5px;
    /* color: #ffffff; */
    padding: 10px 0px 10px 0px;
    font-weight: bold;
    /* font-size: 16px; */
    /* line-height: 20px; */

    /* margin-left: auto; */
    /* margin-right: 8px; */

    font-size: 18px;
    line-height: 32px;

}





/* Группы модификаторов*/
.modifier-groups {
    display: flex;
    flex-direction: column;  
    /* list-style: none; */
}

.modifier-group-name {
    display: flex;
    margin-top: 5px;
    margin-bottom: 5px;
    justify-content: flex-start;
}
.modifier-group {
    /* display: none; */
    margin: -1px;
    margin-bottom: 5px;
    /* margin-top: 8px; */
}

.modifier-groups ul {
    list-style: none;
    /* margin: -10px; */
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

.modifier-group li {
    cursor: pointer;
    padding: 8px;
    border: 1px solid #949494;
    border-radius: 5px;
    margin: 3px;
    color: #4e4e4e;
    text-align: center;
}

.modifier-group li.active {
    background-color: red;
    border: 1px solid red;
    color: white;
}

/* end Группы модификаторов*/


/* Ингридиенты*/
.ingredient-groups-title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: bold;
}

.ingredient-group-name {
    display: none;
    margin-top: 10px;
    margin-bottom: 5px;
    font-size: 16px;
    font-weight: bold;
}

.ingredient-rows {
    display: flex;
    align-items: center;
    /* justify-content: center; */
    flex-direction: column;
}

.ingredient-row {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 5px;
    margin-bottom: 5px;
    min-width: 333px;
}

.ingredient-name {
    /* margin-right: auto;*/
    min-width: 150px;
}

.ingredient-price {
    display: flex;
    margin-left: auto;
    /* margin-right: auto; */
}

.ingredient-counters {
    display: flex;
    align-items: center;
}

.ingr-btn {
    width: 30px;
    height: 30px;
}


/* end Ингридиенты*/



/* begin parent-menugroups */
.parent-menugroups{
    display: flex;
    align-items: center;
    justify-content: flex-start;

}

.parent-groups {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color:#8c8c8c;
    list-style: none;
    padding: 0px;
    margin: 0px;

    flex-wrap: wrap;
}

.parent-item {
    cursor: pointer;
    padding: 5px;
    /* border: 1px solid #949494; */
    border-radius: 5px;
    /* margin: 3px; */
    /* color: var(--main-color); */
    color:#8c8c8c;
    font-size: 16px;
}

.parent-item:hover{
    color: var(--main-color);
}

.parent-groups .active{
    cursor: default;
    color: var(--main-color);
}

/* end parent-menugroups */

/* begin child-groups */
.child-menugroups{
    display: flex;
    align-items: center;
    justify-content: flex-start;

}
.child-groups {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color:#8c8c8c;
    list-style: none;
    padding: 0px;
    margin: 0px 0px 10px 0px;

    flex-wrap: wrap;
}
.child-item {
    cursor: pointer;
    /* padding-top: 5px; */
    /* padding-bottom: 5px; */
    padding: 8px 10px 8px 10px;
    /* border: 1px solid var(--main-color); */
    border: 1px solid #d9d9d9;
    border-radius: 50px;

    margin: 3px;
    /* color: var(--main-color); */
    color:#8c8c8c;
    font-size: 14px;
}

.child-item:hover, .child-groups .active{
    border: 1px solid var(--main-color);
    background-color: var(--main-color);
    color: #fff;
}

/* end child-groups */




@media (max-width: 1366px) {
    .container {
        max-width: 960px;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .card-image-group {
        width: 100%;
        /* height: 50%; */
        height: auto;
        object-fit: cover; 
         /* min-height: 222px;  */
        min-height: 10em;
        max-height: 10em;
    }
    .card-title {
        font-size: 20px;
        /* min-height: 50px; */
    } 
    .card-title-group {
        font-size: 21px;
        /* min-height: 50px; */
    } 

    .promo1 {
        background-position: center right -300px;
        background-size: 750px;
    }


    .promo2 {
        background-position: top -5px right -93px;
        background-size: 530px;
    }

    .promo3 {
        background-position: top 0 right -93px;
        background-size: 820px;
    }

    .promo4 {
        background-position: center right -90px;
    }

    .rating {
        margin-right: 15px;
    }

    .category,
    .price {
        font-size: 14px;
    }
    .card-text-group {
        /* padding: 20px 23px 35px; */
        /* min-height: 275px; */
        display: flex;
        flex-direction: column;

        /* TDI */
        justify-content: center;
        align-items: center;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 750px;
        margin-top: 10px;
        margin-bottom: 10px;
    }
    
    .card {
        flex-basis: 47%;
    }
    .card-text-group {
        /* padding: 20px 23px 35px; */
        /* min-height: 318px; */
        display: flex;
        flex-direction: column;
    }
    .card-image-group {
        width: 100%;
        /* height: 50%; */
        height: auto;
        object-fit: cover; 
         /* min-height: 173px;  */
        min-height: 8em;
        max-height: 8em;
    } 
    .card-title {
        font-size: 20px;
        /* min-height: 50px; */
    }

    .card-title-group {
        font-size: 18px;
        /* min-height: 50px; */
    }

    .promo {
        min-height: 360px;
    }


    .promo1 {
        padding: 50px;
        background-size: 500px;
        background-position: center right -200px;
    }

    .promo2 {
        background-position: top 55px right -100px;
        background-size: 385px;
    }

    .promo3 {
        background-position: top 0 right -280px;
        background-size: 810px;
    }

    .promo4 {
        background-position: top 30px right -175px;
    }



    .promo-text {
        font-size: 18px;
        max-width: 400px;
    }



    .footer-link {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 560px;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .card-group {
        flex-basis: 31%;
        /* min-height: 200px; */
        min-height: auto;
    }
    
    .card-image-group {
        width: 100%;
        /* height: 150px; */
        height: auto;
        object-fit: cover; 
        min-height: 7em;
        /* min-height: 150px; */
        max-height: 7em;
    }

    .card-info {
        flex-wrap: wrap;
    }

    .card .rating {
        flex-basis: 100%;
    }

    .card-title {
        font-size: 20px;
        /* min-height: 50px; */
    }

    .card-title-group {
        font-size: 18px;
        min-height: 50px;
    }

    .card-text {
        min-height: 150px;
        /* font-size: 10px; */
    }

    .card-text-group {
        /* min-height: 200px; */
        min-height: auto;
        /* font-size: 10px; */
    }
    .button-cart {
        border: 0px solid var(--main-color);
    }

    .button-cart-text {
        display: none;
    }

    /* .card-price-bold {
        margin-left: 20px;
    } */

    .promo {
        min-height: 310px;
    }

    .promo1 {
        background-size: 400px;
        background-position: bottom 50px right -200px;
    }


    .promo2 {
        background-position: top -5px right -74px;
        background-size: 300px;
    }

    .promo3 {
        background-position: top 0 right -240px;
        background-size: 702px;
    }

    .promo4 {
        background-position: top -24px right -75px;
        background-size: 302px;
    }

    .promo-title {
        font-size: 24px;
        line-height: 1.4;
    }

    .promo-text {
        margin-top: 0;
    }

    .header-cart-text {
        display: none;
    }

}

@media (max-width: 578px) {
    .container {
        width: 95%;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    /* Панель управляющих кнопок  */
.nav-top {
    position: fixed;
    left: 0;
    top: 48px;
    width: 100%;
    /* height: 75px; */
    /* Затенение основной области */
    background: rgba(0, 0, 0, 0.4);
    /* display: none; */
    z-index: 5;
    overflow: hidden;
    overflow-y: auto;
    margin: auto;
    /* margin-bottom: 5px; */

}

    .sticky-main-menu {
    width: 100%;
    height: auto;
    background: rgba(0, 0, 0, 0.4);
}

.nav-elems {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
}

.nav-elem {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: #ffffff;
    /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); */
    border-radius: 0px;
    overflow: hidden;
    flex-basis: 50%;
    text-decoration: none;
    cursor: pointer;
    text-align: center;
    /* min-height: 70px; */
    min-width: 0;
    /* border-bottom: 2px solid orange; */ 
    border-top: 0px solid var(--main-color); 
}
    /*  end Панель управляющих кнопок  */

    .address {
        min-width: 100%;
        order: 1;
    }

    .header {
        flex-wrap: wrap;
    }

    .input-address {
        margin-top: 15px;
        order: 5;
        flex: 1;
    }

    .promo {
        /* background-image: none; */
        box-shadow: 0 7px 12px rgba(158, 158, 163, 0.1);
        border-radius: 10px;
        padding: 10px 10px;
        margin-bottom: 20px;
        /* мин высота для акций */
        min-height: 215px;
    }

    .promo1 {
        background-size: 400px;
        background-position: bottom 0px right -100px;
    }


    .promo2 {
        background-position: top -5px right -74px;
        background-size: 300px;
    }

    .promo3 {
        background-position: top 0 right -240px;
        background-size: 702px;
    }

    .promo4 {
        background-position: top -24px right -75px;
        background-size: 302px;
    }

    .promo-title {
        margin-bottom: 10px;
    }

    .section-title {
        font-size: 20px;
    }

    .card {
        flex-basis: 100%;
        margin-right: auto;
    }

    .card-text {
        min-height: auto;
        /* min-height: 250px; */
    }

    .card-group {
        background: #ffffff;
        border-radius: 7px;
        overflow: hidden;
        margin-bottom: 10px;
        text-decoration: none;
        text-align: center;
        flex-basis: 47%;
        /* min-height: 222px; */
        min-height: auto;
    }

    .card-text-group {
        /* padding: 20px 23px 35px; */
        min-height: auto;
        display: flex;
        flex-direction: column;
    }

    .card-image {
        width: 100%;
        /* height: 100%; */
        object-fit: cover;
    }

    .card-title {
        font-size: 20px;
    }

    .card-title-group {
        font-size: 16px;
    }


    .footer {
        padding: 10px 0;
    }

    .footer-block {
        align-items: flex-start;
    }

    .footer-nav {
        margin-left: 0;
        margin-right: 0;
        order: 0;
        display: flex;
        flex-direction: column;
    }

    .footer-logo {
        margin-right: 15px;
        order: 1;
    }

    .social-links {
        order: 2;
    }

}
/* iPhone 6/7/8 */
@media (max-width: 480px) {
    .card-group {
        flex-basis: 46%;
        /* min-height: 200px; */
        min-height: auto;
    }

    .promo {
        padding: 10px;
        /* background-image: none; */

    }
    .promo1 {
            background-position: bottom 15px right -150px;
            background-size: 300px;
    }


    .promo2 {
        background-position: top -15px right -50px;
        background-size: 200px;
    }

    .promo3 {
        background-position: top 0px right -200px;
        background-size: 500px;
    }

    .promo4 {
        background-position: top 50px right -50px;
        background-size: 300px;
    }
}

/* iPhone 5 SE */
@media (max-width: 370px) {

    .logoimg {
        max-width: 80px;
    }

    .input-search {
        /* width: 260px; */
        width: 100%;
        /* min-width: 260px; */
        /* margin-right: 5px; */
        background-image: url(../img/icon/search.svg);
    }

    .search {
        width: 100%;
    }

    .modal-dialog {
        width: 95%;
        padding: 5px 5px;
    }

    .modal-title {
        margin: 0;
        font-weight: bold;
        font-size: 19px;
        line-height: 24px;
        /* margin-bottom: 24px; */
    }

    .food-price {
    /* margin-left: auto;
    margin-right: 8px;
    font-weight: bold;
    font-size: 16px;
    line-height: 32px;
    min-width: 47px; */
    display: flex;
    white-space: nowrap;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    text-align: center;
    font-size: 16px;
    line-height: 0px;
    /* margin-left: 10px; */
    /* margin-right: 10px; */

    }
/* 
    .modal-pricetag {
        white-space: nowrap;  
        // не переносить пробелы в тексте 
        background: #262626;
        border-radius: 5px;
        color: #ffffff;
        font-size: 16px;
        text-align: center;
        line-height: 60px;
        min-height: 60px;
        // min-width: 60px; 
        padding: 0px 8px;
    } 
*/

    .button-primary {
        margin-right: 0px;
    }

    .close-auth {
        /* Крестик */
        top: 0px;
        right: 5px;
    }

    .button-cart-text {
        display: none;
    }

    .button-icon {
        margin: 0;
    }

    .user-name {
        margin: 5px;
    }

    .buttons {
        flex-wrap: wrap;
        margin-left: auto;
    }

    .button {
        min-height: 40px;
        padding: 5px 5px;

    }

    .button-search {
    width: auto;
    }

    .button-out-svg {
        width: 24px;
        height: 24px;
        background-color: #fff;
        -webkit-mask: url(../img/icon/logout.svg) no-repeat 50% 50%;
        mask: url(../img/icon/logout.svg) no-repeat 50% 50%;
        background-repeat: no-repeat;
        -webkit-mask-size: 20px;
        mask-size: 20px;
    }


    .promo {
        padding: 10px;
        /* background-image: none; */

    }
    .promo1 {
            background-position: bottom 15px right -150px;
            background-size: 300px;
    }


    .promo2 {
        background-position: top -15px right -50px;
        background-size: 200px;
    }

    .promo3 {
        background-position: top 0px right -200px;
        background-size: 500px;
    }

    .promo4 {
        background-position: top 100px right -50px;
        background-size: 250px;
    }

    
    .card-group {
        background: #ffffff;
        border-radius: 7px;
        overflow: hidden;
        margin-bottom: 10px;
        flex-basis: 100%;
        text-decoration: none;
        text-align: center;
        /* min-height: 200px; */
        min-height: auto;
    }

    .card-title {
        font-size: 20px;
        min-height: 20px;
    }

    .card-title-group {
        font-size: 18px;
        /* min-height: 18px; */
    }

    /* .section-heading {
        flex-wrap: wrap;
    } */

    .footer-block {
        flex-wrap: wrap;
        flex-direction: column;
        align-items: center;
    }

    .footer-logo {
        order: 0;
        margin-bottom: 20px;
    }

    .footer-nav {
        margin-bottom: 20px;
        text-align: center;
    }

    .footer-link:not(:last-child) {
        margin-right: 0;
    }

    .ingredient-row {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 5px;
        margin-bottom: 5px;
        min-width: 280px;
    }

    .ingredient-name {
        /* margin-right: auto;*/
        min-width: 130px;
    }

    .ingredient-price {
        display: flex;
        margin-left: auto;
        /* margin-right: auto; */
        font-size: 12px;
    }

}






