* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  outline: none;
  border: none;
}
 html,
 body,
 input,
 select,
 textarea,
 button {
  --section-title-align: center;
  color: var(--theme-font-color);
  font-size: var(--font-size-body);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
body {
  background-color: var(--page-bg-color);
}
select,
textarea,
input {
  background-color: transparent;
}
a {
  color: var(--highlight-font-color);
  text-decoration: none;
}
i{
  font-style: normal;
}
img {
  max-width: 100%;
  user-select: none;
}
/* 输入框样式 Start */
input[type=text],
input[type=email],
input[type=password],
input[type=tel],select {
  padding: 0 16px;
  height: var(--btn-height);
  font-weight: 400;
  background-color: var(--page-bg-color);
  border-radius: var(--theme-border-radius);
  transition: border-color .2s ease-out;
}

input[type=checkbox] {
  position: relative;
  margin-right: 8px;
  width: 16px;
  height: 16px;
  cursor: pointer;
}
.form-row input[type=checkbox]{
  -webkit-appearance: none;
  appearance: none; 
  -moz-appearance: none;
  background-color: var(--page-bg-color);
}
 input[type=checkbox]:checked::after {
   content: "✓";
   display: block;
   height: 100%;
   width: 100%;
   text-align: center;
   color: #fff;
   background-color: var(--highlight-font-color);
   font-size: 12px;
 }
input:focus {
  border:var(--theme-input-focus-border, 1px solid var(--main-color));
}

textarea {
  padding:8px 16px;
  border: 1px solid var(--theme-border-color);
  border-radius: var(--theme-border-radius);
}

input[type=number] {
  -moz-appearance: textfield;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
/* 输入框样式 End */
/* button Start */
button{
  background-color: transparent;
}
button,
.button {
  border-radius: var(--theme-border-radius);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.button {
  background-color: var(--btn-bg-color);
  position: relative;
  display: inline-block;
  height: var(--btn-height);
  line-height:var(--button-line-height, calc(var(--btn-height) - 2px));
  padding:var(--btn-padding,0 var(--btn-side-padding));
  border: var(--border-width) solid var(--btn-border-color);
  color: var(--btn-font-color);
  transition: var(--theme-transition);
  -webkit-transition: var(--theme-transition);
  -moz-transition: var(--theme-transition);
  -o-transition: var(--theme-transition);
}
/* button end */
/* 外层容器 限制宽度 */
.wrapper {
  position: relative;
  margin: auto;
  padding:var(--wrapper-side-padding) var(--side-padding);
  max-width: var(--max-width);
}
.section-wrapper{
  padding:var(--section-wrapper-padding, 0 var(--side-padding) var(--section-space));
}
.list-section-wrapper {
  padding: 0 var(--side-padding) var(--section-space-bottom);
}
/* 通用标题 Start */
.section-title {
  margin-bottom:var(--section-title-bottom);
  font-size: var(--section-title-size);
  line-height: var(--section-title-height);
  font-weight: var(--section-title-weight, 700);
  text-align: var(--section-title-align);
}

.section-sub-title {
  margin-bottom: var(--section-subtitle-bottom);
  font-size: var(--section-subtitle-size);
  line-height: var(--section-subtitle-height);
  text-align: var(--section-title-align);
  white-space: pre-wrap;
}

/* 通用标题 End */

/* 图片相关 Start */
.img-box {
  position: relative;
  display: block;
  padding-bottom: 100%;
  width: 100%;
  height: 0;
  font-size: 0;
  background: var(--img-background);
  background-size: var(--img-background-size);
  overflow: hidden;
  border-radius:var(--img-box-radius, 0) ;
  transition: var(--theme-transition);
}
.img-box.product-image{
  border-radius: 0;
}
.img-box img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--theme-transition);
  -webkit-transition: var(--theme-transition);
  -moz-transition: var(--theme-transition);
  -o-transition: var(--theme-transition);
}
@media screen and (min-width: 768px){
  .img-box:hover img{
    transform: var(--theme-img-transform);
    -webkit-transform: var(--theme-img-transform);
    -moz-transform:var(--theme-img-transform);
  }
}
/* 图片相关 End */



/* 文本行数限制1行 */
.line-limit--1 {
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  word-break: break-all;
}

/* 文本行数限制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;
  text-overflow: ellipsis;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.line-limit--4 {
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}
.color--red {
  color: #bc2848;
}

.text-align--center {
  text-align: center;
}

/* 移除隐藏 */
.overflow--hidden {
  overflow: hidden;
}
@media screen and (min-width: 768px) {
  .overflow--hidden, .overflow--hidden .nav-header {
    border-right: 17px solid transparent;
  }
}

/* product-card Start */
.product-list .product-image .hover-image,
.products-box .product-image .hover-image {
  opacity: 0;
}
@media screen and (min-width: 768px) {
  .product-list .product-image:hover .first-image,
  .products-box .product-image:hover .first-image {
    opacity: 0;
  }
  .product-list .product-image:hover .hover-image,
  .products-box .product-image:hover .hover-image {
    opacity: 1;
  }
  .product-list .product-image:hover>img,
  .products-box .product-image:hover>img {
    transform: var(--theme-img-transform);
    -webkit-transform: var(--theme-img-transform);
    -moz-transform: var(--theme-img-transform);
    -ms-transform: var(--theme-img-transform);
    -o-transform: var(--theme-img-transform);
  }
}
.product-list {
  display: flex;
  flex-wrap: wrap;
}
.product-list .product-item {
  width:var(--product-list-item-width, 33.33%);
  margin-bottom: var(--h-space);
  margin-right: var(--v-space);
  border: var(--product-item-border,var(--border-width) solid var(--theme-border-color));
  border-radius:var(--product-crad-radius, 0);
  overflow: hidden;
  margin-right: -1px;
  margin-bottom:-1px;
}
.product-list .product-info,
.products-box .product-info {
  display: flex;
  flex-direction: column;
  align-items: var(--product-info-align-items,center);
  padding: var(--product-info-padding,30px 34px 14px);
  background-color: var(--page-bg-color);
}
.product-list .product-name,
.products-box .product-name {
  display: block;
  margin-bottom: var(--product-name-bottom,10px);
  width: 100%;
  font-size: var(--product-name-font-size,20px);
  line-height: calc(var(--product-name-font-size) + 8px);
	font-weight: var(--product-name-font-weight, 700);
  text-align: var(--product-name-text-align,center);
  color: var(--theme-font-color);
}
.product-list .product-subtitle,
.products-box .product-subtitle {
 display: none;
}
.product-list .button{
  display: flex;
  flex-direction: row-reverse;
  --btn-height:49px;
}
.product-list .button.iconfont{
  font-size: 14px;
}
.product-list .button.iconfont::before {
  font-size: 12px;
  padding-left: 13px;
}
.product-tags{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-right: -10px;
  margin-bottom: 20px;
}
.product-tag{
  margin-right:10px;
  margin-bottom:10px;
  min-width: 136px;
  padding: 8px;
  background-color: var(--main-color-second);
  text-align: center;
  font-size: 14px;
  line-height: 24px;
  border-radius: 10px;

}
@media screen and (max-width: 1200px) {
  .product-tag{
    font-size: 12px;
    padding:4px 8px;
    min-width: 96px;
    margin-right: 8px;
  }
  .product-list{
    --product-name-font-size:16px;
    --product-info-padding: 20px 10px 10px;
  }
  .product-list .button {
    --btn-height: 40px;
    --btn-padding: 0 22px 0 42px;
  }
  .product-list .button.iconfont::before{
    padding-left: 6px;
  }
  .product-tags {
    margin-right: -8px;
    margin-bottom: 14px;
  }
  .product-list .product-name{
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
}
@media screen and (max-width: 767px) {
  .product-list {
  --product-list-item-width:100%;
  }
  .product-list .product-item{
    margin-right: 0;
  }  
}

/* product-card End */
/* 通用轮播按钮 Start */
.iconfont.prev-btn,
.iconfont.next-btn {
  position: absolute;
  top: var(--prev-next-btn-top, 50%);
  transform: translateY(-50%);
  z-index: 10;
  height: var(--arrow-btn-height);
  width: var(--arrow-btn-width);
  line-height: var(--arrow-btn-height);
  border-radius: 50%;
  text-align: center;
  font-size: var(--arrow-btn-size,20px);
  color: var(--arrow-btn-color);
  background-color: var(--arrow-btn-bg);
  border:var(--arrow-btn-border, none);
  cursor: pointer;
  box-sizing: content-box;
}

.prev-btn {
  left: var(--prev-btn-left);
}

.next-btn {
  right: var(--next-btn-right);
}

.swiper .swiper-button-disabled:not(.swiper-button-show),.swiper-pagination-lock {
  display: none;
}
.swiper-bullet-active {
  background-color: var(--swiper-bullet-active-color);
}
.swiper-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  --swiper-pagination-bottom: 0;
}

.swiper-button-disabled{
  display: none;
}
@media screen and (max-width: 767px) {
  .swiper.j-newswiper,.products-box {
    padding-bottom: calc(var(--swiper-pagination-bullet-height) + var(--pagination-bottom));
  }
}
/* 通用轮播按钮 End */
/* form Start */
.form {
  --form-row-column-gap: 20px;
  --form-size: 14px;
  --form-line-height: 17px;
  --form-label-size: 14px;
  --form-col-margin: 15px auto;
  --form-label-bottom: 10px;
}

@media screen and (max-width: 1200px) {
  .form {
    --form-row-column-gap: 10px;
    --form-col-margin: 10px auto;
  }
}

.form {
  margin: auto;
  overflow: hidden;
}

.form-row {
  display: flex;
  position: relative;
  column-gap: var(--form-row-column-gap);
  width: 100%;
  font-size: var(--form-size);
  line-height: var(--form-line-height);
}

.form-col {
  display: inline-flex;
  flex-direction: column;
  position: relative;
  margin: var(--form-col-margin);
  flex:1;
  font-size: var(--form-size);
}

.form-label {
  margin-bottom: var(--form-label-bottom);
  font-size: var(--form-label-size);
}

.required .form-label:before {
  content: "*";
  margin-right: 4px;
  color: #bc2848;
}

.form-row input {
  background-color: transparent;
  border: var(--border-width) solid var(--theme-border-color);
}

.form-row a {
  font-size: var(--form-size);
}

.form-col .error {
  display: none;
  margin-top: 8px;
  color: #bc2848;
  font-size: 12px;
  line-height: 1;
}

.form-col.invalid .error {
  display: block;
}

.form-col .to-view {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}

.form-row textarea {
  resize: vertical;
}


/* form End */
/* crumbs Start */
.crumbs {
  --crumbs-font-size: 14px;
  --crumbs-bottom: 20px;
  --crumbs-line-height:22px;
  --crumbs-separate-magin: 0 6px;
}

@media screen and (max-width: 767px) {
  .crumbs {
    --crumbs-font-size: 14px;
    --crumbs-line-height: 18px;
    --crumbs-bottom: 15px;
    --crumbs-separate-magin: 0 10px;
  }
}
.crumbs {
  display: flex;
  font-size: var(--crumbs-font-size);
  line-height: var(--crumbs-line-height);
  margin-bottom: var(--crumbs-bottom);
}

.crumbs a {
  color: var(--theme-font-color-sub);
}

.crumbs>*:not(:first-child)::before {
  content: "/";
  color: var(--theme-font-color);
  font-size: 12px;
  margin: var(--crumbs-separate-magin);
}

/* crumbs End */
/* 分页器 Start */
.pagination-list {
  margin: 30px auto 20px;
  --pagination-item-side-padding: 10px;
  --pagination-item-font-size: 16px;
  --pagination-item-font-color: var(--theme-font-color-sub);
  --pagination-item-current-color: var(--theme-font-color);
}

@media screen and (max-width: 1024px) {
  .pagination-list {
    --pagination-item-side-padding: 8px;
    --pagination-item-font-size: 14px;
  }
}
.pagination-list {
  display: flex;
  justify-content: center;
  align-items: center;
}
.pagination-item {
  display: inline-block;
  padding: 2px var(--pagination-item-side-padding) 0;
  text-align: center;
  color: var(--pagination-item-font-color);
  font-size: var(--pagination-item-font-size);
  cursor: pointer;
}

.pagination-item.pagination-button {
  padding: 0 var(--pagination-item-side-padding);
}

.pagination-button i {
  color:var(--pagination-button-iconfont-color, var(--main-color));
  font-size: 12px;
}

.pagination-button.disabled {
  opacity: 0.5;
  pointer-events: none;
}

.pagination-button.pagination-next {
  margin-right: 0;
}

.pagination-item.current {
  color: var(--pagination-item-current-color);
}
/* 分页器 End  */
/* 富文本 Start */
.rich-text{
    color: var(--theme-font-color);
}
.rich-text *{
  word-break: break-word;
}

.rich-text p {
  min-height: 16px;
}

.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 var(--theme-font-color);
}

