/**
 * Wood Floor Configurator – frontend styles.
 * Every selector is scoped to .wfc-root. Values are driven by CSS custom
 * properties that are printed from Floor Models → Settings → Styling.
 */

/* ------------------------------------------------------------------ */
/* Tokens (fallbacks; real values are output inline from settings)     */
/* ------------------------------------------------------------------ */
.wfc-root {
	--wfc-container-width: 1340px;
	--wfc-section-bg: #ffffff;
	--wfc-text: #2b2b2b;
	--wfc-muted: #666666;
	--wfc-heading: #2b2b2b;
	--wfc-primary: #00512d;
	--wfc-border: #dededc;
	--wfc-drawing-bg: #f7f6f0;
	--wfc-btn-bg: #00512d;
	--wfc-btn-text: #ffffff;
	--wfc-btn-hover-bg: #003d22;
	--wfc-btn-hover-text: #ffffff;
	--wfc-radius: 6px;
	--wfc-btn-radius: 6px;
	--wfc-modal-radius: 12px;
	--wfc-pad-top: 48px;
	--wfc-pad-bottom: 72px;
	--wfc-pad-top-m: 28px;
	--wfc-pad-bottom-m: 44px;
	--wfc-gap: 50px;
	--wfc-title-size: 30px;
	--wfc-title-size-m: 24px;
	--wfc-body-size: 15px;
	--wfc-body-size-m: 15px;
	--wfc-model-title: 40px;
	--wfc-model-title-m: 30px;
	--wfc-compare-title: 32px;
	--wfc-compare-title-m: 24px;
	--wfc-dropdown-h: 46px;
	--wfc-thumb-w: 86px;
	--wfc-modal-max: 1320px;
	--wfc-media-aspect: 3 / 2;
	--wfc-subtle: #9a9a98;
	--wfc-focus: 0 0 0 3px color-mix(in srgb, var(--wfc-primary) 30%, transparent);

	color: var(--wfc-text);
	font-size: var(--wfc-body-size);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

/* ------------------------------------------------------------------ */
/* Defensive resets against theme leakage (scoped)                     */
/* ------------------------------------------------------------------ */
.wfc-root,
.wfc-root *,
.wfc-root *::before,
.wfc-root *::after {
	box-sizing: border-box;
}

.wfc-root button {
	-webkit-appearance: none;
	appearance: none;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: none;
	box-shadow: none;
	color: inherit;
	font: inherit;
	letter-spacing: inherit;
	line-height: inherit;
	text-transform: none;
	text-decoration: none;
	text-shadow: none;
	min-height: 0;
	min-width: 0;
	width: auto;
	height: auto;
	cursor: pointer;
	transition: none;
}

.wfc-root img {
	max-width: 100%;
	height: auto;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	margin: 0;
	padding: 0;
}

.wfc-root h2,
.wfc-root h3,
.wfc-root p,
.wfc-root dl,
.wfc-root dt,
.wfc-root dd,
.wfc-root ul,
.wfc-root li {
	margin: 0;
	padding: 0;
}

.wfc-root ul {
	list-style: none;
}

.wfc-root h2,
.wfc-root h3 {
	color: var(--wfc-heading);
	text-transform: none;
	letter-spacing: normal;
	border: 0;
}

.wfc-root[hidden],
.wfc-root [hidden] {
	display: none !important; /* Themes sometimes override [hidden]; state must win. */
}

.wfc-root :focus-visible {
	outline: 2px solid var(--wfc-primary);
	outline-offset: 2px;
}

.wfc-root .wfc-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* ------------------------------------------------------------------ */
/* Section & layout                                                    */
/* ------------------------------------------------------------------ */
.wfc-root.wfc-configurator {
	background: var(--wfc-section-bg);
	padding: var(--wfc-pad-top) 0 var(--wfc-pad-bottom);
	width: 100%;
	overflow-x: clip;
}

/*
 * Full width: break out of a narrow theme content column (e.g. block themes that limit
 * page content to ~650–840px) so the three columns get the room the design needs.
 * --wfc-sbw (scrollbar width) is set by JS; JS also removes this class automatically if
 * the page layout does not allow a safe breakout (sidebars, clipped wrappers).
 */
.wfc-root.wfc-configurator.wfc-breakout.is-breakout-ok {
	width: calc(100vw - var(--wfc-sbw, 0px));
	max-width: none;
	margin-left: calc(50% - 50vw + var(--wfc-sbw, 0px) / 2);
	margin-right: calc(50% - 50vw + var(--wfc-sbw, 0px) / 2);
}

.wfc-root .wfc-container {
	width: 100%;
	max-width: var(--wfc-container-width);
	margin: 0 auto;
	padding: 0 30px;
}

/* The layout reacts to the width it actually gets, not to the screen width. */
.wfc-root .wfc-container--layout {
	container: wfc-layout / inline-size;
}

.wfc-root .wfc-controls,
.wfc-root .wfc-media,
.wfc-root .wfc-details {
	container-type: inline-size;
}

/* Measured from the reference: 336 : 482 : 360 with ~50px gaps. */
.wfc-root .wfc-layout {
	display: grid;
	grid-template-columns: minmax(0, 28fr) minmax(0, 40fr) minmax(0, 30fr);
	grid-template-areas: "controls media details";
	column-gap: var(--wfc-gap);
	row-gap: 40px;
	align-items: start;
}

.wfc-root .wfc-controls { grid-area: controls; min-width: 0; }
.wfc-root .wfc-media    { grid-area: media; min-width: 0; }
.wfc-root .wfc-details  { grid-area: details; min-width: 0; }

.wfc-root:not(.is-ready) .wfc-media,
.wfc-root:not(.is-ready) .wfc-details,
.wfc-root:not(.is-ready) .wfc-model-select,
.wfc-root:not(.is-ready) .wfc-compare-btn {
	visibility: hidden;
}

/* ------------------------------------------------------------------ */
/* Intro + steps                                                       */
/* ------------------------------------------------------------------ */
.wfc-root .wfc-intro__title {
	font-size: var(--wfc-title-size);
	font-size: min(var(--wfc-title-size), 11cqi);
	overflow-wrap: break-word;
	line-height: 1.15;
	font-weight: 500;
	margin-bottom: 12px;
}

.wfc-root .wfc-intro__text {
	color: var(--wfc-muted);
	font-size: 16px;
	line-height: 1.6;
	margin-bottom: 36px;
}

.wfc-root .wfc-step + .wfc-step {
	margin-top: 36px;
}

.wfc-root .wfc-step__label {
	font-family: inherit;
	font-size: 14px;
	line-height: 1.3;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wfc-text);
	margin: 0 0 14px;
}

