body {
    /*background: white;*/
}

/* search component */

.search-component {
    display: flex;
    justify-content: center;
    position: absolute;
    top: 22px;
    right: 220px;
    height: 80px;
    padding: 0 18px;
    background: rgba(0, 0, 0, .6);
    z-index: 12;
    transition: all .1s linear;
}

.minimized .search-component {
    top: 6px;
    right: 140px;
    height: 60px;
    background: transparent;
}

.minimized .search-component:before,
.minimized .search-component:after {
    display: none;
}

.search-component.active {
    background: rgb(0, 0, 0);
}

.minimized .search-component {
    top: 15px;
}

.search-component:after,
.search-component:before {
    content: '';
    position: absolute;
    width: 7px;
    height: 78px;
    top: 0;
}

.search-component:before {
    right: 100%;
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAABOCAQAAABGDMT8AAAAUklEQVR4Xu3U0QmAMBCD4V8o1B2sA1UHcRk7QLYVpVCDEwiXl+PjnhMsybk46xsz58DEgcbnhiBR2GkPRD/6IYPBYGZlo3V62T9T4ENhqc7izBdwaRiZ6pBwJwAAAABJRU5ErkJggg==) 0 0 no-repeat;
}

.search-component:after {
    left: 100%;
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAABOCAQAAABGDMT8AAAATUlEQVR42mNgYGFAATKoXG9Ubg8DBzJ3JkM6AyMyFyTAicydydDL4MkgDbJlJgoc5Y5yR7lDjwvKzlIMzLDMzoGjKEArKLzxFjIoRRAA0mIYkQ4DLpMAAAAASUVORK5CYII=) 0 0 no-repeat;
}

.search-form {
    display: flex;
}

.search-form input.search-text:focus{
    border: 0;
    outline:0;
}

.search-form input.search-text {
    border: 0;
    background: transparent;
    color: white;
    width: 0;
    padding: 0;
    font-size: 20px;
    transition: all .1s linear;
}

.active .search-form input.search-text {
    padding: 0 10px;
    width: 700px;
}

.minimized .active .search-form input.search-text {
    padding: 0 10px;
    width: 800px;
}

ul.datalist {
    display:none;
    position: absolute;
    top: 100%;
    width: 100%;
    background: white;
    list-style: none;
    max-height: 300px;
    overflow-y: auto;
}

.active ul.datalist{
    display: block;
}

ul.datalist li {
    padding: 10px;
    color: black;
}

.product-brief-wrap {
    display: grid;
    grid-template-columns: 50px 1fr;
    grid-template-rows: 50px;
    grid-gap: 10px;
    grid-template-areas: "brief-image brief-title" "brief-image brief-text";
}

.product-brief-image {
    grid-area: brief-image;
}

.product-brief-title {
    grid-area: brief-title;
    color: #478f00;
    align-self: center;
}

@media (max-width: 1050px) {
    .active .search-form input.search-text {
        padding: 0 10px;
        width: 60vw;
    }

    .minimized .active .search-form input.search-text {
        padding: 0 10px;
        width: 60vw;
    }
}

@media (max-width: 700px) {
    .search-component {
        top: 65px;
        right: 120px;
        height: 50px;
        background: transparent;
    }

    .search-component:before,
    .search-component:after {
        display: none;
    }

    .active.search-component{
        right: 10px;
    }

    .active .search-form input.search-text {
        padding: 0 10px;
        width: calc(100vw - 89px);
    }
}

.page-detail .text-content .buying-wrap .dotted-title .title {
    font: italic 700 23px/1 Bitter, 'PT Serif', Georgia, serif;
    display: inline-block;
    position: relative;
}
.also-in-set.Wpopup{
    margin-bottom: 20px;
}
.also-in-set.Wpopup .products-short {
    box-sizing: border-box;
    /*display: inline-block;*/
    /*margin-bottom: 33px;*/
    font-size: 0;
    /*padding: 16px 0 16px;*/
    text-align: center;
    display: flex;
    margin-bottom: 0px;
    padding: 0;
    flex-grow: 1;
    flex-basis: 50%;
}

