/**
 * DAF Marketplace — Toolbar Styles
 * Location: /assets/front/toolbar.css
 */

.dafmp-market-toolbar,
.hdaf-market-toolbar {
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:18px;
	margin:0 0 22px;
	padding:14px 16px;
	background:#fff;
	border:1px solid #E2E8F0;
	border-radius:14px;
}

.dafmp-toolbar__group,
.dafmp-toolbar__actions,
.dafmp-market-toolbar__left,
.dafmp-market-toolbar__right,
.dafmp-market-toolbar__sort,
.dafmp-market-toolbar__summary,
.dafmp-market-toolbar__center,
.hdaf-toolbar__group,
.hdaf-toolbar__actions,
.hdaf-market-toolbar__left,
.hdaf-market-toolbar__right,
.hdaf-market-toolbar__sort,
.hdaf-market-toolbar__summary,
.hdaf-market-toolbar__center,
.dafmp-market-toolbar__filters-form,
.dafmp-market-toolbar__meta {
	display:flex;
	align-items:center;
	gap:12px;
	min-width:0;
}

.dafmp-market-toolbar__left,
.hdaf-market-toolbar__left {
	flex:1 1 auto;
	flex-wrap:wrap;
}

.dafmp-market-toolbar__right,
.hdaf-market-toolbar__right {
	margin-left:auto;
	flex:0 0 auto;
	flex-wrap:wrap;
	justify-content:flex-end;
}

.dafmp-market-toolbar__filter-trigger,
.dafmp-market-toolbar__apply,
.dafmp-market-toolbar__results,
.hdaf-market-toolbar__results,
.dafmp-market-toolbar__view,
.hdaf-market-toolbar__view,
.dafmp-market-toolbar__badge,
.hdaf-market-toolbar__badge {
	display:inline-flex;
	align-items:center;
	justify-content:center;
}

.dafmp-market-toolbar__filter-trigger{
gap:8px;min-height:44px;padding:0 16px;background:#8bc34a;border:1px solid #8bc34a;border-radius:12px;color:#FFF;font-size:14px;font-weight:700;line-height:1;text-decoration:none;white-space:nowrap;transition:background-color .2s ease,border-color .2s ease,color .2s ease,transform .2s ease
}

.dafmp-market-toolbar__filter-trigger:hover,
.dafmp-market-toolbar__filter-trigger:focus{
background:#7eb63f;border-color:#7eb63f;color:#FFF;transform:translateY(-1px)
}

.dafmp-market-toolbar__filter-icon {
	display:inline-flex;
	align-items:center;
	justify-content:center;
	width:16px;
	height:16px;
	flex:0 0 16px;
}

.dafmp-market-toolbar__filter-icon svg,
.dafmp-market-toolbar__view svg,
.hdaf-market-toolbar__view svg {
	width:16px;
	height:16px;
	display:block;
}

.dafmp-market-toolbar__results,
.hdaf-market-toolbar__results {
	min-height:44px;
	padding:0 14px;
	background:#F8FAFC;
	border:1px solid #E2E8F0;
	border-radius:12px;
	white-space:nowrap;
	color:#0F172A;
	font-size:13px;
	font-weight:700;
	line-height:1;
}

.dafmp-market-toolbar__views,
.hdaf-market-toolbar__views {
	display:inline-flex;
	align-items:center;
	gap:6px;
	padding:4px;
	background:#F8FAFC;
	border:1px solid #E2E8F0;
	border-radius:12px;
}

.dafmp-market-toolbar__view,
.hdaf-market-toolbar__view {
	width:36px;
	height:36px;
	border-radius:10px;
	color:#64748B;
	text-decoration:none;
	transition:background-color .2s ease,color .2s ease,transform .2s ease;
}

.dafmp-market-toolbar__view:hover,
.hdaf-market-toolbar__view:hover {
	background:#EFF6FF;
	color:#2563EB;
	transform:translateY(-1px);
}

.dafmp-market-toolbar__view.is-active,
.hdaf-market-toolbar__view.is-active {
	background:#2563EB;
	color:#FFF;
}

.dafmp-market-toolbar__apply {
	min-height:40px;
	padding:0 14px;
	background:#2563EB;
	border:1px solid #2563EB;
	border-radius:10px;
	color:#FFF;
	font-size:13px;
	font-weight:700;
	line-height:1;
	cursor:pointer;
}

.dafmp-toolbar__select,
.hdaf-toolbar__select {
	position:relative;
	min-width:0;
}

