/* 商品详情页样式表 */

/* 组合销售 Start*/
.bs-price {
  display: flex;
}

.bs-price .text-truncate {
  font-family: sans-serif;
}

/* 组合销售 End*/
/*  crumbs */
.pd-crumbs-wrapper .crumbs {
  margin-bottom: 0;
  padding-bottom: var(--crumbs-bottom);
  border-bottom: 1px solid var(--theme-border-color);
}

.crumbs a:last-child {
  color: var(--theme-font-color)
}

:root {
  --detail-tab-size: 20px;
  --detail-tab-height: 28px;
  --detail-tab-bottom: 12px;
  --detail-tab-right: 40px;
}

.product-main {
  margin-bottom: 60px;
  --detail-section-space: var(--section-space);
  --detail-info-space: 14px;
  --detail-product-name-size: 20px;
  --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: 32px;
  --detail-product-del-price-size: 14px;
  --detail-product-attr-label-size: 20px;
  --detail-product-attr-label-height: 28px;
  --detail-product-attr-label-bottom: 8px;
  --detail-product-attr-bottom: 14px;
  --detail-product-attr-select-height: 40px;
  --detail-product-attr-button-height: var(--btn-height);
  --detail-product-attr-v-space: 10px;
  --detail-product-attr-h-space: 10px;
  --detail-product-attr-min-width: 160px;
  --detail-product-qty-height: 40px;
  --detail-product-qty-bottom: 20px;
  --detail-product-add-height: 48px;
  --detail-product-add-size: 20px;
  --detail-product-add-right: 10px;
  --detail-paypal-bottom: 20px;
  --detail-share-box-bottom: 20px;
}

@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: 10px;
    --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: 22px;
    --detail-product-del-price-size: 12px;
    --detail-product-attr-label-size: 16px;
    --detail-product-attr-label-height: 20px;
    --detail-product-attr-label-bottom: 10px;
    --detail-product-attr-bottom: 15px;
    --detail-product-attr-select-height: 35px;
    --detail-product-attr-v-space: 10px;
    --detail-product-attr-h-space: 10px;
    --detail-product-attr-min-width: calc(50% - var(--detail-product-attr-v-space));
    --detail-product-qty-height: 35px;
    --detail-product-qty-bottom: 15px;
    --detail-product-add-height: 40px;
    --detail-product-add-size: 16px;
    --detail-product-add-right: 10px;
  }
}

.product-main .main-left {
  gap: 14px;
  width: 54%;
  max-height: 682px;
}

@media screen and (max-width: 1100px) {}

@media screen and (max-width: 767px) {}

.product-images {
  --next-btn-right: 20px;
  --prev-btn-left: 20px;
}

.product-main .product-button {
  display: flex;
  justify-content: space-between;
  gap: var(--detail-product-add-right);
}

.product-main .buy-now:hover {
  background-color: var(--highlight-bg-color);
}

#paypal-button-container {
  margin-bottom: var(--detail-paypal-bottom);
}

.share-box a:hover {
  color: var(--highlight-bg-color);
}

/*  tab & description */

@media screen and (max-width:1300px) {
  .product-main .main-right {
    padding-right: 0;
  }
}

@media screen and (max-width:1200px) {
  .product-main .main-right {
    padding-left: 40px;
  }

  .product-main .main-left {
    max-height: 558px;
  }
}

@media screen and (max-width: 1100px) {
  .product-main .main-left {
    max-height: 500px;
  }
}

@media screen and (max-width: 1000px) {
  .product-main .main-left {
    flex-direction: column-reverse;
    justify-content: flex-end;
    max-height: initial;
  }

  .main-left .product-thumbs {
    width: 100%;
    height: 60px;
  }

  .product-thumbs .swiper-slide {
    padding-bottom: initial;
    width: 60px;
  }
}

@media screen and (max-width: 767px) {
  .product-main .main-right {
    padding-left: 0;
  }

  .product-main {
    flex-direction: column;
  }

  .variant-buttons .variant-select {
    white-space: nowrap;
  }

  .product-main .main-right .product-button {
    gap: initial;
  }

}

/* 移动端下方购买加购组件 Start */
.sticky-bottom {
  --detail-sticky-bottom-padding: 10px 12.5px 12px;
  --detail-sticky-btn-size: 16px;
  --detail-sticky-btn-height: 40px;
  --detail-sticky-btn-width: calc(50% - 8px);
}