.wfc-root .wfc-step__label label {
	font: inherit;
	letter-spacing: inherit;
	color: inherit;
	cursor: default;
	margin: 0;
}

/* ------------------------------------------------------------------ */
/* 1. Floor type – one connected segmented control                     */
/* ------------------------------------------------------------------ */
.wfc-root .wfc-seg {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	/* 1px gap + border-coloured background = thin dividers between the buttons. */
	gap: 1px;
	border: 1px solid var(--wfc-border);
	border-radius: var(--wfc-radius);
	background: var(--wfc-border);
	overflow: hidden;
}

.wfc-root .wfc-seg__btn {
	flex: 1 1 86px;
	min-width: 0;
	min-height: 48px;
	padding: 8px 14px;
	background: #fff;
	overflow-wrap: break-word;
	hyphens: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	font-size: 14px;
	line-height: 1.2;
	font-weight: 400;
	color: var(--wfc-text);
	background: transparent;
	border-radius: calc(var(--wfc-radius) - 1px);
	transition: background-color 0.15s ease, color 0.15s ease;
}

.wfc-root .wfc-seg__btn:hover {
	background: color-mix(in srgb, var(--wfc-primary) 6%, #fff);
	color: var(--wfc-text);
}

.wfc-root .wfc-seg__btn.is-active,
.wfc-root .wfc-seg__btn.is-active:hover {
	background: var(--wfc-primary);
	color: #fff;
	font-weight: 600;
}

.wfc-root .wfc-seg__btn:focus-visible {
	outline-offset: -3px;
	outline-color: currentColor;
}

/* ------------------------------------------------------------------ */
/* 2. Wood type – circular swatches                                    */
/* ------------------------------------------------------------------ */
.wfc-root .wfc-swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 14px 18px;
}

.wfc-root .wfc-swatch {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	width: 72px;
	color: var(--wfc-muted);
}

.wfc-root .wfc-swatch__circle {
	position: relative;
	display: block;
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background-color: #c8a06a;
	box-shadow: 0 0 0 0 var(--wfc-primary);
	transition: box-shadow 0.15s ease;
}

.wfc-root .wfc-swatch__circle img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
}

/* Selected: green ring separated by a thin white gap (as in the reference). */
.wfc-root .wfc-swatch.is-active .wfc-swatch__circle {
	box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--wfc-primary);
}

.wfc-root .wfc-swatch:hover:not(.is-active) .wfc-swatch__circle {
	box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--wfc-border);
}

.wfc-root .wfc-swatch__check {
	position: absolute;
	right: -4px;
	bottom: -2px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--wfc-primary);
	color: #fff;
	border: 2px solid #fff;
	display: none;
	align-items: center;
	justify-content: center;
}

.wfc-root .wfc-swatch.is-active .wfc-swatch__check {
	display: flex;
}

.wfc-root .wfc-swatch__name {
	font-size: 15px;
	line-height: 1.3;
	text-align: center;
	margin-top: 4px;
}

.wfc-root .wfc-swatch.is-active .wfc-swatch__name {
	color: var(--wfc-text);
	font-weight: 600;
}

.wfc-root .wfc-swatch:focus-visible {
	outline: none;
}

.wfc-root .wfc-swatch:focus-visible .wfc-swatch__circle {
	outline: 2px solid var(--wfc-primary);
	outline-offset: 7px;
}

.wfc-root .wfc-wood-desc,
.wfc-root .wfc-helper {
	margin-top: 16px;
	font-size: 14px;
	line-height: 1.6;
	color: var(--wfc-muted);
}

.wfc-root .wfc-wood-desc + .wfc-helper {
	margin-top: 8px;
}

/* ------------------------------------------------------------------ */
/* 3. Model selector – card + custom dropdown list (as the reference)  */
/* ------------------------------------------------------------------ */
.wfc-root .wfc-controls {
	position: relative;
	z-index: 3; /* The open list must overlap the gallery column when stacked on mobile. */
}

.wfc-root .wfc-model-select {
	position: relative;
}

