/* 产品分类页Banner介绍 */
.scc-product-category-container {
  position: relative;
}

.scc-product-category-container .swiper-text-navigation {
  position: absolute;
  display: flex;
  top: 31.5rem;
  width: 100%;
}

.scc-product-category-container .main-home-swiper .swiper-slide {
  position: relative;
  background-color: #d9d9d9;
  padding: 2rem 3.3rem 3.4rem;
}

.scc-product-category-container .swiper-slide .swiper-slide-blur {
  height: 32.9rem;
  object-fit: cover;
  border-radius: 4.6rem;
  box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 10%);

  /* 不平铺 */
  background-size: cover;
}

.scc-product-category-container .swiper-slide .swiper-slide-blur > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4.6rem;
  box-shadow: 0 0.5rem 1rem rgb(0 0 0 / 10%);
}

.scc-product-category-container
  .swiper-slide
  .swiper-slide-blur
  .scc-banner-mask {
  background-color: #ffffffa3;
  height: 21.8rem;
  padding: 4.4rem 1.3rem 3.4rem;
  text-align: center;
}

.scc-product-category-container
  .swiper-slide
  .swiper-slide-blur
  .scc-banner-mask
  h1 {
  font-family: Exo, sans-serif;
  font-weight: 600;
  font-size: 3.2rem !important;
  line-height: 3.2rem;
  text-align: center;
  color: var(--scc-color-text-primary);
  margin-bottom: 1.2rem;

  /* 文字阴影 */
  text-shadow: 2px 2px 5px rgb(0 0 0 / 50%);
}

.scc-product-category-container
  .swiper-slide
  .swiper-slide-blur
  .scc-banner-mask
  .scc-category-mask-spec {
  font-weight: 500;
  font-size: 1.6rem;
  line-height: 2.4rem;
  color: var(--scc-color-text-secondary);
}

.scc-product-category-container
  .swiper-slide
  .swiper-slide-blur
  .scc-banner-mask
  .scc-category-mask-spec
  > a {
  color: var(--scc-color-primary);
}

.scc-product-category-container
  .swiper-text-navigation
  .main-home-navigation
  .swiper-slide {
  white-space: normal;
  text-align: center;
  width: 20rem;
  height: 4.8rem !important;
  background-color: var(--scc-color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 0.1rem solid var(--scc-color-light-gray);
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--scc-color-text-primary);
}

.scc-product-category-container
  .swiper-text-navigation
  .main-home-navigation
  .swiper-slide-thumb-active {
  color: var(--scc-color-primary);
}

.scc-product-category-container
  .swiper-text-navigation
  .main-home-navigation
  .active::after {
  content: '';
  position: absolute;
  bottom: 0; /* 定位在 li 的底部 */
  left: 0;
  width: 100%;
  height: 0.3rem; /* 下划线粗细 */
  background-color: var(--scc-color-primary);
  border-radius: 0.5rem;
  transition: width 0.3s ease;
}

.scc-product-category-container
  .swiper-text-navigation
  .main-home-navigation
  .navigation-link {
  /* color: var(--scc-color-primary); */
  font-size: var(--scc-font-body-size);
  font-weight: 400;
}

.scc-product-category-container
  .swiper-text-navigation
  .main-home-navigation
  .active {
  color: var(--scc-color-primary);
}

.scc-product-category-container
  .swiper-slide
  .swiper-slide-blur
  .scc-home-banner-content {
  width: 120rem;
  padding: 2.2rem 0;
  margin: 0 auto;
}

.scc-product-category-container
  .swiper-slide
  .swiper-slide-blur
  .scc-home-banner-content
  .banner-content-title {
  font-family: Exo, sans-serif;
  font-weight: 600;
  font-size: 4.8rem !important;
  color: var(--scc-color-white);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 100%;
  text-overflow: ellipsis;
}

.scc-product-category-container
  .swiper-slide
  .swiper-slide-blur
  .scc-home-banner-content
  .banner-content-spec {
  font-weight: 400;
  font-size: 2rem;
  color: var(--scc-color-white);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  line-height: 100%;
  text-overflow: ellipsis;
}

@media screen and (width <= 768px) {
  /* 产品分类页Banner介绍 */
  .scc-product-category-container .main-home-swiper .swiper-slide {
    height: 100%;
    padding: 1.1rem 0.7rem 3.2rem;
  }

  .scc-product-category-container
    .swiper-slide
    .swiper-slide-blur
    .scc-home-banner-content {
    width: 34.3rem;
  }

  .scc-product-category-container
    .swiper-slide
    .swiper-slide-blur
    .scc-banner-mask {
    height: 37.9rem;
    border-radius: 2rem;
    padding: 4.6rem 1.1rem;
  }

  .scc-product-category-container .swiper-slide .swiper-slide-blur {
    height: 50.6rem;
    border-radius: 2rem;
  }

  .scc-product-category-container
    .swiper-slide
    .swiper-slide-blur
    .scc-banner-mask
    .scc-category-mask-spec {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 9;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .scc-product-category-container .swiper-text-navigation {
    top: 42.3rem;
  }

  .scc-product-category-container .swiper-text-navigation .swiper-wrapper {
    flex-wrap: wrap;
    gap: 1.1rem 0.7rem;
    display: grid;

    /* 2 */
    grid-template-columns: repeat(2, 1fr);
  }

  .scc-product-category-container
    .swiper-text-navigation
    .main-home-navigation
    .navigation-link {
    white-space: wrap;
    text-align: center;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .scc-product-category-container
    .swiper-text-navigation
    .main-home-navigation
    .swiper-slide {
    width: 16.7rem;
  }
}
