﻿@charset "UTF-8";
#subCategories .maincat-title {
  font-size: 1.2rem;
  font-weight: bold;
}
#subCategories .slider-row {
  margin: 1.6rem 0 1rem;
  padding: 1.8rem 0;
  background-color: var(--text-light-3);
  background-size: cover;
  border-radius: 0.75rem;
}
#subCategories .slider-row .swiper-wrapper {
  display: flex;
  justify-content: center;
}
#subCategories .subcat-slider .swiper-slide {
  display: block;
  text-align: center;
}
#subCategories .subcat-slider .swiper-slide img {
  width: 100%;
  border-radius: var(--radius);
  -webkit-border-radius: var(--radius);
  -moz-border-radius: var(--radius);
  -ms-border-radius: var(--radius);
  -o-border-radius: var(--radius);
}
#subCategories .subcat-slider .swiper-slide .subcat-title {
  font-size: 1rem;
  margin-top: 1rem;
  color: var(--accent-color);
  font-weight: normal;
}
#subCategories .slider-controller {
  position: absolute;
  top: calc(50% - 2.4rem);
  left: 0;
  right: 0;
  z-index: 100;
}
#subCategories .slider-controller .navigation {
  width: 3.2rem;
  height: 3.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--White);
  border-radius: 50%;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
}
#subCategories .slider-controller .navigation svg {
  width: 1.6rem;
  height: 1.6rem;
  stroke: #444;
  cursor: pointer;
}
#subCategories .slider-controller .swiper-button-disabled {
  opacity: 0;
}
#subCategories .slider-controller .swiper-button-disabled svg {
  display: none;
}

#priceranges input[type=number]::-webkit-inner-spin-button,
#priceranges input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

#priceranges input[type=number] {
  -moz-appearance: textfield;
}

#frompriceshow,
#topriceshow {
  width: 100%;
  height: 3.2rem;
  line-height: 28px;
  border-radius: var(--radius);
  background-color: var(--accent-color-7);
  display: block;
  padding: 0 1rem;
  overflow: hidden;
  border: none;
  text-align: left;
  color: var(--accent-color-5);
  font-size: 1.07rem !important;
}

#technicalfilters .card:first-child {
  margin-top: 5px;
}

#technicalfilters .checkbox label,
#technicalfilters .radio label {
  padding-right: 30px;
  padding-top: 6px;
  padding-bottom: 6px;
  display: block;
}

#technicalfilters .checkbox label:hover,
#technicalfilters .radio label:hover {
  background-color: #f9f9f9;
}

#technicalfilters .mb-2 .list-items {
  max-height: 250px;
  overflow-x: hidden;
  overflow-y: auto;
}

#technicalfilters .mb-2 .seach-list {
  margin-bottom: 15px;
}

#technicalfilters .mb-2 .seach-list input[type=text] {
  padding-right: 30px;
  background-repeat: no-repeat;
  background-position: 98% center;
  background-size: 20px;
  background-image: url("data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9JzMwMHB4JyB3aWR0aD0nMzAwcHgnICBmaWxsPSIjZTBlMGUwIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB2ZXJzaW9uPSIxLjEiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMTAwIDEwMCIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMTAwIDEwMDsiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+Cgkuc3Qwe2ZpbGwtcnVsZTpldmVub2RkO2NsaXAtcnVsZTpldmVub2RkO30KPC9zdHlsZT48cGF0aCBjbGFzcz0ic3QwIiBkPSJNOTEuOSw5MS45Yy0zLjUsMy41LTkuMiwzLjUtMTIuNywwTDYyLjcsNzUuNEM1Ni45LDc5LDUwLjEsODEsNDIuNyw4MUMyMS42LDgxLDQuNSw2My45LDQuNSw0Mi43ICBTMjEuNiw0LjUsNDIuNyw0LjVTODEsMjEuNiw4MSw0Mi43YzAsNy4zLTIuMSwxNC4xLTUuNiwyMGwxNi41LDE2LjVDOTUuNCw4Mi43LDk1LjQsODguNCw5MS45LDkxLjl6IE00Mi43LDE1LjcgIGMtMTQuOSwwLTI3LDEyLjEtMjcsMjdzMTIuMSwyNywyNywyN3MyNy0xMi4xLDI3LTI3UzU3LjcsMTUuNyw0Mi43LDE1Ljd6Ij48L3BhdGg+PC9zdmc+");
}