.also-in-set.Wpopup .products-short .product-card-short {
    width: 160px;
    margin: 0 14px;
    text-decoration: none;
    color: #000;
    vertical-align: top;
    display: inline-block;
    text-align: center
}

.also-in-set.Wpopup .products-short .product-card-short:hover .title span {
    border-color: #478f00
}

.also-in-set.Wpopup .products-short .product-card-short .img-wrap {
    width: 140px;
    height: 165px;
    line-height: 165px;
    margin-bottom: 27px;
    display: inline-block;
    text-align: center;
    position: relative
}

.also-in-set.Wpopup .products-short .product-card-short .img-wrap img {
    display: inline-block;
    vertical-align: bottom;
    max-width: 100%;
    max-height: 100%;
    margin: 5px 46px 10px 0;
}
.also-in-set.Wpopup .block-set-item-choise .title,
.also-in-set.Wpopup .products-short .title {
    font: 400 17px/1 Bitter, 'PT Serif', Georgia, serif;
    margin-bottom: 7px;
    text-align: center;
    color: #478f00;
    white-space: normal;
}

.also-in-set.Wpopup .products-short .title span {
    transition: border-color .3s ease;
    border-bottom: 1px solid transparent
}

.also-in-set.Wpopup .products-short .price {
    display: block;
    font: 400 16px/1 Bitter, 'PT Serif', Georgia, serif;
    margin-bottom: 12px;

}

.block-also-in-set{
    display: flex;
}
.block-set-choice{
    display: none;
}

