/* 商品详情页样式表 */
.product-details .crumbs {
  margin-bottom: 0;
  padding-bottom: 20px;
}

.product-details .crumbs>*:not(:first-child)::before {
  margin: 0;
  content: "";
}

.product-details .crumbs>span {
  margin: 0 4px;
  content: "/";
  color: var(--theme-color-font);
  font-size: 10px;
  line-height: 16px;
}

.product-main {
  display: flex;
  padding-top: 40px;
  margin-bottom: 80px;
  border-top: 1px solid var(--theme-border-color);
}

.product-main .main-left {
  display: flex;
  flex-direction: column;
  padding-right: 40px;
  width: 50%;
}

#productImages,
#productThumbs {
  position: relative;
  width: 100%;
  visibility: hidden;
}

#productImages .swiper-slide {
  position: relative;
  padding-bottom: 100%;
  width: 100%;
  background-color: var(--theme-sub-color);
}

#productImages .swiper-slide img,
#productImages .swiper-slide video {
  position: absolute;
  height: 100%;
  width: 100%;
}

#productImages .prev-btn,
#productImages .next-btn {
  position: absolute;
  top: calc(50% - 20px);
  z-index: 10;
  width: 40px;
  height: 40px;
  color: var(--main-bg-color);
  font-size: 24px;
  line-height: 40px;
  text-align: center;
  background-color: #fff;
  border: 1px solid var(--main-bg-color);
  border-radius: 50%;
  cursor: pointer;
}

#productImages .prev-btn {
  left: 8px;
}

#productImages .next-btn {
  right: 8px;
}

#productImages .swiper-pagination {
  display: none;
  font-size: 16px;
}


/* 放大镜 Start */
.image-mark {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 4;
  height: 220px;
  width: 220px;
  background-color: rgba(255, 255, 255, .5);
  cursor: zoom-in;
}

.img-details {
  display: none;
  position: absolute;
  top: 100px;
  left: 50%;
  z-index: 32;
  width: 400px;
  height: 400px;
  overflow: hidden;
}

.big-image {
  position: absolute;
  width: 1200px;
  height: 1200px;
  max-width: unset;
  aspect-ratio: 1;
}

/* 放大镜 End */

#productThumbs {
  position: relative;
  margin-top: 8px;
}

#productThumbs .swiper-slide {
  position: relative;
  height: initial;
  /* padding-bottom: calc(((100% - 24px) / 4) - 2px); */
}

#productThumbs .swiper-slide .image-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
}

#productThumbs .swiper-slide img {
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: var(--theme-sub-color);
  cursor: pointer;
}

#productThumbs .swiper-slide video {
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: #000;
}

#productThumbs .swiper-prev,
#productThumbs .swiper-next {
  position: absolute;
  top: calc(50% - 20px);
  z-index: 100;
  height: 40px;
  width: 40px;
  color: var(--main-bg-color);
  font-size: 24px;
  line-height: 40px;
  text-align: center;
  background-color: #fff;
  border: 1px solid var(--main-bg-color);
  border-radius: 50%;
  cursor: pointer;
}

#productThumbs .swiper-prev {
  left: 8px;
}

#productThumbs .swiper-next {
  right: 8px;
}

@media screen and (max-width: 768px) {
  #productImages .prev-btn,
  #productImages .next-btn {
    display: none;
  }
  #productImages .swiper-pagination {
    display: block;
  }
  .image-mark,
  .image-details {
    display: none;
  }
}

.product-main .main-right {
  display: flex;
  flex-direction: column;
  width: 50%;
}

.product-main .product-name {
  margin-bottom: 16px;
  font-size: 24px;
  line-height: 24px;
  font-weight: bold;
}

.product-main .sub-title {
  margin-bottom: 32px;
  font-size: 32px;
}

.product-main .product-rate {
  display: flex;
  margin-bottom: 16px;
  align-items: center;
  vertical-align: middle;
  /* height: 40px; */
}

.product-rate .product-stars,
.product-rate .review-count {
  cursor: pointer;
}

