/* RoufaiShop — favoris (bouton cœur + grille). */

.rs-fav-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 1px solid #e3e6ee;
	border-radius: 50%;
	background: #fff;
	cursor: pointer;
	transition: border-color 0.15s, transform 0.1s;
	padding: 0;
}

.rs-fav-btn svg {
	fill: none;
	stroke: #002374;
	stroke-width: 1.8;
	transition: fill 0.15s, stroke 0.15s;
}

.rs-fav-btn:hover {
	border-color: #002374;
}

.rs-fav-btn:active {
	transform: scale(0.92);
}

.rs-fav-btn.is-active svg {
	fill: #fe6803;
	stroke: #fe6803;
}

.rs-fav-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 20px;
}

.rs-fav-card {
	position: relative;
	border: 1px solid #e3e6ee;
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
}

.rs-fav-card-media {
	display: block;
	aspect-ratio: 1;
	background: #f7f8fb;
}

.rs-fav-card-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.rs-fav-card-body {
	padding: 12px 14px 16px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.rs-fav-card-title {
	color: #1c2333;
	font-weight: 600;
	font-size: 0.9rem;
	line-height: 1.35;
	text-decoration: none;
}

.rs-fav-card-title:hover {
	color: #002374;
}

.rs-fav-card-price {
	color: #002374;
	font-weight: 700;
	font-size: 0.95rem;
}

.rs-fav-card .rs-fav-btn {
	position: absolute;
	top: 10px;
	right: 10px;
	width: 36px;
	height: 36px;
}

.rs-fav-empty {
	text-align: center;
	color: #6b7280;
	padding: 48px 16px;
}
