body.ss-disabled {
    overflow: hidden;
}
.smart-search-wrap {
    position: fixed;
    left: 50%;
    width: 100%;
    transform: translateX(-50%);
    top: -200px;
    z-index: -10;
    max-width: 900px;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: #FFFFFF;
    border: 1px solid #000;
    font-weight: 500;
    font-size: 14px;
    max-height: calc(100% - 140px);
    -webkit-transition: top .2s;
    -moz-transition: top .2s;
    -ms-transition: top .2s;
    -o-transition: top .2s;
    transition: top .2s;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}
.smart-search-wrap.active {
    top: 138px;
    z-index: 999888;
}
.smart-search-close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    color: #000;
    -webkit-transition: .2s;
    -moz-transition: .2s;
    -ms-transition: .2s;
    -o-transition: .2s;
    transition: .2s;
    font-size: 16px;
}
body:not(.touchable) .smart-search-close:hover {
    color: var(--main-color);
}
.smart-search-top-panel {

    padding: 30px;
    border-bottom: 1px solid #dbdbdb;
}
.search-res-wrap form,
.search-page form {
    margin-top: 20px;
    width: 100%;
    position: relative;
    display: none;
}
.smart-search-form {
    position: relative;
    width: 100%;
    display: none;
}
.search-page form {
    display: block;
}
.smart-search-form input {
    display: block;
    width: calc(100% - 80px);
    height: 38px;
    padding: 0 27px 0 44px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border: 1px solid #bdbdbd;
    border-radius: 3px;
    padding-left: 15px;
    padding-right: 32px;
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: var(--second-color);
}
.smart-search-form input::-webkit-input-placeholder {color:#bdbdbd; font-weight: 400;}
.smart-search-form input::-moz-placeholder          {color:#bdbdbd; font-weight: 400;}
.smart-search-form input:-moz-placeholder           {color:#bdbdbd; font-weight: 400;}
.smart-search-form input:-ms-input-placeholder      {color:#bdbdbd; font-weight: 400;}
.search-res-wrap form .icon-search,
.search-page form .icon-search {
    position: absolute;
    left: 13px;
    top: 8px;
    font-size: 22px;
    color: #bdbdbd;
}
.smart-search-form .icon-close {
    position: absolute;
    top: 0;
    right: 85px;
    width: 38px;
    height: 100%;
    color: #bdbdbd;
    cursor: pointer;
    -webkit-transition: .2s;
    -moz-transition: .2s;
    -ms-transition: .2s;
    -o-transition: .2s;
    transition: .2s;
    font-size: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}
body:not(.touchable) .smart-search-form .icon-close:hover {
    color: #000;
}
.smart-search-btn {
    width: 85px;
    height: 38px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border: 1px solid var(--main-color);
    background-color: var(--main-color);
    color: #fff;
    margin-left: -5px;
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-transition: .2s;
    -moz-transition: .2s;
    -ms-transition: .2s;
    -o-transition: .2s;
    transition: .2s;
    cursor: pointer;
}
.smart-search-btn i {
    font-size: 24px;
}
body:not(.touchable) .smart-search-btn:hover {
    background-color: #fff;
    color: var(--main-color);
}
.smart-search-result-short {
    position: absolute;
    top: 20px;
    left: 50px;
    font-size: 14px;
    font-weight: 600;
    color: #a9a9a9;
    justify-content: space-between;
    align-items: center;
    width: calc(100% - 100px);
    display: none;
}
.smart-search-result-short-link {
    color: #000;
    -webkit-transition: .2s;
    -moz-transition: .2s;
    -ms-transition: .2s;
    -o-transition: .2s;
    transition: .2s;
    cursor: pointer;
    display: none;
}
.smart-search-result-short-link i {
    font-size: 12px;
    margin-left: 5px;
}
body:not(.touchable) .smart-search-result-short-link:hover {
    color: var(--main-color);
}
.smart-search-bottom-panel {
    padding: 20px 50px 50px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    height: calc(100% - 138px);
    max-height: calc(100% - 138px);
    overflow: hidden;
    display: none;
    width: 100%;
}
.smart-search-wait {
    text-align: center;
    display: none;
}
.smart-search-no-results {
    color: var(--second-color);
    text-align: center;
    display: none;
    font-size: 14px;
    font-weight: 600;
}
.smart-search-results {
    width: 100%;
}
.smart-search-short-res {
    height: 100%;
    max-height: 100%;
    overflow: hidden;
    width: 100%;
}
.smart-search-res-table {
    height: 100%;
    /*max-height: calc(100vh - 440px);*/
    max-height: calc(100vh - 494px);
    /*width: 100% !important;*/
    /*max-height: 420px;*/
    overflow: hidden;
}
.smart-search-res-table .jspContainer {
    width: 100% !important;
}
.smart-search-res-table .jspPane {
    width: 100% !important;
}

.smart-search-res-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 800px;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 10px 30px;
    border-bottom: 1px dotted #a9a9a9;
    position: relative;
}
.smart-search-res-item .prod-prev-mess {
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    bottom: auto;
    max-width: 300px;
}
.smart-search-res-item .prod-prev-mess.show {
    margin-bottom: 0;
}
.smart-search-res-item:first-child {
    padding-top: 0;
}
.smart-search-res-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.smart-searh-res-img {
    width: 80px;
    height: 80px;
    background-color: #4e4e4e;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    position: relative;
    -webkit-transition: .2s;
    -moz-transition: .2s;
    -ms-transition: .2s;
    -o-transition: .2s;
    transition: .2s;
    flex-shrink: 0;
    margin-right: 20px;
}
.smart-searh-res-img img {
    width: 100%;
    max-width: 100%;
}
.smart-search-res-add {
    -webkit-transition: .2s;
    -moz-transition: .2s;
    -ms-transition: .2s;
    -o-transition: .2s;
    transition: .2s;
    cursor: pointer;
    color: #bdbdbd;
}
.smart-search-res-add i {
    font-size: 32px;
}
body:not(.touchable) .smart-search-res-add:hover {
    color: var(--main-color);
}
.smart-search-res-add.active {
    color: var(--main-color);
}
.smart-search-res-add.inactive {
    opacity: .2;
    pointer-events: none;
}
.ss-icons-wrap .no-sale {
    text-align: right;
}
.smart-search-res-info {
    width: calc(100% - 170px);
    position: relative;
}
.smart-serch-res-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}
.smart-search-res-name {
    font-weight: 600;
    margin-bottom: 10px;
    -webkit-transition: .2s;
    -moz-transition: .2s;
    -ms-transition: .2s;
    -o-transition: .2s;
    transition: .2s;
}
.smart-search-res-price {
    font-size: 20px;
    margin-bottom: 0;
    color: var(--main-color);
}
.smart-search-res-btn {
    width: 100%;
    height: 38px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: .2s;
    -moz-transition: .2s;
    -ms-transition: .2s;
    -o-transition: .2s;
    transition: .2s;
    border: 1px solid var(--main-color);
    background-color: var(--main-color);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 50px auto 0;
}
body:not(.touchable) .smart-search-res-btn:hover {
    background-color: #fff;
    color: var(--main-color);
}
body:not(.touchable) .smart-search-res-item:hover .smart-searh-res-img {
    background-color: #3b3b3b;
}
body:not(.touchable) .smart-search-res-item:hover .smart-search-res-name {
    color: var(--main-color);
}
.ss-icons-wrap {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}
.smart-search-res-fav {
    font-size: 25px;
    margin-bottom: 20px;
    -webkit-transition: .2s;
    -moz-transition: .2s;
    -ms-transition: .2s;
    -o-transition: .2s;
    transition: .2s;
    cursor: pointer;
}
body:not(.touchable) .smart-search-res-fav:hover {
    color: #E6C485;
}
.smart-search-res-fav.active {
    color: #E6C485;
}
.smart-search-res-fav.active:before {
    content: '\e93b';
}
.search-res-wrap form input,
.search-page form input {
    border: 1px solid #bdbdbd;
    border-radius: 3px;
    padding-left: 44px;
    padding-right: 27px;
    width: 100%;
    height: 38px;
    font-family: "Open Sans", sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: var(--second-color);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.search-res-wrap form input::-webkit-input-placeholder,
.search-page form input::-webkit-input-placeholder {
    color: #bdbdbd;
    font-weight: 400;
}
.search-res-wrap form input::-moz-placeholder,
.search-page form input::-moz-placeholder {
    color: #bdbdbd;
    font-weight: 400;
}
.search-res-wrap form input:-moz-placeholder,
.search-page form input:-moz-placeholder {
    color: #bdbdbd;
    font-weight: 400;
}
.search-res-wrap form input:-ms-input-placeholder,
.search-page form input:-ms-input-placeholder {
    color: #bdbdbd;
    font-weight: 400;
}
.search-wait {
    position: absolute;
    left: 6px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    display: none;
}
.search-reset {
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    right: 0;
    width: 22px;
    height: 38px;
    padding: 0 10px 0 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    border: none;
    background-color: transparent;
    margin: 0;
    font-size: 12px;
    line-height: 1;
    color: #a9a9a9;
    cursor: pointer;
    -webkit-transition: .2s;
    -moz-transition: .2s;
    -ms-transition: .2s;
    -o-transition: .2s;
    transition: .2s;
    display: none;
}
.search-res-wrap form .search-reset,
.search-page form .search-reset {
    display: block;
}
.search-mess {
    margin-top: 10px;
    background: rgba(145, 97, 118,.1);
    border: 1px solid var(--main-color);
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 600;
    color: var(--second-color);
    white-space: nowrap;
    padding: 10px 15px;
    display: none;
}
.search-page .search-res {
    padding-top: 0;
    position: relative;
}
.search-resSP-qty {
    font-size: 14px;
    font-weight: 600;
    margin-top: 10px;
    color: var(--second-color);
}
.col-prod-tab {
    display: none;
}
.search-tab-cont>div {
    display: flex;
    flex-wrap: wrap;
}
.col-prod-tab>div {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    width: 100%;
}
.smart-search-res-item .add-to-cart-prev-wrap {
    top: 70%;
    opacity: 0;
    padding: 0;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: -1;
}
.smart-search-res-item .add-to-cart-prev-wrap.active {
    top: 50%;
    opacity: 1;
    z-index: 10;
}
.smart-search-res-price .e-new-item-price-remark {
    display: block;
}
.ss-overlay {
    top: 148px;
}
.header-search-icon.close i:before {
    content: "\e941";
}
.header-search-icon.close i {
    font-size: 16px;
    z-index: 1;
}
.header-search-icon.close a {
    width: 29px;
    height: 29px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.header-search-icon.close a:before {
    position: absolute;
    content: '';
    display: block;
    left: -4px;
    top: -4px;
    background-color: #c4c4c4;
    width: 38px;
    height: 38px;
    color: #4e4e4e !important;
    border-radius: 50%;
}

/*@media screen and (min-width: 901px) {
    .smart-search-form {
        display: none;

        display: flex;
    }
    .smart-search-top-panel {
        padding: 30px;
        border-bottom: 1px solid #dbdbdb;

        padding: 50px;
    }
    .smart-search-result-short {
        top: 95px;
    }
}*/
@media screen and (max-width: 1500px) {
    .smart-search-result-short {
        left: 40px;
        width: calc(100% - 80px);
    }
    .smart-search-bottom-panel {
        padding: 20px 40px 40px;
        height: calc(100% - 120px);
        max-height: calc(100% - 120px);
    }
    .smart-search-res-item {
        max-width: 720px;
        padding: 10px 20px;
    }
    .smart-search-res-btn {
        height: 40px;
        margin-top: 40px;
    }
    .smart-search-res-price {
        font-size: 20px;
    }
    .smart-search-res-info {
        width: calc(100% - 150px);
    }
    .smart-search-res-table {
        max-height: calc(100vh - 390px);
    }
}
@media screen and (max-width: 1279px) {
    .smart-search-wrap.active {
        top: 110px;
    }
    .ss-overlay {
        top: 120px;
    }
}
@media screen and (max-width: 1150px) {
    .smart-search-wrap.active {
        top: 115px;
    }
}
@media screen and (max-height: 545px) and (min-width: 901px) {
    .smart-search-res-table {
        max-height: calc(100vh - 260px);
    }
    .smart-search-wrap {
        top: 0;
        max-height: 100%;
        height: 100%;
    }
}
@media screen and (max-width: 900px) {
    .header-search.close i {
        font-size: 18px;
        color: #000;
    }
    .header-search.close i:before {
        content: "\e941";
    }
    .smart-search-wrap {
        left: -100%;
        width: 100%;
        transform: none;
        top: 43px;
        max-width: 100%;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
        border: none;
        height: calc(100% - 43px);
        max-height: calc(100% - 43px);
        -webkit-transition: left .2s;
        -moz-transition: left .2s;
        -ms-transition: left .2s;
        -o-transition: left .2s;
        transition: left .2s;
    }
    .smart-search-wrap.active {
        top: 43px;
        left: 0;
    }
    .smart-search-form {
        display: flex;
    }
    .smart-search-top-panel {
        padding: 20px;
        border-bottom: none;
    }
    .smart-search-res-item {
        max-width: 100%;
        padding: 10px 20px 10px 0;
    }
    .smart-search-res-table {
        height: calc(100vh - 250px);
        max-height: calc(100vh - 250px);
    }
    .smart-search-close {
        display: none;
    }
    .smart-search-result-short {
        top: 65px;
        left: 20px;
        width: calc(100% - 40px);
    }
    .smart-search-bottom-panel {
        padding: 40px 20px 30px;
        height: calc(100% - 70px);
        max-height: calc(100% - 70px);
    }
    .smart-search-res-btn {
        margin-top: 30px;
    }
    .header-search-icon.close i {
        font-size: 12px;
    }
    .header-search-icon.close a {
        width: 24px;
        height: 25px;
    }
    .header-search-icon.close a:before {
        left: -3px;
        top: -3px;
        width: 30px;
        height: 30px;
    }
}
@media screen and (max-width: 700px) {
    .header-search.close i {
        font-size: 16px;
    }
}
@media screen and (max-width: 600px) {
    .smart-search-res-table {
        height: calc(100vh - 280px);
        max-height: calc(100vh - 280px);
    }
    .smart-search-result-short-link {
        display: none !important;
    }
    .smart-search-btn {
        width: 65px;
    }
    .smart-search-form input {
        width: calc(100% - 60px);
        padding-right: 65px;
    }
    .smart-search-form .icon-close {
        right: 65px;
    }
    .smart-search-result-short {
        top: 65px;
    }
    .smart-search-bottom-panel {
        padding-top: 25px;
        padding-bottom: 20px;
    }
    .smart-search-res-btn {
        margin-top: 20px;
    }
    .smart-search-res-info {
        width: calc(100% - 130px);
    }
}
@media screen and (max-width: 600px) and (-webkit-min-device-pixel-ratio:0) {
    .smart-search-res-table {
        height: calc(100vh - 280px);
        max-height: calc(100vh - 280px);
    }
    .smart-search-res-btn {
        margin-top: 15px;
    }
    .smart-search-bottom-panel {
        padding-top: 20px;
    }
}
@media screen and (max-width: 350px) {
    .smart-searh-res-img {
        width: 60px;
        height: 60px;
    }
    .smart-search-res-info {
        width: calc(100% - 110px);
    }
    .smart-search-res-name {
        margin-bottom: 5px;
    }
}