/* Global header: utility row + large-icon navigation row with full-width panels (SprintRay pattern). */
/* Direction-based condense toggles the header height; without this the
   browser's scroll anchoring would counter-shift scrollY and oscillate. */
html,
body {
	overflow-anchor: none;
}

header.wp-block-template-part:has(> .leyi-site-header) {
	position: sticky;
	top: 0;
	z-index: 1000;
	/* Keep scroll anchoring from reacting to the header's own height change. */
	overflow-anchor: none;
}

.wp-site-blocks > header.wp-block-template-part + main {
	margin-block-start: 0 !important;
}

.leyi-site-header.leyi-hd {
	--leyi-hd-bg: #141618;
	--leyi-hd-panel: #1b1e21;
	--leyi-hd-line: rgba(255, 255, 255, .07);
	--leyi-hd-idle: #aab0b6;
	--leyi-hd-text: #c9cdd1;
	--leyi-hd-muted: #7b8288;
	--leyi-hd-blue: #2563eb;
	--leyi-hd-blue-hover: #3b76f6;
	--leyi-hd-top-h: 60px;
	--leyi-hd-nav-h: 104px;
	--leyi-hd-icon: 44px;
	--leyi-hd-ease: cubic-bezier(.2, .7, .2, 1);
	--leyi-hd-inner: min(1240px, calc(100vw - 200px));
	position: relative;
	top: auto;
	z-index: 30;
	margin: 0;
	padding: 0;
	border: 0;
	background: var(--leyi-hd-bg);
	color: #fff;
	box-shadow: none;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	font-family: inherit;
	-webkit-font-smoothing: antialiased;
}

.leyi-hd > * { margin-block: 0; }
.leyi-hd a { text-decoration: none; }
.leyi-hd svg { flex: none; }
.leyi-hd-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* Top utility row */
.leyi-hd-top {
	box-sizing: border-box;
	height: var(--leyi-hd-top-h);
	display: flex;
	align-items: center;
	gap: 40px;
	padding: 0 clamp(20px, 2.6vw, 44px);
	border-bottom: 1px solid var(--leyi-hd-line);
}

