
/* 网站logo（页头页尾） */
.logo {
  font-size: 0;
  text-align: left;
}

.logo img {
  height: 40px;
  object-fit: contain;
}

/* 页头 Start */
header{
  min-height: 130px;
}
.iconfont{
  color: var(--theme-nav-color);
}

.nav-header {
 position: fixed;
 top: 0;
 left: 0;
 right: 0;
 z-index: 999;
 width: 100%;
 background-color: #fff;
}

header .wrapper {
  padding: 0 25px;
}

.header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

header .header-left {
  width: 100%;
  max-width: 800px;
}

.search-bar {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 16px;
  width: 100%;
  height: 40px;
  background-color: #fff;
}

.search-bar .search {
  flex: 1;
  height: 100%;
  line-height: 40px;
  padding: 0;
  color: var(--theme-nav-color);
  font-size: 16px;
  background: transparent;
  border: none;
  border-bottom: 1px solid #999;
}

header .header-left .search-bar i,
header .sticky-header .search-bar i {
  color: var(--theme-nav-color);
}
header .header-left .search-bar i{
  position: absolute;
  right: 18px;
}
.header-main .logo {
  flex: 1;
}

header .header-right {
  position: relative;
  display: flex;
  justify-content: flex-end;
  flex: 1;
}

.header-account {
  position: relative;
}
.header-right-account{
  padding: 0 30px 0 10px;
}
@media screen and (max-width: 768px) {
  .header-right-account {
      padding:  0 10px;
    }
}
/* 
minicart
 */
.header-right-minicart{
  padding: 0 30px 0 12px;
}
.header-minicart-subtotal{
  padding-bottom: 16px;
  border-bottom: 1px solid var(--theme-sub-color);
}
#paypal-button-container-cart-popup{
  margin-top: 8px;
}

.minicart-list{
  max-height: 400px;
  margin-top: 24px;
  background-color: #fff;
  overflow-y: scroll;
}
.minicart-list::-webkit-scrollbar{display: none;}
.minicart-item{
  margin-bottom: 24px;
  width: 100%;
  height: 100%;
}
.minicart-item-content{
  display: flex;
}
.minicart-item-img{
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 16px;
  border: 1px solid #e6e6e6;
}
.minicart-item-img img{
  width: 80px;
}
.minicart-item-info{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: calc(100% - 5rem);
}
.minicart-item-sku{
  color: var(--theme-color-font-secondary);
}
.minicart-item-price{
  font-weight: 600;
}
.show-now-link {
  display: inline-block;
  margin-top: 24px;
  font-weight: 600;
  text-decoration: underline;
  font-size: 18px;
}
.header-account-info, .header-minicart-info{
  display: none;
  position: absolute;
  right: 0;
  z-index: 1000;
  padding: 24px 24px 0;
  box-sizing: border-box;
  background: #fff;
  box-shadow: 0px 0px 6px 0px rgba(51, 51, 51, 0.18);
}
.header-minicart-info{
  min-width: 368px;
  padding: 24px;
}


.header-info-login{
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--theme-sub-color);
}
.header-login-btn{
  width: 175px;
  height: 48px;
  margin-bottom: 16px;
  padding: 14px 0;
  border: 1px solid var(--main-bg-color);
  line-height: 20px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--theme-nav-color);
  background-color: var(--main-bg-color);
}
.header-register-btn{
  margin-bottom: 8px;
  font-size: 14px;
}
.header-register-btn a {
  text-decoration: underline;
  font-weight: 600;
}
.header-info-list{
  display: flex;
  flex-direction: column;
}
.header-info-list a{
  margin-bottom: 22px;
  color: var(--theme-nav-color);
}
.header-sign-out{
  padding-top: 22px;
  margin-bottom: 22px;
  border-top: 1px solid var(--theme-sub-color);

}
.sign-out-btn{
  color: var(--theme-nav-color);
  text-decoration: underline;
}
/* minicart */