.dafmp-toolbar__select select,
.hdaf-toolbar__select select {
	min-width:210px;
	height:44px;
	padding:0 42px 0 14px;
	background:#FFF;
	border:1px solid #E2E8F0;
	border-radius:12px;
	color:#0F172A;
	font-size:14px;
	font-weight:600;
	line-height:1;
	outline:none;
	appearance:none;
	-webkit-appearance:none;
	-moz-appearance:none;
	cursor:pointer;
	box-shadow:none;
	transition:border-color .2s ease,box-shadow .2s ease;
}

.dafmp-toolbar__select::after,
.hdaf-toolbar__select::after {
	content:"";
	position:absolute;
	top:50%;
	right:16px;
	width:8px;
	height:8px;
	border-right:2px solid #64748B;
	border-bottom:2px solid #64748B;
	transform:translateY(-60%) rotate(45deg);
	pointer-events:none;
}

.dafmp-toolbar__select select:hover,
.dafmp-toolbar__select select:focus,
.hdaf-toolbar__select select:hover,
.hdaf-toolbar__select select:focus {
	border-color:#2563EB;
	box-shadow:0 0 0 3px rgba(37,99,235,.08);
}

.dafmp-toolbar__label,
.hdaf-toolbar__label {
	color:#64748B;
	font-size:11px;
	font-weight:800;
	letter-spacing:.12em;
	text-transform:uppercase;
}

.dafmp-toolbar__count,
.dafmp-market-toolbar__badge,
.hdaf-toolbar__count,
.hdaf-market-toolbar__badge {
	color:#0F172A;
	font-size:15px;
	font-weight:800;
	line-height:1.3;
}

.dafmp-market-toolbar__summary,
.hdaf-market-toolbar__summary {
	display:grid;
	gap:4px;
}

.dafmp-market-toolbar__badge,
.hdaf-market-toolbar__badge {
	min-height:32px;
	padding:0 12px;
	background:#EFF6FF;
	border:1px solid #BFDBFE;
	border-radius:999px;
	color:#2563EB;
	font-size:12px;
	font-weight:700;
	white-space:nowrap;
}

.dafmp-market-toolbar__help,
.hdaf-market-toolbar__help {
	margin:0;
	color:#64748B;
	font-size:13px;
	line-height:1.6;
	text-align:center;
}

@media (max-width:1199px) {
	.dafmp-market-toolbar,
	.hdaf-market-toolbar {
		align-items:flex-start;
		flex-wrap:wrap;
	}

	.dafmp-market-toolbar__left,
	.hdaf-market-toolbar__left,
	.dafmp-market-toolbar__right,
	.hdaf-market-toolbar__right {
		width:100%;
	}

	.dafmp-market-toolbar__right,
	.hdaf-market-toolbar__right {
		margin-left:0;
		justify-content:flex-start;
	}
}

@media (max-width:767px) {
	.dafmp-market-toolbar,
	.hdaf-market-toolbar {
		flex-wrap:wrap;
		align-items:flex-start;
		padding:14px;
		gap:12px;
	}

	.dafmp-toolbar__group,
	.dafmp-toolbar__actions,
	.dafmp-market-toolbar__left,
	.dafmp-market-toolbar__right,
	.dafmp-market-toolbar__sort,
	.dafmp-market-toolbar__summary,
	.dafmp-market-toolbar__center,
	.hdaf-toolbar__group,
	.hdaf-toolbar__actions,
	.hdaf-market-toolbar__left,
	.hdaf-market-toolbar__right,
	.hdaf-market-toolbar__sort,
	.hdaf-market-toolbar__summary,
	.hdaf-market-toolbar__center,
	.dafmp-market-toolbar__filters-form {
		flex-wrap:wrap;
		width:100%;
	}

	.dafmp-market-toolbar__right,
	.hdaf-market-toolbar__right,
	.dafmp-market-toolbar__views,
	.hdaf-market-toolbar__views {
		justify-content:flex-start;
	}

	.dafmp-toolbar__select,
	.hdaf-toolbar__select,
	.dafmp-market-toolbar__filter-trigger,
	.dafmp-market-toolbar__results,
	.dafmp-market-toolbar__views {
		width:100%;
	}
	
	.dafmp-market-toolbar__filter-trigger,
.dafmp-market-toolbar__filter-trigger *{
color:#FFF!important;
fill:#FFF!important;
stroke:#FFF!important;
}

	.dafmp-toolbar__select select,
	.hdaf-toolbar__select select {
		width:100%;
		min-width:0;
	}
}

@media (max-width:479px) {
	.dafmp-market-toolbar,
	.hdaf-market-toolbar {
		margin-bottom:18px;
		padding:12px;
	}

	.dafmp-market-toolbar__results,
	.hdaf-market-toolbar__results {
		min-height:40px;
		padding:0 12px;
		font-size:12px;
	}

	.dafmp-market-toolbar__filter-trigger {
		justify-content:center;
	}
}