/* naluka Konfigurator – Produktseite */

.nk-stage {
	position: relative;
	width: 100%;
	background: #fff;
}
.nk-stage__canvas {
	display: block;
	width: 100%;
	height: auto;
	opacity: 0;
	transition: opacity .25s ease;
}
.nk-stage.is-ready .nk-stage__canvas { opacity: 1; }
.nk-stage__loading {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: .875rem;
	color: #777;
}
.nk-stage.is-ready .nk-stage__loading { display: none; }
.nk-stage.is-error .nk-stage__loading::after { content: ' Bild konnte nicht geladen werden.'; }
/* Foto (Galeriebild) an Stelle der Bühne */
.nk-stage__photo { display: none; width: 100%; height: auto; object-fit: contain; background: #fff; }
.nk-stage.is-photo .nk-stage__canvas, .nk-stage.is-photo .nk-stage__loading { display: none; }
.nk-stage.is-photo .nk-stage__photo { display: block; }
.nk-view img { display: block; width: 100%; height: auto; }

/* Ansichten unter der Bühne */
.nk-views {
	display: flex;
	gap: .5rem;
	margin-top: .75rem;
	overflow-x: auto;
	padding-bottom: .25rem;
	scrollbar-width: thin;
}
.nk-view {
	flex: 0 0 auto;
	width: 96px;
	padding: 2px;
	border: 2px solid transparent;
	border-radius: 4px;
	background: #fff;
	cursor: pointer;
	opacity: .65;
	transition: opacity .12s ease, border-color .12s ease;
}
.nk-view canvas { display: block; width: 100%; height: auto; }
.nk-view:hover { opacity: 1; }
.nk-view.is-active { border-color: #111; opacity: 1; }
.nk-view:focus-visible { outline: 2px solid #111; outline-offset: 2px; }

.nk-options { margin: 0 0 1.25rem; }
.nk-group { margin-bottom: 1rem; }
.nk-group__head {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 1rem;
	margin-bottom: .4rem;
	font-size: .9375rem;
}
.nk-group__name { font-weight: 600; }
.nk-group__value { color: #666; font-size: .875rem; }

.nk-swatches { display: flex; flex-wrap: wrap; gap: .45rem; }
.nk-swatch {
	--nk-c: #999;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--nk-c);
	box-shadow: inset 0 0 0 1px rgba(0,0,0,.14), 0 0 0 2px transparent;
	cursor: pointer;
	transition: transform .12s ease, box-shadow .12s ease;
}
.nk-swatch.is-light { box-shadow: inset 0 0 0 1px rgba(0,0,0,.28), 0 0 0 2px transparent; }
.nk-swatch:hover { transform: scale(1.08); }
.nk-swatch.is-selected {
	box-shadow: inset 0 0 0 1px rgba(0,0,0,.14), 0 0 0 2px #fff, 0 0 0 4px currentColor;
	color: #111;
}
.nk-swatch:focus-visible { outline: 2px solid #111; outline-offset: 3px; }

.nk-price {
	display: flex;
	align-items: baseline;
	gap: .6rem;
	flex-wrap: wrap;
	padding-top: .75rem;
	border-top: 1px solid rgba(0,0,0,.1);
	margin-top: .5rem;
}
.nk-price__label { font-size: .875rem; color: #666; }
.nk-price__amount { font-size: 1.25rem; }
.nk-price__note { width: 100%; color: #666; }

.nk-cart-thumb { max-width: 100%; height: auto; }

/* Aktion: gesenkter Aufpreis */
.nk-tile__price--promo s { opacity: .55; font-weight: 400; }
.nk-tile__price--promo strong { color: #1F4D34; font-weight: 600; }

/* Farbe im Sale */
.nk-price__sale { display: flex; align-items: center; gap: 6px; color: #1F4D34; font-weight: 600; }
.nk-price__saledot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: 0 0 7px; }

/* Farbe im Sale: Schild an der Kachel */
.nk-swatch, .nk-tile { position: relative; }
.nk-sale-tag {
	position: absolute; top: -7px; right: -7px; z-index: 2;
	background: #1F4D34; color: #fff; font-size: 9px; font-weight: 700; line-height: 1;
	padding: 3px 5px; border-radius: 9px; letter-spacing: .02em; white-space: nowrap;
	box-shadow: 0 0 0 2px #fff;
}
.nk-tile .nk-sale-tag { top: 6px; right: 6px; font-size: 10px; padding: 4px 7px; }
.nk-tile.is-sale { border-color: #1F4D34; }

/* Maßfeld: Begründung und Hilfe */
.nk-measure__row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.nk-measure__why { margin: 7px 0 0; font-size: 12px; line-height: 1.5; color: #5b5b57; }
.nk-measure__helpbtn {
	background: none; border: 0; padding: 4px 2px; cursor: pointer;
	font: inherit; font-size: 12px; color: #1F4D34; text-decoration: underline; text-underline-offset: 3px;
}
.nk-measure__help { margin: 8px 0 0; padding: 10px 12px; background: #f4f2ee; font-size: 12px; line-height: 1.55; }
.nk-measure__help p { margin: 0 0 6px; }
.nk-measure__help a { color: #1F4D34; text-underline-offset: 3px; }
.nk-measure.is-missing .nk-measure__field { border-color: #b08d4f; }
