.cw-course-options [hidden] {
	display: none !important;
}

/* Row 1: grey boxed table row, label cell | dropdown cell */
.cw-course-options__row {
	display: grid;
	grid-template-columns: minmax(120px, 40%) 1fr;
	border: 1px solid #ccc;
	background: #f1f1f1;
}

.cw-course-options__label,
.cw-course-options__field {
	padding: 16px 20px;
}

.cw-course-options__label {
	border-right: 1px solid #ccc;
	color: #6d6d6d;
	font-weight: 400;
}

.cw-course-options__select {
	display: block;
	width: 100%;
	padding: 10px 14px;
	border: 1px solid #888;
	border-radius: 4px;
	background: #fff;
	color: #000;
	font-size: 1.1em;
}

.cw-course-options__clear {
	display: inline-block;
	margin-top: 4px;
	color: #3f9b4f;
	text-decoration: none;
}

/* Narrow screens: stack the label above the dropdown */
@media (max-width: 480px) {
	.cw-course-options__row {
		grid-template-columns: 1fr;
	}

	.cw-course-options__label {
		border-right: 0;
		border-bottom: 1px solid #ccc;
	}
}

/* Row 2: price line */
.cw-course-options__prices {
	margin: 16px 0 8px;
}

.cw-course-options__price {
	margin: 0;
	color: #6d6d6d;
	font-size: 1.1em;
}

/* Sale: crossed-out old price, new price to its right */
.cw-course-options__price del {
	opacity: 0.6;
	margin-right: 0.3em;
}

.cw-course-options__price ins {
	text-decoration: none;
	font-weight: 600;
}

/* Row 3: quantity and button */
.cw-course-options__actions {
	display: flex;
	align-items: stretch;
	gap: 20px;
}

.cw-course-options__qty {
	width: 115px;
	padding: 8px;
	border: 1px solid #555;
	border-radius: 4px;
	text-align: center;
	font-size: 1.1em;
}

.cw-course-options__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 48px;
	border: 0;
	border-radius: 4px;
	background: #3f9b4f;
	color: #fff;
	font-weight: 700;
	font-size: 1.2em;
	cursor: pointer;
	transition: background-color 0.2s;
}

.cw-course-options__button:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.cw-course-options__button svg {
	width: 1.1em;
	height: 1.1em;
	fill: currentColor;
}