.minicart-header{
  display: flex;
  justify-content: space-between;
  padding: 0  0 23px  ;
  line-height: 18px;
  font-size: 14px;
  border-bottom: 1px solid var(--theme-sub-color);
}
.minicart-header a{
  color: var(--theme-color-font-secondary);
  text-decoration: underline;
}

.minicart-button{
  width: 100%;
  height: 48px;
  text-align: center;
  line-height: 26px;
}
.minicart-subtotal i {
  font-size: 18px;
  font-weight: 600;
  font-style: normal;
}
.cart-badge {
  display: none;
  position: absolute;
  top: -8px;
  right: 23px;
  width: 20px;
  height: 20px;
  line-height: 20px;
  color: var(--main-bg-color);
  font-size: 12px;
  text-align: center;
  background-color: #333;
  border-radius: 50%;
}
.header-nav-wrapper{
  background-color: var(--main-bg-color);
}
.header-nav {
  display: flex;
  justify-content: left;
  flex-wrap: wrap;
  max-width: var(--max-width);
  margin: auto;
  padding: 0 25px;
  column-gap: calc(var(--theme-nav-column-gap) + 16px);
}

.header-nav .nav-item {
  position: relative;
  font-weight: 600;
  padding: 2px 0 12px;
}


.nav-item .nav-link {
  position: relative;
  color: var(--theme-nav-color);
  font-size: var(--theme-nav-font-size);
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.nav-link.animation-underline::before {
  background-color:var(--main-bg-color-sub);
}
.header-nav .nav-item .icon-down{
  position: absolute;
  top: 4px;
  right: -23px;
  transform: scale(0.4);
  color: #333;
}
.header-nav .nav-item:hover .header-dropdown {
  display: block;
}

.header-dropdown {
  display: none;
  position: fixed;
  top: 125px;
  z-index: 12;
  max-height: 50vh;
  overflow-y: auto;
  background-color: var(--main-bg-color);
}
.header-dropdown .animation-underline::before {
  background-color: var(--main-bg-color);
}
.header-dropdown::before {
  content: "";
}

.header-dropdown::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 3px;
}

.header-dropdown::-webkit-scrollbar-thumb { 
	border-radius: 6px; 
	border: 2px solid rgba(255,255,255,.4); 
	background-color: rgba(0, 0, 0, .5);
}

.header-dropdown.vertical {
  padding: 16px;
  width: fit-content;
}

.header-dropdown.vertical section:hover>a::before {
  background-color: var(--main-bg-color-sub);
}
.header-dropdown:not(.vertical) {
  left: 0;
  right: 0;
}

.header-dropdown:not(.vertical) .dropdown-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 20px 0;
  margin: auto;
  width: 100%;
  max-width: 1400px;
}

.header-dropdown:not(.vertical) .second-link {
  display: inline-block;
  padding-bottom: 10px;
  width: 100%;
  color: var(--main-bg-color-sub);
  font-size: 16px;
  font-weight: bold;
  border-bottom: 1px solid var(--theme-border-color);
}

.header-dropdown:not(.vertical) section {
  margin-right: 40px;
  padding: 0 24px 24px 0;
  width: 20%;
}

.header-dropdown.vertical section {
  padding-bottom: 16px;
  line-height: 1;
}

/* .header-dropdown.vertical section:first-child {
  padding-top: 16px;
}

.header-dropdown.vertical section:last-child {
  padding-bottom: 16px;
} */

.header-dropdown.vertical section .second-link {
  font-size: 14px;
}

.header-dropdown section .second-link {
  color: var(--theme-nav-color);
  font-size: 16px;
  white-space: nowrap;
  line-height: 1.5;
}

.dropdown-wrapper .third-links {
  display: flex;
  flex-direction: column;
  padding-top: 12px;
}

.dropdown-wrapper .third-links .third-link {
  width: fit-content;
  color: #000;
  font-size: 14px;
  white-space: normal;
  line-height: 42px;
}

