.vnth-esm-component {
	--vnth-esm-sticky-top: 118px;
	--vnth-esm-effective-top: var(--vnth-esm-sticky-top);
	--vnth-esm-content-gap: 20px;
	--vnth-esm-max-width: 1160px;
	--vnth-esm-edge-gap: 20px;
	--vnth-esm-menu-height: 72px;
	--vnth-esm-item-height: 56px;
	--vnth-esm-z-index: 99999;
	position: relative;
	display: block;
	width: 100%;
	min-height: var(--vnth-esm-menu-height);
	box-sizing: border-box;
	overflow: visible !important;
}

.vnth-esm-component,
.vnth-esm-component * {
	box-sizing: border-box;
}

.vnth-esm-menu {
	position: relative;
	z-index: var(--vnth-esm-z-index);
	width: min(var(--vnth-esm-max-width), calc(100vw - (var(--vnth-esm-edge-gap) * 2)));
	height: var(--vnth-esm-menu-height);
	margin: 0 auto;
	padding: 0;
}

.vnth-esm-menu.is-fixed {
	position: fixed !important;
	top: var(--vnth-esm-effective-top) !important;
	left: 50% !important;
	z-index: var(--vnth-esm-z-index) !important;
	width: min(var(--vnth-esm-max-width), calc(100vw - (var(--vnth-esm-edge-gap) * 2))) !important;
	height: var(--vnth-esm-menu-height) !important;
	margin: 0 !important;
	transform: translateX(-50%) !important;
}

.vnth-esm-inner {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 0;
	width: 100%;
	height: var(--vnth-esm-menu-height);
	min-height: var(--vnth-esm-menu-height);
	padding: 8px;
	background: #fff;
	border-radius: 999px;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

.vnth-esm-inner::-webkit-scrollbar {
	display: none;
}

.vnth-esm-link {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 1 1 0;
	min-width: max-content;
	height: var(--vnth-esm-item-height);
	min-height: var(--vnth-esm-item-height);
	padding: 0 24px;
	border-radius: 999px;
	background-color: transparent;
	color: #10182b;
	font-family: inherit;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none !important;
	white-space: nowrap;
	outline-offset: -3px;
	transition: color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.vnth-esm-link:hover,
.vnth-esm-link:focus-visible {
	color: #439ae4;
}

.vnth-esm-link.is-active,
.vnth-esm-link.is-active:hover,
.vnth-esm-link.is-active:focus-visible {
	color: #fff;
	background-color: #439ae4;
	box-shadow: 0 5px 14px rgba(67, 154, 228, 0.32);
}

.vnth-esm-empty {
	padding: 16px;
	border: 1px dashed #c5cbd3;
	color: #586174;
	font-size: 13px;
	text-align: center;
}

@media (max-width: 1024px) {
	.vnth-esm-component {
		--vnth-esm-sticky-top: 88px;
	}

	.vnth-esm-link {
		padding-right: 18px;
		padding-left: 18px;
		font-size: 12px;
	}
}

@media (max-width: 767px) {
	.vnth-esm-component {
		--vnth-esm-sticky-top: 74px;
		--vnth-esm-edge-gap: 12px;
		--vnth-esm-menu-height: 60px;
		--vnth-esm-item-height: 48px;
	}

	.vnth-esm-inner {
		padding: 6px;
	}

	.vnth-esm-link {
		flex: 0 0 auto;
		padding-right: 18px;
		padding-left: 18px;
		font-size: 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vnth-esm-link {
		transition: none;
	}
}