.also-in-set.Wpopup .block-set-list{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.also-in-set.Wpopup.change .block-set-list{
    width: 40%;
    /*width: auto;*/
    border-right: 1px #000 solid;
    overflow: scroll;
    /*height: 398px;*/
    display: flex;
    max-height: 540px;
    border-right: 1px #000 solid;


}
.also-in-set.Wpopup.change .block-set-choice{
    width: 60%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}
.also-in-set.Wpopup.change .block-set-list,
.also-in-set.Wpopup.change .block-set-choice{
    overflow: auto;
    max-height: 540px;
    /*min-height: 540px;*/

}

.also-in-set.Wpopup .products-short .product-card-short .img-wrap {
    height: 140px;
    margin-bottom: 0px;
}

.also-in-set.Wpopup .block-set-item-choise{
    flex-basis: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.also-in-set.Wpopup .block-set-item-choise .img-wrap  img {
    max-width: 100%;
    height: auto !important;
    float: left;
    margin: 0;
}
.also-in-set.Wpopup .block-set-item-choise .img-wrap{
    height: 140px;
    width: 140px;
    margin-bottom: 0px;
}
.also-in-set.Wpopup .block-set-item-choise .title{
    color: #161616;
}

.also-in-set.Wpopup .block_text{
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.product-card .list-item-change.sets.setSizeOne{
    margin-left: -183px;
}
.product-card .list-item-change.sets.setSizeTwo{
    margin-left: -488px;
}
.product-card .list-item-change.sets.setSizeThree{
    margin-left: -792px;
}
.page-detail .info-wrap .sets .js-select-set-list,
.page-detail .info-wrap .sets .js-change-set-list{
    color: #ffffff;
}

.page-basket .basket-list .text-content img {
    max-width: 100%;
    height: auto !important;
    float: left;
    margin: 5px 46px 10px 0;
}

.also-in-set.ajax-loader.loader-top .loader:after{
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

@media (min-width: 1090px){
    .page-detail .info-wrap .list-item-change.sets,
    .page-basket .basket-list .list-item-change.sets ,
    .product-card .list-item-change.sets {
        width: 978px;
    }
}
@media (max-width: 1090px) {
    .page-detail .info-wrap .list-item-change.sets {
        width: 340px;
        margin-left: -170px;
        left: 50% !important;
    }
}
@media (max-width: 1089px){

    .product-card .list-item-change.sets.setSizeOne,
    .product-card .list-item-change.sets.setSizeTwo,
    .product-card .list-item-change.sets.setSizeThree{
        margin-left: -170px;
    }
    .block-also-in-set {
        flex-direction: column;
    }
    .also-in-set.Wpopup.change .block-set-list{
        display: none;
    }
    .also-in-set.Wpopup.change .block-set-list,
    .also-in-set.Wpopup.change .block-set-choice{
        width: 100%;
    }
    .also-in-set.Wpopup.change .block-set-choice{
        flex-direction: row;

    }
    .also-in-set.Wpopup.change .block-set-item-choise {
        flex-basis: 100%;
    }


}

@media (max-width: 590px){
    .also-in-set.Wpopup .products-short .product-card-short {
        margin: 0;
    }
    .also-in-set.Wpopup .products-short .product-card-short .img-wrap{
        margin: 0;
    }
    .also-in-set.Wpopup .block-set-item-choise .img-wrap {
        width: 140px;
        height: 127px;
        position: relative;
    }

}

/* Контакты */
.page-contacts .info-wrap ul{
    float: none;
}
.block-department{
    float: left;
}
.page-contacts .info-wrap .middle{
    height: min-content;
}
.page-contacts .mail-text,
.page-contacts .phone-mobile-text,
.page-contacts .phone-city-text{
    margin-top: 17px;
}

.page-contacts .info-wrap .middle .mail {
    margin-bottom: 24px;
}

.page-contacts .subway-logo{
    width: 50px;
    margin: 0px 5px 0 0;
}
@media (min-width:930px) and (max-width:979px){
    .page-contacts .info-wrap ul{
        padding: 0px 0 0 40px;
    }
}
@media (min-width:630px) and (max-width:929px){
    .block-department{
        width: 50%;
    }
    .page-contacts .info-wrap ul {
        width: 100%;
    }
}
@media (max-width: 630px){
    .page-contacts .legal-address{
        padding: 30px 10px 0;
    }
}
.header .nav ul li a, .header .nav ul li span{
    padding: 0 21px;
}
.header.az .nav ul li a, .header.az .nav ul li span{
    padding: 0 17px;
}

.header.az .nav ul li:first-child a, .header .nav ul li:first-child span {
    padding-left: 0;
}
.header.az .nav ul li:last-child a, .header .nav ul li:last-child span {
    padding-right: 0;
}
.menu.count-1~.langs, .menu.count-2~.langs, .menu.count-3~.langs, .menu.count-4~.langs {
    /* left: 437px; */
}
/* Контакты */
@media (max-width: 880px){
    .menu.count-1~.langs, .menu.count-2~.langs, .menu.count-3~.langs, .menu.count-4~.langs {
         left: 10px;
    }
}
@media (min-width: 981px) {
    .header .nav ul {
        display: flex;
        justify-content: space-between;
    }
}

.page-personal .popup.order-popup {
    min-width: 470px;
}

/*.list-item-change .type,*/
/*.list-item-change .size {*/
/*    width: 100%;*/
/*}*/
/*.list-item-change .type {*/
/*    margin-bottom: 19px;*/
/*}*/
/*.list-item-change .type label {*/
/*    display: block;*/
/*    width: 43%;*/
/*    float: left;*/
/*    margin: 3px 10px;*/
/*}*/

/*.select-size {*/
/*    text-align: center;*/
/*    display: flex;*/
/*    flex-wrap: wrap;*/
/*    align-items: center;*/
/*    flex-direction: row;*/
/*    justify-content: center;*/
/*    white-space: normal;*/
/*    !*display: none;*!*/
/*}*/

/*.select-size label {*/
/*    white-space: nowrap;*/
/*    margin-right: 0;*/
/*}*/
.product-pizza-card .product-hr{
    display: none;
}
form .select-size {
    /*justify-content: space-around;*/
}
.product-card.product-pizza-card{
    height: 450px;
}
.container.js-filter{
    /*z-index: 31;*/
}
.options-row .select-size{
    /*flex-wrap: nowrap;*/
    /*flex-direction: column;*/
}
.page-detail .text-content .buying-wrap form.list-item-change .select-size{
    /*width: 100%;*/
}
.dish-block .select-size label.big {
    margin-right: 0px;
}
.select-size label.big .size-icon,
.select-size label.medium .size-icon,
.select-size label.small .size-icon {
    width: 50px;
    height: 50px;
    margin-top: 4px
}
