.wishlist {
	position: relative;
	display: inline-flex;
	align-items: center;
}
.wishlist-menu-item {
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	margin: 0;
	color: currentColor;
	display: inline-flex;
	align-items: center;
	position: relative;
	line-height: 1;
	transition: opacity 0.2s ease;
}
.wishlist-menu-item:hover {
	opacity: 0.65;
}
.wishlist-count {
	position: absolute;
	top: -5px;
	right: -8px;
	background: #f9514e;
	color: #fff;
	font-size: 10px;
	font-weight: 700;
	width: 17px;
	height: 17px;
	border-radius: 50%;
	display: none;
	align-items: center;
	justify-content: center;
	line-height: 1;
	pointer-events: none;
}
.wishlist-dropdown {
	position: absolute;
	top: calc(100% + 14px);
	right: 0;
	background: #fff;
	border: 1px solid #e6e7e9;
	min-width: 300px;
	max-width: 360px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
	z-index: 10000;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}
.wishlist.is-open .wishlist-dropdown {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.wishlist-dropdown-head {
	padding: 1rem;
	border-bottom: 1px solid #e6e7e9;
	font-size: 1.5rem;
	font-weight: 700;
	color: #1d1f21;
}
.wishlist-dropdown-body {
	max-height: 380px;
	overflow-y: auto;
}
.wishlist-empty {
	padding: 24px 20px;
	text-align: center;
	font-size: 13px;
	color: #6c757d;
	margin: 0;
}
.wishlist-item {
	display: flex;
	align-items: center;
	padding: 1rem;
	border-bottom: 1px solid #f5f5f5;
	gap: 10px;
	transition: background 0.12s ease;
}
.wishlist-item:last-child {
	border-bottom: none;
}
.wishlist-item:hover {
	background: #fafafa;
}
.wishlist-item-link {
	display: flex;
	align-items: center;
	gap: 12px;
	flex: 1;
	text-decoration: none !important; /* override theme underline on hover */
	color: inherit;
	min-width: 0;
}
.wishlist-item-img {
	width: 44px;
	height: 44px;
	object-fit: cover;
	flex-shrink: 0;
	background: #f5f5f5;
}
.wishlist-item-info {
	display: flex;
	flex-direction: column;
	min-width: 0;
	gap: 2px;
}
.wishlist-item-mfr {
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #6c757d;
}
.wishlist-item-title {
	font-size: 1.5rem;
	font-weight: 500;
	color: #1d1f21;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	transition: color 0.15s ease;
}
.wishlist-item-link:hover .wishlist-item-title {
	color: #f9514e;
}
.wishlist-item-remove {
	background: none;
	border: none;
	cursor: pointer;
	padding: 5px;
	color: #adb5bd;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 3px;
	flex-shrink: 0;
	transition: color 0.15s ease, background 0.15s ease;
}
.wishlist-item-remove:hover {
	color: #f9514e;
}

/* .header-wrapper .wishlist, */
.wishlist-mobile {
	display: none;
}

@media (max-width: 1023px) {
	.wishlist-mobile {
		display: inline-flex;
		padding-right: 2.4rem;
	}
	.wishlist-mobile .wishlist-dropdown {
		right: 0;
		left: auto;
	}
}

/**
 * Toggle
 */
.wishlist-toggle {
	background: none;
	border: none;
	cursor: pointer;
	display: flex;
	padding: 0;
	color: #2c2e30;
	transition: color 0.2s ease;
	line-height: 1;
}
.wishlist-toggle svg:last-child,
.wishlist-toggle.active svg:first-child {
	display: none;
}
.wishlist-toggle.active svg:last-child {
	display: block;
}
.wishlist-toggle:hover,
.wishlist-toggle.active {
	color: #f9514e;
}
