.empty-basket {
    margin: 10px 0 0;
    text-align: center;
    font: 400 14px Roboto, Arial, Helvetica, sans-serif;
    color: #808599;
}

.header-links__item.open .header-links__title {
    color: #3f4a56;
}

.header-links__item .header-work-time {
    font-size: 15px;
}

.header-links__item .header-work-time span, .header-links__item .header-work-time sup {
    font-size: 12px;
}

.header-links__item.header-profile .shopping-cart, .header-links__item.header-basket .shopping-cart {
    color: #808599;
    font-size: 14px;
    line-height: 1.2em;
    position: relative;
}

.sub-block-profile {
    background: #F5F5F5;
    border: 0;
    -webkit-box-shadow: 0 8px 16px rgba(21, 101, 192, 0.55);
    box-shadow: 0 8px 16px rgba(21, 101, 192, 0.55);
    padding: 12px 16px;
    border-radius: 5px 0 5px 5px;
}

.sub-block-profile a {
    font: 400 12px Roboto, Arial, Helvetica, sans-serif;
    color: #808599;
    display: flex;
    height: auto;
    line-height: 21px;
    margin-bottom: 8px;
}

.sub-block-profile li:last-child a {
    margin-bottom: 0;
}

.sub-block-profile a:hover {
    color: #008dee;
}

.nir-log-in:before, .nir-log-out:before, .nir-check-order:before,
.nir-callback:before, .nir-ask-question:before {
    font-size: 19px;
    margin-right: 8px;
}

.sub-block-profile .basket-list {
    margin-bottom: 0;
    max-height: unset;
    overflow: unset;
}

.sub-block-profile .mCSB_scrollTools .mCSB_draggerRail {
    background: none;
}


.sub-block-basket {
    background: #F5F5F5;
    border: 0;
    -webkit-box-shadow: 0 8px 16px rgba(21, 101, 192, 0.55);
    box-shadow: 0 8px 16px rgba(21, 101, 192, 0.55);
    padding: 16px 16px 40px;
    border-radius: 0 0 5px 5px;
}

.sub-block-basket .mCSB_scrollTools .mCSB_draggerRail {
    background: none;
}

.basket-box {
    padding: 0;
    text-align: left;
}

.basket-product-num {
    text-transform: uppercase;
    padding: 0;
    font-size: 11px;
    margin-bottom: 14px;
}

.basket-list {
    max-height: 324px;
    list-style: none;
    margin-right: -6px;
    overflow: auto;
    padding-top: 0;
    margin-bottom: 24px;
}

.basket-list {
    position: relative;
    padding-right: 16px;
}

.basket-list .basket-products-scroll {
    height: inherit;
    max-height: inherit;
    width: 120%;
    padding-right: 20%;
}

.basket-list:not(._scrollbar) .baron__track {
    opacity: 0;
}

.basket-list .mCSB_inside > .mCSB_container {
    margin-right: 16px;
}

.basket-list .mCSB_container.mCS_no_scrollbar_y.mCS_y_hidden {
    margin-right: 5px;
}

.basket-list__item {
    padding: 0;
    position: relative;
    margin-bottom: 24px;
}

.basket-list__item:last-child {
    margin-bottom: 0;
}

