﻿#subCategories {
	.maincat-title {
		font-size: 1.2rem;
		font-weight: bold;
	}

	.slider-row {
		margin: 1.6rem 0 1rem;
		padding: 1.8rem 0;
		background: url(/Portals/0/images/subcat-bg.jpg) repeat top right;
		background-size: cover;
	}

	.subcat-slider {
		.swiper-slide {
			display: block;
			text-align: center;

			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);
			}

			.subcat-title {
				font-size: 1rem;
				margin-top: 1rem;
				color: var(--accent-color);
				font-weight: normal;
			}
		}
	}

	.slider-controller {
		position: absolute;
		top: calc(50% - 2.4rem);
		left: 0;
		right: 0;
		z-index: 100;

		.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);

			svg {
				width: 1.6rem;
				height: 1.6rem;
				stroke: #444;
				cursor: pointer;
			}
		}

		.swiper-button-disabled {
			opacity: 0;

			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: "\2611";
	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;

	#clearfilters {
		color: var(--accent-color);
	}
}

.fancytree-icon {
	display: none !important;
}

.ShopFilter .FilterBody {
	max-height: 30vh;

}

#priceranges {
	.FilterBody {
		max-height: unset;
	}

	#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-side {
		width: calc(100% - 5rem);
		white-space: nowrap;
	}
}

.sort-list {
	.sort-item {
		background: none;
		border: none;
		padding: 0;
		cursor: pointer;
		font-size: 12px;

		&:disabled {
			color: black !important;
			font-weight: bold;
		}
	}

	@media (max-width: 768px) {
		padding: 0rem 0.3rem;
		border-radius: var(--radius-5);
		border: solid 1px var(--accent-color-7);
	}
}

.checkbox {
	label {
		display: flex;
	}
}

.product-list-page {
	.pagination {
		gap: 0.5rem;
		display: flex;
		list-style: none;
	}

	.product-list {
		.item-grid {
			width: calc((100% / 4) - 1.4rem);

			.discountlabel {
				position: absolute;
				right: 0;
				padding: 2px;
				border-radius: 0 0.66rem 0 0.66rem;
				top: 0;
			}

			.price-box {
				min-height: 43px;

				svg {
					width: 1rem;
				}

				strike {
					font-size: 11px;
				}
			}

			.rate-and-discount {
				min-height: 30px;
			}

			.discount {
				height: 30px;
				border-radius: 1rem;
			}
		}

		@media (max-width: 570px) {
			.item-grid {
				width: calc((100% / 2) - 0.3rem);
			}
		}
	}
}