.wfc-root .wfc-model-select__display {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 66px;
	padding: 13px 16px;
	border: 1px solid var(--wfc-border);
	border-radius: var(--wfc-radius);
	background: #fff;
	cursor: pointer;
	user-select: none;
	-webkit-user-select: none;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.wfc-root .wfc-model-select__display:hover {
	border-color: color-mix(in srgb, var(--wfc-text) 30%, var(--wfc-border));
}

.wfc-root .wfc-model-select__display:focus-visible {
	outline: 2px solid var(--wfc-primary);
	outline-offset: 2px;
}

.wfc-root .wfc-model-select.is-open .wfc-model-select__display {
	border-color: var(--wfc-primary);
	background: color-mix(in srgb, var(--wfc-primary) 4%, #fff);
}

.wfc-root .wfc-model-select__display[aria-disabled="true"] {
	cursor: default;
}

.wfc-root .wfc-model-select__text,
.wfc-root .wfc-option__text {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 3px;
}

.wfc-root .wfc-model-select__name,
.wfc-root .wfc-option__name {
	font-size: 15px;
	line-height: 1.3;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--wfc-text);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.wfc-root .wfc-model-select__meta,
.wfc-root .wfc-option__meta {
	font-size: 13px;
	line-height: 1.35;
	color: var(--wfc-muted);
}

.wfc-root .wfc-model-select__status,
.wfc-root .wfc-option__status {
	flex: 0 0 auto;
	font-size: 11px;
	line-height: 1.3;
	font-weight: 600;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: var(--wfc-muted);
	white-space: nowrap;
}

.wfc-root .wfc-model-select__status.is-instock,
.wfc-root .wfc-option__status.is-instock {
	color: var(--wfc-primary);
	font-weight: 700;
}

.wfc-root .wfc-model-select__caret {
	flex: 0 0 auto;
	display: flex;
	color: var(--wfc-text);
	transition: transform 0.18s ease;
}

.wfc-root .wfc-model-select.is-open .wfc-model-select__caret {
	transform: rotate(180deg);
}

/* Dropdown list */
.wfc-root .wfc-model-select__list {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 8px);
	z-index: 20;
	max-height: min(300px, 60vh);
	margin: 0;
	padding: 6px;
	overflow-y: auto;
	overscroll-behavior: contain;
	list-style: none;
	background: #fff;
	border: 1px solid var(--wfc-border);
	border-radius: var(--wfc-radius);
	box-shadow: 0 12px 32px rgba(20, 24, 22, 0.1);
	scrollbar-width: thin;
	scrollbar-color: color-mix(in srgb, var(--wfc-text) 35%, transparent) transparent;
}

.wfc-root .wfc-model-select__list:focus {
	outline: none;
}

.wfc-root .wfc-option {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 12px 12px;
	border-radius: calc(var(--wfc-radius) - 2px);
	cursor: pointer;
	list-style: none;
}

.wfc-root .wfc-option + .wfc-option {
	margin-top: 2px;
}

.wfc-root .wfc-option.is-active,
.wfc-root .wfc-option[aria-selected="true"] {
	background: #f2f2ef;
}

.wfc-root .wfc-option.is-active:not([aria-selected="true"]) {
	background: #f6f6f3;
}

/* Hidden native select: keeps state + no-JS fallback semantics, never shown. */
.wfc-root .wfc-model-select__native {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
	opacity: 0;
	pointer-events: none;
}

.wfc-root .wfc-empty {
	padding: 18px 16px;
	border: 1px dashed var(--wfc-border);
	border-radius: var(--wfc-radius);
	color: var(--wfc-muted);
	font-size: 14px;
}

/* Compare button */
.wfc-root .wfc-compare-btn {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 14px;
	width: 100%;
	margin-top: 16px;
	padding: 16px;
	/*
	 * Themes and page builders (Elementor, Divi, ...) style every <button> globally, often with
	 * !important, which used to square off the corners and thicken the border here. These few
	 * declarations are forced so the control always looks the same on every site.
	 */
	border: 1px solid var(--wfc-primary) !important;
	border-radius: var(--wfc-btn-radius, 6px) !important;
	background: #fff !important;
	background-image: none !important;
	color: var(--wfc-primary) !important;
	box-shadow: none !important;
	text-shadow: none !important;
	text-decoration: none !important;
	min-height: 0 !important;
	font-size: 13.5px;
	line-height: 1.5;
	font-weight: 600 !important;
	letter-spacing: 0.08em !important;
	text-transform: uppercase !important;
	text-align: left;
	transition: background-color 0.15s ease;
}

.wfc-root .wfc-compare-btn:hover {
	background: color-mix(in srgb, var(--wfc-primary) 5%, #fff) !important;
	color: var(--wfc-primary) !important;
}

.wfc-root .wfc-compare-btn__icon,
.wfc-root .wfc-compare-btn__chev {
	display: flex;
}

/* ------------------------------------------------------------------ */
/* Media column                                                        */
/* ------------------------------------------------------------------ */
.wfc-root .wfc-media__main {
	position: relative;
}

.wfc-root .wfc-media__zoom {
	position: absolute;
	top: 0;
	right: 0;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border: 1px solid var(--wfc-border);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: var(--wfc-text);
	pointer-events: none; /* Clicks go to the image button underneath, which opens the lightbox. */
	transition: border-color 0.15s ease, color 0.15s ease;
}

.wfc-root .wfc-media__main:hover .wfc-media__zoom {
	border-color: var(--wfc-primary);
	color: var(--wfc-primary);
}

.wfc-root .wfc-media__stage {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: var(--wfc-media-aspect);
	max-height: 520px;
	background: transparent;
	cursor: zoom-in;
	overflow: hidden;
}

.wfc-root .wfc-media__stage:disabled {
	cursor: default;
}

.wfc-root .wfc-media__stage.is-drawing {
	background: var(--wfc-drawing-bg);
	border-radius: var(--wfc-radius);
	padding: 16px;
}

.wfc-root .wfc-media__img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.wfc-root .wfc-media__placeholder {
	color: var(--wfc-subtle);
	font-size: 14px;
}

.wfc-root .wfc-tag {
	display: inline-flex;
	align-items: center;
	padding: 6px 11px;
	border: 1px solid var(--wfc-border);
	border-radius: 4px;
	background: #fff;
	font-size: 12px;
	line-height: 1.4;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--wfc-text);
}

.wfc-root .wfc-media__tag {
	margin-top: 0;
	position: relative;
	z-index: 1;
}

.wfc-root .wfc-media__nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	margin-top: 26px;
}

