/* 商品详情页样式表 */

/* 组合销售 Start*/
  .bs-price{
    display: flex;
  }
 .bs-price .text-truncate{
  font-family: sans-serif;
 }
 .bs-checkbox .bs-checkbox__control,input.bs-checkbox__native,.bs-checkbox__control:after{
  border-radius: 0;
 }
 .bs-variants-button .handle-bs-variant-click.bs-variant__selected{
  background-color:transparent;
 }
 .product-bindsale.max-container{
  margin: 48px 0 0;
 }
 .bs-prod-sku .bs-sku-label{
  border-color: var(--theme-border-color);
 }
 .bs-prod-sku .icon-down{
  color: var(--theme-font-color);
 }
 .field__caret{
  transform: scale(0.8);
 }
/* 组合销售 End*/
/* 尺码表 按钮 Start */
 .size-table-btn {
  color: inherit;
  font: inherit;
  margin: 0;
  outline: none;
  border: none;
  background: none;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  text-transform: none;
  display: flex;
  align-items: center;
}

.size-guide .size-table-btn {
  font-size: 14px;
  line-height: 24px;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  color: var(--theme-font-color);
}


/* 尺码弹窗 */
.size-table-content {
  box-sizing: inherit;
}

.size-table-content ul {
  padding-left: 3.2rem;
}

.size-table-content ul li {
  list-style-type: disc;
}

.size-table__body {
  overflow: auto;
  max-height: 440px;
  padding: 5px 24px 30px;
  color: #606266;
  font-size: 14px;
  word-break: break-all;
  box-sizing: inherit;
  min-height: 35vh;
}

.size-table-dialog .icon-close {
  font-style: normal;
  font-weight: 400;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  vertical-align: baseline;
  display: inline-block;
  -webkit-font-smoothing: antialiased;
  color: #909399;
}

.size-table-dialog__headerbtn {
  position: absolute;
  top: 16px;
  right: 20px;
  padding: 0;
  color: var(--theme-font-color);
  font-size: 20px;
  background: 0 0;
  border: none;
  outline: 0;
  cursor: pointer;
  font-size: 16px;
  box-sizing: border-box;
}

.size-table-dialog__title {
  font-size: 20px;
  line-height: 24px;
  color: var(--theme-font-color);
  box-sizing: inherit;
}

.size-table__header {
  padding: 12px 24px;
  box-sizing: inherit;
  font-size: 20px;
}

.size-table-dialog-wrapper {
  /* display: none; */
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: auto;
  margin: 0;
  z-index: 9999;
  box-sizing: border-box;
  background-color: rgba(0, 0, 0, .6);
}

.size-table-dialog {
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  position: absolute;
  border-radius: var(--theme-border-radius);
  border: 1px solid #fff;
  /* max-height: 554px; */
  overflow: hidden;
  background-color: #fff;
  margin-top: 0px;
  /* width: 50%; */
  min-width: 50%;
  max-width: 70%;
  min-height: 40vh;
  max-height: 75vh;
  margin: 0 auto;
  box-sizing: border-box;
}

@media screen and (max-width: 767px) {
  .size-table-dialog {
    bottom: 0;
    top: auto;
    left: 0;
    right: 0;
    transform: none;
    width: 100%;
    max-height: calc(100% - 33vh);
    max-width: none;
    min-height: unset;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }

  .size-table__body {
    padding: 0;
    min-height: unset;
  }
}

@media screen and (min-width: 768px) {
  .size-table__body {
    max-height: 70vh;
  }
}