.tab {
  border-bottom: 1px solid var(--theme-border-color);
}

.tab .tab-list {
  display: flex;
  color: #a6a6a6;
}

.tab-list .tab-item {
  color: var(--theme-font-color);
  font-size: 18px;
  cursor: pointer;
}

.tab-item .tab-box {
  display: flex;
  padding: 0 0 var(--detail-tab-bottom);
  font-weight: 400;
  font-size: var(--detail-tab-size);
}

.tab-item.current .tab-box {
  font-weight: 700;
}

.tab-item[data-tab=reviews] {
  display: block;
}

@media screen and (min-width: 768px) {
  .tab-list .tab-item {
    padding-right: 45px;
  }

  .tab-list .tab-item.current .tab-box {
    border-bottom: 2px solid var(--highlight-font-color);
  }
}
/* 评价Start */
.review-left {
  margin-right: 35px;
  width: 30%;
}

.review-right {
  width: 70%;
}
.review-left-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.prodetail-review-photos {
  --detail-Photos-Videos-border-bottom: 1px solid var(--theme-border-color);
}

/* 评价End */



@media screen and (max-width: 767px) {

  /* 页签 Start */
  .tab-item .tab-box {
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    font-size: 16px;
    line-height: 20px;
  }

  /* 页签 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 (min-width: 768px) {
  .tab-list .tab-item i {
    display: none;
  }
}

@media screen and (max-width: 1180px) {

  /* 评价 Start */
  .review-left {
    margin: 0;
    width: 100%;
    max-width: 450px;
  }

  .review-right {
    width: 100%;
  }

  .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 {
    padding-bottom: 10px;
    width: 100%;
    font-size: 14px;
  }

  .review-header .header-right {
    width: 100%;
  }

  /* 评价 End */
}

/* 尺码表 按钮 Start */

.size-table-btn {
  margin-left: 10px;
  font-size: 16px;
  line-height: 24px;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  color: var(--theme-font-color);
}

.product-main .product-button .add-to-cart {
  color: #000000;
  border: 1px solid #E8E8E8;
}

.product-main .product-button .add-to-cart:hover {
  background-color: var(--highlight-bg-color) !important;
  color: #fff !important;
}

.product-main .buy-now {
  background-color: #000000;
}

.share-box a {
  color: #000000;
}

.variant-buttons .variant-select.selected,
.variant-buttons .handle-variant-click {
  background-color: #fff;
}

@media screen and (max-width: 1180px) {
  .product-main .button-group .add-to-cart {
    color: #000;
    border: 1px solid #E8E8E8;
  }
}

.product-main .add-to-cart {
  background-color: #fff;
}

.swiper-pagination-bullet {
  background: #A4A4A4;
}

.swiper-pagination-bullet-active {
  background-color: #fff;
}

.more-reviews {
  background-color: #000000;
  color: #fff;
}

.product-attribute select option[selected] {
  color: #000000;
}

.bs-prod-opr .bs-prod-sku {
  color: #000000;
}

.bs-prod-opr .bs-sku-label {
  border: 1px solid #E8E8E8;
}

.bs-size-body .bs-size-bottom button {
  border: 1px solid #E8E8E8;
  color: #000000;
}

.bs-size-body .bs-size-bottom .bs-sku-ok {
  background-color: #000000;
  color: #fff;
}

.bs-size-body .bs-variants-button .bs-variant__selected {
  border: 1px solid #ff7259;
  color: #ff7259;
}

.quantity-wrapper {
  border: 1px solid var(--theme-border-color);
}

.customize-upload-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-bottom: 60px;
  margin: 0 10px 10px 0;
  width: 60px;
  overflow: hidden;
  border-radius: var(--theme-border-radius);
  border: 1px solid var(--theme-border-color);
  cursor: pointer;
}

.customize-label {
  font-size: 16px;
  line-height: 24px;
  font-weight: bold;
}

.customize-prompt {
  margin-bottom: 6px;
  font-size: 14px;
  line-height: 22px;
}

.customize-uploader {
  position: absolute;
  top: calc(50% - 8px);
  left: calc(50% - 8px);
  color: var(--theme-color-font);
}

.customize-upload {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  opacity: 0;
}

.customize-choice{
  border: 1px solid #E8E8E8;
  margin-bottom: 10px;
  padding: 0 10px;
}

.selected {
  border: 1px solid #FF7259;
  color: #FF7259;
}