/*
 * Self-contained styling for Carbone_Market_Price_Filter_Widget, scoped to
 * .carbone-market-price-filter so it never affects any other slider on the
 * site. Doesn't rely on Woodmart recognizing this widget's PHP class -
 * recreates the look directly on the standard jQuery UI slider markup
 * WooCommerce's own template already outputs.
 */
.carbone-market-price-filter .price_slider_wrapper {
	padding-top: 6px;
}

.carbone-market-price-filter .price_slider.ui-slider {
	position: relative;
	height: 2px;
	background: #1a1a1a;
	border: none;
	border-radius: 0;
	margin: 20px 2px 28px;
}

.carbone-market-price-filter .price_slider .ui-slider-range {
	position: absolute;
	top: 0;
	height: 100%;
	background: #1a1a1a;
}

.carbone-market-price-filter .price_slider .ui-slider-handle {
	position: absolute;
	top: 50%;
	width: 3px;
	height: 16px;
	margin-left: -1px;
	margin-top: -8px;
	background: #1a1a1a;
	border: none;
	border-radius: 0;
	cursor: pointer;
	outline: none;
}

.carbone-market-price-filter .price_slider_amount {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
}

.carbone-market-price-filter .price_label {
	color: #555;
	font-size: 14px;
}

.carbone-market-price-filter .price_label .from,
.carbone-market-price-filter .price_label .to {
	color: #1a1a1a;
	font-weight: 700;
}

.carbone-market-price-filter .price_slider_amount button.button {
	background-color: var( --brown, rgb( 119, 98, 92 ) );
	color: #fff;
	border: none;
	border-radius: 30px;
	padding: 10px 26px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

.carbone-market-price-filter .price_slider_amount button.button:hover {
	opacity: 0.9;
}
