.toggle-nav {
  font-size: 1.5rem;
  display: inline-flex;
}

.icon-bar {
	cursor: auto !important
}

.icon-bar .bar {
	background: var(--text-color);
	height: 2px
}

.icon-bar .bar:nth-child(2) {
	width: 20px
}

/** end menu toggle button **/
/** mid header  **/
.mid-header {
	background: var(--header-background);
	padding: 10px 0px
}

.mid-header .logo-wrapper {
	max-width: 248px;
	display: block
}
.mid-header .toggle-nav {
	width: 24px;
	flex-direction: column;
	height: 20px;
	justify-content: space-between;
	border-radius: 3px
}

.mid-header .toggle-nav .bar {
	height: 3px;
	background: var(--primary-color);
	width: 24px;
	border-radius: 3px
}

.mid-header .toggle-nav .bar:nth-child(2) {
	width: 75%
}

@media (max-width:992px) {
	.mid-header .logo-wrapper {
		margin: auto
	}
}

/** end mid header  **/
/** header right **/


.header-right {
	font-size: 1.5rem;
  color: #2e2e2e;
}

.header-right .fas {
	font-size: 24px
}

.header-right a {
	color: var(--header-color)
}

.header-right a:hover {
	text-decoration: none;
}

/** end header right **/

/** mini cart **/

.mini-cart .no-item {
	text-align: center
}

.mini-cart .no-item p {
	margin: 0 auto
}

.mini-cart > a .count_item {
	position: absolute;
  display: flex;
  background: var(--link-color);
  border-radius: 999px;
  width: 1rem;
  height: 1rem;
  line-height: 1rem;
  color: #fff;
  font-size: .75rem;
  top: -.5rem;
  right: -.5rem;
  align-items: center;
  justify-content: center;
}

.mini-cart a {
  display: inline-flex;
  color: #2e2e2e;
}

@media (max-width:575px) {
	.mini-cart>a .count_item {
    font-size: .625rem;
	}

  .ega-header .header-wrap .header-wrap--top {
    min-height: 4rem !important;
  }

  .ega-pos--relative #logo a {
    top: calc((4rem - 1.25rem) / 2) !important;
  }

  .ega-pos--relative #logo a img {
    width: 100%;
    height: 1.25rem;
  }

}
@media (max-width: 991px) {
	.mini-cart > a {
		display: flex;
		justify-content: flex-end;
		padding-right: 15px;
    padding: 0 5px;
	}
}

@media (max-width: 767px) {
	.mini-cart > a {
		position: relative;
	}
	.mini-cart .count_item{
		position: absolute;
		right: -12px;
		top: -5px;
		font-size: 10px;
	}
}
/** end mini-cart **/


/** search **/

#search-header .custom-input-group {
	z-index: 1000
}

#search-header .custom-input-group .input-group-field {
	background: #f1f1f1
}

@media (max-width:991px) {
	#search-header .custom-input-group .input-group-field {
		height: 35px;
		font-size: 12px
	}

}

@media (max-width:991px) {
	#search-header {
		order: 1;
		margin-top: 10px
	}

}

@media (max-width:375px) {
	#search-header .custom-input-group .input-group-field {
		padding-right: 45px
	}

	#search-header .btn {
		padding: 4px 10px
	}

}

#search-header .search-dropdow .search__list {
	display: block !important;
	white-space: nowrap;
	overflow: auto
}

#search-header .search-dropdow .search__list>li {
	display: inline-block
}
.search-overlay {
	position: fixed;
	z-index: -1;
	background: rgba(0, 0, 0, 0.4);
	width: 100%;
	height: 100vh;
	top: 0 !important;
	left: 0;
	opacity: 0;
	visibility: hidden
}

.search-overlay.active {
	opacity: 1;
	z-index: 999;
	visibility: visible
}

.search__list a {
	font-size: .75rem;
	color: #2e2e2e;
}

.search__list a:hover {
	color: var(--link-color)
}
/** end search **/

