/* 商品详情页样式表 */

/* 组合销售 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-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:40px;
  --detail-product-attr-v-space: 0px;
  --detail-product-attr-h-space: 10px;
  --detail-product-attr-min-width: 82px;
  --detail-product-qty-height: 55px;
  --detail-product-qty-bottom: 20px;
  --detail-product-add-height: 55px;
  --detail-product-add-size: 20px;
  --detail-product-add-right: 10px;
  --detail-paypal-bottom: 20px;
  --detail-share-box-bottom: 20px;
  --detail-product-main-right-right:100px;
  --product-images-wrapper-width:100%;
  --detail-product-thumbs-btn:block;
}

@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(30% - var(--detail-product-attr-v-space));
    --detail-product-qty-height: 35px;
    --detail-product-qty-bottom: 15px;
    --detail-product-add-height: 45px;
    --detail-product-add-size: 16px;
    --detail-product-add-right: 0px;
  }
}

.main-left .product-thumbs-wrapper {
  position: relative;
}

.product-main .main-left {
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 14px;
  width: 46%;
}

.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);
}

/*  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;
  }

  .main-left {
    display: flex;
    flex-direction: column-reverse;
    --detail-product-thumbs-btn:block;
  }
  #productThumbs-next,
  #productThumbs-prev {
    background-color: transparent;
    color: var(--main-color);
  }
}

@media screen and (max-width: 1100px) {
  .product-main .main-left {
    max-height: 500px;
  }
}
.main-left .product-thumbs .swiper-slide {
  width: 167px;
  padding-bottom: 0;
}
@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 !important;
  }
}

@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 .tab-list {
  display: flex;
  justify-content: center;
  color: #a6a6a6;
}

.tab-list .tab-item {
  color: var(--theme-font-color);
  font-size: 18px;
  cursor: pointer;
}

.tab-item .tab-box {
  display: flex;
  font-weight: 400;
  padding: 23px 20px;
  font-size: 18px;
  color: #1b2061;
}

.tab-item.current .tab-box {
  font-weight: var(--detail-tab-active-weight, 400);
  color: var(--detail-tab-active-color, inherit);
}

.tab-item[data-tab=reviews] {
  display: block;
}

@media screen and (min-width: 768px) {
  .tab .tab-list {
    background-color: #f3f3f3;
  }
  .tab-list .tab-item.current .tab-box {
    background-color: #fff;
  }
}

/* 评价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 {
    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 (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 {
  color: inherit;
  font: inherit;
  margin: 0;
  outline: none;
  border: none;
  background: none;
  padding: 0;
  -webkit-appearance: none;
  cursor: pointer;
  text-transform: none;
  display: flex;
  align-items: center;
}

.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 {
  --detail-product-attr-label-size: 14px;
}

.product-main .product-name {
  color: #1b2061;
  font-size: 25px;
  margin-bottom: 22px;
  margin-top: 35px;
  word-break: break-word;
  font-family: Poppins, "Arial", "sans-serif";
  font-weight: bold;
}

.product-price .price {
  font-size: 22px;
  font-weight: 400;
}

.variant-buttons .handle-variant-click {
  border-radius: 30px;
  color: #73788A;
  margin-right: 10px;
}

.variant-buttons .variant-select.selected {
  color: #73788A;
  border: none;
  box-shadow: 0 0 0 4px #ddd;
}

.product-main .add-to-cart {
  width: calc(100% - 190px);
  border: 1px solid #73788A;
  background-color: #fff;
  color: #222;
  font-size: 16px;
  border-radius: 4px;
  padding: 14px 15px;
  margin-bottom: 0px;
}

.quantity-box .quantity-wrapper {
  width: 140px;
  margin-bottom: 0px;
  border-radius: 4px;
}

.quantity-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.main-right .product-button .buy-now {
  width: 100%;
  font-size: 16px;
  background-color: var(--nav-bg-color);
  margin-top: 10px;
}

.social a,
.share-box a {
  color: #1b2061;
}

.rich-text {
  color: #73788A;
  font-size: 14px;
}

.product-thumbs {
  width: 100%;
  height: 167px;
}

.product-thumbs .swiper-wrapper {
  width: 100%;
}

.product-thumbs .swiper-slide-thumb-active {
  border: 1px solid #cecece;
}

.product-images .swiper-slide img {
  object-fit: initial;
}


.variant-buttons .variant-select {
  padding: var(--detail-product-attr-padding, 0 20px);
}

.customize-label,
.quantity-wrapper-label,
.variant-label {
  color: #73788A;
}

.product-thumbs {
  display: block !important;
}
.product-btn {
  position: relative;
}

.product-btn .swiper-button-disabled {
  opacity: 0.35 !important;
}
.customize-choice {
  margin-right: 10px;
  border-radius: 30px;
  color: #73788A;
}

.customize-choice.selected {
  border: none;
  box-shadow: 0 0 0 4px #ddd;
  color: #73788A;
}

@media screen and (max-width: 768px) {
  .product-btn .prev-btns {
    left: 20px;
  }

  .product-btn .next-btns {
    right: 20px;
  }
  .product-main .product-name {
    font-size: 20px;
  }

  .main-right .product-button .buy-now {
    margin-right: var(--detail-product-add-right);
  }
  .quantity-box {
    padding-right: 0px;
  }

  .quantity-box .quantity-wrapper {
    height: 45px;
    width: 90px;
  }

  .product-main .add-to-cart {
    width: calc(100% - 110px);
    padding: 0px;
  }

  .quantity-wrapper .iconfont {
    padding: 5px;
  }

  .button-group .button--primary {
    background-color: #1b2061;
  }

  .main-left .product-thumbs {
    width: 75%;
    margin-top: 10px;
  }
  .product-btn .next-btn {
    right: 5px;
  }
  .product-btn .prev-btn {
    left: 5px;
  }
}