.runfeng_goods_type {
  padding: var(--content-gap) 0;
  position: relative;
  overflow: hidden;
}

.runfeng_goods_type_images {
  width: 660px;
  aspect-ratio: 660/916;
}

.runfeng_goods_type_images .goods-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.runfeng_goods_type_images .goods-image.active {
  display: block;
}


.runfeng_goods_type_content {
  width: calc(100% - 500px);
  position: absolute;
  right: 0;
  top: calc(var(--content-gap) + var(--content-gap-md));
}

.runfeng_goods_type_header_title {
  color: var(--title-text-color);
  font-size: var(--title-size-h1);
  font-weight: 700;
  line-height: 1.52;
  
  padding-left: calc(160px + var(--text-gap-md)*2);
}

.runfeng_goods_type_list_wrapper {
  width: 100%;
  overflow: hidden;
}

.runfeng_goods_type_list {
  width: 1420px;
  margin-top: calc(var(--text-gap-lg) * 2);
  padding-right: 20px !important;
}

.runfeng_goods_type .swiper-pagination-bullets.swiper-pagination-horizontal {
  bottom: -100px !important;
  width: fit-content !important;
  left: calc(160px + var(--text-gap-md)*2 + var(--content-gap-lg)) !important;
}

.runfeng_goods_type .swiper-pagination .swiper-pagination-bullet {
  background: rgba(40, 40, 40, 0.2);
}

.runfeng_goods_type .swiper-pagination .swiper-pagination-bullet-active {
  background: rgba(40, 40, 40, 1);
}

.runfeng_goods_type_list .runfeng_goods_type_item_content {
  display: none;
}

.runfeng_goods_type_list .swiper-slide {
  aspect-ratio: 2 / 3;
}

.runfeng_goods_type_list .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.runfeng_goods_type_list .runfeng_goods_type_item_title {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 0 var(--text-gap-lg) var(--text-gap-md);
  display: flex;
  flex-wrap: wrap;
  align-content: flex-end;
  justify-content: center;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 58.13%, rgba(0, 0, 0, 0.40) 93.54%);
  color: #FFF;
  font-family: var(--title-font-family);
  font-size: var(--title-size-h6);
  font-weight: 700;
  line-height: 1.5;
  
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.runfeng_goods_type_list .swiper-slide-active img,
.runfeng_goods_type_list .swiper-slide-active .runfeng_goods_type_item_title {
  display: none;
}

.runfeng_goods_type_list .swiper-slide .runfeng_goods_type_item_content {
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: var(--text-gap-md) var(--text-gap-lg);
  border: 1px solid #FFF;
  background: rgba(255, 255, 255, 0.80);
  box-shadow: 0 4px 4px 0 rgba(4, 4, 4, 0.10);
  backdrop-filter: blur(10px);
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.runfeng_goods_type_list .swiper-slide-active .runfeng_goods_type_item_content {
  display: flex;
}

.runfeng_goods_type_item_content_title {
  color: var(--title-text-color);
  text-align: center;
  font-family: var(--title-font-family);
  font-size: var(--title-size-h3);
  font-weight: 700;
  line-height: 1;
  -webkit-box-orient: vertical;
}

.runfeng_goods_type_item_content_desc {
  margin-top: calc(var(--text-gap-md) / 2);
}

.runfeng_goods_type_item_content_desc,
.runfeng_goods_type_item_content_desc p {
  color: rgba(40, 40, 40, 0.70);
  text-align: center;
  font-size: var(--text-size);
  font-weight: 400;
  line-height: 1.5;
  word-break:keep-all;
  height: calc(var(--text-size) * 1.5 * 3);
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  /* word-break: break-all; */
}

.runfeng_goods_type .runfeng-btn2 {
  margin-top: var(--text-gap);
}
html[dir="rtl"] .runfeng_goods_type_content{
  right: auto;
  left: 0;
}
@media screen and (max-width: 1500px) {
  .runfeng_goods_type .swiper-pagination .swiper-pagination-bullet {
    width: 80px !important;
  }

  .runfeng_goods_type .swiper-pagination-bullets.swiper-pagination-horizontal {
    left: calc(160px + var(--text-gap-md)*2) !important;
    bottom: -80px !important;
  }

  .runfeng_goods_type_images {
    width: 600px;
  }

  .runfeng_goods_type_content {
    width: calc(100% - 440px);
  }
}

@media screen and (max-width: 1280px) {
  .runfeng_goods_type .swiper-pagination .swiper-pagination-bullet {
    width: 60px !important;
  }
}

@media screen and (max-width: 1200px) {
  .runfeng_goods_type_images {
    width: 540px;
  }

  .runfeng_goods_type_content {
    width: calc(100% - 380px);
  }
}


@media screen and (max-width: 992px) {

  .runfeng_goods_type_content,
  .runfeng_goods_type_list {
    width: 100%;
    position: relative;
    top: 0;
  }

  .runfeng_goods_type .swiper-pagination .swiper-pagination-bullet {
    width: 90px !important;
  }

  .runfeng_goods_type_content {
    padding-bottom: 60px;
  }

  .runfeng_goods_type_list {
    padding-right: 0 !important;
  }

  .runfeng_goods_type .swiper-pagination-bullets.swiper-pagination-horizontal {
    left: 0 !important;
    width: 100% !important;
    bottom: 0px !important;
  }

  .runfeng_goods_type_header_title {
    padding-left: var(--page-padding);
  }

  .runfeng_goods_type_list .swiper-slide-active img {
    display: block;
  }

  .runfeng_goods_type_list .swiper-slide .runfeng_goods_type_item_content {
    display: flex;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.40) 6.82%, rgba(0, 0, 0, 0.00) 30.16%), rgba(0, 0, 0, 0.20);
    backdrop-filter: blur(0px);
  }

  .runfeng_goods_type_list .swiper-slide .runfeng_goods_type_item_title {
    display: none;
  }

  .runfeng_goods_type_item_content_title,
  .runfeng_goods_type_item_content_desc,
  .runfeng_goods_type_item_content_desc p,
  .runfeng_goods_type .runfeng-btn2 {
    color: #fff !important;
  }

  .runfeng_goods_type .runfeng-btn2 svg path {
    fill: #fff !important;
  }

  .runfeng_goods_type .runfeng-btn2:hover::after {
    background: #fff !important;
  }
}

@media screen and (max-width: 768px) {
  .runfeng_goods_type .swiper-pagination .swiper-pagination-bullet {
    width: 60px !important;
  }
}

@media screen and (max-width: 576px) {
  .runfeng_goods_type .swiper-pagination .swiper-pagination-bullet {
    width: 40px !important;
  }
}

@media screen and (max-width: 480px) {
  .runfeng_goods_type .swiper-pagination .swiper-pagination-bullet {
    width: 30px !important;
  }
}