.shop-page {}

.shop-page .child-categories {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 16px;
	padding-top: 30px;
}

.shop-page .child-categories .child-category {
	font-size: 12px;
	font-weight: 900;
	line-height: 18px;
	text-align: center;
	color: var(--e-global-color-text);
	text-transform: uppercase;
	padding: 24px 18px;
	border-radius: 8px;
	border: 1px solid #B0AFB1;
	min-width: 176px;
	max-width: 200px;
	height: 64px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.shop-page .child-categories .child-category:hover,
.shop-page .child-categories .selected {
	cursor: pointer;
	box-shadow: 0 0 0 0.5px #265F50, 0.3em 0.3em 1em rgb(38 95 80 / 12%);
	border: 1px solid #265F50;
}

.shop-page .pxl-select {
	width: 240px;
	height: 48px;
	border-radius: 8px;
	color: #7B797C;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	text-align: left;
	-webkit-appearance: none;
	-moz-appearance: none;
	background: transparent;
	background-image: url('../img/dropdown-down.svg');
	background-repeat: no-repeat;
	background-position-x: 95%;
	background-position-y: 50%;
}



.shop-page .pxl-select .pxl-option {
	color: #7B797C;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	text-align: left;
}

.shop-page .pxl-select .pxl-option:hover {
	background-color: #F2F1ED !important;
}

.shop-page .search-icon-in-input {
	position: absolute;
	z-index: 96;
	top: 11px;
	left: 11px;
}

.shop-page #product-search {
	width: 280px;
	height: 48px;
	border: 1px solid #B0AFB1;
	border-radius: 8px;
	color: #B0AFB1;
	font-size: 14px;
	font-weight: 400;
	line-height: 20px;
	text-align: left;
	padding-left: 40px;
}

.shop-page #product-search:hover {
	border: 1px solid #22453C;
}

.shop-page hr {
	display: none;
}

.shop-page .box {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 40px;
}

.shop-page .box .left {
	display: flex;
	justify-content: start;
	align-items: center;
	gap: 16px;
}

#second-level-cat-filter {}

.shop-page .left .search-result-count-holder {
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	text-align: left;
	color: var(--e-global-color-92fa64b);
}

.shop-page .right {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	position: relative;
}

.shop-page #product-list {
	margin: 24px 0 80px 0;
}

.pxl-select-wrapper {
	position: relative;
	user-select: none;
}

.pxl-select-wrapper .open {
	box-shadow: 0px 4px 40px 0px #0000000e;

}

.pxl-select {
	position: relative;
	display: flex;
	flex-direction: column;
}

.no-border-radius-bottom {
	border-bottom-left-radius: 0px !important;
	border-bottom-right-radius: 0px !important;
}

.filter-counter {
	background-color: #FFD600;
	border-radius: 4px;
	color: #22453C;
	font-size: 10px;
	font-weight: 600;
	line-height: 12px;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 16px;
	height: 16px;
	padding: 10px;
	opacity: 0;
}

.pxl-select-trigger {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 16px;
	background-color: white;
	border: 1px solid #ccc;
	cursor: pointer;
	font-size: 14px;
	border-radius: 8px;
	transition: all 0.3s;
	color: #0D2620 !important;
	max-height: 48px;
}

.pxl-select-trigger:hover {
	border-color: #888;
}

.pxl-select-trigger svg {
	transition: transform 0.3s;
}

.pxl-select-trigger .inline {
	display: flex;
	align-items: center;
	gap: 6px;
}

.pxl-select.open .pxl-select-trigger:after {
	transform: rotate(180deg);
}

.pxl-select-trigger .inline .tick {
	display: flex;
	justify-content: center;
	align-items: center;
}

.pxl-options {
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	background-color: white;
	border: 1px solid #ccc;
	border-top: none;
	display: none;
	flex-direction: column;
	z-index: 100;
}

.pxl-select.open .pxl-options {
	display: flex;
	border-top: 1px solid #B0AFB1;
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
	padding: 12px 0;
}

.pxl-option,
.child-child-category-container {
	padding: 8px 16px;
	cursor: pointer;
	transition: background-color 0.3s ease;
	display: flex;
	justify-content: start;
	gap: 6px;
}

.pxl-option:hover {
	background-color: #f5f5f5;
}

.pxl-options .selected,
.child-child-category-container:hover span {
	color: #0D2620 !important;
}

.child-child-category-container .pxl-checkbox-container {
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
	text-align: left;
}

.pxl-option.selected::after {
	content: "";
	display: inline-block;
	width: 24px;
	height: 24px;
	background-image: url('../img/dropdown-tick.svg');
	background-size: contain;
	background-repeat: no-repeat;
}

.pxl-select-trigger:after {
	content: "";
	display: inline-block;
	width: 24px;
	height: 24px;
	background-image: url('../img/dropdown-down.svg');
	background-size: contain;
	background-repeat: no-repeat;
	margin-left: 8px;
	transition: transform 0.2s ease-in-out;
}

#second-level-cat-filter .pxl-checkbox-container input[type="checkbox"]:checked+span {
	color: #0D2620;
}

.mobile-filter-buttons,
#close-mobile-filter,
#pxl-second-lvl-filter,
#open-mobile-filter {
	display: none;
}


