/* =========================================================================
   Royal Collection Wishlist
   ========================================================================= */

/* ---------- Header heart + count ---------- */
.rc-wishlist {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	color: #51483E;
	text-decoration: none;
	border-radius: 50%;
	transition: color .2s;
}
.rc-wishlist:hover { color: #884D57; }
.rc-wishlist__ico {
	display: block;
	width: 22px;
	height: 22px;
	stroke: currentColor;
}
.rc-wishlist__count {
	position: absolute;
	top: 0;
	right: 0;
	min-width: 17px;
	height: 17px;
	padding: 0 4px;
	background: #884D57;
	color: #fff;
	font-size: 10.5px;
	font-weight: 700;
	line-height: 17px;
	text-align: center;
	border-radius: 999px;
}
.rc-header__side--right .rc-wishlist { margin-left: 2px; }

/* ---------- Card hearts ---------- */
.rc-card__media {
	position: relative;
}
.rc-wish-heart {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.88);
	color: #51483E;
	cursor: pointer;
	box-shadow: 0 1px 4px rgba(81, 72, 62, 0.12);
	padding: 0;
	transition: transform .15s, color .15s, background .15s;
}
.rc-wish-heart svg {
	width: 19px;
	height: 19px;
	stroke: currentColor;
	fill: transparent;
	transition: fill .15s;
}
.rc-wish-heart:hover { color: #884D57; transform: scale(1.06); }
.rc-wish-heart.is-saved { color: #884D57; }
.rc-wish-heart.is-saved svg { fill: currentColor; }
.rc-wish-heart.is-busy { opacity: .55; pointer-events: none; }
@keyframes rcWishPulse {
	0%   { transform: scale(1); }
	40%  { transform: scale(1.22); }
	100% { transform: scale(1); }
}
.rc-wish-heart.rc-wish-pulse { animation: rcWishPulse .5s ease; }

/* ---------- Single product heart ---------- */
.rc-wish-heart--single {
	position: static;
	width: 46px;
	height: 46px;
	margin-bottom: 14px;
	border: 1px solid #DDD5CC;
	background: #fff;
	box-shadow: none;
}
.rc-wish-heart--single svg { width: 22px; height: 22px; }

/* Hearts anchor to the card media (position:absolute) on every card type. */
.rc-card__media,
.rc-na__media {
	position: relative;
}

/* ---------- Wishlist page ---------- */
.rc-wl-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px 20px;
	margin: 28px 0 60px;
}
.rc-wl-card {
	position: relative;
	background: #fff;
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid #F1ECE6;
}
.rc-wl-card__media {
	display: block;
	aspect-ratio: 1 / 1;
	background: #FAF8F5;
}
.rc-wl-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.rc-wl-card__remove {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 3;
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.9);
	color: #884D57;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 1px 4px rgba(81, 72, 62, 0.14);
}
.rc-wl-card__body {
	padding: 14px 16px 18px;
}
.rc-wl-card__name {
	margin: 0 0 6px;
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: 19px;
	font-weight: 600;
	color: #51483E;
}
.rc-wl-card__name a { color: inherit; text-decoration: none; }
.rc-wl-card__name a:hover { color: #884D57; }
.rc-wl-card__price {
	font-size: 15px;
	color: #51483E;
	font-weight: 600;
	margin-bottom: 10px;
}
.rc-wl-card__price del {
	color: #A99C8C;
	font-weight: 400;
	margin-right: 6px;
}
.rc-wl-card__stock {
	display: inline-block;
	font-size: 12px;
	font-weight: 600;
	padding: 3px 9px;
	border-radius: 999px;
	margin-bottom: 12px;
}
.rc-wl-card__stock--in  { color: #3E6B4F; background: #EAF2EC; }
.rc-wl-card__stock--out { color: #884D57; background: #F7ECEC; }
.rc-wl-card__add {
	display: block;
	text-align: center;
	padding: 11px 14px;
	border-radius: 8px;
	background: #51483E;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: background .2s;
}
.rc-wl-card__add:hover { background: #884D57; color: #fff; }

/* Empty state */
.rc-wl-empty {
	text-align: center;
	padding: 70px 20px 90px;
}
.rc-wl-empty__text {
	font-family: 'Cormorant Garamond', Georgia, serif;
	font-size: 26px;
	color: #51483E;
	margin: 0 0 22px;
}
.rc-wl-empty__cta {
	display: inline-block;
	padding: 13px 28px;
	border-radius: 8px;
	background: #51483E;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
}
.rc-wl-empty__cta:hover { background: #884D57; color: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
	.rc-wl-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
	.rc-wl-grid { grid-template-columns: repeat(2, 1fr); gap: 18px 14px; }
}
@media (prefers-reduced-motion: reduce) {
	.rc-wish-heart.rc-wish-pulse { animation: none; }
	.rc-wish-heart { transition: none; }
	.rc-wl-card { transition: none; }
}
