/* 网站logo（页头页尾） */
.logo {
  font-size: 0;
  text-align: left;
}

.logo img {
  height: 48px;
  object-fit: contain;
}

/* 页头 Start */
header {
  background-color: var(--main-bg-color) ;
}

header .wrapper {
  padding: 0 25px;
}

.header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
}

header .header-left {
  width: 100%;
  max-width: 766px;
}

.search-bar {
  display: flex;
  align-items: center;
  padding: 0 16px;
  width: 100%;
  height: 40px;
  background-color: #fff;
}

.search-bar .search {
  flex: 1;
  padding: 0;
  color: var(--theme-color-font-secondary);
  font-size: 14px;
  height: 100%;
  line-height: 40px;
  background: transparent;
  border: none;
}

header .header-left .search-bar i,
header .sticky-header .search-bar i {
  color: var(--theme-color-font-secondary);
}

.header-main .logo {
  flex: 1;
}

header .header-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  flex: 1;
}

header .header-right a.iconfont {
  display: block;
  /* font-size: 0; */
  line-height: 40px;
}

.header-cart {
  position: relative;
  margin-right: 32px;
}

.cart-badge {
  position: absolute;
  top: 6px;
  left: -8px;
  /* display: none; */
  width: 16px;
  height: 16px;
  color: var(--main-bg-color);
  font-size: 12px;
  line-height: 16px;
  text-align: center;
  background-color: #fff;
  border-radius: 50%;
}

.header-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  column-gap: var(--theme-nav-column-gap);
}

.header-nav .nav-item {
  position: relative;
  padding-bottom: 24px;
  line-height: 1;
  font-weight: normal;
}

.header-nav .nav-item.has-children::after {
  display: none;
  position: absolute;
  bottom: 0;
  left: calc(50% - 8px);
  width: 0;
  height: 0;
  content: "";
  color: #000;
  border-top: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #fff;
  border-left: 8px solid transparent;
}

.header-nav .nav-item.has-children:hover::after {
  display: block;
}

.wrapper .header-nav .nav-item i {
  padding-left: 4px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  vertical-align: middle;
}

.header-nav .nav-item .nav-link {
  color: var(--theme-nav-color);
  font-size: var(--theme-nav-font-size);
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
}

.nav-link.animation-underline::before {
  background-color: #fff;
}

.header-nav .nav-item:hover .header-dropdown {
  display: flex;
}

.header-dropdown {
  display: none;
  position: fixed;
  top: 136px;
  z-index: 12;
  /* max-height: 50vh; */
  /* overflow-y: auto; */
  background-color: #fff;
}

.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 {
  flex-direction: row;
  flex-wrap: wrap;
  padding: 16px;
  /* width: fit-content; */
  max-height: 52vh;
  background-color: #fff;
  column-count: 2;
  writing-mode: vertical-lr;
  -webkit-writing-mode: vertical-lr;
  -ms-writing-mode: vertical-lr;
  -moz-writing-mode: vertical-lr;
  -o-writing-mode: vertical-lr;
}

.header-dropdown.vertical .dropdown-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  max-height: 50vh;
  background-color: #fff;
}

.header-dropdown.vertical section:hover>a {
  color: var(--main-bg-color);
}

.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);
  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: 10px 16px;
  line-height: 1;
  writing-mode: horizontal-tb;
  -webkit-writing-mode: horizontal-tb;
  -ms-writing-mode: horizontal-tb;
  -moz-writing-mode: horizontal-tb;
  -o-writing-mode: horizontal-tb;
}

.header-dropdown.vertical section .second-link {
  font-size: 14px;
}

