:root {
  --qing-goods-center-title-size: 36px;
  --qing-goods-center-sub-title-size: 22px;
  --qing-goods-center-type-size: 24px;
  --qing-goods-center-text-size: 20px;
  --qing-goods-center-pd: 70px 96px;
}

.zhiqing-goods-center {
  /*padding: var(--qing-goods-center-pd);*/
  background: #f9f9f9;
}
.zhiqing-goods-center .tit {
  display: -webkit-flex;
  display: flex;
  flex-wrap: wrap;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-align-items: center;
  align-items: center;
}
.zhiqing-goods-center .tit h3 {
  font-size: var(--qing-goods-center-title-size);
  color: var(--title-text-color);
  line-height: 1;
  font-family: var(--title-font-family);
  padding: 10px 0;
}
.zhiqing-goods-center .tit ul {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  display: none;
}
.zhiqing-goods-center .tit ul li {
  font-size: var(--qing-goods-center-sub-title-size);
  color: var(--color-primary);
  font-family: var(--title-font-family);
}
.zhiqing-goods-center .tit ul li:not(:last-child)::after {
  content: "/";
  text-align: center;
  font-size: var(--qing-goods-center-sub-title-size);
  margin: 0 2px;
  color: var(--color-primary);
}
.zhiqing-goods-center .list {
  margin: 42px -5px 0;
  position: relative;
}
.zhiqing-goods-center .swiper-slide {
  padding: 5px;
}
.zhiqing-goods-center .swiper-slide .box {
  border: 1px solid transparent;
}

.zhiqing-goods-center .swiper-slide:hover .box {
  background: #fff;
  border-color: var(--color-primary);
}

.zhiqing-goods-center .swiper-slide .pic {
  display: block;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.zhiqing-goods-center .swiper-slide .pic > img {
  width: 100%;
  display: block;
  transition: transform 0.5s;
  -webkit-transition: transform 0.5s;
}
.zhiqing-goods-center .swiper-slide .pic em {
  font-size: var(--qing-goods-center-type-size);
  color: var(--color-primary);
  position: absolute;
  left: 24px;
  top: 24px;
}
.zhiqing-goods-center .swiper-slide .txt {
  text-align: center;
  padding: 0 50px 35px;
}
.zhiqing-goods-center .swiper-slide .txt h5 {
  font-size: var(--qing-goods-center-text-size);
  color: #555;
  line-height: 1.5;
  overflow: hidden;
  font-family: var(--title-font-family);
  -webkit-transform: translateY(10px);
  -ms-transform: translateY(10px);
  transform: translateY(10px);
  transition: transform 0.5s;
  -webkit-transition: transform 0.5s;
}

.zhiqing-goods-center .swiper-slide .txt h5 a {
  line-height: 1.5;
}

.zhiqing-goods-center .swiper-slide .txt .more {
  margin-top: 20px;
  background: var(--color-primary);
  font-family: var(--title-font-family);
  border-radius: var(--button-radius);
  line-height: 40px;
  padding: 0 30px;
  display: inline-block;
  font-size: var(--qing-goods-center-text-size);
  color: #fff;
  text-transform: uppercase;
  transition: transform 0.5s;
  opacity: 0;
  -ms-transform: translateY(10px);
  transform: translateY(10px);
  opacity: 0;
}
.zhiqing-goods-center .swiper-pagination-bullets {
  position: static;
  font-size: 0;
  width: 100%;
  margin: 50px 0 0;
  display: none;
}
.zhiqing-goods-center .swiper-pagination-bullet {
  width: 20px;
  height: 20px;
  margin: 0 5px;
  background: transparent;
  border: 1px solid #9a9a9a;
  border-radius: 50%;
  opacity: 1;
}
.zhiqing-goods-center .swiper-pagination-bullet-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

@media screen and (min-width: 768px) {
  .zhiqing-goods-center .tit ul {
    -webkit-justify-content: center;
    justify-content: center;
  }
  .zhiqing-goods-center .list {
    margin: 30px 0 0;
  }

  .zhiqing-goods-center .swiper-slide:hover > img {
    transform: scale(1.05);
  }
  .zhiqing-goods-center .swiper-slide:hover .txt {
    opacity: 1;
  }
  .zhiqing-goods-center .swiper-slide:hover .txt h5 {
    color: #000;
    -ms-transform: translateY(0);
    transform: translateY(0);
  }
  .zhiqing-goods-center .swiper-slide:hover .txt .more {
    opacity: 1;
    -ms-transform: translateY(0);
    transform: translateY(0);
  }
  .zhiqing-goods-center .swiper-pagination-bullets {
    display: block;
  }
  .zhiqing-goods-center .swiper-pagination-bullets {
    margin: 30px 0 0;
  }
  .zhiqing-goods-center .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
  }
}

