@charset "UTF-8";

/* 产品详情页：左侧图库 + 右侧信息
 * 分栏沿用 product.css 中 .product-list 的 flex 写法，不额外引入 grid */
.single-product {
  gap: 60px;
  align-items: flex-start;
}

/* 1 */
.single-gallery-swiper,
.single-info {
  flex: 1;
  width: 100%;
  min-width: 0;
}

/* 左侧图库 */
.single-gallery-swiper {
  position: relative;
  z-index: 1;
  padding-bottom: 50px;
}

.single-gallery-swiper .swiper-pagination {
  bottom: 0;
}

.single-gallery-swiper .swiper-slide {
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, #e8f4fc 0%, #f6fbff 100%);
}

.single-gallery-swiper .swiper-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* 右侧信息 */
.single-info {
  padding-top: 10px;
}

@media (max-width: 768px) {
  .single-product {
    flex-direction: column;
    gap: 30px;
  }
}

.single-title h1 {
  font-size: 36px;
  color: #222;
  line-height: 1.25;
}

.single-title p {
  margin-top: 20px;
  color: #333;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .single-title h1 {
    font-size: 26px;
  }
}

.single-meta {
  margin-top: 50px;
}

.single-meta li {
  display: flex;
  padding: 14px 0;
  border-bottom: 1px solid #eee;
  font-size: 14px;
  line-height: 1.5;
}

.single-meta .item-label {
  flex: 0 0 160px;
  max-width: 160px;
  font-weight: 600;
  color: #222;
}

.single-meta .item-value {
  flex: 1;
  color: #555;
}

@media (max-width: 768px) {
  .single-meta li {
    flex-direction: column;
    gap: 4px;
  }
  .single-meta .item-label {
    flex-basis: auto;
    max-width: none;
  }
}

.single-tags {
  gap: 10px;
}

.single-tags .item-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  background: #eaeaea;
  font-size: 12px;
  border-radius: 30px;
}

.single-actions {
  gap: 15px;
}

.single-actions button {
  flex: 1;
}

/* 2 */
.single-blueprint {
  background-color: #fff;
}

.single-blueprint-swiper {
  position: relative;
  z-index: 1;
  padding-bottom: 50px;
}

.single-gallery-swiper .swiper-pagination {
  bottom: 0;
}

.single-blueprint-download {
  justify-content: center;
}

/* 3 */
.single-video {
  height: 100vh;
  align-items: center;
  justify-content: center;
}

.single-video-open {
  text-align: center;
}

.single-video-player {
  background-color: transparent;
  outline: none;
  border: none;
}

.single-video-player i {
  font-size: 4vw;
  color: #fff;
}

.single-video-open p {
  font-size: 24px;
  color: #fff;
}

.single-video-show video {
  max-width: 720px;
  background-color: #000;
}

.single-video-show video {
  display: block;
  width: 100%;
}

/* 质检流程 */
.single-process {
  background-color: #fff;
}

.single-process ul {
  margin: 60px 0 0;
  padding: 0;
  gap: 20px;
}

.single-process .item-process {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background-color: #f7f7f7;
}

.single-process .item-num {
  position: absolute;
  top: 26px;
  left: 26px;
  font-size: 14px;
  color: #999;
}

.single-process .item-icon {
  margin: 60px auto;
  width: 100px;
}

.single-process .item-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.single-process .item-title h3 {
  margin-top: 16px;
  text-align: center;
}

@media (max-width: 992px) {
  .single-process .item-process {
    flex: 1 1 40%;
  }
}

@media (max-width: 768px) {
  .single-process .item-process {
    flex: 1 1 100%;
  }
}

/* cases */
.single-cases ul {
  margin: 60px 0 0;
  padding: 0;
  gap: 40px;
}

.single-cases ul li {
  flex: 1 1 0;
}

.single-cases .item-poster {
  overflow: hidden;
}

.single-cases .item-poster img {
  display: block;
  width: 100%;
}

.single-cases h3 {
  margin-top: 16px;
  text-align: center;
}

@media (max-width: 768px) {
  .single-cases ul li {
    flex: 1 1 100%;
  }
}

/*  */
.single-creation-swiper {
  position: relative;
  z-index: 1;
  margin-top: 50px;
  padding: 0 60px;
}

.single-creation-ctrl {
  position: relative;
  z-index: 1;
  width: 130px;
  margin: 50px auto;
}

.single-creation-swiper .item-creation {
  padding: 30px 30px 50px;
  background-color: #fff;
}

.single-creation-swiper .item-creation h3 {
  font-size: 20px;
}

.single-creation-swiper .item-creation p {
  margin-top: 15px;
  color: #4d4d4d;
}

@media (max-width: 768px) {
  .single-creation-swiper {
    padding: 0 10px;
  }
}