@media screen and (max-width: 375px) {
  .size-table__body {
    max-height: 370px;
  }
}
/* 尺码表 按钮 End */
.pd-crumbs-wrapper .crumbs{
  margin-bottom: 0;
}
.crumbs a:last-child{
  color:var(--theme-font-color)
}
.pd-crumbs-wrapper{
  padding-bottom: 16px;
}
:root{
  --detail-tab-size: 20px;
  --detail-tab-height: 28px;
  --detail-tab-bottom: 12px;
  --detail-tab-right: 40px;
}
.product-details{
  padding-bottom: 18px;
}
.product-main {
  display: flex;
  --detail-section-space: var(--section-space);
  --detail-info-space: 16px;
  --detail-product-name-size: 36px;
  --detail-product-subtitle-size: 16px;
  --product-star-size: 14px;
  --detail-product-star-right: 4px;
  --detail-product-reviews-left: calc(10px - var(--detail-product-star-right) );
  --detail-product-price-size: 20px;
  --detail-product-del-price-size: 14px;
  --detail-product-attr-label-size: 14px;
  --detail-product-attr-label-height: 16px;
  --detail-product-attr-label-bottom: 8px;
  --detail-product-attr-bottom: 24px;
  --detail-product-attr-select-height: 40px;
  --detail-product-attr-v-space: 16px;
  --detail-product-attr-h-space: 16px;
  --detail-product-attr-min-width:105px;
  --detail-product-qty-height: 48px;
  --detail-product-qty-bottom: 16px;
  --detail-product-add-height: 48px;
  --detail-product-add-size: 14px;
  --detail-product-add-right: 16px;
  --detail-paypal-bottom: 24px;
  --detail-share-box-bottom: 20px;
}
.review-images>*,
/* .review-detail-image .swiper-slide, */
/* .review-detail-photo, */
#reviewPhotos .swiper-slide,
#productThumbs .swiper-slide,
.product-images .swiper-slide,
.bottom-actions-wrapper .product-image{
  background: var(--img-background);
  background-size: var(--img-background-size);
}
@media screen and (max-width: 1200px) {
  :root {
      --detail-tab-size: 16px;
      --detail-tab-height: 20px;
      --detail-tab-bottom: 10px;
      --detail-tab-right: 20px;
    }
  .product-main{
    margin-bottom: 30px;
    --detail-info-space: 24px;
    --detail-product-name-size: 20px;
    --detail-product-subtitle-size: 16px;
    --product-star-size: 12px;
    --detail-product-star-right: 3px;
    --detail-product-reviews-left: calc(10px - var(--detail-product-star-right));
    --detail-product-price-size: 20px;
    --detail-product-del-price-size: 12px;
    --detail-product-attr-label-size: 14px;
    --detail-product-attr-label-height: 16px;
    --detail-product-attr-label-bottom: 12px;
    --detail-product-attr-bottom: 24px;
    --detail-product-attr-select-height: 35px;
    --detail-product-attr-v-space: 16px;
    --detail-product-attr-h-space: 12px;
    --detail-product-attr-min-width: 103px;
    --detail-product-qty-height: 40px;
    --detail-product-qty-bottom: 12px;
    --detail-product-add-height: 40px;
    --detail-product-add-size: 14px;
    --detail-product-add-right: 10px;
  }
  #product_large_thumbs{
    display: none;
  }
}
@media screen and (max-width: 767px){
  .product-main {
      flex-direction: column;
  }
}
.product-main .main-left {
  display: flex;
  gap: 14px;
  width: 57.5%;
  /* max-height: 682px ; */
  flex-shrink: 0;
}

.swiper-zoom-container{
  position: absolute;
}
.product-images,
#productThumbs {
  position: relative;
  width: 100%;
  visibility: hidden;
}
.pd-product-images{
  visibility: visible;
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
}
.pd-product-image{
  width: calc(50% - 8px);
  padding-bottom: calc(50% - 8px);
  margin-bottom: 16px;
  cursor: pointer;
}
.pd-product-image:nth-child(odd){
  margin-right: 16px;
}
.product-video{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50% , -50%);
  height: 100%;
}
#productThumbs{
  width: 60px;
  padding: 0;
  flex-shrink: 0;
}
.product-images .swiper-slide,.bottom-actions-enlargeimg .swiper-slide {
  position: relative;
  padding-bottom: 100%;
  width: 100%;
  overflow: hidden;
}

.product-images .swiper-slide video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.product-images .swiper-slide img,.bottom-actions-enlargeimg .swiper-slide img {
  position: absolute;
  height: 100%;
  width: 100%;
  object-fit: contain;
}

