/* FY Kit: booking questions (K6). Themes restyle through the variables and classes. */
:where(.fyek-questions) {
	--_gap: var(--fyek-q-gap, 16px);
	--_bg: var(--fyek-q-bg, var(--fyek-surface, #fff));
	--_line: var(--fyek-q-line, var(--fyek-line, rgb(0 0 0 / .22)));
	--_radius: var(--fyek-q-radius, var(--fyek-radius, 10px));
	--_accent: var(--fyek-q-accent, var(--fyek-accent, var(--wp--preset--color--accent, currentColor)));
	--_error: var(--fyek-q-error, #b3261e);
	display: grid;
	gap: var(--_gap);
	min-width: 0;
	margin: 0 0 var(--_gap);
	padding: 0;
	border: 0;
	flex-basis: 100%;
	width: 100%;
}
:where(.fyek-questions__title) { float: left; width: 100%; padding: 0; margin: 0 0 calc(var(--_gap) * -.4); font-weight: 700; font-size: 1.05em; }
:where(.fyek-questions__title) + * { clear: both; }
:where(.fyek-questions__note) { margin: 0; font-size: .9em; opacity: .8; }
:where(.fyek-question) { display: grid; gap: 6px; min-width: 0; }
:where(.fyek-question__label) { font-weight: 600; line-height: 1.35; }
:where(.fyek-question__req, .fyek-question__opt) { margin-left: .35em; font-weight: 400; font-size: .8em; opacity: .7; }
:where(.fyek-question__help) { margin: 0; font-size: .875em; opacity: .75; line-height: 1.45; }
:where(.fyek-question) :where(input[type="text"], input[type="number"], textarea, select) {
	box-sizing: border-box;
	width: 100%;
	min-height: 44px;
	padding: 10px 12px;
	border: 1px solid var(--_line);
	border-radius: var(--_radius);
	background: var(--_bg);
	color: inherit;
	font: inherit;
	line-height: 1.4;
}
:where(.fyek-question) textarea { min-height: 7em; resize: vertical; }
:where(.fyek-question) :where(input, textarea, select):focus-visible { outline: 2px solid var(--_accent); outline-offset: 1px; border-color: var(--_accent); }
:where(.fyek-question__choices) { display: flex; flex-wrap: wrap; gap: 8px; }
:where(.fyek-question__choice) { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--_radius); box-shadow: inset 0 0 0 1px var(--_line); background: var(--_bg); cursor: pointer; }
:where(.fyek-question__choice) input { position: absolute; opacity: 0; pointer-events: none; }
:where(.fyek-question__choice):has(input:checked) { box-shadow: inset 0 0 0 2px var(--_accent); background: color-mix(in srgb, var(--_accent) 8%, var(--_bg)); }
:where(.fyek-question__choice):has(input:focus-visible) { outline: 2px solid var(--_accent); outline-offset: 2px; }
:where(.fyek-question__tick) { display: flex; gap: 10px; align-items: flex-start; min-height: 44px; cursor: pointer; }
:where(.fyek-question__tick) input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--_accent); }
:where(.fyek-question__error) { margin: 0; color: var(--_error); font-size: .875em; font-weight: 600; }
:where(.fyek-question__error):empty { display: none; }
:where(.fyek-question.is-invalid) :where(input[type="text"], input[type="number"], textarea, select) { border-color: var(--_error); box-shadow: 0 0 0 1px var(--_error); }
:where(.fyek-question.is-invalid .fyek-question__choice) { box-shadow: inset 0 0 0 1px var(--_error); }
/* Venuera lays a ticket out in a grid or a row: the questions take a full row above Add to cart. */
.venuera-ticket-item > .fyek-questions { grid-column: 1 / -1; flex: 1 1 100%; }
