/* =========================================================================
   Voley PLT — wishlist

   The heart on a product tile, the inline button on a product page, and the
   wishlist page itself.
   ========================================================================= */

/* Heart on a tile ----------------------------------------------------------
   Top-right of the media box; the add-to-cart button holds the bottom-right.
   Kept above the tile's overlay link so the click lands on the heart. */
.voley-wish--tile {
	position: absolute;
	top: 13px;
	right: 13px;
	z-index: 3;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: var(--v-ink);
	box-shadow: 0 4px 14px -6px rgba(0, 0, 0, 0.4);
	cursor: pointer;
	transition: background-color 0.22s var(--v-ease), color 0.22s var(--v-ease), transform 0.22s var(--v-ease);
}

.voley-wish--tile .voley-wish__label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.voley-wish--tile:hover {
	background: var(--v-white);
	transform: scale(1.06);
}

.voley-wish--tile.is-in {
	background: var(--v-accent);
	color: var(--v-white);
}

/* Filled heart once saved — the outline alone is too quiet to read as a
   state change at this size. */
.voley-wish.is-in .voley-icon--heart {
	fill: currentColor;
}

.voley-wish .voley-icon--heart {
	transition: fill 0.22s var(--v-ease);
}

/* Inline button on a product page ------------------------------------------ */
.voley-wish--inline {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 44px;
	margin: 0 0 22px;
	padding: 0 22px;
	border: 1px solid var(--v-line);
	border-radius: var(--v-r-pill);
	background: var(--v-white);
	font-family: var(--v-font-body);
	font-size: var(--v-fs-sm);
	font-weight: 600;
	color: var(--v-ink);
	cursor: pointer;
	transition: border-color 0.22s var(--v-ease), color 0.22s var(--v-ease), background-color 0.22s var(--v-ease);
}

.voley-wish--inline:hover {
	border-color: var(--v-ink);
}

.voley-wish--inline.is-in {
	border-color: var(--v-accent);
	background: var(--v-accent-soft);
	color: var(--v-accent-ink);
}

/* Wishlist page ------------------------------------------------------------ */
.voley-wishlist {
	padding-block: 46px 90px;
	background: var(--v-white);
}

/* Reuses the shop grid, so a saved tile is the same tile as everywhere else. */
.voley-wishlist__grid {
	--v-shop-cols: 4;
}

.voley-wishlist__item {
	min-width: 0;
}

.voley-wishlist__empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
	max-width: 460px;
	margin-inline: auto;
	padding: 70px 20px 80px;
	text-align: center;
}

.voley-wishlist__empty i {
	display: grid;
	place-items: center;
	width: 68px;
	height: 68px;
	border-radius: 50%;
	background: var(--v-accent-soft);
	color: var(--v-accent);
}

.voley-root.voley-root .voley-wishlist__empty h2 {
	font-family: var(--v-font-display);
	font-size: var(--v-fs-h2);
	font-style: italic;
	font-weight: 800;
	text-transform: uppercase;
	color: var(--v-ink);
}

.voley-wishlist__empty p {
	margin: 0 0 6px;
	font-size: var(--v-fs-body);
	line-height: 1.7;
	color: var(--v-grey-600);
}

/* Responsive --------------------------------------------------------------- */
@media (max-width: 1100px) {
	.voley-wishlist__grid {
		--v-shop-cols: 3;
	}
}

@media (max-width: 900px) {
	.voley-wishlist {
		padding-block: 30px 60px;
	}

	.voley-wishlist__grid {
		--v-shop-cols: 2;
	}

	/* No hover on touch, so the heart is always at full strength there. */
	.voley-wish--tile {
		top: 10px;
		right: 10px;
		width: 34px;
		height: 34px;
	}
}