.wfc-root .wfc-circle {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 1px solid var(--wfc-border);
	border-radius: 50%;
	background: #fff;
	color: var(--wfc-text);
	transition: border-color 0.15s ease, color 0.15s ease;
}

.wfc-root .wfc-circle:hover {
	border-color: var(--wfc-primary);
	color: var(--wfc-primary);
	background: #fff;
}

.wfc-root .wfc-circle:disabled {
	opacity: 0.4;
	cursor: default;
}

.wfc-root .wfc-media__thumbs {
	display: flex;
	gap: 10px;
	max-width: calc(var(--wfc-thumb-w) * 3 + 20px + 8px);
	padding: 3px;
	overflow-x: auto;
	scrollbar-width: thin;
}

.wfc-root .wfc-thumb {
	position: relative;
	flex: 0 1 var(--wfc-thumb-w);
	width: var(--wfc-thumb-w);
	min-width: 70px; /* Shrinks before the strip starts scrolling on very narrow screens. */
	aspect-ratio: 86 / 66;
	border: 1px solid var(--wfc-border);
	border-radius: 4px;
	background: #fff;
	overflow: hidden;
}

.wfc-root .wfc-thumb.is-active {
	border: 2px solid var(--wfc-primary);
}

.wfc-root .wfc-thumb:hover:not(.is-active) {
	border-color: color-mix(in srgb, var(--wfc-text) 35%, var(--wfc-border));
}

.wfc-root .wfc-thumb__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.wfc-root .wfc-thumb__label {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 3px 2px;
	background: rgba(40, 40, 40, 0.78);
	color: #fff;
	font-size: 9.5px;
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	text-align: center;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* ------------------------------------------------------------------ */
/* Details column                                                      */
/* ------------------------------------------------------------------ */
.wfc-root .wfc-details__badge {
	display: inline-block;
	margin: 0 0 18px;
	padding: 9px 20px;
	border: 1px solid var(--wfc-border);
	border-radius: var(--wfc-radius);
	background: #fff;
	color: var(--wfc-muted);
	font-size: 12px;
	line-height: 1.4;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.wfc-root .wfc-details__badge.is-instock {
	color: var(--wfc-primary);
}

.wfc-root .wfc-details__title {
	font-size: var(--wfc-model-title);
	font-size: min(var(--wfc-model-title), 13cqi);
	line-height: 1.1;
	font-weight: 400;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	margin-bottom: 12px;
	overflow-wrap: anywhere;
}

.wfc-root .wfc-details__sub {
	font-size: 18px;
	line-height: 1.5;
	color: var(--wfc-muted);
}

.wfc-root .wfc-specs {
	margin-top: 36px;
	display: grid;
	row-gap: 13px;
}

.wfc-root .wfc-specs__row {
	display: grid;
	grid-template-columns: minmax(96px, 116px) minmax(0, 1fr);
	column-gap: 16px;
	align-items: baseline;
}

.wfc-root .wfc-specs__label {
	font-weight: 600;
	color: var(--wfc-text);
	font-size: var(--wfc-body-size);
}

.wfc-root .wfc-specs__value {
	color: var(--wfc-muted);
	font-size: var(--wfc-body-size);
	overflow-wrap: anywhere;
}

.wfc-root .wfc-details__desc,
.wfc-root .wfc-details__tech {
	margin-top: 22px;
	color: var(--wfc-muted);
	font-size: 14px;
	line-height: 1.6;
}

.wfc-root .wfc-details__tech strong {
	color: var(--wfc-text);
	font-weight: 600;
}

.wfc-root a.wfc-cta {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 52px;
	margin-top: 36px;
	padding: 12px 20px;
	/* Forced for the same reason as the compare button above. */
	border: 0 !important;
	border-radius: var(--wfc-btn-radius, 6px) !important;
	background: var(--wfc-btn-bg) !important;
	background-image: none !important;
	color: var(--wfc-btn-text) !important;
	box-shadow: none !important;
	text-shadow: none !important;
	font-size: 15px;
	line-height: 1.3;
	font-weight: 600 !important;
	letter-spacing: 0.08em !important;
	text-transform: uppercase !important;
	text-align: center;
	text-decoration: none !important;
	box-shadow: none;
	border: 0;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.wfc-root a.wfc-cta:hover,
.wfc-root a.wfc-cta:focus-visible {
	background: var(--wfc-btn-hover-bg) !important;
	color: var(--wfc-btn-hover-text) !important;
	text-decoration: none;
}

.wfc-root a.wfc-download {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	margin-top: 18px;
	color: var(--wfc-primary);
	font-size: 15px;
	line-height: 1.4;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: underline;
	text-decoration-thickness: 1.5px;
	text-underline-offset: 5px;
	box-shadow: none;
	border: 0;
}

.wfc-root a.wfc-download.is-disabled,
.wfc-root a.wfc-download.is-disabled:hover {
	color: var(--wfc-primary);
	opacity: 0.45;
	cursor: not-allowed;
	text-decoration-thickness: 1.5px;
}

.wfc-root a.wfc-download:hover {
	color: var(--wfc-btn-hover-bg);
	text-decoration-thickness: 2px;
}

.wfc-root .wfc-download__icon {
	display: inline-flex;
}

.wfc-root .wfc-downloads {
	margin-top: 10px;
	display: grid;
	gap: 6px;
}

.wfc-root a.wfc-download--small {
	margin-top: 0;
	font-size: 13px;
	gap: 10px;
	text-decoration-thickness: 1px;
	text-underline-offset: 4px;
}

.wfc-root a.wfc-download--small .wfc-download__icon svg {
	width: 15px;
	height: 15px;
}

/* ------------------------------------------------------------------ */
/* Comparison modal                                                    */
/* ------------------------------------------------------------------ */
.wfc-root.wfc-compare,
.wfc-root.wfc-lightbox {
	position: fixed;
	inset: 0;
	z-index: 999990;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 3vh 24px;
	color: var(--wfc-text);
	font-size: var(--wfc-body-size);
	line-height: 1.5;
}

.wfc-root.wfc-lightbox {
	z-index: 999995;
}

.wfc-root .wfc-compare__overlay,
.wfc-root .wfc-lightbox__overlay {
	position: absolute;
	inset: 0;
	background: rgba(20, 20, 20, 0.62);
	opacity: 0;
	transition: opacity 0.2s ease;
}

.wfc-root.is-open .wfc-compare__overlay,
.wfc-root.is-open .wfc-lightbox__overlay {
	opacity: 1;
}

.wfc-root .wfc-compare__dialog {
	position: relative;
	width: 100%;
	max-width: var(--wfc-modal-max);
	max-height: 94vh;
	max-height: 94dvh;
	overflow-y: auto;
	overscroll-behavior: contain;
	background: #fff;
	border-radius: var(--wfc-modal-radius);
	padding: 38px 36px 34px;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.wfc-root.is-open .wfc-compare__dialog {
	opacity: 1;
	transform: none;
}

.wfc-root .wfc-compare__dialog:focus {
	outline: none;
}

.wfc-root .wfc-compare__close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	color: var(--wfc-muted);
	z-index: 2;
}

.wfc-root .wfc-compare__close:hover {
	background: #f3f3f1;
	color: var(--wfc-text);
}

.wfc-root .wfc-compare__header {
	padding-right: 48px;
	margin-bottom: 38px;
}

.wfc-root .wfc-compare__title {
	font-size: var(--wfc-compare-title);
	line-height: 1.2;
	font-weight: 700;
	margin: 0 0 16px;
}

.wfc-root .wfc-compare__desc {
	font-size: 16px;
	line-height: 1.5;
	color: var(--wfc-muted);
}

.wfc-root .wfc-compare__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr);
	column-gap: 26px;
	align-items: start;
}

.wfc-root .wfc-compare__label {
	display: block;
	margin: 0 0 12px;
	font-size: 13px;
	line-height: 1.3;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wfc-muted);
}

