/**
 * Attribute range filters — match Shoptimizer price filter styling.
 */

.customfilter-range-wrapper {
	margin: 0.5em 0 1em;
}

.customfilter-range-wrapper .customfilter-range-slider {
	margin-bottom: 1.2em;
}

/* Track */
.customfilter-range-wrapper .ui-slider {
	position: relative;
	text-align: left;
	height: 4px;
	background: rgba(0, 0, 0, 0.1);
	border: 0;
	border-radius: 16px;
}

/* Active range */
.customfilter-range-wrapper .ui-slider .ui-slider-range {
	position: absolute;
	z-index: 1;
	display: block;
	border: 0;
	background: #f39979;
	border-radius: 11.2px;
	height: 100%;
}

/* Handles — white ring + peach center (same as Prijs) */
.customfilter-range-wrapper .ui-slider .ui-slider-handle {
	position: absolute;
	z-index: 2;
	width: 20px;
	height: 20px;
	top: 50%;
	margin-top: -10px;
	margin-left: -10px;
	cursor: ew-resize;
	outline: none;
	background: #f39979;
	border: 7px solid #fff;
	border-radius: 50%;
	box-shadow: 0 0 3px rgba(0, 0, 0, 0.15);
	box-sizing: border-box;
}

.customfilter-range-wrapper .ui-slider .ui-slider-handle::before {
	content: none;
}

/* Label row — Filter button hidden; filter applies on slider release */
.customfilter-range-amount {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: flex-start;
	gap: 0.5em;
}

.customfilter-range-amount .button {
	display: none;
}

.customfilter-range-label {
	font-size: 0.9em;
}

.customfilter-range-form .clear {
	clear: both;
	display: none;
}

/* Hide price filter submit button (auto-submit on release) */
.widget_price_filter .price_slider_amount .button {
	display: none !important;
}

.widget_price_filter .price_slider_amount {
	justify-content: flex-start;
}

.widget_price_filter .price_slider_amount .price_label {
	text-align: left;
}

/* Mobile filter button when shop loop is empty */
.customfilter-mobile-filter {
	margin: 0 0 1em;
}

.customfilter-empty-actions {
	margin: 1em 0 0;
	text-align: center;
}

/* Reset all filters */
.customfilter-reset {
	margin: 1em 0 0.5em;
}

.customfilter-reset-button {
	display: inline-block;
	margin: 0;
	padding: 8px 16px;
	border: 0;
	border-radius: 30px;
	color: #fff !important;
	background-color: #282828;
	font-size: 12px;
	font-weight: 400;
	line-height: normal;
	text-decoration: none !important;
	text-align: center;
	box-shadow: none;
	cursor: pointer;
}

.customfilter-reset-button:hover,
.customfilter-reset-button:focus {
	background-color: #282828;
	color: #fff !important;
	opacity: 0.9;
}