.leyi-hd-brand { display: flex; align-items: center; flex: none; }
.leyi-hd-brand img { display: block; width: auto; height: 28px; }
.leyi-hd-brand:focus-visible { outline: 2px solid #8fb3ff; outline-offset: 6px; border-radius: 4px; }

.leyi-hd-utility { display: flex; gap: 28px; }
.leyi-hd .leyi-hd-utility a { color: rgba(255, 255, 255, .62); font-size: 13px; letter-spacing: .02em; transition: color .2s; }
.leyi-hd .leyi-hd-utility a:hover, .leyi-hd .leyi-hd-utility a:focus-visible { color: #fff; }

.leyi-hd-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }

.leyi-hd .leyi-hd-lang {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0 10px 0 0;
	padding: 0 18px 0 0;
	border-right: 1px solid rgba(255, 255, 255, .12);
	color: rgba(255, 255, 255, .3);
	font-size: 12.5px;
}
.leyi-hd-lang svg { width: 15px; height: 15px; margin-right: 2px; color: rgba(255, 255, 255, .55); }
.leyi-hd .leyi-hd-lang a { color: rgba(255, 255, 255, .55); transition: color .2s; }
.leyi-hd .leyi-hd-lang a[aria-current="true"] { color: #fff; font-weight: 600; }
.leyi-hd .leyi-hd-lang a:hover, .leyi-hd .leyi-hd-lang a:focus-visible { color: #fff; }

.leyi-hd .leyi-hd-btn {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 36px;
	padding: 0 18px;
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 999px;
	background: transparent;
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .02em;
	white-space: nowrap;
	transition: background-color .2s, border-color .2s, box-shadow .2s;
}
.leyi-hd .leyi-hd-btn:hover, .leyi-hd .leyi-hd-btn:focus-visible { border-color: rgba(255, 255, 255, .5); background: rgba(255, 255, 255, .06); }
.leyi-hd .leyi-hd-btn--primary { border-color: var(--leyi-hd-blue); background: linear-gradient(180deg, #3b76f6, var(--leyi-hd-blue)); }
.leyi-hd .leyi-hd-btn--primary:hover, .leyi-hd .leyi-hd-btn--primary:focus-visible {
	border-color: var(--leyi-hd-blue-hover);
	background: var(--leyi-hd-blue-hover);
	box-shadow: 0 6px 18px rgba(37, 99, 235, .35);
}
.leyi-hd .leyi-hd-btn:focus-visible { outline: 2px solid #8fb3ff; outline-offset: 2px; }

.leyi-hd-burger { display: none; }
.leyi-hd-drawer-foot { display: none; }
/* Icon navigation row */
.leyi-hd-nav { border-bottom: 1px solid var(--leyi-hd-line); }

.leyi-hd-list {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.leyi-hd-trigger {
	position: relative;
	box-sizing: border-box;
	width: 168px;
	height: var(--leyi-hd-nav-h);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--leyi-hd-idle);
	font: inherit;
	cursor: pointer;
	transition: color .2s, height .25s var(--leyi-hd-ease), gap .25s var(--leyi-hd-ease);
}

/* Solid silhouette icons (inline SVG sprite); cut-outs show the header background. */
.leyi-hd-trigger__icon {
	width: var(--leyi-hd-icon);
	height: var(--leyi-hd-icon);
	border-radius: 12px;
	transition: width .25s var(--leyi-hd-ease), height .25s var(--leyi-hd-ease), transform .25s var(--leyi-hd-ease), box-shadow .3s var(--leyi-hd-ease);
}
.leyi-hd-trigger__icon svg { display: block; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.leyi-hd-trigger:hover .leyi-hd-trigger__icon,
.leyi-hd-item.is-open > .leyi-hd-trigger .leyi-hd-trigger__icon { box-shadow: 0 0 0 13px rgba(255, 255, 255, .05); }

.leyi-hd-trigger__label {
	position: relative;
	display: inline-flex;
	align-items: center;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: .04em;
	line-height: 1.2;
}
.leyi-hd-chev {
	position: absolute;
	left: 100%;
	top: 50%;
	translate: 0 -50%;
	margin-left: 5px;
	width: 11px;
	height: 11px;
	opacity: .7;
	transition: transform .25s var(--leyi-hd-ease), opacity .2s;
}

/* Short accent bar under the label marks the current section and the open panel. */
.leyi-hd-trigger::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -1px;
	width: 28px;
	height: 2px;
	border-radius: 2px;
	background: var(--leyi-hd-blue);
	transform: translateX(-50%) scaleX(0);
	transition: transform .25s var(--leyi-hd-ease);
}

.leyi-hd-trigger:hover { color: #e9ecef; }
.leyi-hd-trigger:hover .leyi-hd-trigger__icon { transform: translateY(-2px); }
.leyi-hd-item.is-current > .leyi-hd-trigger,
.leyi-hd-item.is-open > .leyi-hd-trigger,
.leyi-hd-home.is-current > .leyi-hd-trigger,
.leyi-hd-contact.is-current > .leyi-hd-trigger { color: #fff; }
.leyi-hd-item.is-current > .leyi-hd-trigger::after,
.leyi-hd-item.is-open > .leyi-hd-trigger::after,
.leyi-hd-home.is-current > .leyi-hd-trigger::after,
.leyi-hd-contact.is-current > .leyi-hd-trigger::after { transform: translateX(-50%) scaleX(1); }
.leyi-hd-item.is-open > .leyi-hd-trigger .leyi-hd-chev { transform: rotate(180deg); opacity: 1; }
.leyi-hd-trigger:focus-visible { outline: 2px solid #8fb3ff; outline-offset: -6px; border-radius: 8px; }
/* Condensed state after scrolling down: icons hidden, text-only row, lower height. */
@media (min-width: 901px) {
	.leyi-hd.is-condensed { --leyi-hd-nav-h: 48px; }
	.leyi-hd.is-condensed .leyi-hd-trigger__icon { display: none; }
}

/* Dropdown panels */
.leyi-hd-panel {
	position: absolute;
	z-index: 5;
	top: 100%;
	left: 0;
	right: 0;
	box-sizing: border-box;
	max-height: calc(100vh - var(--leyi-hd-top-h) - var(--leyi-hd-nav-h));
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 36px 0 32px;
	background: radial-gradient(1100px 280px at 50% 0, rgba(255, 255, 255, .045), transparent 70%) var(--leyi-hd-panel);
	border-top: 1px solid var(--leyi-hd-line);
	box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .7);
	visibility: hidden;
	opacity: 0;
	transform: translateY(-8px);
	transition: opacity .2s ease, transform .28s var(--leyi-hd-ease), visibility 0s linear .28s;
}

/* Without JS the panels still open on hover/focus; once JS is ready only .is-open shows them. */
.leyi-hd:not(.is-ready) .leyi-hd-item:hover > .leyi-hd-panel,
.leyi-hd:not(.is-ready) .leyi-hd-item:focus-within > .leyi-hd-panel,
.leyi-hd-item.is-open > .leyi-hd-panel {
	visibility: visible;
	opacity: 1;
	transform: none;
	transition: opacity .2s ease, transform .28s var(--leyi-hd-ease), visibility 0s;
}

.leyi-hd-panel__inner,
.leyi-hd-panel__foot {
	box-sizing: border-box;
	width: min(var(--leyi-hd-inner), calc(var(--leyi-hd-cols) * 236px + var(--leyi-hd-cols) * 40px + 300px));
	margin: 0 auto;
}
.leyi-hd-panel__inner {
	display: grid;
	grid-template-columns: repeat(var(--leyi-hd-cols), minmax(0, 1fr)) 300px;
	gap: 40px;
	align-items: start;
}
.leyi-hd-panel--wide .leyi-hd-panel__inner,
.leyi-hd-panel--wide .leyi-hd-panel__foot { width: var(--leyi-hd-inner); }
.leyi-hd-panel--wide .leyi-hd-panel__inner { grid-template-columns: repeat(var(--leyi-hd-cols), minmax(0, 1fr)); gap: 48px; }

.leyi-hd-item.is-open .leyi-hd-group,
.leyi-hd-item.is-open .leyi-hd-feature { animation: leyi-hd-rise .42s var(--leyi-hd-ease) both; }
.leyi-hd-item.is-open .leyi-hd-group:nth-child(2) { animation-delay: .03s; }
.leyi-hd-item.is-open .leyi-hd-group:nth-child(3) { animation-delay: .06s; }
.leyi-hd-item.is-open .leyi-hd-group:nth-child(4) { animation-delay: .09s; }
.leyi-hd-item.is-open .leyi-hd-feature { animation-delay: .1s; }
@keyframes leyi-hd-rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.leyi-hd-group__title {
	margin: 0 0 12px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--leyi-hd-line);
	color: var(--leyi-hd-muted);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .16em;
}
.leyi-hd-group__title::before {
	content: "";
	display: inline-block;
	width: 14px;
	height: 2px;
	margin-right: 8px;
	border-radius: 1px;
	background: var(--leyi-hd-blue);
	vertical-align: 3px;
}
.leyi-hd-group ul { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }

/* Product rows: white chip thumbnail + name + code */
.leyi-hd .leyi-hd-prod {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 -10px;
	padding: 7px 10px;
	border-radius: 10px;
	color: var(--leyi-hd-text);
	transition: background-color .18s, color .18s;
}
.leyi-hd-prod__thumb {
	flex: 0 0 48px;
	height: 44px;
	display: grid;
	place-items: center;
}
.leyi-hd-prod__thumb img { width: 44px; height: 44px; object-fit: contain; transition: transform .35s var(--leyi-hd-ease); }
.leyi-hd-prod:hover .leyi-hd-prod__thumb img { transform: scale(1.08); }
.leyi-hd-prod__text { min-width: 0; display: grid; gap: 2px; font-size: 14px; line-height: 1.35; }
.leyi-hd-prod__text > span { display: flex; align-items: center; gap: 8px; white-space: normal; } /* long names wrap inside their column */
.leyi-hd-prod__tag {
	padding: 1px 6px;
	border-radius: 4px;
	background: var(--leyi-hd-blue);
	color: #fff;
	font-size: 10px;
	font-style: normal;
	font-weight: 700;
	letter-spacing: .08em;
	line-height: 1.5;
}
.leyi-hd-prod__text small { color: var(--leyi-hd-muted); font-size: 11.5px; letter-spacing: .04em; }
.leyi-hd .leyi-hd-prod:hover, .leyi-hd .leyi-hd-prod:focus-visible { background: rgba(255, 255, 255, .05); color: #fff; }
.leyi-hd-prod:hover .leyi-hd-prod__thumb img { transform: scale(1.05); }

/* Text link rows for documents and articles */
.leyi-hd .leyi-hd-link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 -10px;
	padding: 10px;
	border-radius: 10px;
	color: var(--leyi-hd-text);
	transition: background-color .18s, color .18s;
}
.leyi-hd-link__text { flex: 1; min-width: 0; display: grid; gap: 3px; font-size: 14px; line-height: 1.4; }
.leyi-hd-link__text small { color: var(--leyi-hd-muted); font-size: 12px; }
.leyi-hd-link__arrow { width: 15px; height: 15px; color: var(--leyi-hd-blue-hover); opacity: 0; transform: translateX(-6px); transition: opacity .18s, transform .25s var(--leyi-hd-ease); }
.leyi-hd .leyi-hd-link:hover, .leyi-hd .leyi-hd-link:focus-visible { background: rgba(255, 255, 255, .05); color: #fff; }
.leyi-hd-link:hover .leyi-hd-link__arrow, .leyi-hd-link:focus-visible .leyi-hd-link__arrow { opacity: 1; transform: none; }
.leyi-hd-prod:focus-visible, .leyi-hd-link:focus-visible, .leyi-hd-feature:focus-visible { outline: 2px solid #8fb3ff; outline-offset: 0; }

/* Feature image card on the right of every panel */
.leyi-hd-feature {
	position: relative;
	align-self: stretch;
	min-height: 260px;
	display: block;
	overflow: hidden;
	border-radius: 14px;
	background: #0d0f11;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07);
	isolation: isolate;
}
.leyi-hd-feature img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .6s var(--leyi-hd-ease);
}
.leyi-hd-feature::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(10, 12, 14, 0) 30%, rgba(10, 12, 14, .55) 62%, rgba(10, 12, 14, .92) 100%);
}
.leyi-hd-feature__body {
	position: absolute;
	z-index: 1;
	left: 22px;
	right: 22px;
	bottom: 20px;
	display: grid;
	gap: 6px;
	color: #fff;
}
.leyi-hd-feature__eyebrow { color: #8fb3ff; font-size: 10.5px; font-weight: 700; letter-spacing: .2em; }
.leyi-hd-feature__body strong { font-size: 18px; font-weight: 700; line-height: 1.35; }
.leyi-hd-feature__body small { color: rgba(255, 255, 255, .7); font-size: 12.5px; line-height: 1.5; }
.leyi-hd-feature__go {
	position: absolute;
	z-index: 1;
	top: 16px;
	right: 16px;
	width: 36px;
	height: 36px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: rgba(255, 255, 255, .14);
	color: #fff;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	transition: background-color .2s, transform .25s var(--leyi-hd-ease);
}
.leyi-hd-feature__go svg { width: 16px; height: 16px; }
.leyi-hd-feature:hover img { transform: scale(1.05); }
.leyi-hd-feature:hover .leyi-hd-feature__go { background: var(--leyi-hd-blue); transform: translateX(2px); }

.leyi-hd-panel__foot {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 28px;
	margin-top: 26px;
	padding-top: 18px;
	border-top: 1px solid var(--leyi-hd-line);
}
.leyi-hd .leyi-hd-panel__foot a { display: inline-flex; align-items: center; gap: 6px; color: var(--leyi-hd-text); font-size: 13px; transition: color .18s; }
.leyi-hd-panel__foot svg { width: 14px; height: 14px; color: var(--leyi-hd-blue-hover); transition: transform .25s var(--leyi-hd-ease); }
.leyi-hd .leyi-hd-panel__foot a:hover, .leyi-hd .leyi-hd-panel__foot a:focus-visible { color: #fff; }
.leyi-hd-panel__foot a:hover svg { transform: translateX(3px); }

.leyi-hd-panel__close {
	position: absolute;
	top: 28px;
	right: clamp(16px, 2.2vw, 36px);
	width: 36px;
	height: 36px;
	display: grid;
	place-items: center;
	margin: 0;
	padding: 0;
	border: 1px solid var(--leyi-hd-line);
	border-radius: 50%;
	background: none;
	color: rgba(255, 255, 255, .7);
	cursor: pointer;
	transition: color .2s, background-color .2s, transform .25s var(--leyi-hd-ease);
}
.leyi-hd-panel__close svg { width: 18px; height: 18px; }
.leyi-hd-panel__close:hover, .leyi-hd-panel__close:focus-visible { color: #fff; background: rgba(255, 255, 255, .08); transform: rotate(90deg); }

/* Dim the page behind an open panel. */
.leyi-hd-scrim {
	position: fixed;
	z-index: -1;
	inset: var(--leyi-site-header-height, 164px) 0 0;
	background: rgba(5, 8, 12, .55);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity .25s ease, visibility 0s linear .25s;
}
.leyi-hd.has-open-panel .leyi-hd-scrim { opacity: 1; visibility: visible; transition: opacity .25s ease, visibility 0s; }

@media (max-width: 1180px) and (min-width: 901px) {
	.leyi-site-header.leyi-hd { --leyi-hd-inner: calc(100vw - 120px); }
	/* 7 x 140px + gaps is 1028px: let the items share the row instead of spilling past a 1024px window. */
	.leyi-hd-list > li { flex: 0 1 140px; min-width: 0; }
	.leyi-hd-trigger { width: 100%; max-width: 140px; }
	.leyi-hd-top { gap: 24px; }
	.leyi-hd-panel__inner { grid-template-columns: repeat(var(--leyi-hd-cols), minmax(0, 1fr)) 220px; gap: 24px; }
	.leyi-hd-panel--wide .leyi-hd-panel__inner { gap: 24px; }
	.leyi-hd-prod__text > span { white-space: normal; }
	.leyi-hd-panel__close { top: 12px; }
}
@media (max-width: 900px) {
	.leyi-site-header.leyi-hd { --leyi-hd-top-h: 58px; }
	.leyi-hd-top { gap: 12px; padding: 0 14px 0 16px; }
	.leyi-hd-brand img { height: 24px; }
	.leyi-hd-utility,
	.leyi-hd-actions > .leyi-hd-lang,
	.leyi-hd-actions > .leyi-hd-btn:not(.leyi-hd-btn--primary),
	.leyi-hd-scrim,
	.leyi-hd-panel__close { display: none; }
	.leyi-hd-actions { gap: 8px; }
	.leyi-hd .leyi-hd-actions > .leyi-hd-btn--primary { height: 34px; padding: 0 14px; font-size: 12.5px; }

	.leyi-hd-burger {
		width: 38px;
		height: 38px;
		display: grid;
		place-items: center;
		margin: 0;
		padding: 0;
		border: 1px solid rgba(255, 255, 255, .18);
		border-radius: 50%;
		background: none;
		color: #fff;
		cursor: pointer;
	}
	.leyi-hd-burger svg { width: 19px; height: 19px; }
	.leyi-hd-burger__close, .leyi-hd.is-drawer-open .leyi-hd-burger__open { display: none; }
	.leyi-hd.is-drawer-open .leyi-hd-burger__close { display: block; }

	.leyi-hd-nav {
		position: fixed;
		z-index: 1001;
		top: var(--leyi-hd-top-h);
		left: 0;
		right: 0;
		bottom: 0;
		display: none;
		flex-direction: column;
		overflow-y: auto;
		overscroll-behavior: contain;
		padding: 6px 18px 0;
		border: 0;
		background: var(--leyi-hd-bg);
	}
	.leyi-hd.is-drawer-open .leyi-hd-nav { display: flex; animation: leyi-hd-rise .3s var(--leyi-hd-ease) both; }

	.leyi-hd-list { display: block; }
	.leyi-hd-item, .leyi-hd-home, .leyi-hd-contact { border-bottom: 1px solid var(--leyi-hd-line); }
	.leyi-hd-trigger {
		--leyi-hd-icon: 28px;
		width: 100%;
		height: 60px;
		flex-direction: row;
		justify-content: flex-start;
		gap: 14px;
		color: var(--leyi-hd-text);
	}
	.leyi-hd-trigger::after { display: none; }
	.leyi-hd-trigger:hover .leyi-hd-trigger__icon { transform: none; box-shadow: none; }
	.leyi-hd-item.is-open > .leyi-hd-trigger .leyi-hd-trigger__icon { box-shadow: none; }
	.leyi-hd-trigger__label { flex: 1; justify-content: space-between; font-size: 15px; font-weight: 600; letter-spacing: .04em; }
	.leyi-hd-trigger__icon { color: var(--leyi-hd-idle); }
	.leyi-hd-item.is-current > .leyi-hd-trigger .leyi-hd-trigger__icon,
	.leyi-hd-item.is-open > .leyi-hd-trigger .leyi-hd-trigger__icon { color: #8fb3ff; }
	.leyi-hd-trigger__label { gap: 5px; }
	.leyi-hd-chev { position: static; translate: none; margin-left: 0; width: 14px; height: 14px; }

	.leyi-hd-panel {
		position: static;
		display: none;
		max-height: none;
		overflow: visible;
		padding: 2px 0 18px;
		border: 0;
		background: none;
		box-shadow: none;
		visibility: visible;
		opacity: 1;
		transform: none;
		transition: none;
	}
	.leyi-hd-item.is-open > .leyi-hd-panel { display: block; }
	.leyi-hd-panel__inner, .leyi-hd-panel__foot,
	.leyi-hd-panel--wide .leyi-hd-panel__inner, .leyi-hd-panel--wide .leyi-hd-panel__foot { width: auto; }
	.leyi-hd-panel__inner,
	.leyi-hd-panel--wide .leyi-hd-panel__inner { display: grid; grid-template-columns: 1fr; gap: 18px; }
	.leyi-hd-item.is-open .leyi-hd-group, .leyi-hd-item.is-open .leyi-hd-feature { animation: none; }
	.leyi-hd-group__title { margin-bottom: 6px; padding-bottom: 8px; font-size: 11px; }
	.leyi-hd-group ul:has(.leyi-hd-prod) { grid-template-columns: 1fr 1fr; gap: 4px 10px; }
	.leyi-hd .leyi-hd-prod { gap: 10px; margin: 0; padding: 6px 0; }
	.leyi-hd-prod__thumb { flex-basis: 40px; height: 40px; }
	.leyi-hd-prod__thumb img { width: 36px; height: 36px; }
	.leyi-hd-prod__text { font-size: 13px; }
	.leyi-hd-prod__text > span { white-space: normal; }
	.leyi-hd-prod__text small { font-size: 10.5px; }
	.leyi-hd .leyi-hd-link { margin: 0; padding: 10px 0; }
	.leyi-hd-link__arrow { opacity: .45; transform: none; }

	.leyi-hd-feature { min-height: 0; display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 12px; background: rgba(255, 255, 255, .05); }
	.leyi-hd-feature img { position: static; flex: 0 0 72px; width: 72px; height: 54px; border-radius: 8px; }
	.leyi-hd-feature::after, .leyi-hd-feature__eyebrow, .leyi-hd-feature__body small { display: none; }
	.leyi-hd-feature__body { position: static; gap: 0; }
	.leyi-hd-feature__body strong { font-size: 14px; font-weight: 600; }
	.leyi-hd-feature__go { position: static; margin-left: auto; width: 30px; height: 30px; background: rgba(255, 255, 255, .1); }
	.leyi-hd-panel__foot { gap: 10px 18px; margin-top: 16px; padding-top: 14px; }

	.leyi-hd-drawer-foot {
		display: grid;
		/* Keep the original button width while centering all three rows. */
		grid-template-columns: minmax(0, calc((100% - 10px) / 2));
		justify-content: center;
		gap: 10px;
		margin-top: auto;
		padding: 22px 0 24px;
	}
	.leyi-hd .leyi-hd-drawer-foot .leyi-hd-btn { height: 46px; font-size: 14px; }
	.leyi-hd-drawer-lang { grid-column: 1 / -1; display: flex; justify-content: center; gap: 22px; padding-top: 8px; font-size: 13px; }
	.leyi-hd .leyi-hd-drawer-lang a { color: rgba(255, 255, 255, .5); }
	.leyi-hd .leyi-hd-drawer-lang a[aria-current="true"] { color: #fff; font-weight: 600; }

	html.leyi-hd-locked, html.leyi-hd-locked body { overflow: hidden; }
}

@media (prefers-reduced-motion: reduce) {
	.leyi-hd *, .leyi-hd *::before, .leyi-hd *::after { transition: none !important; animation: none !important; }
}

/* 2026-11-16 brand rendering（2026-11-18 改为自动循环，不随鼠标交互） */
/* 官方标志图形不变：显示尺寸、柔和品牌色光晕，每隔几秒自动掠光一次。 */
.leyi-hd-brand { position: relative; isolation: isolate; }
.leyi-hd-brand img { height: 34px; filter: drop-shadow(0 0 14px rgba(86, 150, 255, .16)) drop-shadow(0 1px 1px rgba(0, 0, 0, .35)); }
.leyi-hd-brand::after {
        content: ""; position: absolute; inset: 0; pointer-events: none;
        background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .75) 50%, transparent 62%) 160% 0 / 260% 100% no-repeat;
        -webkit-mask: url("/wp-content/themes/leyi-b2b/assets/images/nav/leyi-logo-header.webp") 0 50% / 100% 100% no-repeat;
        mask: url("/wp-content/themes/leyi-b2b/assets/images/nav/leyi-logo-header.webp") 0 50% / 100% 100% no-repeat;
        animation: leyi-brand-shine 6s cubic-bezier(.45, 0, .25, 1) 1s infinite;
}
@keyframes leyi-brand-shine { 0% { background-position: 160% 0; } 28%, 100% { background-position: -70% 0; } }
@media (max-width: 900px) { .leyi-hd-brand img { height: 28px; } }
@media (prefers-reduced-motion: reduce) { .leyi-hd-brand::after { animation: none !important; opacity: 0; } }
