.shop-the-looks__grid {
  display: flex;
}

.shop-the-looks__grid--slider {
  display: flex;
  overflow: hidden;
  gap: 0;
}

.shop-the-looks__item {
  flex-shrink: 0;
  list-style: none;
}

.review-card {
  background: #fff;
  padding-left: calc(var(--grid-horizontal-space) * 0.5);
  padding-right: calc(var(--grid-horizontal-space) * 0.5);
  border-radius: 8px;

}

.review-card__image {
  margin-bottom: 1.5rem;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}

.review-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-fit: var(--image-fill-type, cover);
  object-position: var(--image-object-position, center center);
}

.review-card__placeholder,
.image-fallback {
  width: 100%;
  height: 100%;
  background: #f5f5f5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: #999;
  flex: 1;
}

.placeholder-text {
  margin-top: 10px;
  font-size: 14px;
}

.review-card__author {
  font-weight: 500;
  margin-top: 20px;
  margin-bottom: 4px;
  font-size: 24px;
  line-height: 1.4;
}

.review-card__content {
  font-weight: 400;
  font-size: 14px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  /* -webkit-line-clamp: 3; */
  overflow: hidden;
  height: auto;
  
}

.btn {
  font-size: 16px;
  text-decoration-line: underline;
  margin-top: 12px;
  font-weight: 500;
  line-height: 1.4;
}

.no-content {
  color: #999;
  font-style: italic;
}

.review-card__button {
  width: 100%;
  padding: 0.75rem;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  display: block;
  text-align: center;
  font-weight: bold;
  transition: background 0.3s ease;
}

.review-card__button:hover {
  background: #333;
  color: #fff;
  text-decoration: none;
}

.no-blocks-message {
  text-align: center;
  padding: 40px 20px;
}

.no-blocks-content {
  background: #f9f9f9;
  padding: 40px;
  border-radius: 8px;
  max-width: 600px;
  margin: 0 auto;
}

.no-blocks-content h3 {
  margin-bottom: 15px;
  color: #333;
}

.debug-tips {
  margin-top: 20px;
  text-align: left;
  background: #fff;
  padding: 20px;
  border-radius: 6px;
  border-left: 4px solid #000;
}

.debug-tips ul {
  margin-top: 10px;
  padding-left: 20px;
}

.debug-tips li {
  margin-bottom: 8px;
  color: #666;
}

@media (max-width: 959px) {
  .shop-the-looks__grid {
    grid-template-columns: repeat(var(--mobile-columns), 1fr);
  }

  .shop-the-looks__grid--mobile-slider {
    display: flex;
    overflow: hidden;
    gap: 0;
  }

  .review-card {
    padding-left: calc(var(--grid-horizontal-space) * 0.5);
    padding-right: calc(var(--grid-horizontal-space) * 0.5);
  }

  .review-card__image {
    aspect-ratio: 1/1;
  }

  .no-blocks-content {
    padding: 20px;
  }
}

@media screen and (min-width: 960px) {
  .grid-cols-4-desktop>* {
    flex: 0 0 auto;
    width: 25%;
  }

}

/* 滑块样式 */
.slider-buttons {
  display: flex;
  justify-content: center;
  /* margin-top: 2rem;
  gap: 1rem; */
}

.slider-button {
  /* background: #fff;
  border: 1px solid #ddd;
  border-radius: 50%;
  width: 44px;
  height: 44px; */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-button:hover {
  /* background: #000; */
  /* border-color: #000; */
  /* color: #fff; */
}

.image-with-text__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

@media screen and (max-width: 959px) {
  .shop-the-looks__item {
    width: calc(100% / (var(--mobile-columns) + 0.5) + 1%);
  }
  .review-card__author{
    font-size: 14px;
    margin-top: 8px;
    margin-bottom: 4px;
  }
  .review-card__content{
    font-size: 11px;
    line-height: 17px;
  }
  .btn{
    font-size: 12px;
  }
}

.section-padding {
  padding-top: 40px ;
  padding-bottom: 40px ;
}

.imageShow {
  flex: 1;
  /* position:relative; */
  /* width: 100%;
  height: 100%; */
}
.shop_video_container .imageShow>img,.imageShow>svg{
  border-radius: 20px 20px 20px 20px;
}
.shop_video_container .imageShow .play_wrap,
.video_common_wrap .imageShow .play_wrap{
  width: 72px;
  height: 72px;
  border-radius: 50%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  background: rgba(0, 0, 0, 0.2);
  z-index: 999;
}
.shop_video_container .play_wrap:hover,
.video_common_wrap .play_wrap:hover,
.shop_video_container .shop_wrap:hover,
.video_common_wrap .shop_wrap:hover{
  cursor: pointer;
}

.shop_video_container .imageShow .play_wrap svg,
.video_common_wrap .imageShow .play_wrap svg{
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  padding-left: 5px;
}
.shop_video_container .imageShow .shop_wrap,
.video_common_wrap .imageShow .shop_wrap{
  width: 48px;
  height: 48px;
  border-radius: 50%;
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.2);
}

