.hvl-switcher,
.hvl-switcher * {
  box-sizing: border-box;
}

.hvl-switcher__items {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hvl-switcher__link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
	padding: var(--hvl-padding-y, 6px) var(--hvl-padding-x, 10px);
	border: 1px solid var(--hvl-border, rgba(0, 0, 0, .12));
	border-radius: var(--hvl-radius, 8px);
	background: var(--hvl-bg, transparent);
	color: var(--hvl-color, inherit);
	font-size: var(--hvl-font-size, inherit);
  line-height: 1.2;
  text-decoration: none;
  transition: border-color .2s ease, background-color .2s ease;
	gap: 7px;
}

.hvl-switcher__link:hover,
.hvl-switcher__link:focus,
.hvl-switcher__link.is-active {
  border-color: currentColor;
	background: var(--hvl-hover-bg, rgba(0, 0, 0, .05));
	color: var(--hvl-hover-color, var(--hvl-color, inherit));
}

.hvl-switcher--dropdown {
	position: relative;
	display: inline-block;
	min-width: 160px;
}

.hvl-switcher__toggle,
.hvl-switcher__option {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	color: var(--hvl-color, inherit);
	font: inherit;
	font-size: var(--hvl-font-size, inherit);
	text-align: left;
}

.hvl-switcher__toggle {
	min-height: 40px;
	padding: var(--hvl-padding-y, 7px) calc(var(--hvl-padding-x, 11px) + 25px) var(--hvl-padding-y, 7px) var(--hvl-padding-x, 11px);
	border: 1px solid var(--hvl-border, rgba(0, 0, 0, .18));
	border-radius: var(--hvl-radius, 8px);
	background: var(--hvl-bg, #fff);
	cursor: pointer;
}

.hvl-switcher__chevron {
	position: absolute;
	right: 13px;
	width: 8px;
	height: 8px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-2px) rotate(45deg);
}

