/* Eduhive - WooCommerce Radio Variations */

.eduhive-variation-title {
	font-size: 18px;
	font-weight: 600;
	line-height: 1.35;
	margin: 0 0 16px;
	color: #304d83;
}

.eduhive-variation-group {
	display: block;
	margin: 0 0 16px;
}

.eduhive-variation-label {
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	color: #4b5563;
	margin: 0 0 8px;
}

.eduhive-variation-radios {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.eduhive-radio-option {
	display: inline-flex;
	position: relative;
	margin: 0 !important;
	padding: 0 !important;
	cursor: pointer;
}

.eduhive-radio-option input {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.eduhive-radio-option span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 36px;
	box-sizing: border-box;
	padding: 6px 13px;
	border: 1px solid #d1d5db;
	border-radius: 4px;
	background: #fff;
	color: #374151;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.2;
	transition: border-color .15s ease, background-color .15s ease, color .15s ease;
}

.eduhive-radio-option:hover span {
	border-color: #159bd0;
}

.eduhive-radio-option input:checked + span {
	padding: 5px 12px;
	border: 2px solid #159bd0;
	background: #eef8fc;
	color: #17658c;
}

.eduhive-radio-option input:focus-visible + span {
	outline: 2px solid #159bd0;
	outline-offset: 2px;
}

.eduhive-radio-option input:disabled + span {
	opacity: .4;
	cursor: not-allowed;
	text-decoration: line-through;
}

/* Keep WooCommerce's native selects available to its variation engine, but not visible. */
.eduhive-native-variation-select {
	display: none !important;
}