.dropdown-wrapper .third-links .third-link:hover::before {
  background-color: var(--main-bg-color-sub);
}

.third-link.animation-underline::before {
  height: 1px;
  bottom: 4px;
}
@media screen and (min-width: 769px) {
  .header-account::after {
      content: '\e748';
      font-family: 'iconfont';
      position: absolute;
      top: 0;
      left: 17px;
      display: inline-block;
      transform: scale(0.35);
    }
  
    .header-cart::after {
      content: '\e748';
      font-family: 'iconfont';
      position: absolute;
      top: 0;
      right: -7px;
      display: inline-block;
      transform: scale(0.35);
    }
}

header .wrapper .iconfont {
  color: var(--theme-nav-color);
  font-size: 24px;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 100px;
  left: 0;
  z-index: 512;
  padding: 0 18px 160px;
  width: 100vw;
  height: calc(100vh - 60px);
  overflow: hidden auto;
  background-color: var(--main-bg-color);
  transition: all .3s ease-in-out;
}

.mobile-nav .remind {
  text-align: left;
}

.mobile-nav .remind a {
  color: var(--theme-color-font);
  font-size: 14px;
}

.mobile-nav .side-menu {
  margin-bottom: 20px;
}

.side-menu li {
  display: flex;
  padding: 14px 0;
  line-height: 23px;
  border-bottom: 1px solid rgba(51, 51, 51, 0.6);
}

.side-menu .menu-item {
  color: var(--theme-color-font);
  font-size: 15px;
  font-weight: 600;
}

.j-menu-item>i {
  flex: 1;
  position: relative;
  font-size: 14px;
}
.j-menu-item>i::before{
  position: absolute;
  right: 0;
  /* top: 2px; */
}

.side-menu .menu-header {
  padding: 16px 0;
  line-height: 24px;
  text-align: center;
  color: var(--theme-nav-color);
  font-size: 16px;
  font-weight: 600;
  border-bottom: 1px solid rgba(51, 51, 51, 0.6);
}

.side-menu .menu-header i {
  float: left;
  line-height: 24px;
  font-size: 20px;
  font-weight: 400;
  color: var(--theme-color-font);
}

.secondary-menu,
.third-menu {
  display: none;
  position: fixed;
  left: 0;
  top: 100px;
  padding: 0 18px 160px;
  height: calc(100vh - 60px);
  width: 100vw;
  overflow: hidden auto;
  background-color: var(--main-bg-color);
  transition: all .3s ease-in-out;
}

.secondary-menu {
  z-index: 15;
}

.third-menu {
  z-index: 20;
}

/* 滚动菜单 Start */
.sticky-header {
  /* display: none; */
  position: fixed;
  top: -100px;
  left: 0;
  z-index: 256;
  width: 100%;
  background-color: var(--main-bg-color);
  visibility: hidden;
  transition: .3s all ease;
  -moz-transition: .3s all ease;
  -webkit-transition: .3s all ease;
}

.sticky-header .header-main {
  padding: 24px 0;
}

.sticky-header .main-left {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 320px;
  font-size: 0;
}

.sticky-menu-button {
  margin-right: 40px;
  line-height: 2;
}

.sticky-header .search-bar {
  flex: 3;
  max-width: 766px;
}

.sticky-header .main-right {
  display: flex;
  flex: 1;
  justify-content: flex-end;
  min-width: 200px;
}

.sticky-header .header-main .logo {
  min-width: unset;
}

.sticky-nav {
  display: none;
  position: absolute;
  top: 96px;
  right: 0;
  left: 0;
  background-color: #fff;
}

.sticky-header .nav-wrapper {
  display: flex;
  margin: auto;
  padding: 0 25px;
  width: 100%;
  max-width: var(--max-width);
  min-height: 38.2vh;
  max-height: 61.8vh;
  background-color: #fff;
}