/** subheader **/
.subheader {
	--subheader-padding: 0px;
	background: var(--subheader-background);
	color: var(--subheader-color);
	display: flex;
	align-items: center;
	padding-top: 10px
}

.subheader .toogle-nav-wrapper {
	padding: 16px 0 20px;
	border-radius: 5px 5px 0px 0px;
	border: 1px;
	color: var(--subheader-background);
	background: var(--subheader-color);
	font-weight: 500
}

.subheader .navigation-wrapper {
	font-weight: 400
}

.subheader .toogle-nav-wrapper .icon-bar {
	width: 20px;
	height: 18px;
	margin-left: 15px
}

.subheader .toogle-nav-wrapper .icon-bar .bar {
	background: var(--subheader-background);
	width: 20px
}

@media (max-width:991px) {
	.subheader {
		display: none
	}

}

.subheader .container {
	display: grid;
	grid-template-columns: calc(20% - 24px) 1fr;
	justify-content: space-between;
	align-items: center;
	grid-gap: 15px
}

@media (max-width:1024px) {
	.subheader .container {
		grid-template-columns: calc(25% - 24px) 1fr
	}

}
.subheader .container>* {
	padding-bottom: 8px
}
.shop-policises {
	justify-content: flex-start
}

.shop-policises li {
	display: flex;
	align-items: center
}

.shop-policises li+* {
	margin-left: 15px
}

.shop-policises div {
	width: 40px;
	height: 40px;
	padding: 4px;
	margin-right: 6px;
	display: flex;
	align-items: center;
	justify-content: center
}

@media (max-width:991px) {
	.shop-policises div {
		width: 32px;
		height: 32px
	}

}

.shop-policises .link {
	font-size: 16px
}

@media (min-width:992px) {
	.shop-policises .link {
		color: var(--subheader-color)
	}

	.shop-policises .link:hover {
		color: var(--secondary-color)
	}

}

/** end subheader **/
/** ega-header **/
.ega-pos--relative #logo a {
  display: inline-flex;
  position: absolute;
  left: 50%;
  top: calc((5rem - 1.25rem) / 2);
  transform: translateX(-50%);
  z-index: 5;
}

.header_sticky {
	position: fixed;
	transform: translateY(-120px);
	top: 0px !important;
	left: 0;
	width: 100%;
	z-index: -1;
	transition: transform .3s ease-out;
	box-shadow: 0 0px 5px 1px rgba(0, 0, 0, 0.4);
	opacity: 0;
	background: #ffffff;
}

.header_sticky.active {
	z-index: 1000;
	transform: translateY(0);
	opacity: 1
}

.header_sticky .mid-header {
	font-size: 14px;
	padding: 0px
}

.header_sticky .mid-header:after {
	content: none !important
}

.header_sticky .toogle-nav-wrapper {
	margin: -5px 0px
}

.header_sticky .toogle-nav-wrapper:hover ~ .sticky-overlay {
	position: fixed;
	width: 100vw;
	height: 100vh;
	z-index: -1;
	background: rgba(0, 0, 0, 0.3);
	left: 0;
	top: 0
}

.header_sticky .toogle-nav-wrapper .navigation-wrapper {
	margin-top: 0
}

.header_sticky .navigation {
	--nav-height: 75vh
}

.header_sticky #search-header {
	order: 0 !important;
	margin: 0 !important
}


.ega-header:not(.header_sticky) {
	top: 0;
	position: sticky;
	position: -webkit-sticky;
	z-index: 1000;
  --main-menu-color: #fff;
  --header-color :#fff;
  box-shadow: 1px 1px 10px rgba(0, 0, 0, .15);
}

.ega-header.active {
	box-shadow: 1px 1px 10px rgba(0, 0, 0, .15);
}

.ega-header .header-wrap .header-wrap--top {
  min-height: 5rem;
}

.ega-header.header_sticky .header-wrap {
	height: 65px;
	display: grid;
	grid-template-columns: 150px 1fr 150px;
	align-items: center;
	gap: 15px;
}


.ega-header .header-wrap .header-right {
	display: flex;
}

