.bra-banner {
  width: 100%;
  height: 220px;
  background-color: #010101;
  /* opacity: 0.9; */
  transition: transform 0.8s ease;
}

.bra-banner:hover {
  transform: scale(1.1); /* 鼠标悬停时放大 */
}

.pro-banner-box {
  position: relative;
  height: 220px;
  overflow: hidden;
}
.pro-banner-box .prof-field{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 948px;
}

.pro-banner-box div {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.pro-banner-box p {
  color: #fff;
  font-family: SourceHanSansSC-Regular;
  font-size: 16px;
  font-weight: normal;
  font-stretch: normal;
  line-height: 24px;
  letter-spacing: 0px;
}

.title {
  text-align: center;
  height: 140px;
}
.title h3 {
  padding-top: 52px;
  font-family: SourceHanSansSC-Regular;
  font-size: 24px;
  font-weight: normal;
  font-stretch: normal;
  line-height: 24px;
  letter-spacing: 0px;
  color: #333333;
}

.title p {
  font-family: SourceHanSansSC-Regular;
  font-size: 14px;
  font-weight: normal;
  font-stretch: normal;
  line-height: 24px;
  letter-spacing: 0px;
  color: #666666;
  margin-top: 18px;
}

.container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.scroll-container {
  position: relative;
  width: 100%;
  margin-top: 20px;
}

.box-container {
  width: 1030px; /* 修改为：6 * (180px 卡片宽度 + 24px 间距) = 1224px */
  margin: 0 auto;
  height: 360px;
  padding: 10px 0; /* 移除左右内边距，用margin控制间距 */
  overflow: hidden;
}

.box-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 24px;
  margin: 0 12px; /* 添加左右margin来创造间距 */
  transition: transform 0.3s ease;
}

.box {
  width: 180px;
  height: 320px;
  border: 1px solid #ccc;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.25);
  border-radius: 8px;
  transition: transform 0.6s ease;
  margin: 0;
}

.box:hover {
  transform: scale(1.05);
}

.box img {
  width: 74px;
  height: 74px;
  margin-top: 46px;
}

.box h4 {
  margin-top: 46px;
  font-family: SourceHanSansSC-Heavy;
  font-size: 16px;
  font-stretch: normal;
  font-weight: bold;
  line-height: 24px;
  letter-spacing: 0px;
  color: #333333;
}

.box p {
  width: 146px;
  margin-top: 24px;
  font-family: SourceHanSansSC-Regular;
  font-size: 14px;
  font-weight: normal;
  font-stretch: normal;
  line-height: 24px;
  letter-spacing: 0px;
  color: #666666;
}

.arrow-up, .arrow-down {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  display: none; /* 默认隐藏所有按钮 */
}

.arrow-up {
  left: 0;
}

.arrow-down {
  right: 0;
}

.arrow-up:hover, .arrow-down:hover {
  transform: translateY(-50%) scale(1.1);
}

/* 移除不需要的样式 */
/* .arrow-up.disabled, .arrow-down.disabled {
  opacity: 0.2;
  cursor: not-allowed;
  pointer-events: none;
} */

@media screen and (max-width: 768px) {
  .pro-banner-box .prof-field{
    max-width: 90%;
  }
  .pro-banner-box {
    height: 150px;
  }
  
  .bra-banner {
    height: 150px;
  }
  
  .pro-banner-box div {
    width: 90%;
  }
  
  .pro-banner-box p {
    font-size: 14px;
    line-height: 1.5;
  }
  
  .title {
    height: auto;
    padding: 20px 0;
  }
  
  .title h3 {
    padding-top: 20px;
    font-size: 20px;
  }
  
  .box-container {
    width: 100%;
    height: auto;
    overflow: visible;
    padding: 10px 0;
    margin: 0 auto;
  }
  
  .box-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0;
    transform: none !important;
  }
  
  .box {
    width: 90%;
    max-width: 320px;
    height: auto;
    min-height: 280px;
    margin: 0 auto;
  }
  
  .box img {
    margin-top: 20px;
  }
  
  .box h4 {
    margin-top: 20px;
  }
  
  .box p {
    margin: 15px auto 20px;
  }
  
  .arrow-up, .arrow-down {
    display: none !important;
  }
}