/* Responsive */
@media only screen and (max-width: 1024px) {

	.shop-page .child-categories,
	#close-mobile-filter,
	#open-mobile-filter {
		display: block;
	}

	#open-mobile-filter {
		width: 48px;
		height: 48px;
		border: 1px solid #B0AFB1;
		border-radius: 8px;
		display: flex;
		justify-content: center;
		align-items: center;
		position: relative;
	}

	#open-mobile-filter .filter-counter {
		position: absolute;
		top: 4px;
		right: 4px;
		width: 16px;
		height: 16px;
		padding: 0;
	}

	.filter-overlay {
		position: fixed;
		background-color: rgba(34, 34, 34, 0.8);
		left: 0;
		top: 0;
		width: 100%;
		height: 100%;
		z-index: 1098;
		visibility: hidden;
		opacity: 0;
		transition: all 0.3s ease;
	}

	.filter-overlay.active {
		visibility: visible;
		opacity: 1;
	}

	#pxl-second-lvl-filter {
		background-color: #FFFFFF;
		position: absolute;
		top: -265px;
		left: -15px;
		height: 101vh;
		width: 94%;
		/*display: flex !important;*/
		flex-direction: column;
		z-index: 1110;
		border-right: 1px solid #B0AFB1;
		transition: all 0.3s;
	}

	#pxl-second-lvl-filter .pxl-select {
		width: 100%;
		height: unset;
		flex: 1;
		background-image: none;
	}

	#pxl-second-lvl-filter .pxl-select-trigger {
		background-color: #FFFFFF;
		padding: 16px 24px;
		border-bottom: 1px solid #B0AFB1;
		border-radius: 0px;
		min-height: 78px;
	}

	#pxl-second-lvl-filter .pxl-select-trigger:after {
		background-image: none;
		display: none;
	}

	#pxl-second-lvl-filter .pxl-options {
		position: unset;
		display: block;
		padding-top: 24px;
		border: none;
	}

	#pxl-second-lvl-filter .pxl-option,
	.child-child-category-container {
		padding: 8px 8px 8px px;
	}

	#pxl-second-lvl-filter .child-child-category-container .pxl-checkbox-container {
		font-size: 14px;
		font-weight: 400;
		line-height: 20px;
		text-align: left;
	}

	#second-level-cat-filter {
		/*min-height: 75vh;*/
	}

	.mobile-filter-buttons {
		display: flex;
		flex-direction: column;
		padding: 24px;
		gap: 16px;
	}

	.mobile-filter-buttons button {
		max-height: 40px;
		display: flex;
		justify-content: center;
		align-items: center;
	}

}

.shop-page .child-categories .owl-stage {
	/*display: flex;*/
}

@media only screen and (max-width: 767px) {

	.shop-page .child-categories {
		padding-top: 14px;
		padding-bottom: 24px;
	}

	.shop-page hr {
		display: none;
		width: 100vw;
		position: relative;
		margin-left: -50vw;
		left: 50%;
		border: 0;
		border-top: 1px solid #B0AFB1;
	}

	#pxl-second-lvl-filter {
		top: -175px;
		left: -24px;
	}

	.shop-page #product-list {
		margin: 56px 0 80px 0;
	}

	body:not(.post-type-archive-product) .shop-page .left .search-result-count-holder {
		position: absolute;
		top: 262px;
	}
	body.post-type-archive-product .shop-page .left .search-result-count-holder {
		position: absolute;
		top: 140px;
	}
}



@media only screen and (max-width: 700px) {

	.shop-page .pxl-select {
		width: 100%;
	}
	.shop-page .pxl-select-wrapper{
		width: 100%;
	}

	body:not(.post-type-archive-product) .shop-page .left .search-result-count-holder {
		top: 233px;
	}
	body.post-type-archive-product .shop-page .left .search-result-count-holder {
		position: absolute;
		top: 105px;
	}

	.shop-page #product-search {
		width: 230px;
	}
}


@media only screen and (max-width: 580px) {

	.shop-page .box {
		padding-top: 0px;
	}

	.shop-page #product-search {
		width: 50px;
		padding-left: 32px;
	}

	.shop-page .right {
		width: 100%;
		max-width: unset;
		justify-content: start;
		margin: 0 0 0 8px;
		gap: 8px;
	}

	.shop-page .open-product-search {
		width: 230px !important;
		padding-left: 35px !important;
	}

	.shop-page .hide-product-sorting {
		display: none;
	}

	.shop-page #product-list {
		margin: 56px 0 60px 0;
	}

	.shop-page .child-categories .child-category {
		font-size: 10px;
		line-height: 12px;
		max-width: 128px;
		max-height: 48px;
        font-weight:600;
	}

	.pxl-select-trigger {
		font-size: 12px;
	}

	.pxl-select-trigger .tick {
		display: none !important;
	}

	#pxl-second-lvl-filter .pxl-select-trigger {
		font-size: 16px;
	}

	.shop-page .child-categories .child-category {
		min-width: 128px;
	}

	body:not(.post-type-archive-product) .shop-page .left .search-result-count-holder {
		top: 156px;
	}
}

@media only screen and (max-width: 450px) {
	/*#product-sorting {
		max-width: 160px;
	}*/
}

@media only screen and (max-width: 330px) {
	.shop-page .search-icon-in-input {
		left: 12px;
	}
}