/* .product-main .product-rate {
  vertical-align: middle;
} */

.product-main .product-rate .review-count {
  margin-left: 16px;
  color: var(--main-bg-color);
  font-size: 14px;
}

.product-main .product-price {
  margin-bottom: 16px;
  vertical-align: middle;
}

.product-price .price {
  display: inline-block;
  color: var(--main-bg-color);
  font-size: 24px;
  line-height: 36px;
}

.product-price .original-price {
  display: inline-block;
  margin-left: 6px;
  color: #cccccc;
  font-size: 14px;
  /* line-height: 40px; */
}

.product-main .product-promote {
  margin: 40px 0;
  font-size: 20px;
  line-height: 1.5;
}

.product-main .product-description {
  margin: 16px 0;
}

.product-attribute {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

.product-attribute label {
  margin-bottom: 16px;
  font-size: 18px;
  line-height: 1;
}

.product-attribute .select-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: var(--theme-border-radius);
}

.product-attribute .select-wrapper select {
  padding: 8px 16px;
  width: 100%;
  color: #9c9c9c;
  font-size: 16px;
  line-height: 24px;
  background-color: #fff;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.product-attribute .select-wrapper select option[disabled] {
  color: #ccc;
}

.product-attribute .select-wrapper select option[selected] {
  color: var(--main-bg-color);
}

.product-attribute .select-wrapper select option:hover {
  background-color: var(--main-bg-color);
}

.product-attribute .select-wrapper i {
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  color: #9c9c9c;
  font-size: 16px;
  line-height: 40px;
  text-align: center;
  pointer-events: none;
}

.variant-buttons {
  margin: 0 -16px -16px 0;
}

.variant-buttons .variant-select {
  display: inline-block;
  margin: 0 12px 16px 0;
  padding: 10px 0;
  color: #ccc;
  font-size: 16px;
  text-align: center;
  background-color: #fff;
  border: 1px solid #ccc;
  transition: .3s all ease;
  -webkit-transition: .3s all ease;
  -moz-transition: .3s all ease;
  -o-transition: .3s all ease;
  cursor: not-allowed;
}

.variant-buttons .variant-select {
  width: calc(33.33333333% - 17px);
}

.variant-buttons .variant-select.handle-variant-click {
  color: var(--theme-color-font);
  border-color: #999;
  cursor: pointer;
}

.variant-buttons .variant-select.selected {
  color: var(--main-bg-color);
  background-color: #fbf6f3;
  border-color: var(--main-bg-color);
}

.quantity-button {
  padding: 10px;
  color: #ccc;
  font-size: 16px;
  cursor: pointer;
}

.quantity-wrapper {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  width: fit-content;
  /* padding: 0 16px; */
  height: 48px;
  width: 100%;
  max-width: 140px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: var(--theme-border-radius);
}

.quantity-wrapper .quantity {
  width: inherit;
  height: unset;
  color: #9c9c9c;
  font-size: 16px;
  text-align: center;
  border: none;
}

.product-main .size-guide {
  align-self: flex-start;
  color: #9c9c9c;
  font-size: 16px;
  font-weight: normal;
  line-height: unset;
  text-decoration: underline;
  background-color: transparent;
}

.product-main button {
  padding: 8px 0;
  color: #9c9c9c;
  font-size: 16px;
  font-weight: normal;
  line-height: 40px;
  white-space: nowrap;
  border-radius: var(--theme-border-radius);
}

.product-main button.of-stock,
.product-main button.sold-out {
  margin: 16px 0;
  background-color: var(--theme-color-font-secondary);
  color: #eee7e7;
}

