﻿#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);
			}
		}
	}

	.slider-controller {
		position: absolute;
		top: calc(50% - 1.8rem);
		left: 0;
		right: 0;
		z-index: 100;

		svg {
			width: 1.6rem;
			height: 1.6rem;
			stroke: #444;
			cursor: pointer;
		}

		.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: 80%;
	height: 28px;
	line-height: 28px;
	border-radius: 5px;
	background-color: #f8f8f8;
	display: inline-block;
	overflow: hidden;
	border: none;
	margin: 6px 0;
	text-align: center;
	color: #3c3c3c;
	font-size: 11px !important;
	line-height: 1.571;
	letter-spacing: .3px;
}

#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 {
	border: 0.1em solid var(--silverLight);
	margin-bottom: 1.5rem;
	padding: 10px;
	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;
}

/**********************OnlyActiveAndDiscounted************************/
.only-active-check-label::after,
.only-dis-check-label::after {
	content: '';
	position: absolute;
	width: 12px;
	height: 12px;
	transition: all .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 .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;
}

.pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	list-style: none;

	gap: 0.3rem;
}

.pagination .page-item {
	margin: 0px;
}

.pagination .page-item .page-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	background-color: #fff;
	border: solid 1px #EBEBEB;
	border-radius: 5px;
	font-size: 13px;
	color: #484848;
	font-family: 'Arial';
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-ms-border-radius: 5px;
	-o-border-radius: 5px;

	span {
		display: block;
		line-height: 0;
	}
}

.pagination .page-item.active .page-link,
.pagination .page-item:hover .page-link {
	background-color: var(--button-color);
	border: solid 1px var(--button-color);
	color: #fff;
}

.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 {
	background: unset;
	border: none;
	display: flex;
	flex-direction: column;
}

.accordion-panel {
	.acc-head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 0;
		cursor: pointer;

		svg {
			vertical-align: middle;
			width: 1.5em;
			height: 1.5em;
			fill: var(--accent-color);
			stroke: var(--accent-color);
			font-size: medium;
		}

		.title {
			font-size: 1.06rem;
		}
	}

	.acc-body {
		.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;
}

.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;
		}
	}
}

.checkbox {
	label {
		display: flex;
	}
}

.product-list-page {
	.product-list {
		.item-grid {
			display: flex;
			flex-direction: column;
			justify-content: space-between;
			width: calc(25% - 0.75rem);

			.discountlabel {
				position: absolute;
				right: 0;
				padding: 2px;
				border-radius: 0 .66rem 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: 768px) {
		.product-list {
			.item-grid {
				width: calc((100% / 3) - 0.75rem);
			}
		}
	}

	@media(max-width: 570px) {
		.product-list {
			.item-grid {
				width: calc((100% / 2) - 0.75rem);
			}
		}
	}

	@media(max-width: 375px) {
		.product-list {
			.item-grid {
				width: 100%;
			}
		}
	}
}

.SideBar {
	position: sticky;
	top: 10rem;
	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;

	.ShopFilter .FilterHead strong {
		font-size: 14px;
		color: #000;
	}

	.main-label {
		display: block;
	}

	.clearfilters {
		color: var(--warning-color-1);
		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);
					}
				}
			}
		}
	}
}

#productlistsortingmenu {
	-white-space: nowrap;

	svg {
		width: 1.06rem;
	}
}

.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);
		}

		&.active {
			background: var(--bs-gray-400);
		}
	}
}

.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 .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 .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);
	}
}