/**
 * densetide：顶栏会员/购物车挂到原先右上角搜索位
 * （抑制系统右上角浮动 fallback）
 */
.dt-header-tools{
	display:flex !important;
	flex-direction:row;
	align-items:center;
	justify-content:flex-end;
	gap:10px;
	min-height:40px;
	padding-top:0;
	box-sizing:border-box;
}
.dt-header-lang{
	display:inline-flex;
	align-items:center;
	min-height:40px;
}
.dt-header-lang .xy-header-lang-switcher,
.dt-header-lang .gtranslate_wrapper{
	display:inline-flex;
	align-items:center;
}
.dt-header-tools .xy-header-extra-nav,
.dt-header-tools .xy-header-extra-fallback{
	position:static !important;
	top:auto !important;
	right:auto !important;
	display:inline-flex !important;
	align-items:center;
	justify-content:flex-end;
	gap:8px;
	margin:0;
	padding:0;
	list-style:none;
	min-height:40px;
	border-radius:0;
	background:transparent !important;
	box-shadow:none !important;
	color:#444;
	z-index:auto;
}
.dt-header-tools .xy-basket-nav,
.dt-header-tools .xy-member-nav,
.dt-header-tools .xy-wishlist-nav{
	display:inline-flex !important;
	align-items:center;
	visibility:visible !important;
	opacity:1 !important;
}
/* 空篮也显示图标（占原搜索按钮位） */
.dt-header-tools .xy-basket-nav[hidden],
.dt-header-tools .xy-basket-nav.is-empty{
	display:inline-flex !important;
}
.dt-header-tools .xy-basket-nav-toggle,
.dt-header-tools .xy-member-nav-login,
.dt-header-tools .xy-member-nav-trigger{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	min-width:40px;
	min-height:40px;
	padding:0 10px;
	border:1px solid #e5e5e5;
	background:#fff;
	color:#666;
	border-radius:0;
}
.dt-header-tools .xy-basket-nav-toggle:hover,
.dt-header-tools .xy-member-nav-login:hover,
.dt-header-tools .xy-member-nav-trigger:hover{
	color:#c83428;
	border-color:#c83428;
}
.dt-header-tools .xy-basket-badge{
	background:#c83428;
}

/* 若仍落到 body 下的 fallback：藏起浮动条，由 JS 迁入 .dt-header-tools */
body > .xy-header-extra-fallback{
	position:absolute !important;
	left:-9999px !important;
	top:auto !important;
	right:auto !important;
	opacity:0 !important;
	pointer-events:none !important;
}
@media screen and (max-width: 768px){
	.dt-header-tools{
		display:none !important; /* 移动端隐藏，改由 .dt-nav-icons-mobile 在 logo 右侧显示 */
	}
}
