/*
 * Virtual shop shell. Loaded on /virtual-shop/ and /fr/boutique-virtuelle/ only.
 *
 * Everything is scoped to .tdc-vs-page (the route's body class) or .tdc-vs.
 * Theme tokens are used where the theme provides them, each with a literal
 * fallback, so the page reads correctly even if the theme's sheet is absent.
 *
 * The lean lander chrome (.lp-shell and friends) is styled by the theme's
 * landing.css, which the theme only enqueues on its own lander templates. The
 * few rules below give that chrome its ink ground on this route.
 */

.tdc-vs-page .lp-shell {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	background: var(--color-dark, #0a0a14);
	color: var(--color-text-on-dark, #f0f0ff);
}

.tdc-vs-page .lp-header {
	padding: 1.25rem 1rem;
	border-bottom: 1px solid rgba(0, 240, 255, 0.12);
}

.tdc-vs-page .lp-header__home {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: inherit;
	font-weight: 700;
	text-decoration: none;
}

.tdc-vs-page .lp-footer {
	padding: 1.5rem 1rem;
	border-top: 1px solid rgba(0, 240, 255, 0.12);
	font-size: 0.875rem;
}

.tdc-vs-page .lp-footer__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	margin-bottom: 0.75rem;
}

.tdc-vs-page .lp-footer a,
.tdc-vs-page .lp-footer button {
	color: inherit;
}

.tdc-vs {
	flex: 1 0 auto;
	background: var(--color-dark, #0a0a14);
	color: var(--color-text-on-dark, #f0f0ff);
}

#tdc-vs-root {
	position: relative;
	max-width: 68rem;
	margin: 0 auto;
	padding: 3rem 1rem 4rem;
}

.tdc-vs__intro {
	max-width: 44rem;
}

.tdc-vs__title {
	margin: 0 0 1rem;
	color: inherit;
	font-size: clamp(2rem, 5vw, 3.25rem);
	line-height: 1.1;
}

.tdc-vs__lede {
	margin: 0 0 1.75rem;
	color: var(--color-text-on-dark-secondary, rgba(240, 240, 255, 0.75));
	font-size: 1.125rem;
	line-height: 1.6;
}

.tdc-vs__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1rem 1.5rem;
}

.tdc-vs__enter {
	min-height: 3rem;
	padding: 0.75rem 1.75rem;
	border: 0;
	border-radius: 999px;
	background: var(--color-cta, #ff5c5c);
	color: var(--color-on-cta, #0a0a14);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.tdc-vs__enter:hover {
	background: var(--color-cta-hover, #e64545);
}

.tdc-vs__enter:focus-visible,
.tdc-vs a:focus-visible {
	outline: 2px solid var(--color-neon-cyan, #00f0ff);
	outline-offset: 3px;
}

.tdc-vs__enter[disabled] {
	cursor: progress;
	opacity: 0.7;
}

.tdc-vs a {
	color: var(--color-neon-cyan, #00f0ff);
}

.tdc-vs__classic {
	display: inline-flex;
	align-items: center;
	min-height: 3rem;
	font-weight: 600;
}

.tdc-vs__status {
	min-height: 1.5rem;
	margin: 1rem 0 0;
	color: var(--color-text-on-dark-secondary, rgba(240, 240, 255, 0.75));
}

.tdc-vs__section {
	max-width: 52rem;
	margin-top: 3rem;
	line-height: 1.6;
}

.tdc-vs__section p {
	color: var(--color-text-on-dark-secondary, rgba(240, 240, 255, 0.75));
}

.tdc-vs__heading {
	margin: 0 0 1rem;
	color: inherit;
	font-size: 1.5rem;
}

.tdc-vs__steps {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
	gap: 1.5rem;
	max-width: none;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: tdc-vs-step;
}

.tdc-vs__step {
	counter-increment: tdc-vs-step;
}

.tdc-vs__step-title {
	margin: 0 0 0.5rem;
	color: inherit;
	font-size: 1.0625rem;
}

.tdc-vs__step-title::before {
	content: counter(tdc-vs-step) ". ";
	color: var(--color-neon-cyan, #00f0ff);
}

.tdc-vs__step p {
	margin: 0;
}

.tdc-vs__departments {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin: 1rem 0 0;
	padding: 0;
	list-style: none;
}

.tdc-vs__departments a {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	padding: 0.5rem 1.125rem;
	border: 1px solid rgba(0, 240, 255, 0.35);
	border-radius: 999px;
	text-decoration: none;
}

.tdc-vs__departments a:hover {
	border-color: var(--color-neon-cyan, #00f0ff);
}

.tdc-vs__lang {
	margin-top: 1.5rem;
}

/* Let the mounted 3D app use the viewport; keep the intro and fallback contained. */
#tdc-vs-root:has(> .tdc-vs-app) {
	max-width: none;
	padding: 0;
}
