/**
 * VIDALIM – Test de recomendación
 * Estilos del cuestionario. Mobile-first.
 * Todas las clases usan el prefijo vdm- y todos los valores de diseño
 * se controlan con variables CSS (los colores se pueden cambiar desde
 * Ajustes → VIDALIM Test, que sobrescribe estas variables en .vdm-test).
 */

.vdm-test {
	/* Color */
	--vdm-primary: #116d63;
	--vdm-primary-dark: #123d35;
	--vdm-accent: #e58a5b;
	--vdm-bg: #f6f4ee;
	--vdm-surface: #ffffff;
	--vdm-text: #1b2421;
	--vdm-muted: #59645f;
	--vdm-line: #e2ded3;
	--vdm-tint: #e8f1ef;
	--vdm-warn-bg: #fdf1e8;
	--vdm-warn-line: #f0c9ad;
	--vdm-gold-1: #f7d46b;
	--vdm-gold-2: #d79a1f;
	--vdm-on-primary: #ffffff;

	/* Tipografía (por defecto, la del tema) */
	--vdm-font-body: inherit;
	--vdm-font-heading: inherit;
	--vdm-font-accent: "Playfair Display", Georgia, "Times New Roman", serif;
	--vdm-fs-xs: 0.8125rem;
	--vdm-fs-sm: 0.9375rem;
	--vdm-fs-md: 1.0625rem;
	--vdm-fs-lg: clamp(1.5rem, 1.1rem + 1.8vw, 2.25rem);
	--vdm-fs-xl: clamp(2.25rem, 1.5rem + 3.6vw, 3.75rem);

	/* Espaciado y forma */
	--vdm-space-1: 0.5rem;
	--vdm-space-2: 0.75rem;
	--vdm-space-3: 1rem;
	--vdm-space-4: 1.5rem;
	--vdm-space-5: 2rem;
	--vdm-space-6: 3rem;
	--vdm-radius-sm: 10px;
	--vdm-radius: 16px;
	--vdm-radius-lg: 24px;
	--vdm-pill: 999px;
	--vdm-shadow: 0 1px 2px rgba(18, 61, 53, 0.06), 0 8px 24px rgba(18, 61, 53, 0.07);
	--vdm-focus: 0 0 0 3px var(--vdm-surface), 0 0 0 5px var(--vdm-primary);
	--vdm-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
	--vdm-max: 1120px;

	box-sizing: border-box;
	display: block;
	width: 100%;
	max-width: var(--vdm-max);
	margin: 0 auto;
	padding: var(--vdm-space-5) var(--vdm-space-3);
	background: var(--vdm-bg);
	border-radius: var(--vdm-radius-lg);
	color: var(--vdm-text);
	font-family: var(--vdm-font-body);
	font-size: var(--vdm-fs-md);
	line-height: 1.55;
	text-align: left;
	overflow-wrap: anywhere;
	-webkit-font-smoothing: antialiased;
	scroll-margin-top: 80px;
}

.vdm-test *,
.vdm-test *::before,
.vdm-test *::after {
	box-sizing: border-box;
}

.vdm-test p,
.vdm-test ul,
.vdm-test dl,
.vdm-test dd,
.vdm-test h2,
.vdm-test h3,
.vdm-test fieldset,
.vdm-test legend,
.vdm-test figure {
	margin: 0;
	padding: 0;
}

.vdm-test ul {
	list-style: none;
}

.vdm-test img {
	display: block;
	max-width: 100%;
	height: auto;
}

.vdm-test a {
	text-decoration: none;
}

.vdm-test button {
	font: inherit;
	letter-spacing: normal;
	text-transform: none;
	margin: 0;
}

@media (min-width: 768px) {
	.vdm-test {
		padding: var(--vdm-space-6) var(--vdm-space-5);
	}
}

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

.vdm-test [hidden] {
	display: none !important;
}

/* ---------- Tipografía ---------- */

.vdm-test .vdm-title {
	font-family: var(--vdm-font-heading);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.02em;
	color: var(--vdm-text);
	text-wrap: balance;
	outline: none;
}

