.cct-comparatifs {
	--cct-accent: #e03f54;
	--cct-category-color: var(--cct-accent);
	--cct-rating-active: var(--cct-accent);
	--cct-rating-empty: #eaeaea;
	--cct-star-size: 12px;
	box-sizing: border-box;
	width: 100%;
}

.cct-comparatifs *,
.cct-comparatifs *::before,
.cct-comparatifs *::after {
	box-sizing: border-box;
}

.cct-comparatifs__inner {
	width: 100%;
	margin-inline: auto;
}

.cct-comparatifs__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 8px;
	border-bottom: 0 solid transparent;
}

.cct-header-border-yes .cct-comparatifs__header {
	border-bottom-width: 1px;
	border-bottom-color: #eaeaea;
}

.cct-comparatifs__header-content {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
}

.cct-comparatifs__heading {
	margin: 0;
	font-family: "Outfit", Arial, sans-serif;
	font-size: 28px;
	font-weight: 900;
	line-height: 1.25;
	text-transform: uppercase;
}

.cct-comparatifs__subtitle {
	font-family: "Fraunces", Georgia, serif;
	font-size: 18px;
	font-style: italic;
	font-weight: 400;
	line-height: 1.22;
}

.cct-comparatifs__grid {
	display: grid;
	align-items: stretch;
}

.cct-comparatifs__card {
	display: flex;
	min-width: 0;
	height: 100%;
	min-height: 347px;
	flex-direction: column;
	align-items: stretch;
	background: #fff;
	border: 1px solid #eaeaea;
	border-radius: 4px;
	transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.cct-comparatifs__media {
	position: relative;
	width: 100%;
	flex: 0 0 auto;
	overflow: hidden;
	background: #f4f4f4;
}

.cct-comparatifs__image {
	display: block;
	width: 100%;
	height: 100%;
	object-position: center;
}

.cct-comparatifs__content {
	display: flex;
	min-width: 0;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: stretch;
	gap: 8px;
}

.cct-comparatifs__meta {
	display: flex;
	min-width: 0;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.cct-comparatifs__category {
	min-width: 0;
	color: var(--cct-item-accent, var(--cct-category-color));
	font-family: "Outfit", Arial, sans-serif;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.25;
	text-transform: uppercase;
}

.cct-comparatifs__rating {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
}

.cct-star {
	position: relative;
	display: inline-block;
	flex: 0 0 auto;
	width: var(--cct-star-size);
	height: var(--cct-star-size);
}

.cct-star svg {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
}

.cct-star__base path {
	fill: none;
	stroke: var(--cct-rating-empty);
	stroke-width: 2.2;
	stroke-linejoin: round;
}

.cct-star__fill {
	position: absolute;
	inset: 0 auto 0 0;
	display: block;
	overflow: hidden;
}

.cct-star__fill svg {
	width: var(--cct-star-size);
	max-width: none;
}

.cct-star__fill path {
	fill: none;
	stroke: var(--cct-item-accent, var(--cct-rating-active));
	stroke-width: 2.2;
	stroke-linejoin: round;
}

.cct-comparatifs__product-title {
	margin: 0;
	font-family: "Outfit", Arial, sans-serif;
	font-size: 18px;
	font-weight: 800;
	line-height: 1.28;
}

.cct-comparatifs__price {
	font-family: "DM Sans", Arial, sans-serif;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.31;
}

.cct-comparatifs__footer {
	display: flex;
	min-height: 24px;
	flex: 0 0 auto;
	align-items: center;
	border-top: 1px solid #eaeaea;
}

.cct-comparatifs__link {
	display: flex;
	width: 100%;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	font-family: "Outfit", Arial, sans-serif;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.25;
	text-decoration: none;
	text-transform: uppercase;
	transition: color 160ms ease;
}

.cct-comparatifs__link--static {
	cursor: default;
}

.cct-comparatifs__arrow {
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
	transition: transform 160ms ease;
}

.cct-comparatifs__link:hover .cct-comparatifs__arrow,
.cct-comparatifs__link:focus-visible .cct-comparatifs__arrow {
	transform: translateX(3px);
}

.cct-comparatifs__link:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 4px;
}

@media (max-width: 767px) {
	.cct-comparatifs__header-content {
		align-items: flex-start;
		flex-direction: column;
	}

	.cct-comparatifs__heading {
		font-size: 23px;
	}

	.cct-comparatifs__subtitle {
		font-size: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cct-comparatifs__card,
	.cct-comparatifs__link,
	.cct-comparatifs__arrow {
		transition: none;
	}
}