.header-dropdown section .second-link {
  color: #000;
  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 {
  color: var(--main-bg-color);
}

.third-link.animation-underline::before {
  height: 1px;
  bottom: 4px;
}

header .wrapper .iconfont {
  color: var(--theme-nav-color);
  font-size: 24px;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 60px;
  left: -100vw;
  z-index: 512;
  padding: 0 12.5px 200px;
  width: 100vw;
  height: calc(100vh - 60px);
  overflow: hidden auto;
  background-color: var(--main-bg-color);
  transition: all .1s ease;
  -webkit-transition: all .1s ease;
  -moz-transition: all .1s ease;
  -o-transition: all .1s ease;
}

.mobile-nav .remind {
  text-align: left;
}

.mobile-nav .remind a {
  color: var(--theme-nav-color);
  font-size: 16px;
}

.mobile-nav .side-menu {
  margin-bottom: 20px;
}

.side-menu li {
  padding: 20px 0;
  border-bottom: 1px solid #fff;
}

.side-menu .menu-item {
  color: var(--theme-nav-color);
  font-size: 18px;
}

.menu-item i {
  float: right;
  font-size: 20px;
  line-height: 29px;
}

.side-menu .menu-header {
  padding: 20px 0;
  text-align: center;
  color: var(--theme-nav-color);
  font-size: 20px;
  border-bottom: 1px solid #fff;
}

.side-menu .menu-header i {
  float: left;
  font-size: 24px;
  line-height: 33px;
}

.secondary-menu,
.third-menu {
  display: none;
  position: fixed;
  left: -100vw;
  top: 60px;
  padding: 0 12.5px 160px;
  height: calc(100vh - 60px);
  width: 100vw;
  overflow: hidden auto;
  background-color: var(--main-bg-color);
  transition: all .1s ease;
  -webkit-transition: all .1s ease;
  -moz-transition: all .1s ease;
  -o-transition: all .1s ease;
}

.secondary-menu {
  z-index: 15;
}

.third-menu {
  z-index: 20;
}

/* 公告栏 Start */
.announcement-wrapper {
  display: block;
  margin: auto;
  width: 100%;
  max-width: var(--max-width);
  text-align: center;
}

@media screen and (max-width: 768px) {
  .announcement {
    margin-top: 8px;
  }
}
/* 公告栏 End */

/* 滚动菜单 Start */
.sticky-header {
  /* display: none; */
  position: fixed;
  top: -100px;
  left: 0;
  z-index: 256;
  width: 100vw;
  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;
  align-items: center;
  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;
}

.sticky-nav .nav-left .first-link i {
  float: right;
  color: var(--theme-color-font);
  font-size: 20px;
}

.nav-left .first-link.current {
  color: var(--main-bg-color);
  font-weight: bold;
  background-color: #fafafa;
  border-right: 2px solid var(--main-bg-color);
}

.nav-left .first-link.current i {
  color: inherit;
}

.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;
}

.sticky-header .cart-badge {
  top: -4px;
}

@media screen and (max-width: 768px) {
  .sticky-header {
    display: none;
  }
}
/* 滚动菜单 End */

/* minicart Start */
.header-right-minicart {
  font-size: 0;
}
.header-right-account {
  height: 24px;
}
.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:last-child {
  margin-bottom: 0;
}

.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);
  font-size: 14px;
}

.minicart-item-name {
  color: var(--theme-color-font);
}

.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: 128;
  padding: 16px;
  box-sizing: border-box;
  background: #fff;
  box-shadow: 0px 0px 6px 0px rgba(51, 51, 51, 0.18);
}

.header-main .header-right .header-account-info a {
  display: inline-block;
  font-size: 16px;
  line-height: 1.5;
}

.header-main .header-right .header-account-info .header-login-btn {
  line-height: 1;
}

.header-minicart-info{
  min-width: 368px;
  padding: 24px;
}

.header-minicart-subtotal .button--primary {
  width: 100%;
  color: #fff;
  font-size: 16px;
  text-align: center;
}

.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: inline-flex;
  flex-direction: column;
}
.header-info-list a{
  margin-bottom: 16px;
  color: #333;
  font-size: 14px;
}

.header-info-list a:hover {
  color: var(--main-bg-color);
}

.header-info-list a:hover::before {
  background-color: var(--main-bg-color);
}

.header-sign-out{
  padding-top: 16px;
  font-size: 14px;
  border-top: 1px solid var(--theme-sub-color);

}
.sign-out-btn{
  color: var(--main-bg-color);
}

.sign-out-btn.animation-underline::before {
  background-color: var(--theme-color-font-link);
}

.header-main .header-right .header-right-account .header-account {
  line-height: 1;
}

.minicart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.minicart-header .minicart-subtotal {
  font-size: 16px;
}

.header-minicart-subtotal .minicart-header a {
  font-size: 16px;
}

.cartEmpty-link-wrapper {
  max-width: 368px;
  font-size: 14px;
}

.show-now-link {
  margin-top: 16px;
  font-size: 14px;
}

@media screen and (max-width: 768px) {
  .header-right-account {
    height: 32px;
  }
}
/* minicart End */

