.sidebar.sidebar-shop {
  position: sticky;
  top: 143px;
}
.archive-intro {
  margin-bottom: 40px;
}
.archive-content {
  margin-top: 136px;
}
.archive-faq-sample {
  margin-bottom: 136px;
}
#more-tax-desc {
  box-shadow: 0px 2px 20px 0px #B1B1B140;
  padding: 32px 63px;
  border-radius: 24px;
  position: relative;
  margin-bottom: 96px;
}
#more-tax-desc::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: auto;
  width: 40%;
  height: 7px;
  background: var(--c-primary);
  border-radius: 0 0 5px 5px;
}

.page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
}
ul.page-numbers {
  width: 100%;
}

.page-numbers li {
	margin: 0 6px;
}
.page-numbers li a,
.page-numbers li span {
	line-height: 1;
	font-size: 20px;
	color: #29166F;
	font-weight: 500;
	transition: 0.4s ease;
	border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #EAE9ED;
  transition: 0.4s ease;
}

.page-numbers li span.current {
	color: var(--c-white);
  background: var(--c-primary);
}
.page-numbers li .next.page-numbers,
.page-numbers li .prev.page-numbers {
	font-size: 20px;
	color: var(--c-dark-secondary);
	cursor: pointer;
	overflow: hidden;
  background: transparent;
}

.page-numbers li .next.page-numbers:hover,
.page-numbers li .prev.page-numbers:hover {
	color: var(--c-secondary);
}

.page-numbers li a:hover {
	color: var(--c-secondary);
}

.product-item-wrap {
  margin-bottom: 4rem;
}
.term-item {
  border: 1px solid #EBEBEB;
  border-radius: 20px;
  padding: 16px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  position: relative;
  height: 89px;
  background: #fff;
}
.term-image {
  position: relative;
  width: 46px;
  height: 47px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex: none;
}
.term-image::before {
  content: '';
  width: 46px;
  height: 47px;
  background: #EAE9ED;
  border-radius: 50px;
  position: absolute;
  top: 0;
  right: 0;
}
.term-item .term-image img {
  max-width: 36px;
  max-height: 50px;
  width: auto;
  height: auto;
}
.term-item::before {
  content: '';
  background: var(--c-primary);
  width: calc(100% + 10px);
  position: absolute;
  right: -5px;
  height: 40px;
  z-index: -1;
  border-radius: 3px;
  opacity: 0;
  transition: 0.4s ease;
}
.term-item:hover {
  border-color: var(--c-primary);
}
.term-item:hover::before {
  opacity: 1;
}
.term-title {
  color: var(--c-black);
  font-size: 14px;
  line-height: 1.6;
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.term-title .en-title {
  font-size: 12px;
  line-height: 1;
  color: var(--c-dark-secondary);
}
.orderby__wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px 5px;
  margin-bottom: 2rem;
  flex-wrap: wrap;

}
.terms-swiper {
  margin-bottom: 3rem;
}
.widget-title.main-widget i {
  color: var(--color1);
  font-size: 24px;
}

