/* Product configurator demos. Scoped to .nc and .nc-cards; inherits the theme's font. */
.nc {
	--nc-surface: #1d1d1b;
	--nc-raised: #2a2926;
	--nc-fg: #f0ece5;
	--nc-muted: #b2afa8;
	--nc-line: #45443f;
	--nc-accent: #ff641e;
	--nc-on-accent: #111;
	--nc-stage: #e7e4df;
	--nc-radius: 14px;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0;
	margin: 2rem 0 2.5rem;
	background: var(--nc-surface);
	color: var(--nc-fg);
	border: 1px solid var(--nc-line);
	border-radius: var(--nc-radius);
	overflow: hidden;
	font-family: inherit;
	line-height: 1.45;
}
@media (min-width: 860px) {
	.nc { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); }
}

.nc__stage {
	position: relative;
	background: var(--nc-stage);
	transition: background-color .35s ease;
	aspect-ratio: 2 / 3;
	max-height: 78vh;
	width: 100%;
	overflow: hidden;
}
@media (min-width: 860px) {
	/* Let the stage stretch to the panel's height while never being shorter than 2:3. */
	.nc__stage { aspect-ratio: auto; max-height: none; }
	.nc__stage::before { content: ""; display: block; padding-top: 150%; }
}
.nc__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 50%;
	opacity: 0;
	transition: opacity .35s ease;
	margin: 0;
	max-width: none;
}
.nc__img.is-active { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .nc__img { transition: none; } }

.nc__panel {
	padding: clamp(20px, 3.2vw, 36px);
	display: flex;
	flex-direction: column;
	gap: 22px;
	min-width: 0;
}
.nc__eyebrow {
	margin: 0;
	font-size: .8125rem;
	letter-spacing: .02em;
	color: var(--nc-muted);
}
.nc__title {
	margin: -12px 0 0;
	font-size: clamp(1.5rem, 2.4vw, 2rem);
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.1;
	color: var(--nc-fg);
}

.nc__group { border: 0; margin: 0; padding: 0; min-width: 0; }
.nc__legend {
	padding: 0;
	margin: 0 0 10px;
	font-size: .875rem;
	font-weight: 600;
	color: var(--nc-fg);
}
.nc__value { font-weight: 400; color: var(--nc-muted); margin-left: 6px; }

.nc__swatches, .nc__options { display: flex; flex-wrap: wrap; gap: 10px; }
.nc__swatch, .nc__option { position: relative; cursor: pointer; }
.nc__swatch input, .nc__option input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	margin: 0;
}
.nc__chip {
	display: block;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--chip);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), 0 0 0 2px var(--nc-surface), 0 0 0 3px transparent;
	transition: box-shadow .15s ease, transform .15s ease;
}
.nc__swatch:hover .nc__chip { transform: scale(1.06); }
.nc__swatch input:checked + .nc__chip { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18), 0 0 0 3px var(--nc-surface), 0 0 0 5px var(--nc-accent); }
.nc__swatch input:focus-visible + .nc__chip { outline: 2px solid var(--nc-fg); outline-offset: 6px; }

.nc__option span {
	display: inline-block;
	padding: 9px 16px;
	border: 1px solid var(--nc-line);
	border-radius: 999px;
	font-size: .9375rem;
	color: var(--nc-fg);
	background: transparent;
	transition: border-color .15s ease, background .15s ease, color .15s ease;
}
.nc__option:hover span { border-color: var(--nc-muted); }
.nc__option input:checked + span { background: var(--nc-fg); color: var(--nc-surface); border-color: var(--nc-fg); }
.nc__option input:focus-visible + span { outline: 2px solid var(--nc-accent); outline-offset: 2px; }

.nc__summary {
	margin: 0;
	padding: 14px 0 0;
	border-top: 1px solid var(--nc-line);
	display: grid;
	gap: 6px;
	font-size: .9375rem;
}
.nc__summary div { display: flex; justify-content: space-between; gap: 16px; }
.nc__summary dt { color: var(--nc-muted); margin: 0; font-weight: 400; }
.nc__summary dd { margin: 0; text-align: right; color: var(--nc-fg); }

.nc__actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: auto; }
.nc__cta, .nc__cta:visited {
	display: inline-block;
	padding: 13px 22px;
	background: var(--nc-accent);
	color: var(--nc-on-accent);
	border-radius: 999px;
	font-weight: 600;
	font-size: .9375rem;
	text-decoration: none;
	transition: filter .15s ease;
}
.nc__cta:hover { filter: brightness(1.08); color: var(--nc-on-accent); }
.nc__cta:focus-visible { outline: 2px solid var(--nc-fg); outline-offset: 3px; }
.nc__share {
	padding: 12px 18px;
	background: transparent;
	color: var(--nc-fg);
	border: 1px solid var(--nc-line);
	border-radius: 999px;
	font: inherit;
	font-size: .9375rem;
	cursor: pointer;
}
.nc__share:hover { border-color: var(--nc-muted); }
.nc__share:focus-visible { outline: 2px solid var(--nc-accent); outline-offset: 2px; }

.nc__sr {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0);
	white-space: nowrap; border: 0;
}

/* Demo cards */
.nc-cards {
	list-style: none;
	margin: 1.5rem 0 2rem;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 16px;
}
.nc-card { margin: 0; padding: 0; }
.nc-card__link {
	display: flex;
	flex-direction: column;
	gap: 6px;
	height: 100%;
	text-decoration: none;
	color: inherit;
}
.nc-card__img {
	width: 100%;
	height: auto;
	aspect-ratio: 2 / 3;
	object-fit: cover;
	border-radius: 10px;
	background: #e7e4df;
	margin: 0 0 6px;
	transition: transform .25s ease;
}
.nc-card__link:hover .nc-card__img { transform: translateY(-2px); }
.nc-card__title { margin: 0; font-size: 1rem; font-weight: 600; line-height: 1.25; }
.nc-card__meta { font-size: .8125rem; opacity: .7; }
.nc-card__link:focus-visible { outline: 2px solid #ff641e; outline-offset: 4px; border-radius: 10px; }
.nc-more { margin-top: -0.5rem; }

.nc__note {
	margin: 14px 0 0;
	font-size: 12px;
	line-height: 1.5;
	color: #b2afa8;
}
.nc-byline {
	font-size: 0.875em;
	opacity: 0.75;
}
