/* UVariants storefront (Prostore). Own classes prefixed uv-. Root font-size of Prostore = 10px (rem = 10px). Breakpoint 1199px = Prostore. */
.sku__group--uv { --uv-accent: var(--theme-primary-color, #7266F3); --uv-text: var(--body-color, #343434); --uv-line: #E4E7F1; --uv-muted: #8b90a3; --uv-bg: #fff;
	padding-bottom: 1.5rem; }
@media (min-width: 1199px) { .sku__group--uv { padding: 0 0 1.5rem; margin: 0 0 2rem; } }
.sku__group--uv .uv-axis { margin: 0 0 1.4rem; }
.sku__group--uv .uv-axis:last-of-type { margin-bottom: 0; }
.uv-axis__label { margin: 0 0 .6rem; font-size: 1.4rem; line-height: 1.3; color: var(--uv-muted); }
.uv-axis__cur { color: var(--uv-text); font-weight: 500; }
.uv-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem .8rem; }
.uv-list > li { margin: 0; padding: 0; }
.uv-list:not(.is-open) > .uv-extra { display: none; }
.uv-more { margin: .6rem 0 0; padding: 0 1rem; min-height: 44px; border: 0; background: none; color: var(--uv-accent); font-size: 1.4rem; cursor: pointer; }
.uv-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---- the control: <a>, <button> or <span> ---- */
.uv-v { position: relative; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px;
	margin: 0; font: inherit; font-size: 1.5rem; line-height: 1.2; color: var(--uv-text); text-decoration: none; cursor: pointer; -webkit-appearance: none; appearance: none;
	-webkit-tap-highlight-color: transparent; }
.uv-v:focus-visible { outline: 2px solid var(--uv-accent); outline-offset: 2px; border-radius: 5px; }
a.uv-v:hover, button.uv-v:hover:not(:disabled) { color: var(--uv-text); }

/* plate look (text buttons, and swatch values without color/image); border width never changes - current uses inset shadow, no layout shift */
.uv-v--plate { padding: 0 1.6rem; border: 1px solid var(--uv-line); border-radius: 5px; background: var(--uv-bg); transition: border-color .15s, box-shadow .15s, background .15s; }
.uv-v--plate:is(a, button:not(:disabled)):hover { border-color: var(--uv-text); }
.uv-v--plate.uv-v--current { border-color: var(--uv-accent); box-shadow: inset 0 0 0 1px var(--uv-accent); font-weight: 500; }

/* swatch look: 32px dot inside 44px hit area */
.uv-dot { display: block; box-sizing: border-box; width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(0,0,0,.18); background: var(--uv-c, #ddd) center/cover no-repeat; overflow: hidden; transition: box-shadow .15s; }
.uv-dot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.uv-v--dot { padding: 0; border: 0; background: none; border-radius: 50%; }
.uv-v--dot.uv-v--current .uv-dot { box-shadow: 0 0 0 2px var(--uv-bg), 0 0 0 4px var(--uv-accent); }
a.uv-v--dot:hover .uv-dot { box-shadow: 0 0 0 2px var(--uv-bg), 0 0 0 4px var(--uv-line); }
.uv-v--dot.uv-v--current:hover .uv-dot { box-shadow: 0 0 0 2px var(--uv-bg), 0 0 0 4px var(--uv-accent); }

/* states */
.uv-v--oos { color: var(--uv-muted); }
.uv-v--plate.uv-v--oos { background: #FAFAFD; }
.uv-v--oos::after { content: ""; position: absolute; left: 6px; right: 6px; top: 50%; height: 0; border-top: 1px solid var(--uv-muted); transform: rotate(-35deg); pointer-events: none; }
.uv-v--dot.uv-v--oos::after { left: 7px; right: 7px; }
.uv-v--oos .uv-dot, .uv-v--alt .uv-dot { opacity: .55; }
.uv-v--alt { color: var(--uv-muted); }
.uv-v--plate.uv-v--alt { border-style: dashed; background: #FAFAFD; }
.uv-v--dot.uv-v--alt .uv-dot { border-style: dashed; }
.uv-v:disabled, .uv-v--off { cursor: not-allowed; opacity: .55; }

/* option values rendered as buttons are meaningless without JS */
.uv-native-hidden { display: none !important; }

@media (max-width: 767px) {
	.sku__group--uv .uv-axis { margin-bottom: 1.2rem; }
	.uv-list { gap: .2rem .6rem; }
	.uv-v--plate { padding: 0 1.4rem; }
}
@media (prefers-reduced-motion: reduce) { .uv-v, .uv-dot { transition: none; } }
@media (forced-colors: active) {
	.uv-v--current { outline: 2px solid Highlight; }
	.uv-v--oos::after { border-top-color: GrayText; }
}
