.sidebar-filter {
  width: 270px;
  min-width: 270px;
}
.sidebar-filter > div {
  position: sticky;
  top: 100px;
}

body {
  background-color: white;
}

.sidebar-filter .collection-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sidebar-filter .heading_filter {
  border-bottom: 1px solid #bebebe;
  padding-bottom: 25px;
  margin-bottom: 20px;
}

.facets-remove-all {
  border-bottom: 1px solid #bebebe;
  padding-bottom: 25px;
  margin-bottom: 25px;
}

.sidebar-filter .js-filter {
  border-bottom: 1px solid #bebebe;
  margin-bottom: 25px;
}

.collection-filters .active-facets__button {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  gap: 7px;
  font-size: 14px;
}

.facets__list {
  padding-left: 4px;
  padding-right: 10px;
  padding-bottom: 25px;
}

.facets__list .list-menu__item {
  list-style: none;
  padding-bottom: 10px;
}

.facets__list .list-menu__item:last-child {
  margin-bottom: 0;
}

.js-filter .facets__label {
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  padding-top: 3px;
  margin-bottom: 20px;
  align-items: center;
  gap: 5px;
  user-select: none;
  background-color: var(--sort-background);
  border-radius: var(--sort-border-radius);
  padding: var(--sort-padding);
}

