/* 全局变量（和你全站保持一致） */
:root {
  --primary-color: #e25303;
  --second-color: #e25303;
  --text-dark: #212121;
  --text-gray: #666;
  --bg-light: #f9f9f9;
  --card-radius: 12px;
  --card-shadow: 0 3px 15px rgba(0,0,0,0.06);
  --card-hover-shadow: 0 8px 22px rgba(0,0,0,0.1);
  --transition: all 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.arshine-rela-pro {
  padding: 0 0  80px 0;
  background: #fff;
}

.arshine-rela-pro h3 {
  font-size: clamp(24px, 1.67vw, 32px);
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.2;
  text-align: center;
  margin: 0 0 20px;
  position: relative;
}

.arshine-rela-pro h3::after {
  content: "";
  background: var(--primary-color);
  width: 50px;
  height: 4px;
  border-radius: 2px;
  margin: 18px auto 0;
  display: block;
}

.arshine-rela-pro .list {
  margin: 50px 0 0;
  position: relative;
}

/* 产品卡片 */
.arshine-rela-pro .swiper-slide {
  height: auto;
}

.arshine-rela-pro .swiper-slide .pic {
  display: block;
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
  transition: var(--transition);
}

.arshine-rela-pro .swiper-slide .pic > img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* 文字区域 */
.arshine-rela-pro .swiper-slide .txt {
  margin-top: 20px;
  text-align: center;
  padding: 0 5px;
}

.arshine-rela-pro .swiper-slide .txt h6 {
  font-size: 16px;
  color: var(--text-dark);
  font-weight: 500;
  margin: 0;
}

.arshine-rela-pro .swiper-slide .txt h6 a {
  display: block;
  line-height: 1.5;
  height: auto;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
  text-transform: capitalize;
  font-size: clamp(14px, 0.94vw, 18px);
  color: #333;
}

/* ===================== 悬浮动效（核心升级） ===================== */
.arshine-rela-pro .swiper-slide:hover .pic {
  box-shadow: var(--card-hover-shadow);
  transform: translateY(-6px);
}

.arshine-rela-pro .swiper-slide:hover .pic > img {
  transform: scale(1.08);
}

.arshine-rela-pro .swiper-slide:hover .txt h6 a {
  color: var(--primary-color);
}

/* 轮播指示器 */
.arshine-rela-pro .swiper-pagination {
  position: static;
  width: 100%;
  margin-top: 35px;
}

.arshine-rela-pro .swiper-pagination-bullet {
  height: 10px;
  width: 10px;
  margin: 0 6px;
  background: #ddd;
  border-radius: 50%;
  opacity: 1;
  transition: var(--transition);
}

.arshine-rela-pro .swiper-pagination-bullet-active {
  background: var(--primary-color);
  transform: scale(1.2);
}

/* ===================== 响应式 ===================== */

@media screen and (max-width: 992px) {
  .arshine-rela-pro {
    padding: 50px 0;
  }

}

@media screen and (max-width: 768px) {
  .arshine-rela-pro {
    padding: 40px 0;
  }

  .arshine-rela-pro .list {
    margin: 30px 0 0;
  }
  .arshine-rela-pro .swiper-slide .txt {
    margin-top: 15px;
  }
  .arshine-rela-pro .swiper-slide .txt h6 {
    font-size: 15px;
  }
}