.product-images .swiper-slide video{
  width: 100%;
  height: 100%;
  object-fit: contain;
}
#productImages .swiper-slide-video,
.product-images .swiper-slide-video{
  background-color: #000;
}
#productImages .swiper-pagination {
  display: none;
  font-size: 14px;
}
.product-images{
  --next-btn-right:20px;
  --prev-btn-left:20px;
}

#productThumbs .swiper-slide {
  position: relative;
  height: initial;
  padding-bottom: 100%;
}

.product-thumbs .swiper-slide img {
  position: absolute;
  height: 100%;
  width: 100%;
  object-fit: cover;
  cursor: pointer;
}

.product-thumbs .icon-play {
  position: absolute;
  top: calc(50% - 12px);
  left: calc(50% - 12px);
  height: 24px;
  width: 24px;
  color: #fff;
  font-size: 20px;
  line-height: 24px;
  text-align: center;
  background-color: rgba(0, 0, 0, .5);
  border-radius: 50%;
  cursor: pointer;
  opacity: .6;
}

@media screen and (max-width: 767px) {
  #productImages .swiper-pagination {
    display: none;
  }
  #productImages .next-btn,#productImages .prev-btn{
    color: #000;
    background-color: initial;
    width: initial;
    height: initial;
    opacity: 1;
  }
}

.product-main .main-right {
  padding-left:20px;
  padding-right:0;
}

.product-main .product-name {
  font-weight: 700;
}

.product-main .pd-info-description{
  font-size: 14px;
  line-height: 22px;
}



.product-main .product-description {
  margin: 0 0 var(--detail-info-space);
  font-size: 14px;
  line-height: 22px;
}

.product-attribute {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--detail-product-attr-bottom);
}

.product-attribute .select-wrapper select option:hover {
  background-color: var(--main-color);
}


.variant-buttons .variant-select {
  margin: 0 var(--detail-product-attr-v-space) var(--detail-product-attr-h-space) 0;
  padding: 0 10px;
  height: 32px;
  font-size: 14px;
  line-height: 32px;
  color: var(--theme-font-color);
  background-color: #E7E7E7;
}

.variant-buttons .variant-select {
  min-width: var(--detail-product-attr-min-width);
}

.variant-buttons .variant-select.handle-variant-click {
  color: var(--theme-font-color);
  border: 1px solid #979797;
  background-color: transparent;
  cursor: pointer;
}

.variant-buttons .variant-select.selected {
  border-color: var(--main-color);
}
.pd-quantity-box{
  display: flex;
  gap: 16px;
}
.quantity-wrapper-label{
  display: block;
}
.quantity-wrapper {
  height: var(--detail-product-qty-height);
  width: 38.2%;
  max-width: 225px;
  min-width: 130px;
  border: 1px solid #979797;
  border-radius: 24px;
}

.quantity-wrapper .quantity{
  border: 0;
}
.variant-label-size{
  position: relative;
}

.product-main button {
  font-size: 16px;
  font-weight: normal;
  white-space: nowrap;
}

.product-main .of-stock,
.product-main .sold-out {
  margin: 16px 0;
  padding: 10px;
  background-color: var(--theme-font-color-sub);
  color: #eee7e7;
  cursor: not-allowed;
}

.product-main .product-button {
  display: flex;
  justify-content: space-between;
  gap: var(--detail-product-add-right);
}

.product-main .add-to-cart {
  flex: 1;
  line-height: unset;
  color: #fff;
  background-color: var(--main-color);
  border-radius: 24px;
}

.product-main .buy-now {
  width: 100%;
  background-color: var(--main-color-second);
  border-radius: 24px;
}
.product-main .buy-now:hover{
  background-color: var(--highlight-bg-color);
}
#paypal-button-container{
  margin-bottom: var(--detail-paypal-bottom);
}