.ega-header .header-wrap .header-right__icons {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

.ega-header .header-wrap .header-right__icons .icon-action__search {
	cursor: pointer;
  display: inline-flex;
}

.ega-header .header-wrap .header-right__icons #icon-account {
	position: relative;
  cursor: pointer;
  display: inline-flex;
}

.ega-header .header-wrap .header-right__icons #icon-account .account-action {
	position: absolute;
  background: #ffffff;
  transition-duration: .3s;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  visibility: hidden;
  text-align: left;
  left: 100%;
  transform: translateX(-100%);
  top: calc(100% + .5rem);
  min-width: 9rem;
  padding: 1rem;
  box-shadow: 1px 1px 10px rgba(0, 0, 0, .15);
}

.ega-header .header-wrap .header-right__icons #icon-account .account-action a {
	display: block;
  font-size: .875rem;
  margin-bottom: .5rem;
  color: #2e2e2e;
}

.ega-header .header-wrap .header-right__icons #icon-account .account-action a+a {
  margin-bottom: 0;
}

.ega-header .header-wrap .header-right__icons #icon-account .account-action a:hover {
  color: var(--link-color);
}

.ega-header .header-wrap .header-right__icons #icon-account .account-action:before {
	background: transparent;
	content: '';
	position: absolute;
	bottom: 100%;
	height: 10px;
	left: 0;
	width: 100%
}

.ega-header .header-wrap .header-right__icons #icon-account:hover .account-action {
	opacity: 1;
	visibility: visible;
	z-index: 99;
}


.ega-header .mega-menu-content {
	position: absolute;
	width: 100%;
	top: 100%;
	left: 0;
	margin-top: 13px;
	padding: 5px 58px 10px 40px;
	background-color: #fff;
	border: 1px solid #EEE;
	border-top: 2px solid #d9121f;
	height: auto;
	margin: 0;
	opacity: 0;
	visibility: hidden;
	z-index: -1;
	-webkit-transition: opacity .2s ease;
	-o-transition: opacity .2s ease;
	transition: opacity .2s ease
}

.ega-header .mega-menu-content .nav-links {
	--col-menu: 3;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(calc(100% / var(--col-menu)), 1fr))
}

.ega-header .mega-menu-content .nav-links__item {
	padding: 5px 10px
}

.ega-header #primary-menu {
	display: flex;
	justify-content: center
}

.ega-header.header_sticky {
	position: fixed
}

.ega-header.header_sticky .header-wrap {
	height: auto;
	padding-top: 1rem;
	padding-bottom: 1rem;
	justify-items: center
}
.ega-header.header_sticky .ega-form-search {
	width: 650px!important;
	max-width: 100%;
}
#ega-smartsearch-search-suggestion{
	width: 640px!important
}
 
.ega-header.header_sticky .ega-header-layer {
	display: none;
	position: absolute;
	content: "";
	background: #000;
	width: 100%;
	height: 100vh;
	opacity: .6;
	left: 0;
}

.ega-header.header_sticky.active .ega-header-layer {
	display: block
}

header.ega-header .navigation--horizontal {
	width: 100%;
	position: initial;
	justify-content: center;
}

header.ega-header .navigation--horizontal .navigation-arrows {
	display: none
}

header.ega-header .navigation--horizontal .navigation-arrows i {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
  color: var(--main-menu-color);
	fill: #fff;
}
header.ega-header .navigation--horizontal .navigation-arrows i svg{
	width: 15px;
	height: 15px;
}

header.ega-header .navigation--horizontal .navigation-arrows i:not(.disabled):hover {
	background: rgba(238, 238, 238, 0.4);
	border-radius: 100%
}

header.ega-header .navigation--horizontal .navigation-arrows i.disabled {
	cursor: not-allowed;
	opacity: 0.3
}

header.ega-header .navigation-wrapper {
	overflow: hidden;
	max-height: 65px;
}

header.ega-header .navigation-wrapper.overflow+.navigation-arrows {
	display: flex;
	align-items: center
}