.more-tax-desc {
  margin-top: 20px;
  color: var(--c-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.more-tax-desc:hover {
  color: var(--color1);
}
.wrap-order {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  padding: 9px 17px;
  border-radius: 14px;
  flex: 0 0 100%;
  box-shadow: 0px 4px 25.2px 0px #C1C1C140;
  height: 52px;
}
.widget-sort-product {
  display: flex;
  align-items: center;
  gap: 10px;
}
.item-sort {
  position: relative;
}


.woocommerce-widget-sort-list {
  display: flex;
  align-items: center;
  gap: 19px;
}
.item-sort a {
  font-size: 12px;
  line-height: 20px;
  color: #797E91;
  transition: 0.4s ease;
}
.item-sort.chosen a {
  color: var(--c-dark-secondary);
}
.item-sort a:hover {
  color: var(--c-dark-secondary);
}
.widget-title-sort {
  display: flex;
  align-items: center;
  color: var(--c-black);
  font-size: 14px;
  line-height: 20px;
}
.widget-title-sort i {
  font-size: 24px;
  margin-left: 8px;
  color: var(--c-dark-secondary);
}
.count-product {
  color: var(--c-dark-secondary);
  font-size: 12px;
}
.count-product span:first-child {
  font-size: 18px;
}
.sidebar-wrap {
  border-radius: 20px;
  background: #fff;
  max-width: 100%;
  position: relative;
  margin-bottom: 20px;
  overflow: hidden;
  padding: 12px;
  background: var(--c-blue-50);
}
.sidebar-wrap > .widget-title {
  background: var(--c-white);
  display: flex;
  padding: 12px 22px;
  gap: 10px;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 36px;
  color: var(--c-black);
  border-radius: 12px;
}
.btn-switch {
  display: block;
  position: relative;
  width: 46px;
  height: 24px;
  background: var(--c-blue-100);
  transition: 0.4s ease;
  border-radius: 12px;
  cursor: pointer;
}
.btn-switch input {
  display: none;
}
.btn-switch .slider {
  position: absolute;
  cursor: pointer;
  top: 2px;
  right: 2px;
  bottom: 0;
  transition: 0.4s ease;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 12px;
}
.btn-switch input:checked~.slider {
  left: 2px;
  right: unset;
}
.btn-switch:has(input[type="checkbox"]:checked) {
  background-color: var(--c-primary);
}
.btn-switch:has(input[type="checkbox"]:checked) .slider {
  background-color: var(--c-secondary);
}
.cat-item {
  position: relative;
}
.product-categories > li {
  padding: 4px 0px;
}
.product-categories > li > a {
  color: var(--c-black);
  padding: 3px 0px;
  display: block;
  font-size: 14px;
}
.cat-item.current-cat > a,
.cat-item.active > a {
  color: var(--c-dark-secondary);
}

.widgetArrow {
  cursor: pointer;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  left: 16px;
  top: 5px;
  transition: 0.4s ease;
  width: 20px;
  height: 20px;
  font-size: 10px;
  transform: rotate(90deg);
  color: var(--c-black);
  line-height: 1;
}
.cat-item .widgetArrow {
  top: 9px;
  left: -4px;
}
.widgetArrow:hover {
  color: var(--c-secondary);
}

.widgetArrow:before {
  content: '\e904';
  font-family: websimaIcon;
  transform: rotate(-90deg);
  display: inline-block;
}
.widgetArrow.active {
  transform: rotate(-90deg);
  color: var(--c-dark-secondary);
}

.sidebar-inner {
  padding: 24px 0 24px;
}
.sidebar-inner .widget {
  margin-bottom: 20px;
}
.sidebar-inner .widget-side:last-child {
  margin-bottom: 0 !important;
}
.sidebar-inner .widget-title {
  display: flex;
  align-items: center;
  font-size: 16px;
  line-height: 32px;
  position: relative;
  padding: 0 20px;
  transition: 0.4s ease;
}
.sidebar-inner .widget.active .widget-title {
  color: var(--c-dark-secondary);
}

.widget-title .title {
  pointer-events: none;
}

.product-categories {
  margin-top: 10px;
  padding: 0 36px 0 20px;
}
.product-categories .children {
  padding: 0 8px 0 0;
}
.product-categories .children a {
  color: var(--c-blue-150);
  font-size: 14px;
  line-height: 28px;
  display: block;
}
.widget_price_filter form {
  padding: 0 20px;
}
.price_input_amount_wrap .input--wrapper {
  position: relative;
  max-height: 40px;
}
.price_input_amount_wrap {
  margin-top: 12px;
}
.price_input_amount_wrap .input--wrapper:before {
  content: 'تومان';
  position: absolute;
  left: 12px;
  top: 0;
  bottom: 0;
  margin: auto;
  display: flex;
  align-items: center;
  color: #8E8E8E;
}
form.woocommerce-order-form {
  display: flex;
  white-space: nowrap;
  width: 100%;
  flex-direction: column;
}
.item-order {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-family: inherit;
  padding: 0 20px 20px;
  border-bottom: 1px solid var(--c-blue-75);
  margin-bottom: 20px;
}
input#min_price,
input#max_price {
  display: block !important;
  border-radius: 12px;
  border: 1px solid #E0DFE3;
  background: transparent;
  min-height: 52px;
  padding: 4px 12px 0;
  color: var(--c-black);
  width: 100%;
  margin-bottom: 20px;
  font-size: 14px;
  font-family: inherit;
  transition: 0.4s ease;
}
.price_slider_amount label {
  display: block;
  color: #797E91;
  font-size: 14px;
  line-height: 32px;
  margin-bottom: 5px;
}


.price_slider_amount > button {
  margin: 0 auto 8px;
}

.price_slider_amount .row-btn {
  margin-top: 12px;
}

#max_price:focus,
#min_price:focus {
  border: 1px solid var(--c-secondary);
}




