/**
 * Jedi-Robe Size Advisor.
 *
 * Provides the dark sci-fi presentation for the Size Advisor shortcode while
 * preserving the existing shortcode markup, validation states, progress
 * calculation, WooCommerce product output and responsive behaviour.
 *
 * @package Jedi_Theme
 * @subpackage Size_Advisor
 * @since 1.0.0
 */


/* ==========================================================================
   Size Advisor tokens
   ========================================================================== */

body.jr-dark-commerce .jr-size-advisor {
	--jr-size-border: rgba(111, 203, 255, 0.2);
	--jr-size-border-strong: rgba(152, 169, 192, 0.32);
	--jr-size-panel: rgba(7, 13, 21, 0.54);
	--jr-size-control: rgba(2, 6, 9, 0.84);
	--jr-size-muted: rgba(255, 255, 255, 0.58);
	--jr-size-quiet: rgba(255, 255, 255, 0.42);

	width: 100%;

	margin: 0 auto;
	padding: 0;

	color: var(--jr-text);
}


/* ==========================================================================
   Optional advisor header
   ========================================================================== */

body.jr-dark-commerce
	.jr-size-advisor__header {
	margin-bottom: 2rem;
}


body.jr-dark-commerce
	.jr-size-advisor__header
	h2 {
	margin:
		0
		0
		1rem;

	color: var(--jr-text);

	font-size: clamp(1.75rem, 1.55rem + 0.6vw, 2.125rem);
	font-weight: 760;
	letter-spacing: -0.025em;
	line-height: 1.15;
}


body.jr-dark-commerce
	.jr-size-advisor__header
	p {
	margin: 0;

	color: var(--jr-size-muted);

	line-height: 1.65;
}


/* ==========================================================================
   Main layout
   ========================================================================== */

body.jr-dark-commerce
	.jr-size-layout {
	display: grid;

	grid-template-columns:
		minmax(0, 1fr)
		minmax(0, 1fr);

	gap: 2rem;

	align-items: start;
}


/* ==========================================================================
   Form cards + result panel
   ========================================================================== */

body.jr-dark-commerce
	.jr-size-card,
body.jr-dark-commerce
	.jr-size-result {
	position: relative;
	isolation: isolate;
	overflow: hidden;

	border: 1px solid var(--jr-size-border);
	border-radius: 0.375rem;

	background:
		linear-gradient(
			135deg,
			rgba(255, 255, 255, 0.03),
			transparent 42%
		),
		radial-gradient(
			circle at 100% 0,
			rgba(111, 203, 255, 0.05),
			transparent 16rem
		),
		var(--jr-size-panel);

	color: var(--jr-text);

	box-shadow:
		0 1.25rem 2.75rem rgba(0, 0, 0, 0.22),
		inset 0 1px 0 rgba(255, 255, 255, 0.025);
}


/* ==========================================================================
   Green diagnostic rail
   ========================================================================== */

body.jr-dark-commerce
	.jr-size-card::before,
body.jr-dark-commerce
	.jr-size-result::before {
	position: absolute;
	top: -1px;
	left: -1px;
	z-index: 2;

	width: clamp(3.5rem, 25%, 7rem);
	height: 1px;

	background:
		linear-gradient(
			90deg,
			var(--jr-green-light),
			transparent
		);

	box-shadow:
		0 0 1rem rgba(45, 166, 83, 0.2);

	content: "";

	pointer-events: none;
}


/* ==========================================================================
   Technical lower corner
   ========================================================================== */

body.jr-dark-commerce
	.jr-size-card::after,
body.jr-dark-commerce
	.jr-size-result::after {
	position: absolute;
	right: -1px;
	bottom: -1px;
	z-index: 2;

	width: 1rem;
	height: 1rem;

	border-right: 1px solid rgba(111, 203, 255, 0.42);
	border-bottom: 1px solid rgba(111, 203, 255, 0.42);

	content: "";

	pointer-events: none;
}


/* ==========================================================================
   Form cards
   ========================================================================== */

body.jr-dark-commerce
	.jr-size-card {
	margin:
		0
		0
		1.125rem;

	padding: 1.5rem;
}


/* ==========================================================================
   Card headings
   ========================================================================== */

