/* 评价页面样式表 */
.review-main {
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
}

.review-main .section-sub-title {
  text-align: left;
}

.sidenav-item {
  display: block;
  margin-bottom: 24px;
  line-height: 1;
}

.sidenav-item a {
  color: var(--theme-font-color);
}

.sidenav-item.current a {
  color: var(--highlight-font-color);
  font-weight: bold;
}

.reviews .main-right {
  flex: 1;
  margin-left: 80px;
  max-width: 1200px;
}

.section-sub-title i {
  display: none;
  margin-left: 4px;
  color: var(--theme-font-color);
  vertical-align: middle;
}
@media screen and (max-width: 1200px){
.reviews .main-right {
    margin-left: 40px;
  }
}
@media screen and (max-width: 767px) {
  .crumbs {
    margin-bottom: 4px;
  }
  .review-main {
    flex-direction: column;
  }
  .review-main .main-left {
    margin-bottom: 20px;
    border: 1px solid var(--theme-border-color);
  }
  .review-main .main-left .review-sidenav {
    display: none;
  }
  .review-main .section-sub-title {
    margin-bottom: 0;
    padding: 12px 0;
    text-align: center;
    border-bottom: 1px solid var(--theme-border-color);
  }
  .review-main .main-left .sidenav {
    display: none;
  }
  .review-main .main-left .no-items {
    display: none;
  }
  .review-main .main-left .sidenav-item {
    padding: 12px 0;
    margin: 0 12px;
  }
  .review-main .main-left .sidenav-item:not(:last-child) {
    border-bottom: 1px solid var(--theme-border-color);
  }
  .main-right {
    margin-left: 0;
  }
  .article-list .article-item {
    width: 100%;
  }
  .section-sub-title i {
    display: inline-block;
  }
  .review-main .no-items {
    font-size: 20px;
  }
  .review-main .main-right {
    margin-left: 0;
  }
}

@media screen and (min-width: 768px) {
  .review-main .main-left {
    max-width: 300px;
  }
}

.review-item {
  display: flex;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--theme-border-color);
}

.review-item .item-left {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  font-size: 0;
}

.item-left img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.review-item .item-right {
  display: flex;
  flex: 1;
  flex-direction: column;
  margin-left: 20px;
  color: var(--theme-font-color);
}

.review-item .item-right a {
  margin-bottom: 8px;
  color: var(--theme-font-color);
  overflow: hidden;
}

.review-item .review-content {
  margin: 8px 0 8px;
  color: #666;
  font-size: 14px;
}

.item-bottom>span {
  display: inline-block;
  margin-right: 24px;
}

.review-unhelpful i {
  display: inline-block;
  transform: rotateX(180deg);
}

.item-bottom,
.item-bottom i {
  color: #666;
  font-size: 14px;
}

.no-items {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #666;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
}

.review-images {
  display: flex;
}

.review-image {
  position: relative;
  margin: 0 10px 8px 0;
  width: calc(16.66666666% - 8.33333333px);
  padding-bottom:calc(16.66666666% - 8.33333333px) ;
  font-size: 0;
  background: var(--img-background);
  background-size: var(--img-background-size);
  cursor: pointer;
}
.review-image .icon-play{
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  border-radius: 50%;
  background: rgb(251, 251, 251, .5);
  /* cursor: pointer; */
}
.review-image img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info>div {
  display: flex;
  flex-direction: column;
}

.product-info {
  display: flex;
}

.product-info img {
  display: none;
  margin-right: 12px;
  width: 80px;
  min-height: 80px;
}
/* reviews imgs detail */
.allreview-swiper-wrapper{
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 512;
  background: rgba(0, 0, 0, .5);
}
.allreview-detail-swiper{
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  justify-content: space-between;
  padding: 40px 20px;
  width: calc(100% - 50px);
  max-width: 600px;
  max-height: 90%;
  background-color: #fff;
  color: #333;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
 
}
.allreview-swiper-close{
  position: absolute;
  top: 16px;
  right: 16px;
  color: #333;
  cursor: pointer;
}
.allreview-detail-swiper img,.allreview-detail-swiper video{
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
#allreview-detail-swiper{
  width: 100%;
}
.allreview-detail-swiper .swiper-slide{
  padding-bottom:100%;
}
@media screen and (max-width: 767px) {
  #allreview-detail-swiper .iconfont{
    display: none;
  }
  .item-left {
    display: none;
  }
  .product-info img {
    display: inline-block;
  }
  .product-name {
    font-size: 14px;
  }
  .product-info .product-stars li {
    font-size: 14px;
  }
  .review-item .item-right {
    margin-left: 0;
  }
  .review-images {
    flex-wrap: wrap;
    margin-right: -12.5px;
  }
  .review-image {
    width: calc(25% - 10.5px);
    padding-bottom: 20%;
  }
}

@media screen and (min-width: 768px) {
  .review-image:last-child {
    margin-right: 0;
  }
}