.checkbox {
  font-size: 16px;
  font-family: inherit;
  line-height: 32px;
  color: var(--c-black);
  position: relative;
  display: flex;
  align-items: center;
}

.price_slider_wrapper {
  position: relative;
  margin-top: 35px;
}

.woocommerce .widget_price_filter .price_slider_wrapper .ui-widget-content {
  position: relative;
  height: 8px;
  margin: 18px 16px 65px 3px;
  background: #EAE9ED;
}

.woocommerce .widget_price_filter .ui-slider-horizontal {
  height: 8px;
  background-color: var(--color1);
}

.woocommerce .widget_price_filter .ui-slider-horizontal .ui-slider-range {
  top: 0;
  height: 100%;
  width: 100%;
  background: var(--c-secondary);
}

.woocommerce .widget_price_filter .ui-slider .ui-slider-range {
  position: absolute;
  z-index: 1;
  font-size: .7em;
  display: block;
  border: 0;
  border-radius: 1em;
}

.price_slider_wrapper .ui-slider .ui-slider-handle {
  z-index: 2;
  width: 20px;
  height: 20px;
  cursor: ew-resize;
  outline: 0;
  top: -6px;
  margin-left: -5px;
  background: var(--c-secondary);
  border-radius: 6px;
  position: absolute;
  transition: all 0.4s;
  left: 0;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}
.price_slider_wrapper .ui-slider .ui-slider-handle:hover {
  background: var(--c-dark-secondary);
}
.price_slider_wrapper .ui-slider .ui-slider-handle:before {
  content: '\e915';
  font-family: websimaIcon;
  font-size: 8px;
  color: #fff;
}
.price_slider_wrapper .ui-slider .ui-slider-handle:last-child::before {
  content: '\e916';
}
.price_label .from,
.price_label .to {
  position: absolute;
  color: #797E91;
  font-size: 12px;
  top: 34px;
  visibility: visible;
  line-height: 12px;
  direction: rtl;
  text-align: right;
}

.price_label .to {
  right: 0;
}

