/* filter
------------------------------------------------------------------- */


.filter-form-main .filter__button {
    padding: 6px 12px 5px 5px;
}

.filter-form-main .filter__button span {
    position: absolute;
    overflow: hidden;
    width: 1px;
    height: 1px;
    clip: rect(1px, 1px, 1px, 1px);
}
.container-filter {
	width: 100%;
}
.filter-form-main .filter__button svg {
    width: 24px;
    height: 24px;
}

.filter-form-main .filter .mg-filter-list a.mg-viewfilter {
	display: none;
}

.filter-form-main .a-filter__btn_toggle {
	white-space: nowrap;
  text-transform: none;
  font-size: 14px;
  min-height: 32px;
  font-size: 14px;
    line-height: 20px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    display: block;
    padding: 6px 12px 6px 12px;
    border-radius: 6px;
    box-shadow: 0 0 10px #9499cd75 !important;
    cursor: pointer;
    align-items: center;
    transition: box-shadow 0.2s;
  background: #fff;
  color: var(--main-text-color); 
  border: none;
}

.filter-form-main .a-catalog-main__grid-set {
	display: flex;
  align-items: center;
  margin-left: auto;
}
.mg-filter-list::-webkit-scrollbar {
	width: 5px !important;
}
.filter-form-main .a-filter__btn_toggle .a-button__title:before {
	color: var(--main-text-color);
}
.filter-form-main .a-filter__btn_toggle:hover .a-button__title:before {
	color: #fff;
}

@media (max-width: 430px) {
  .filter-form-main .a-filter__btn_toggle {
  	display: none;
  }
  .filter-form-main {
  	display: none;
  }
}

.filter-form-main  .filter .filter-form {
    width: 100%;
    margin-bottom: 16px;
    padding: 10px;
    border: 1px solid #dadada;
    background: #fff;
}

.filter-form-main  .filter li label {
    cursor: pointer;
}

.filter-form-main  .filter .button {
    margin-left: auto;
    margin-right: auto;
    font-size: 14px;
}

.filter-form-main .filter label {
    line-height: 1.2;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    cursor: pointer;
}

.filter-form-main .catalog-menu__container .settings__sort label {
    flex-direction: column;
}

.filter-form-main .catalog-menu__container .settings__sort select {
    margin-top: 10px;
    width: auto;
}

.filter-form-main .filter label [type='checkbox'] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
}

.filter-form-main .filter label [type='checkbox']:checked~.cbox::before {
    content: '\F012C';
    display: inline-block;
    font: normal normal normal 24px/1 "Material Design Icons";
    position: absolute;
    top: 1px;
    left: 3px;
    font-size: 14px;
    line-height: 1;
    text-rendering: auto;
    line-height: inherit;
    -webkit-font-smoothing: antialiased;
}

.filter-form-main .filter label .cbox {
    display: block;
    min-width: 20px;
    max-width: 20px;
    min-height: 20px;
    max-height: 20px;
    margin-right: 10px;
    border: 1px solid #dadada;
    border-radius: 3px;
    background: #fff;
    -webkit-box-ordinal-group: 0;
    -ms-flex-order: -1;
    order: -1;
    position: relative;
}


.filter-form-main .filter label:hover .unit {
    border-color: #c1c1c1;
}

.filter-form-main .filter [type='text'] {
    width: 100%;
    height: 40px;
    padding: 0 5px;
    color: #666;
    border: 1px solid #dadada;
    border-radius: 5px;
    background: #fff;
    -webkit-box-ordinal-group: 2;
    -ms-flex-order: 1;
    order: 1;
}

@media (max-width: 767px) {
    .filter-form-main .filter [type='text'] {
        height: 34px;
        padding: 0 10px;
    }
}

.filter-form-main .filter [type='text']:focus {
    border-color: var(--accent-color);
    -webkit-box-shadow: inset 0 0 0 1px var(--accent-color);
    box-shadow: inset 0 0 0 1px var(--accent-color);
}