.product-main .main-right .product-button {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.product-main button.add-to-cart {
  padding: 10px 0;
  margin: 16px 0;
  width: 50%;
  color: var(--main-bg-color);
  font-size: 18px;
  line-height: unset;
  background-color: #fff;
  border: 1px solid var(--main-bg-color);
}

.product-main button.buy-now {
  padding: 10px 0;
  margin-top: 16px;
  margin-bottom: 16px;
  width: 50%;
  color: #fff;
  font-size: 18px;
  line-height: unset;
  background-color: var(--main-bg-color);
}

.share-button {
  position: relative;
  margin-top: 24px;
  /* padding: 16px 0 0; */
  width: fit-content;
  font-size: 20px;
  cursor: pointer;
  user-select: none;
}

.share-button i {
  margin-right: 8px;
  color: var(--theme-color-font);
  font-size: 24px;
}

.share-box {
  position: absolute;
  z-index: 10;
  left: -40px;
  display: none;
  padding: 8px 24px;
  white-space: nowrap;
  background-color: #fff;
  border-radius: var(--theme-border-radius);
  box-shadow: 0px 0px 9px 0px #CCCCCC;
}

.share-box::before {
  position: absolute;
  top: -16px;
  left: 72px;
  content: "";
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid #fff;
  border-left: 8px solid transparent;
}

.share-box a {
  margin-right: 16px;
  color: var(--theme-color-font);
  font-size: 24px;
}

.share-box a:last-child {
  margin: 0;
}

@media screen and (max-width: 768px) {
  .variant-buttons .variant-select {
    padding: 0 12px;
    height: 35px;
    width: 165px;
    font-size: 14px;
    line-height: 35px;
    white-space: nowrap;
  }
  .product-main .main-right .product-button {
    gap: unset;
  }
  .share-button {
    margin-top: 10px;
    font-size: 16px;
  }
  .share-button i {
    font-size: 20px;
  }
  .share-box {
    left: 0;
  }
  .share-box::before {
    left: 32px;
  }
}

@media screen and (min-width: 769px) {
  .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: 0;
  }
  .variant-buttons .variant-select {
    width: calc(50% - 9px);
  }
  .variant-buttons .variant-select:nth-child(even) {
    margin-right: 0;
  }
}

#reviewPhotos {
  margin-bottom: 80px;
  width: 100%;
}

#reviewPhotos .swiper-slide {
  position: relative;
  padding-bottom: calc(20% - 12.8px);
  background-color: var(--theme-sub-color);
}

#reviewPhotos .swiper-slide img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

#reviewPhotos .prev-btn,
#reviewPhotos .next-btn {
  position: absolute;
  top: calc(50% - 20px);
  z-index: 10;
  width: 40px;
  height: 40px;
  color: var(--main-bg-color);
  font-size: 24px;
  text-align: center;
  line-height: 40px;
  background-color: #fff;
  border-radius: 50%;
  border: 2px solid var(--main-bg-color);
}

#reviewPhotos .prev-btn {
  left: 0;
}

#reviewPhotos .next-btn {
  right: 0;
}

/* 移动端下方购买加购组件 Start */
.sticky-bottom {
  position: fixed;
  right: 0;
  bottom: -60px;
  left: 0;
  z-index: 256;
  padding: 10px 12.5px;
  background-color: #fff;
  transition: all .25s ease;
  -webkit-transition: all .25s ease;
  -moz-transition: all .25s ease;
  -ms-transition: all .25s ease;
  -o-transition: all .25s ease;
}

.sticky-bottom button {
  padding: 0;
  width: 100%;
  height: 40px;
  font-size: 16px;
  line-height: 40px;
  text-align: center;
}

.button-group {
  display: flex;
  justify-content: space-between;
}

.button-group button {
  padding: 0;
  width: calc(50% - 8px);
  height: 40px;
  font-size: 16px;
  line-height: 40px;
}

.sticky-bottom button.sold-out {
  color: #eee7e7;
  background-color: var(--theme-color-font-secondary);
}

.bottom-actions {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 128;
  background-color: rgba(0, 0, 0, .5);
}

.bottom-actions-wrapper {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  padding: 36px 12.5px 10px;
  background-color: #fff;
  border-top-left-radius: var(--theme-border-radius);
  border-top-right-radius: var(--theme-border-radius);
}

.bottom-actions-wrapper .actions-close {
  position: absolute;
  top: 0;
  right: 2.5px;
  padding: 10px;
  color: var(--theme-color-font);
}

