body {
  transition: overflow 0.6s cubic-bezier(0.7, 0, 0.2, 1);
}
body.mobile_nav {
  overflow: hidden;
}
.mobile-show{
  display: none;
}
.header {
  position: sticky;
  top: 0;
  background-color: #FFFFFF;
  z-index: 1001;
  padding: 0 0 10px;
  box-sizing: border-box;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}
.header-discount_info {
  color: #222222;
  line-height: 1;
  text-align: center;
  padding: 10px 15px;
  border-bottom: 1px solid #e5e5e5;
}
.header-full {
  padding: 5px 2.5% 0;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
}
.hm-icon-menu {
  width: 23px;
  text-indent: -3000em;
  position: relative;
  overflow: hidden;
}

.hm-icon-menu:before {
  content:  '';
  position: absolute;
  display: block;
  border: 1px solid #000;
  width: 100%;
  box-shadow: -10px 7px 0 #000, -10px 14px 0 #000;
  top: 4px;
}

.header input{
  border: 1px solid #e5e5e5;
  border-radius: 4px;
}

.h-search {
  position: relative;
}
.h-search input {
  padding:0 80px 0 20px;
  border: 2px solid #e64545;
  border-radius: 50px;
  height: 42px;
}
.h-search input:focus {
  box-shadow: none;
  border-color: #e64545;
}
.h-search .search-btn {
  background-color: #e64545;
  color: #FFF;
  border: 0;
  border-radius:0 50px 50px 0;
  width: 70px;
  height: 38px;
  line-height: 38px;
  text-align: center;
  position: absolute;
  right: 1px;
  top: 2px;
  cursor: pointer;
}
.header-logo {
  height: 50px;
  max-width: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.header-logo .logo-text {
  font-size: 30px;
  font-weight: bold;
  color: #000;
  text-decoration: none;
}
.header-logo img{max-width:175px;max-height: 70px;}
.h-search{
  flex: 1;
  margin: 0 20px 0 15px;
}
.h-nav ul, .header-user ul{
  display: flex;
  align-items: center;
}
.header-user ul{
  justify-content: end;
}
.header-user i{
  font-size: 20px;
}
.header-navbar > li{
  padding:0 5px;
}
.header-user ul li{
  padding-left: 15px;
}
.header-user ul li:first-child{
  padding-left: 0;
}
@media (max-width: 991px) {
  .mobile-show{
    display: block;
  }
  .header-logo img{max-width:175px;max-height: 60px;}
  .h-search {
    display: block;
  }
}
@media (max-width: 768px) {
  .h-search {
    order: 4;
    margin: 10px 0 0;
    flex: auto;
    width: 100%;
  }
}


.mobile-nav {
  position: fixed;
  width: 100%;
  height: 100vh;
  overflow-y: auto;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 99999;
  transform: translateX(120%);
  transition: transform 0.3s linear;
  padding-left: 10%;
  top: 0;
  left: 0;
  cursor: pointer;
}
.mobile-nav .mobile-nav-box {
  max-width: 100%;
  background: #FFF;
  height: 100vh;
  cursor: default;
}
.mobile-nav .mobile-nav-box .mobile-nav-title {
  padding: 10px 15px;
  font-size: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  border-bottom: 1px solid #dedede;
}
.mobile-nav .mobile-nav-box .mobile-nav-title .mobile-menu-close {
  height: 30px;
  width: 30px;
  line-height: 1;
  text-align: center;
  font-size: 30px;
  transition: transform 0.3s ease;
}
.mobile-nav .mobile-nav-box .mobile-nav-title .mobile-menu-close:hover {
  transform-origin: center;
  transform: rotate(180deg);
}
.mobile-nav.show {
  transform: translateX(0);
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.15);
}
.mobile-nav .h-menu{
  padding: 10px 10px;
}
.mobile-nav .h-menu li a{
  padding: 10px 5px;
  display: block;
  border-bottom: 1px solid #eee;
}
/* .mobile-nav .h-menu li:first-child a{
  border: none;
} */
.mlogo{
  height: 45px;
  max-width: 160px;
}
.mobile-nav .menu {
  padding: 0;
}
.mobile-nav .menu li {
  padding: 5px 0;
  border-bottom: 1px solid #dedede;
}
.mobile-nav .menu > li > a {
  position: relative;
  padding: 5px 15px;
  display: block;
  font-size: 16px;
  font-weight: bold;
}


.mobile-nav-box .mobile-user{
  font-size:16px;
  transition: all 0.3s ease;
}

