/* Clock Prestige – Liste de favoris */
.cpf-heart,
.cpf-plus {
	width: 20px;
	height: 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* ---------- Bouton cœur ---------- */
.cpf-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 6px 0;
	border: 0;
	background: none;
	color: var(--ink, #292f34);
	font: inherit;
	font-family: var(--sans, Arial, Helvetica, sans-serif);
	font-size: 13px;
	letter-spacing: .02em;
	line-height: 1.2;
	cursor: pointer;
	white-space: nowrap;
	transition: color .2s ease;
}
.cpf-toggle:hover,
.cpf-toggle:focus-visible,
.cpf-toggle.is-active {
	color: var(--gold, #b79b64);
}
.cpf-toggle:focus-visible {
	outline: 2px solid var(--gold, #b79b64);
	outline-offset: 3px;
}
.cpf-icon {
	position: relative;
	display: inline-flex;
	flex: none;
	width: 24px;
	height: 24px;
	align-items: center;
	justify-content: center;
}
.cpf-icon .cpf-heart {
	width: 22px;
	height: 22px;
}
.cpf-toggle.is-active .cpf-heart {
	fill: currentColor;
}
/* « + » fin, sans cercle, en haut à droite du cœur */
.cpf-icon .cpf-plus {
	position: absolute;
	top: -4px;
	right: -6px;
	width: 11px;
	height: 11px;
	stroke-width: 2.2;
	display: none;
}
.cpf-toggle.is-active .cpf-plus {
	display: none !important;
}
.cpf-pop .cpf-heart {
	animation: cpf-pop .35s ease;
}
@keyframes cpf-pop {
	50% { transform: scale(1.25); }
}

/* Fiche objet : entre le prix et la disponibilité */
.piece-price-row .cpf-toggle--product {
	margin: 0 auto 0 18px;
}

/* Catalogue : en fin de ligne du titre, à droite (icône seule, la carte est étroite) */
.cpf-title-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 10px;
}
.cpf-title-row > .product-title {
	flex: 1 1 auto;
	min-width: 0;
}
.cpf-toggle--card {
	flex: none;
	padding: 0;
	margin: 2px 6px 0 0;
}
.cpf-toggle--card .cpf-label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* Petit écran : cœur avec + */
@media (max-width: 767px) {
	.cpf-toggle .cpf-label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0 0 0 0);
		white-space: nowrap;
	}
	.cpf-toggle .cpf-plus {
		display: block;
	}
	.piece-price-row .cpf-toggle--product {
		margin-left: 14px;
	}
}
/* Sur grand écran, le catalogue garde aussi le « + » pour que l'icône seule reste parlante */
.cpf-toggle--card .cpf-plus {
	display: block;
}

/* ---------- Indicateur dans le menu ---------- */
.cpf-menu-link {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	color: var(--ink, #292f34);
	text-decoration: none;
}
.cpf-menu-link:hover,
.cpf-menu-link:focus-visible {
	color: var(--gold, #b79b64);
}
.cpf-menu-link .cpf-heart {
	width: 22px;
	height: 22px;
}
.cpf-menu-link.has-items .cpf-heart {
	fill: currentColor;
	color: var(--gold, #b79b64);
}
.cpf-count {
	position: absolute;
	top: 1px;
	right: -2px;
	min-width: 17px;
	height: 17px;
	padding: 0 4px;
	border-radius: 9px;
	background: var(--dark, #252c32);
	color: #fff;
	font: 700 10px/17px var(--sans, Arial, Helvetica, sans-serif);
	text-align: center;
	display: none;
}
.cpf-menu-link.has-items .cpf-count {
	display: block;
}

/* ---------- Page de consultation ---------- */
.cpf-page {
	max-width: 1000px;
	margin: 0 auto;
	padding: 20px var(--gutter, 30px) 60px;
	font-family: var(--sans, Arial, Helvetica, sans-serif);
	color: var(--ink, #292f34);
}
.cpf-page-count,
.cpf-page-loading {
	color: var(--muted, #687078);
	font-size: 14px;
	margin: 0 0 18px;
}
.cpf-list {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--line, #dcdcd5);
}
.cpf-item {
	display: grid;
	grid-template-columns: 96px 1fr auto;
	gap: 22px;
	align-items: center;
	padding: 18px 0;
	border-bottom: 1px solid var(--line, #dcdcd5);
}
.cpf-item-photo {
	display: block;
	aspect-ratio: 2 / 3;
	background: var(--paper, #f3f2ef);
	overflow: hidden;
}
.cpf-item-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.cpf-item-title {
	display: block;
	font-family: var(--serif, Georgia, serif);
	font-size: 19px;
	line-height: 1.3;
	color: var(--ink, #292f34);
	text-decoration: none;
}
.cpf-item-title:hover {
	color: var(--gold, #b79b64);
}
.cpf-item-epoque {
	margin: 6px 0 0;
	font-size: 13px;
	color: var(--muted, #687078);
}
.cpf-item-epoque span {
	color: var(--gold, #b79b64);
	text-transform: uppercase;
	letter-spacing: .06em;
	font-size: 11px;
}
.cpf-item-side {
	text-align: right;
}
.cpf-item-price {
	margin: 0 0 8px;
	font-family: var(--serif, Georgia, serif);
	font-size: 20px;
	white-space: nowrap;
}
.cpf-sold {
	font-family: var(--sans, Arial, sans-serif);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: var(--muted, #687078);
}
.cpf-item.is-sold .cpf-item-photo img {
	opacity: .55;
}
.cpf-item-remove {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 4px 0;
	border: 0;
	background: none;
	color: var(--muted, #687078);
	font: 12px var(--sans, Arial, sans-serif);
	cursor: pointer;
}
.cpf-item-remove .cpf-heart {
	width: 16px;
	height: 16px;
	fill: var(--gold, #b79b64);
	color: var(--gold, #b79b64);
}
.cpf-item-remove:hover {
	color: var(--ink, #292f34);
}
.cpf-empty {
	text-align: center;
	padding: 50px 0;
	color: var(--muted, #687078);
}
.cpf-empty > .cpf-heart {
	width: 40px;
	height: 40px;
	color: var(--gold, #b79b64);
}
.cpf-empty p {
	margin: 14px 0 22px;
}
@media (max-width: 600px) {
	.cpf-item {
		grid-template-columns: 72px 1fr;
		gap: 14px;
	}
	.cpf-item-side {
		grid-column: 2;
		text-align: left;
		display: flex;
		align-items: center;
		justify-content: space-between;
	}
	.cpf-item-price {
		margin: 0;
	}
	.cpf-item-title {
		font-size: 16px;
	}
}