.filter-form-main .filter .mg-filter-head {
    margin-bottom: 20px;
}

.filter-form-main .filter .mg-filter-head .wrapper-field {
    margin-bottom: 10px;
}

.filter-form-main .filter .label-field {
    font-size: 14px;
    font-weight: 500;
    display: block;
    margin-bottom: 4px;
    color: var(--main-text-color);
}

.filter-form-main .filter .price-slider-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  list-style: none;
  padding-left: 0;
}

.filter-form-main .filter .mg-filter-head .price-input {
    padding-right: 34px;
}

.filter-form-main .filter .mg-filter-head .price-input~span,
.filter-form-main .price-slider-list input+span {
    position: absolute;
    top: 30px;
    right: 4px;
    bottom: 10px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: auto;
    color: var(--main-text-color);
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 15px;
    line-height: 1;
    font-weight: 400;
}

.filter-form-main .filter .mg-filter-head .ui-slider {
    width: calc(100% - 14px);
    margin: 0 auto;
    margin-top: 10px;
}

.filter-form-main .filter .ui-slider .ui-slider-range {
    background: var(--accent-color);
}

.filter-form-main .filter-form .filter__head {
    display: none;
    margin: 0 0 30px;
}

.filter-form-main .filter-form .filter__title {
    display: block;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 500;
    -ms-flex: 1;
    flex: 1;
    margin: 0 20px 0 0;
}

.filter-form-main .filter .mg-filter-body .mg-filter-title {
    font-size: 14px;
    line-height: 20px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    max-width: 272px;
    display: block;
    padding: 6px 30px 6px 12px;
    border-radius: 6px;
    box-shadow:0 0 10px #9499cd75 !important;
    cursor: pointer;
    align-items: center;
  transition: box-shadow 0.2s;
}

.filter-form-main .filter .mg-filter-body .mg-filter-title:hover {
box-shadow: 0 2px 16px rgba(0, 0, 0, .20);
}

.filter-form-main .filter .mg-filter-body .mg-filter-title svg {
    width: 15px;
    height: 15px;
    margin-left: 7px;
      position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
}

.filter-form-main .filter .value-container {
    display: inline-flex;
    -ms-flex-align: center;
    align-items: center;
    cursor: pointer;
    border-radius: 5px;
    padding: 0 10px;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 400;
    color: var(--main-text-color);
    transition: color 0.25s, background 0.25s;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    width: 100%;
    white-space: nowrap;
}

.filter-form-main .filter .value-cancel {
    display: block;
    position: relative;
    margin: 0 10px 0 0 ;
    width: 22px;
    height: 22px;
  	padding: 2px;
  	background: #fff;
    border: 1px solid #d3d4dd;
    border-radius: 6px;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
}

.filter-form-main .filter .value-cancel svg {
    display: none;
  color: #fff;
}

.filter-form-main .filter .icon-cancel {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    fill: currentColor;
    fill-rule: evenodd;
    width: 100%;
    height: 100%;
}
.filter-form-main .filter label [type='checkbox']:checked~.value-container .value-cancel {
	background: var(--accent-color);
    border: none;

}
.filter-form-main .filter label [type='checkbox']:checked~.value-container .value-cancel svg {
    display: block;
}

.filter-form-main .refreshFilter {
    -webkit-appearance: none;
    padding: 0;
    border: none;
    font: inherit;
    color: inherit;
    background-color: transparent;
    cursor: pointer;
    color: var(--accent-color);
    border-bottom: 1px dashed;
    cursor: pointer;
    line-height: 1;
    display: flex;
    align-items: center;
}

.filter-form-main .refreshFilter:hover {
    color: var(--secondary-text-color);
    background: var(--secondary-background-color);
    border-color: var(--secondary-background-color);
}

.filter-form-main .refreshFilter .icon-reset {
    margin: 0 5px 0 0;
    color: #F0164A;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    fill: currentColor;
    fill-rule: evenodd;
    width: 9px;
    height: 9px;
}