.shop_video_container .imageShow .shop_wrap svg{
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

.shop_video_container .swiper{
  width: 100%;
  /* height: 300px; */
}
.shop_video_container .swiper-slide {
  width: 25%;
  /* aspect-ratio: 1 / 2; */
}
/* .swiper-slide>img{
  width: 100%;
  height: 100%;
} */
.featured-collection{
  width: 100%;
  overflow: hidden;
}
.shop_video_container .modal-container,
.video_common_wrap .modal-container{
  display: none;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s ease, opacity 0.3s ease;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 100001;
  width: 100%;
  height: 100%;
}
/* 确保推荐产品不会显示在弹窗上方 */
.product-recommend .product-item-swiper-list .swiper-box {
  z-index: auto !important;
}
.modal_mask{
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.5); /* 半透明背景 */
    backdrop-filter: blur(8px); /* 背景模糊效果 */
    -webkit-backdrop-filter: blur(8px); /* Safari兼容 */
    transition: opacity  .3s ease-out;
    z-index: 100000;
}
.modal_main_wrap {
  width: 1200px;
  height: 650px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 100001;
}
.modal_main_wrap .wrap{
  width: 1200px;
  height: 650px;
  padding:0;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.video_container{
  width: 100%;
  height: 100%;
  opacity: 1;

}
.video-swiper-prev{
  width: 42px;
  height: 42px;
  background: #212121;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
}
.video-swiper-prev:hover {
  cursor: pointer;
}
.video-swiper-next{
  width: 42px;
  height: 42px;
  background: #212121;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
}
.video-swiper-next:hover {
  cursor: pointer;
}
.modal-container .swiper-slide{
  width: 380px;
  height: auto;
  border-radius: 4px 4px 4px 4px;
  transform-origin: center center;
  transition: all 0.3s ease;
}

.modal-container .swiper-slide>img{
  width: 100%;
  height: 100%;
}

/* 视频遮罩层 - 阻止非激活 slide 的点击 */
.modal-container .swiper-slide .video-click-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 10;
  cursor: default;
}

/* 激活的 slide 隐藏遮罩层 */
.modal-container .swiper-slide-active .video-click-mask {
  display: none;
}

.modal-container video{
  width: 100%;
  height: auto;
  border-radius: 8px 8px 8px 8px;
  /* 让视频内容填满容器，裁剪溢出部分以保持比例 */
  object-fit: cover;
  /* 默认禁用所有视频的点击 */
  pointer-events: none;
}
/* 只在激活的 slide 中启用视频控制 */
.modal-container .swiper-slide-active video {
  pointer-events: auto;
}
/* 确保视频控制条可见和可交互 */
.modal-container video::-webkit-media-controls-panel {
  pointer-events: auto !important;
}
.modal-container video::-webkit-media-controls {
  pointer-events: auto !important;
}
.modal-container .close_button{
    position: absolute;
    right: 24px;
    top: 0px;
    background: #212121;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}
.modal-container .close_button:hover {
  cursor: pointer;
}
.swiper-button-prev,.swiper-button-next{
  color: #fff;
}


.video_main_wrap{
  width: 380px;
  height: auto;
  border-radius: 8px 8px 8px 8px;
  position: relative;
}
.video_wrap{
  width: 380px;
  height: auto;
  border-radius: 8px 8px 8px 8px;
}
.product_main_wrap{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 70px;
  width: 230px;
  height: 100px;
  background: #D9D9D9;
  border-radius: 8px 8px 8px 8px;
}
.product_main_wrap .swiper{
  width: 100%;
  height: 100%;
}
.item_main_wrap{
  display: flex;
}
.left_wrap{
  width: 75px;
  height: 100px;
}
.left_wrap img{
  width: 100%;
  height: 100%;
  border-radius: 8px 8px 8px 8px;
}
.right_wrap{
  width: 145px;
  height: 100px;
  padding: 12px;
  box-sizing: border-box;
}
.right_wrap .title{
  width: 128px;
  height: 27px;
  font-weight: 500;
  font-size: 14px;
  color: #000000;
  line-height: 19px;
  text-align: left;
  font-style: normal;
  text-transform: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.right_wrap .show_button{
  width: 87px;
  height: 24px;
  background: #000000;
  border-radius: 2px 2px 2px 2px;
  font-weight: 500;
  font-size: 12px;
  color: #FFFFFF;
  line-height: 36px;
  text-align: left;
  font-style: normal;
  text-transform: none;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 4px;
}
.right_wrap .show_button:hover{
  color: #000000;
  background: #fff;
}
.right_wrap .price .price__sale{
  align-items: flex-end;
  flex-wrap: nowrap;
  flex-direction: row-reverse;
}
.right_wrap .price span{
  text-wrap: nowrap;
}
.right_wrap span.fw-bold.price-item.price-item--sale{
  font-size: 16px;
  line-height: 1;
  color: #000000;
}
.right_wrap span.price-product.fw-bold.price-item--regular{
  font-size: 14px;
  line-height: 1;
  color: #6D6D6D;
  display: none;
}
.product_main_wrap .swiper-container{
  width: 100%;
}
.product_main_wrap .swiper-wrapper{
  width: 100%;
}
.product_main_wrap .swiper-wrapper{
  width: 100%;
}
.product_main_wrap .swiper-slide{
  position: relative; /* 保证伪元素定位参考 */
  overflow: hidden;
}
.swiper-slide.slide-dimmed::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5); /* 50% 透明黑色蒙版 */
  pointer-events: none;
  z-index: 20;
  border-radius: inherit;
}
.outside_swiper_wrap{
  /* width: calc(100% - 100px); */
  /* padding-right: calc(100% / (var(--desktop-columns) + 0.5) + 1%); */
}

