/* ================================================
   RED POINT — WISHLIST
   ================================================ */

/* Saved state of the buy box heart: filled in the brand red. */
.rp-buybox .rp-buybox__chip.is-wished {
	color: #FF3B3B;
}

.is-wished svg path,
.rp-wishlist__remove svg path {
	fill: currentColor;
}

/* Header count. Same shape as the cart badge in both headers, but its own class: the side
   cart script rewrites every .rp-cart-count it finds. */
.rp-wish-count {
	position: absolute;
	top: -4px;
	right: -4px;
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 16px;
	height: 16px;
	padding: 0 4px;
	border-radius: 9999px;
	background-color: #FF3B3B;
	font-family: 'Google Sans', sans-serif;
	font-size: 9px;
	font-weight: 600;
	line-height: 1;
	color: #FFFFFF;
	box-sizing: border-box;
}

.rp-header__icon .rp-wish-count {
	min-width: 18px;
	height: 18px;
	font-size: 10px;
}

/* display:flex above would otherwise beat the hidden attribute */
.rp-wish-count[hidden],
.rp-wishlist [hidden] {
	display: none;
}

/* ------------------------------------------------
   PAGE — width, padding and the dark background come from the page's Elementor container,
   built the same way as the cart page. */
.rp-wishlist {
	/* the header floats over the page (negative bottom margin, made for the home hero); this plus
	   the container's 80px clears it */
	padding-top: 72px;
	color: #FFFFFF;
}

.rp-wishlist__title {
	margin: 0 0 8px;
	font-size: 32px;
	font-weight: 700;
}

.rp-wishlist__note {
	margin: 0 0 32px;
	font-size: 14px;
	color: #9A9A9A;
}

.rp-wishlist__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

.rp-wishlist__item {
	position: relative;
}

/* Remove = the same heart, filled, over the photo's right corner (the card badge sits on the left). */
.rp-wishlist .rp-wishlist__remove {
	position: absolute;
	top: 12px;
	right: 12px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 8px;
	border: 0;
	border-radius: 100px;
	background-color: rgba(0, 0, 0, 0.55);
	color: #FF3B3B;
	cursor: pointer;
}

.rp-wishlist__remove svg {
	width: 20px;
	height: 20px;
}

.rp-wishlist__empty p {
	margin: 0 0 24px;
	font-size: 16px;
	color: #D7D7D7;
}

.rp-wishlist__shop {
	display: inline-block;
	padding: 12px 28px;
	border-radius: 100px;
	background-color: #FF3B3B;
	color: #FFFFFF;
	font-weight: 600;
	text-decoration: none;
}

@media (max-width: 1024px) {
	.rp-wishlist__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 767px) {
	.rp-wishlist__title {
		font-size: 24px;
	}
	.rp-wishlist__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}
}