#technicalfilters .mb-2 .list-items .customlist-items .customlist-item {
  padding-right: 0px !important;
  display: block;
  position: relative;
  cursor: pointer;
}

#technicalfilters .mb-2 .list-items .customlist-items .customlist-item input {
  display: none;
}

#technicalfilters .mb-2 .list-items .customlist-items .customlist-item .customlist-color {
  display: inline-block;
  width: 24px;
  height: 24px;
  margin: 0 5px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
  vertical-align: middle;
  margin-left: 2px;
  position: relative;
  background-position: center;
  background-repeat: repeat;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==);
}

#technicalfilters .mb-2 .list-items .customlist-items .customlist-item .customlist-color i {
  display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

#technicalfilters .mb-2 .list-items .customlist-items .customlist-item .customlist-thumbnail {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  vertical-align: middle;
  margin-left: 2px;
}

#technicalfilters .mb-2 .list-items .customlist-items .customlist-item input:checked + .customlist-checked::before,
#technicalfilters .mb-2 .list-items .customlist-items .customlist-item input:checked + label + .customlist-checked::before {
  content: "☑";
  color: #39d2b4;
  font-size: 24px;
  position: absolute;
  left: 0;
  top: -5px;
  font-style: normal;
}

.FilterBody .check-moding {
  max-height: 30rem;
  overflow-y: auto;
}

.ShopFilter {
  margin: 1rem 0;
  border: 0.1em solid var(--silverLight);
  /* margin-bottom: 1.5rem; */
  /* padding: 1.3rem 1rem; */
  /* border-radius: 10px; */
  /* overflow: hidden;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px; */
}

.ShopFilter .FilteredTitle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: bold;
  font-size: 1rem;
  color: #000;
  margin-bottom: 1rem;
}
.ShopFilter .FilteredTitle #clearfilters {
  color: var(--accent-color);
}

.fancytree-icon {
  display: none !important;
}

.ShopFilter .FilterBody {
  max-height: 30vh;
}

#priceranges .FilterBody {
  max-height: unset;
}
#priceranges #filterprice {
  font-size: 1.05rem;
  color: var(--White);
  border-radius: var(--radius);
  background: var(--Gradient-1, linear-gradient(85deg, #5c5c5c 7.99%, #1e1e1e 85.97%));
  -webkit-border-radius: var(--radius);
  -moz-border-radius: var(--radius);
  -ms-border-radius: var(--radius);
  -o-border-radius: var(--radius);
  margin-top: 1rem;
}

.irs--round .irs-line {
  top: 29px;
  height: 1rem;
}

.irs--round .irs-handle {
  top: 26px;
  width: 1.5rem;
  height: 1.5rem;
  border: 2px solid var(--White);
  background-color: var(--accent-color);
  border-radius: 50%;
  box-shadow: none;
  cursor: pointer;
}

.irs--round .irs-bar {
  top: 30px;
  height: 1rem;
  background-color: var(--accent-color);
}

.irs--round .irs-handle.state_hover,
.irs--round .irs-handle:hover {
  background-color: var(--accent-color) !important;
}

/**********************OnlyActiveAndDiscounted************************/
.only-active-check-label::after,
.only-dis-check-label::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  transition: all 0.2s;
  border-radius: 50%;
  background: var(--White);
  top: calc(50% - 6px);
  left: -1px;
}

.only-active-check-label::before,
.only-dis-check-label::before {
  content: "";
  position: absolute;
  left: -0.3rem;
  top: calc(50% - 8px);
  border-radius: calc(var(--b-radius) * 4);
  transition: background-color 0.2s;
  width: 31px;
  height: 16px;
  background: #d1d1d6;
  display: inline-block;
  transition: all 0.4s;
  -webkit-border-radius: calc(var(--b-radius) * 4);
  -moz-border-radius: calc(var(--b-radius) * 4);
  -ms-border-radius: calc(var(--b-radius) * 4);
  -o-border-radius: calc(var(--b-radius) * 4);
}

.only-active-check:checked + label::after,
.only-dis-check:checked + label::after {
  left: 13px;
  background: #fff;
}