.wfc-root .wfc-compare__label--drawing {
	margin: 20px 0 10px;
}

.wfc-root .wfc-compare__select-wrap {
	position: relative;
}

.wfc-root select.wfc-compare__select {
	display: block;
	width: 100%;
	height: var(--wfc-dropdown-h);
	min-height: 44px;
	margin: 0;
	padding: 0 44px 0 18px;
	border: 1px solid var(--wfc-border);
	border-radius: var(--wfc-radius);
	background: #fff;
	box-shadow: none;
	color: var(--wfc-text);
	font: inherit;
	font-size: 16px;
	line-height: 1.2;
	font-weight: 400;
	letter-spacing: 0.01em;
	-webkit-appearance: none;
	appearance: none;
	cursor: pointer;
	text-overflow: ellipsis;
}

.wfc-root .wfc-compare__col[data-col="1"] select.wfc-compare__select {
	font-weight: 600;
}

.wfc-root select.wfc-compare__select:hover {
	border-color: color-mix(in srgb, var(--wfc-text) 30%, var(--wfc-border));
}

.wfc-root select.wfc-compare__select:focus {
	outline: none;
	border-color: var(--wfc-primary);
	box-shadow: var(--wfc-focus);
}

.wfc-root select.wfc-compare__select option {
	font-weight: 400;
	color: var(--wfc-text);
}

.wfc-root select.wfc-compare__select option:disabled {
	color: #b5b5b3;
}

.wfc-root .wfc-compare__caret {
	position: absolute;
	top: 50%;
	right: 14px;
	transform: translateY(-50%);
	display: flex;
	pointer-events: none;
	color: var(--wfc-text);
}

.wfc-root .wfc-compare__swap-wrap {
	display: flex;
	justify-content: center;
	/* Aligns the circle with the top of the drawings (label + dropdown + label). */
	padding-top: calc(var(--wfc-dropdown-h) + 50px);
}

.wfc-root .wfc-compare__swap {
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--wfc-border);
	border-radius: 50%;
	background: #fff;
	color: var(--wfc-primary);
	transition: border-color 0.15s ease, background-color 0.15s ease;
}

