
.p-header {
    /*height: 112px;*/
    height: 139px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 500;
}

.p-header__sub-top {
    background: #F6F7F7;
    height: 27px;
    z-index: 10;
    position: relative;

}

.p-header__sub-top .container {
    /*padding: 0 80px 0 152px;*/
    max-width: 1440px;
    padding: 0 65px;
}

.p-header__sub-top-l {
    display: flex;
    float: left;
    padding-left:132px;
}

.p-header__sub-top-r {
    display: flex;
    float: right;
    padding-right:40px;
}

.p-header__sub-top .wrap-dropdown {
    position: relative;
}

.p-header__sub-top-l .wrap-dropdown {
    margin-right: 15px;
}

.p-header__sub-top-r .wrap-dropdown {
    margin-left: 15px;
}

.p-header__sub-top .wrap-dropdown .btn-dropdown {
    font-weight: 500;
    font-size: 10px;
    line-height: 27px;
    color: #4E4B4B;
}

.p-header__sub-top .wrap-dropdown .btn-dropdown .icon-arrow-d2 {
    color: #4E4B4B;
    font-size: 4px;
    margin-left: 2px;
}

.p-header__sub-top .wrap-dropdown.isActive .btn-dropdown {
    color: #D0021B;
}

.p-header__sub-top .wrap-dropdown__private-office .btn-dropdown {
    color: #D0021B;
}

.p-header__sub-top .wrap-dropdown__private-office .btn-dropdown .icon-arrow-d2 {
    color: #D0021B;
}

.p-header__sub-top .wrap-dropdown .dropdown {
    position: absolute;
    left: 0;
    top: 100%;
    background: #F6F7F7;
    padding: 10px;
    width: 100%;
}

.p-header__sub-top .menu {
    display: flex;
}

.p-header__sub-top .menu .wrap-item {
    margin-left: 15px;
}

.p-header__sub-top .menu .item {
    font-weight: 500;
    font-size: 10px;
    line-height: 28px;
    color: #4E4B4B;
}

.p-header__sub-top .menu .item:hover {
    text-decoration: underline;
}

.p-header__sub-top .wrap-dropdown .menu {
    display: block;
}

.p-header__sub-top .wrap-dropdown .menu .wrap-item {
    margin-left: 0;
}

@media only screen and (max-width: 1279px) {
    .p-header__sub-top {
        display: none;
    }
}

.p-header_top {
    height: 64px;
    background: #fff;
    padding-top: 17px;
}

.p-header_top .container {
    position: relative;
    max-width: 1440px;
    padding: 0 65px;
}

.p-header-l {
    float: left;
    display: flex;
    align-items: center;
}

.header_logo {
    width: 112px;
    display: block;
    margin-right: 40px;
}

.header_logo img {
    display: block;
    width: 100%;
}

@media only screen and (min-width: 1440px) {
    .header_logo {
        margin-right: 50px;
    }
}