.only-active-check:checked + label::before,
.only-dis-check:checked + label::before {
  background-color: var(--button-color);
}

.productstabinfo .SideBar.active {
  right: 0;
}

.productstabinfo :where(select, input) {
  border-color: transparent;
}

.check-moding select {
  width: 100%;
}

@media (min-width: 768px) {
  .p-lg-relative {
    position: relative;
  }
}
@media screen and (min-width: 960px) {
  .col-lg-25 {
    flex: 0 0 auto;
    width: 20%;
  }
}
.ShopFilter ul.fancytree-container {
  /* justify-content: center; */
  flex-wrap: wrap;
  background: unset;
  border: none;
  display: flex;
  /* flex-direction: column; */
}

.ShopFilter .FilterHead strong {
  font-size: 14px;
  color: #000;
}

.b-shaddow-1 {
  box-shadow: 0px 0px 5px -3px #000;
}

/* .toggle-filter {
	background: var(--accent-color);
	padding: 0.4rem;
	border-radius: 0.4rem;
	margin-left: 1rem;

	span {
		color: var(--White);
	}

	svg {
		display: block;
		stroke: var(--White);
		width: 1.8rem;
		height: 1.8rem;
	}
} */
.sort-row .label {
  font-size: 1rem;
}
.sort-row .sort-side {
  width: calc(100% - 5rem);
  white-space: nowrap;
}

.sort-list .sort-item {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-size: 12px;
}
.sort-list .sort-item:disabled {
  color: black !important;
  font-weight: bold;
}
@media (max-width: 768px) {
  .sort-list {
    padding: 0rem 0.3rem;
    border-radius: var(--radius-5);
    border: solid 1px var(--accent-color-7);
  }
}

.checkbox label {
  display: flex;
}

.product-list-page .pagination {
  direction: ltr;
  gap: 0.5rem;
  display: flex;
  list-style: none;
}
.product-list-page .pagination .page-link {
  font-family: unset;
}
.product-list-page .product-list .item-grid {
  height: 100%;
  /* width: calc((100% / 4) - 1.4rem); */
}
.product-list-page .product-list .item-grid .discountlabel {
  position: absolute;
  right: 0;
  padding: 2px;
  border-radius: 0 0.66rem 0 0.66rem;
  top: 0;
}
.product-list-page .product-list .item-grid .price-box {
  /* min-height: 43px; */
}
.product-list-page .product-list .item-grid .price-box svg {
  width: 1rem;
}
.product-list-page .product-list .item-grid .price-box strike {
  font-size: 11px;
}
.product-list-page .product-list .item-grid .rate-and-discount {
  min-height: 30px;
}
.product-list-page .product-list .item-grid .discount {
  height: 2.25rem;
  width: 2.25rem;
  border-radius: 0.5rem;
}
@media (max-width: 570px) {
  .product-list-page .product-list .item-grid {
    width: calc((100% / 2) - 0.3rem);
  }
}
@media (min-width: 992px) {
  .product-list-page .product-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-items: center;
    /* افقی وسط بچه‌ها */
    align-items: center;
  }
}

