/* Fiche produit (Pilote Xiaomi Store) : bloc <section class="xsf"> écrit dans la description du produit.
   Couleurs de l'enseigne, police du site ; chargé sur les pages produit seulement. */
.xsf {
	--xsf-or: #ff6900;
	--xsf-encre: #1f1f1f;
	--xsf-gris: #6b6b6b;
	--xsf-trait: #e6e6e6;
	max-width: 1100px;
	margin: 0 auto;
	color: var(--xsf-encre);
	font-family: CamphorProForXiaoMi, "Camphor Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	line-height: 1.6;
}
.xsf *,
.xsf *::before,
.xsf *::after {
	box-sizing: border-box;
}
.xsf .xsf-titre {
	margin: 0 0 6px;
	padding: 0;
	color: var(--xsf-encre);
	font-family: inherit;
	font-size: clamp(22px, 3vw, 30px);
	font-weight: 700;
	line-height: 1.25;
	letter-spacing: -.01em;
	text-transform: none;
}
.xsf .xsf-intro {
	max-width: 62ch;
	margin: 0 0 26px;
	color: var(--xsf-gris);
	font-size: 16px;
}
.xsf .xsf-intro:empty {
	display: none; /* consigne en commentaire, pas encore de texte : rien à afficher */
}
.xsf .xsf-galerie {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 14px;
	margin: 0 0 30px;
}
.xsf .xsf-vue {
	margin: 0;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: 14px;
	background: #f7f7f7;
}
.xsf .xsf-vue img {
	display: block;
	width: 100%;
	max-width: none;
	height: 100%;
	margin: 0;
	object-fit: contain;
	mix-blend-mode: multiply;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}
.xsf .xsf-sous-titre {
	margin: 34px 0 12px;
	padding: 0;
	color: var(--xsf-encre);
	font-family: inherit;
	font-size: clamp(17px, 2vw, 20px);
	font-weight: 700;
	line-height: 1.3;
	text-transform: none;
}
.xsf .xsf-specs {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	font-size: 15px;
	line-height: 1.5;
}
.xsf .xsf-specs th,
.xsf .xsf-specs td {
	padding: 13px 16px;
	border: 0;
	border-top: 1px solid var(--xsf-trait);
	background: transparent;
	color: var(--xsf-encre);
	text-align: left;
	vertical-align: top;
}
.xsf .xsf-specs th {
	width: 38%;
	color: var(--xsf-gris);
	font-weight: 600;
}
.xsf .xsf-specs tr:nth-child(odd) > th,
.xsf .xsf-specs tr:nth-child(odd) > td {
	background: #fafafa;
}
.xsf .xsf-specs tr.xsf-groupe > th {
	width: auto;
	padding-top: 22px;
	border-top: 2px solid var(--xsf-encre);
	background: #ffffff;
	color: var(--xsf-encre);
	font-size: 16px;
	font-weight: 700;
}
.xsf .xsf-note {
	margin: 26px 0 0;
	color: var(--xsf-gris);
	font-size: 13px;
}
@media (max-width: 640px) {
	.xsf .xsf-galerie {
		grid-template-columns: repeat(2, minmax(0, 1fr)); /* deux visuels par ligne : la galerie ne repousse pas le tableau trop loin */
		gap: 10px;
		margin-bottom: 24px;
	}
	.xsf .xsf-vue {
		border-radius: 10px;
	}
	.xsf .xsf-specs th {
		width: 44%;
	}
	.xsf .xsf-specs th,
	.xsf .xsf-specs td {
		padding: 11px 12px;
		font-size: 14px;
	}
}