.vdm-test .vdm-title--xl {
	font-size: var(--vdm-fs-xl);
}

.vdm-test .vdm-title--lg {
	font-size: var(--vdm-fs-lg);
}

.vdm-test .vdm-title:focus-visible {
	box-shadow: var(--vdm-focus);
	border-radius: 4px;
}

.vdm-test .vdm-accent {
	font-family: var(--vdm-font-accent);
	font-style: italic;
	font-weight: 600;
	color: var(--vdm-primary);
	letter-spacing: -0.01em;
}

.vdm-test .vdm-eyebrow {
	font-size: var(--vdm-fs-xs);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--vdm-primary);
}

.vdm-test .vdm-lead {
	font-size: var(--vdm-fs-md);
	color: var(--vdm-text);
	max-width: 62ch;
}

.vdm-test .vdm-h3 {
	font-family: var(--vdm-font-heading);
	font-size: 1.0625rem;
	font-weight: 800;
	color: var(--vdm-text);
	line-height: 1.3;
}

.vdm-test .vdm-muted {
	color: var(--vdm-muted);
}

.vdm-test .vdm-small {
	font-size: var(--vdm-fs-sm);
}

/* ---------- Iconos ---------- */

.vdm-test .vdm-icon {
	display: inline-flex;
	flex: none;
	width: 24px;
	height: 24px;
}

.vdm-test .vdm-icon svg {
	width: 100%;
	height: 100%;
}

.vdm-test .vdm-icon--sm {
	width: 18px;
	height: 18px;
}

.vdm-test .vdm-icon--xs {
	width: 14px;
	height: 14px;
}

/* ---------- Botones y enlaces ---------- */

.vdm-test .vdm-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 48px;
	padding: 0.75rem 1.5rem;
	border: 1.5px solid transparent;
	border-radius: var(--vdm-pill);
	background: transparent;
	color: var(--vdm-text);
	font-family: var(--vdm-font-heading);
	font-size: var(--vdm-fs-sm);
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	box-shadow: none;
	transition: background-color 0.2s var(--vdm-ease), color 0.2s var(--vdm-ease), border-color 0.2s var(--vdm-ease), transform 0.2s var(--vdm-ease);
	-webkit-tap-highlight-color: transparent;
}

.vdm-test .vdm-btn:focus-visible,
.vdm-test .vdm-link:focus-visible {
	outline: none;
	box-shadow: var(--vdm-focus);
}

.vdm-test .vdm-btn--lg {
	min-height: 56px;
	padding: 0.95rem 1.75rem;
	font-size: var(--vdm-fs-md);
}

.vdm-test .vdm-btn--sm {
	min-height: 44px;
	padding: 0.5rem 0.9rem;
}

.vdm-test .vdm-btn--block {
	width: 100%;
}

.vdm-test .vdm-btn--primary {
	background: var(--vdm-primary);
	border-color: var(--vdm-primary);
	color: var(--vdm-on-primary);
}

.vdm-test .vdm-btn--primary:hover {
	background: var(--vdm-primary-dark);
	border-color: var(--vdm-primary-dark);
	color: var(--vdm-on-primary);
}

.vdm-test .vdm-btn--outline {
	background: var(--vdm-surface);
	border-color: var(--vdm-primary);
	color: var(--vdm-primary);
}

.vdm-test .vdm-btn--outline:hover {
	background: var(--vdm-tint);
	color: var(--vdm-primary-dark);
}

.vdm-test .vdm-btn--ghost {
	padding-left: 0.5rem;
	color: var(--vdm-primary);
}

.vdm-test .vdm-btn--ghost:hover {
	background: var(--vdm-tint);
}

.vdm-test .vdm-btn:active {
	transform: translateY(1px);
}

.vdm-test .vdm-link {
	display: inline;
	padding: 0.25rem 0;
	border: 0;
	background: none;
	color: var(--vdm-primary);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-thickness: 1.5px;
	cursor: pointer;
	border-radius: 2px;
}

.vdm-test .vdm-link:hover {
	color: var(--vdm-primary-dark);
}

