* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  outline: none;
  border: none;
}

:root {
  /* 主色 */
  /* --main-bg-color: #1c49c2; */
  /* 主色悬停 */
  /* --main-bg-color-hover: #1942ae;
  --theme-color-yellow: #ffc80c;
  --theme-color-orange: #ef6c00;
  --theme-color-star: #ffb400;
  --theme-color-font: #333; */
  /* 最大宽度 */
  /* --max-width: 1500px; */
  /* 圆角 */
  /* --theme-border-radius: 4px; */
}

html,
body {
  color: var(--theme-color-font);
  font-size: 16px;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

a {
  color: var(--theme-color-font-link);
  text-decoration: none;
}

img {
  max-width: 100%;
  user-select: none;
}

.iconfont {
  color: #fff;
}

/* 外层容器 限制宽度 */
.wrapper {
  position: relative;
  padding: 25px;
  margin: auto;
  max-width: var(--max-width);
}

@media screen and (max-width: 768px) {
  .wrapper {
    padding: 15px 12.5px;
  }
}

/* 图片相关 Start */
.img-box {
  position: relative;
  display: block;
  padding-bottom: 100%;
  width: 100%;
  height: 0;
  font-size: 0;
  background-color: #eee;
}

.img-box img {
  position: absolute;
  width: 100%;
  height: 100%;
}
/* 图片相关 End */

/* 下拉框样式 Start */
select {
  color: var(--theme-color-font);
  background-color: #fff;
}

.select-field {
  position: relative;
  margin-top: 6px;
  border: 1px solid #999;
  border-radius: var(--theme-border-radius);
}

.select-field label {
  position: absolute;
  top: -6px;
  left: 8px;
  padding: 0 2px;
  color: #666;
  font-size: 12px;
  line-height: 12px;
  background-color: #fff;
}

.select-field select {
  z-index: 10;
  padding: 10px 28px 10px 10px;
  width: 80px;
  color: #333;
  font-size: 14px;
  border-radius: var(--theme-border-radius);
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.select-field i {
  position: absolute;
  top: calc(50% - 7px);
  right: 14px;
  color: #999;
  font-size: 14px;
  pointer-events: none;
}
/* 下拉框样式 End */

/* 评价星星 Start */
.product-stars {
  display: inline-flex;
}

.product-stars li {
  margin-right: 4px;
}
/* 评价星星 End */

/* 公共功能 Start */
/* 文本行数限制1行 */
.line-limit--1 {
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

/* 文本行数限制2行 */
.line-limit--2 {
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* 文本行数限制3行 */
.line-limit--3 {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.color--red {
  color: #bc2848;
}

.text-align--center {
  text-align: center;
}

/* 移除隐藏 */

.overflow--hidden {
  overflow: hidden;
}
@media screen and (min-width: 769px) {
  .overflow--hidden, .overflow--hidden .nav-header {
    border-right: 17px solid transparent;
  }
  
}
/* 公共功能 End */

/* 富文本 Start */
.rich-text * {
  color: #000;
  word-break: break-word;
}

/* .rich-text a {
  color: #00c;
} */

.rich-text p {
  min-height: 25px;
}

.rich-text ul,
.rich-text ol {
  padding-left: 20px;
}

.rich-text ul li {
  list-style-type: disc;
}

.rich-text ol li {
  list-style-type: decimal;
}

.rich-text table,
.rich-text tr,
.rich-text td {
  border: 1px solid #000;
}
/* 富文本 End */

/* 社交媒体图标 Start */
/* .icon-instagram { color: #DF156E; }

.icon-youtube { color: #CF1D29; }

.icon-tiktok { color: #000; }

.icon-twitter { color: #2F93D1; }

.icon-facebook { color: #2E6DB6; }

.icon-pinterest { color: #C12228; }

.icon-reddit { color: #FF4500; }

.icon-discord { color: #738BD8; }

.icon-whatsapp { color: #59B65A; } */
/* 社交媒体图标 End */

/* 登录页/注册页/重置密码页 Start */
.login .form,
.register .form,
.resetpsw .form {
  max-width: 600px;
}

.forget-password {
  position: absolute;
  top: 0;
  right: 0;
  color: #666;
  font-size: 14px;
  line-height: 1;
}

.form-row button {
  height: 48px;
  font-size: 18px;
}

.remind {
  line-height: 1;
  text-align: center;
}

.checkbox-label {
  display: flex;
  align-items: center;
  width: fit-content;
  font-size: 14px;
  line-height: 1;
}

.login .form .button--primary,
.register .form .button--primary,
.resetpsw .form .button--primary {
  line-height: unset;
}
/* 登录页/注册页/重置密码页 End */

/* 订单追踪 Start */
.track-order .form {
  max-width: 600px;
}

.track-order .section-title {
  margin-top: 16px;
}
/* 订单追踪 End */

/* 支付结果页 Start */
.result-content {
  display: flex;
  justify-content: center;
  margin: 24px auto;
}

.result-left {
  margin-right: 20px;
  font-size: 0;
}

.result-title {
  display: flex;
  align-items: center;
  font-size: 30px;
  line-height: 50px;
  font-weight: bold;
}

.result-subtitle {
  font-size: 20px;
  line-height: 50px;
  font-weight: bold;
}
.result-details {
  font-size: 14px;
  line-height: 30px;
}

.result-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 16px;
}

.result-bottom a {
  flex: 1;
  padding: 0;
  width: 220px;
  font-weight: bold;
  line-height: 42px;
  white-space: nowrap;
  text-align: center;
  border-radius: var(--theme-border-radius);
}

.result-bottom a:first-child {
  margin-right: 20px;
}

@media screen and (max-width: 768px) {
  .result-content {
    flex-direction: column;
    align-items: center;
  }
  .result-title {
    justify-content: center;
    line-height: 70px;
  }
  .result-details .row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    line-height: 1.1;
  }
  .result-details .row .label {
    display: inline-block;
    flex: 1;
    text-align: right;
  }
  .result-details .row .value {
    width: 230px;
    text-align: right;
  }
  .result-bottom a {
    flex: unset;
    width: 100%;
  }
  .result-bottom a:first-child {
    margin-right: 0;
    margin-bottom: 12px;
  }
  .result-subtitle {
    line-height: 1;
    text-align: center;
    margin-bottom: 20px;
  }
}
/* 支付结果页 End */

/* 留言页 Start */
.contact-us .form {
  max-width: 600px;
}

.media-box {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.media-input {
  position: relative;
  width: 104px;
  aspect-ratio: 1;
}

.media-input #upload {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  height: 100%;
  width: 100%;
  opacity: 0;
  cursor: pointer;
}

.media-input .upload-button {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  width: 100%;
  color: var(--theme-color-font);
  border: 1px solid #999;
  cursor: pointer;
}

.message-row {
  margin-bottom: 30px;
}

.valid-row .pic-row {
  margin-top: 12px;
}

.pic-row .changepic {
  color: var(--main-bg-color);
  cursor: pointer;
}

.button-message-submit {
  line-height: unset;
}
/* 留言页 End */

/* 404 Start */
.wrapper.not-found {
  display: flex;
  justify-content: center;
}

.wrapper.not-found .img-box {
  padding-bottom: 450px;
  max-width: 500px;
  background-color: transparent;
}

.wrapper.not-found img {
  object-fit: contain;
}
/* 404 End */

/* toast */
.sep-toast {
  position: fixed;
  z-index: 1060;
  background: #fff;
  color: #000;
  font-size: 16px;
  width: 45rem;
  min-height: 70px;
  line-height: 1.5;
  padding: 0.9375rem;
  border-radius: 4px;
  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.2);
  text-align: center;
  top: 50%;
  left: 50%;
  transform: scale(0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 767.98px) {
  .sep-toast {
    width: 16.375rem;
    min-height: 2.5625rem;
    font-size: 0.875rem;
    padding: 0.625rem 0.75rem;
    box-shadow: 0 2px 6px 2px rgba(0, 0, 0, 0.15);
  }

  .auto-prod .auto-prod-box {
    display: none;
    flex-direction: column;
  }

  .auto-prod-item .auto-prod-item-inner {
    display: flex;
    align-items: center;
  }

  .auto-prod-item .auto-prod-img img {
    width: 12.5rem;
    height: 12.5rem;
    object-fit: contain;
  }
}

.sep-toast.error {
  color: #b60400;
}

.sep-toast.show {
  transform: scale(1);
}

.sep-toast.isShowing {
  transition: transform 0.3s ease-out;
}

.sep-toast.isLeave {
  transform: scale(0.5);
  opacity: 0;
  transition: all 0.3s ease-out;
}

/* toast end */

.sep-loading {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1060;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, .8);
}

.sep-loading__content {
  position: relative;
  font-size: 10px;
  border-top: 0.16em solid #f0f0f0;
  border-right: 0.16em solid #f0f0f0;
  border-bottom: 0.16em solid #f0f0f0;
  border-left: 0.16em solid #c4c4c4;
  transform: translateZ(0);
  -webkit-animation: load 1.1s infinite linear;
  animation: load 1.1s infinite linear;
}

.sep-loading__content,
.sep-loading__content::after {
  width: 3em;
  height: 3em;
  border-radius: 50%;
}

/* 弹窗 Start */
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, .5);
  cursor: pointer;
}

