/**
 * Native variation attribute <select> — full width on dark product UI.
 * (No Select2/SelectWoo: avoids mis-positioned synthetic dropdowns under Elementor.)
 */
body.woocommerce.single-product form.variations_form table.variations td.value select {
	box-sizing: border-box !important;
	width: 100% !important;
	max-width: 100% !important;
	min-height: 42px !important;
	margin: 0 !important;
	padding: 8px 12px !important;
	font-family: var(--text-font-family, inherit) !important;
	font-size: 16px !important;
	line-height: 1.25 !important;
	color: #fff !important;
	background-color: transparent !important;
	border: 1px solid rgba(255, 255, 255, 0.45) !important;
	border-radius: 0 !important;
	appearance: auto !important;
}

body.woocommerce.single-product form.variations_form table.variations td.value select:focus {
	outline: 2px solid rgba(255, 255, 255, 0.35) !important;
	outline-offset: 2px !important;
}

/* Allow the reset link + field layout to behave as in parent theme */
body.woocommerce.single-product form.variations_form,
body.woocommerce.single-product form.variations_form .variations,
body.woocommerce.single-product form.variations_form .woocommerce-input-wrapper {
	overflow: visible !important;
}

body.woocommerce.single-product form.variations_form table.variations td.value {
	position: relative !important;
}

/* Align the attribute label (“days”) with the slider track. */
body.woocommerce.single-product form.variations_form table.variations th.label,
body.woocommerce.single-product form.variations_form table.variations td.label {
	padding-top: 0 !important;
	vertical-align: middle !important;
}

/* Fine-tune the “days” label baseline. */
body.woocommerce.single-product form.variations_form table.variations label[for="days"] {
	margin-top: -12px !important;
}

/* Slider replacement for the variable attribute “days” dropdown. */
.bejo-days-slider {
	width: 100%;
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

.bejo-days-slider__range {
	width: 100%;
	-webkit-appearance: none;
	appearance: none;
	height: 2px;
	background: #2b2b2b;
	margin: 10px 0 10px;
	outline: none;
}

.bejo-days-slider__range::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--accent-prim-color, #fa163b);
	border: none;
	cursor: pointer;
}

.bejo-days-slider__range::-moz-range-thumb {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: var(--accent-prim-color, #fa163b);
	border: none;
	cursor: pointer;
}

.bejo-days-slider__range::-moz-range-track {
	height: 2px;
	background: #2b2b2b;
	border: none;
}

.bejo-days-slider__range:focus {
	outline: none;
}

.bejo-days-slider__value {
	font-family: var(--text-font-family, inherit);
	font-size: 16px;
	line-height: 1.25;
	color: #fff;
	text-align: left;
}

.bejo-days-slider__select-hidden {
	display: none !important;
}