.SideBar {
  position: sticky;
  top: 6rem;
  height: fit-content;
  margin-bottom: 1.5rem;
  border-radius: var(--radius);
  -webkit-border-radius: var(--radius);
  -moz-border-radius: var(--radius);
  -ms-border-radius: var(--radius);
  -o-border-radius: var(--radius);
  overflow: hidden;
}
.SideBar .search-products {
  display: flex;
  align-items: center;
  background: var(--bg-2);
  padding: 0 1.06rem;
  gap: 0.8rem;
  border-radius: var(--radius);
  -webkit-border-radius: var(--radius);
  -moz-border-radius: var(--radius);
  -ms-border-radius: var(--radius);
  -o-border-radius: var(--radius);
}
.SideBar .search-products input {
  width: 100%;
  height: 3.2rem;
  background: transparent;
  outline: none;
}
.SideBar .search-products .search-btn {
  display: block;
}
.SideBar .search-products .search-btn svg {
  display: block;
  width: 1.4rem;
  min-width: 1.4rem;
  stroke: #707070;
}
.SideBar .accordion-panel .acc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 0.57rem;
  cursor: pointer;
}
.SideBar .accordion-panel .acc-head svg {
  vertical-align: middle;
  width: 1.2em;
  height: 1.2em;
  fill: var(--accent-color);
  stroke: var(--accent-color);
  transition: all 0.3s ease-in-out;
}
.SideBar .accordion-panel .acc-head .title {
  font-size: 1.06rem;
  color: var(--accent-color);
}
.SideBar .accordion-panel .acc-head .title.size-icon {
  padding-right: 1.5rem;
  background: url(../images/size-icon.png) no-repeat right center;
}
.SideBar .accordion-panel .acc-head .title.color-icon {
  padding-right: 1.5rem;
  background: url(../images/color-icon.png) no-repeat right center;
}
.SideBar .accordion-panel .acc-head .title.price-icon {
  padding-right: 1.5rem;
  background: url(../images/dollar-icon.png) no-repeat right center;
}
.SideBar .accordion-panel .acc-head .title.category-icon {
  padding-right: 1.5rem;
  background: url(../images/category-icon.png) no-repeat right center;
}
.SideBar .accordion-panel .acc-body {
  padding-top: 1rem;
}
.SideBar .accordion-panel .acc-body .desc {
  font-size: 1rem;
}
.SideBar .accordion-panel .acc-body.open {
  display: block;
}
.SideBar .accordion-panel.open .acc-head .icon {
  transform: rotate(180deg);
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
}
.SideBar .ShopFilter .FilterHead strong {
  font-size: 14px;
  color: #000;
}
.SideBar .bootstrap-tagsinput .tag {
  padding: 0.3rem 1rem;
  background-color: var(--bg-2);
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  border-radius: var(--radius-5);
}
.SideBar .bootstrap-tagsinput .tag [data-role=remove] {
  position: relative;
  font-weight: normal;
}
.SideBar .bootstrap-tagsinput .tag [data-role=remove]:hover:active {
  box-shadow: none;
}
.SideBar .main-label {
  display: block;
}
.SideBar #filters-tag .title {
  font-size: 1.07rem;
}
.SideBar #filters-tag .clearfilters {
  color: var(--text3);
  cursor: pointer;
}
.SideBar .ui-fancytree {
  gap: 0;
}
.SideBar .ui-fancytree > li .fancytree-node {
  display: flex;
  align-items: center;
  padding: 0.3rem 0;
}
.SideBar .ui-fancytree > li .fancytree-node .fancytree-title {
  font-family: "iranSite";
  line-height: 2rem;
  /* font-weight: bold; */
  white-space: normal;
  background: none !important;
  border: none !important;
  margin: 0;
  padding: 0;
}
.SideBar .ui-fancytree > li .fancytree-node .fancytree-expander {
  display: none;
}
.SideBar .ui-fancytree > li .fancytree-node.fancytree-has-children .fancytree-expander {
  display: flex;
  min-width: 1.9rem;
  height: 1.9rem;
  background: url(../images/chevron-left.svg) no-repeat center center;
  transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  position: absolute;
  left: 0;
}
.SideBar .ui-fancytree > li .fancytree-node.fancytree-has-children.fancytree-expanded .fancytree-expander {
  transform: rotate(-90deg);
  -webkit-transform: rotate(-90deg);
  -moz-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
}
.SideBar .ui-fancytree > li .fancytree-node ul .fancytree-title {
  font-weight: normal;
}
.SideBar .ui-fancytree > li .fancytree-icon {
  display: none !important;
}
.SideBar .ui-fancytree > li:last-child .fancytree-node {
  border: none;
}
.SideBar .ui-fancytree > li ul .fancytree-node .fancytree-title {
  font-weight: normal;
}
.SideBar .customlist-item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 0.3rem;
  cursor: pointer;
}
.SideBar .customlist-item .customlist-color {
  width: 2.92rem;
  height: 2.92rem;
  padding: 0.2rem;
  border: solid 1px var(--texture-color-7);
  border-radius: var(--radius-5);
  -webkit-border-radius: var(--radius-5);
  -moz-border-radius: var(--radius-5);
  -ms-border-radius: var(--radius-5);
  -o-border-radius: var(--radius-5);
  background-size: cover;
}
.SideBar .customlist-item .customlist-color i {
  display: block;
  width: 100%;
  height: 100%;
  background-size: cover;
  border-radius: var(--radius-5);
  -webkit-border-radius: var(--radius-5);
  -moz-border-radius: var(--radius-5);
  -ms-border-radius: var(--radius-5);
  -o-border-radius: var(--radius-5);
}
.SideBar .customlist-item .customlist-thumbnail {
  width: 1.6rem;
  height: 1.6rem;
  padding: 0.2rem;
  border: solid 1px var(--texture-color-7);
  border-radius: var(--radius-5);
  -webkit-border-radius: var(--radius-5);
  -moz-border-radius: var(--radius-5);
  -ms-border-radius: var(--radius-5);
  -o-border-radius: var(--radius-5);
  background-size: cover;
}
.SideBar .customlist-item input {
  position: absolute;
  opacity: 0;
}
.SideBar .color-list .customlist-items {
  display: flex;
  flex-wrap: wrap;
}
.SideBar .color-list .customlist-items .customlist-item {
  display: flex;
  vertical-align: top;
  margin: 0.2rem 0.28rem;
  text-align: center;
  flex: 0 0 43%;
}
.SideBar .color-list .customlist-items .customlist-item .customlist-color {
  display: block;
  margin: 0 auto 0.3rem;
}
.SideBar .color-list .customlist-items .customlist-item .customlist-color i {
  display: block;
  width: 100%;
  height: 100%;
  background-size: cover;
  border-radius: var(--radius-5);
  -webkit-border-radius: var(--radius-5);
  -moz-border-radius: var(--radius-5);
  -ms-border-radius: var(--radius-5);
  -o-border-radius: var(--radius-5);
}
@media (max-width: 768px) {
  .SideBar {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    border-radius: 0;
    margin: 0;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
  }
  .SideBar .SideBarListProduct {
    position: absolute;
    right: 0;
    left: 0;
    top: 30%;
    height: 70%;
    padding: 2rem 1rem;
    overflow: auto;
    background: #fff;
    transform: translateY(100%);
    -webkit-transform: translateY(100%);
    -moz-transform: translateY(100%);
    -ms-transform: translateY(100%);
    -o-transform: translateY(100%);
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    border-radius: 1.5rem 1.5rem 0 0;
    -webkit-border-radius: 1.5rem 1.5rem 0 0;
    -moz-border-radius: 1.5rem 1.5rem 0 0;
    -ms-border-radius: 1.5rem 1.5rem 0 0;
    -o-border-radius: 1.5rem 1.5rem 0 0;
  }
  .SideBar.active .SideBarListProduct {
    transform: translateY(0);
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
  }
}