@media(max-width: 991px){
	.ega-header.header_sticky .header-wrap {
		grid-template-columns: 1fr;
		padding-left: 0px;
		padding-right: 0px
		
	}
	.ega-header.header_sticky #logo,.ega-header.header_sticky .header-right {
		display: none!important
	}

}
@media (max-width:991px) {
	.ega-header .header-wrap {
		padding: 0 1rem;
	}

	.ega-header .header-wrap .header-right__icons {
    gap: .5rem;
  }

  .ega-header .header-wrap .header-right__icons.has-wishlist{
    grid-template-columns: repeat(3, 1fr);
  }

	#ega-smartsearch-search-suggestion, .ega-header.header_sticky .ega-form-search{
		width : 100%!important;
	}

	#ega-smartsearch-search-suggestion{
	width : calc(100% - 10px)!important
	}
}

/** end  ega-header **/
/** navigation **/

.navigation {
	--nav-height: 313px;
	min-height: 100%;
	overflow-x: auto;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	max-width: 100%;
	width: 100%;
	
}

.navigation.overflow {
	overflow: hidden
}

.navigation::-webkit-scrollbar {
	display: none
}

.navigation .list-group-item {
	padding: 0px;
	border-bottom: 0px;
	background: transparent
}

.navigation .list-group-item:hover>a:after {
	filter: brightness(0.9)
}

.navigation .list-group-item > a {
	text-decoration: none;
	white-space: nowrap;
	display: flex;
	align-items: center;
	background: var(--main-menu-bg);
	color: var(--main-menu-color);
	position: relative;
	font-weight: bold;
  padding: 1rem 0;
  font-size: .875rem;
  min-width: 4rem;
  justify-content: center;
}

.navigation .list-group-item>a:hover {
	color: var(--link-color)
}

.navigation .list-group-item>a:after {
	background: var(--main-menu-color);
    background-color: currentColor;
    bottom: calc(1.25rem - 5px);
    content: "";
    height: 2px;
    left: 1rem;
    position: absolute;
	width: 0;
    transition: width .2s ease-in-out;
}
.navigation .list-group-item>a>img {
    max-width: 24px;
    max-height: 24px;
    object-fit: contain;
    margin-right: 4px;
}
@media(min-width: 1024px){
.navigation .list-group-item:hover > a:after {
	width: calc(100% - 30px)
}
}
.navigation .list-group-item>a>span img {
	width: 24px;
	height: 24px;
	object-fit: contain;
	margin-right: 4px;
	animation: pulsate 1s ease-in alternate;
	animation-iteration-count: infinite
}

.navigation .list-group-item>a i, .navigation .list-group-item>a svg {
	margin-left: 6px;
  display: none;
}

@media (min-width: 992px) {
	.navigation .list-group-item>a i, .navigation .list-group-item>a svg {
		transform: rotate(45deg);
		margin-top: -3px;
	}

}

.header_sticky .navigation .list-group-item>a i, .header_sticky .navigation .list-group-item>a svg {
	transform: rotate(0deg)
}

.navigation .menu-item {
	position: initial
}

@media (min-width:992px) {
	.navigation .menu-item .submenu:hover, .navigation .menu-item a:hover + .submenu {
		display: block;
		z-index: 900
	}
}

.navigation .submenu {
	display: none;
	width: 100%;
	height: 506px;
	padding: 15px;
	border-radius: 0px;
	position: absolute;
	bottom: 0px;
	top: 100%;
	left: 0;
	background: #fff;
	margin-left: 0px;
	box-shadow: rgba(0, 0, 0, 0.06) 0px 5px 8px 0px;
	z-index: 1;
	overflow: auto;
	font-size: 1rem;
}
.navigation .submenu__list {
	display: grid;
	/*grid-template-columns: repeat(auto-fill, minmax(calc(100% / var(--col-menu)), 1fr));*/
	grid-template-columns: repeat(var(--col-menu), 1fr);
	grid-gap: 15px;
	padding: 0px;
	list-style: none
}
.navigation .submenu__col {
	display: flex;
	flex-direction: column;
	align-items: start;
	font-size: 1rem
}
.navigation .submenu__col .submenu__item{
	margin-bottom: 4px
}
.navigation .submenu__list:not(.vertical-menu) .submenu__item--main a svg{ display: none; }
.submenu__col .submenu__item:not(.submenu__item--main) a{
	color:#666666;
}
.submenu__col .submenu__item:not(.submenu__item--main) a:hover{
	color:var(--link-color);
}

