/*основные цвета - начало*/

:root{
    --colorSWhite: #ffffff;
    --colorSDark: #475467;
    --colorSAccent: #1570EF;
    --colorSGray: #A9BAC1;
    --colorSGray100: #98a2b3;
    --colorSGray200: #A1AEBF;
    --colorSMain: #263238;
    --colorSGrayDark: #40576D;
    --colorSBlueBg: #F6FAFD;
    --colorSGrayLight: #F2F4F7;
    --colorSGrayLine: #E4E7EC;
    --colorSGrayLightBg: #F9FAFB;
    --colorSBlueText: #F5FAFF;
}

/*основные цвета - конец*/

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type='number'],
input[type="number"]:hover,
input[type="number"]:focus {
    appearance: none;
    -moz-appearance: textfield;
}

.sm-search > div{
    color: var(--colorSMain);
}

.sm-d-flex-center{
    display: flex;
    align-items: center;
    justify-content: center;
}

.sm-d-flex{
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.sm-search{
    width: 100%;
    max-height: Calc(100% - 48px);
    max-width: 100%;
    z-index: 1002;
    top: -100%;
    left: 0;
    position: fixed;
    background: var(--colorSWhite);
    padding: 24px 0;
    box-shadow: 0 8px 24px -12px #1849A93D;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    -webkit-transform: translateY(-100%);
    -moz-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    -o-transform: translateY(-100%);
    transform: translateY(-100%);
    overflow-y: scroll;
    overflow-x: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
    border-radius: 0 0 12px 12px;
}

.sm-search.full{
    border-radius: 0;
}

.sm-search.active{
    top: 0;
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
}

.sm-search::-webkit-scrollbar{
    width: 0;
    height: 0;
    display: none;
}

.sm-search.full{
    max-height: 100vh;
}

.sm-search.full .sm-search-content-null,
.sm-search.null .sm-search-content-full{
    display: none;
}

.sm-search-wrap{
    /*width: Calc(100% - 16px);
    max-width: 1200px;
    padding-left: 8px;
    padding-right: 8px;
    margin: 0 auto;*/
}

.full .sm-search-wrap{
    /*max-width: 1288px;*/
    height: Calc(100vh - 48px);
    overflow: hidden;
}

.full .sm-search-product .image{
    min-height: 176px;
    aspect-ratio: 1 / 0.8;
}

.sm-search-head{
    /*width: 100%;*/
    justify-content: flex-start;
    gap: 8px;


    width: Calc(100% - 16px);
    max-width: 1200px;
    padding-left: 8px;
    padding-right: 8px;
    margin: 0 auto;
}

.sm-search-close{
    width: 106px;
    height: 40px;
    font-size: 14px;
    font-weight: 500;
    line-height: 15px;
    color: var(--colorSDark);
    cursor: pointer;
}

.sm-search-form{
    width: Calc(100% - 114px);
    justify-content: flex-start;
    gap: 20px;
}

.sm-search-form button{
    width: 90px;
    height: 40px;
    border: none;
    border-radius: 80px;
    background: var(--colorSAccent);
    font-size: 14px;
    font-weight: 500;
    line-height: 15px;
    color: var(--colorSBlueText);
}

.sm-search-form-input{
    width: Calc(100% - 110px);
    height: 40px;
    border: 1px solid var(--colorSGray);
    border-radius: 40px;
    position: relative;
}

.sm-search-form-input input{
    width: 100%;
    height: 100%;
    font-size: 14px;
    font-weight: 400;
    line-height: 15px;
    border: none;
    border-radius: 40px;
    padding: 0 24px 0 64px;
}

.sm-search-form-input i{
    width: 24px;
    height: 24px;
    position: absolute;
    top: 7px;
    left: 23px;
}

.sm-search-form-input i:before{
    font-size: 24px;
    color: #3F4A56;
}

.sm-search-content{
  /*  width: 100%;
    margin-top: 24px;*/
    display: none;
    width: Calc(100% - 16px);
    max-width: 1200px;
    height: auto;
    padding-left: 8px;
    padding-right: 8px;
    margin: 24px auto 0;
}

.sm-search-content.active{
    display: block;
}

.full .sm-search-content:not(#sm-search-1){
    height: Calc(100vh - 112px);
}

.full .sm-search-content,
.full .sm-search-head{
    max-width: 1288px;
}

.full .sm-search-content.mCustomScrollbar{
    width: Calc(100% + 8px);
}

.full .sm-search-content .mCSB_inside>.mCSB_container{
    width: Calc(100% - 8px);
}

.full .mCSB_scrollTools:not(.mCSB_scrollTools_horizontal){
    width: 6px;
}

.full .mCSB_scrollTools .mCSB_dragger{
    left: 0;
    background: var(--colorSAccent);
}

.full .mCSB_scrollTools:not(.mCSB_scrollTools_horizontal) .mCSB_dragger{
    width: 5px;
    left: 1px;
}

.full .mCSB_scrollTools .mCSB_draggerRail{
    background: var(--colorSGrayLight);
}

.sm-search-content-wrap{
    width: 100%;
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: repeat(2, auto);
    gap: 24px;
    position: relative;
}

.sm-search-categories{
    width: 248px;
    /*margin-top: 20px;*/
}

.sm-search-products{
    width: 100%;
    height: 100%;
    position: relative;
}

.sm-search-category{
    width: 100%;
    position: relative;
    margin-bottom: 32px;
}

.sm-search-category:last-child{
    margin-bottom: 0;
}

.sm-search-subtitle{
    width: 100%;
    font-size: 14px;
    font-weight: 500;
    line-height: 16px;
    color: #1d2939;
}

.sm-search-subtitle.history{
    width: Calc(100% - 64px);
}

.sm-search-category-items{
    width: 100%;
    margin-top: 16px;
}

.sm-search-del-btn{
    width: 54px;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    text-align: right;
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 0;
    color: var(--colorSGray100);
}

.sm-search-category-item{
    width: 100%;
    justify-content: flex-start;
    margin-bottom: 24px;
    position: relative;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.sm-search-category-item:last-child{
    margin-bottom: 0;
}

.sm-search-category-item i{
    width: 16px;
    height: 16px;
    position: absolute;
    left: 0;
    top: 0;
}

.sm-search-category-item i:before{
    font-size: 16px;
    color: var(--colorSGray100);
}

.sm-search-category-item span{
    font-size: 14px;
    line-height: 18px;
}

.sm-search-category-item span:not(.main){
    width: 100%;
    display: block;
    font-weight: 400;
    color: #667085;
    padding-left: 24px;
}

.sm-search-category-item span.main{
    font-weight: 500;
    color: var(--colorSDark);
}

.sm-search-category-item:hover span{
    color: var(--colorSAccent);
}

.sm-search-products-wrap{
    width: 100%;
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: repeat(5, Calc((100% - 32px)/5));
    gap: 8px;
    margin-top: 8px;
    padding-bottom: 64px;
}

.sm-search-product:nth-child(n + 6){
    display: none;
}

.full .sm-search-product:nth-child(n + 6){
    display: block;
}

.sm-search-product .image {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
}

.sm-search-product .image a{
    width: 100%;
    height: 100%;
}

.sm-search-product-detail{
    width: 100%;
    padding: 0 8px;
    margin-top: 4px;
    display: flex;
    flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    gap: 12px 0;
}

.sm-search-product-detail .number{
    width: 100%;
    font-size: 12px;
    font-weight: 500;
    line-height: 14px;
    color: var(--colorSGray);
}

.sm-search-product-detail .name{
    width: 100%;
    font-size: 16px;
    font-weight: 400;
    line-height: 20px;
    color: var(--colorSGrayDark);
    overflow: hidden;
}

.sm-search-product-detail .name a{
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--colorSGrayDark);
}

.sm-search-product-detail .price{
    width: 100%;
    gap: 8px;
    justify-content: flex-start;
    flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
}

.sm-search-product-detail .price .new{
    width: auto;
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
    color: #182B48;
    white-space: nowrap;
}

.sm-search-product-detail .price .old{
    width: auto;
    font-size: 12px;
    font-weight: 500;
    line-height: 12px;
    color: var(--colorSGray100);
    text-decoration: line-through;
    white-space: nowrap;
}

.sm-search .search-show-all{
    width: 220px;
    height: 32px;
    position: absolute;
    bottom: 0;
    left: 50%;
    background: #EAECF5;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    line-height: 17px;
    color: #3E4784;
    cursor: pointer;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
}

.sm-search-title{
    width: 100%;
    justify-content: flex-start;
    margin-bottom: 16px;
    font-size: 24px;
    font-weight: 400;
    line-height: 32px;
    gap: 16px;
}

.sm-search-title .desc{
    width: fit-content;
    width: -moz-fit-content;
    font-size: 12px;
    font-weight: 400;
    line-height: 14px;
    color: var(--colorSGray200);
}

.sm-search.null .sm-search-title .desc{
    display: none;
}

.sm-search-sections{
    width: 100%;
    background: var(--colorSGrayLightBg);
    padding: 16px 24px;
    margin-bottom: 40px;
}

.sm-search-sections-title{
    width: 100%;
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: 500;
    line-height: 24px;
    color: var(--colorSGrayDark);
}

.sm-search-sections .mCSB_container{
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    gap: 8px;
}

.sm-search-section{
    width: fit-content;
    width: -moz-fit-content;
    padding: 10px 8px;
    background: var(--colorSWhite);
    border: 1px solid #EEF4FF;
    border-radius: 4px;
    gap: 8px;
}

.sm-search-section span{
    width: auto;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    color: var(--colorSDark);
}

.sm-search-section span.count{
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    color: #EFF3FE;
    padding: 3px 5px;
    background: #276EF1;
    border-radius: 16px;
}

.sm-search-list{
    width: 100%;
    gap: 16px;
}

.sm-search-filter{
    width: 372px;
}

.sm-search-list-content{
    width: Calc(100% - 388px);
}

.sm-search-list-products{
    display: grid;
    gap: 4px;
    grid-template-rows: auto;
    grid-template-columns: repeat(auto-fit, minmax(176px, 1fr));
}

.sm-search-list-row{
    align-items: baseline;
    justify-content: space-between;
}

.sm-search-sort{
    width: 350px;
    padding: 8px;
    gap: 4px;
}

.sm-search-sort-title{
    width: 99px;
    font-size: 12px;
    font-weight: 400;
    line-height: 14px;
    letter-spacing: 0.4px;
    color: #78909C;
}

.sm-search-sort-block{
    width: Calc(100% - 103px);
    height: 40px;
    position: relative;
    z-index: 13;
}

.sm-search-sort-list{
    width: 100%;
    position: absolute;
    background: var(--colorSWhite);
    z-index: 15;
}

.sm-search-sort-list.active{
    box-shadow: 0 4px 4px 2px rgb(113 128 151 / 16%);
    border-radius: 4px;
}

.sm-search-sort-list ul{
    margin: 0;
}

.sm-search-sort-list li{
    justify-content: space-between;
    gap: 10px;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.sm-search-sort-list li.active{
    color: var(--colorSAccent);
}

.sm-search-sort-list li:not(.title){
    display: none;
    list-style: none;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -moz-user-select: none;
    -khtml-user-select: none;
    user-select: none;
}

.sm-search-sort-list.active li:not(.title){
    display: flex;
    height: 40px;
    background: var(--colorSWhite);
    margin: 0 8px 16px;
    cursor: pointer;
}

.sm-search-sort-list.active li:last-child{
    margin: 0 8px 8px;
}

.sm-search-sort-list li:not(.title):hover{
    color: var(--colorSAccent);
    background: #EBF8FF;
}

.sm-search-sort-list li.title{
    width: auto;
    height: 40px;
    list-style: none;
    background: var(--colorSBlueBg);
    border-radius: 4px;
    padding: 8px 24px;
    cursor: pointer;
    -moz-user-select: none;
    -khtml-user-select: none;
    user-select: none;
    margin-bottom: 8px;
}

.sm-search-sort-list li i{
    width: 24px;
    height: 24px;
    position: relative;
}

.sm-search-sort-list li i:before{
    max-width: 100%;
}

.sm-search-sort-list li:not(.title) i{
    margin-left: 16px;
}

.sm-search-sort-list li span{
    width: Calc(100% - 34px);
    cursor: inherit;
    font-size: 14px;
    line-height: 20px;
    letter-spacing: 0.15px;
    color: #2A4365;
}

.sm-search-sort-list li:not(.title):hover span,
.sm-search-sort-list li.active span{
    color: var(--colorSAccent);
}

.sm-search-sort-list li:not(.title) span{
    width: Calc(100% - 50px);
}

.sm-search-tags{
    width: Calc(100% - 366px);
}

.sm-search-tag{
    width: fit-content;
    width: -moz-fit-content;
}

.sm-search-tag span{
    width: 100%;
    height: 34px;
    border-radius: 8px;
    text-wrap: unset;
    overflow: hidden;
    border: 1px solid var(--colorSGrayLine);
    padding: 0 20px;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    color: var(--colorSDark);
}

.sm-search-tags .mCSB_container{
    display: flex;
    gap: 8px;
}

.snova-scroll-hor .mCSB_scrollTools.mCSB_scrollTools_horizontal{
    height: 5px;
}

.snova-scroll-hor .mCSB_horizontal.mCSB_inside>.mCSB_container{
    margin-bottom: 20px;
}

.snova-scroll-hor .mCSB_scrollTools .mCSB_dragger,
.snova-scroll-hor .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{
    height: 5px;
    margin: 0;
    border-radius: 16px;
    background: var(--colorSAccent);
    top: 0;
}

.snova-scroll-hor .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{
    margin: 0;
}

.snova-scroll-hor .mCSB_scrollTools .mCSB_draggerRail{
    margin: 1.5px 0;
    background: var(--colorSGrayLight);
    border-radius: 16px;
    line-height: 1;
}

/*фильтр - начало*/

.sm-filter-header-mob{
    width: 100%;
    display: none;
    justify-content: space-between;
    margin-bottom: 24px;
}

.sm-filter-header-mob i{
    width: 40px;
    height: 40px;
}

.sm-filter-header-mob i:before{
    font-size: 14px;
    color: var(--colorSGray100);
}

.sm-filter-header-mob .title{
    width: auto;
    max-width: Calc(100% - 50px);
    font-size: 20px;
    font-weight: 500;
    line-height: 24px;
    color: #000;
}

.sm-filter-row{
    padding: 16px 16px 16px 40px;
    background: var(--colorSBlueBg);
    border-radius: 4px;
}

.sm-filter-row span{
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 0.5px;
    color: var(--colorSGrayDark);
}

.sm-filter-props{
    padding: 16px;
}

.sm-filter-price-bar-inputs{
    gap: 40px;
}

.sm-filter-price-bar-inputs > div{
    width: 50%;
    height: 40px;
    position: relative;
}

.sm-filter-price-bar-inputs input{
    width: 100%;
    height: 100%;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0.15px;
    color: #2E3748;
    border: 1px solid #E5E5E5;
    border-radius: 4px;
    padding: 12px 16px 12px 36px;
}

.sm-filter-price-bar-inputs > div:before{
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    letter-spacing: 0.15px;
    color: var(--colorSGray200);
    position: absolute;
    left: 16px;
    top: 11px;
}

.sm-filter-price-bar-inputs .from:before{
    content: 'от';
}
.sm-filter-price-bar-inputs .before:before{
    content: 'до';
}

.noUi-target{
    margin-top: 16px;
    background: var(--colorSGrayLight);
    border: none;
    box-shadow: none;
}

.noUi-connect{
    background: var(--colorSAccent);
}

.noUi-horizontal{
    height: 2px;
}

.noUi-horizontal .noUi-handle{
    width: 16px;
    height: 16px;
    border: 2px solid var(--colorSWhite);
    box-shadow: none;
    background: var(--colorSAccent);
    border-radius: 100%;
    right: -16px;
    top: -7px;
    cursor: pointer;
}

.noUi-handle:after,
.noUi-handle:before {
    content: none;
}

.noUi-horizontal .noUi-handle.noUi-handle-upper{
    right: 0;
}

.sm-filter-props-search{
    width: 100%;
    position: relative;
    margin-bottom: 16px;
}

.sm-filter-props-search input{
    width: 100%;
    height: 40px;
    border-radius: 4px;
    background: #FCFCFD;
    padding: 8px 48px 8px 24px;
    border: 1px solid var(--colorSGrayLine);
}

.sm-filter-props-search input::-webkit-input-placeholder{
    color:#96999C;
}
.sm-filter-props-search input::-moz-placeholder{
    color:#96999C;
}
.sm-filter-props-search input:-moz-placeholder{
    color:#96999C;
}
.sm-filter-props-search input:-ms-input-placeholder{
    color:#96999C;
}

.sm-filter-props-search i{
    width: 24px;
    height: 24px;
    position: absolute;
    top: 8px;
    right: 16px;
}

.sm-filter-props-search i:before{
    font-size: 20px;
    color: #5C7282;
}

.sm-filter-props ul{
    margin-bottom: 0;
}

.sm-filter-prop{
    width: 100%;
    justify-content: flex-start;
    padding: 9px 4px;
}

.sm-filter-prop:first-child{
    padding-top: 4px;
}

.sm-filter-prop:last-child{
    padding-bottom: 4px;
}

.sm-input-checkbox{
    width: 16px;
    height: 16px;
    display: block;
    position: absolute;
    cursor: pointer;
    z-index: -1;
    opacity: 0;
    margin: 0 !important;
}

.sm-label-checkbox{
    font-size: 14px;
    font-weight: 400;
    line-height: 17px;
    cursor: pointer;
    position: relative;
    color: var(--colorSGrayDark);
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.sm-input-checkbox + .sm-label-checkbox:before{
    content: '';
    width: 16px;
    height: 16px;
    display: block;
    background: var(--colorSWhite);
    border: 2px solid var(--colorSGray);
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
}

.sm-input-checkbox + .sm-label-checkbox:after{
    content: '\e973';
    font-family: 'nir-icons';
    width: 16px;
    height: 16px;
    font-size: 13px;
    line-height: 1;
    display: none;
    color: var(--colorSWhite);
    position: absolute;
    left: 2px;
    top: 0;
    z-index: 1;
}

.sm-filter-prop:hover .sm-label-checkbox,
.sm-input-checkbox:checked + .sm-label-checkbox{
    color: var(--colorSAccent);
}

.sm-input-checkbox:checked + .sm-label-checkbox:before{
    background: var(--colorSAccent);
    border: 2px solid var(--colorSAccent);
}

.sm-input-checkbox:checked + .sm-label-checkbox:after{
    display: block;
}

.sm-filter-prop:hover .sm-label-checkbox:before{
    border: 2px solid var(--colorSAccent);
}

.sm-label-checkbox span{
    padding-left: 24px;
}

.sm-filter-apply-btn{
    width: 285px;
    height: 48px;
    margin: 0 auto;
    border: none;
    background: #3E4784;
    border-radius: 4px;
    color: #F8F9FC;
}

.sm-filter-apply-btn i{
    width: 24px;
    height: 24px;
    margin-right: 8px;
}

.sm-filter-apply-btn i:before{
    font-size: 20px;
}

.sm-filter-apply-btn span{
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
}

.sm-filter-desc{
    width: auto;
    font-size: 12px;
    font-weight: 400;
    line-height: 14px;
    margin-top: 14px;
    text-align: center;
    color: var(--colorSGray200);
}


/*фильтр - конец*/

/*пустая страница - начало*/

.sm-search-content-null{
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: repeat(2, auto);
    gap: 0 40px;
}

.sm-search-content-null > div{
    padding: 40px;
    align-content: center;
    border-radius: 12px;
    background: var(--colorSGrayLightBg);
}

.sm-search-content-null img{
    width: auto;
    max-width: 384px;
}

.sm-search-content-null-desc{
    font-size: 18px;
    line-height: 28px;
    color: var(--colorSGrayDark);
}

.sm-search-content-null-desc a{
    color: var(--colorSAccent);
}

.sm-search-content-null-btns{
    width: 100%;
    justify-content: flex-start;
    margin-top: 40px;
    gap: 24px;
}

.sm-search-content-null-btn{
    height: 40px;
}

.sm-search-content-null-btn a{
    width: auto;
    height: 100%;
    padding: 0 32px;
    border-radius: 4px;
    gap: 8px;
    color: var(--colorSAccent);
}

.sm-search-content-null-btn.catalog a{
    background: var(--colorSAccent);
    color: var(--colorSBlueText);
}

.sm-search-content-null-btn i{
    width: 24px;
    height: 24px;
}

.sm-search-content-null-btn i:before{
    font-size: 20px;
    width: auto;
    height: auto;
}

.sm-search-content-null-btn.catalog i:before{
    color: var(--colorSBlueText);
}

.sm-search-content-null-btn span{
    display: block;
    font-size: 16px;
    font-weight: 500;
    line-height: 19px;
}

/*пустая страница - конец*/

@media (max-width: 1199px){

    .sm-search-products-wrap{
        grid-template-columns: repeat(4, Calc((100% - 24px)/4));
    }

    .sm-search-product:nth-child(n + 5){
        display: none;
    }
}

@media (max-width: 1024px){

    /*пустая страница - начало*/

    .sm-search-content-null{
        gap: 0;
    }

    /*пустая страница - конец*/
}

@media (max-width: 1024px) and (min-width: 992px){

    .sm-search-categories{
        width: 200px;
    }
}

@media (max-width: 991px){

    .sm-search-products-wrap{
        grid-template-columns: repeat(3, Calc((100% - 16px)/3));
    }

    .sm-search-product:nth-child(n + 4){
        display: none;
    }

    /*пустая страница - начало*/

    .sm-search-content-null > div{
        padding: 40px 24px;
    }

    .sm-search-content-null-btn a{
        padding: 0 20px;
    }

    /*пустая страница - конец*/
}

@media (max-width: 840px){

    .sm-search-products-wrap{
        grid-template-columns: repeat(2, Calc((100% - 16px)/2));
    }

    .sm-search-product:nth-child(n + 3){
        display: none;
    }

    /*пустая страница - начало*/

    .sm-search-content-null{
        grid-template-columns: unset;
    }

    .sm-search-content-null img{
        margin: 0 auto;
    }

    /*пустая страница - конец*/
}

@media (max-width: 767px){

    .sm-search{
        height: 100%;
        max-height: 100%;
        overflow-y: clip;
    }

    .sm-search-wrap{
        height: Calc(100vh - 48px);
    }

    .sm-search-head{
        width: 100%;
        position: fixed;
        top: 23px;
        background: var(--colorSWhite);
        z-index: 2;
        padding-bottom: 8px;
    }

    .sm-search-content{
        width: 100%;
        height: 100%;
        max-width: 100%;
        margin-top: 0;
        padding-top: 72px;
        overflow-y: scroll;
    }

    .sm-search-content-wrap{
        gap: 40px;
        grid-template-columns: auto;
    }

    .sm-search-categories,
    .sm-search-products{
        width: 100%;
    }

    .sm-search-categories{
        margin-top: 0;
    }

    .sm-search-product:nth-child(n + 3){
        display: block;
    }

    .sm-search-products-wrap{
        padding-bottom: 0;
        grid-template-columns: repeat(auto-fit, minmax(176px, 0.3fr));
    }

    .sm-search-close{
        width: 40px;
        height: 40px;
        font-size: 0;
        position: relative;
    }

    .sm-search-close:before{
        content: '\e96a';
        font-family: 'nir-icons';
        font-size: 14px;
        line-height: 1;
        color: var(--colorSGray100);
    }

    .sm-search-form{
        width: Calc(100% - 48px);
    }

    .sm-search .search-show-all{
        position: relative;
        bottom: unset;
        margin-top: 28px;
    }

    .sm-search-category{
        margin-bottom: 40px;
    }

    .sm-search-title{
        margin-bottom: 20px;
        font-size: 22px;
        line-height: 30px;
    }

    /*пустая страница - начало*/

    .sm-search-content-null > div{
        width: Calc(100% + 16px);
        margin: 0 -8px;
        overflow: hidden;
    }

    .sm-search-content-null-btns{
        flex-direction: row-reverse;
        justify-content: flex-end;
    }

    .sm-search-content-null img{
        max-width: 100%;
    }

    /*пустая страница - конец*/
}

@media (max-width: 743px){

    .sm-search-products-wrap{
        grid-template-columns: repeat(auto-fit, minmax(176px, 0.4fr));
    }
}

@media (max-width: 568px){

    .sm-search-products-wrap{
        gap: 12px 4px;
    }

    .sm-search-form{
        gap: 8px;
    }

    .sm-search-form-input{
        width: Calc(100% - 98px);
    }

    .sm-search-form-input i{
        left: 16px;
    }

    .sm-search-form-input input{
        padding: 0 24px 0 56px;
    }

    .sm-search-subtitle{
        font-size: 16px;
        line-height: 20px;
    }

    .sm-search-category-item span{
        font-size: 16px;
        line-height: 20px;
    }

    .sm-search-products-wrap{
        margin-top: 24px;
        grid-template-columns: repeat(2, Calc((100% - 4px)/2));
    }

    .sm-search-title{
        margin-bottom: 24px;
        font-size: 20px;
        line-height: 28px;
    }

    /*пустая страница - начало*/

    .sm-search-content-null-btns{
        margin-top: 24px;
        gap: 17px;
    }

    .sm-search-content-null-btn{
        height: 48px;
    }

    /*пустая страница - конец*/
}