.outside_swiper_wrap>.swiper-slide{
  /* margin-left: 10px; */
  margin-right: 8px !important;
}
.outside_swiper_wrap .swiper-slide:first-child {
    /* 样式 */
  margin-left: 0;
}
.outside_swiper_wrap .swiper-slide:last-child {
    /* 样式 */
  margin-right: 0;
}

@media (max-width: 959px) {
  .outside_swiper_wrap .swiper-slide {
    width: calc(100% / (var(--mobile-columns) + 0.5) + 1%);
  }
  .shop_video_container .imageShow .play_wrap,
  .video_common_wrap .imageShow .play_wrap{
    width: 44px;
    height: 44px;
    border-radius: 50%;
  }
  
  .shop_video_container .imageShow .play_wrap svg,
  .video_common_wrap .imageShow .play_wrap svg{
    width: 20px;
  }
  .shop_video_container .imageShow .shop_wrap{
    width: 34px;
    height: 34px;
    top: 10px;
    right: 10px;
  }
  .shop_video_container .imageShow .shop_wrap svg{
    width: 13px;
  }
  .modal-container{
    height: 100vh;
  }
  .modal_main_wrap {
    width: 100%;
    height: 100%;
  }
  .modal_main_wrap .wrap{
    width: 100%;
    height: 100%;
    padding: 0;
  }
  .modal-container .swiper-slide{
    width: 100%;
    height: 100%;
  }
  .video-swiper-prev{
    width: 39px;
    height: 39px;
    left: 15px;
  }
  .video-swiper-next{
    width: 39px;
    height: 39px;
    right: 15px;
  }
  .modal-container .close_button{
    width: 39px;
    height: 39px;    
    right: 20px;
    top: 100px;
  }
  .video_main_wrap{
    width: 100%;
    height: 100%;
  }
  .video_wrap{
    width: 100%;
    height: 100%;
  }
  .modal-container video{
    border-radius: 0;
  }
  .imageShow{
    height: 100%;
  }
}

.video_in_detail_page .featured-collection__title_container{
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

.video_in_detail_page .featured-collection{
  padding: 0!important;
}
.video_in_detail_page .featured-collection__title{
  font-weight: 600;
  font-size: 17px;
  color: #000000;
  text-align: left;
  font-style: normal;
  text-transform: none;
}
.video_in_detail_page .featured-collection__title_container{
  margin-bottom: 0;
}
.video_in_detail_page .shop_wrap{
  display: none;
}
.video_in_detail_page .imageShow .play_wrap{
  width: 55px;
  height: 55px;
}
.video_in_detail_page .slider-button svg{
  width: 9px;  
  height: 16px;
}
.video_in_detail_page .featured-collection__title-group{
  margin-bottom: 15px;
}

.video_in_detail_page {
  padding: 15px;
  background: #FFFFFF;
  border-radius: 8px 8px 8px 8px;
}
.video_in_detail_page .imageShow img{
  border-radius: 8px 8px 8px 8px;
}
@media (max-width: 959px) {
  .video_in_detail_page {
    background: #FFFFFF;
    border-radius: 4px 4px 4px 4px;
  }
  
  .video_in_detail_page .imageShow img{
    border-radius: 4px;
  }
  .video_in_detail_page .featured-collection__title-group{
    margin-bottom: 12px;
  }
}