.navigation .submenu__item--main {
	font-weight: bold;
		margin-bottom: 5px

}
// .navigation .submenu.default {
// 	width: auto;
// 	bottom: initial;
// 	left: inherit;
// 	height: auto;
// 	width: 250px
// }

// .navigation .submenu.default .submenu__list {
// 	display: flex;
// 	flex-direction: column;
// 	alig-items: flex-start
// }
.header-icon img{
    filter: invert(1);
}
.header-icon.toggle_form_search svg{
	filter : none
}
/** end naviagtion **/

.submenu span.hot {
	font-size: 12px;
	color: #ff1f1f;
	font-weight: bold;
	margin-left: 5px;
}
.submenu span.new {
	font-size: 12px;
	color: #3577f0;
	font-weight: bold;
	margin-left: 5px;
}
@media(min-width: 992px){
	[data-parent="thuong-hieu"]  .submenu__list{
		display: flex;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    row-gap: 30px;
	}
	[data-parent="thuong-hieu"] .submenu__list .submenu__col{
    width: 100%;
    flex-basis: calc((100% - 75px) / 6);
	}
	[data-parent="thuong-hieu"] .submenu__list .submenu__item--main{
		grid-column: 1 / -1;
		margin-bottom: 1rem;
	}
}
.top-cart-content a{
  color: var(--text-color);
}

.navigation .list-group-item.special > a {
  color: var(--link-color);
}

.vertical-menu .submenu__item--main {
  width: 100%;
}
.vertical-menu-grid{
  width: 100%;
  margin-left: 5px
}
.vertical-menu .submenu__item--main > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 5px
}
.vertical-child-items{
  display: none;
  margin-left: 8px
}
@media(max-width: 991px){
	.collapsed > svg,
	.collapsed > i {
		transform: rotate(90deg)
	}
}
.vertical-child-items a {
	font-weight: 400
}
.vertical-menu .submenu__item--main > a i{
	display: flex;
	align-items: center
}
@media(min-width: 992px) {
	.vertical-menu .submenu__item--main > a {
		justify-content: flex-start;
	}
	.submenu__list.vertical-menu{
		display: block;
		position: relative;
	} 
	.submenu__list.vertical-menu .submenu__col:not(.active) > div,
	.submenu__list.vertical-menu .submenu__col:not(.active) > .submenu__item > a svg{
		display: none !important;
	}
	.submenu__list.vertical-menu .submenu__col > * { flex: 0 0 auto; }
	.vertical-menu .submenu__item--main {
		width: calc(100% / 6);
	}
	.vertical-menu .submenu__item--main + div{
		width: calc(100% / 6 * 5);
		display: -webkit-flex;
		display: flex;
		flex-wrap: wrap;
		position: absolute;
    left: calc(100% / 6);
		top: 0;
	}
	.vertical-menu .submenu__item--main + div .vertical-menu-grid{
		flex: 0 0 auto;
		width: calc(100% / 5);
	}
	.submenu__list.vertical-menu .submenu__col {
    flex-direction: row !important;
	}
	.vertical-child-items{
		display: block;
		margin: 0
	}
	.vertical-menu-grid .submenu__item--main {
		width: 100%;
	}
  .vertical-menu-grid {
    margin: 0;
	}
}

ul.mm-panel.thuong-hieu {
  display: flex;
  flex-wrap: wrap;
}

ul.mm-panel.thuong-hieu li:first-child {
  flex-basis: 100%;
}

ul.mm-panel.thuong-hieu li:not(:first-child) {
  flex-basis: 50%;
  list-style-type: none;
}

.tab-menu-gender[data-gender="flash-sale"] {
  display: none;
}