/* 主题样式表 */
:root{
  --img-background: var(--bg-img-url) no-repeat center;
  --img-background-size:60%;
  --page-bg-color: #fff;
  --m-section-space:30px;
  /* wrapper上下间距 */
  --wrapper-side-padding: 30px;
    /*wrapper左右间距 */
  --side-padding: 20px;
  /* highlight  */
  --highlight-bg-color: var(--main-color);
  --highlight-font-color: var(--main-color);
  --nav-bg-color:#fff;
  --btn-height: 40px;
  /* swiper navigation */
  --arrow-btn-height: 36px;
  --arrow-btn-width: 36px;
  --arrow-btn-color: var(--main-color);
  --arrow-btn-bg: #fff;
  /*swiper pagination */
  --swiper-bullet-inactive-color: #ccc;
  --swiper-bullet-inactive-opacity: 1;
  --swiper-bullet-active-color: var(--main-color);
  --swiper-bullet-active-opacity:1;
  --font-size-first: 30px;
  --font-size-second: 20px;
  --font-size-body: 16px;
  --font-size-sub: 14px;
  --theme-transition: all .3s ease;
  --theme-img-transform: scale(1.05);
}
 html,
 body,
 input,
 select,
 textarea,
 button {
   --section-title-size: var(--font-size-first);
   --section-title-height: calc(var(--font-size-first) + 8px);
   --section-title-bottom: 20px;
   /* 组件标题 */
   --section-title-text-align: center;
   --section-subtitle-size: var(--font-size-second);
   --section-subtitle-height: calc(var(--font-size-second) + 8px);
   --section-subtitle-bottom: 20px;
   font-family:Helvetica , sans-serif;
 }
 header {
   --header-icon-gap-half: 25px;
   --nav-column-gap-half: 41.5px;
   --theme-nav-font-size: 16px;
   --theme-nav-line-height:40px;
 }
@media screen and (max-width: 1200px) {
  :root {
    --wrapper-side-padding: 15px;
    --side-padding: 10px;
    --btn-height: 34px;
    --font-size-first: 16px;
    --font-size-second: 15px;
    --font-size-body: 14px;
    --font-size-sub: 12px;
  }
  html,
  body,
  input,
  select,
  textarea,
  button {
    --section-title-bottom: 10px;
    --section-subtitle-bottom: 10px;
  }
  header {
    --header-icon-gap-half: 15px;
    --theme-nav-font-size: 14px;
    --theme-nav-line-height: calc(var(--theme-nav-font-size) + 8px);
  }
}
/* 商品列表组件样式 Start */
.product-stars {
  --product-star-right: 4px;
  --product-star-size: 14px;
}
/* 商品卡片组件 Start */

.product-card,.products-box,.flash-sale-card{
  --product-info-padding: 14px 14px 17px;
  --product-info-align-items: flex-start;
  /* title */
  --product-name-bottom: 12px;
  --product-name-font-size: 16px;
  --product-name-text-align: left;
  /* subtitle */
  --product-subtitle-bottom: 10px;
  --product-subtitle-font-size: 14px;
  --product-subtitle-text-align: left;
  --product-stars-bottom: 12px;
  --product-price-color: var(--main-color-red);
  --product-price-right: 12px;
  --product-price-font-size: 18px;
  --product-del-price-size: 16px;
  --theme-border-color:#f0f0f0;
}
.product-card .product-image,
.products-box .product-image,.flash-sale-image{
  --img-box-padding-bottom:calc(100% - 18px);
  border: 9px solid var(--theme-border-color);
}
.product-card .line-limit--3,
.products-box .line-limit--3{
  -webkit-line-clamp: 2;
}
@media screen and (max-width: 1200px) {
 
  .product-stars{
    --product-star-size: 12px;
  }
  .product-card .product-image,
  .products-box .product-image {
    border-width: 6px;
  }
  .product-card ,
  .products-box,.flash-sale-card{
    --product-info-padding: 10px;
    /* title */
    --product-name-bottom: 5px;
    --product-name-font-size: 14px;
    /* subtitle */
    --product-subtitle-bottom: 5px;
    --product-subtitle-font-size: 14px;
    --product-stars-bottom: 10px;
    --product-price-right: 9px;
    --product-price-font-size: 16px;
    --product-del-price-size: 14px;
    --product-subtitle-line-clamp:1;
  }

}

@media screen and (max-width: 767px){

 .flash-sale-image {
   border-width: 0;
 }
}
/* 商品卡片组件 End */

/* 按钮样式 Start */
.button--default {
  --btn-side-padding: 32px;
  --btn-border-color:var(--main-color);
  --btn-font-color:var(--main-color);
  --btn-bg-color: var(--page-bg-color);
}

.button--primary {
  --btn-side-padding: 32px;
  --btn-border-color: var(--highlight-bg-color);
  --btn-bg-color: var(--highlight-bg-color);
  --btn-font-color: #fff;
}
@media screen and (min-width: 768px){
  .button--primary:hover {
    --btn-bg-color: transparent !important;
    --btn-font-color: var(--highlight-font-color)!important;
  }
  .button.button--default:hover {
    color:var(--button--default-hover-color, #fff)  !important;
    background-color:var(--button--default-hover-bgcolor, var(--main-color) )!important;
    border-color:var(--button--default-hover-bordercolor, var(--main-color)) !important;
  }
}
@media screen and (max-width: 1200px){
  .button--default,.button--primary{
    --btn-side-padding:32px;
  }
}
/* 按钮样式 End */

/* swiper Start */
.swiper {
  --prev-btn-left: 10px;
  --next-btn-right: 10px;
  --swiper-pagination-bullet-horizontal-gap: 6.5px;
  --swiper-pagination-bullet-height: 10px;
  --swiper-pagination-bullet-width: 10px;
  --swiper-pagination-bullet-inactive-color: var(--swiper-bullet-inactive-color);
  --swiper-pagination-bullet-inactive-opacity: var(--swiper-bullet-inactive-opacity);
  --slide-pagination-bottom: 0;
  --swiper-pagination-color: var(--main-color);
  --pagination-bottom: 30px;
}
@media screen and (max-width: 767px) {
  .swiper {
    --swiper-pagination-bullet-height: 6px;
    --swiper-pagination-bullet-width: 6px;
    --swiper-pagination-bullet-horizontal-gap: 4px;
    --swiper-pagination-bullet-inactive-color: var(--swiper-bullet-inactive-color);
    --swiper-pagination-bullet-inactive-opacity: var(--swiper-bullet-inactive-opacity);
    --pagination-bottom:16px;
  }
}
/* swiper End */
/* 币别 */
.currencies {
  padding-left: var(--header-icon-gap-half);
}

.crumbs{
  --crumbs-font-size:16px;
}
.crumbs a{
  --theme-font-color-sub:var(--theme-font-color);
}
@media screen and (min-width: 768px){
  .crumbs a {
      text-decoration: underline;
    }
}
@media screen and (max-width: 767px) {
  .currencies {
    padding-left: 0;
  }
  .crumbs{
  --crumbs-separate-magin: 4px;
  --crumbs-font-size: 12px;
  }
}
/* pagination */
.pagination-list{
  --pagination-item-font-color:var(--main-color);
  --pagination-item-current-color: var(--main-color);
  --pagination-item-padding:0;
}
.pagination-item.current{
  border: 1px solid var(--main-color);
  border-radius:50% ;
}
.pagination-item{
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  margin: 0 5px;
}
input::placeholder,
textarea::placeholder{
  color: #999;
  font-size: 14px;
}