.bottom-actions-wrapper .product-info {
  display: flex;
}

.bottom-actions-wrapper .product-image {
  width: 70px;
  height: 70px;
}

.bottom-actions-wrapper .product-image img {
  height: 100%;
  width: 100%;
}

.bottom-actions-wrapper .product-price {
  display: flex;
  flex-direction: column;
  margin-left: 16px;
}

.bottom-actions-wrapper .original-price {
  margin-left: 0;
}

.bottom-actions-wrapper .product-attribute,
.bottom-actions-wrapper .quantity-wrapper {
  margin: 16px 0;
}

.bottom-actions-wrapper .product-attribute label {
  margin-bottom: 10px;
}

@media screen and (max-width: 768px) {
  /* 防止底部按钮遮挡底部内容 */
  footer {
    padding-bottom: 60px;
  }
}

@media screen and (min-width: 769px) {
  .sticky-bottom {
    display: none;
  }
}
/* 移动端下方购买加购组件 End */

.tab {
  border-bottom: 1px solid var(--theme-border-color);
}

.tab .tab-list {
  display: flex;
  color: #a6a6a6;
}

.tab-list .tab-item {
  color: var(--theme-color-font);
  font-size: 18px;
  cursor: pointer;
  user-select: none;
}

.tab-list .tab-item .tab-box {
  display: flex;
  padding: 16px 0;
}

.tab-item[data-tab=reviews] {
  order: 99;
}

.tab-list .tab-item.current {
  color: var(--main-bg-color);
}

.page-section {
  display: none;
  padding: 32px 0;
}

.page-section.current {
  display: block;
}

@media screen and (min-width: 769px) {
  .tab-list .tab-item {
    padding: 0 12px;
  }
  .tab-list .tab-item.current .tab-box {
    border-bottom: 2px solid var(--main-bg-color);
  }
}

/* 评价Start */
.review-wrapper {
  display: flex;
}

.review-left {
  margin-right: 72px;
  width: 470px;
}

.review-right {
  width: calc(100% - 550px);
}

.review-summary {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}

.summary-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 40px;
}

.reviews-rating {
  margin-bottom: 16px;
  font-size: 48px;
  font-weight: 600;
  color: var(--theme-font-color);
}

.review-summary .product-stars {
  margin-bottom: 16px;
}

.review-summary .product-stars li {
  font-size: 22px;
}

.review-summary .reviews-count {
  color: var(--theme-color-font-secondary);
  font-size: 14px;
}

.show-review {
  padding: 15px 27px;
  font-size: 16px;
  line-height: 1;
}

.review-wrapper .review-left .show-review i {
  color: var(--main-bg-color);
}

.button-box {
  text-align: center;
}

.summary-right {
  flex: 1;
}

.summary-right .summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 8px 0;
  width: 100%;
}

.summary-row .summary-score {
  font-size: 14px;
}

.summary-row .summary-bar {
  flex: 1;
  margin: 0 8px;
  height: 10px;
  overflow: hidden;
  background-color: var(--theme-border-color);
  border-radius: 5px;
}

.summary-bar .summary-bar-progress {
  height: 100%;
  background-color: var(--main-bg-color);
  border-radius: 5px;
}

.summary-row .score-rate {
  display: inline-block;
  width: 32px;
  font-size: 14px;
  text-align: right;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  width: 100%;
  font-size: 18px;
  font-weight: 600;
  color: var(--theme-color-font);
}

.review-header .header-left {
  font-size: 18px;
  font-weight: 600;
  color: var(--theme-font-color);
}

.review-header .header-right {
  display: flex;
  align-items: center;
}

.review-header .header-right label {
  margin-right: 16px;
  font-size: 16px;
  font-weight: 400;
}

.header-right .sort-wrapper {
  position: relative;
  font-size: 20px;
  background-color: #fff;
  border: 1px solid var(--theme-border-color);
}