body.jr-dark-commerce
	.jr-size-card
	h3 {
	margin:
		0
		0
		1.25rem;

	padding: 0;

	color: var(--jr-text);

	font-size: 1.125rem;
	font-weight: 760;
	letter-spacing: 0.055em;
	line-height: 1.25;

	text-transform: uppercase;
}


body.jr-dark-commerce
	.jr-size-card
	h3::after {
	display: block;

	width: 3rem;
	height: 1px;

	margin-top: 0.75rem;

	background:
		linear-gradient(
			90deg,
			var(--jr-green-light),
			transparent
		);

	box-shadow:
		0 0 1rem rgba(45, 166, 83, 0.18);

	content: "";
}


/* ==========================================================================
   Field grid
   ========================================================================== */

body.jr-dark-commerce
	.jr-size-grid.two {
	display: grid;

	grid-template-columns:
		repeat(2, minmax(0, 1fr));

	gap: 0.85rem;
}


/* ==========================================================================
   Field group
   ========================================================================== */

body.jr-dark-commerce
	.jr-field-group {
	min-width: 0;

	margin:
		0
		0
		1rem;
}


/* ==========================================================================
   Numbered field labels
   ========================================================================== */

body.jr-dark-commerce
	.jr-field-label {
	display: flex;

	align-items: center;

	gap: 0.65rem;

	margin:
		0
		0
		0.5rem;

	padding: 0;

	color: var(--jr-text);

	font-size: 0.75rem;
	font-weight: 760;
	letter-spacing: 0.06em;
	line-height: 1.3;

	text-transform: uppercase;
}


/* ==========================================================================
   Field number
   ========================================================================== */

body.jr-dark-commerce
	.jr-field-label
	.jr-field-number {
	position: static;

	display: grid;

	width: 1.7rem;
	height: 1.7rem;

	flex: 0 0 1.7rem;

	place-items: center;

	margin: 0;
	padding: 0;

	border: 1px solid rgba(69, 217, 107, 0.48);
	border-radius: 50%;

	background:
		linear-gradient(
			145deg,
			rgba(69, 217, 107, 0.08),
			rgba(5, 10, 16, 0.9)
		);

	color: var(--jr-green-light);

	font-size: 0.72rem;
	font-weight: 800;
	line-height: 1;

	box-shadow:
		0 0 0 0.18rem rgba(5, 10, 16, 0.62),
		0 0 0.75rem rgba(45, 166, 83, 0.06);

	transform: none;
}


/* ==========================================================================
   Form controls
   ========================================================================== */

/**
 * background-color is intentional.
 *
 * Do not replace it with the background shorthand because native select
 * controls may rely on their existing background image for the dropdown arrow.
 */
body.jr-dark-commerce
	.jr-size-form
	input[type="text"],
body.jr-dark-commerce
	.jr-size-form
	input[type="email"],
body.jr-dark-commerce
	.jr-size-form
	input[type="tel"],
body.jr-dark-commerce
	.jr-size-form
	select {
	box-sizing: border-box;

	width: 100%;
	max-width: none;
	height: 3rem;
	min-height: 3rem;

	margin: 0;
	padding:
		0
		0.85rem;

	border: 1px solid rgba(152, 169, 192, 0.24);
	border-radius: 0;

	outline: 0;

	background-color: var(--jr-size-control);

	color: var(--jr-text);
	caret-color: var(--jr-text);

	font: inherit;
	font-size: 0.92rem;

	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.02);

	transition:
		border-color 160ms ease,
		background-color 160ms ease,
		box-shadow 160ms ease;
}


/* ==========================================================================
   Select controls
   ========================================================================== */

body.jr-dark-commerce
	.jr-size-form
	select {
	color-scheme: dark;

	cursor: pointer;
}


/* ==========================================================================
   Placeholder
   ========================================================================== */

body.jr-dark-commerce
	.jr-size-form
	input::placeholder {
	color: var(--jr-size-quiet);

	opacity: 1;
}


/* ==========================================================================
   Control focus
   ========================================================================== */

body.jr-dark-commerce
	.jr-size-form
	input[type="text"]:focus,
body.jr-dark-commerce
	.jr-size-form
	input[type="email"]:focus,
body.jr-dark-commerce
	.jr-size-form
	input[type="tel"]:focus,