.filter-form-main .mg-filter-list {
    margin: 0 -15px -5px 0;
    padding: 20px 10px 20px 10px;
    list-style: none;
    display: -ms-flexbox;
    display: none;
    flex-direction: column;
    position: absolute;
    top: calc(100% + 10px);
    left: 0px;
    background: #fff;
    width: fit-content;
    min-width: calc(170px);
  	border-radius: 8px;
    box-shadow: 0 0 10px #9499cd75 !important;
    z-index: 99;
    gap: 5px;
}

@media (max-width: 575px) {
  .filter-form-main .mg-filter-list {
  	left: 0;
  }
}

.filter-form-main .mg-filter-item.open-filt .mg-filter-list {
    display: flex;
  max-height: 270px;
  overflow:auto;
}

.filter-form-main .mg-filter-list li {
  display: block !important;
    margin: 0 ;
    -ms-flex: 0 0 auto;
    flex: 0 0 auto;
    max-width: 100%;
}

.filter-form-main .filter .mg-filter-body .mg-filter-item {
    margin-top: 20px;
    position: relative;
}

.filter-form-main .price-slider-wrapper {
    margin-bottom: 15px;
}

.filter-form-main .price-slider-list {
    margin-bottom: 10px;
}

.filter-form-main .filter .price-slider-list li {
    position: relative;
    width: 49%;
    margin-top: 0;
}


.filter-form-main .filter .mg-filter-body .disabled-prop {
    pointer-events: none !important;
    opacity: .5;
    cursor: auto;
}

.filter-form-main .filter .mg-filter-body .mg-tooltip {
    font-size: 11px;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 16px;
    height: 16px;
    margin-left: 6px;
    cursor: default;
    border-radius: 100%;
    background: #dadada;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.filter-form-main .filter .mg-filter-body .mg-tooltip-content {
    position: absolute;
    z-index: 100;
    border-radius: 10px;
    top: 100%;
    left: 100%;
    width: 200px;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #dadada;
    background: #fff;
    -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, .2);
    box-shadow: 0 0 10px rgba(0, 0, 0, .2);
}

.filter-form-main .filter .mg-filter-body .mg-tooltip:hover .mg-tooltip-content {
    display: block !important;
}

.filter-form-main .filter .mg-filter-body .mg-viewfilter-all,
.filter-form-main .filter a.mg-viewfilter {
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    text-decoration: underline;
    border-radius: 8px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, .08);
    text-decoration: none;
    padding: 5px 15px;
    display: flex;
    align-items: center;
  	color: #333;
  transition: all 0.2s;
}

.filter-form-main .filter .mg-filter-body .mg-viewfilter-all:hover,
.filter-form-main .filter a.mg-viewfilter:hover {
    text-decoration: none;
  	background: #b37eb1;
  color: #fff;
}

.filter-form-main .filter .filter-buttons {
    text-align: center;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 10px;
    width: fit-content;
    gap: 10px;
  	margin-bottom: 20px;
}

.filter-form-main .default-btn.refreshFilter {
    margin: 0 0 10px 0;
}

.filter-form-main .default-btn.submit-btn {
    padding: 5px 15px;
    height: 35px;
    font-size: 16px;
    font-weight: 400;
}

.filter-form-main .filter .price-input {
    border-color: #e4ebf1;
    background: #e4ebf1;
    color: var(--main-text-color);
    font-size: 15px;
    line-height: 24px;
    font-weight: 400;
    width: 120px;
    padding: 10px 40px 10px 15px;
}

.filter-form-main .mg-filter-head {
	position: relative;
}

.filter-form-main .filter .filter-preview {
    position: absolute;
    z-index: 99;
    -webkit-animation-name: arrow;
    animation-name: arrow;
    -webkit-animation-duration: .4s;
    animation-duration: .4s;
    color: var(--main-text-color);
    background: #fff;
    box-shadow: 0 0 10px #9499cd75 !important ;
    border-radius: 5px;
    padding: 10px 12px;
    margin-top: -15px;
    margin-left: -5px;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    width: max-content;
    min-height: 30px;
}