.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;

	.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);

		input {
			width: 100%;
			height: 3.2rem;
			background: transparent;
			outline: none;
		}

		.search-btn {
			display: block;

			svg {
				display: block;
				width: 1.4rem;
				min-width: 1.4rem;
				stroke: #707070;
			}
		}
	}

	.accordion-panel {
		.acc-head {
			display: flex;
			align-items: center;
			justify-content: space-between;
			padding: 0 0 0.57rem;
			cursor: pointer;

			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;
			}

			.title {
				font-size: 1.06rem;
				color: var(--accent-color);

				&.size-icon {
					padding-right: 1.5rem;
					background: url(../images/size-icon.png) no-repeat right center;
				}

				&.color-icon {
					padding-right: 1.5rem;
					background: url(../images/color-icon.png) no-repeat right center;
				}

				&.price-icon {
					padding-right: 1.5rem;
					background: url(../images/dollar-icon.png) no-repeat right center;
				}

				&.category-icon {
					padding-right: 1.5rem;
					background: url(../images/category-icon.png) no-repeat right center;
				}
			}
		}

		.acc-body {
			padding-top: 1rem;

			.desc {
				font-size: 1rem;
			}

			&.open {
				display: block;
			}
		}

		&.open {
			.acc-head {
				.icon {
					transform: rotate(180deg);
					-webkit-transform: rotate(180deg);
					-moz-transform: rotate(180deg);
					-ms-transform: rotate(180deg);
					-o-transform: rotate(180deg);
				}
			}
		}
	}

	.ShopFilter .FilterHead strong {
		font-size: 14px;
		color: #000;
	}

	.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);
	}

	.bootstrap-tagsinput .tag [data-role="remove"] {
		position: relative;
		font-weight: normal;
	}

	.bootstrap-tagsinput .tag [data-role="remove"]:hover:active {
		box-shadow: none;
	}

	.main-label {
		display: block;
	}

	#filters-tag {
		.title {
			font-size: 1.07rem;
		}

		.clearfilters {
			color: var(--text3);
			cursor: pointer;
		}
	}

	.ui-fancytree {
		gap: 0;

		>li {
			.fancytree-node {
				display: flex;
				align-items: center;
				padding: 0.3rem 0;

				.fancytree-title {
					font-family: "iranSite";
					line-height: 2rem;
					/* font-weight: bold; */
					white-space: normal;
					background: none !important;
					border: none !important;
					margin: 0;
					padding: 0;
				}

				.fancytree-expander {
					display: none;
				}

				&.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;
					}

					&.fancytree-expanded {
						.fancytree-expander {
							transform: rotate(-90deg);
							-webkit-transform: rotate(-90deg);
							-moz-transform: rotate(-90deg);
							-ms-transform: rotate(-90deg);
							-o-transform: rotate(-90deg);
						}
					}
				}

				ul {
					.fancytree-title {
						font-weight: normal;
					}
				}
			}

			.fancytree-icon {
				display: none !important;
			}

			&:last-child {
				.fancytree-node {
					border: none;
				}
			}

			ul {
				.fancytree-node {
					.fancytree-title {
						font-weight: normal;
					}
				}
			}
		}
	}

	.customlist-item {
		display: flex;
		align-items: center;
		gap: 0.3rem;
		margin-bottom: 0.3rem;
		cursor: pointer;

		.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;

			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);
			}
		}

		.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;
		}

		input {
			position: absolute;
			opacity: 0;
		}
	}

	.color-list {
		.customlist-items {
			display: flex;
			flex-wrap: wrap;

			.customlist-item {
				display: flex;
				vertical-align: top;
				margin: 0.2rem 0.28rem;
				text-align: center;
				flex: 0 0 43%;

				.customlist-color {
					display: block;
					margin: 0 auto 0.3rem;

					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) {
		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;

		.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;
		}

		&.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;

	svg {
		width: 1.06rem;
	}
}

.content-holder {
	height: 100%;

	.titleProdcut {
		display: block;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}
}

.thumbnail-holder {
	min-height: 5.6rem;
}

.thumbnail-box {
	white-space: nowrap;
	overflow: auto;

	.item {
		width: 4rem;
		height: 4rem;

		img {
			width: 100%;
			height: 100%;
			object-fit: cover;
		}
	}
}

.btn-box {
	margin-top: 1.2rem;

	.prod-btn {
		width: 2.6rem;
		height: 2.6rem;
		border-radius: 50%;

		svg {
			width: 1.5rem;
			height: 1.5rem;
			stroke: var(--accent-color);
		}

		&.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;

	.only-active-check-label::after,
	.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;
	}

	.only-active-check-label::before,
	.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-check-input {
		visibility: hidden;
		position: absolute;
	}

	.form-check-input:checked+label::after,
	.only-dis-check:checked+label::after {
		left: 17px;
		background: #fff;
	}

	.form-check-input:checked+label::before,
	.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;

		&: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;

		.select-container {
			position: relative;
			display: inline-block;

			.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);
			}

			.select-icon {

				position: absolute;
				top: 50%;
				right: 12px;
				transform: translateY(-50%);
				width: 23px;
				height: 23x;
				pointer-events: none;
			}
		}



		.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;

			svg {
				width: 24px;
				height: 24px;
			}

			&:hover {
				background-color: var(--primary-Darker);
			}
		}
	}

	.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; */

		.menu-content {
			padding: 20px;
			/* text-align: center; */
			animation: slideUp 0.5s ease forwards;

			input,
			select {
				border-color: var(--text-light-1);
				padding: 0.57rem;
				border-radius: var(--radius);
			}

			svg {
				width: 24px;
				height: 24px;
			}

			.text-close {
				color: var(--text-dark-0);
				font-weight: bold;
			}

			h2 {
				margin: 0 0 10px;
				font-size: 1.5rem;
				color: #333;
			}

			p {
				font-size: 1rem;
				color: #666;
			}

			.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);
        } */
			}
		}
	}

	#factories {
		.list-items {
			display: flex;
			flex-wrap: wrap;
		}
	}

	.fancytree-lastsib {
		display: flex;
		flex-wrap: wrap;
		gap: 0.5rem;
	}
}

@keyframes slideUp {
	from {
		transform: translateY(100%);
	}

	to {
		transform: translateY(0);
	}
}

/* end box bottom section  */