.wfc-root .wfc-compare__swap:hover {
	border-color: var(--wfc-primary);
	background: color-mix(in srgb, var(--wfc-primary) 5%, #fff);
	color: var(--wfc-primary);
}

.wfc-root .wfc-compare__drawing {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 576 / 383;
	padding: 20px 8px;
	background: var(--wfc-drawing-bg);
	border-radius: 12px;
	overflow: hidden;
}

.wfc-root button.wfc-compare__drawing {
	cursor: zoom-in;
}

.wfc-root button.wfc-compare__drawing:focus-visible {
	outline-offset: 3px;
}

.wfc-root .wfc-compare__img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.wfc-root .wfc-compare__nodrawing {
	color: var(--wfc-subtle);
	font-size: 14px;
	text-align: center;
	padding: 0 16px;
}

.wfc-root .wfc-compare__name {
	margin: 18px 0 4px;
	font-size: 26px;
	line-height: 1.2;
	font-weight: 400;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--wfc-text);
}

.wfc-root .wfc-compare__line {
	font-size: 17px;
	line-height: 1.55;
	color: var(--wfc-muted);
}

/* ------------------------------------------------------------------ */
/* Lightbox                                                            */
/* ------------------------------------------------------------------ */
.wfc-root .wfc-lightbox__dialog {
	position: relative;
	display: flex;
	flex-direction: column;
	width: 100%;
	max-width: 1600px;
	height: 92vh;
	height: 92dvh;
	background: #fff;
	border-radius: var(--wfc-modal-radius);
	overflow: hidden;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

.wfc-root .wfc-lightbox__dialog:focus {
	outline: none;
}

.wfc-root .wfc-lightbox__toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 14px 12px 22px;
	border-bottom: 1px solid var(--wfc-border);
}

.wfc-root .wfc-lightbox__caption {
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	min-width: 0;
}

.wfc-root .wfc-lightbox__tools {
	display: flex;
	gap: 8px;
	flex: 0 0 auto;
}

.wfc-root .wfc-lightbox__tools .wfc-circle {
	width: 40px;
	height: 40px;
}

.wfc-root .wfc-lightbox__stage {
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: var(--wfc-drawing-bg);
	overflow: hidden;
}

.wfc-root.is-zoomed .wfc-lightbox__stage {
	display: block;
	overflow: auto;
	cursor: grab;
}

.wfc-root .wfc-lightbox__img {
	display: block;
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	margin: auto;
}

.wfc-root.is-zoomed .wfc-lightbox__img {
	max-width: none;
	max-height: none;
}

.wfc-root .wfc-noscript {
	padding: 16px;
	border: 1px solid var(--wfc-border);
	border-radius: var(--wfc-radius);
}

/* ------------------------------------------------------------------ */
/* Responsive                                                          */
/* ------------------------------------------------------------------ */

/* Tablet: controls left, media + details stacked right. */
.wfc-root .wfc-demo-notice {
	margin: 0 0 24px;
	padding: 12px 16px;
	border: 1px dashed var(--wfc-primary);
	border-radius: var(--wfc-radius);
	background: rgba(0, 81, 45, 0.05);
	color: var(--wfc-text);
	font-size: 14px;
	line-height: 1.5;
}

.wfc-root .wfc-demo-notice strong {
	color: var(--wfc-primary);
	margin-right: 6px;
}

.wfc-root .wfc-demo-notice a {
	color: var(--wfc-primary);
	font-weight: 600;
	text-decoration: underline;
	margin-left: 6px;
}

/* ------------------------------------------------------------------ */
/* Responsive                                                          */
/* The three-column layout adapts to the width the configurator really  */
/* gets (container queries), so it never squeezes or cuts content —     */
/* even inside a narrow theme column. Older browsers use screen width.  */
/* ------------------------------------------------------------------ */
@container wfc-layout (max-width: 1079px) {
	.wfc-root .wfc-layout {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
		grid-template-areas:
			"controls media"
			"controls details";
	}
}

@container wfc-layout (max-width: 699px) {
	.wfc-root .wfc-layout {
		grid-template-columns: minmax(0, 1fr);
		grid-template-areas:
			"controls"
			"media"
			"details";
		row-gap: 36px;
	}

	.wfc-root .wfc-intro__title {
		font-size: var(--wfc-title-size-m);
	}

	.wfc-root .wfc-step + .wfc-step {
		margin-top: 30px;
	}

	.wfc-root .wfc-details__title {
		font-size: var(--wfc-model-title-m);
	}

	.wfc-root .wfc-details__sub {
		font-size: 16px;
	}

	.wfc-root .wfc-specs {
		margin-top: 26px;
	}

	.wfc-root .wfc-specs__label,
	.wfc-root .wfc-specs__value {
		font-size: var(--wfc-body-size-m);
	}

	.wfc-root a.wfc-cta {
		margin-top: 28px;
	}

	.wfc-root a.wfc-download {
		min-height: 44px; /* Touch target; underline is text-decoration so the look is unchanged. */
		margin-top: 8px;
	}

	.wfc-root .wfc-media__nav {
		gap: 10px;
		margin-top: 20px;
	}

	.wfc-root .wfc-circle {
		width: 44px;
		height: 44px;
	}

	.wfc-root .wfc-media__thumbs {
		max-width: calc(100% - 108px);
	}
}