@media screen and (max-width: 1000px) {
  .main-left #productThumbs {
    width: 100%;
    height: 60px;
  }

  #productThumbs .swiper-slide {
    padding-bottom: initial;
    width: 60px;
  }
}
@media screen and (max-width: 767px) {
  .product-main .product-name,.product-main .sub-title,.product-main .product-rate{
    margin-bottom: 12px;
  }
  .variant-buttons .variant-select {
    white-space: nowrap;
  }
  .product-main .main-right .product-button {
    gap: unset;
  }
 .product-main .add-to-cart{
  margin-bottom: 12px;
 }
}

@media screen and (min-width: 768px) {
  .variant-buttons .variant-select.handle-variant-click:hover {
    transform: scale(1.05);
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -ms-transform: scale(1.05);
    -o-transform: scale(1.05);
  }
}

@media screen and (max-width: 1100px) {
  .variant-buttons{
    margin-right: calc(-1 * var(--detail-product-attr-v-space));
  }
}
/* large imgs view */
.show-enlarger-view{
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 10;
  background: #fff;
  width: 40px;
  height: 40px;
  line-height: 40px;
  font-size: 20px;
  text-align: center;
  border-radius: 50%;
  box-shadow: 0px 3px 5px 2px rgba(51, 51, 51, 0.08);
  cursor: pointer;
}
.swiper-enlarged-view-wrapper{
  display: none;
  /* opacity: 0; */
  /* display: flex; */
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 300;
  background-color: rgba(0, 0, 0, .7);
    /* background-color: #fff; */
  cursor: pointer;
}
.enlarged-view-close{
  position: absolute;
  right: 3%;
  top: 3%;
  /* color: #fff;
    */
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}
.swiper-enlarged-view{
  position: relative;
  display: flex;
  flex-direction: row-reverse;
  /* height: 90%; */
  width: 60%;
  /* height: 90%; */
  max-height: 900px;
  max-width: 900px;
  margin: auto;
  background-color: #fff;
}
#productImages{
  padding-bottom: initial;
}
#productThumbs{
  position: absolute;
  right: -15%;
  width: 60px;
  height: fit-content;
}
#productThumbs .swiper-slide{
  height: 60px;
}
@media screen and (max-width:767px) {
  #productThumbs{
    display: none;
  }
  
  #product_large_images .swiper-pagination{
    display: none;
  }
  .swiper-enlarged-view{
    width: 100%;
  }
}
/* review */


#reviewPhotos .swiper-slide {
  position: relative;
  padding-bottom: calc(20% - 12.8px);
  background: var(--img-background);
  background-size: var(--img-background-size);
}

/* 移动端下方购买加购组件 Start */
.sticky-bottom {
  padding: 0;
}

.sticky-bottom .button-group button,.bottom-actions-wrapper .button-group button  {
  padding: 0;
  margin: 0;
  width: 50%;
  height: 60px;
  font-size: 16px;
  line-height: 60px;
  text-align: center;
  border-radius: 0;
}
.sticky-bottom .button-group .add-to-cart,
.bottom-actions .button-group .add-to-cart{
  margin: 0;
}


/* 规格图片/颜色显示End */
@media screen and (max-width: 768px) {
  /* 防止底部按钮遮挡底部内容 */
  footer {
    padding-bottom: 62px;
  }
}

@media screen and (min-width: 767px) {
  .sticky-bottom {
    display: none;
  }
}
/* 移动端下方购买加购组件 End */
.tab {
  border-bottom: 1px solid var(--theme-border-color);
}

.tab .tab-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #979797;
}

.tab-list .tab-item {
  color: var(--theme-font-color);
  font-size: 18px;
  border-bottom: 1px solid #979797;
}

.tab-item .tab-box {
  --tab-description-label-icon-display: block;
  --tab-description-label-padding:9px 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row-reverse;
  font-size: 14px;
  line-height: 14px;
  font-weight: 400;
  cursor: pointer;
}
.tab-item[data-tab=reviews] {
  display: block;
}
.page-section {
  --detail-page-section-padding: 0 13px 30px;
  --tab-description-fold-background:linear-gradient(rgba(243, 243, 243, .3), rgba(243, 243, 243, 1));
  --tab-description-more-bottom: 10px;
  position: relative;
  margin-top: -30px;
  font-size: 14px;
  line-height: 22px;
}