.vdm-test .vdm-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--vdm-space-2);
}

.vdm-test .vdm-actions > .vdm-btn {
	flex: 1 1 100%;
}

@media (min-width: 560px) {
	.vdm-test .vdm-actions > .vdm-btn {
		flex: 0 0 auto;
	}
}

.vdm-test .vdm-actions--center {
	justify-content: center;
}

/* ---------- Animaciones ---------- */

.vdm-test .vdm-enter {
	animation: vdm-in 0.38s var(--vdm-ease) both;
}

.vdm-test .vdm-enter-back {
	animation: vdm-in-back 0.38s var(--vdm-ease) both;
}

@keyframes vdm-in {
	from { opacity: 0; transform: translateX(18px); }
	to { opacity: 1; transform: none; }
}

@keyframes vdm-in-back {
	from { opacity: 0; transform: translateX(-18px); }
	to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	.vdm-test *,
	.vdm-test *::before,
	.vdm-test *::after {
		animation: none !important;
		transition: none !important;
		scroll-behavior: auto !important;
	}
}

/* ---------- Pantalla inicial ---------- */

.vdm-test .vdm-intro {
	display: grid;
	gap: var(--vdm-space-5);
	align-items: center;
}

.vdm-test .vdm-intro__text {
	display: grid;
	gap: var(--vdm-space-3);
	min-width: 0;
}

.vdm-test .vdm-intro__subtitle {
	font-size: 1.125rem;
	max-width: 46ch;
}

.vdm-test .vdm-intro__actions {
	padding-top: var(--vdm-space-1);
}

.vdm-test .vdm-intro__actions .vdm-btn {
	width: 100%;
}

.vdm-test .vdm-intro__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 0;
	color: var(--vdm-muted);
	font-size: var(--vdm-fs-sm);
}

.vdm-test .vdm-intro__meta li + li::before {
	content: "·";
	padding: 0 0.6em;
}

.vdm-test .vdm-intro__art {
	position: relative;
	height: 220px;
	max-width: 420px;
	width: 100%;
	justify-self: center;
}

@media (min-width: 560px) {
	.vdm-test .vdm-intro__actions .vdm-btn {
		width: auto;
	}
}

@media (min-width: 860px) {
	.vdm-test .vdm-intro {
		grid-template-columns: 1.15fr 0.85fr;
		gap: var(--vdm-space-6);
	}
	.vdm-test .vdm-intro__art {
		height: 360px;
	}
}

.vdm-test .vdm-art-orb {
	position: absolute;
	inset: 6% 12%;
	border-radius: 50%;
	background: var(--vdm-tint);
}

.vdm-test .vdm-art-capsule {
	position: absolute;
	display: block;
	width: 44%;
	aspect-ratio: 2.4 / 1;
	max-width: 100%;
	border-radius: var(--vdm-pill);
	background:
		radial-gradient(ellipse 60% 30% at 35% 28%, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0) 70%),
		linear-gradient(160deg, var(--vdm-gold-1) 0%, #efb53a 45%, var(--vdm-gold-2) 100%);
	box-shadow: inset 0 -6px 14px rgba(150, 90, 0, 0.25), 0 14px 26px rgba(120, 80, 10, 0.18);
}

.vdm-test .vdm-art-capsule--1 {
	top: 22%;
	left: 18%;
	transform: rotate(-28deg);
}

.vdm-test .vdm-art-capsule--2 {
	top: 48%;
	left: 44%;
	width: 36%;
	transform: rotate(14deg);
}

.vdm-test .vdm-art-capsule--3 {
	top: 66%;
	left: 14%;
	width: 26%;
	transform: rotate(-8deg);
	opacity: 0.9;
}

.vdm-test .vdm-art-chip {
	position: absolute;
	right: 0;
	top: 6%;
	padding: 0.5rem 0.9rem;
	border-radius: var(--vdm-radius-sm);
	background: var(--vdm-surface);
	box-shadow: var(--vdm-shadow);
	font-size: var(--vdm-fs-xs);
	font-weight: 700;
	color: var(--vdm-text);
}