.hvl-switcher__menu {
	position: absolute;
	z-index: 9999;
	top: calc(100% + 6px);
	left: 0;
	min-width: 100%;
	margin: 0;
	padding: 5px;
	border: 1px solid var(--hvl-border, rgba(0, 0, 0, .14));
	border-radius: var(--hvl-radius, 9px);
	background: var(--hvl-bg, #fff);
	color: var(--hvl-color, inherit);
	box-shadow: 0 8px 28px rgba(0, 0, 0, .13);
	list-style: none;
}

.hvl-switcher__option {
	padding: 8px 9px;
	border-radius: max(0px, calc(var(--hvl-radius, 8px) - 2px));
	text-decoration: none;
}

.hvl-switcher__option:hover,
.hvl-switcher__option:focus,
.hvl-switcher__option.is-active {
	background: var(--hvl-hover-bg, rgba(0, 0, 0, .06));
	color: var(--hvl-hover-color, var(--hvl-color, inherit));
}

.hvl-switcher--no-arrow .hvl-switcher__toggle {
	padding-right: var(--hvl-padding-x, 11px);
}

.hvl-switcher--style-minimal {
	--hvl-bg: #050505;
	--hvl-color: #fff;
	--hvl-border: transparent;
	--hvl-hover-bg: #1b1b1b;
	--hvl-hover-color: #fff;
	--hvl-radius: 0px;
	--hvl-font-size: 20px;
	--hvl-padding-x: 12px;
	--hvl-padding-y: 12px;
}

.hvl-switcher--style-minimal.hvl-switcher--dropdown {
	min-width: 0;
}

.hvl-switcher--style-minimal .hvl-switcher__toggle {
	min-height: 48px;
	gap: 16px;
}

.hvl-switcher--style-minimal .hvl-switcher__menu {
	min-width: 170px;
}

.hvl-switcher--style-minimal .hvl-switcher__option,
.hvl-switcher--style-minimal .hvl-switcher__link {
	gap: 12px;
}

.hvl-flag-image {
	flex: 0 0 auto;
	display: inline-block;
	object-fit: contain;
	border-radius: 2px;
	vertical-align: middle;
}

.hvl-flag-emoji {
	display: inline-block;
	line-height: 1;
	font-size: 1.15em;
}

/* ==== v1.5.0: Giao dien nut chuyen ngon ngu giong amanaki.vn (icon dia cau, ma ngan, dropdown nen vang) ==== */
/* ===== HVL: Language switcher giống amanaki.vn ===== */
.hvl-switcher .hvl-flag-emoji{display:none!important}
.hvl-switcher__toggle{display:flex!important;align-items:center;gap:6px;background:transparent!important;border:0!important;padding:0 8px!important;color:#F7EEDF!important;font-size:14px!important;font-weight:450!important;line-height:20px!important;text-transform:uppercase;box-shadow:none!important}
.hvl-switcher__toggle::before{content:"";width:18px;height:18px;flex:0 0 18px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.4 2.5 3.6 5.5 3.6 9s-1.2 6.5-3.6 9c-2.4-2.5-3.6-5.5-3.6-9S9.6 5.5 12 3z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.4 2.5 3.6 5.5 3.6 9s-1.2 6.5-3.6 9c-2.4-2.5-3.6-5.5-3.6-9S9.6 5.5 12 3z'/%3E%3C/svg%3E") center/contain no-repeat}
.hvl-switcher__toggle .hvl-switcher__name{font-size:0!important;line-height:20px;letter-spacing:0}
.hvl-switcher__toggle .hvl-switcher__name::after{content:"EN";font-size:14px}
body.hvl-lang-vi .hvl-switcher__toggle .hvl-switcher__name::after{content:"VI"}
body.hvl-lang-zh .hvl-switcher__toggle .hvl-switcher__name::after{content:"ZH"}
body.hvl-lang-hk .hvl-switcher__toggle .hvl-switcher__name::after{content:"HK"}
body.hvl-lang-ko .hvl-switcher__toggle .hvl-switcher__name::after{content:"KO"}
body.hvl-lang-ja .hvl-switcher__toggle .hvl-switcher__name::after{content:"JA"}
.hvl-switcher__menu{background:#AE905E!important;min-width:156px!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;left:auto!important;right:0!important;top:calc(100% + 8px)!important;list-style:none!important}
.hvl-switcher__toggle[aria-expanded="true"] + .hvl-switcher__menu{display:flex!important;flex-direction:column}
.hvl-switcher__menu li{margin:0!important;padding:0!important;list-style:none!important;order:10}
.hvl-switcher__menu li:has(a[href*="/vi/"]){order:2}
.hvl-switcher__menu li:has(a[href*="/zh/"]){order:3}
.hvl-switcher__menu li:has(a[href*="/hk/"]){order:4}
.hvl-switcher__menu li:has(a[href*="/ko/"]){order:5}
.hvl-switcher__menu li:has(a[href*="/ja/"]){order:6}
.hvl-switcher__menu li:first-child{order:1}
.hvl-switcher__option{display:block!important;background:#AE905E!important;color:#F7EEDF!important;font-size:12px!important;font-weight:450!important;line-height:40px!important;padding:0 16px!important;text-transform:uppercase;white-space:nowrap;border:0!important}
.hvl-switcher__option span{font-size:12px!important}
.hvl-switcher__option:hover,.hvl-switcher__option.is-active{font-weight:700!important;color:#fff!important;background:#AE905E!important}

/* Căn chỉnh nút toggle */
.hvl-switcher .hvl-switcher__toggle{gap:8px!important;height:48px}
.hvl-switcher__toggle .hvl-switcher__name{display:flex!important;align-items:center;height:20px!important}
.hvl-switcher__toggle .hvl-switcher__name::after{line-height:20px}
.hvl-switcher__toggle .hvl-switcher__chevron{position:static!important;margin-left:2px!important;display:flex!important;align-items:center}
