/* woocommerce/loop/orderby.php */
.ordering-desktop {
	display: flex;
	align-items: center;
	justify-content: end;
	width: 22%;
}

.orderby {
	background-color: #F2F2F2;
	box-shadow: none;
	display: block;
	font-size: 1rem;
	line-height: calc(1.42857);
	outline: none;
	text-overflow: ellipsis;
	white-space: nowrap;
	width: 100%;
	z-index: 10;
	padding: 16px 32px 16px 16px;
	color: #7F7F7F !important;
	border-radius: 8px;
	border: none;
	cursor: pointer;
}

.ordering-mobile, .ordering-desktop {
	display: flex;
	gap: 8px;
	float: left;
}

.filter-svg, .sort-svg {
	padding: 0px 4px 0px 6px;
	display: flex;
}

.filter-svg svg, .sort-svg svg {
	cursor: inherit;
	width: 20px;
	height: 20px;
	transform: rotate(0deg);
	fill: currentColor;
}

.filter-btn, .sort-btn {
	display: flex;
	-webkit-box-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	align-items: center;
	gap: 4px;
	box-sizing: border-box;
	outline: none;
	cursor: pointer;
	appearance: none;
	padding: 8px 16px 8px 8px;
	position: relative;
	font-weight: bold;
	width: fit-content;
	border-radius: 8px;
	height: auto;
	font-size: 1rem;
	background: transparent;
	border: 1px solid #000;
	color: #000;
}

.filter-btn span, .sort-btn span {
	color: #000 !important;
	font-weight: bold;
	font-size: 1rem;
}

.span-filter-btn, .span-sort-btn {
	color: inherit;
	display: block;
	text-align: center;
	position: absolute;
	inset: 0px;
	margin: -2px;
	width: calc(100% + 4px);
	border-radius: 4px;
	overflow: hidden;
	cursor: pointer;
}

.sort {
	position: relative;
	display: flex;
}

.sort option {
	color: initial;
}

.orderby-mobile, .orderby-desktop {
	color: transparent;
	margin-right: 0px;
	position: absolute;
	top: 0;
	left: 8px;
	border: none;
	display: block;
	outline: none;
	white-space: nowrap;
	text-overflow: ellipsis;
	background-color: transparent;
	box-shadow: none;
	cursor: pointer;
	width: 130px;
	font-size: 1rem;
	height: 40px;
	z-index: 1;
	padding-right: 24px;
}

@media (max-width: 1450px) {
	.ordering-desktop {
		width: 27%;
	}
}

@media (max-width: 1200px) {
	.ordering-desktop {
		width: 33%;
	}
}

@media (max-width: 991px) {
	.ordering-desktop {
		display: none;
	}
}

@media (min-width: 992px) {
	.ordering-mobile {
		display: none;
	}
}