.popup-wrapper {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  max-width: 900px;
  overflow: hidden;
  background-color: #fff;
  border-radius: var(--theme-border-radius);
  transform: translate(-50%, -50%);
  cursor: default;
}

.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 24px;
  background-color: #f6f6f6;
  border-bottom: 1px solid var(--theme-border-color);
}

.popup-title {
  font-size: 18px;
  font-weight: bold;
}

.popup-close {
  color: var(--theme-color-font);
  cursor: pointer;
}

.popup-content {
  padding: 24px;
  height: 500px;
  overflow-y: auto;
}

@media screen and (max-width: 768px) {
  .popup-wrapper {
    width: calc(100% - 25px);
  }
}
/* 弹窗 End */

/* 动画效果 Start */
.animation-underline {
  position: relative;
  text-decoration: none;
}

.animation-underline::before {
  position: absolute;
  left: 0;
  bottom: 0px;
  z-index: 10;
  content: "";
  width: 0;
  height: 1px;
  background-color: var(--theme-color-font);
  transition: width .3s ease;
}

.animation-underline:hover::before {
  width: 100%;
}
/* 动画效果 End */

/* 网站币别 Start */
.currencies.dropdown {
  position: relative;
  height: 100%;
  padding: 0px 0px;
  margin: 0px 0px;
}

