:root {
	--fvc-wishlist-primary: #c7522a;
	--fvc-wishlist-secondary: #e5c185;
	--fvc-wishlist-ink: #231f20;
	--fvc-wishlist-muted: #706a67;
	--fvc-wishlist-border: #e8e1dc;
	--fvc-wishlist-surface: #fff;
	--fvc-wishlist-soft: #fbf7f4;
}

.products .product,
.fvc-product-card__media {
	position: relative;
}

.fvc-wishlist-button {
	align-items: center;
	background: var(--fvc-wishlist-surface);
	border: 1px solid var(--fvc-wishlist-border);
	border-radius: 999px;
	color: var(--fvc-wishlist-ink);
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	gap: .45rem;
	justify-content: center;
	line-height: 1;
	min-height: 42px;
	padding: .65rem .9rem;
	transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

.fvc-wishlist-button:hover,
.fvc-wishlist-button:focus-visible,
.fvc-wishlist-button.is-added {
	background: #fff5f1;
	border-color: var(--fvc-wishlist-primary);
	color: var(--fvc-wishlist-primary);
}

.fvc-wishlist-button:focus-visible,
.fvc-wishlist-item a:focus-visible,
.fvc-wishlist-item button:focus-visible,
.fvc-wishlist-share button:focus-visible,
.fvc-wishlist-share input:focus-visible {
	outline: 3px solid color-mix(in srgb, var(--fvc-wishlist-primary) 32%, transparent);
	outline-offset: 2px;
}

.fvc-wishlist-button.is-loading {
	cursor: wait;
	opacity: .68;
}

.fvc-wishlist-button.is-added svg path {
	fill: currentColor;
}

.fvc-wishlist-button--media,
.fvc-wishlist-button--loop {
	box-shadow: 0 6px 18px rgba(35, 31, 32, .12);
	height: 42px;
	padding: 0;
	position: absolute;
	right: 12px;
	top: 12px;
	width: 42px;
	z-index: 12;
}

.fvc-wishlist-button--media .fvc-wishlist-button__label,
.fvc-wishlist-button--loop .fvc-wishlist-button__label {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}

.fvc-wishlist-button--single {
	margin-block: .75rem 0;
	min-height: 46px;
}

.fvc-wishlist-page {
	margin-inline: auto;
	max-width: 1280px;
	padding: clamp(1rem, 2.5vw, 2.5rem);
}

.fvc-wishlist-page__header {
	align-items: flex-start;
	display: flex;
	gap: 1.5rem;
	justify-content: space-between;
	margin-bottom: 1.75rem;
}

.fvc-wishlist-page__header h1 {
	color: var(--fvc-wishlist-ink);
	font-size: clamp(1.7rem, 3vw, 2.5rem);
	line-height: 1.15;
	margin: .2rem 0 .45rem;
}

.fvc-wishlist-page__header p {
	color: var(--fvc-wishlist-muted);
	margin: 0;
}

.fvc-wishlist-page__eyebrow {
	color: var(--fvc-wishlist-primary) !important;
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .09em;
	text-transform: uppercase;
}

.fvc-wishlist-grid {
	display: grid;
	gap: clamp(1rem, 2vw, 1.5rem);
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fvc-wishlist-item {
	background: var(--fvc-wishlist-surface);
	border: 1px solid var(--fvc-wishlist-border);
	border-radius: 18px;
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
}

.fvc-wishlist-item__media {
	aspect-ratio: 4 / 5;
	background: var(--fvc-wishlist-soft);
	display: block;
	overflow: hidden;
}

.fvc-wishlist-item__image {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.fvc-wishlist-item__content {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 1rem;
}

.fvc-wishlist-item h2 {
	font-size: 1rem;
	line-height: 1.4;
	margin: 0 0 .6rem;
}

.fvc-wishlist-item h2 a {
	color: var(--fvc-wishlist-ink);
	text-decoration: none;
}

.fvc-wishlist-item__price {
	color: var(--fvc-wishlist-ink);
	font-size: 1.05rem;
	font-weight: 700;
}

.fvc-wishlist-item__stock {
	color: var(--fvc-wishlist-muted);
	font-size: .85rem;
	margin: .5rem 0 1rem;
}

.fvc-wishlist-item__stock.is-in-stock {
	color: #157347;
}

.fvc-wishlist-item__stock.is-out-of-stock {
	color: #b42318;
}

.fvc-wishlist-item__actions {
	display: grid;
	gap: .55rem;
	grid-template-columns: 1fr;
	margin-top: auto;
}

.fvc-wishlist-item__actions .button {
	box-sizing: border-box;
	justify-content: center;
	text-align: center;
	width: 100%;
}

.fvc-wishlist-share {
	align-items: flex-start;
	display: flex;
	flex-wrap: wrap;
	gap: .6rem;
	justify-content: flex-end;
	max-width: 600px;
}

.fvc-wishlist-share__result {
	align-items: flex-end;
	display: flex;
	flex-basis: 100%;
	gap: .6rem;
}

.fvc-wishlist-share__result label {
	flex: 1;
}

.fvc-wishlist-share__result label span {
	display: block;
	font-size: .78rem;
	font-weight: 700;
	margin-bottom: .25rem;
}

.fvc-wishlist-share__result input {
	border: 1px solid var(--fvc-wishlist-border);
	border-radius: 8px;
	box-sizing: border-box;
	min-height: 42px;
	padding: .55rem .7rem;
	width: 100%;
}

.fvc-wishlist-empty {
	background: var(--fvc-wishlist-soft);
	border: 1px dashed var(--fvc-wishlist-secondary);
	border-radius: 18px;
	padding: clamp(2rem, 6vw, 5rem) 1.5rem;
	text-align: center;
}

.fvc-wishlist-empty__icon {
	color: var(--fvc-wishlist-primary);
	display: block;
	font-size: 3rem;
	line-height: 1;
}

.fvc-wishlist-empty h2 {
	color: var(--fvc-wishlist-ink);
	margin: 1rem 0 .5rem;
}

.fvc-wishlist-empty p {
	color: var(--fvc-wishlist-muted);
	margin: 0 auto 1.25rem;
	max-width: 520px;
}

.fvc-wishlist-pagination {
	margin-top: 2rem;
}

.fvc-wishlist-pagination .page-numbers {
	display: flex;
	gap: .4rem;
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.fvc-wishlist-pagination a,
.fvc-wishlist-pagination span {
	align-items: center;
	border: 1px solid var(--fvc-wishlist-border);
	border-radius: 8px;
	display: inline-flex;
	justify-content: center;
	min-height: 40px;
	min-width: 40px;
	padding: .35rem .55rem;
	text-decoration: none;
}

.fvc-wishlist-pagination .current {
	background: var(--fvc-wishlist-primary);
	border-color: var(--fvc-wishlist-primary);
	color: #fff;
}

.fvc-wishlist-shared-page {
	min-height: 55vh;
}

@media (max-width: 1024px) {
	.fvc-wishlist-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	.fvc-wishlist-page__header {
		flex-direction: column;
	}

	.fvc-wishlist-share {
		justify-content: flex-start;
		max-width: none;
		width: 100%;
	}

	.fvc-wishlist-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 480px) {
	.fvc-wishlist-page {
		padding-inline: .75rem;
	}

	.fvc-wishlist-grid {
		gap: .75rem;
	}

	.fvc-wishlist-item__content {
		padding: .75rem;
	}

	.fvc-wishlist-share__result {
		align-items: stretch;
		flex-direction: column;
	}
}

@media (prefers-reduced-motion: reduce) {
	.fvc-wishlist-button {
		transition: none;
	}
}
