/*NOTE: This file is intended for programmers. Aspro technical support is not advised to work with him.*/

/* Examples (uncomment to use):*/

/* Expand site width */
/* body .wrapper { max-width: 1400px !important;  } */

/* Set site background image */
/* body {  background: url(image_source) top no-repeat; }

/* Hide compare button */
/* a.compare_item { display: none !important;  }*/

/* NEW SEARCH START */

/* header */

body{
    background: #f8f8f8;
}
.header__top-part, .header__top-inner {
    position: static;
}

.header__main-item.header__burger.menu-dropdown-offset {
    margin-right: auto;
}

/* search */
.static-search {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: auto;
    background-color: rgba(0, 0, 0, 0.32);
    margin: 0;
    opacity: 0;
    transform: translateY(50px);
    visibility: hidden;
    transition: all 0.3s;
}

.static-search._show {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.static-search .search-wrapper {
    padding: 40px var(--theme-page-width-padding);
    max-width: calc(var(--theme-page-width) + calc(2 * var(--theme-page-width-padding)));
    margin: 0 auto;
}

.header-icon-search {

    display: flex;
    align-items: center;
    flex-direction: column;
    cursor: pointer;
}

.header-icon-search:not(._active) .header-icon-search__close {
    display: none;
}


.header-icon-search._active .header-icon-search__open {
    display: none;
}

.header-icon-search__open {
    transform: translateY(2px);
}

.header-icon-search svg {
    height: 18x;
    width: 18px;
    flex: none;
    fill: var(--banner-light-text);
}

.line-block__item .header-icon-search:hover svg {
    fill: var(--fill_dark_lite_hover);
}

.line-block__item .header-icon-search:hover span {
    color: var(--fill_dark_lite_hover);
}


/* search fix */

.fix-search {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: auto;
    background: hsl(var(--dark_light-hue) var(--dark_light-saturation) var(--dark_light-lightness) / 80%);
    margin: 0;
    opacity: 0;
    transform: translateY(50px);
    visibility: hidden;
    transition: all 0.3s;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.fix-search > div {


}

.fix-search._show {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

.fix-search .search-wrapper {
    padding: 40px var(--theme-page-width-padding);
    max-width: calc(var(--theme-page-width) + calc(2 * var(--theme-page-width-padding)));
    margin: 0 auto;
}

/* NEW SEARCH END */

/* task 77056 */

.catalog-section-item .price__new .price__new-val {
    font-size: 14px;
}

.catalog-section-item .catalog-block__info-title a {
    font-size: 14px;
}

.catalog-section-item .catalog-block__offers .sku-props {
    display: block;
}

.catalog-section-item .sku-props__title {
    color: #c8c8c8;
}

.catalog-section-item .sku-props__value {
    cursor: pointer;
}

.catalog-section-item .sku-props__value.sku-props__value--pict:before {
    content: "";
    display: block;
    border-radius: var(--border-radius);
    position: absolute;
    inset: -4px;
    /*box-shadow: 0 0 0 1px var(--stroke_black) inset;*/
}

.catalog-section-item .sku-props__value--active.sku-props__value--pict:before {
    /*box-shadow: 0 0 0 1px var(--stroke_black) inset;*/
}

.catalog-section-item .line-block__item:hover > .sku-props__value.sku-props__value--pict:before {
    /*box-shadow: 0 0 0 1px var(--theme-base-color, #9e9e9e) inset;*/
}

.catalog-section-item .sku-props__value.sku-props__value--active:not(.sku-props__value--pict) {
    /*box-shadow: 0 0 0 1px var(--stroke_black) inset;*/
}

.catalog-section-item .line-block__item:hover > .sku-props__value:not(.sku-props__value--pict) {
    /*box-shadow: 0 0 0 1px var(--theme-base-color, #9e9e9e) inset;*/
}

.catalog-section-item .sku-props__value:not(.sku-props__value--pict) {
    font-size: 14px;
    border-width: 0;
}

.catalog-section-item .remaining {
    font-size: 14px;
    color: #000;
}

.catalog-section-item .item-action--compare {
    display: none;
}

/* / task 77056 */

.btn-fast-view {
    display: none !important;
}

/**** CATALOG START ****/

/* desktop start */

.lift_block-hide .left_block,.lift_block-hide .sticky-block{
    display: contents;
}

body._show-filter .headers-container{
    z-index: 100;
}

body._show-filter .main {
    z-index: initial;
}

body._show-filter{
    overflow: hidden;
}

.filter-wrap._show-filter{
    transform: translateX(0);
}

.filter-overlay._show-filter{
    opacity: 1;
    pointer-events: all;
    transition: opacity 0.1s 0s;
}

.filter-wrap {
    padding: 30px 20px;
    position: fixed;
    top: 0;
    height: 100vh;
    left: 0;
    background: #fff;
    z-index: 9999;
    transform: translateX(-100%);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    width: 380px;
}

.filter-overlay{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9998;
    background: #00000080;
    opacity: 0;
    user-select: none;
    pointer-events: none;
    transition: opacity 0.1s 0.3s;

}

.filter-head{
    position: relative;
    padding-top: 42px;
    padding-bottom: 34px;
    flex: none;
}

.filter-close{
    position: absolute;
    top: 0;
    right: 0;
    cursor: pointer;
    fill: #4B4B4B;
}

.filter-close:hover svg {
   fill: #2196E0;
}

.filter-head-title{
    font-weight: 600;
    font-size: 20px;
    line-height: 24px;
    color: #4B4B4B;
    padding-right: 70px;
}


.filter-body{
    overflow: hidden;
    overflow-y: auto;
    height: 100%;
}


.filter-body::-webkit-scrollbar, .filter-body .scrollbar::-webkit-scrollbar {
    width: 2px !important;
    background: #D0D5DD !important;
    border-radius: 4px;
}

.filter-body::-webkit-scrollbar{
    width: 4px !important;
}

.filter-body .scrollbar:not(.scroller) {
    scrollbar-width: auto !important;

}

.filter-body::-webkit-scrollbar-thumb, .filter-body .scrollbar::-webkit-scrollbar-thumb {
    background: #2196E0 !important;
    border: none !important;
    border-radius: 4px;
}


.filter-body .scrollbar::-webkit-scrollbar-thumb:window-inactive-thumb {
    background: #2196E0 !important;
    border-radius: 4px;
}

.filter-body::-webkit-scrollbar-track, .filter-body .scrollbar::-webkit-scrollbar-track {
    background: #D0D5DD !important;
    border-radius: 4px;

}

.filter-body .bx_filter.bx_filter_vertical.catalog.swipeignore{
    width: 100%;
    padding-right: 16px;
}

.filter-wrap .bx_filter_button_box.active{
    position: absolute;
    top: 72px;
    right: 20px;
    padding: 4px 6px;
}

.filter-wrap .bx_filter_button_box .bx_filter_search_reset {
    border: none;
    background: transparent;
    cursor: pointer;
    color: #2196E0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
}


.filter-wrap .wrapp_change_placeholders{
    display: flex;
    gap: 16px;
}

.filter-wrap input[type="text"].wrapp_change_placeholder-el{
    padding: 9px 10px;
    border: 1px solid #D0D5DD;
    border-radius: 5px;
    color: #4B4B4B;
    font-size: 14px;
    width: 100%;
    font-weight: 500;
    flex: auto;
}

.filter-wrap .form-control {
    border: none;
    padding: 0;
    height: 46px;
    justify-content: space-between;
}

.filter-wrap .form-control .form-control-value {
    color: #2196E0;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.28;
    display: flex;
    align-items: center;
    gap: 4px;
}

.filter-wrap .form-control:not([readonly]):not([disabled]):hover{
    border: none;
    background: transparent;
}

.filter-wrap .form-control .form-control-value input {
    width: max-content;
    min-width: 60px;
    color: #2196E0;
    font-weight: 600;
    flex: 0;
}

.filter-wrap .form-control .form-control-value input::placeholder{
    color: #2196E0;
}

.filter-wrap .bx_filter .bx_filter_parameters_box_container .max-price {
    margin-left: auto;
}

.form-control-value{

}
.filter-wrap .bx_filter_parameters_box .dropdown-select__icon-down.icon-plus svg{
    transform: rotate(45deg);
    fill: #4B4B4B;
    width: 12px;
    height: 12px;
}

.filter-wrap .bx_filter_parameters_box.active .dropdown-select__icon-down.icon-plus svg{
    transform: rotate(180deg);
}


.filter-wrap .bx_filter_parameter_label, .filter-wrap .dropdown-select__title{
    color: #98A0B4;
    font-size: 14px;
    font-weight: 600;
}

.filter-wrap .bx_filter_param_text{
    font-size: 14px;
    font-weight: 500;
    color: #4B4B4B;
}

.filter-wrap .form-checkbox__box {
    border-radius: 8px;
}

.filter-wrap  .sku-props__value, .label-color {
    border-radius: 100px;
    font-size: 12px;
    font-weight: 500;
    padding: 8px 10px;
    width: auto;
    height: auto;
    min-width: 50px;
    line-height: 1 !important;
    text-align: center;
    justify-content: center;
    box-shadow: none;
    border: 1px solid #4B4B4B;
    color: #4B4B4B;
}

.label-color {
    width: max-content;
}

.filter-wrap  .sku-props__value.sku-props__value--active,.label-color.active {
    border-color: #2196E0;
    color: #2196E0;
}

.filter-wrap  .sku-props__value.sku-props__value--active .bx_filter_param_text,.label-color.active .bx_filter_param_text{
    color: #2196E0;
}

.filter-wrap .sku-props__value--active.sku-props__value--pict:before{
    display: none;
}

.filter-wrap .bx_filter .bx_ui_slider_handle:after {
    width: 12px;
    height: 12px;
    margin: -6px 0 0 -6px;
}

.filter-wrap .smartfilter .bx_ui_slider_track .bx_ui_slider_pricebar_V:after{
    height: 6px;
    margin-top: -4px;
}


.bx_filter_toggle_container{

    margin-top:  16px;
}

.bx_filter_toggle_el{
    display: flex;
    gap: 8px;
    background-color: #F2F4F7;
    border-radius: 100px;
    width: 100%;
    cursor: pointer;
}

.bx_filter_toggle_el input:checked ~ span.name-y{
    color: #fff;
    background-color: #2196E0;
}

.bx_filter_toggle_el input:not(:checked) ~ span.name-n{
    color: #fff;
    background-color: #2196E0;
}

.bx_filter_toggle_el span{
    border-radius: 100px;
    display: inline-flex;
    justify-content: center;
    font-weight: 500;
    font-size: 14px;
    text-align: center;
    color: #98A0B4;
    padding: 12px;
    width: 100%;
}

.body:has(.button-filter-wrap.fix) #headerfixed.fixed .header__inner--shadow-fixed{
    box-shadow: none;
}

.button-filter-wrap{
    height: 70px;
}
.button-filter-wrap.fix .button-filter-fix{
    position: fixed;
    top: 80px;
    z-index: 10;
    left: 0;
    width: 100%;
    box-shadow: 0px 10px 10px 0px #0000000F;
    animation: fix 0.4s ease-out;
    background-color: #fff;
}

.button-filter-wrap.fix .button-filter-inner{
    padding-left: var(--theme-page-width-padding);
    padding-right: var(--theme-page-width-padding);
    max-width: calc(var(--theme-page-width) + calc(2 * var(--theme-page-width-padding)));
    width: 100%;
    margin-left: auto !important;
    margin-right: auto !important;
    background-color: #fff;
}



@keyframes fix {
    from {
        transform: translateY(-100%); /* Начинаем выше экрана */
        opacity: 0;                   /* Можно добавить прозрачность для красоты */
    }
    to {
        transform: translateY(0);    /* Конечная точка */
        opacity: 1;
    }
}


.button-filter-inner{
    /*background-color: #fff;*/
    padding: 12px 0;

}

.button-filter{
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #2196E0;
    color: #2196E0;
    background: transparent;
    font-weight: 400;
    font-size: 16px;
}

.button-filter__quantity{
    width: 24px;
    height: 24px;
    color: #fff;
    border-radius: 50%;
    background-color: #2196E0;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 16px;
}


@media (min-width: 1440px) {
    .lift_block-hide .grid-list--items-4-1200 {
        grid-template-columns: repeat(5, 1fr);
    }
}



@media (max-width: 768px) {
    .button-filter{
        display: none;
    }
}


/* desktop end */

/**** CATALOG END ****/





.flags__item.sticker__item--discount,
.flags__item.--discount {
    background: #FFEE88;
}
.flags__item.sticker__item--hit,
.flags__item.--hit {
    background: #ff6565;
}
.flags__item.sticker__item--recommend,
.flags__item.--recommend {
    background: #a56ffd;
}
.flags__item.sticker__item--new,
.flags__item.--new {
    background: var(--theme-base-color);
}
.flags__item.sticker__item--stock,
.flags__item.--stock {
    background: #ffeb81;
}
.flags__item.sticker__item--express_delivery,
.flags__item.--express_delivery {
    background: #0cbc3d;
}
.flags__item.sticker__item--exclusive,
.flags__item.--exclusive {
    color: var(--white_text_black);
    background: #0cbc3d;
}
.flags__item.sticker__item--1_2,
.flags__item.--1_2 {
    background: #0cbc3d;
}
.flags__item.sticker__item--2_3,
.flags__item.--2_3 {
    background: #0cbc3d;
}
.flags__item.sticker__item--gift,
.flags__item.--gift {
    background: #0cbc3d;
}

