/**
 * La tabla de características técnicas. Con los colores del tema si los
 * tiene (`--c-*` de it-theme) y unos neutros si no.
 */
.it-specs {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	font-size: .9375rem;
}

.it-specs th,
.it-specs td {
	padding: .7rem 1rem;
	border: 0;
	text-align: left;
	vertical-align: top;
	line-height: 1.45;
}

/* La característica, en negrita; el valor, en el color de texto suave. */
.it-specs th[scope="row"] {
	width: 50%;
	color: var( --c-text, inherit );
	font-weight: 700;
}

.it-specs td {
	color: var( --c-text-dim, inherit );
}

/* Filas alternas: es lo que deja seguir una fila larga con la vista. */
.it-specs tr:nth-child( odd ) > * {
	background: var( --c-tint, rgb( 127 127 127 / .07 ) );
}

.it-specs__group > th {
	padding-top: 1.5rem;
	background: none !important;
	color: var( --c-accent, inherit );
	font-size: .75rem;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
}

.it-specs tr:first-child.it-specs__group > th {
	padding-top: .5rem;
}

/* En el móvil, cada fila se apila: característica arriba, valor debajo. */
@media ( max-width: 40rem ) {
	.it-specs,
	.it-specs tbody,
	.it-specs tr,
	.it-specs th,
	.it-specs td {
		display: block;
		width: auto;
	}

	.it-specs th[scope="row"] {
		width: auto;
		padding-bottom: .15rem;
	}

	.it-specs td {
		padding-top: 0;
	}
}

.it-specs-section {
	margin-top: 2rem;
}

.it-specs-section > h2 {
	margin: 0 0 1rem;
}

/* --- La ficha en PDF ----------------------------------------------------- */
.it-specs-pdf-wrap {
	margin: 0 0 1.5rem;
}

.it-specs-pdf-wrap:not( .it-specs-pdf-wrap--summary ) {
	margin-top: 1.5rem;
}

.it-specs-pdf {
	display: inline-flex;
	gap: .55rem;
	align-items: center;
	font-weight: 600;
	color: var( --c-accent, inherit );
	text-decoration: none;
}

.it-specs-pdf:hover span,
.it-specs-pdf:focus-visible span {
	text-decoration: underline;
	text-underline-offset: .2em;
}

.it-specs-pdf small {
	font-size: .8125rem;
	font-weight: 400;
	color: var( --c-text-mute, inherit );
}

.it-specs-pdf__icon {
	flex: none;
	width: 1.25rem;
	height: 1.25rem;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* En la pestaña, como botón con borde. */
.it-specs-pdf--button {
	padding: .75rem 1.25rem;
	border: 1px solid var( --c-line-hi, currentColor );
	border-radius: var( --btn-radius, 4px );
	color: var( --c-text, inherit );
	transition: border-color .2s, color .2s;
}

.it-specs-pdf--button:hover,
.it-specs-pdf--button:focus-visible {
	border-color: var( --c-accent, currentColor );
	color: var( --c-accent, inherit );
}