body.jr-dark-commerce
	.jr-size-form
	select:focus {
	border-color: rgba(69, 217, 107, 0.62);

	background-color: rgba(3, 8, 12, 0.96);

	box-shadow:
		0 0 0 3px rgba(69, 217, 107, 0.07),
		inset 2px 0 0 rgba(69, 217, 107, 0.36);
}


/* ==========================================================================
   Autofill
   ========================================================================== */

body.jr-dark-commerce
	.jr-size-form
	input:-webkit-autofill,
body.jr-dark-commerce
	.jr-size-form
	input:-webkit-autofill:hover,
body.jr-dark-commerce
	.jr-size-form
	input:-webkit-autofill:focus {
	-webkit-text-fill-color: var(--jr-text);

	caret-color: var(--jr-text);

	box-shadow:
		0 0 0 1000px #020609 inset;

	transition:
		background-color 9999s ease-out 0s;
}


/* ==========================================================================
   Callback checkbox
   ========================================================================== */

body.jr-dark-commerce
	.jr-size-checkbox {
	display: flex;

	align-items: flex-start;

	gap: 0.7rem;

	margin:
		0.25rem
		0
		0;

	color: var(--jr-text);

	font-size: 0.9rem;
	line-height: 1.5;

	cursor: pointer;
}


body.jr-dark-commerce
	.jr-size-checkbox
	input[type="checkbox"] {
	-webkit-appearance: none;
	appearance: none;

	display: inline-grid;

	width: 1rem;
	height: 1rem;

	flex: 0 0 1rem;

	place-content: center;

	margin: 0.15rem 0 0;
	padding: 0;

	border: 1px solid rgba(152, 169, 192, 0.56);
	border-radius: 0;

	background-color: rgba(2, 6, 9, 0.92);

	cursor: pointer;

	box-shadow: none;
}


body.jr-dark-commerce
	.jr-size-checkbox
	input[type="checkbox"]::before {
	width: 0.5rem;
	height: 0.5rem;

	background: var(--jr-green-light);

	content: "";

	transform: scale(0);

	transition:
		transform 140ms ease;
}


body.jr-dark-commerce
	.jr-size-checkbox
	input[type="checkbox"]:checked {
	border-color: var(--jr-green-light);
}


body.jr-dark-commerce
	.jr-size-checkbox
	input[type="checkbox"]:checked::before {
	transform: scale(1);
}


/* ==========================================================================
   Field validation
   ========================================================================== */

body.jr-dark-commerce
	.jr-size-advisor
	.jr-size-form
	.jr-invalid {
	border-color: rgba(232, 91, 91, 0.78);

	background-color: rgba(19, 6, 8, 0.88);

	box-shadow:
		inset 2px 0 0 rgba(232, 91, 91, 0.72);
}


body.jr-dark-commerce
	.jr-size-advisor
	.jr-field-error {
	margin:
		0.35rem
		0
		0;

	padding: 0;

	color: var(--jr-danger);

	font-size: 0.78rem;
	font-weight: 550;
	line-height: 1.4;
}


/* ==========================================================================
   General form error
   ========================================================================== */

body.jr-dark-commerce
	.jr-size-advisor
	.jr-form-error {
	margin:
		0
		0
		1rem;

	padding:
		0.9rem
		1rem;

	border: 1px solid rgba(232, 91, 91, 0.3);
	border-left: 2px solid var(--jr-danger);

	background:
		linear-gradient(
			90deg,
			rgba(232, 91, 91, 0.09),
			rgba(10, 17, 27, 0.78) 70%
		);

	color: var(--jr-text);

	font-size: 0.85rem;
	line-height: 1.5;
}


/* ==========================================================================
   Progress panel
   ========================================================================== */

body.jr-dark-commerce
	.jr-size-progress {
	margin:
		0
		0
		1rem;

	padding:
		0.85rem
		1rem;

	border: 1px solid var(--jr-size-border);
	border-radius: 0.25rem;

	background:
		linear-gradient(
			135deg,
			rgba(255, 255, 255, 0.025),
			transparent 45%
		),
		rgba(7, 13, 21, 0.56);

	color: var(--jr-size-muted);

	font-size: 0.8rem;
	font-weight: 650;

	text-align: center;

	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.02);
}


/* ==========================================================================
   Progress track
   ========================================================================== */