#productlistsortingmenu {
  -white-space: nowrap;
}
#productlistsortingmenu svg {
  width: 1.06rem;
}

.content-holder {
  height: 100%;
}
.content-holder .titleProdcut {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.content-holder .cat-name {
  color: #979797;
  font-size: 0.8rem;
}

.thumbnail-holder {
  min-height: 5.6rem;
}

.thumbnail-box {
  white-space: nowrap;
  overflow: auto;
}
.thumbnail-box .item {
  width: 4rem;
  height: 4rem;
}
.thumbnail-box .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn-box {
  margin-top: 1.2rem;
}
.btn-box .prod-btn {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
}
.btn-box .prod-btn svg {
  width: 1.5rem;
  height: 1.5rem;
  stroke: var(--accent-color);
}
.btn-box .prod-btn.addtowish.active svg {
  stroke: var(--warning-1);
}

.spacer {
  width: 1px;
  height: 2rem;
  background: var(--accent-color-6);
}

/**********************OnlyActiveAndDiscounted************************/
.form-switch {
  position: relative;
  padding-left: 2.6rem;
}
.form-switch .only-active-check-label::after,
.form-switch .form-check-label::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  transition: all 0.2s;
  border-radius: 50%;
  background: var(--White);
  top: calc(50% - 6px);
  left: 2px;
}
.form-switch .only-active-check-label::before,
.form-switch .form-check-label::before {
  content: "";
  position: absolute;
  left: 0rem;
  top: calc(50% - 8px);
  border-radius: calc(var(--b-radius) * 4);
  transition: background-color 0.2s;
  width: 31px;
  height: 16px;
  background: #d1d1d6;
  display: inline-block;
  transition: all 0.4s;
  -webkit-border-radius: calc(var(--b-radius) * 4);
  -moz-border-radius: calc(var(--b-radius) * 4);
  -ms-border-radius: calc(var(--b-radius) * 4);
  -o-border-radius: calc(var(--b-radius) * 4);
}
.form-switch .form-check-input {
  visibility: hidden;
  position: absolute;
}
.form-switch .form-check-input:checked + label::after,
.form-switch .only-dis-check:checked + label::after {
  left: 17px;
  background: #fff;
}
.form-switch .form-check-input:checked + label::before,
.form-switch .only-dis-check:checked + label::before {
  background-color: var(--accent-color);
}