.p-header .location {
    font-size: 12px;
    line-height: 20px;
    color: #1B1B1B;
    border-bottom: 1px dashed #1b1b1b;
    position: relative;
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.select-city-wrap {
    padding-right: 20px;
}
.select-city__block__text-city{
    max-width:120px;
    white-space: nowrap;
    text-overflow:ellipsis;
    overflow: hidden;
    display: inline-block;
}

.no-touchevents .p-header .location:hover {
    border-bottom-color: transparent;
    color: #D0021B;
}

.p-header .location .icon-pin_2 {
    position: absolute;
    left: -20px;
    top: 2px;
    font-size: 18px;
}

.p-header-r {
    float: right;
    display: flex;
    height: 29px;
}

.header__store {
    padding: 0 40px 0 68px;
    display: flex;
    align-items: center;
}

.store_fav {
    margin-right: 24px;
    transition: transform .325s ease 0s;
}

.store_fav .icon-heart_2 {
    font-size: 24px;
    width: 24px;
    height: 24px;
    display: block;
}

.store_fav:hover {
    transform: translate3d(0, -3px, 0);
}

.store-cart {
    width: 24px;
    height: 24px;
    display: flex;
    font-size: 24px;
    position: relative;
    transition: transform .325s ease 0s;
}

.store-cart:hover {
    transform: translate3d(0, -3px, 0);
}

.store-cart .store-cart_num {
    text-align: center;
    line-height: 14px;
    font-size: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    color: #fff;
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 1;
    width: 15px;
}

.p-header__info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.p-header__info .phone-link {
    font-size: 16px;
    line-height: 17px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #000000;
}

.p-header__info p {
    font-size: 12px;
    line-height: 12px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: #000000;
}

.p-header .btn-callback {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 20px;
    height: 20px;
    color: #1B1B1B;
    border-bottom: 1px dashed #939393;
    position: relative;
    display: block;
    margin: 5px 0 0 25px;
}

.no-touchevents .p-header .btn-callback:hover {
    color: #D0021B;
    border-bottom-color: #fff;
}

.p-header_btm {
    height: 48px;
    -webkit-transition: background .3s ease 0s;
    -moz-transition: background .3s ease 0s;
    -ms-transition: background .3s ease 0s;
    -o-transition: background .3s ease 0s;
    transition: background .3s ease 0s;
}

.p-header_btm .container {
    position: relative;
}

.p-header_btm .location,
.p-header_btm .p-header__info,
.p-header_btm .btn-callback,
.p-header_btm .btn-enter,
.p-header_btm .wrap-search,
.p-header_btm .soc-list {
    display: none;
}

.wrap-menu {
    display: block;
    width: 100%;
    text-align: center;
}

.wrap-menu .wrap-item {
    display: inline-block;
}

.wrap-menu .item {
    height: 48px;
    line-height: 48px;
    font-size: 20px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    padding: 0 12px;
    display: block;
    color: #fff;
    -webkit-transition: color .325s ease 0s;
    -moz-transition: color .325s ease 0s;
    -ms-transition: color .325s ease 0s;
    -o-transition: color .325s ease 0s;
    transition: color .325s ease 0s;
    text-decoration: none;
    /*text-transform: capitalize;*/
}

.wrap-search {
    z-index: 5;
    margin-right: 40px;
    height: 28px;
}

.wrap-search .btn-search {
    display: block;
    font-size: 24px;
    width: 24px;
    height: 28px;
    z-index: 1;
    background:transparent;
    margin-top: 4px;
}

.wrap-search form {
    display: flex;
}

.wrap-search .wrap-input {
    /*width: 0;*/
    position: relative;
    overflow: hidden;
    /*width:190px;*/
    /*-webkit-transition: width .325s ease 0s;*/
    /*-moz-transition: width .325s ease 0s;*/
    /*-ms-transition: width .325s ease 0s;*/
    /*-o-transition: width .325s ease 0s;*/
    /*transition: width .325s ease 0s;*/
    border-bottom: 1px solid #CACACA;
    width: 15vw;
    max-width: 260px;
    margin: 0 5px;
}

.wrap-search .wrap-input input {
    border: none;
    width: 100%;
    display: block;
    position: relative;
    height: 28px;
    color: #1B1B1B;
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    padding: 0 5px;
}

.wrap-search .wrap-input input:focus {
    outline: none;
}


.wrap-sub-menu {
    position: absolute;
    left: 0;
    top: 139px;
    width: 100%;
    background: rgba(7, 12, 29, 0.87);
    /*display: none;*/
    height: 0;
    -webkit-transition: height .325s ease 0s;
    -moz-transition: height .325s ease 0s;
    -ms-transition: height .325s ease 0s;
    -o-transition: height .325s ease 0s;
    transition: height .325s ease 0s;
    overflow: hidden;
}

.wrap-sub-menu.open {
    height: 450px;
}

.wrap-sub-menu .container {
    position: relative;
    margin: 0 auto;
    height: 100%;
}

.sub-menu {
/*    padding: 10px 0 115px; */
    padding: 10px 0 20px;
    height: 100%;
}

.sub-menu {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    left: 15px;
    top: 0;
    width: 100%;
}

.select-container {
    padding: 15px 0 25px;
    position: relative;
    opacity: 0;
    transform: translate3d(0, 20px, 0);
    transition: all .325s ease 0s;

}

.select-container img {
    max-width: 690px;
    margin: 0 auto;
    display: block;
}

.select-container .btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
}