.price_label .from {
  left: 0;
}
.price_slider_amount {
  display: flex;
  flex-direction: column;
  text-align: right;
  font-size: 14px;
}
.sidebar-inner .widget-side:not(:last-child) {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(102, 104, 105, 0.2);
}
#sidebar-shop {
  position: fixed;
  right: -100%;
  top: 0;
  bottom: 0;
  transition: all 0.5s;
  z-index: 1;
  background: #fff;
}
.sidebar-btn {
  width: 100%;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition: 0.4s ease;
  color: var(--c-black);
  font-size: 12px;
  gap: 8px;
  padding: 0 10px;
}
.sidebar-btn:hover {
  color: var(--c-secondary);
}
#sidebar-shop.active{
  right: 0;
  z-index: 99999;
}
#sidebar-shop .widget.woocommerce-widget-layered-nav ul,
#sidebar-shop .widget.widget_layered_nav_filters ul {
  list-style: none;
  margin: 0;
  padding: 0 20px;
}
#sidebar-shop .widget.woocommerce-widget-layered-nav ul li,
#sidebar-shop .widget.widget_layered_nav_filters ul li {
  position: relative;
  margin: 8px 0;
}
#sidebar-shop .widget.woocommerce-widget-layered-nav ul li a,
#sidebar-shop .widget.widget_layered_nav_filters ul li a {
  color: #252525;
  position: relative;
  display: block;
  font-size: 13px;
}
#sidebar-shop .widget.woocommerce-widget-layered-nav ul li .count,
#sidebar-shop .widget.widget_layered_nav_filters ul li .count {
  display: none;
}
#sidebar-shop .widget.woocommerce-widget-layered-nav ul li a:before,
#sidebar-shop .widget.widget_layered_nav_filters ul li a:before {
  content: "";
  width: 20px;
  height: 20px;
  margin-left: 15px;
  top: 5px;
  border-radius: 6px;
  background: rgba(102, 104, 105, 0.2);
  display: inline-block;
  position: relative;
  transition: all 0.4s ease;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
}
#sidebar-shop .widget.woocommerce-widget-layered-nav ul li.chosen a,
#sidebar-shop .widget.woocommerce-widget-layered-nav ul li:hover a,
#sidebar-shop .widget.widget_layered_nav_filters ul li.chosen a,
#sidebar-shop .widget.widget_layered_nav_filters ul li:hover a {
  color: var(--c-primary);
}
#sidebar-shop .widget.woocommerce-widget-layered-nav ul li.chosen a:before,
#sidebar-shop .widget.woocommerce-widget-layered-nav ul li:hover a:before,
#sidebar-shop .widget.widget_layered_nav_filters ul li.chosen a:before,
#sidebar-shop .widget.widget_layered_nav_filters ul li:hover a:before {
  background: var(--c-primary);
  transition: all 0.4s ease;
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
}

.price_slider_amount > .price_label {
  font-size: 0;
}
.sidebar-banner {
  display: block;
  text-align: center;
}
.woo--order {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 10px;
  margin-bottom: 15px;
}
.mobile-compares {
  display: flex;
  align-items: center;
  gap: 5px;
  justify-content: space-between;
  width: 100%;
}
.mobile-compares #compare-btn-archive {
  flex-grow: 1;
}
.woocommerce-ordering-mobile {
  border: none;
  box-shadow:  0px 4px 25.2px 0px #C1C1C140;
  padding: 10px 8px;
  background: #fff;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  flex: 0 0 100%;
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.woocommerce-ordering {
  flex-grow: 1;
}
.woocommerce-ordering-mobile .orderby {
  display: flex;
  align-items: center;
  width: 100%;
  background: #fff;
  height: 48px;
  padding-right: 10px;
  color: #272829;
  font-family: inherit;
  margin: 0;
  border: none;
}
.woocommerce-ordering-mobile .woocommerce-ordering::after {
  content: "\e904";
  font-family: "websimaIcon";
  color: var(--c-black);
  font-size: 10px;
  position: absolute;
  left: 12px;
  top: 24px;
}
.mobile-compares {
  display: flex;
  align-items: center;
  gap: 5px;
}
.terms-swiper .swiper-slide {
  width: 232px !important;
}
.swiper-pagination.terms-swiper-pagination {
  margin-top: 8px;
}
.brands-grid {
  display: grid;
  grid-template-columns: repeat(4 , 1fr);
  gap: 21px;
}
.brands-section {
  margin: 136px 0;
}
.brand-item {
  display: block;
  border-radius: 28px;
  overflow: hidden;
}
.brand-item img {
  width: 100%;
  filter: brightness(1);
  -webkit-filter: brightness(1);
  transition: 0.4s var(--ease2);
}
.brand-item:hover img {
  filter: brightness(1.1);
  -webkit-filter: brightness(1.1);
}
@media screen and (max-width: 992px){
  .sidebar.sidebar-shop {
      box-shadow: 0px 6.31px 37.84px 0px #99999933;
      border-radius: 24px;
      margin: 0 36px;
  }
  .sidebar-close {
    background: var(--c-danger);
    display: flex;
    width: 40px;
    max-width: fit-content;
    min-width: 26px;
    height: 26px;
    align-items: center;
    justify-content: center;
    margin: 10px auto 0 15px;
    cursor: pointer;
    transition: 0.4s ease;
    color: #fff;
    border-radius: 5px;
  }
  .sidebar-close:hover {
      color: var(--c-black);
  }
  .sidebar-inner {
      overflow: auto;
      max-height: calc(95vh - 100px);

  }
}
@media screen and (max-width: 768px){
  .page-numbers li a, .page-numbers li span {
    font-size: 17px;
    width: 36px;
    height: 36px;

  }
  #more-tax-desc {
    padding: 32px 16px;
    margin-bottom: 80px;

  }
  .archive-faq-sample {
    margin-bottom: 80px;
  }
  .archive-content {
    margin-top: 80px;
  }
  .brands-section {
    margin: 80px 0;
  }

  .brands-grid {
    display: grid;
    grid-template-columns: repeat(2 , 1fr);
    gap: 12px;
  }
  .product-item-wrap {
    margin-bottom: 2rem;
  }
 }
