.woo-eurile-configurator {
	--woo-eurile-text: #1f2933;
	--woo-eurile-muted: #4b5563;
	--woo-eurile-panel: #f7f7f5;
	--woo-eurile-panel-alt: #efefed;
	--woo-eurile-surface: #fff;
	--woo-eurile-border: #cfd4da;
	--woo-eurile-focus: #0b5fff;
	--woo-eurile-success-text: #12351a;
	--woo-eurile-warning-text: #6b2f00;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
	align-items: start;
	margin: 0;
	color: var(--woo-eurile-text);
}

.woo-eurile-configurator :where(a, button, input, select, textarea):focus-visible {
	outline: 3px solid var(--woo-eurile-focus);
	outline-offset: 2px;
}

.woo-eurile-success,
.woo-eurile-notice {
	grid-column: 1 / -1;
	scroll-margin-top: 90px;
	padding: 12px 14px;
	border-left: 4px solid #2f7d32;
	background: #f0f8f0;
	color: var(--woo-eurile-success-text);
	margin-bottom: 1em;
}

.woo-eurile-preview {
	position: sticky;
	top: 100px;
}

.woo-eurile-layer-stack {
	position: relative;
	overflow: hidden;
	min-height: 340px;
}

.woo-eurile-base-layer,
.woo-eurile-option-layer {
	display: block;
	width: 100%;
	height: auto;
}

.woo-eurile-option-layer {
	position: absolute;
	inset: 0;
	opacity: 0;
	pointer-events: none;
	transition: opacity 180ms ease;
}

.woo-eurile-option-layer.is-active {
	opacity: 1;
}

.woo-eurile-preview-placeholder {
	display: grid;
	min-height: 340px;
	place-items: center;
	color: var(--woo-eurile-muted);
}

.woo-eurile-form {

}

.woo-eurile-parameters {
	display: grid;
	gap: 8px;
}

.woo-eurile-parameter {
	display: grid;
	gap: 6px;
	align-items: start;
	margin: 0;
	padding: 10px 12px;
	border: 0;
	border-radius: 10px;
	background: var(--woo-eurile-panel);
}

.woo-eurile-parameter:nth-child(even) {
	background: var(--woo-eurile-panel-alt);
}

.woo-eurile-parameter.is-condition-hidden {
	display: none;
}

.woo-eurile-parameter-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	width: 100%;
	margin: 0;
	padding: 0;
	font-weight: 600;
	line-height: 1.25;
	font-size: 1em;
	word-break: normal;
	overflow-wrap: anywhere;
	color: var(--woo-eurile-text);
}

.woo-eurile-parameter-title span {
	min-width: 0;
}

.woo-eurile-info-toggle {
	background: transparent !important;
	padding: 0;
	margin: 0;
	min-height: auto;
}

.woo-eurile-info-icon {
	display: block;
}

.woo-eurile-info {
	margin: 0;
	font-size: 0.9em;
	line-height: 1.2em;
}

.woo-eurile-info p{
	margin-bottom: 0.9em;
}

.woo-eurile-select-wrap {
	display: flex;
	gap: 2px;
	flex-direction: column;
	min-width: 0;
}

.woo-eurile-option-select {
	border-radius: 10px!important;
	color: var(--woo-eurile-text)!important;
}

.woo-eurile-option-select:focus {
	border-color: var(--woo-eurile-focus) !important;
	box-shadow: 0 0 0 3px rgba(11, 95, 255, 0.22);
}

.woo-eurile-selected-description,
.woo-eurile-option-descriptions {
	margin: 0;
	font-size: 0.9em;
	line-height: 1.2em;
	padding-left: 0.5em;
	color: var(--woo-eurile-warning-text);
}

.woo-eurile-option-descriptions {
	padding-left: 20px;
}

.woo-eurile-contact {
	margin-top: 20px;
	display: grid;
	gap: 8px;
}

.woo-eurile-contact p {
	margin: 0;
	font-size: 1.05em;
	display: block;
	font-weight: 700;
}

.woo-eurile-contact-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.woo-eurile-contact-grid label span,
.woo-eurile-note span,
.woo-eurile-manager-total > span:first-child {
	display: block;
	margin-bottom: 8px;
	font-weight: 700;
}

.woo-eurile-contact-grid input,
.woo-eurile-manager-total input,
.woo-eurile-note textarea {
	width: 100%;
	border-radius: 10px;
}

label.woo-eurile-note {
	margin-top: 10px;
}

.woo-eurile-manager-total small {
	display: block;
	margin-top: 4px;
	color: var(--woo-eurile-muted);
}

.woo-eurile-manager-total-vat {
	display: block;
	margin-top: 6px;
	font-size: 0.95em;
	color: var(--woo-eurile-text);
}

.woo-eurile-manager-total-vat strong {
	font-weight: 700;
}

.woo-eurile-summary {
	position: sticky;
	bottom: 0;
	z-index: 20;
	display: grid;
	gap: 8px;
	margin-top: 14px;
	padding: 14px;
	border: 1px solid var(--woo-eurile-border);
	border-radius: 10px;
	background: var(--woo-eurile-surface);
	box-shadow: 0 -5px 15px rgba(31, 41, 51, 0.12);
}

.woo-eurile-summary .woo-eurile-summary__title {
	color: var(--woo-eurile-text);
}

.woo-eurile-summary p {
	margin: 0;
}

.woo-eurile-submit {
	width: 100%;
	border-color: var(--woo-eurile-text) !important;
	border-radius: 10px;
	background: var(--woo-eurile-text) !important;
	color: #fff !important;
}

.woo-eurile-submit:hover,
.woo-eurile-submit:focus {
	border-color: #111827 !important;
	background: #111827 !important;
	color: #fff !important;
}

.woo-eurile-reset {
	justify-self: center;
	padding: 0;
	border: 0;
	background: transparent !important;
	color: #553018;
	text-decoration: underline;
	cursor: pointer;
	min-height: auto;
	font-weight: 400;
	line-height: 1;
	font-size: 0.9em;
}

.woo-eurile-reset:hover,
.woo-eurile-reset:focus {
	color: #2c241f;
	text-decoration: underline !important;
	font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
	.woo-eurile-option-layer {
		transition: none;
	}
}

@media (max-width: 900px) {
	.woo-eurile-configurator {
		grid-template-columns: 1fr;
	}

	.woo-eurile-preview {
		position: relative;
		top: auto;
	}

	.woo-eurile-layer-stack,
	.woo-eurile-preview-placeholder {
		min-height: 260px;
	}

	.woo-eurile-contact-grid {
		grid-template-columns: 1fr;
	}
}