body.jr-dark-commerce
	.jr-size-progress-track {
	overflow: hidden;

	width: 100%;
	height: 0.25rem;

	margin:
		0
		0
		0.65rem;

	border-radius: 0;

	background: rgba(152, 169, 192, 0.16);
}


/* ==========================================================================
   Progress fill
   ========================================================================== */

body.jr-dark-commerce
	.jr-size-progress-fill {
	width: 0%;
	height: 100%;

	border-radius: 0;

	background:
		linear-gradient(
			90deg,
			var(--jr-green),
			var(--jr-green-light)
		);

	box-shadow:
		0 0 0.85rem rgba(45, 166, 83, 0.25);

	transition:
		width 300ms ease;
}


/* ==========================================================================
   Progress text
   ========================================================================== */

body.jr-dark-commerce
	.jr-size-progress-text {
	display: block;

	color: var(--jr-size-muted);

	font-size: 0.78rem;
	font-weight: 650;
	letter-spacing: 0.025em;

	text-align: center;
}


/* ==========================================================================
   Primary submit button
   ========================================================================== */

body.jr-dark-commerce
	.jr-size-submit {
	position: relative;

	display: flex;

	width: 100%;
	height: 3.35rem;

	align-items: center;
	justify-content: center;

	margin: 0;
	padding:
		0
		1.25rem;

	border: 1px solid var(--jr-green-light);
	border-radius: 0;

	background:
		linear-gradient(
			135deg,
			var(--jr-green-light),
			var(--jr-green)
		);

	color: #080a0e;

	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.055em;
	line-height: 1.1;

	text-align: center;
	text-transform: uppercase;

	cursor: pointer;

	box-shadow:
		0 0.75rem 1.5rem rgba(0, 0, 0, 0.24),
		0 0 1rem rgba(45, 166, 83, 0.08),
		inset 0 1px 0 rgba(255, 255, 255, 0.14);

	transform: translateY(0);

	transition:
		filter 180ms ease,
		transform 180ms ease,
		box-shadow 180ms ease;
}


@media (hover: hover) and (pointer: fine) {

	body.jr-dark-commerce
		.jr-size-submit:hover {
		color: #080a0e;

		filter: brightness(1.06);

		transform: translateY(-1px);

		box-shadow:
			0 1rem 1.8rem rgba(0, 0, 0, 0.3),
			0 0 1.25rem rgba(45, 166, 83, 0.14);
	}
}


/* ==========================================================================
   Button loading state
   ========================================================================== */

body.jr-dark-commerce
	.jr-size-advisor
	button.is-loading,
body.jr-dark-commerce
	.jr-size-advisor
	input.is-loading {
	cursor: wait;

	opacity: 0.78;
}


body.jr-dark-commerce
	.jr-size-advisor
	.jr-button-spinner {
	display: inline-block;

	width: 1rem;
	height: 1rem;

	margin-right: 0.5rem;

	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 50%;

	vertical-align: -2px;

	animation:
		jr-button-spin 750ms linear infinite;
}


@keyframes jr-button-spin {

	to {
		transform: rotate(360deg);
	}
}


/* ==========================================================================
   reCAPTCHA notice
   ========================================================================== */

body.jr-dark-commerce
	.jr-size-advisor
	.jedi-recaptcha-notice {
	margin:
		0.6rem
		0
		0;

	color: var(--jr-size-quiet);

	font-size: 0.68rem;
	line-height: 1.45;

	text-align: left;
}


/* ==========================================================================
   Result panel
   ========================================================================== */

body.jr-dark-commerce
	.jr-size-result {
	display: flex;

	min-height: 48rem;

	align-items: center;
	justify-content: center;

	padding:
		2rem
		2rem
		3rem;

	text-align: center;
}


/* ==========================================================================
   Result states
   ========================================================================== */

body.jr-dark-commerce
	.jr-size-result__empty,
body.jr-dark-commerce
	.jr-size-result__loading,
body.jr-dark-commerce
	.jr-size-result__output {
	display: none;

	width: 100%;
}


body.jr-dark-commerce
	.jr-size-result[data-state="empty"]
	.jr-size-result__empty,
body.jr-dark-commerce
	.jr-size-result[data-state="loading"]
	.jr-size-result__loading,
body.jr-dark-commerce
	.jr-size-result[data-state="output"]
	.jr-size-result__output {
	display: block;
}


/* ==========================================================================
   Empty result
   ========================================================================== */