.sub-menu__i {
    opacity: 0;
    visibility: hidden;
    -webkit-transition: opacity .325s ease 0s, visibility .325s ease 0s;
    -moz-transition: opacity .325s ease 0s, visibility .325s ease 0s;
    -ms-transition: opacity .325s ease 0s, visibility .325s ease 0s;
    -o-transition: opacity .325s ease 0s, visibility .325s ease 0s;
    transition: opacity .325s ease 0s, visibility .325s ease 0s;
    height:100%;
}

/*.sub-menu.active .sub-menu__i {*/
/*    opacity: 1;*/
/*    visibility: visible;*/
/*}*/
.wrap-sub-menu.open .select-container {
    opacity: 1;
    transform: translate3d(0,0,0);
    transition-delay: .325s;

}

.wrap-sub-menu.open .sub-menu,
.wrap-sub-menu.open .sub-menu__i {
    opacity: 1;
    visibility: visible;
}



:root {
    --columns-count: 4; /* кол-во столбцов */
    --row-height: 20px; /* высота строчки в столбце */
    --rows-count: 18; /* кол-во строчек */
}

.sub-menu__i .menu {
    /*display: flex;
  flex-wrap: wrap;*/
    --columns-count: 4; /* кол-во столбцов */
    --row-height: 20px; /* высота строчки в столбце */
    --rows-count: 18; /* кол-во строчек */

    /*columns: 4;*/
    column-fill: auto; /* теперь колонки будут заполняться до конца */
    columns: var(--columns-count);
    height: calc(var(--row-height)*var(--rows-count));
    /* height: 500px; */


}






.sub-menu__i .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
    background: #D80027;
}

.sub-menu__i .menu .wrap-item {
    -webkit-transition: transform .325s ease .825s, opacity .325s ease .825s;
    -moz-transition: transform .325s ease .825s, opacity .325s ease .825s;
    -ms-transition: transform .325s ease .825s, opacity .325s ease .825s;
    -o-transition: transform .325s ease .825s, opacity .325s ease .825s;
    transition: transform .325s ease .825s, opacity .325s ease .825s;
    /*width: 33.33%;*/
}

.sub-menu__i .double-col .menu .wrap-item:nth-child(odd) {
    padding-right: 15px;
    -webkit-transition-delay: .95s;
    -moz-transition-delay: .95s;
    -ms-transition-delay: .95s;
    -o-transition-delay: .95s;
    transition-delay: .95s;
}

.sub-menu__i .double-col .menu .wrap-item:nth-child(even) {
    padding-left: 15px;
}

.sub-menu__i .menu .item {
    font-size: 18px;
    line-height: 24px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    display: block;
    padding: 5px 0;
    outline: none;
    text-decoration: none;
}

.sub-menu__i .wrap-item.item-title {
    margin-bottom: 13px;
    /*border-bottom: 1px solid #8d9097;*/
    width: 100%;
    padding: 0;
    position: relative;
}

.sub-menu__i .wrap-item.item-title:after {
    width: 0;
    content: '';
    height: 1px;
    background: #8d9097;
    position: absolute;
    left: 0;
    bottom: 0;
    transition: width .5s ease 0s;
}

.sub-menu__i .wrap-item.item-title .item {
    font-size: 35px;
    line-height: 42px;
    color: #D0021B;
    letter-spacing: -2.25px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    -webkit-transform: translate3d(-100px, 0, 0);
    -moz-transform: translate3d(-100px, 0, 0);
    -ms-transform: translate3d(-100px, 0, 0);
    -o-transform: translate3d(-100px, 0, 0);
    transform: translate3d(-100px, 0, 0);
    opacity: 0;
    display: block;

    transition: transform .5s ease 0s, opacity .5s ease 0s;
    text-decoration: none;
}