@media screen and (max-width: 768px) {
  header {
    padding-top: 110px;
  }
  header .wrapper {
    position: fixed;
    top: 0;
    z-index: 256;
    padding: 0 12.5px 8px;
    width: 100%;
    background-color: var(--main-bg-color);
  }
  .header-main {
    padding: 18px 0 12px;
  }
  .header-main .search-bar {
    display: none;
  }
  header .wrapper .header-main .iconfont {
    font-size: 32px;
  }
  header .header-right a.iconfont {
    line-height: 1;
  }
  header .wrapper .header-main .header-left i {
    font-size: 24px;
  }
  header .wrapper .header-main .header-left .icon-hanbaoguanbi {
    font-size: 20px;
  }
  header .wrapper .header-main .header-left .icon-hanbaotubiao2 {
    font-size: 24px;
    line-height: 32px;
  }
  header .header-left {
    flex: 1;
    order: 0;
  }
  .header-main .logo {
    flex: 2;
    order: 1;
    text-align: center;
  }
  .header-main .logo img {
    height: 32px;
  }
  .header-main .header-right {
    order: 2;
    flex: 1;
    width: 100%;
  }
  .header-cart {
    margin-right: 16px;
  }
  .cart-badge {
    top: -2px;
    left: -8px;
    width: 20px;
    height: 20px;
    font-size: 14px;
    line-height: 20px;
  }
  .header-nav {
    display: none;
  }
  .search-bar {
    align-items: center;
    padding: 0 12px;
    margin: 0;
    width: 100%;
    height: 40px;
    background-color: #fff;
    border-radius: var(--theme-border-radius);
    border: none;
  }
  .search-bar .search {
    order: 0;
    padding: 0;
    margin-right: 12px;
    height: 40px;
    color: var(--main-bg-color);
    font-size: 16px;
  }
  .search-bar i.iconfont {
    order: 1;
    color: var(--main-bg-color);
    font-size: 24px;
  }
  .footer-info {
    margin-top: 0;
    margin-bottom: 16px;
  }
}

@media screen and (min-width: 769px) {
  .mobile-nav {
    display: none;
  }
  .header-main .logo {
    padding-right: 16px;
    min-width: 300px;
  }
}
/* 页头 End */

/* 页尾 Start */
footer {
  background-color: var(--main-bg-color);
}

.footer-main.wrapper {
  display: flex;
  padding: 40px 25px;
}

.footer-main .main-left,
.footer-bottom .footer-contact {
  display: flex;
  flex-direction: column;
  margin-right: 80px;
  width: 300px;
}

.footer-main .logo {
  height: 48px;
  object-fit: contain;
  object-position: left;
}

.social {
  margin-top: 16px;
  white-space: normal;
}

.social a {
  margin-right: 24px;
  font-size: 24px;
}

.social a:last-child {
  margin-right: 0;
}

.footer-main .main-right {
  display: flex;
  flex: 1;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 32px;
}

/* .footer-menu {
  margin-right: 256px;
} */

.footer-menu .menu-title {
  margin-bottom: 8px;
  color: var(--theme-nav-color);
  font-size: 16px;
  font-weight: bold;
}

.footer-menu .menu-title i {
  float: right;
  font-size: 16px;
  line-height: 20px;
}

.footer-menu .menu-item a {
  color: var(--theme-nav-color);
  font-size: 14px;
}

.footer-menu .menu-item .animation-underline::before {
  background-color: #fff;
}

.footer-bottom {
  display: flex;
  margin: auto;
  padding: 24px 25px;
  max-width: var(--max-width);  
  color: var(--theme-nav-color);
  font-size: 14px;
}

/* .footer-bottom p {
  margin-right: 40px;
} */

.footer-bottom img {
  max-height: 40px;
  object-fit: contain;
}

.footer-info {
  margin-top: 24px;
}

.footer-info.rich-text * {
  color: #fff;
  font-size: 14px;
}

.footer-infomation {
  flex: 1;
}

@media screen and (max-width: 768px) {
  .footer-main.wrapper {
    flex-direction: column;
    padding: 20px 12.5px;
  }
  .footer-main .main-left {
    margin-right: unset;
    width: 100%;
    border: none;
  }
  .footer-main .main-right {
    flex-direction: column;
    row-gap: unset;
    border-top: 1px solid #fff;
  }
  .social {
    margin: 16px 0;
  }
  .footer-menu {
    margin-top: 0;
    border-bottom: 1px solid #fff;
  }
  .footer-menu .menu-title {
    margin-bottom: 0;
    padding: 20px 0;
    font-size: 18px;
  }
  .footer-menu .menu-list {
    display: none;
  }
  .footer-menu .menu-item {
    margin-bottom: 20px;
  }
  .footer-menu .menu-item a {
    font-size: 16px;
  }
  .footer-bottom {
    padding: 0 12.5px 18px;
    font-size: 14px;
  }
  .footer-bottom p {
    margin-right: 0;
  }
}

@media screen and (min-width: 769px) {
  .footer-menu .menu-title i {
    display: none;
  }
  .footer-menu .menu-item a {
    display: inline-block;
    margin: 4px 0;
    line-height: 1.5;
  }
  .footer-bottom {
    border-top: 1px solid #fff;
  }
}
/* 页尾 End */