.facets__label--title {
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.facets__label facet-remove {
  display: none;
  margin-left: auto;
}

.facets__label .facets__reset {
  font-size: 10px;
  color: #bcbcbc;
  font-weight: 600;
}

.facet-checkbox {
  display: flex;
  align-items: center;
  position: relative;
  font-size: 14px;
  cursor: pointer;
  user-select: none;
}

.facet-checkbox input[type="checkbox"] {
  visibility: hidden;
  width: 0;
  height: 0;
  margin: 0;
}
.icon-fold-main {
  width: 20px;
  height: 20px;
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
}
.icon-fold-main .icon-fold {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  cursor: pointer;
}
.icon-first {
  display: none;
  width: 15px;
  height: 2px;
  background-color: #000;
}
.custom-checkbox {
  background: #fff;
  border-radius: 3px;
  width: 18px;
  height: 18px;
  border: 1px solid #d0d0d0;
  margin-right: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.propaganda_poster .www-button {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
}

.custom-checkbox i {
  display: none;
}
.box-fold {
  transition: all 0.3s;
  overflow: hidden;
}
.value_count {
  margin-left: auto;
  font-size: 11px;
  color: var(--color-text);
}

.facet-checkbox:hover .custom-checkbox,
.facet-checkbox:hover .filter-option-value {
  color: var(--color-text);
}

.facet-checkbox > input:checked + .custom-checkbox {
  background-color: #000;
}

.facet-checkbox > input:checked + .custom-checkbox i {
  display: block;
  color: white;
}

.facet-checkbox .filter-option-value {
  display: inline-block;
  white-space: nowrap;
  line-height: 25px;
  max-width: 190px;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* range */
.facets__price .filter__price--bar {
  margin-bottom: 50px;
  position: relative;
}
.facets__price .filter__price--bar__bg {
  height: 7px;
  border-radius: 20px;
  border: 1px solid #ababab;
  background-color: white;
  position: relative;
  z-index: 2;
}

.facets__price .progress {
  height: 7px;
  top: 0px;
  left: 0%;
  right: 0%;
  position: absolute;
  border-radius: 5px;
  background: rgba(var(--color-button-background));
  z-index: 3;
  max-width: 100%;
}

.facets__price .progress-number {
  font-size: 10px;
  font-weight: 600;
  color: #909090;
  top: 17px;
  z-index: 1;
  position: absolute;
}

.facets__price .progress-number.inner {
  transform: translateX(-50%);
}

.facets__price .progress-number.inner:before {
  content: "";
  position: absolute;
  width: 1px;
  height: 18px;
  background-color: #ababab;
  bottom: calc(100% + 5px);
  left: 50%;
}

.facets__price input[type="range"] {
  padding: 0;
  margin: 0;
  position: absolute;
  width: 100%;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  height: 7px;
  top: -1px;
  background: none;
  pointer-events: none;
  z-index: 9;
  border: none;
}

.filter__price--range {
  position: relative;
}

.facets__price input[type="range"]::-moz-range-thumb {
  height: 21px;
  width: 21px;
  border: none;
  border-radius: 50%;
  background: rgb(var(--color-button-background));
  pointer-events: auto;
  -moz-appearance: none;
}

.facets__price input[type="range"]::-webkit-slider-thumb {
  box-shadow: 0 0 #000;
  -ms-box-shadow: 0 0 0 1px rgb(var(--color-button-background));
  -o-box-shadow: 0 0 0 1px rgb(var(--color-button-background));
  box-shadow: 0 0 0 1px rgb(var(--color-button-background));
  border: 10px solid white;
  height: 20px;
  width: 20px;
  border-radius: 100%;
  background: white;
  pointer-events: auto;
  -webkit-appearance: none;
  cursor: pointer;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  background-color: white;
}

.facets__price input[type="range"]:hover::-webkit-slider-thumb {
  border-width: 4px;
  background-color: rgb(var(--color-button-background));
}

.lang-rtl .template-collection .facets__price {
  direction: ltr;
}

/* price */

.filter__price--input {
  display: flex;
  align-items: center;
}

.facets__price .field__input {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 1px solid #c8c8c8;
  border-radius: 5px;
  height: 38px;
  text-align: center;
}

.facets__price .field__text {
  margin: 0 5px;
  color: #000;
}

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

.facet-checkbox.facet-checkbox--disabled {
  opacity: 0.6;
  pointer-events: none;
}

.collection-filter__content {
  width: 100%;
}

.collection__product-content {
  width: 100%;
}

.collection-loadmore__bottom .count,
.collection-loadmore__bottom .total {
  font-weight: 700;
}

.pagination__bar {
  width: 250px;
  height: 7px;
  border: 1px solid #ababab;
  border-radius: 20px;
  margin: auto;
  position: relative;
}

.pagination__bar .progress {
  left: 0;
  top: -1px;
  height: 7px;
  background-color: rgb(var(--color-button-background));
  border-radius: 20px;
  position: absolute;
}

.collection__btn-loadmore {
  display: flex;
  align-items: center;
  width: 250px;
  height: 50px;
  font-size: 14px;
  background-color: rgb(var(--color-button-background));
  margin: 30px auto 0;
}

.collection__btn-loadmore.loading span {
  display: none;
}

@keyframes spin {
  0% {
    transform: rotate(0);
  }

  100% {
    transform: rotate(360deg);
  }
}

.collection__btn-loadmore .load {
  width: 20px;
  height: 20px;
  border-radius: 100%;
  border: 3px solid white;
  border-top: 3px solid black;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
  display: none;
}

.collection__btn-loadmore.loading .load {
  display: inline-block;
}

.collection-sorts-tab {
  color: rgba(102, 102, 102, 1);
  padding: 10px 0 30px;
  align-items: center;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
}

.sort-by__label {
  font-weight: 700;
}

.collection-sorts-select {
  position: relative;
  display: inline-block;
}

.sorts__content {
  position: absolute;
  z-index: 99;
  width: 250px;
  padding: 24px;
  margin: 1rem 0 0;
  background: white;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
  transition: 0.3s;
  border-radius: 1rem;
}

.sorts__content [data-sortby-item] {
  font-size: 13px;
  margin-bottom: 15px;
  cursor: pointer;
  transition: font-weight 0.2s ease;
  color: var(--color-title);
}

.sorts__content [data-sortby-item]:last-child {
  margin-bottom: 0;
}

.sorts__content [data-sortby-item] span {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border-radius: 100%;
  -ms-box-shadow: 0 0 0 1px #cacaca;
  -o-box-shadow: 0 0 0 1px #cacaca;
  box-shadow: 0 0 0 1px #cacaca;
  transition: all 0.3s;
  display: inline-block;
  vertical-align: middle;
  margin-right: 15px;
  pointer-events: none;
}

.sorts__content [data-sortby-item].act span {
  border: 4px solid white;
  background-color: rgb(var(--color-button-background));
  -ms-box-shadow: 0 0 0 1px rgb(var(--color-button-background));
  -o-box-shadow: 0 0 0 1px rgb(var(--color-button-background));
  box-shadow: 0 0 0 1px rgb(var(--color-button-background));
}

.dropdown-toggle__content {
  cursor: pointer;
  user-select: none;
}

.gridlist-toggle {
  display: flex;
  align-items: center;
  gap: 22px;
}

.gridlist-toggle a {
  color: #cacaca;
  font-size: 17px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
}

.gridlist-toggle svg {
  width: 100%;
}

.gridlist-toggle a.active,
.gridlist-toggle a:hover {
  color: #000;
}

.collection__product-content .product-card-new {
  transition: ease-in-out all 0.4s;
  position: initial;
  margin-bottom: 40px;
}
.collection__product-content .product-card-new > div {
  padding: 20px;
  height: 100%;
  text-align: center;
  border-radius: 10px;
}
#CollectionProductContainer[data-grid="grid-cols-2"] .product-card-new {
  width: 50%;
}

#CollectionProductContainer[data-grid="grid-cols-3"] .product-card-new {
  width: 33.333333333%;
}
#CollectionProductContainer[data-grid="grid-cols-4"] .product-card-new {
  width: 25%;
}
#CollectionProductContainer[data-grid="grid-cols-1"] .product-card-new {
  width: 100%;
}
#CollectionProductContainer[data-grid="grid-cols-1"] .product-card-new > div {
  display: flex;
  gap: 30px;
}
#CollectionProductContainer[data-grid="grid-cols-1"]
  .product-card-new
  > div
  > div:first-child {
  width: 30%;
}
#CollectionProductContainer:not([data-grid="grid-cols-1"])
  .product-card-new-describe {
  display: none;
}
#CollectionProductContainer[data-grid="grid-cols-1"]
  .product-card-new
  .card_list_flex.box-card
  > *:nth-child(1) {
  order: 1;
}
#CollectionProductContainer[data-grid="grid-cols-1"]
  .product-card-new
  .card_list_flex.box-card {
  gap: 16px;
}
#CollectionProductContainer[data-grid="grid-cols-1"]
  .product-card-new
  .card_list_flex.box-card
  > *:nth-child(2) {
  order: 3;
}
#CollectionProductContainer[data-grid="grid-cols-1"]
  .product-card-new
  .card_list_flex.box-card
  > *:nth-child(3) {
  order: 2;
}
#CollectionProductContainer[data-grid="grid-cols-1"]
  .product-card-new
  .card_list_flex.box-card
  > *:nth-child(4) {
  order: 4;
}
#CollectionProductContainer:not([data-grid="grid-cols-1"])
  .product-card-new-button {
  display: none;
}
.heading_category {
  padding: 0 !important;
  border: none !important;
}
.collection-filter__content .money {
  font-size: 20px;
  font-weight: 600;
  line-height: 24.2px;
}
.collection-filter__content .product__item-original-price {
  font-weight: 400;
  color: #999999;
  margin-left: 16px;
  text-decoration: line-through;
}
.collection__category .collection__category-item a {
  padding: 8px 0px;
  transition: background 0.3s;
  color: var(--color-text);
  display: block;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.collection__category .collection__category-item a:first-child {
  padding-bottom: 8px;
}
.collection__category .collection__category-item .child-sorts {
  padding-left: 16px;
  font-size: 16px;
}
.collection__category .collection__category-item a:hover {
  font-weight: 600;
  text-decoration: underline;
}

.collection__category .hide {
  display: none;
}

.search_svg_icon {
  cursor: pointer;
}

#product-grid {
  display: flex !important;
}
.grid {
  display: flex;
  flex-wrap: wrap;
  margin-left: calc(var(--grid-horizontal-space) * -0.5);
  margin-right: calc(var(--grid-horizontal-space) * -0.5);
  margin-top: calc(var(--grid-vertical-space) * -1);
  list-style: none;
  padding: 0;
}
.grid > * {
  box-sizing: border-box;
  flex-shrink: 0;
  margin-top: var(--grid-vertical-space);
  max-width: 100%;
  padding-left: calc(var(--grid-horizontal-space) * 0.5);
  padding-right: calc(var(--grid-horizontal-space) * 0.5);
  width: 100%;
}
.grid-cols-3 > * {
  flex: 0 0 auto;
  width: 33.3333333333%;
}
.grid-cols-4 > * {
  flex: 0 0 auto;
  width: 25%;
}
@media screen and (max-width: 959px) {
  .grid-cols-1-tablet > * {
    flex: 0 0 auto;
    width: 100%;
  }

  .grid-cols-2-tablet > * {
    flex: 0 0 auto;
    width: 50%;
  }

  .grid-cols-3-tablet > * {
    flex: 0 0 auto;
    width: 33.3333333333%;
  }

  .grid-cols-4-tablet > * {
    flex: 0 0 auto;
    width: 25%;
  }

  .grid-cols-5-tablet > * {
    flex: 0 0 auto;
    width: 20%;
  }

  .grid-cols-6-tablet > * {
    flex: 0 0 auto;
    width: 16.6666666667%;
  }
}
