/* ==========================================================================
   Saphir Industrie – styles personnalisés
   Chargé après les styles The7.
   ========================================================================== */

/* Couleur du numéro de téléphone dans les contacts sur mobile
   (repris du CSS personnalisé The7) */
.dt-phone *,
.dt-phone:hover * {
	color: inherit;
}

/* ==========================================================================
   Page « Politique de cookies (UE) » — tableau des cookies
   ========================================================================== */
.politique-cookies h2 {
	margin-top: 1.6em;
}

.tableau-cookies-wrap {
	overflow-x: auto;
	margin: 1.5em 0;
}

.tableau-cookies {
	width: 100%;
	border-collapse: collapse;
	font-size: .9em;
}

.tableau-cookies th,
.tableau-cookies td {
	padding: 10px;
	text-align: left;
	vertical-align: top;
	border: 0;
	border-bottom: 1px solid #ddd;
}

.tableau-cookies thead th {
	background: #f2f2f2;
	border-bottom: 2px solid #ccc;
	font-weight: 700;
}

/* Mobile : une carte par service */
@media (max-width: 767px) {
	.tableau-cookies thead {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
	}

	.tableau-cookies,
	.tableau-cookies tbody,
	.tableau-cookies tr,
	.tableau-cookies td {
		display: block;
		width: 100%;
	}

	.tableau-cookies tr {
		margin-bottom: 1em;
		border: 1px solid #ddd;
		border-radius: 4px;
		overflow: hidden;
	}

	.tableau-cookies td {
		display: flex;
		gap: 12px;
		padding: 8px 12px;
		border-bottom: 1px solid #eee;
	}

	.tableau-cookies td:first-child {
		background: #f2f2f2;
	}

	.tableau-cookies td:last-child {
		border-bottom: 0;
	}

	.tableau-cookies td::before {
		content: attr(data-label);
		flex: 0 0 38%;
		font-weight: 600;
		color: #5c6773;
	}

	.tableau-cookies td:first-child::before {
		display: none;
	}
}