@media screen and (max-width: 576px){
  .terms-swiper .swiper-slide {
    width: 160px !important;
  }
  .term-item {
    height: 173px;
    background: #fff;
    flex-direction: column;
  }
  .term-image {
    width: 88px;
    height: 89px;
  }
  .term-image::before {
    width: 88px;
    height: 89px;
  }
  .term-item .term-image img {
    max-width: 80px;
    max-height: 90px;
    width: 80px;
    height: auto;
    object-fit: contain;
  }
  .card-stock {
    top: 8px;
    right: 8px;
 
    border-radius: 5px;
    width: 49px;
    height: 18px;

    font-size: 10px;
    padding-top: 4px
  }
}
@media screen and (max-width: 380px){
  .sidebar.sidebar-shop {
      margin: 0;
  }
}
@media screen and (min-width: 768px){

  .sidebar-inner {
      padding: 30px 0 10px;

  }
  .sidebar-wrap {
      margin-bottom: 24px;
      overflow: hidden;
  }
  .sidebar-wrap > .widget-title {
      padding: 17px 22px;
  }

}
@media screen and (min-width: 992px){
  .archive-intro {
    margin-bottom: 80px;
  }
  .widget-sort-product {
      display: flex;
      align-items: center;
      gap: 10px;
  }
  .woocommerce-widget-sort-list {
      display: flex;
      align-items: center;
      gap: 10px;
  }
  .sidebar-btn {
      display: none;
  }
  #sidebar {
      position: unset;
      right: auto;
      overflow-y: unset;
      background: transparent;
  }
  #sidebar .sidebar-close{
      display:none;
  }
  #sidebar-shop {
    padding: 0;
    padding-right: 0px;
    padding-left: 0px;
    position: unset;
    right: auto;
    overflow-y: unset;
    background: transparent;
    box-shadow: none;
  }
  #sidebar-shop.active {
    box-shadow: none;
  }
  .sidebar-btn {
    display: none;
  }
  .archive-filter-wrap {
    display: flex;
    gap: 20px;
  }
  #sidebar-shop .sidebar-close {
    display: none;
}

}
@media screen and (min-width: 1200px){

  .woocommerce-widget-sort-list {
      gap: 12px;
  }
  .wrap-order {
      flex: 1 0 78%;
  }
}
@media screen and (min-width: 1400px){

  .wrap-order {
      flex: 1 0 0;
  }
}

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

}