.sticky-nav .nav-left {
  display: flex;
  flex-direction: column;
  padding: 24px 0;
  width: 240px;
  overflow-y: auto;
  border-right: 1px solid var(--theme-border-color);
}

.sticky-nav .nav-left::-webkit-scrollbar {
  display: none;
}

.sticky-nav .nav-left .first-link {
  display: inline-block;
  padding-left: 24px;
  height: 48px;
  color: var(--theme-color-font);
  line-height: 48px;
}

.nav-left .first-link.current {
  color: var(--main-bg-color);
  font-weight: bold;
  background-color: #fafafa;
  border-right: 2px solid var(--main-bg-color);
}

.sticky-nav .nav-right {
  flex: 1;
  padding: 24px 40px;
  overflow: auto;
}

.sticky-nav .nav-right::-webkit-scrollbar {
  -webkit-appearance: none;
  width: 3px;
}

.sticky-nav .nav-right::-webkit-scrollbar-thumb { 
	border-radius: 6px; 
	border: 2px solid rgba(255,255,255,.4); 
	background-color: rgba(0, 0, 0, .5);
}


.sticky-nav .nav-right .nav-panel {
  display: none;
  flex-wrap: wrap;
  gap: 24px;
}

.sticky-nav .nav-panel section {
  min-width: calc(25% - 18px);
}

.nav-panel .second-link {
  padding-bottom: 12px;
  font-weight: bold;
  white-space: nowrap;
  border-bottom: 1px solid var(--theme-border-color);
}

.nav-panel a.second-link {
  display: block;
  cursor: pointer;
}

.nav-panel .second-link.animation-underline::before {
  background-color: var(--main-bg-color);
}

.nav-panel .third-links {
  margin-top: 24px;
}

.nav-panel .third-link:not(:last-child) {
  margin-bottom: 16px;
}

.nav-panel .third-link,
.nav-panel .third-link a {
  color: var(--theme-color-font);
  font-size: 14px;
}

.nav-panel .third-link:hover,
.nav-panel .third-link:hover a {
  color: var(--main-bg-color);
}

.nav-panel .third-link .animation-underline::before {
  background-color: var(--main-bg-color);
}

.shelter {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 10;
  background-color: #000;
  opacity: .3;
}

@media screen and (max-width: 768px) {
  .sticky-header {
    display: none;
  }
}
/* 滚动菜单 End */

@media screen and (max-width: 768px) {
  header {
  min-height: 100px;
  }
  .nav-header{
    height: 100px;
  }
  header .wrapper {
    padding: 0 18px;
    width: 100%;
    background-color: #fff;
  }
  .header-main {
    padding: 14px 0 ;
  }
  .header-main .search-bar {
    display: none;
  }
 header .wrapper .iconfont{
  font-size: 22px;
 }
  header .header-left {
    order: 0;
  }
  .header-main .logo {
    flex: unset;
    order: 1;
    width: 100%;
    text-align: center;
  }
 
  .header-main .logo img {
    height: 28px;
  }
  .header-main .header-right {
    order: 2;
    flex: unset;
    width: 100%;
  }
 .header-right-minicart{
  padding: 0;
 }
  .cart-badge {
    right: -8px;
    width: 20px;
    height: 20px;
    line-height: 20px;
    font-size: 12px;
  }
  .header-nav {
    display: none;
  }
  .search-bar {
    align-items: center;
    padding: 8px 18px;
    width: 100%;
    height: 44px;
    background-color: var(--main-bg-color);
    border: none;
  }
  .search-bar .search {
    line-height: 100%;
    padding: 0 0 2px;
    order: 0;
    font-size: 14px;
    border-color: rgba(51, 51, 51, 0.6);
  }
  .search-bar i.iconfont {
    position: absolute;
    top: 8px;
    right: 19px;
    order: 1;
    color: var(--theme-color-font);
    font-size: 22px;
  }
 
}

@media screen and (min-width: 769px) {
  .mobile-nav {
    display: none;
  }
  .header-main .logo {
    min-width: 300px;
  }
  header .header-right {
    min-width: 184px;
  }
}