/* ---------- Preguntas ---------- */

.vdm-test .vdm-step {
	display: grid;
	gap: var(--vdm-space-4);
	max-width: 860px;
	margin: 0 auto;
}

.vdm-test .vdm-progress {
	display: grid;
	gap: var(--vdm-space-1);
}

.vdm-test .vdm-progress__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--vdm-space-2);
}

.vdm-test .vdm-progress__label {
	font-size: var(--vdm-fs-sm);
	font-weight: 700;
	color: var(--vdm-muted);
	font-variant-numeric: tabular-nums;
}

.vdm-test .vdm-progress__bar {
	height: 6px;
	border-radius: var(--vdm-pill);
	background: var(--vdm-line);
	overflow: hidden;
}

.vdm-test .vdm-progress__fill {
	display: block;
	height: 100%;
	border-radius: inherit;
	background: var(--vdm-primary);
	transition: width 0.45s var(--vdm-ease);
}

.vdm-test .vdm-question {
	display: grid;
	gap: var(--vdm-space-4);
}

.vdm-test .vdm-fieldset {
	border: 0;
	min-width: 0;
	display: grid;
	gap: var(--vdm-space-3);
}

.vdm-test .vdm-legend {
	padding: 0;
	float: left;
	width: 100%;
	margin-bottom: var(--vdm-space-1);
}

.vdm-test .vdm-legend + * {
	clear: both;
}

.vdm-test .vdm-help {
	color: var(--vdm-muted);
	font-size: var(--vdm-fs-sm);
}

.vdm-test .vdm-options {
	display: grid;
	gap: var(--vdm-space-2);
	grid-template-columns: 1fr;
}

@media (min-width: 640px) {
	.vdm-test .vdm-options--2,
	.vdm-test .vdm-options--4 {
		grid-template-columns: 1fr 1fr;
	}
	.vdm-test .vdm-options--3 {
		grid-template-columns: repeat(3, 1fr);
	}
}

.vdm-test .vdm-option-wrap {
	position: relative;
	display: flex;
	min-width: 0;
}

.vdm-test .vdm-option__input {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	margin: 0;
	pointer-events: none;
}

.vdm-test .vdm-option {
	display: flex;
	align-items: center;
	gap: var(--vdm-space-3);
	width: 100%;
	min-height: 76px;
	padding: var(--vdm-space-3) var(--vdm-space-3);
	border: 1.5px solid var(--vdm-line);
	border-radius: var(--vdm-radius);
	background: var(--vdm-surface);
	color: var(--vdm-text);
	font-size: var(--vdm-fs-md);
	font-weight: 600;
	line-height: 1.35;
	cursor: pointer;
	transition: border-color 0.2s var(--vdm-ease), background-color 0.2s var(--vdm-ease), box-shadow 0.2s var(--vdm-ease);
	-webkit-tap-highlight-color: transparent;
}

.vdm-test .vdm-options--3 .vdm-option {
	align-items: flex-start;
}

@media (min-width: 640px) {
	.vdm-test .vdm-options--3 .vdm-option {
		flex-direction: column;
		min-height: 168px;
	}
	.vdm-test .vdm-options--3 .vdm-option__check {
		position: absolute;
		top: var(--vdm-space-3);
		right: var(--vdm-space-3);
	}
}

.vdm-test .vdm-option:hover {
	border-color: var(--vdm-primary);
}

.vdm-test .vdm-option__icon {
	width: 44px;
	height: 44px;
	padding: 10px;
	border-radius: 50%;
	background: var(--vdm-tint);
	color: var(--vdm-primary);
}

.vdm-test .vdm-option__text {
	flex: 1;
	min-width: 0;
}

.vdm-test .vdm-option__check {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 24px;
	height: 24px;
	border: 1.5px solid var(--vdm-line);
	border-radius: 50%;
	color: transparent;
	transition: all 0.2s var(--vdm-ease);
}

.vdm-test .vdm-option__input:checked + .vdm-option {
	border-color: var(--vdm-primary);
	background: var(--vdm-tint);
	box-shadow: inset 0 0 0 1px var(--vdm-primary);
}