@media screen and (max-width: 1500px) {
  :root {
    --qing-goods-center-title-size: 32px;
    --qing-goods-center-sub-title-size: 20px;
    --qing-goods-center-type-size: 22px;
    --qing-goods-center-text-size: 18px;
    --qing-goods-center-pd: 70px 80px;
  }
}

@media screen and (max-width: 1280px) {
  :root {
    --qing-goods-center-title-size: 28px;
    --qing-goods-center-sub-title-size: 18px;
    --qing-goods-center-type-size: 20px;
    --qing-goods-center-text-size: 16px;
    --qing-goods-center-pd: 70px 64px;
  }

  .zhiqing-goods-center .swiper-slide .txt {
    padding: 0 30px 25px;
  }
  .zhiqing-goods-center .swiper-slide .txt .more {
    padding: 0 30px;
  }
}


@media screen and (max-width: 992px) {
  :root {
    --qing-goods-center-title-size: 24px;
    --qing-goods-center-sub-title-size: 14px;
    --qing-goods-center-type-size: 18px;
    --qing-goods-center-text-size: 14px;
  }
}

@media screen and (max-width: 768px) {
  :root {
    --qing-goods-center-title-size: 24px;
    --qing-goods-center-sub-title-size: 14px;
    --qing-goods-center-type-size: 14px;
    --qing-goods-center-text-size: 14px;
    --qing-goods-center-pd: 70px 32px;
  }
}

@media screen and (max-width: 576px) {
  :root {
    --qing-goods-center-title-size: 24px;
    --qing-goods-center-sub-title-size: 14px;
    --qing-goods-center-type-size: 14px;
    --qing-goods-center-text-size: 14px;
    --qing-goods-center-pd: 70px 20px;
  }
}




@media screen and (max-width: 1367px) {
  .zhiqing-goods-center .swiper-slide .txt p {
    margin-top: 25px;
    line-height: 27px;
    font-size: 17px;
  }
  .zhiqing-goods-center .swiper-pagination-bullet {
    width: 16px;
    height: 16px;
    margin: 0 3px;
  }
}


@media screen and (max-width: 992px) {
  .zhiqing-goods-center h3 {
    font-size: 36px;
  }
  .zhiqing-goods-center .list {
    margin: 40px 0 0;
  }
  .zhiqing-goods-center .swiper-slide .txt {
    top: auto;
    padding: 15px 10px;
    opacity: 1;
  }
  .zhiqing-goods-center .swiper-slide .txt h5 {
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
    min-height: 50px;
  }
  .zhiqing-goods-center .swiper-slide .txt h5::after,
  .zhiqing-goods-center .swiper-slide .txt p {
    display: none;
  }
  .zhiqing-goods-center .swiper-pagination-bullets {
    margin: 40px 0 0;
  }
}

@media screen and (max-width: 768px) {
  .zhiqing-goods-center .tit {
    display: block;
    text-align: center;
  }
  .zhiqing-goods-center .tit ul {
    -webkit-justify-content: center;
    justify-content: center;
  }
  .zhiqing-goods-center .swiper-slide .box {
    border: 1px solid var(--color-primary);
  }
  .zhiqing-goods-center .swiper-slide .txt .more {
    -ms-transform: none;
    transform: none;
    opacity: 1;
  }
  .zhiqing-goods-center .list {
    margin: 30px 0 0;
  }
  .zhiqing-goods-center .swiper-pagination-bullets {
    display: block;
  }
  .zhiqing-goods-center .swiper-pagination-bullets {
    margin: 30px 0 0;
  }
  .zhiqing-goods-center .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
  }
}

@media screen and (max-width: 600px) {
  .zhiqing-goods-center h3 {
    font-size: 28px;
  }
}

@media screen and (max-width: 480px) {
  .zhiqing-goods-center .tit ul li {
    font-size: 14px;
  }
  .zhiqing-goods-center .tit ul li:not(:last-child)::after {
    font-size: 16px;
  }
  .zhiqing-goods-center .swiper-pagination-bullets {
    display: block;
  }
}

@media screen and (max-width: 400px) {
  .zhiqing-goods-center ul li h5 {
    font-size: 40px;
  }
}