.currencies.dropdown span {
  display: inline-flex;
  text-align: left;
  height: 100%;
  align-items: center;
  cursor: pointer;
}

.dropdown-menu span {
  width: 100%;
}

.currencies.dropdown span.dropdown-toggle .state_icon {
  max-width: 150px;
  display: inline-block;
  background-repeat: no-repeat;
  background-position: 5px center;
  background-size: auto 14px;
  padding: 5px 4px 5px 30px;
  letter-spacing: 1px;
  font-size: 16px;
  text-transform: uppercase;
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  height: auto;
}

header .header_dropdown .dropdown-toggle i {
  font-size: 12px;
}

.dropdown-menu {
  max-height: 300px;
  overflow-y: auto;
  display: none;
  position: absolute;
  background-color: #fff;
  z-index: 9999;
  position: absolute;
  top: 80%;
  left: 0;
  max-width: 200px;
  padding: 5px 0;
  margin: 2px 0 0;
  font-size: 14px;
  text-align: left;
  list-style: none;
  background-color: #fff;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, .15);
  border-radius: var(--theme-border-radius);
  -webkit-box-shadow: 0 6px 12px rgb(0 0 0 / 18%);
  box-shadow: 0 6px 12px rgb(0 0 0 / 18%);

}

.header_dropdown .dropdown-toggle .dropdown-menu li span.state_icon {
  display: block;
  width: 100%;
  color: #262626;
  text-decoration: none;
}

.dropdown-menu li span:hover {
  background-color: rgb(215, 215, 215);
  color: #fff;
}

.dropdown-menu li span span {
  max-width: 200px;
  display: inline-block;
  background-repeat: no-repeat;
  background-position: 5px center;
  background-size: auto 14px;
  padding: 5px 10px 5px 30px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

@media screen and (max-width: 768px) {
  .currencies.header_dropdown_phone {
    height: auto;
  }

  .currencies.dropdown span.dropdown-toggle .state_icon {
    color: #000d41;
  }

  .currencies.dropdown .caret {
    border-top: 4px dashed #000d41;
  }

  .header-main .currencies.dropdown {
    display: none;
  }

  .mobile-nav .currencies.dropdown {
    margin-bottom: 20px;
  }

  .currencies.dropdown span.dropdown-toggle .state_icon {
    color: #fff;
  }
}

@media screen and (min-width: 768px) {
  .header_dropdown .dropdown-toggle {
    margin-right: 32px;
  }
  .currencies.dropdown {
    max-width: 200px;
  }
}
/* 网站币别 End */