@supports (-webkit-appearance: none) or (-moz-appearance: none) {
  .form-check {
    display: flex;
    align-items: center;
    margin-bottom: 0.6rem;
  }
  .form-check:last-child {
    margin-bottom: 0;
  }

  .form-check input[type=checkbox] {
    --active: var(--White);
    --active: var(--success-2);
    --focus: 2px rgba(39, 94, 254, 0.3);
    --border: #bbc1e1;
    --border-hover: var(--White);
    --border-hover: var(--success-2);
    --disabled: #f6f8ff;
    --disabled-inner: #e1e6f9;
    -webkit-appearance: none;
    -moz-appearance: none;
    height: 21px;
    outline: none;
    display: inline-block;
    vertical-align: top;
    position: relative;
    margin: 0;
    cursor: pointer;
    border: 1px solid var(--bc, var(--border));
    background: var(--b, var(--background));
    transition: background 0.3s, border-color 0.3s, box-shadow 0.2s;
  }

  .form-check input[type=checkbox]:after {
    content: "";
    display: block;
    left: 0;
    top: 0;
    position: absolute;
    transition: transform var(--d-t, 0.3s) var(--d-t-e, ease), opacity var(--d-o, 0.2s);
  }

  .form-check input[type=checkbox]:checked {
    --b: var(--active);
    --bc: var(--active);
    --d-o: 0.3s;
    --d-t: 0.6s;
    --d-t-e: cubic-bezier(0.2, 0.85, 0.32, 1.2);
  }

  .form-check input[type=checkbox]:disabled {
    --b: var(--disabled);
    cursor: not-allowed;
    opacity: 0.9;
  }

  .form-check input[type=checkbox]:disabled:checked {
    --b: var(--disabled-inner);
    --bc: var(--border);
  }

  .form-check input[type=checkbox]:disabled + label {
    cursor: not-allowed;
  }

  .form-check input[type=checkbox]:hover:not(:checked):not(:disabled) {
    --bc: var(--border-hover);
  }

  .form-check input[type=checkbox]:focus {
    box-shadow: 0 0 0 var(--focus);
  }

  .form-check input[type=checkbox]:not([role=switch]) {
    width: 1.07rem;
    height: 1.07rem;
  }

  .form-check input[type=checkbox]:not([role=switch]):after {
    opacity: var(--o, 0);
  }

  .form-check input[type=checkbox]:not([role=switch]):checked {
    --o: 1;
  }

  .form-check input[type=checkbox] + label {
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
    margin-right: 0.5rem;
  }

  .form-check input[type=checkbox]:not([role=switch]) {
    border-radius: 2rem;
  }

  .form-check input[type=checkbox]:not([role=switch]):after {
    width: 5px;
    height: 9px;
    border: 1px solid var(--White);
    border-top: 0;
    border-left: 0;
    left: 5px;
    top: 2px;
    transform: rotate(var(--r, 20deg));
  }

  .form-check input[type=checkbox]:not([role=switch]):checked {
    --r: 43deg;
  }
}
.form-check * {
  box-sizing: inherit;
}

.form-check *:before,
.form-check *:after {
  box-sizing: inherit;
}