.wrap-sub-menu.open .menu .wrap-item {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition-delay: .325s;
}

.wrap-sub-menu.open .wrap-item.item-title:after {
    width: 100%;
    transition-delay: .725s;
}

.wrap-sub-menu.open .wrap-item.item-title .item {
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    transition-delay: .325s;
    opacity: 1;
}


.main-menu .btn-drop, .main-menu .dropdown {
    display: none;
}

.main-menu .dropdown {
    padding-left: 20px;
}

.main-menu .dropdown .wrap-item {
    margin-bottom: 0;
}

.main-menu .dropdown .wrap-item .item {
    height: auto;
    line-height: 24px;
    text-transform: none;
    /*padding-left: 15px;*/
    padding: 5px 50px 10px 15px;
    font-weight: 500;
    font-size: 12px;

}

.main-menu__sub {
    display: none;
    background: #F6F7F7;
    padding: 15px 15px 10px;
    margin: 0 -15px 15px;
}

@media screen and (max-width: 1279px) {
    .main-menu__sub {
        display: block;
    }
}

.btn-menu {
    display: none;
    position: relative;
    right: 0;
    top: 0;
    width: 30px;
    height: 30px;
    margin-left: 30px;
}

.btn-menu span {
    display: block;
    height: 2px;
    width: 100%;
    background: #000;
    position: absolute;
    border-radius: 2px;
    right: 0;
    -webkit-transition: transform .325s ease 0s;
    -moz-transition: transform .325s ease 0s;
    -ms-transition: transform .325s ease 0s;
    -o-transition: transform .325s ease 0s;
    transition: transform .325s ease 0s;
}

.btn-menu span:nth-child(1) {
    top: 4px;
}

.btn-menu span:nth-child(2) {
    top: 13px;
    width: 20px;
}

.btn-menu span:nth-child(3) {
    top: 21px;
}

.show-mob-menu .btn-menu span:nth-child(1) {
    -webkit-transform: rotateZ(45deg);
    -moz-transform: rotateZ(45deg);
    -ms-transform: rotateZ(45deg);
    -o-transform: rotateZ(45deg);
    transform: rotateZ(45deg);
    width: 24px;
    top: 12px;
}

.show-mob-menu .btn-menu span:nth-child(2) {
    -webkit-transform: rotateZ(-45deg);
    -moz-transform: rotateZ(-45deg);
    -ms-transform: rotateZ(-45deg);
    -o-transform: rotateZ(-45deg);
    transform: rotateZ(-45deg);
    width: 24px;
    top: 12px;
}

.show-mob-menu .btn-menu span:nth-child(3) {
    -webkit-transform: rotateZ(45deg);
    -moz-transform: rotateZ(45deg);
    -ms-transform: rotateZ(45deg);
    -o-transform: rotateZ(45deg);
    transform: rotateZ(45deg);
    top: 12px;
    width: 24px;
}

.inner-page .p-header_btm {
    background: #F3F3F3;
}

.inner-page .wrap-menu .item {
    color: #1b1b1b;
}

.no-touchevents .inner-page .wrap-menu .item:hover {
    color: #D0021B;
}




.page-scroll .p-header {
    -webkit-box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.5);
    box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.5);
}

.page-scroll .p-header_btm {
    background: #fff;
}

.page-scroll .wrap-menu .item {
    color: #1B1B1B;
}

.pdng-t {
    padding-top: 139px;
}