.vdm-test .vdm-option__input:checked + .vdm-option .vdm-option__check {
	background: var(--vdm-primary);
	border-color: var(--vdm-primary);
	color: var(--vdm-on-primary);
}

.vdm-test .vdm-option__input:checked + .vdm-option .vdm-option__icon {
	background: var(--vdm-surface);
}

.vdm-test .vdm-option__input:focus-visible + .vdm-option {
	box-shadow: var(--vdm-focus);
}

.vdm-test .vdm-error {
	color: #a53a14;
	font-weight: 700;
	font-size: var(--vdm-fs-sm);
}

.vdm-test .vdm-question__actions {
	display: flex;
	justify-content: flex-end;
}

.vdm-test .vdm-question__actions .vdm-btn {
	width: 100%;
}

@media (min-width: 560px) {
	.vdm-test .vdm-question__actions .vdm-btn {
		width: auto;
	}
}

/* ---------- Resultado ---------- */

.vdm-test .vdm-result {
	display: grid;
	gap: var(--vdm-space-5);
}

.vdm-test .vdm-result__hero {
	display: grid;
	gap: var(--vdm-space-4);
	align-items: center;
}

@media (min-width: 860px) {
	.vdm-test .vdm-result__hero {
		grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
		gap: var(--vdm-space-6);
	}
}

.vdm-test .vdm-result__media {
	position: relative;
	min-width: 0;
}

.vdm-test .vdm-result__body {
	display: grid;
	gap: var(--vdm-space-3);
	min-width: 0;
	justify-items: start;
}

.vdm-test .vdm-result__body > .vdm-actions {
	width: 100%;
	padding-top: var(--vdm-space-1);
}

.vdm-test .vdm-result__name {
	font-size: 1.25rem;
	font-weight: 700;
}

.vdm-test .vdm-media {
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: var(--vdm-surface);
	border-radius: var(--vdm-radius-lg);
	aspect-ratio: 1 / 1;
	max-width: 100%;
}

.vdm-test .vdm-media img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.vdm-test .vdm-media--md {
	border-radius: var(--vdm-radius);
	background: var(--vdm-bg);
}

.vdm-test .vdm-media--sm {
	width: 72px;
	flex: none;
	border-radius: var(--vdm-radius-sm);
	background: var(--vdm-bg);
}

.vdm-test .vdm-media__placeholder {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	background: radial-gradient(circle at 50% 50%, var(--vdm-tint) 0 38%, transparent 39%);
}

.vdm-test .vdm-art-capsule--solo {
	top: 50%;
	left: 50%;
	width: 46%;
	transform: translate(-50%, -50%) rotate(-28deg);
}

.vdm-test .vdm-badge {
	position: absolute;
	top: var(--vdm-space-3);
	left: var(--vdm-space-3);
	padding: 0.35rem 0.8rem;
	border-radius: var(--vdm-pill);
	background: var(--vdm-accent);
	color: #fff;
	font-size: var(--vdm-fs-xs);
	font-weight: 800;
	letter-spacing: 0.02em;
}

.vdm-test .vdm-highlights {
	display: flex;
	flex-wrap: wrap;
	gap: var(--vdm-space-1);
}

.vdm-test .vdm-highlights li {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.45rem 0.85rem;
	border: 1px solid var(--vdm-line);
	border-radius: var(--vdm-pill);
	background: var(--vdm-surface);
	font-size: var(--vdm-fs-sm);
	font-weight: 700;
}

.vdm-test .vdm-highlights .vdm-icon {
	color: var(--vdm-primary);
}

.vdm-test .vdm-price {
	font-family: var(--vdm-font-heading);
	font-size: 1.5rem;
	font-weight: 800;
	color: var(--vdm-text);
	font-variant-numeric: tabular-nums;
}

.vdm-test .vdm-price del {
	color: var(--vdm-muted);
	font-weight: 500;
	font-size: 0.75em;
	margin-right: 0.35em;
}

.vdm-test .vdm-price ins {
	text-decoration: none;
}