.basket-trash {
    position: absolute;
    top: 26px;
    right: 0;
    display: flex;
    justify-content: center;
    cursor: pointer;
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.basket-trash:hover {
    background: #E1F5FE;
}

.basket-trash::before {
    content: url("img/trash.png");
    padding-top: 5px;
}

.basket-trash:hover::before {
    content: url("img/trash-hover.png");
}

.basket-img {
    border: 1px solid #eceff1;
    float: left;
    height: 84px;
    width: 84px;
    line-height: 70px;
    padding: 2px;
    text-align: center;
    background-color: #fff;
    border-radius: 8px;
}

.basket-img a {
    display: block;
    height: 100%;
    width: 100%;
}

.basket-img img {
    max-height: 100%;
    vertical-align: middle;
    padding-bottom: 1px;
}

.basket-attr {
    float: left;
    padding: 6px 0 0 8px;
    width: calc(100% - 112px);
}

.basket-box .buy-one-click {
    margin-top: 24px;
}

.total-box__title {
    margin-top: 1px;
    float: left;
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 0.75px;
    text-transform: uppercase;
    color: #000000;
    margin-right: 40px;
}

.total-box {
    border-top: 1px dashed #a4aeb9;
    font-family: Roboto, Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #3f4a56;
    padding-top: 30px;
    display: flex;
    align-items: center;
}

.total-box .rub {
    font-size: 21px;
}

.total-box__sum {
    font-weight: 500;
    font-size: 20px;
    line-height: 23px;
    letter-spacing: 0.15px;
    color: #263238;
}

.basket-link-box {
    margin: 27px 0 0 0;
}

.basket-link-box a {
    display: block;
    margin: 0 auto;
    max-width: 252px;
    height: 48px;
    line-height: 48px;
    font-family: Roboto, Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    background: #008DEE;
    border-radius: 80px;
    text-transform: uppercase;
}

.basket-link-box a:hover {
    color: #CFD8DC;
    background: #1976D2;
}

.print-basket-container {
    display: flex;
    justify-content: center;
    margin: 10px 20px 0 0;
}

.print-basket {
    font-size: 13px;
    color: #3498db;
}

.print-basket:hover {
    cursor: pointer;
    color: #2c80b9
}

.item-name {
    padding: 0;
    margin-bottom: 5px;
    height: 44px;
    overflow: hidden;
}

.item-name a {
    font-family: Roboto, Arial, Helvetica, sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.5px;
    color: #455A64;
}

.item-price {
    color: #000;
    padding: 0;
    font-family: Roboto, Arial, Helvetica, sans-serif;
    font-size: 16px;
    margin-bottom: 0;
    display: flex;
    align-items: center;
}

.item-price-one {
    width: 110px;
    font-weight: 500;
    font-size: 14px;
    line-height: 18px;
    color: #B0BEC5;
}

.item-price-all {
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.15px;
    color: #263238;
}

.item-price .rub {
    font-size: 16px;
    color: #3f4a56;
}

.header-links {
    list-style: none;
    margin: 0;
    padding-left: 0;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    position: relative;
    justify-content: space-between;
}

.header-links__item.header-feedback .header-links-info {
    position: absolute;
    display: flex;
    flex-direction: column;
    width: 232px;
    left: -96px;
    top: 62px;
    padding: 8px 40px 8px 8px;
    background: #37474F;
    border-radius: 4px;
    z-index: 1;
}

.header-links__item.header-feedback .header-links-info.hidden {
    display: none !important;
}

.header-links__item.header-feedback .header-links-info:before {
    content: '';
    display: block;
    border-bottom: 6px solid #37474F;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    height: 0;
    position: absolute;
    width: 0;
    top: -6px;
    left: 110px;
}

.header-links__item.header-feedback .header-links-info-text {
    /*font-family: Roboto;*/
    /*font-style: normal;*/
    /*font-weight: normal;*/
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.4px;
    color: #B0BEC5;
}

.header-links__item.header-feedback .nir-cross {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    align-items: center;
    width: 16px;
    height: 16px;
    z-index: 100000;
}

.header-links__item.header-feedback .nir-cross:before {
    display: block;
    width: 11px;
    line-height: 8px;
    font-size: 17px;
    z-index: 100000;
}


.header-links__item.header-cart.header-feedback a.shopping-cart{
    color: #5c7282;
}

.header-links__item > a.shopping-cart {
    display: block;
    height: 67px;
    padding-top: 16px;
}

.header-links__item.header-cart:before {
    left: 2px;
}

.header-links__item.header-cart a.shopping-cart {
    width: 40px;
    height: 40px;
    padding: 0;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.header-links__item.header-cart a.shopping-cart:before{
    -webkit-transition: color 0.3s;
    -moz-transition: color 0.3s;
    -ms-transition: color 0.3s;
    -o-transition: color 0.3s;
    transition: color 0.3s;
}

/*.header-links__item.header-cart.open a.shopping-cart i, .header-links__item.header-cart.open:hover i {
    color: #3498db;
}

.header-links__item.header-cart.open a.shopping-cart i.arrow-dropdown, .header-links__item.header-cart.open:hover i.arrow-dropdown {
    color: #7f8c8d;
}*/

.header-links__item.header-cart.open:before {
    display: none;
}

.header-links__item img.shopping-cart {
    margin: 2px 0;
}

.header-links__item.header-search {
    display: none;
}

.header-links__item.header-cart a.shopping-cart .basket-count,
.header-links__item.header-compare a .compare-count,
.header-links__item.header-favorite a .favorite-count{
    font-weight: 500;
    font-size: 10px;
    line-height: 16px;
    text-transform: uppercase;
    text-align: center;
    display: block;
    color: #FFFFFF;
    background-color: #f44336;
    padding: 0 4px;
    height: 16px;
    min-width: 16px;
    border-radius: 16px;
    position: absolute;
    right: -9px;
}

.basket-float-title {
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
    letter-spacing: 0.75px;
    text-transform: uppercase;
    color: #263238;
    margin-bottom: 24px;
    position: relative;
}

.basket-float-title .basket-count {
    margin: 0 4px;
}

@media print {
    .basket-link-box, .buy-in-one-click-box, .print-basket-container {
        display: none;
    }

    .basket-list {
        max-height: none !important;
        height: auto !important;
    }

    .print-container h2, .allPrice {
        font-size: 24px;
    }

    .cart-item-settings__price, .basket__number .form-control {
        font-size: 16px;
    }
}

@media (min-width: 1200px) {
    .navbar-right .header-feedback .dropdown-menu.sub-block-profile,
    .navbar-right .header-profile .dropdown-menu.sub-block-profile {
        width: 190px;
    }
}

@media (min-width: 768px) {
    .navbar-right .dropdown-menu.sub-block-profile {
        top: 100%;
        border-top-left-radius: unset;
        border-top-right-radius: unset;
    }

    .navbar-right .header-feedback .dropdown-menu.sub-block-profile {
        right: unset;
    }

    .navbar-right .dropdown-menu.sub-block-basket {
        width: 384px;
        top: calc(100% + 8px);
    }

    .header-links__item.header-cart.header-profile.open a.shopping-cart:after {
        left: 0;
    }

    .basket-box-header {
        display: none;
    }

    .basket-float-title .nir-cross {
        position: absolute;
        right: 0;
        top: -6px;
    }

    .basket-float-title .nir-cross::before {
        font-size: 28px;
    }
}

@media (max-width: 1200px) and (min-width: 768px) {

    #search-form-block .form-group, #search-form-block .search__button {
        display: none;
    }

    .nir-search.search__button {
        width: 40px;
        right: 0;
    }

    .nir-search.search__button:before{
        width: 100%;
        height: 100%;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .header-links__item.mob-search-ic {
        display: block;
        margin-left: 0;
    }

    .header-form {
        margin-left: 63px;
        width: 40px !important;
    }

    .header-form, .mob-search-ic .dropdown-toggle {
        height: 40px;
        width: 40px;
    }
}

@media (min-width: 768px) and (max-height: 740px) {
    .basket-list {
        max-height: 190px !important;
        padding-right: 0;
    }

    .basket-list__item .nir-cross {
        position: absolute;
        top: 26px;
        display: inline-flex;
    }

    .basket-list__item .nir-cross:before {
        font-size: 28px;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {

    .navbar-right .header-feedback .dropdown-menu.sub-block-profile,
    .navbar-right .header-profile .dropdown-menu.sub-block-profile {
        width: 168px;
        padding: 8px 10px;
    }

    .navbar-right .header-basket .basket-box {
        margin-right: 5px;
        width: 100%;
    }

    .navbar-right .header-feedback .basket-list,
    .navbar-right .header-profile .basket-list {
        margin-right: 0;
    }

    .navbar-right .header-basket .basket-list {
        margin-right: -10px;
    }

    .sub-block-basket.dropdown-menu {
        top: calc(100% + 5px);
    }
}

@media (max-width: 767px) {
    .header-links__item.header-cart.open a.shopping-cart {
        background: #008DEE;
        border-radius: 0;
        -webkit-box-shadow: none;
        box-shadow: none;
    }

    .header-links__item.header-cart.open a.shopping-cart i {
        color: #fff;
    }

    .total-box__sum {
        float: right;
    }

    .basket-box {
        padding-bottom: 24px;
        height: 100%;
        width: auto;
    }

    .sub-block-profile .basket-box {
        display: flex;
        align-items: center;
        justify-content: center;
        height: calc(100% - 40px);
    }

    .basket-list {
        max-height: calc(100% - 220px);
        width: calc(100% + 14px);
        margin-right: 0;
        height: 100%;
        padding-right: 5px;
    }

    .basket-list .basket-products-scroll {
        height: 100%;
        max-height: none;
        padding-right: 20%;
    }

    .basket-list__item {
        padding-bottom: 8px;
        padding-top: 12px;
    }

    .basket-list .mCSB_inside > .mCSB_container {
        margin-right: 5px;
    }

    .basket-attr {
        width: calc(100% - 104px);
    }

    .print-basket-container {
        display: none;
    }

    #header .work-time {
        display: none;
    }

    .header-links {
        margin-left: 18px;
        width: calc(100% - 187px);
    }

    .header-links__item.header-search {
        display: inline-block;
    }

    .header-links__item.header-profile {
        display: none;
    }

    .header-links__item.header-cart a.shopping-cart:hover {
        color: unset !important;
    }

    .header-links__item.header-cart.open a.shopping-cart {
        margin: 0;
        padding-top: 12px;
        padding-bottom: 12px;
        color: #fff;
    }

    .header-links__item.header-cart.header-feedback a.shopping-cart {
        color: #000000;
    }

    .header-links__item.header-cart.open a.shopping-cart:hover {
        color: #fff !important;
    }

    .header-links__item.header-cart.open a.shopping-cart:before {
        transition: unset;
    }

    .header-links__item .shopping-cart:after {
        content: unset;
    }

    .header-links__item .sub-block {
        -webkit-box-shadow: none;
        box-shadow: none;
        overflow: auto;
        padding: 15px 18px;
        height: calc(100vh - 56px);
        position: fixed;
        top: 46px;
        right: 0;
        bottom: 0;
        left: 0;
        background: #fff;
        border-top: #008DEE solid 2px;
        border-radius: unset;
    }

    .header-links {
        display: flex;
        justify-content: flex-end;
    }

    .header-links__item.mob-search-ic {
        display: block;
        margin-left: 0px;
    }

    .header-form, .mob-search-ic .dropdown-toggle {
        height: 40px;
    }

    .header-form {
        margin-left: 32px;
    }

    .nir-search.search__button:before {
        color: #000000;
    }

    .header-links__item.header-feedback {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-left: 15px;
        background: #FFFFFF;
    }

    .header-links__item.header-basket {
        width: 48px;
    }

    .basket-box-header {
        display: flex;
        justify-content: space-between;
        margin-bottom: 24px;
    }

    .basket-box-title {
        font-weight: 500;
        font-size: 14px;
        line-height: 16px;
        letter-spacing: 0.75px;
        text-transform: uppercase;
        color: #263238;
    }

    .basket-box-close {
        height: 32px;
        width: 32px;
        display: flex;
        justify-content: center;
        align-items: center;
        position: absolute;
        right: 10px;
        top: 8px;
    }

    .basket-box-close:before {
        content: '\e96a';
        font-family: nir-icons;
        font-size: 16px;
    }

    .sub-block-profile .basket-list {
        width: 100%;
    }

    .sub-block-profile .basket-list a {
        font-weight: 500;
        font-size: 14px;
        line-height: 16px;
        letter-spacing: 0.75px;
        text-transform: uppercase;
        background: #fff;
        color: #008DEE;
        border: 1px solid #B3E5FC;
        box-sizing: content-box;
        border-radius: 80px;
        height: 48px;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 40px;
    }

    .sub-block-profile .basket-list a:before {
        font-size: 24px;
    }

    .sub-block-profile .basket-list a.nir-callback {
        background-color: #008DEE;
        border-color: #008DEE;
        color: #fff;
    }

    .nir-cross.basket-box-close-alt {
        display: none;
    }

    .header-links__item.header-feedback .header-links-info {
        left: -144px;
        top: 51px;
        padding: 8px
    }

    .header-links__item.header-feedback .header-links-info:before {
        left: 157px;
    }

    .header-links__item.header-feedback .nir-cross {
        z-index: 99970;
    }
}

@media (max-width: 374px) {
    .header-links {
        margin-left: 16px;
    }
}

@media (max-width: 330px) {
    .header-links {
        margin-left: 16px;
    }
}

@media (max-width: 320px) {
    .header-links {
        width: calc(100% - 104px);
        margin-left: 32px;
    }
}