.rich-text iframe {
	max-width: 100%;
  aspect-ratio: 1.5;
}

@media screen and (max-width: 767px) {
	.rich-text iframe {
		width: 100%;
		height: auto;
    aspect-ratio: 1;
	}
}
/* 富文本 End */

/* 404 Start */
.not-found {
  display: flex;
  justify-content: center;
  max-width: 500px;
}

.not-found .img-box {
  background: initial;
}
.wrapper.not-found img {
  object-fit: contain;
}
/* 404 End */

/* 动画效果 Start */
@media screen and (min-width: 1200px){
.animation-underline {
    --animation-color: var(--theme-font-color);
    background: linear-gradient(to right, var(--animation-color), var(--animation-color)) no-repeat right bottom;
    background-size: 0 1px;
    transition: background-size .5s;
  }

  .animation-underline:hover {
    background-position-x: left;
    background-size: 100% 1px;
  }
}
/* toast */
.sep-toast {
  position: fixed;
  z-index: 1060;
  background: #fff;
  color: #000;
  font-size: 28px;
  width: 50%;
  min-width: 600px;
  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: 1100px) {
  .sep-toast {
    font-size: 20px;
    min-width: 400px;
  }
}

@media (max-width: 767px) {
  .sep-toast {
    min-width: 200px;
    width: 80%;
    min-height: 25px;
    font-size: 18px;
    padding: 10px;
    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 */


