/* Hide free-shipping goal while wishlist panel is active (cart panel unchanged). */
.styler-side-panel:has(.wishlist-area.active) .styler-cart-goal-wrapper,
.styler-header-mobile-content:has(.wishlist-area.active) .styler-cart-goal-wrapper,
.styler-side-panel.wn-wishlist-panel-open .styler-cart-goal-wrapper,
.styler-header-mobile-content.wn-wishlist-panel-open .styler-cart-goal-wrapper {
	display: none !important;
}

/* Empty wishlist badge: hide orange dot (Styler uses .count-empty for cart). */
.styler-wishlist-count.count-empty,
.styler-wishlist-count:empty {
	display: none !important;
}

/* Keep Styler's built-in empty notice hidden once Inventory bridge owns the panel. */
.wishlist-area .wishlist-content > .styler-wishlist-content-notice,
.wishlist-area .wishlist-content > .styler-panel-content-notice {
	display: none !important;
}

.wn-wishlist-panel-toolbar {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	padding: 0 2px;
	position: relative;
	z-index: 5;
}

.wn-wishlist-panel-label {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	display: block;
}

.wn-wishlist-panel-empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 10px;
	padding: 28px 16px 24px;
	min-height: 180px;
	width: 100%;
	box-sizing: border-box;
}

.wn-wishlist-panel-empty .styler-big-svg-icon,
.wn-wishlist-panel-empty svg {
	float: none !important;
	margin: 0 auto !important;
	display: block;
	max-width: 64px;
	max-height: 64px;
	opacity: 0.45;
}

.wn-wishlist-panel-empty .styler-small-title {
	margin: 0;
	text-align: center;
	width: 100%;
}

.wn-wishlist-panel-empty .styler-btn-small {
	margin-top: 4px;
}

.wn-wishlist-panel-select {
	display: block;
	flex: 1 1 auto;
	min-width: 0;
	width: 100%;
	max-width: 100%;
	padding: 8px 10px;
	border: 1px solid rgba(0, 0, 0, 0.15);
	border-radius: 4px;
	background: #fff;
	font-size: 13px;
	line-height: 1.3;
	appearance: auto;
	pointer-events: auto;
	position: relative;
	z-index: 6;
}

.wn-wishlist-manage-link {
	flex: 0 0 auto;
	font-size: 12px;
	text-decoration: underline;
	white-space: nowrap;
}

.wn-wishlist-picker {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px;
}

.wn-wishlist-picker[hidden] {
	display: none !important;
}

.wn-wishlist-picker__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(15, 18, 22, 0.45);
}

.wn-wishlist-picker__dialog {
	position: relative;
	z-index: 1;
	width: min(360px, 100%);
	max-height: min(70vh, 480px);
	overflow: auto;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
	padding: 18px 16px 14px;
}

.wn-wishlist-picker__title {
	margin: 0 0 12px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
}

.wn-wishlist-picker__lists {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0 0 12px;
}

.wn-wishlist-picker__list-btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	padding: 10px 12px;
	border: 1px solid rgba(0, 0, 0, 0.14);
	border-radius: 6px;
	background: #fafafa;
	cursor: pointer;
	text-align: left;
	font-size: 13px;
	line-height: 1.3;
}

.wn-wishlist-picker__list-btn:hover {
	background: #f0f0f0;
}

.wn-wishlist-picker__list-btn.is-on-list {
	border-color: rgba(0, 0, 0, 0.28);
	background: #fff;
}

.wn-wishlist-picker__list-name {
	font-weight: 600;
}

.wn-wishlist-picker__list-action {
	flex: 0 0 auto;
	opacity: 0.75;
	font-size: 12px;
}

.wn-wishlist-picker__cancel {
	display: block;
	width: 100%;
	padding: 8px 12px;
	border: 0;
	background: transparent;
	cursor: pointer;
	font-size: 13px;
	text-decoration: underline;
}