.sort-wrapper select {
  padding: 0 40px 0 16px;
  height: 40px;
  font-size: 16px;
  background-color: #fff;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.header-right .sort-wrapper i {
  position: absolute;
  top: 0;
  right: 10px;
  color: var(--theme-color-font);
  font-size: 12px;
  line-height: 40px;
}

.review-right .review-header .header-right .sort-wrapper i {
  transform: unset;
  -webkit-transform: unset;
  -moz-transform: unset;
  -ms-transform: unset;
  -o-transform: unset;
}

.review-list .review-item {
  padding: 40px 0;
  border-bottom: 1px solid var(--theme-border-color);
}

.review-list .review-item:first-child {
  padding-top: 0;
}

.review-origin {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1;
}

.review-stars {
  display: flex;
  margin-bottom: 16px;
}

.review-stars li {
  margin-right: 4px;
}

.review-content {
  margin-bottom: 16px;
  font-size: 16px;
  font-weight: normal;
  line-height: 1.5;
}

.review-images .review-image, 
.review-images .review-video {
  margin: 0 16px 16px 0;
  height: 160px;
  width: 160px;
  object-fit: contain;
  cursor: pointer;
}

.review-images video.review-image {
  margin: 0;
}

.review-images>div {
  display: inline-block;
  position: relative;
  margin: 0 16px 16px 0;
  height: 160px;
  width: 160px;
  vertical-align: top;
}

.review-image-play,
.review-photo-play {
  position: absolute;
  top: calc(50% - 18px);
  left: calc(50% - 18px);
  height: 36px;
  width: 36px;
  color: #fff !important;
  font-size: 24px;
  line-height: 36px !important;
  text-align: center;
  background-color: rgba(0, 0, 0, .5);
  border-radius: 50%;
  cursor: pointer;
  transform: rotate(0) !important;
}