.mobile-nav .h-menu li a{
  position: relative;
}
.mobile-nav .h-menu li a:after{
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #E20909;
  position: absolute;
  left: 0;
  bottom: -1px;
  transition: width 0.3s ease;
}
.mobile-nav .h-menu li a:hover{
  color: #E20909;
}
.mobile-nav .h-menu li a:hover:after{
  width: 100%;
}
.search-dialog {
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  padding: 110px 20px 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 999;
  transform: translateY(-100%);
}
.search-dialog.show {
  transform: translateY(0);
}
.search-dialog .search-box {
  padding: 20px;
  background: #fff;
  box-shadow: 0px 8px 8px rgba(0, 0, 0, 0.15);
  position: relative;
  transform: translateY(-50%);
  transition: transform 0.5s ease;
  max-width: 1200px;
  margin: 0 auto;
}
.search-dialog.show .search-box {
  transform: translateY(0);
}
.search-dialog .search-box input {
  border-radius: 5px;
  padding-right: 50px;
}
.search-dialog .search-box .search-btn {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  right: 20px;
  top: 20px;
  width: 46px;
  height: 46px;
  cursor: pointer;
}
.h-nav {
  display: none;
  padding: 0;
}
.h-nav li{
  position: relative;
}
.header-navbar > li a {
  font-size: 16px;
  color: #222;
  text-decoration: none;
  padding: 7.5px 5px;
  white-space: nowrap;
  transition: color 0.3s ease;
  position: relative;
  display: block;
  overflow: hidden;
}
.header-navbar li a:after {
  content: '';
  display: block;
  width: 100%;
  height: 0px;
  position: absolute;
  left: -100%;
  bottom:0;
  transition: left 0.3s ease;
}
.header-navbar li:hover > a {
  color: #E20909;
}
.header-navbar li .header-subnav {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  background: #fff;
  padding: 10px 0;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.15);
  border-radius: 5px;
  z-index: 999;
}
.header-navbar li:hover .header-subnav {
  display: block;
}
.header-navbar li .header-subnav a {
  padding: 2px 55px 2px 15px;
  border-bottom: 1px dashed #dedede;
}
.header-navbar li .header-subnav li:last-child a {
  border-bottom: 0;
}
.header-navbar li:hover .header-subnav a {
  display: block;
}
.h-uc .h-uc-nav {
  display: flex;
  align-items: center;
}
.h-uc .h-uc-nav a {
  font-size: 14px;
  color: #333333;
  text-decoration: none;
  transition: all 0.3s ease;
  text-align: center;
  line-height: 1;
}

.h-uc .h-uc-nav a i {
  font-size: 21px;
  padding-bottom: 2px;
}
.h-uc .h-uc-nav a > div {
  padding: 0 5px;
}
.h-uc .h-uc-nav a:hover {
  color: #E20909;
}
.h-uc-user {
  display: none;
}
.mobile-menu-bar a {
  font-size: 21px;
  color: #333333;
  text-decoration: none;
  padding: 0;
  display: block;
}
.m-subnav {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease-out;
  padding: 0 15px;
  background: #f5f5f5;
}
.mobile-nav .m-subnav li {
  border-bottom: 0 none;
  border-top: 1px dashed #dedede;
  padding: 5px 15px;
}
.mobile-nav .m-subnav li a{
  font-size: 14px;
  display: block;
}

.subnav i {
  transition: transform 0.3s ease;
}
.subnav.active i {
  transform: rotate(180deg);
}
@media all and (min-width: 992px) {
  body.mobile_nav {
    overflow: auto;
  }
  body.mobile_nav .overlay {
    display: none;
  }
  .h-nav {
    display: block;
    width: 100%;
    flex:0 0 auto;
    padding: 5px 2.5% 0
  }
  .h-nav .h-menu{
    padding-left: 15px;
  }
  .h-nav .h-menu li {
    padding-right: 20px;
    position: relative;
  }
  .h-nav .h-menu li:after {
    content: '/';
    display: block;
    position: absolute;
    right: 8px;
    top: 0;
    color: #999999;
  }
  .h-nav .h-menu li:last-child:after {
    display: none;
  }
  .h-nav .h-menu a{
    padding: 0 5px;
    position: relative;
    overflow: hidden;
    display: block;
    transition: all 0.3s ease;
  }
  .h-nav .h-menu a:after{
    content: '';
    display: block;
    width: 100%;
    height: 1px;
    position: absolute;
    background: #E20909;
    bottom: 0;
    left: -100%;
    transition: all 0.3s ease;
  }
  .h-nav .h-menu a:hover{
    color: #E20909;
  }
  .h-nav .h-menu a:hover:after{
    left: 0;
  }
  .header-user{
    flex: 1;
  }
  .h-search {
    display: block;
  }
  .h-uc-user {
    display: block;
  }
}