.wcp-up-hb {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 4px;
	margin: 0 5px;
}

.wcp-up-hb--guest {
	width: 40px;
	height: 40px;
	text-decoration: none;
	background: var(--up__hb_btn_bg, #3E3E44);
	color: var(--up__hb_btn_color, #FFFFFF);
	transition: color 0.2s;
}

.wcp-up-hb--guest:hover {
	color: var(--up__hb_btn_color, #FFFFFF);
	opacity: 0.8;
}

.wcp-up-hb__btn {
	position: relative;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--up__hb_btn_bg, #3E3E44);
	border: none;
	cursor: pointer;
	padding: 0;
	color: var(--up__hb_btn_color, #FFFFFF);
	transition: color 0.2s, opacity 0.2s;
	border-radius: 4px;


}

.wcp-up-hb__btn:hover {
	opacity: 0.8;
}

.wcp-up-hb__icon {
	transition: color 0.2s;
}

.wcp-up-hb__dropdown {
	display: none;
	position: absolute;
	top: 100%;
	right: 0;
	min-width: 180px;
	background: var(--up__hb_dropdown_bg, #34343A);
	color: var(--up__hb_dropdown_color, #FFFFFF);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
	border-radius: 8px;
	overflow: hidden;
	z-index: 9999;
}

/* Mobile: full width */
@media (max-width: 767px) {
	.wcp-up-hb__dropdown {
		position: fixed;
		top: 55px;
		left: 0;
		right: 0;
		width: 100%;
		border-radius:  0;
		box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
	}
}

/* Desktop: show on hover */
@media (hover: hover) {
	.wcp-up-hb--auth:hover .wcp-up-hb__dropdown {
		display: block;
	}
}

/* Mobile: show on click via JS */
.wcp-up-hb--auth.is-open .wcp-up-hb__dropdown {
	display: block;
}

.wcp-up-hb__item {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 10px;
	padding: 12px 16px;
	color: inherit;
	text-decoration: none;
	font-size: 14px;
	transition: background 0.2s;
	white-space: nowrap;
}

@media (max-width: 767px) {
	.wcp-up-hb__item {
		padding: 16px 20px;
		font-size: 16px;
	}
}

.wcp-up-hb__item:hover {
	background: rgba(255, 255, 255, 0.08);
	color: inherit;
}

.wcp-up-hb__item--signout {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.wcp-up-hb__item-icon {
	flex-shrink: 0;
	color: var(--up__hb_item_icon_color, #FFB224);
	transition: color 0.2s;
}
/* Ensure inline SVGs take color from CSS variables even if they have hardcoded fill/stroke */
.wcp-up-hb__item-icon [fill]:not([fill="none"]) {
	fill: currentColor !important;
}
.wcp-up-hb__item-icon [stroke]:not([stroke="none"]) {
	stroke: currentColor !important;
}

.wcp-up-hb__badge {
	position: absolute;
	top: 0;
	right: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 16px;
	height: 16px;
	padding: 0 3px;
	background: var(--up__hb_badge_bg, #FFB224);
	color: var(--up__hb_badge_color, #1A1523);
	border-radius: 8px;
	font-size: 10px;
	font-weight: 600;
	line-height: 1;
	pointer-events: none;
}