video.review-detail-item {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.review-bottom button {
  height: 24px;
  font-size: 16px;
}

.review-bottom button:disabled {
  color: var(--main-bg-color);
}

.review-bottom .review-helpful {
  margin-right: 40px;
}

.review-bottom .review-helpful.visited,
.review-bottom .review-helpful.visited i {
  color: var(--main-bg-color);
}

.review-bottom i {
  margin-right: 8px;
  color: var(--theme-color-font);
  font-size: 24px;
}

.review-comment {
  display: none;
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid var(--theme-border-color);
}

.comment-item {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  font-size: 20px;
}

.comment-item:first-child {
  padding-top: 0;
}

.comment-item .comment-origin {
  padding-left: 80px;
  white-space: nowrap;
}

.review-comment .more-comments {
  padding: 0 48px;
  height: 56px;
  color: var(--main-bg-color);
  font-size: 24px;
  line-height: 56px;
  border: 2px solid var(--main-bg-color);
}

.review-comment .form-label {
  margin-bottom: 16px;
}

.review-comment .form-col {
  margin: 12px auto;
}

.review-comment input {
  height: 56px;
  font-size: 16px;
}

.review-comment textarea {
  font-size: 16px;
  resize: vertical;
}

.review-comment .submit-button {
  margin-top: 28px;
  padding: 0 40px;
  height: 56px;
  color: var(--main-bg-color);
  font-size: 16px;
  font-weight: bold;
  border: 1px solid var(--main-bg-color);
  border-radius: var(--theme-border-radius);
}

.review-comment .submit-button i {
  color: inherit;
  transition: unset;
}

.more-reviews {
  margin-top: 40px;
  padding: 16px 48px;
  color: var(--main-bg-color);
  font-size: 24px;
  border: 2px solid var(--main-bg-color);
  border-radius: var(--theme-border-radius);
}

.review-wrapper .product-stars li, 
.review-wrapper .review-stars li i {
  height: 16px;
  color: var(--main-bg-color);
  line-height: 1;
}

.page-section .popup-content {
  height: unset;
}

.form-col.review-rating {
  flex-direction: row;
  align-items: center;
}

.form-col.review-rating label {
  margin-right: 24px;
}

.form-col.review-rating .product-stars li {
  color: #ee741f;
  cursor: pointer;
}

.add-review.form label {
  font-size: 16px;
}

.add-review.form .form-col {
  margin: 12px 0;
}

.add-review input,
.add-review textarea {
  font-size: 16px;
}

.add-review .media-input {
  height: 130px;
  width: 130px;
}

.add-review .media-wrapper {
  position: relative;
  height: 130px;
  width: 130px;
  background-color: var(--theme-sub-color);
}

.add-review .media-wrapper .media-preview {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.add-review .media-wrapper .media-delete {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 20px;
  width: 20px;
  font-size: 12px;
  line-height: 1;
  background-color: rgba(0, 0, 0, .5);
  cursor: pointer;
}

.add-review .media-box {
  gap: 8px;
}

.add-review .review-button {
  padding: unset;
  height: 56px;
  width: 160px;
  color: var(--main-bg-color);
  font-size: 16px;
  font-weight: bold;
  line-height: unset;
  border: 1px solid var(--main-bg-color);
}

.review-button i {
  color: var(--main-bg-color);
}

.no-review {
  padding: 16px 0;
  width: 100%;
  text-align: center;
}

.no-review p {
  margin-bottom: 36px;
  color: var(--theme-color-font-secondary);
  font-size: 24px;
}

.popup {
  z-index: 512;
}

.review-popup {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 512;
  background: rgba(0, 0, 0, .5);
}

.review-detail-wrapper {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  justify-content: space-between;
  padding: 40px 20px;
  width: calc(100% - 50px);
  max-width: 1088px;
  background-color: #fff;
  border-radius: var(--theme-border-radius);
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
}

.review-popup.only-image .review-detail-wrapper {
  max-width: 600px;
}

.review-detail-wrapper .popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  color: var(--theme-color-font);
}

.review-detail-left {
  position: relative;
  padding: 0 20px;
  width: 60%;
  max-width: 600px;
}

.review-detail-photo,
.review-detail-image .swiper-slide {
  position: relative;
  padding-bottom: 100%;
  width: 100%;
}

.review-detail-photo img,
.review-detail-photo video,
.review-detail-image .swiper-slide img {
  position: absolute;
  width: 100%;
  height: 100%;
}

.review-detail-left .photo-control {
  position: absolute;
  top: calc(50% - 20px);
  height: 40px;
  width: 40px;
  font-size: 24px;
  line-height: 40px;
  text-align: center;
  background-color: #fff;
  border: 1px solid var(--main-bg-color);
  border-radius: 50%;
  cursor: pointer;
}

.review-detail-left .photo-control.iconfont {
  color: var(--main-bg-color);
}

.photo-control.prev-photo {
  left: 0;
}

.photo-control.next-photo {
  right: 0;
}

.review-detail-right {
  width: 400px;
}

.review-detail-image {
  width: 100%;
}

.review-detail-image img {
  width: 100%;
}

.review-detail-image .swiper-pagination {
  font-size: 16px;
  font-weight: normal;
}

.review-detail-image .prev-btn,
.review-detail-image .next-btn {
  position: absolute;
  top: calc(50% - 20px);
  z-index: 10;
  height: 40px;
  width: 40px;
  font-size: 24px;
  text-align: center;
  line-height: 40px;
  background-color: #fff;
  border: 1px solid var(--main-bg-color);
  border-radius: 50%;
}

.review-detail-image .prev-btn.iconfont,
.review-detail-image .next-btn.iconfont {
  color: var(--main-bg-color);
}

.review-detail-image .prev-btn {
  left: 8px;
}

.review-detail-image .next-btn {
  right: 8px;
}

@media screen and (max-width: 768px) {
  .add-review.form label {
    font-size: 16px;
  }
  .add-review input,
  .add-review textarea {
    font-size: 16px;
  }
  .add-review .media-input {
    height: 96px;
    width: 96px;
  }
  .add-review .media-wrapper {
    height: 96px;
    width: 96px;
  }
  .add-review .review-button {
    height: 40px;
    width: 120px;
    font-size: 16px;
    line-height: 40px;
  }
  .add-review .media-input {
    height: 96px;
    width: 96px;
  }
  .no-review p {
    margin-bottom: 16px;
    font-size: 16px;
  }
  #reviewPhotos .swiper-slide {
    padding-bottom: calc(33.33333333% - 5.33333333px)
  }
  #reviewPhotos .prev-btn,
  #reviewPhotos .next-btn {
    display: none;
  }
  .review-detail-wrapper {
    flex-direction: column;
    padding: 36px 12px 16px;
  }
  .review-popup .review-detail-wrapper i.popup-close {
    top: 12px;
    right: 12px;
    font-size: 12px;
    line-height: 12px;
  }
  .review-detail-left {
    padding: 0 0 48px;
    width: 100%;
    max-width: unset;
  }
  .review-detail-right {
    margin-top: 24px;
    width: 100%;
  }
  .review-detail-left .photo-control {
    top: unset;
    bottom: 4px;
    font-size: 16px;
  }
  .review-detail-image .prev-btn,
  .review-detail-image .next-btn {
    display: none;
  }
}
/* 评价End */