@media only screen and (max-width: 1279px) {
    .p-header_top .container {
        padding: 0 15px;
    }

    .p-header {
        height: 64px;
    }

    .p-header .location {
        display: none;
    }

    .header__store {
        padding: 0;
    }

    .p-header__info,
    .p-header_top .btn-callback,
    .p-header_top .wrap-search,
    .p-header_top .btn-enter {
        display: none;
    }

    .btn-menu {
        display: block;
    }

    .show-mob-menu {
        overflow: hidden;
        height: 100vh;
    }

    .p-header_btm {
        background: #fff;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100vw;
        height: calc(100% - 60px);
        -webkit-transform: translate3d(-100%, 0, 0);
        -moz-transform: translate3d(-100%, 0, 0);
        -ms-transform: translate3d(-100%, 0, 0);
        -o-transform: translate3d(-100%, 0, 0);
        transform: translate3d(-100%, 0, 0);
        opacity: 0;
        -webkit-transition: transform .5s ease 0s, opacity .5s ease 0s;
        -moz-transition: transform .5s ease 0s, opacity .5s ease 0s;
        -ms-transition: transform .5s ease 0s, opacity .5s ease 0s;
        -o-transition: transform .5s ease 0s, opacity .5s ease 0s;
        transition: transform .5s ease 0s, opacity .5s ease 0s;
    }

    .p-header_btm .container {
        height: 100%;
        overflow: auto;
    }

    .show-mob-menu .p-header_btm {
        opacity: 1;
        -webkit-transform: translate3d(0, 0, 0);
        -moz-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
        -o-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

    .p-header_btm .wrap-search {
        position: relative;
        right: auto;
        top: auto;
        margin: 7px 0 20px;
    }

    .p-header_btm .wrap-search form {
        justify-content: flex-end;
    }

    .wrap-search .wrap-input {
        width: 100%;
        max-width: 100%;
        margin: 0 5px;
    }

    .p-header_btm .wrap-search .wrap-input input {
        background: transparent;
    }

    .p-header_btm .p-header__info {
        margin: 0 0 20px;
        display: block;
    }

    .p-header_btm .btn-enter {
        max-width: 140px;
        margin-bottom: 20px;
    }

    .p-header_btm .btn-drop {
        display: block;
        position: absolute;
        top: 0;
        right: 0;
        width: 30px;
        height: 30px;
        text-align: center;
        text-decoration: none;
    }

    .btn-drop:after {
        position: absolute;
        width: 24px;
        height: 2px;
        background: #000;
        content: '';
        display: block;
        top: 13px;
        left: 2px;
    }

    .btn-drop:before {
        position: absolute;
        width: 2px;
        height: 24px;
        background: #000;
        content: '';
        display: block;
        top: 2px;
        left: 13px;
    }

    .show-drop > .btn-drop:before {
        display: none;
    }

    .show-drop > .btn-drop:after {
        background: #D80027;
    }

    .wrap-menu {
        margin-bottom: 40px;
    }

    .wrap-menu .wrap-item {
        display: block;
        margin-bottom: 25px;
        position: relative;
    }

    .wrap-menu .item {
        color: #000;
        text-align: left;
        font-size: 18px;
        line-height: 20px;
        height: auto;
        padding: 5px 0 10px;
    }

    .p-header_btm .location {
        display: inline-block;
        margin: 0 0 30px 20px;
    }

    .p-header_btm .btn-enter {
        display: block;
        margin-bottom: 26px;
    }

    .p-header_btm .wrap-search {
        display: block;
    }

    .inner-page .p-header_btm {
        background: #fff;
    }

    .inner-page .pdng-t {
        padding-top: 60px;
    }

    .p-header_btm .btn-callback {
        display: inline-block;
        margin: 0 0 20px 0;
    }

    .p-header .btn-callback {
        font-size: 14px;
        line-height: 22px;
        height: 22px;
    }

    .p-header_btm .soc-list {
        display: flex;
        padding-bottom: 30px;
    }
}

@media only screen and (max-width: 767px) {
    .p-header_btm {
        top: 60px;
        height: calc(100% - 60px);
    }

    .pdng-t, .inner-page .pdng-t {
        padding-top: 60px;
    }

    .p-header_top {
        padding: 0;
        display: block;
    }

    .p-header_top .container {
        height: 50px;
    }

    .p-header-l {
        display: block;
        padding-top: 13px;
    }

    .header_logo {
        margin: 0;
    }

    .p-header-r {
        height: 50px;
        align-items: center;
        padding-top: 7px;
    }

    .store_fav {
        margin-right: 20px;
    }

    .btn-menu {
        margin: 0 0 0 22px;
    }
}