body.jr-dark-commerce
	.jr-size-result[data-state="empty"]
	.jr-size-result__empty {
	margin-top: -4rem;
}


/* ==========================================================================
   Result interface icon
   ========================================================================== */

body.jr-dark-commerce
	.size-result-icon {
	display: grid;

	width: 4.75rem;
	height: 4.75rem;

	place-items: center;

	margin:
		0
		auto
		1.35rem;

	border: 1px solid rgba(69, 217, 107, 0.38);
	border-radius: 50%;

	background:
		linear-gradient(
			145deg,
			rgba(69, 217, 107, 0.07),
			rgba(5, 10, 16, 0.84)
		);

	box-shadow:
		0 0 0 0.3rem rgba(5, 10, 16, 0.56),
		0 0 1.25rem rgba(45, 166, 83, 0.08);
}


body.jr-dark-commerce
	.size-result-icon
	svg {
	width: 2.75rem;
	height: 2.75rem;
}


/**
 * Recolour the existing ruler artwork without changing the template.
 */
body.jr-dark-commerce
	.size-result-icon
	svg
	path[fill="#FFCC4D"] {
	fill: var(--jr-green-light);
}


body.jr-dark-commerce
	.size-result-icon
	svg
	path[fill="#292F33"] {
	fill: #07101a;
}


/* ==========================================================================
   Empty result heading
   ========================================================================== */

body.jr-dark-commerce
	.jr-size-result__empty
	h3 {
	margin:
		0
		0
		0.65rem;

	color: var(--jr-text);

	font-size: 1.25rem;
	font-weight: 740;
	letter-spacing: -0.02em;
	line-height: 1.3;
}


/* ==========================================================================
   Result copy
   ========================================================================== */

body.jr-dark-commerce
	.jr-size-result__empty
	p,
body.jr-dark-commerce
	.jr-size-result__loading
	p,
body.jr-dark-commerce
	.jr-size-result__output
	p {
	margin:
		0
		auto;

	max-width: 30rem;

	color: var(--jr-size-muted);

	font-size: 0.95rem;
	line-height: 1.65;
}


/* ==========================================================================
   Loading spinner
   ========================================================================== */

body.jr-dark-commerce
	.jr-size-spinner {
	width: 3.25rem;
	height: 3.25rem;

	margin:
		0
		auto
		1.1rem;

	border: 3px solid rgba(152, 169, 192, 0.2);
	border-top-color: var(--jr-green-light);
	border-radius: 50%;

	box-shadow:
		0 0 1rem rgba(45, 166, 83, 0.08);

	animation:
		jrSizeSpin 800ms linear infinite;
}


@keyframes jrSizeSpin {

	to {
		transform: rotate(360deg);
	}
}


/* ==========================================================================
   Recommendation label
   ========================================================================== */

body.jr-dark-commerce
	.jr-size-result__output
	> span {
	display: inline-block;

	margin:
		0
		0
		0.6rem;

	padding:
		0.35rem
		0.65rem;

	border: 1px solid rgba(69, 217, 107, 0.32);

	background: rgba(69, 217, 107, 0.06);

	color: var(--jr-green-light);

	font-size: 0.7rem;
	font-weight: 760;
	letter-spacing: 0.11em;
	line-height: 1.2;

	text-transform: uppercase;
}


/* ==========================================================================
   Recommended size
   ========================================================================== */

body.jr-dark-commerce
	.jr-size-result__output
	h2 {
	margin:
		0
		0
		0.9rem;

	color: var(--jr-text);

	font-size: clamp(3rem, 4vw, 4rem);
	font-weight: 820;
	letter-spacing: -0.04em;
	line-height: 0.95;

	text-shadow:
		0 0 1.5rem rgba(45, 166, 83, 0.12);
}


/* ==========================================================================
   Recommendation products
   ========================================================================== */

body.jr-dark-commerce
	.jr-size-result
	.products {
	width: 100%;
	max-width: 27.5rem;

	margin:
		1.75rem
		auto
		0;
}


body.jr-dark-commerce
	.jr-size-result
	ul.products {
	display: grid;

	grid-template-columns:
		minmax(0, 1fr);

	gap: 0;

	margin-bottom: 0;
}


/**
 * Keep the WooCommerce product output to one card without relying on
 * !important overrides.
 */