/* 币别 Start */
.dropdown-toggle .dropdown-menu{
  top: 87%;
  padding: 12px;
  z-index: 999;
  border: none;
  box-shadow: 0px 0px 6px 0px rgba(51, 51, 51, 0.18);
}
.currencies.dropdown span.dropdown-toggle>.state_icon{
  background: none !important;
  padding: 5px;
}
.currencies.dropdown span.dropdown-toggle .state_icon {
  color: var(--theme-color-font);
 
}
header .header_dropdown .dropdown-toggle i{
  transform: scale(0.7);
}
.currencies.dropdown{
  top: -7px;
}
@media screen and (min-width: 768px){
  .header_dropdown .dropdown-toggle {
      margin-right: 9px;
    }

} 


/* 币别 End */


/* 页头 End */



/* 页尾 Start */
footer {
  background-color: var(--main-bg-color-sub);
}

.footer-main.wrapper {
  display: flex;
  justify-content: space-between;
  padding: 40px 25px;
}

.footer-main .main-right {
  display: flex;
  flex-direction: column;
  flex: unset;
}
.footer-main .main-right>div {
  margin-bottom: 16px;
}
.footer-main .logo {
  height: 48px;
  object-fit: contain;
  object-position: left;
}


.social a {
  margin-right: 24px;
  font-size: 24px;
  color: #fff;}

.social a:last-child {
  margin-right: 0;
}

.footer-main .main-left {
  display: flex;
  flex: 1;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 32px;
}

.footer-menu .menu-title {
  margin-bottom: 22px;
  color: var(--main-bg-color);
  font-size: 16px;
  font-weight: bold;
}

.footer-menu .menu-title i {
  float: right;
  transform: scale(0.5);
  line-height: 20px;
  color: var(--main-bg-color);
}

.footer-menu .menu-item:not(:last-child) {
  margin-bottom: 14px;
}

.footer-menu .menu-item a {
  color: #fff;
  font-size: 16px;
  font-weight: 400;
}

.footer-menu .menu-item .animation-underline::before {
  background-color: #fff;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  margin: auto;
  padding: 24px 25px;
  max-width: var(--max-width);  
  color: #fff;
  font-size: 14px;
}

.footer-bottom p:not(:last-child) {
  margin-right: 40px;
}

.footer-bottom img {
  max-height: 24px;
  object-fit: contain;
}



.footer-info.rich-text * {
  color: #fff;
  font-size: 14px;
}

@media screen and (max-width: 768px) {
  .footer-main.wrapper {
    flex-direction: column;
    padding: 24px 18px 20px;
  }
  .footer-main .main-left {
    flex-direction: column;
    row-gap: unset;
    margin-right: unset;
  }
  .footer-main .main-right {
    order: -1;
    margin: 0;
    row-gap: unset;
    border-bottom: 1px solid var(--main-bg-color);
  }
  .social a{
    margin-right: 13px;
  }
  .footer-menu {
    margin-top: 0;
    border-bottom: 1px solid var(--main-bg-color);
  }
  .footer-menu .menu-title {
    margin-bottom: 0;
    padding: 16px 0;
  }
  .footer-menu .menu-list {
    display: none;
  }
  .footer-menu .menu-list .menu-item{
    margin: 0  0 14px 12px;
  }
  .footer-menu .menu-item a {
    font-size: 14px;
  }
  .footer-bottom {
    flex-direction: column-reverse;
    padding: 0 18px 18px;
    font-size: 13px;
  }
  .footer-bottom img{
    max-height: 20px;
    margin-bottom: 8px;
  }
  .footer-bottom img:not(:last-child){
    margin-right: 12px;
  }
  #mrshop-section-footer .footer-bottom>p{margin: 0 ;}
}

@media screen and (min-width: 769px) {
  .footer-menu .menu-title i {
    display: none;
  }
}
/* 页尾 End */