#productThumbs .swiper-slide.swiper-slide-thumb-active {
  border: 1px solid var(--main-bg-color);
}

#productThumbs .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-color-font);
  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: 400px;
}

.properties-list li:nth-child(odd) p {
  background-color: #fff;
}

.properties-list li:nth-child(even) p {
  word-break: break-word;
}

.properties-list li p:first-child {
  background-color: #f8f8f8;
}
.properties-list li p:last-child {
  font-size: 14px;
}
/* 规格 End */

@media screen and (max-width: 768px) {
  .product-details .crumbs {
    margin: 3px 0 24px;
    padding: 0;
  }
  .product-main {
    flex-direction: column;
    margin-bottom: 16px;
  }
  .product-main .main-left {
    padding-right: 0;
    width: 100%;
  }
  #productThumbs {
    display: none;
  }
  .product-main .main-right {
    padding: 24px 0;
    width: 100%;
  }
  .product-main .product-name {
    font-size: 20px;
    line-height: 1.5;
  }
  .product-main .sub-title {
    margin-bottom: 0;
    font-size: 18px;
  }
  .product-price .price {
    font-size: 20px;
  }
  .product-attribute {
    margin: 10px 0;
  }
  .product-attribute .select-wrapper {
    border-width: 1px;
  }
  .product-attribute .select-wrapper select {
    padding: 6 12px;
    font-size: 16px;
  }
  .product-attribute .select-wrapper i {
    line-height: 40px;
  }
  .quantity-wrapper {
    margin: 10px 0;
    height: 40px;
    max-width: 140px;
    font-size: 16px;
    border-width: 1px;
  }
  .quantity-wrapper .quantity {
    font-size: 16px;
  }
  .quantity-button {
    font-size: 16px;
  }
  .product-main button.add-to-cart {
    margin: 10px 0;
    padding: 0;
    height: 40px;
    width: calc(50% - 8px);
    font-size: 16px;
    line-height: 40px;
    border-width: 1px;
  }
  .product-main button.of-stock, 
  .product-main button.sold-out {
    margin: 10px 0;
    padding: 0;
    height: 40px;
  }
  .product-main button.buy-now {
    margin: 10px 0;
    padding: 0;
    width: calc(50% - 8px);
    height: 40px;
    font-size: 16px;
    line-height: 40px;
  }
  .page-section {
    padding: 20px 0;
  }
  /* 页签 Start */
  .tab-list {
    flex-direction: column;
  }
  .tab-list .tab-item {
    color: var(--theme-color-font);
    font-size: 16px;
    border-top: 1px solid var(--theme-border-color);
  }
  .tab-list .tab-item .tab-box {
    justify-content: space-between;
    font-weight: bold;
  }
  .tab-list .tab-item i {
    color: var(--theme-color-font);
    line-height: 26px;
  }
  .tab-list .tab-item.current {
    color: var(--theme-color-font);
    background-color: transparent;
  }
  .tab-list .tab-item.current i {
    transform: rotate(180deg);
  }
  .tab-list .tab-item:not(.current) i {
    transform:rotate(0) ;
  }
  /* 页签 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: 769px) {
  .tab-list .tab-item i {
    display: none;
  }
}

@media screen and (max-width: 1180px) {
  /* 评价 Start */
  .review-right {
    width: 100%;
  }
  .review-wrapper {
    flex-direction: column;
  }
  .review-left {
    margin: 0 0 40px;
    width: 100%;
  }
  .reviews-rating {
    margin-bottom: 12px;
    font-size: 28px;
  }
  .review-summary {
    margin-bottom: 20px;
  }
  .summary-left {
    margin-right: 20px;
  }
  .review-summary .product-stars {
    margin-bottom: 12px;
  }
  .review-summary .product-stars li {
    margin-right: 2px;
    font-size: 14px;
  }
  .product-stars li:last-child {
    margin-right: 0;
  }
  .review-summary .reviews-count {
    font-size: 16px;
  }
  .summary-right .summary-row {
    margin: 4px 0;
    font-size: 12px;
  }
  .summary-row .summary-bar {
    height: 7px;
    border-radius: 4px;
  }
  .summary-bar .summary-bar-progress {
    height: 7px;
    border-radius: 4px;
  }
  .summary-row .score-rate {
    width: 28px;
    font-size: 12px;
  }
  .show-review {
    padding: 0 22px;
    height: 40px;
    font-size: 16px;
    text-transform: capitalize;
  }
  .review-header {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 20px;
    font-size: 17px;
  }
  .review-right .review-header:last-child {
    border: none;
  }
  .review-header .header-left {
    padding-bottom: 20px;
    margin-bottom: 20px;
    width: 100%;
    font-size: 17px;
    border-bottom: 1px solid var(--theme-border-color);
  }
  .review-header .header-right {
    align-self: center;
  }
  .review-header .header-right label {
    font-size: 14px;
  }
  .sort-wrapper select {
    height: 40px;
    max-width: 240px;
    font-size: 14px;
  }
  #reviewPhotos {
    padding-top: 20px;
    margin-bottom: 40px;
    border-top: 1px solid var(--theme-border-color);
  }
  .review-origin {
    margin-bottom: 8px;
    font-size: 15px;
  }
  .review-stars {
    margin-bottom: 8px;
  }
  .review-content {
    font-size: 16px;
  }
  .header-right .sort-wrapper i {
    line-height: 40px;
  }
  .review-list .review-item {
    padding: 24px 0;
  }
  .review-images .review-image,
  .review-images .review-video,
  .review-images>div {
    margin: 0 8px 12px 0;
  }
  .review-bottom button {
    font-size: 16px;
  }
  .review-bottom i {
    font-size: 20px;
  }
  .comment-item {
    flex-direction: column-reverse;
    align-items: flex-start;
  }
  .review-comment .more-comments {
    padding: 0 16px;
    height: 40px;
    font-size: 16px;
    line-height: 40px;
    border-width: 1px;
  }
  .comment-item {
    padding: 12px 0;
    font-size: 16px;
  }
  .comment-item .comment-origin {
    margin-bottom: 12px;
    padding-left: 0;
  }
  .review-comment .form-col {
    margin: 10px auto;
  }
  .review-comment .form-label {
    margin-bottom: 8px;
    font-size: 16px;
  }
  .review-comment input {
    height: 40px;
    font-size: 15px;
  }
  .review-comment textarea {
    font-size: 16px;
  }
  .review-comment .submit-button {
    height: 40px;
    font-size: 16px;
    line-height: 40px;
    border-width: 1px;
  }
  .more-reviews {
    padding: 0 24px;
    margin-top: 20px;
    height: 40px;
    font-size: 16px;
    line-height: 40px;
    border-width: 1px;
  }
  .page-section .popup-header {
    padding: 12px;
  }
  .page-section .popup-content {
    padding: 20px 12px;
  }
  /* 评价 End */
}