/**
 * Grille tarifs HF — fiche produit variable.
 */
.hf-pricing-tariff-grid {
	margin: 1.25rem 0 1.75rem;
	width: 100%;
}

.hf-pricing-tariff-grid__sale-notice {
	margin: 0 0 1rem;
	padding: 0.85rem 1rem;
	border-left: 3px solid #b32d2e;
	background: rgba(179, 45, 46, 0.08);
}

.hf-pricing-tariff-grid__sale-notice--ending {
	border-left-color: #2271b1;
	background: rgba(34, 113, 177, 0.08);
}

.hf-pricing-tariff-grid__sale-notice-text {
	margin: 0;
	font-weight: 600;
	color: #7a1f20;
}

.hf-pricing-tariff-grid__sale-notice--ending .hf-pricing-tariff-grid__sale-notice-text {
	color: #1d4f7a;
	font-weight: 500;
}

.hf-pricing-tariff-grid--sale-closed .hf-pricing-tariff-grid__intro,
.hf-pricing-tariff-grid--sale-closed .hf-pricing-tariff-grid__table-wrap,
.hf-pricing-tariff-grid--sale-closed .hf-pricing-tariff-grid__footer {
	opacity: 0.45;
	pointer-events: none;
	user-select: none;
}

.hf-pricing-tariff-grid__intro {
	margin: 0 0 1rem;
	font-size: 0.95rem;
	opacity: 0.9;
}

.hf-pricing-tariff-grid__table-wrap {
	overflow-x: auto;
}

.hf-pricing-tariff-grid__table {
	width: 100%;
	border-collapse: collapse;
	margin: 0;
}

.hf-pricing-tariff-grid__table th,
.hf-pricing-tariff-grid__table td {
	padding: 0.75rem 0.65rem;
	vertical-align: middle;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
	text-align: left;
}

.hf-pricing-tariff-grid__table th {
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	opacity: 0.75;
}

.hf-pricing-tariff-grid__price {
	display: block;
	font-weight: 600;
	margin-bottom: 0.35rem;
}

.hf-pricing-tariff-grid__price--public {
	text-decoration: line-through;
	opacity: 0.65;
	font-weight: 500;
}

.hf-pricing-tariff-grid__hint {
	display: block;
	font-size: 0.75rem;
	opacity: 0.65;
	margin-bottom: 0.25rem;
}

.hf-pricing-tariff-grid__qty {
	width: 4.5rem;
	max-width: 100%;
	padding: 12px 16px;
}

.hf-pricing-tariff-grid__na {
	opacity: 0.45;
}

.hf-pricing-tariff-grid__stock {
	display: inline-block;
	margin-left: 0.5rem;
	font-size: 0.8rem;
	color: #b32d2e;
}

.hf-pricing-tariff-grid__stock--backorder {
	color: #996800;
}

.hf-pricing-tariff-grid__stock--on-request {
	color: #646970;
}

.hf-pricing-tariff-grid__footer {
	margin-top: 1rem;
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.hf-pricing-tariff-grid__add-all {
	min-width: 12rem;
}

.hf-pricing-tariff-grid__contact {
	min-width: 12rem;
	text-align: center;
	text-decoration: none;
}

.hf-pricing-tariff-grid__row-contact {
	display: inline-block;
	min-width: 0;
	text-align: center;
	text-decoration: none;
	white-space: nowrap;
}

.hf-pricing-tariff-grid--on-request .hf-pricing-tariff-grid__intro,
.hf-pricing-tariff-grid--all-on-request .hf-pricing-tariff-grid__intro {
	margin-bottom: 1rem;
}

.hf-pricing-tariff-grid__quota {
	margin-top: 1.25rem;
	width: 100%;
}

.hf-pricing-tariff-grid__feedback {
	min-height: 1.25rem;
	font-size: 0.9rem;
}

.hf-pricing-tariff-grid__feedback.is-error {
	color: #b32d2e;
}

.hf-pricing-tariff-grid__feedback.is-success {
	color: #1e7a3a;
}

@media (max-width: 782px) {
	.hf-pricing-tariff-grid__table thead {
		display: none;
	}

	.hf-pricing-tariff-grid__table,
	.hf-pricing-tariff-grid__table tbody {
		display: block;
		width: 100%;
	}

	.hf-pricing-tariff-grid__table tr {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 0.65rem 0.5rem;
		width: 100%;
		margin-bottom: 1rem;
		border: 1px solid rgba(0, 0, 0, 0.08);
		padding: 0.85rem 0.75rem;
		box-sizing: border-box;
	}

	.hf-pricing-tariff-grid__table td {
		display: block;
		width: auto;
		border: 0;
		padding: 0;
		min-width: 0;
	}

	.hf-pricing-tariff-grid__table td::before {
		content: attr(data-label);
		display: block;
		font-size: 0.75rem;
		text-transform: uppercase;
		letter-spacing: 0.03em;
		opacity: 0.65;
		margin-bottom: 0.25rem;
	}

	/* Ligne 1 : nom du billet (et type si présent) */
	.hf-pricing-tariff-grid__label,
	.hf-pricing-tariff-grid__type {
		grid-column: 1 / -1;
	}

	.hf-pricing-tariff-grid__type {
		margin-top: -0.25rem;
		font-size: 0.9rem;
		opacity: 0.85;
	}

	/* Ligne 2 : 3 tarifs côte à côte */
	.hf-pricing-tariff-grid__amicale,
	.hf-pricing-tariff-grid__cse,
	.hf-pricing-tariff-grid__public {
		grid-column: auto;
	}

	.hf-pricing-tariff-grid__price {
		margin-bottom: 0;
		font-size: 0.95rem;
	}

	/* Ligne 3 : quantité */
	.hf-pricing-tariff-grid__qty-cell {
		grid-column: 1 / -1;
	}

	.hf-pricing-tariff-grid__qty {
		width: 100%;
		max-width: 8rem;
	}

	.hf-pricing-tariff-grid__footer {
		flex-wrap: wrap;
	}

	.hf-pricing-tariff-grid__add-all {
		width: 100%;
		min-width: 0;
	}

	.hf-pricing-tariff-grid__contact,
	.hf-pricing-tariff-grid__row-contact {
		width: 100%;
		min-width: 0;
		box-sizing: border-box;
	}
}



@media (min-width: 782px) {
	.hf-pricing-tariff-grid__label{
		width: 30%;
	}
}