/* start box bottom section  */
.box-bottom .btn-wrapper {
  justify-content: center;
  display: flex;
  width: 100%;
  /* text-align: center; */
  position: fixed;
  bottom: 0;
  background-color: var(--text-light-3);
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  z-index: 1001;
}
.box-bottom .btn-wrapper .select-container {
  position: relative;
  display: inline-block;
}
.box-bottom .btn-wrapper .select-container .custom-select {
  min-height: 45px;
  margin-top: 4px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 8px 36px 8px 12px;
  border: 1px solid #ccc;
  border-radius: 1.84rem;
  font-size: 1rem;
  background: var(--primary-main);
  cursor: pointer;
  width: 100%;
  color: var(--text-light-4);
}
.box-bottom .btn-wrapper .select-container .select-icon {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  width: 23px;
  height: 23x;
  pointer-events: none;
}
.box-bottom .btn-wrapper .btn {
  appearance: none;
  /* برای اکثر مرورگرها */
  -webkit-appearance: none;
  /* برای Safari و Chrome */
  -moz-appearance: none;
  /* برای Firefox */
  margin: 5px;
  padding: 10px 20px;
  border: none;
  border-radius: 1.84rem;
  background-color: var(--primary-main);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.box-bottom .btn-wrapper .btn svg {
  width: 24px;
  height: 24px;
}
.box-bottom .btn-wrapper .btn:hover {
  background-color: var(--primary-Darker);
}
.box-bottom .menu-overlay {
  padding: 0.9rem 0;
  overflow-y: scroll;
  display: none;
  position: fixed;
  bottom: 4.625rem;
  left: 0;
  width: 100%;
  height: 40%;
  background-color: var(--text-light-3);
  z-index: 1000;
  /* overflow: hidden; */
}
.box-bottom .menu-overlay .menu-content {
  padding: 20px;
  /* text-align: center; */
  animation: slideUp 0.5s ease forwards;
}
.box-bottom .menu-overlay .menu-content input,
.box-bottom .menu-overlay .menu-content select {
  border-color: var(--text-light-1);
  padding: 0.57rem;
  border-radius: var(--radius);
}
.box-bottom .menu-overlay .menu-content svg {
  width: 24px;
  height: 24px;
}
.box-bottom .menu-overlay .menu-content .text-close {
  color: var(--text-dark-0);
  font-weight: bold;
}
.box-bottom .menu-overlay .menu-content h2 {
  margin: 0 0 10px;
  font-size: 1.5rem;
  color: #333;
}
.box-bottom .menu-overlay .menu-content p {
  font-size: 1rem;
  color: #666;
}
.box-bottom .menu-overlay .menu-content .close-btn {
  margin-bottm: 0.76rem;
  padding: 4px 8px;
  border: none;
  border-radius: 5px;
  background-color: var(--text-red-3);
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease;
  /* &:hover {
        background-color: var(--primary-Darker);
      } */
}
.box-bottom #factories .list-items {
  display: flex;
  flex-wrap: wrap;
}
.box-bottom .fancytree-lastsib {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}
.breadcrumbs-box * {
  font-weight: bold;
  color: black;
}

#productlistsortingmenu {
  /* قاب سوئیچ */
}
#productlistsortingmenu .form-switch {
  position: relative;
  display: flex;
  align-items: center;
}
#productlistsortingmenu .form-check-label {
  position: relative;
  padding-right: 48px;
  /* فاصله سوییچ و متن */
  cursor: pointer;
  user-select: none;
  min-height: 28px;
  line-height: 28px;
  font-size: 15px;
  color: #333;
  font-weight: 500;
  display: inline-block;
}
#productlistsortingmenu .form-check-label::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 34px;
  height: 18px;
  background: #d1d1d6;
  border-radius: 16px;
  transition: background-color 0.2s;
  box-sizing: border-box;
  display: inline-block;
  z-index: 1;
}
#productlistsortingmenu .form-check-label::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 3px;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 50%;
  transition: right 0.2s;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  z-index: 2;
  display: block;
}
#productlistsortingmenu .form-check-input {
  display: none;
}
#productlistsortingmenu .form-check-input:checked + .form-check-label::before {
  background: var(--primary-main);
}
#productlistsortingmenu .form-check-input:checked + .form-check-label::after {
  right: 19px;
}