.vdm-test .vdm-price--sm {
	font-size: 1.125rem;
}

.vdm-test .vdm-stock {
	display: inline-block;
	padding: 0.3rem 0.75rem;
	border-radius: var(--vdm-pill);
	background: var(--vdm-warn-bg);
	color: #8a3a12;
	font-size: var(--vdm-fs-sm);
	font-weight: 700;
}

.vdm-test .vdm-unavailable {
	display: grid;
	gap: var(--vdm-space-2);
	width: 100%;
	padding: var(--vdm-space-3);
	border: 1px solid var(--vdm-warn-line);
	border-radius: var(--vdm-radius);
	background: var(--vdm-warn-bg);
}

.vdm-test .vdm-unavailable__title {
	display: flex;
	gap: 0.5rem;
	align-items: center;
	font-weight: 800;
	color: #8a3a12;
}

.vdm-test .vdm-admin-note {
	width: 100%;
	padding: var(--vdm-space-2) var(--vdm-space-3);
	border: 1px dashed #b45309;
	border-radius: var(--vdm-radius-sm);
	background: #fffbeb;
	color: #78350f;
	font-size: var(--vdm-fs-xs);
}

.vdm-test .vdm-callout {
	display: flex;
	gap: var(--vdm-space-3);
	align-items: flex-start;
	padding: var(--vdm-space-4);
	border: 1px solid var(--vdm-line);
	border-radius: var(--vdm-radius);
	background: var(--vdm-tint);
}

.vdm-test .vdm-callout > div {
	display: grid;
	gap: 0.35rem;
	min-width: 0;
	max-width: 75ch;
}

.vdm-test .vdm-callout__icon {
	color: var(--vdm-primary);
}

.vdm-test .vdm-callout__title {
	font-weight: 800;
}

.vdm-test .vdm-callout--warn {
	background: var(--vdm-warn-bg);
	border-color: var(--vdm-warn-line);
}

.vdm-test .vdm-callout--warn .vdm-callout__icon {
	color: #b4531a;
}

.vdm-test .vdm-details {
	display: grid;
	gap: var(--vdm-space-3);
}

