/* Shared cart / wishlist feedback UI. */
.vifeerie-toast-region {
	position: fixed;
	top: 18px;
	right: 18px;
	z-index: 100050;
	display: grid;
	gap: 10px;
	width: min(380px, calc(100vw - 32px));
	pointer-events: none;
}

.vifeerie-toast {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 14px 16px;
	border: 1px solid rgba(143, 107, 132, .22);
	border-radius: 12px;
	background: #fff;
	color: #3f303b;
	box-shadow: 0 12px 34px rgba(43, 28, 39, .18);
	font-size: 14px;
	line-height: 1.5;
	transform: translateY(-8px);
	opacity: 0;
	transition: opacity .2s ease, transform .2s ease;
	pointer-events: auto;
}

.vifeerie-toast.is-visible {
	transform: translateY(0);
	opacity: 1;
}

.vifeerie-toast::before {
	content: "✓";
	flex: 0 0 22px;
	display: grid;
	place-items: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #8f6b84;
	color: #fff;
	font-size: 13px;
	font-weight: 700;
}

.vifeerie-toast--error::before {
	content: "!";
	background: #c8475c;
}

.vifeerie-wishlist-dialog:not([hidden]) {
	position: fixed;
	inset: 0;
	z-index: 100040;
	display: grid;
	place-items: center;
	padding: 20px;
	background: rgba(30, 23, 29, .48);
}

.vifeerie-wishlist-panel {
	width: min(520px, 100%);
	max-height: min(78vh, 720px);
	display: flex;
	flex-direction: column;
	border-radius: 16px;
	background: #fff;
	box-shadow: 0 22px 70px rgba(25, 17, 23, .24);
	overflow: hidden;
}

.vifeerie-wishlist-panel__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 20px;
	border-bottom: 1px solid #eee7ed;
}

.vifeerie-wishlist-panel__head h2 {
	margin: 0;
	font-size: 19px;
	color: #3f303b;
}

.vifeerie-wishlist-close {
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 50%;
	background: #f6f1f5;
	color: #3f303b;
	font-size: 22px;
	cursor: pointer;
}

.vifeerie-wishlist-items {
	padding: 6px 20px 18px;
	overflow: auto;
}

.vifeerie-wishlist-item {
	display: grid;
	grid-template-columns: 64px minmax(0, 1fr) auto;
	align-items: center;
	gap: 13px;
	padding: 14px 0;
	border-bottom: 1px solid #f0ebef;
}

.vifeerie-wishlist-item img {
	display: block;
	width: 64px;
	height: 64px;
	border-radius: 8px;
	object-fit: cover;
	background: #f5efef;
}

.vifeerie-wishlist-item__name {
	color: #3f303b;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
}

.vifeerie-wishlist-item__price {
	margin: 4px 0 0;
	color: #8f6b84;
	font-size: 13px;
}

.vifeerie-wishlist-item__remove {
	border: 0;
	background: transparent;
	color: #8f6b84;
	font-size: 12px;
	text-decoration: underline;
	cursor: pointer;
}

.vifeerie-wishlist-empty {
	margin: 0;
	padding: 28px 0;
	color: #766a73;
	text-align: center;
}

@media (max-width: 480px) {
	.vifeerie-toast-region { top: 10px; right: 10px; }
	.vifeerie-wishlist-dialog:not([hidden]) { padding: 12px; }
	.vifeerie-wishlist-item { grid-template-columns: 52px minmax(0, 1fr) auto; gap: 10px; }
	.vifeerie-wishlist-item img { width: 52px; height: 52px; }
}