.BarghnetCategories .fancytree-expander {
  display: none;
}
.BarghnetCategories .fancytree-plain span.fancytree-node:hover span.fancytree-title {
  background-color: var(--primary-main);
  border-color: unset;
  color: var(--text-light-4);
  transition: all 200ms linear;
}
.BarghnetCategories .fancytree-plain.fancytree-container.fancytree-treefocus span.fancytree-active span.fancytree-title, .BarghnetCategories .fancytree-plain.fancytree-container.fancytree-treefocus span.fancytree-selected span.fancytree-title {
  background-color: var(--primary-main);
  border-color: unset !important;
  color: var(--text-light-4);
}
.BarghnetCategories li[role=treeitem][aria-selected=false] {
  /* استایل دلخواه: */
  /* background-color: #f5f5f5; */
}
.BarghnetCategories li[role=treeitem][aria-selected=false] .fancytree-title {
  color: var(--text-dark-0);
  /* مثلا رنگ عنوان رو تغییر بده */
  font-weight: bold;
  border: 1px solid #444;
  padding: 0.5rem 1rem;
  border-radius: 1.5rem;
}
.BarghnetCategories li[role=treeitem][aria-expanded=true] {
  /* >span > span.fancytree-title {
  	background-color: red;
  } */
}
.BarghnetCategories li[role=treeitem][aria-expanded=true] > ul {
  display: flex;
  row-gap: 0.5rem;
  justify-content: space-between;
  padding: 0;
}
.BarghnetCategories li[role=treeitem][aria-expanded=true] > span > span.fancytree-title {
  background-color: var(--primary-main);
  border-color: unset !important;
  color: var(--text-light-4);
  padding: 0.5rem 1rem;
  border-radius: 1.5rem;
  overflow: hidden;
}
.BarghnetCategories #ft-id-1 {
  row-gap: 0.5rem;
  justify-content: space-between;
  display: flex;
}

.ShopFilter #factories .list-items {
  row-gap: 0.5rem;
  justify-content: space-between;
  display: flex;
}
.ShopFilter #factories .list-items .form-check {
  color: var(--text-dark-0);
  font-weight: bold;
  border: 1px solid #444;
  padding: 0.5rem 1rem;
  border-radius: 1.5rem;
  overflow: hidden;
}
.ShopFilter #factories .list-items .form-check:hover {
  background-color: var(--primary-main);
  /* border-color: unset; */
  color: var(--text-light-4);
  transition: all 200ms linear;
}

.select-container .custom-select option {
  background-color: var(--text-light-3);
  color: #333;
}

/* end box bottom section  */
#sort-select option:first-child {
  border-bottom: 2px solid #0078ff;
}

/* start CategoriesDescription  */
.CategoriesDescription {
  direction: ltr;
}
.CategoriesDescription * {
  direction: rtl;
}

.CategoriesDescription {
  direction: ltr;
}
.CategoriesDescription * {
  direction: rtl;
}

.CategoriesDescription {
  overflow-x: hidden;
  height: 20rem;
  overflow-y: scroll;
}

.CategoriesDescription::-webkit-scrollbar-track {
  border-radius: 1rem;
  border: 0.1rem solid #E7EEEE;
}

.CategoriesDescription::-webkit-scrollbar {
  width: 0.6rem;
}

.CategoriesDescription::-webkit-scrollbar-thumb {
  border-radius: 0.5rem;
  background-color: var(--primary-main);
}

/* end CategoriesDescription  */
/* start parent categories  */
.productParentCategory .cats-wrapper {
  margin-bottom: 4.1875rem;
}
.productParentCategory .cats-wrapper .item {
  width: calc(100% / 6);
  max-width: 100%;
  padding: 0.75rem;
  background: var(--text-light-2);
  border-radius: var(--radius);
}
.productParentCategory .cats-wrapper .item .img-box {
  width: 100%;
  aspect-ratio: 2/1.2;
}
.productParentCategory .cats-wrapper .item .img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: unset;
  max-width: 6rem;
  display: block;
  margin: auto;
}
.productParentCategory .cats-wrapper .item .title {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  font-size: 0.9rem;
  font-weight: bold;
  color: var(--text-dark-1);
}
@media (max-width: 1200px) {
  .productParentCategory .cats-wrapper .item {
    width: calc(100% / 4);
  }
}
@media (max-width: 992px) {
  .productParentCategory .cats-wrapper .item {
    width: calc(100% / 3);
  }
}
@media (max-width: 768px) {
  .productParentCategory .cats-wrapper .item {
    width: calc(100% / 2)-2rem;
  }
}
@media (max-width: 480px) {
  .productParentCategory .cats-wrapper .item {
    width: 45%;
  }
}

/* end parent categories  */