body.jr-dark-commerce
	.jr-size-advisor
	.jr-size-result
	ul.products.columns-1
	li.product {
	float: none;

	width: 100%;

	margin: 0;
	padding: 0;
}


/* ==========================================================================
   Product image
   ========================================================================== */

body.jr-dark-commerce
	.jr-size-result
	ul.products
	li.product
	.woocommerce-image__wrapper {
	display: flex;

	align-items: center;
	justify-content: center;
}


body.jr-dark-commerce
	.jr-size-result
	ul.products
	li.product
	.woocommerce-image__wrapper
	img {
	width: auto;
	max-width: 100%;
	max-height: 21.25rem;
}


/* ==========================================================================
   Product add-to-cart visibility
   ========================================================================== */

body.jr-dark-commerce
	.jr-size-advisor
	ul.products
	li.product
	a.add_to_cart_button {
	opacity: 1;
}


/* ==========================================================================
   Product recommendation visibility
   ========================================================================== */

body.jr-dark-commerce
	.jr-size-product {
	display: none;
}


body.jr-dark-commerce
	.jr-size-product.is-active {
	display: block;
}


/* ==========================================================================
   Product image hover
   ========================================================================== */

@media (hover: hover) and (pointer: fine) {

	body.jr-dark-commerce
		.jr-size-advisor
		ul.products
		li.product:hover
		.shoptimizer-plp-image-wrapper
		img {
		transform: scale(1.03);
	}
}


/* ==========================================================================
   Desktop sticky result
   ========================================================================== */

@media (min-width: 993px) {

	body.jr-dark-commerce
		.jr-size-result {
		position: sticky;
		top: 6.25rem;
	}


	body.jr-dark-commerce
		.jr-size-advisor
		ul.products
		li.product:not(.product-category)::before {
		visibility: visible;

		opacity: 1;
	}
}


/* ==========================================================================
   Tablet
   ========================================================================== */

@media (max-width: 992px) {

	body.jr-dark-commerce
		.jr-size-layout {
		grid-template-columns:
			minmax(0, 1fr);
	}


	body.jr-dark-commerce
		.jr-size-result {
		display: none;

		min-height: auto;

		padding:
			2rem
			1.5rem;

		opacity: 0;

		transform: translateY(-0.75rem);

		transition:
			opacity 350ms ease,
			transform 350ms ease;
	}


	body.jr-dark-commerce
		.jr-size-result.is-visible {
		display: flex;

		animation:
			jrSizeResultSlideDown 350ms ease forwards;
	}
}


@keyframes jrSizeResultSlideDown {

	from {
		opacity: 0;

		transform: translateY(-0.75rem);
	}

	to {
		opacity: 1;

		transform: translateY(0);
	}
}


/* ==========================================================================
   Mobile
   ========================================================================== */

@media (max-width: 600px) {

	body.jr-dark-commerce
		.jr-size-grid.two {
		grid-template-columns:
			minmax(0, 1fr);

		gap: 0;
	}


	body.jr-dark-commerce
		.jr-size-card {
		padding:
			1.25rem
			1rem;
	}


	body.jr-dark-commerce
		.jr-size-result {
		padding:
			1.75rem
			1rem;
	}


	body.jr-dark-commerce
		.jr-size-result[data-state="empty"]
		.jr-size-result__empty {
		margin-top: 0;
	}
}


/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {

	body.jr-dark-commerce
		.jr-size-submit,
	body.jr-dark-commerce
		.jr-size-progress-fill,
	body.jr-dark-commerce
		.jr-size-result {
		transition: none;
	}


	body.jr-dark-commerce
		.jr-size-submit:hover {
		transform: none;
	}


	body.jr-dark-commerce
		.jr-size-spinner,
	body.jr-dark-commerce
		.jr-button-spinner {
		animation-duration: 1.5s;
	}
}

/**
 * Size advisor — readable native dropdown options.
 *
 * Explicitly pair option text and background colours for Windows browsers.
 *
 * @package Jedi_Theme
 */
body.jr-dark-commerce .jr-size-form select option,
body.jr-dark-commerce .jr-size-form select optgroup {
	color: #f5f7fa;
	background-color: #0b1218;
}

body.jr-dark-commerce .jr-size-form select option:disabled {
	color: #aab4c0;
}