/* 评价Start */
.review-wrapper {
  display: flex;
}

.review-left {
  margin-right: 35px;
  width: 30%;
}

.review-right {
  width: 70%;
}
.review-left-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.summary-row .summary-bar {
--detail-summary-bar-color: var(--theme-border-color);
}


@media screen and (max-width: 767px) {
  .prodetail-review-filter{
    width: 100%;
    max-width: 450px;
  }
  .review-header-txt{
    margin-bottom: 10px;
  }
  #reviewPhotos .swiper-slide{
    padding-bottom: 30%;
  }
}
/* 评价End */
.product-thumbs .swiper-slide.swiper-slide-thumb-active {
  border: 1px solid var(--highlight-font-color);
}

.product-thumbs .swiper-slide.swiper-slide-thumb-active img {
  margin: 2px;
  width: calc(100% - 4px);
  height: calc(100% - 4px);
}

/* 规格 Start */
.properties-list li {
  display: flex;
  color: var(--theme-font-color);
  font-size: 16px;
}

.properties-list li:first-child p {
  border-top: 1px solid var(--theme-border-color);
}

.properties-list li p {
  flex: 1;
  padding: 16px 24px;
  word-break: break-word;
  border-bottom: 1px solid var(--theme-border-color);
}

.properties-list li p:first-child {
  max-width:35%;
  background-color: #f8f8f8;
  font-weight: 700;
}

.properties-list li:nth-child(even) p {
  word-break: break-word;
}
.properties-list li p:last-child {
  font-size: 14px;
}
/* 规格 End */
@media screen and (max-width: 767px) {
  
  #productThumbs .next-btn, #productThumbs .prev-btn{
    display: none;
  }
  .product-main .main-right {
    padding: 0;
    width: 100%;
  }
 
  .product-attribute .select-wrapper select {
    padding: 6px 12px;
    font-size: 14px;
  }
  .pd-quantity-box{
    gap: 24px;
  }
  .quantity-wrapper{
    max-width: 120px;
    width: calc(50% - var(--detail-product-add-right) * 0.5);
  }
  .quantity-wrapper .iconfont{
    padding: 10px;
  }
  
  .quantity-wrapper .quantity {
    height: auto;
    font-size: 16px;
  }
  .product-main .buy-now{
    margin-bottom: 12px;
  }
  .product-main .product-description{
    font-size: 14px;
  }
  
  .product-main .of-stock, 
  .product-main .sold-out {
    margin: 10px 0;
    padding: 0;
    height: 40px;
  }
  /* 页签 Start */
  .page-section {
    --detail-page-section-padding: 0 0 30px;
    font-size: 14px;
  }

  .tab-list {
    flex-direction: column;
  }
  .tab-list .tab-item {
    color: var(--theme-font-color);
    font-size: 16px;
    border-top: 1px solid var(--theme-border-color);
  }
  .tab-list .tab-item.current {
    color: var(--theme-font-color);
    background-color: transparent;
  }
 
  /* 页签 End */
  /* 规格 Start */
  .properties-list li {
    font-size: 16px;
  }
  .properties-list li p:first-child {
    margin-right: 0;
    max-width: 120px;
  }
  .properties-list li p {
    padding: 16px 12px;
  }
  /* 规格 End */
}


@media screen and (max-width: 1180px) {
  /* 评价 Start */
  .review-right {
    width: 100%;
    --detail-reviews-header-size:14px;
  }
  .review-wrapper {
    flex-direction: column;
    margin-bottom: 24px;
  }
  .review-left {
    margin: 0;
    width: 100%;
    max-width: 450px;
  }

  .prodetail-review-top .review-header {
    margin-bottom: 15px;
  }
  .review-header {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 10px;
    margin: 0;
  }
  .review-header .header-left{
    margin-bottom: 10px;
  }
  .review-right .review-header:last-child {
    border: none;
  }
  .review-header .header-right {
     width: 100%;
  }
  /* 评价 End */
}