/* Osnovne vrednosti i progressive enhancement. */
.sh-nlv-selector {
	--sh-nlv-bg: #e1f8f0;
	--sh-nlv-text: #0b4f47;
	--sh-nlv-accent: #ff961b;
	--sh-nlv-selected: #fff;
	--sh-nlv-badge: #70c5ae;
	--sh-nlv-focus: #168eea;
	--sh-nlv-button-text: #fff;
	--sh-nlv-outer-radius: 36px;
	--sh-nlv-card-radius: 30px;
	--sh-nlv-gap: 16px;
	display: none;
	box-sizing: border-box;
	container: sh-nlv-selector / inline-size;
	color: var(--sh-nlv-text);
}

form.variations_form.sh-nlv-enhanced {
	background: transparent !important;
	padding: 0 !important;
}

form.variations_form.sh-nlv-enhanced .sh-nlv-selector {
	display: block;
}

/* Selecti se kriju tek kada je JavaScript uspešno povezao svaku karticu. */
form.variations_form.sh-nlv-enhanced table.variations {
	display: none !important;
}

.sh-nlv-selector *,
.sh-nlv-selector *::before,
.sh-nlv-selector *::after {
	box-sizing: border-box;
}

.sh-nlv-selector .screen-reader-text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.sh-nlv-options {
	display: flex;
	flex-direction: column;
	gap: var(--sh-nlv-gap);
	min-width: 0;
	margin: 0;
	padding: clamp(18px, 3.2vw, 32px);
	border: 0;
	border-radius: var(--sh-nlv-outer-radius);
	background: var(--sh-nlv-bg);
}

.sh-nlv-legend:not(.screen-reader-text) {
	display: block;
	width: 100%;
	margin: 0 0 2px;
	padding: 0 6px;
	color: var(--sh-nlv-text);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
}

.sh-nlv-reset {
	display: block;
	margin: 8px 4px 0 auto;
	padding: 2px;
	border: 0;
	background: transparent;
	color: var(--sh-nlv-text);
	font: inherit;
	font-size: 13px;
	text-decoration: underline;
	cursor: pointer;
}

.sh-nlv-reset:focus-visible {
	outline: 3px solid var(--sh-nlv-focus);
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	.sh-nlv-selector *,
	.sh-nlv-selector *::before,
	.sh-nlv-selector *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