@media (min-width: 860px) {
	.vdm-test .vdm-details {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.vdm-test .vdm-card {
	display: grid;
	align-content: start;
	gap: var(--vdm-space-2);
	padding: var(--vdm-space-4);
	border-radius: var(--vdm-radius);
	background: var(--vdm-surface);
	min-width: 0;
	font-size: var(--vdm-fs-sm);
}

.vdm-test .vdm-table {
	width: 100%;
	border-collapse: collapse;
	margin: 0;
	border: 0;
	font-size: var(--vdm-fs-sm);
	font-variant-numeric: tabular-nums;
}

.vdm-test .vdm-table th,
.vdm-test .vdm-table td {
	padding: 0.45rem 0;
	border: 0;
	border-bottom: 1px solid var(--vdm-line);
	background: transparent;
	text-align: left;
	vertical-align: top;
}

.vdm-test .vdm-table th {
	font-weight: 600;
	color: var(--vdm-muted);
	padding-right: var(--vdm-space-2);
}

.vdm-test .vdm-table td {
	text-align: right;
	font-weight: 700;
}

.vdm-test .vdm-facts {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.3rem var(--vdm-space-2);
}

.vdm-test .vdm-facts dt {
	color: var(--vdm-muted);
}

.vdm-test .vdm-facts dd {
	font-weight: 700;
}

.vdm-test .vdm-answers-wrap {
	display: grid;
	gap: var(--vdm-space-1);
}

.vdm-test .vdm-answers {
	display: flex;
	flex-wrap: wrap;
	gap: var(--vdm-space-1);
}

.vdm-test .vdm-answers li {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.35rem 0.5rem 0.35rem 0.9rem;
	border: 1px solid var(--vdm-line);
	border-radius: var(--vdm-pill);
	background: var(--vdm-surface);
	font-size: var(--vdm-fs-sm);
}

.vdm-test .vdm-answers .vdm-link {
	padding: 0.35rem 0.4rem;
}

.vdm-test .vdm-others {
	display: grid;
	gap: var(--vdm-space-2);
}

.vdm-test .vdm-minis {
	display: grid;
	gap: var(--vdm-space-2);
}

@media (min-width: 640px) {
	.vdm-test .vdm-minis {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.vdm-test .vdm-mini {
	display: flex;
	gap: var(--vdm-space-3);
	align-items: center;
	padding: var(--vdm-space-2);
	border: 1px solid var(--vdm-line);
	border-radius: var(--vdm-radius);
	background: var(--vdm-surface);
	min-width: 0;
}

.vdm-test .vdm-mini__body {
	display: grid;
	gap: 0.1rem;
	min-width: 0;
	justify-items: start;
}

.vdm-test .vdm-mini__name {
	font-weight: 800;
}

.vdm-test .vdm-disclaimer {
	display: flex;
	gap: var(--vdm-space-1);
	align-items: flex-start;
	padding-top: var(--vdm-space-3);
	border-top: 1px solid var(--vdm-line);
	color: var(--vdm-muted);
	font-size: var(--vdm-fs-xs);
	line-height: 1.5;
}

/* ---------- Orientación individualizada ---------- */

.vdm-test .vdm-panel {
	display: grid;
	gap: var(--vdm-space-3);
	justify-items: start;
	max-width: 720px;
	margin: 0 auto;
	padding: var(--vdm-space-5) var(--vdm-space-4);
	border-radius: var(--vdm-radius-lg);
	background: var(--vdm-surface);
}

.vdm-test .vdm-panel > .vdm-actions {
	width: 100%;
	padding-top: var(--vdm-space-1);
}

.vdm-test .vdm-guidance__icon {
	width: 56px;
	height: 56px;
	padding: 13px;
	border-radius: 50%;
	background: var(--vdm-tint);
	color: var(--vdm-primary);
}

/* ---------- Comparativa ---------- */

.vdm-test .vdm-compare-head {
	display: grid;
	gap: var(--vdm-space-2);
}

.vdm-test .vdm-compare {
	display: grid;
	gap: var(--vdm-space-3);
}

@media (min-width: 640px) {
	.vdm-test .vdm-compare {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1000px) {
	.vdm-test .vdm-compare {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.vdm-test .vdm-compare__card {
	display: flex;
	flex-direction: column;
	gap: var(--vdm-space-2);
	padding: var(--vdm-space-3);
	border-radius: var(--vdm-radius);
	background: var(--vdm-surface);
	min-width: 0;
}

.vdm-test .vdm-compare__card .vdm-media {
	aspect-ratio: 4 / 3;
}

.vdm-test .vdm-compare__name {
	font-family: var(--vdm-font-heading);
	font-size: 1.25rem;
	font-weight: 800;
}

.vdm-test .vdm-compare__rows {
	display: grid;
	flex: 1;
	align-content: start;
	font-size: var(--vdm-fs-sm);
}

.vdm-test .vdm-compare__rows > div {
	display: flex;
	justify-content: space-between;
	gap: var(--vdm-space-2);
	padding: 0.45rem 0;
	border-bottom: 1px solid var(--vdm-line);
}

.vdm-test .vdm-compare__rows dt {
	color: var(--vdm-muted);
}

.vdm-test .vdm-compare__rows dd {
	font-weight: 700;
	text-align: right;
	font-variant-numeric: tabular-nums;
}

/* ---------- Sin JavaScript ---------- */

.vdm-test .vdm-noscript {
	display: grid;
	gap: var(--vdm-space-2);
}

.vdm-test .vdm-media--md img {
	object-fit: cover;
}

@media (max-width: 559px) {
	.vdm-test .vdm-callout {
		flex-direction: column;
		gap: var(--vdm-space-1);
		padding: var(--vdm-space-3);
	}
	.vdm-test .vdm-card,
	.vdm-test .vdm-panel {
		padding: var(--vdm-space-3);
	}
}

/* Reserva espacio mientras carga el JavaScript (evita saltos de diseño). */
.vdm-test .vdm-app {
	min-height: 380px;
}
