
.hotengine_sort_products #menu_c .headm, .hotengine_sort_products #menu_c .footm {display: none;}
.hotengine_sort_products #menu_c { border: none; background: none; text-align: right;}
.hotengine_sort_products #menu_c  select { 
  background: transparent; 
  padding: 5px 22px 5px 5px; 
  font-size: 12px;
  line-height: 1;
  border-radius: 2px;
  -webkit-appearance: none;
  overflow: hidden;
  background: url(/templates/styles/menu_arrow/arrow-down.svg) no-repeat 95%; background-size: 16px;
  line-height: initial;
  }
  @-moz-document url-prefix(){ 
  .hotengine_sort_products #menu_c select {
    padding:0px!important;
    background:none!important;
  }
  }
/* Sort Style 2 — segmented control */
.hotengine_sort_products #menu_c #hotengine-sort-products-generated{
	display:inline-flex;
	justify-content:flex-end;
	flex-wrap:wrap;
	align-items:center;
	gap:4px;
	margin:0 0 12px;
	padding:4px;
	border-radius:12px;
	background:#f1f3f5;
	border:1px solid #e5e7eb;
}
.hotengine_sort_products #menu_c #hotengine-sort-products-generated span{
	display:inline-flex;
	flex-wrap:wrap;
	align-items:center;
	gap:4px;
	padding:0;
}
.hotengine_sort_products #menu_c #hotengine-sort-products-generated label{
	display:inline-block;
	margin:0;
}
.hotengine_sort_products #menu_c #hotengine-sort-products-generated select{
	-webkit-appearance:none;
	appearance:none;
	line-height:1.4;
	height:auto;
	border:0;
	background-color:transparent;
	background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23666666' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
	background-repeat:no-repeat;
	background-position:right 8px center;
	background-size:12px;
	color:#374151;
	border-radius:8px;
	padding:7px 26px 7px 10px;
	font-size:13px;
	cursor:pointer;
	transition:all .2s ease-in-out;
}
.hotengine_sort_products #menu_c #hotengine-sort-products-generated select:hover,
.hotengine_sort_products #menu_c #hotengine-sort-products-generated select:focus{
	background-color:#fff;
	box-shadow:0 1px 3px rgba(0,0,0,.10);
	outline:none;
}
.sort_show_numonpage{display:inline-block;padding:0 4px;color:#374151;}
.sort_show_numonpage::before{content:""!important;}
@media (max-width:500px){
	.hotengine_sort_products #menu_c span::before{display:none;}
}
@media (max-width:370px){
	.hotengine_sort_products #menu_c #hotengine-sort-products-generated select{max-width:113px;padding-right:24px;}
}

/* mobile: keep one row, truncate text with ellipsis, hide label */
@media (max-width:600px){
	.hotengine_sort_products #menu_c #hotengine-sort-products-generated{
		display:flex !important;
		flex-wrap:nowrap !important;
		width:100% !important;
		max-width:100% !important;
		overflow:visible !important;
		white-space:normal !important;
		gap:6px !important;
	}
	.hotengine_sort_products #menu_c #hotengine-sort-products-generated span{
		display:flex !important;
		flex-wrap:nowrap !important;
		width:100% !important;
		min-width:0 !important;
		gap:6px !important;
	}
	.hotengine_sort_products #menu_c #hotengine-sort-products-generated label{
		display:block !important;
		flex:1 1 0 !important;
		min-width:0 !important;
		margin:0 !important;
	}
	.hotengine_sort_products #menu_c #hotengine-sort-products-generated select{
		width:100% !important;
		max-width:100% !important;
		min-width:0 !important;
		text-overflow:ellipsis !important;
		white-space:nowrap !important;
		overflow:hidden !important;
		padding-right:22px !important;
	}
	.hotengine_sort_products #menu_c span::before{
		display:none !important;
	}
}