@media (max-width: 430px) {
  .filter-form-main .filter .filter-preview {
  	display: none !important;
  }
}

.filter-form-main .filter .filter-preview>span {
    display: flex;
    align-items: center;
    white-space: nowrap;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 400;
}

.filter-form-main .filter .filter-preview>span>span {
    flex-shrink: 0;
}

.filter-preview>span>a {

    margin-left: 5px;

}


@-webkit-keyframes arrow {
    from {
        -webkit-transform: translate3d(100px, 0, 0);
        transform: translate3d(100px, 0, 0);
        opacity: 0;
    }

    to {
        -webkit-transform: none;
        transform: none;
        opacity: 1;
    }
}

@keyframes arrow {
    from {
        -webkit-transform: translate3d(100px, 0, 0);
        transform: translate3d(100px, 0, 0);
        opacity: 0;
    }

    to {
        -webkit-transform: none;
        transform: none;
        opacity: 1;
    }
}

@-webkit-keyframes before {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes before {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}


.filter-form-main .mg-filter .color-filter {
    display: inline-block;
}

.filter-form-main .filter .color-filter .cbox {
    min-width: 25px;
    max-width: 25px;
    min-height: 25px;
    max-height: 25px;
    border: none;
    border-radius: 50%;
    transition: all 0.4s ease-in-out;
}

.filter-form-main .filter .color-filter .cbox::before {
    display: none;
}

.filter-form-main .filter .color-filter label [type='checkbox']:checked~.cbox::before {
    display: none;
}

.filter-form-main .c-disable-range {
    pointer-events: none;
    opacity: 0.5;
}

.filter-form-main .open-filter {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    position: fixed;
    justify-content: center;
    left: 15px;
    right: auto;
    bottom: 55px;
    z-index: 500;
    width: calc(100% - 30px);
    height: 40px;
    padding: 0;
    width: 40px;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 500;
    background: var(--accent-color);
    border-radius: 50%;
    color: var(--secondary-text-color);
    transition: bottom 0.25s;
    box-shadow: 0px 3px 10px 2px rgba(154, 174, 190, 0.7);
}

.filter-form-main .open-filter:hover {
    background: var(--secondary-background-color);
}

@media (max-width: 950px) {
    .filter-form-main .open-filter {
        bottom: 95px;
    }
}
.filter-form-main .open-filter svg {
    display: block;
    width: 26px;
    height: 26px;
    fill-rule: evenodd;
}

.filter-form-main .sidebar__shadow {

    background: #fff;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    transition: opacity 0.25s, visibility 0.25s;
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}
.filter-form-main .filter_open .sidebar__shadow {

}
.filter-form-main .sidebar__shadow .sidebar__wrapper {
    background: inherit;
    border-radius: 0;
}
.filter-form-main .filter .mg-filter-body {
    margin: 10px 0 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-form-main .filter .mg-filter-body .mg-filter-item,
.filter-form-main .filter__price-container,
.filter-form-main .filter-form .filter__head {
    margin: 0;
    padding: 0 0;
}
.filter-form-main .filter .price-input {
    background-color: #E8EAF1;
    border-color: #E8EAF1;
}
.filter-form-main .wrapper-field {
    width: 100%;
}
.filter-form-main .filter-form .filter__title {
    text-align: center;
}
.filter-form-main .filter__close {
    height: 100%;
    display: -ms-flexbox;
    display: none;
    -ms-flex-align: center;
    align-items: center;
    width: 50px;
}
.filter-form-main .filter__close svg {
    width: 10px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    fill: currentColor;
    fill-rule: evenodd;
}

@media (max-width: 430px) {
  .filter-form-main .mg-filter-item {
  	display: none;
  }
  .filter-form-main .filter .filter-buttons {
  	display: none;
  }
}
@media (max-width: 374px) {
  .filter-form-main .filter .mg-filter-body {
  	justify-content: center;
  }
}