/* TEC Grouped Variations — inherits the theme's colour and font (currentColor). */

.tec-gv-form table.variations,
.tec-gv-form .reset_variations,
.tec-gv-form .woocommerce-variation-price {
	display: none !important;
}

.tec-gv-legacy-hidden { display: none !important; }

.tec-gv-form .tec-gv,
.tec-gv-form .tec-gv__group,
.tec-gv-form .tec-gv__choice {
	margin-left: 0 !important;
	padding-left: 0 !important;
	text-indent: 0 !important;
}

.tec-gv { margin: 0 0 1.5em; }

.tec-gv__group { margin: 0 0 1em; }

.tec-gv__choice {
	position: relative;
	display: flex;
	align-items: center;
	gap: .6em;
	margin: 0;
	cursor: pointer;
}

.tec-gv-form .tec-gv input.tec-gv__radio {
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	width: 1px !important;
	height: 1px !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	opacity: 0 !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;
	-webkit-appearance: none !important;
	appearance: none !important;
}

.tec-gv-form .tec-gv input.tec-gv__radio::before,
.tec-gv-form .tec-gv input.tec-gv__radio::after { display: none !important; }

.tec-gv__dot {
	flex: none;
	box-sizing: border-box;
	width: 1.1em;
	height: 1.1em;
	border: 1.5px solid currentColor;
	border-radius: 50%;
}

.tec-gv__radio:checked + .tec-gv__dot { background: currentColor; }

.tec-gv__radio:focus-visible + .tec-gv__dot {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.tec-gv__label { flex: 1; }

.tec-gv__price { white-space: nowrap; }

.tec-gv__group.is-unavailable .tec-gv__choice {
	opacity: .45;
	cursor: default;
}

.tec-gv__select-wrap {
	position: relative;
	margin: .5em 0 0 1.7em;
}

.tec-gv__select {
	-webkit-appearance: none;
	appearance: none;
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding: .4em 2.2em .4em .6em;
	border: 1px solid currentColor;
	border-radius: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	cursor: pointer;
}

.tec-gv__select-wrap::after {
	content: "";
	position: absolute;
	top: 50%;
	right: .9em;
	width: .45em;
	height: .45em;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-70%) rotate(45deg);
	pointer-events: none;
}
