﻿.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:1rem;
}


.pagination .page-item .page-link {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size:1.15rem;
	color: var(--Lsilver);
	
	
	span {
		display: block;
		line-height: 0;
	}
}

.pagination .page-item.active .page-link,
.pagination .page-item:hover .page-link {
	color: var(--Black);
	border-bottom:0.2rem solid var(--accent-color);
}
.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;
	gap: 1.5rem;
}

.accordion-panel {
	.acc-head {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 0;
		cursor: pointer;

		.icon {
			position: relative;
			width: 10px;
			height: 10px;
			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;
		}

		.title {
			font-size: 1rem;
		}
	}

	.acc-body {
		padding-top: 16px;
		display: none;

		.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;
}

.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 {
		min-height: 60vh;
		border-radius: 10px;

		.item-grid {
			width: calc((100% / 5) - 8px);
			margin: 4px;
			padding: 5px 5px 12px;
			border-radius: 4px;

			&:hover {
				box-shadow: 0px 0px 4px -3px #000;
			}

			.cat-logo {
				display: flex;
				align-items: center;
				justify-content: center;
				position: absolute;
				top: 10px;
				left: 10px;
				width: 30px;
				height: 30px;
				border: solid 1px #F5F5F5;
				padding: 2px;
				background: #fff;
				border-radius: 5px;
				-webkit-border-radius: 5px;
				-moz-border-radius: 5px;
				-ms-border-radius: 5px;
				-o-border-radius: 5px;
				overflow: hidden;
			}

			

			.rate-and-discount {
				min-height: 30px;
			}

			.discount {
				width: 30px;
				height: 30px;
				background-color: var(--button-color);
				border-radius: 50%;
				font-size: 11px;
				color: #fff;
				font-family: 'Arial';
			}
		}

		@media(max-width:1320px) {
			.item-grid {
				width: calc((100% /3) - 8px);
			}
		}

		@media(max-width:570px) {
			.item-grid {
				width: calc((100% /2) - 8px);
			}
		}

		@media(max-width:480px) {
			.item-grid {
				width: calc(100% - 8px);
			}
		}
	}
}

.SideBar {
	position: -webkit-sticky;
	position: sticky;
	top: 100px;
	height: fit-content;
}

#productlistsortingmenu {
	white-space: nowrap;

	.sort-list {
		overflow-x: auto;
		padding: 5px 0 8px;
	}

	svg {
		min-width: 16px;
	}
}


@media(max-width:768px) {
	.productstabinfo .SideBar {
		top: 0;
		right: -100%;
		background: var(--White);
		height: 100vh;
		transition: all ease-in-out 0.4s;
		display: block;
		padding: 0;
		margin-bottom: 16px;
		z-index: 22;
	}

	.productstabinfo .SideBar.active {
		right: 0
	}

	.productstabinfo .SideBar:after {
		content: '';
		position: fixed;
		height: 100vh;
		width: 100vw;
		background: rgba(0, 0, 0, 0.2);
		z-index: -1;
		display: block;
		right: 0;
		top: 0;
		backdrop-filter: blur(3px);
		opacity: 0;
		transition: all ease-in-out 0.5s;
		visibility: hidden;
	}

	.productstabinfo .SideBar.active:after {
		opacity: 1;
		visibility: visible;
	}

	.productstabinfo .SideBar #listfilters {
		padding-top: 10vh;
		position: relative;
		z-index: 22222222;
		background: var(--White);
		padding: 1rem;
		height: 100vh;
		width: 100%;
		overflow: auto;
	}
}
.NameProduct{
	color: var(--Black) !important;
}
.NameProduct::before{
	width: 0.5rem;
	height: 0.5rem;
	content: "";
	display: block;
	border-radius: 100%;
	background-color:var(--accent-color);

}
.breadcrumbs-box svg{
	width:0.7rem;
	height: 0.7rem;
}
.LinkToProduct{
	color:var(--CustomColor2) !important;
}
.ItemSortingProduct svg{
	width:0.9rem;
}
.BoxSummaryProduct{
	height: 4.5rem;
	overflow: hidden;
}
.InnerProductList a img{
	border-radius: var(--b-radius);
	overflow: hidden;
}
.BottomCategory{
	border: 0.1rem solid var(--Lgrey);
}
.DescCategoriesList{
	height:45vh;
	overflow: auto;
	
}
.DescCategoriesList::-webkit-scrollbar {
	width: 0.5rem;
  }
  
  .DescCategoriesList::-webkit-scrollbar-track {
	background-color:var(--Lgrey);
  }
  
  .DescCategoriesList::-webkit-scrollbar-thumb {
	background: var(--accent-color);
  }

  .page-breadcrumbs>.container {
	padding: 1rem 0 !important;
}
.InnerProductList:hover .BoxDescProduct{
	background: rgb(237,124,52);
background: linear-gradient(180deg, rgba(237,124,52,1) 0%, rgba(237,52,56,1) 100%);
}
.InnerProductList:hover .BoxDescProduct a , .InnerProductList:hover .BoxDescProduct .BoxSummaryProduct{
	color:var(--White) !important;
}
.InnerProductList:hover svg {
    filter: brightness(1000%);
}
.InnerProductList{
	border-radius: var(--b-radius);
	box-shadow: 0 0 0.3rem rgba(0, 0, 0, 0.2);
	overflow: hidden;
}
.DescCategoryList{
	border-bottom: 0.1rem solid var(--accent-color);
	border-radius:var(--b-radius);
	bottom: -2rem;
	right: 1.5rem;
	left: 1.5rem;
	transition: all 0.5s linear;
}
.DescCategoryList:hover {
	background-color: #ED3438;
}
.CategoryListProduct a{
	color:var(--BgDark) !important;
}
.BoxImgCat{
	border-radius: var(--b-radius);
	
}
.CategoryListProduct{
	margin-bottom:4.5rem;
}
.CategoryListProduct img{
	border-radius: var(--b-radius);
}
.BoxDescriptionProduct img{
	max-width: 100%;
	height:auto;
}