@supports not (container-type: inline-size) {
	@media (max-width: 1099px) {
		.wfc-root .wfc-layout {
			grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
			grid-template-areas:
				"controls media"
				"controls details";
		}
	}

	@media (max-width: 767px) {
		.wfc-root .wfc-layout {
			grid-template-columns: minmax(0, 1fr);
			grid-template-areas:
				"controls"
				"media"
				"details";
			row-gap: 36px;
		}

		.wfc-root .wfc-intro__title {
			font-size: var(--wfc-title-size-m);
		}

		.wfc-root .wfc-step + .wfc-step {
			margin-top: 30px;
		}

		.wfc-root .wfc-details__title {
			font-size: var(--wfc-model-title-m);
		}

		.wfc-root .wfc-details__sub {
			font-size: 16px;
		}

		.wfc-root .wfc-specs {
			margin-top: 26px;
		}

		.wfc-root .wfc-specs__label,
		.wfc-root .wfc-specs__value {
			font-size: var(--wfc-body-size-m);
		}

		.wfc-root a.wfc-cta {
			margin-top: 28px;
		}

		.wfc-root a.wfc-download {
			min-height: 44px; /* Touch target; underline is text-decoration so the look is unchanged. */
			margin-top: 8px;
		}

		.wfc-root .wfc-media__nav {
			gap: 10px;
			margin-top: 20px;
		}

		.wfc-root .wfc-circle {
			width: 44px;
			height: 44px;
		}

		.wfc-root .wfc-media__thumbs {
			max-width: calc(100% - 108px);
		}
	}
}

/* Narrow columns: stack spec label above value, keep controls comfortable. */
@container (max-width: 299px) {
	.wfc-root .wfc-specs__row {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 2px;
	}

	.wfc-root .wfc-seg__btn {
		font-size: 13.5px;
		padding: 6px 8px;
	}

	.wfc-root .wfc-media__nav {
		gap: 6px;
	}

	.wfc-root .wfc-media .wfc-circle {
		width: 40px;
		height: 40px;
	}

	.wfc-root .wfc-media__thumbs {
		max-width: calc(100% - 92px);
		gap: 8px;
	}

	.wfc-root .wfc-thumb__label {
		font-size: 8px;
		letter-spacing: 0;
		padding: 3px 1px;
	}
}

/* Screen-size rules: section spacing and the (full-screen) dialogs. */
@media (max-width: 767px) {
	.wfc-root.wfc-configurator {
		padding: var(--wfc-pad-top-m) 0 var(--wfc-pad-bottom-m);
		font-size: var(--wfc-body-size-m);
	}

	.wfc-root .wfc-container {
		padding: 0 18px;
	}

	/* Modal */
	.wfc-root.wfc-compare,
	.wfc-root.wfc-lightbox {
		padding: 10px;
	}

	.wfc-root .wfc-compare__dialog {
		max-height: calc(100vh - 20px);
		max-height: calc(100dvh - 20px);
		padding: 24px 18px 26px;
	}

	.wfc-root .wfc-compare__close {
		position: sticky;
		top: 0;
		float: right;
		margin: -12px -8px 0 0;
		width: 44px;
		height: 44px;
		background: #fff;
	}

	.wfc-root .wfc-compare__header {
		padding-right: 0;
		margin-bottom: 24px;
	}

	.wfc-root .wfc-compare__title {
		font-size: var(--wfc-compare-title-m);
		margin-bottom: 10px;
	}

	.wfc-root .wfc-compare__desc {
		font-size: 15px;
	}

	.wfc-root .wfc-compare__grid {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 0;
	}

	.wfc-root .wfc-compare__swap-wrap {
		padding: 22px 0;
	}

	.wfc-root .wfc-compare__swap svg {
		transform: rotate(90deg);
	}

	.wfc-root .wfc-compare__col[data-col="2"] {
		order: 3;
	}

	.wfc-root .wfc-compare__drawing {
		aspect-ratio: 4 / 3;
	}

	.wfc-root .wfc-compare__name {
		font-size: 22px;
	}

	.wfc-root .wfc-compare__line {
		font-size: 15px;
	}

	.wfc-root .wfc-lightbox__dialog {
		height: calc(100vh - 20px);
		height: calc(100dvh - 20px);
	}

	.wfc-root .wfc-lightbox__stage {
		padding: 12px;
	}
}


@media (max-width: 374px) {
	.wfc-root .wfc-container {
		padding: 0 14px;
	}

	.wfc-root .wfc-model-select__display {
		padding: 12px;
	}

	.wfc-root .wfc-compare-btn {
		gap: 10px;
		padding: 15px 12px;
		font-size: 13px;
		letter-spacing: 0.06em;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wfc-root *,
	.wfc-root *::before,
	.wfc-root *::after {
		transition: none !important; /* Respect user preference over any theme transitions. */
		animation: none !important;
	}

	.wfc-root .wfc-compare__dialog {
		transform: none;
	}
}

/* ------------------------------------------------------------------ */
/* Theme / page-builder proofing                                       */
/* Many themes and builders (Elementor, Divi, ...) style every button   */
/* and link globally, often with !important. The declarations below are */
/* the minimum needed so those rules cannot change how the controls     */
/* look. They repeat values already set above — nothing new.            */
/* ------------------------------------------------------------------ */
.wfc-root .wfc-seg__btn,
.wfc-root .wfc-swatch,
.wfc-root .wfc-media__stage {
	border: 0 !important;
	border-radius: 0 !important;
	background: none !important;
	background-image: none !important;
	box-shadow: none !important;
	text-shadow: none !important;
	color: inherit !important;
	text-decoration: none !important;
	min-height: 0 !important;
	min-width: 0 !important;
}

.wfc-root .wfc-compare-btn {
	/* Layout forced: themes often set white-space/width on buttons, which pushed the
	   label out of the box on narrow screens. */
	display: grid !important;
	grid-template-columns: auto minmax(0, 1fr) auto !important;
	align-items: center !important;
	width: 100% !important;
	max-width: 100% !important;
	white-space: normal !important;
	overflow: hidden !important;
	text-align: left !important;
	float: none !important;
}

.wfc-root .wfc-compare-btn__text,
.wfc-root .wfc-model-select__text,
.wfc-root .wfc-option__text {
	min-width: 0 !important;
	white-space: normal !important;
	overflow-wrap: break-word !important;
	text-overflow: clip !important;
}

.wfc-root .wfc-compare-btn__icon,
.wfc-root .wfc-compare-btn__chev,
.wfc-root .wfc-model-select__caret,
.wfc-root .wfc-model-select__status,
.wfc-root .wfc-option__status {
	flex: 0 0 auto !important;
	white-space: nowrap !important;
}

.wfc-root a.wfc-download {
	display: inline-flex !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	max-width: 100% !important;
	white-space: normal !important;
	overflow-wrap: break-word !important;
}

.wfc-root .wfc-seg {
	/* Layout forced: some themes/builders set flex/width/white-space on every button,
	   which used to glue the three buttons together and cut the labels. */
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 1px !important;
	background: var(--wfc-border, #dededc) !important;
	padding: 0 !important;
}

.wfc-root .wfc-seg__btn {
	flex: 1 1 86px !important;
	width: auto !important;
	max-width: none !important;
	min-width: 0 !important;
	padding: 8px 14px !important;
	background: #fff !important;
	color: var(--wfc-text) !important;
	min-height: 48px !important;
	white-space: normal !important;
	overflow-wrap: break-word !important;
	text-align: center !important;
	text-transform: none !important;
	letter-spacing: normal !important;
	float: none !important;
}

.wfc-root .wfc-seg__btn > * {
	white-space: normal !important;
	overflow: visible !important;
	text-overflow: clip !important;
}

.wfc-root .wfc-seg__btn.is-active,
.wfc-root .wfc-seg__btn.is-active:hover {
	background: var(--wfc-primary) !important;
	color: #fff !important;
}

.wfc-root .wfc-circle {
	border: 1px solid var(--wfc-border) !important;
	border-radius: 50% !important;
	background: #fff !important;
	background-image: none !important;
	color: var(--wfc-text) !important;
	box-shadow: none !important;
	text-shadow: none !important;
	text-decoration: none !important;
	min-height: 0 !important;
	min-width: 0 !important;
}

.wfc-root .wfc-circle:hover {
	border-color: var(--wfc-primary) !important;
	color: var(--wfc-primary) !important;
}

.wfc-root .wfc-thumb {
	border: 1px solid var(--wfc-border) !important;
	border-radius: 4px !important;
	background: #fff !important;
	background-image: none !important;
	box-shadow: none !important;
	min-height: 0 !important;
	min-width: 0 !important;
}

.wfc-root .wfc-thumb.is-active {
	border: 2px solid var(--wfc-primary) !important;
}

.wfc-root .wfc-model-select__display {
	border: 1px solid var(--wfc-border) !important;
	border-radius: var(--wfc-radius, 6px) !important;
	background: #fff !important;
	background-image: none !important;
	box-shadow: none !important;
}

.wfc-root .wfc-model-select.is-open .wfc-model-select__display {
	border-color: var(--wfc-primary) !important;
}

.wfc-root .wfc-model-select__list {
	background: #fff !important;
	border: 1px solid var(--wfc-border) !important;
	border-radius: var(--wfc-radius, 6px) !important;
}

.wfc-root a.wfc-download {
	background: none !important;
	background-image: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: var(--wfc-primary) !important;
	text-transform: uppercase !important;
	letter-spacing: 0.08em !important;
}

.wfc-root .wfc-compare__dialog,
.wfc-root .wfc-lightbox__dialog {
	background: #fff !important;
}

.wfc-root .wfc-compare__close,
.wfc-root .wfc-compare__swap {
	background: #fff !important;
	background-image: none !important;
	box-shadow: none !important;
	text-shadow: none !important;
}

.wfc-root .wfc-compare__swap {
	border: 1px solid var(--wfc-border) !important;
	border-radius: 50% !important;
	color: var(--wfc-primary) !important;
}

.wfc-root .wfc-compare__close {
	border: 0 !important;
	color: var(--wfc-text) !important;
}

.wfc-root button.wfc-compare__drawing {
	border: 0 !important;
	border-radius: 12px !important;
	background: var(--wfc-drawing-bg, #f7f6f0) !important;
	background-image: none !important;
	box-shadow: none !important;
	color: inherit !important;
	text-decoration: none !important;
	min-height: 0 !important;
	min-width: 0 !important;
}

.wfc-root .wfc-compare__swap,
.wfc-root .wfc-compare__close,
.wfc-root .wfc-lightbox__toolbar .wfc-circle {
	min-height: 0 !important;
	min-width: 0 !important;
	text-decoration: none !important;
}

.wfc-root .wfc-compare__select {
	background: #fff !important;
	background-image: none !important;
	letter-spacing: normal !important;
	text-decoration: none !important;
	border: 1px solid var(--wfc-border) !important;
	border-radius: var(--wfc-radius, 6px) !important;
	box-shadow: none !important;
	color: var(--wfc-text) !important;
	text-transform: none !important;
}

.wfc-root .wfc-swatch__name,
.wfc-root .wfc-model-select__name,
.wfc-root .wfc-model-select__meta,
.wfc-root .wfc-option__name,
.wfc-root .wfc-option__meta {
	letter-spacing: normal !important;
	text-decoration: none !important;
}

.wfc-root .wfc-swatch__name,
.wfc-root .wfc-model-select__meta,
.wfc-root .wfc-option__meta {
	text-transform: none !important;
}

.wfc-root .wfc-model-select__name,
.wfc-root .wfc-option__name {
	text-transform: uppercase !important;
	letter-spacing: 0.03em !important;
}
