/* 首页特定样式 - Syitren 官方网站 */

/* 轮播图区域样式 */
.carousel-section {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 100vh;
  overflow: hidden;
  margin-top: 0;
  margin-bottom: 0;
}

/* 轮播图容器样式 */
.slide-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: all 1s ease-in-out;
  pointer-events: none;
}

.slide-container.active {
  opacity: 1;
  pointer-events: auto;
}

/* 轮播图片样式 */
.slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  box-shadow: none;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  image-rendering: pixelated;
  display: block;
}

/* 第一张图片的放大和移动动画 */
.slide-1 .center-image {
  transform: scale(1) translateX(0);
  transition: transform 8s ease-in-out;
}

.slide-1 .center-image.active {
  transform: scale(1.1) translateX(-20px);
  animation: firstImageLoop 16s ease-in-out infinite;
}

/* 第二张图片的放大和移动动画 */
.slide-2 .center-image {
  transform: scale(1) translateX(0);
  transition: transform 8s ease-in-out;
}

.slide-2 .center-image.active {
  transform: scale(1.1) translateX(20px);
  animation: secondImageLoop 16s ease-in-out infinite;
}

/* 第一张图片循环动画 */
@keyframes firstImageLoop {
  0% {
    transform: scale(1.1) translateX(-20px);
  }
  25% {
    transform: scale(1.08) translateX(-15px);
  }
  50% {
    transform: scale(1.05) translateX(-10px);
  }
  75% {
    transform: scale(1.08) translateX(-15px);
  }
  100% {
    transform: scale(1.1) translateX(-20px);
  }
}

/* 第二张图片循环动画 */
@keyframes secondImageLoop {
  0% {
    transform: scale(1.1) translateX(20px);
  }
  25% {
    transform: scale(1.08) translateX(15px);
  }
  50% {
    transform: scale(1.05) translateX(10px);
  }
  75% {
    transform: scale(1.08) translateX(15px);
  }
  100% {
    transform: scale(1.1) translateX(20px);
  }
}

/* 文字介绍区域 */
.text-intro {
  position: absolute;
  top: 50%;
  right: 150px;
  transform: translateY(-50%);
  max-width: 500px;
  z-index: 1001;
  color: #ffffff;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 1), 0 0 10px rgba(0, 0, 0, 0.8);
}

/* 第二张图片的文字介绍 */
.text-intro-2 {
  position: absolute;
  top: calc(52% + 30px);
  left: 60px;
  transform: translateY(-50%);
  max-width: 500px;
  z-index: 1001;
  color: #2d3748;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
}

/* Logo容器 */
.logo-container {
  margin-bottom: 15px;
}

.text-intro-2 .logo {
  width: auto;
  height: auto;
  object-fit: contain;
}



/* 文字介绍容器 */
.text-container {
  color: #2d3748;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  position: relative;
  top: 20px;
}

/* 第二张轮播图（浅色背景）的文字样式 */
.text-container h2 {
  font-size: 38px;
  font-weight: 600;
  margin-bottom: 20px;
  margin-top: 10px;
  color: #2d3748;
  font-family: "Futura", "Futura PT", "Futura Std", sans-serif;
  letter-spacing: 1px;
  position: relative;
  top: 20px;
}

.text-container p {
  font-size: 16px;
  margin-bottom: 15px;
  color: #000000;
  text-align: justify;
}

.text-container .highlight {
  font-weight: 600;
  color: #C84B1E;
}

/* 第一张轮播图（深色背景）的文字样式 */
.text-intro h2 {
  font-size: 38px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #ffffff;
  font-family: "Futura", "Futura PT", "Futura Std", sans-serif;
  letter-spacing: 1px;
}

.text-intro p {
  font-size: 16px;
  margin-bottom: 15px;
  color: #ffffff;
  text-align: justify;
}

.text-intro .highlight {
  font-weight: 600;
  color: #C84B1E;
}

/* 第二张轮播图立即购买按钮 */
.buy-now-btn-2 {
  display: inline-block;
  width: auto;
  padding: 12px 30px;
  background: #000000;
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  font-family: "Futura", "Futura PT", "Futura Std", sans-serif;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  border: 2px solid #000000;
  margin: 20px auto;
  text-align: center;
  line-height: 1;
  box-sizing: border-box;
}

.buy-now-btn-2:hover {
  background: #C84B1E;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(200, 75, 30, 0.3);
  border: 2px solid #C84B1E;
}

.buy-now-btn-2:active {
  transform: translateY(0);
}

.text-intro .design-signature {
  font-size: 20px;
  font-weight: bold;
  color: #333;
  margin-top: 25px;
  font-family: "Futura", "Futura PT", "Futura Std", sans-serif;
  letter-spacing: 2px;
  text-align: center;
}

/* 轮播容器内的版权信息样式 */
.carousel-section .copyright {
  position: absolute;
  bottom: 20px;
  left: 40px;
  z-index: 1001;
  color: #666;
  font-style: italic;
  font-weight: bold;
  transition: color 0.5s ease;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* 版权信息自动颜色切换 */
.carousel-section .copyright.auto-color {
  color: #666;
}

/* 当在深色背景上时 */
.carousel-section .copyright.light-text {
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* 当在浅色背景上时 */
.carousel-section .copyright.dark-text {
  color: #2d3748;
  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

/* 轮播容器内的design-fun样式 */
.carousel-section .design-fun {
  position: absolute;
  bottom: 20px;
  right: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  z-index: 1001;
}

.arrow-icon {
  width: 80px;
  height: 80px;
  border: 4px solid #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s;
  position: relative;
  animation: arrowFloatLR 3s ease-in-out infinite;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.arrow-icon:hover {
  background: #2d3748;
  color: white;
  border-color: #2d3748;
  transform: rotate(360deg);
}

.arrow-icon:active {
  transform: scale(0.95);
}

.arrow-icon::after {
  content: '→';
  font-size: 40px;
  font-weight: bold;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

.design-text {
  font-size: 24px;
  color: #666;
  font-family: "Futura", "Futura PT", "Futura Std", sans-serif;
  font-weight: bold;
  font-style: italic;
}

/* 底部背景图片容器样式 */
.bottom-image-container {
  width: 100%;
  height: 400px;
  position: relative;
  z-index: 5;
  margin-top: 0;
  overflow: hidden;
}

.bottom-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

/* 黑色半透明遮罩层 */
.black-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 6;
}

/* 底部信息内容样式 */
.bottom-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 7;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
  color: white;
}

.bottom-vertical {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1200px;
  width: 100%;
  margin-bottom: 30px;
  text-align: center;
}

.bottom-section h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #4a5568;
}

.bottom-section p {
  color: #ffffff;
  line-height: 1.6;
  margin-bottom: 8px;
  font-size: 13px;
}

.bottom-copyright {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 15px;
  width: 100%;
  max-width: 1000px;
}

.bottom-copyright p {
  color: #ffffff;
  opacity: 0.8;
  font-size: 12px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
  .text-intro {
    right: 100px;
    max-width: 400px;
  }
  
  .text-intro-2 {
    left: 40px;
    max-width: 400px;
  }
}

@media (max-width: 768px) {
  .center-image-container {
    width: 95%;
    height: 70%;
  }
  
  .text-intro {
    position: absolute;
    bottom: 80px;
    left: 20px;
    right: 20px;
    top: auto;
    transform: none;
    max-width: none;
    z-index: 1001;
  }
  
  .text-intro h2 {
    font-size: 20px;
    margin-bottom: 15px;
  }
  
  .text-intro p {
    font-size: 14px;
    margin-bottom: 10px;
  }
  
  .text-intro .design-signature {
    font-size: 16px;
    margin-top: 20px;
  }
  
  /* 第二张轮播图的文案也固定在左下角 */
  .text-intro-2 {
    position: absolute;
    bottom: 80px;
    left: 20px;
    right: 20px;
    top: auto;
    transform: none;
    max-width: none;
    z-index: 1001;
  }
  
  .text-container {
    position: relative;
    top: 0;
  }
  
  /* 购买按钮响应式 */
  .buy-buttons-container {
    flex-direction: column;
    gap: 10px;
    margin: 15px 0;
  }
  
  .buy-btn {
    min-width: 120px;
    padding: 10px 20px;
    font-size: 14px;
  }
  
  /* 底部信息响应式 */
  .bottom-vertical {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  
  .bottom-content {
    padding: 40px 20px;
  }
  
  .bottom-section h3 {
    font-size: 15px;
    margin-bottom: 12px;
  }
  
  .bottom-section p {
    font-size: 12px;
    margin-bottom: 6px;
  }
}

@media (max-width: 480px) {
  .bottom-vertical {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .bottom-content {
    padding: 30px 15px;
  }
  
  .bottom-section h3 {
    font-size: 14px;
    margin-bottom: 10px;
  }
  
  .bottom-section p {
    font-size: 11px;
    margin-bottom: 5px;
  }
  
  /* 小屏幕下轮播图文案样式 */
  .text-intro {
    bottom: 60px;
    left: 15px;
    right: 15px;
  }
  
  .text-intro h2 {
    font-size: 18px;
    margin-bottom: 12px;
  }
  
  .text-intro p {
    font-size: 13px;
    margin-bottom: 8px;
  }
  
  .text-intro-2 {
    bottom: 60px;
    left: 15px;
    right: 15px;
  }
  
  .text-container h2 {
    font-size: 18px;
    margin-bottom: 12px;
  }
  
  .text-container p {
    font-size: 13px;
    margin-bottom: 8px;
  }
}

/* 特色产品轮播区域样式 */
.featured-products-section {
  width: 100%;
  background-color: #ffffff;
  padding: 80px 0;
  margin: 0;
}

.featured-products-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.featured-products-title {
  font-size: 36px;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 60px;
  font-family: "Futura", "Futura PT", "Futura Std", sans-serif;
  letter-spacing: 1px;
}

/* 设备布局控制 */
.desktop-layout {
  display: block;
}

.mobile-layout {
  display: none;
}

/* 手机设备显示手机版布局 */
.mobile-device .desktop-layout {
  display: none;
}

.mobile-device .mobile-layout {
  display: block;
}

/* 平板设备显示桌面版布局 */
.tablet-device .desktop-layout {
  display: block;
}

.tablet-device .mobile-layout {
  display: none;
}

.product-carousel-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.product-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}

.product-slide {
  display: none;
  width: 100%;
}

.product-slide.active {
  display: block;
}

.product-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 40px;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.product-image {
  flex: 0 0 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border-radius: 12px;
  overflow: hidden;
}

.product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-info {
  flex: 1;
  text-align: left;
}

.product-name {
  font-size: 28px;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 20px;
  font-family: "Futura", "Futura PT", "Futura Std", sans-serif;
  letter-spacing: 0.5px;
}

.product-description {
  font-size: 16px;
  color: #4a5568;
  line-height: 1.6;
  margin: 0;
}

/* 轮播控制按钮 */
.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #e2e8f0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #4a5568;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.carousel-prev:hover,
.carousel-next:hover {
  background: #ff6b35;
  color: white;
  border-color: #ff6b35;
}

.carousel-prev {
  left: -25px;
}

.carousel-next {
  right: -25px;
}

/* 轮播指示器 */
.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #cbd5e0;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: #ff6b35;
  transform: scale(1.2);
}

.indicator:hover {
  background: #ff6b35;
  transform: scale(1.1);
}

/* 手机版产品网格布局 */
.mobile-product-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 100%;
}

/* 手机版特色产品区域优化 */
.mobile-device .featured-products-section {
  padding: 40px 0;
}

.mobile-device .featured-products-title {
  font-size: 24px;
  margin-bottom: 30px;
  padding: 0 15px;
}

.mobile-device .featured-products-container {
  padding: 0 15px;
}

.mobile-product-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
  text-align: left;
}

.mobile-product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.mobile-product-image {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.mobile-product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.mobile-product-card:hover .mobile-product-image img {
  transform: scale(1.05);
}

.mobile-product-info {
  text-align: left;
}

.mobile-product-name {
  font-size: 20px;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 12px;
  font-family: "Futura", "Futura PT", "Futura Std", sans-serif;
  letter-spacing: 0.5px;
}

.mobile-product-description {
  font-size: 14px;
  color: #4a5568;
  line-height: 1.5;
  margin: 0;
}

/* 手机版产品分类区域优化 */
.mobile-device .category-section {
  padding: 40px 0;
}

.mobile-device .category-section-title {
  font-size: 24px;
  margin-bottom: 30px;
  padding: 0 15px;
}

.mobile-device .category-container {
  padding: 0;
}

.mobile-device .category-scroll-wrapper {
  padding: 10px 0;
}

.mobile-device .category-scroll-wrapper::before,
.mobile-device .category-scroll-wrapper::after {
  width: 40px;
}

.mobile-device .category-scroll-track {
  gap: 15px;
}

.mobile-device .category-scroll-track .category-card {
  width: 180px;
  padding: 20px 15px;
  border-radius: 10px;
}

.mobile-device .category-grid {
  grid-template-columns: 1fr;
  gap: 15px;
  max-width: 100%;
}

.mobile-device .category-card {
  padding: 20px 15px;
  border-radius: 10px;
}

.mobile-device .category-image {
  height: 80px;
  margin-bottom: 12px;
}

.mobile-device .category-name {
  font-size: 16px;
}

.mobile-device .view-more-btn {
  padding: 12px 24px;
  font-size: 14px;
  margin-top: 20px;
}

/* 手机版合作伙伴区域优化 */
.mobile-device .partners-section {
  padding: 40px 0;
}

.mobile-device .partners-title {
  font-size: 20px;
  margin-bottom: 20px;
  padding: 0 15px;
}

.mobile-device .partners-container {
  padding: 0 15px;
}

.mobile-device .partners-description {
  margin-bottom: 25px;
  padding: 0 5px;
}

.mobile-device .partners-description p {
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 12px;
}

.mobile-device .partners-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  max-width: 100%;
}

.mobile-device .partner-logo {
  max-width: 60px;
  max-height: 30px;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* 产品分类模块样式 */
.category-section {
  width: 100%;
  background-color: #f8f9fa;
  padding: 80px 0;
  margin: 0;
}

.category-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.category-section-title {
  font-size: 32px;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 50px;
  font-family: "Futura", "Futura PT", "Futura Std", sans-serif;
  letter-spacing: 1px;
}

/* 无限滚动容器 */
.category-scroll-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}

/* 添加左右渐变遮罩 */
.category-scroll-wrapper::before,
.category-scroll-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.category-scroll-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #f8f9fa, transparent);
}

.category-scroll-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #f8f9fa, transparent);
}

/* 滚动轨道 - 使用 JS 控制动画 */
.category-scroll-track {
  display: flex;
  gap: 30px;
  width: fit-content;
  /* 动画由 JavaScript 控制 */
}

/* 滚动模式下的 category-card 样式 */
.category-scroll-track .category-card {
  flex-shrink: 0;
  width: 400px;
  background: white;
  border-radius: 12px;
  padding: 30px 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid #e2e8f0;
}

.category-scroll-track .category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  border-color: #C84B1E;
}

.category-title {
  font-size: 32px;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 50px;
  font-family: "Futura", "Futura PT", "Futura Std", sans-serif;
  letter-spacing: 1px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.category-card {
  background: white;
  border-radius: 12px;
  padding: 30px 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid #e2e8f0;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  border-color: #C84B1E;
}

.category-image {
  width: 100%;
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 8px;
}

.category-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.category-card:hover .category-image img {
  transform: scale(1.05);
}

.category-name {
  font-size: 16px;
  font-weight: 600;
  color: #2d3748;
  margin: 0;
  font-family: "Futura", "Futura PT", "Futura Std", sans-serif;
  letter-spacing: 0.5px;
}

.category-view-more {
  margin-top: 40px;
  text-align: center;
}

.view-more-btn {
  display: inline-block;
  padding: 12px 30px;
  background: #C84B1E;
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  border: 2px solid #C84B1E;
}

.view-more-btn:hover {
  background: transparent;
  color: #C84B1E;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(200, 75, 30, 0.3);
}

.view-all-container {
  text-align: center;
}

.view-all-btn {
  background: #2d3748;
  color: white;
  border: none;
  padding: 15px 40px;
  border-radius: 25px;
  font-size: 16px;
  font-weight: 600;
  font-family: "Futura", "Futura PT", "Futura Std", sans-serif;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(45, 55, 72, 0.2);
}

.view-all-btn:hover {
  background: #C84B1E;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(200, 75, 30, 0.3);
}

.view-all-btn:active {
  transform: translateY(0);
}

/* 产品分类模块响应式设计 */
@media (max-width: 1024px) {
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 800px;
  }
  
  .category-section {
    padding: 60px 0;
  }
  
  .category-title {
    font-size: 28px;
    margin-bottom: 40px;
  }
  
  .category-scroll-track .category-card {
    width: 220px;
  }
  
  .category-scroll-wrapper::before,
  .category-scroll-wrapper::after {
    width: 60px;
  }
}

@media (max-width: 768px) {
  /* 特色产品轮播响应式 */
  .featured-products-section {
    padding: 50px 0;
  }
  
  .featured-products-title {
    font-size: 28px;
    margin-bottom: 40px;
  }
  
  .product-card {
    flex-direction: column;
    padding: 30px 20px;
    gap: 25px;
    text-align: center;
  }
  
  .product-image {
    flex: none;
    width: 100%;
    max-width: 250px;
    height: 200px;
    margin: 0 auto;
  }
  
  .product-info {
    text-align: center;
  }
  
  .product-name {
    font-size: 24px;
    margin-bottom: 15px;
  }
  
  .product-description {
    font-size: 14px;
    line-height: 1.5;
  }
  
  .carousel-prev,
  .carousel-next {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  
  .carousel-prev {
    left: -20px;
  }
  
  .carousel-next {
    right: -20px;
  }
  
  .carousel-indicators {
    margin-top: 25px;
  }
  
  .indicator {
    width: 10px;
    height: 10px;
  }
  
  /* 产品分类响应式 */
  .category-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 600px;
  }
  
  .category-section {
    padding: 50px 0;
  }
  
  .category-title {
    font-size: 24px;
    margin-bottom: 30px;
  }
  
  .category-card {
    padding: 25px 15px;
  }
  
  .category-scroll-track .category-card {
    width: 200px;
    padding: 25px 15px;
  }
  
  .category-scroll-track {
    gap: 20px;
  }
  
  .category-scroll-wrapper::before,
  .category-scroll-wrapper::after {
    width: 50px;
  }
  
  .category-image {
    height: 100px;
    margin-bottom: 15px;
  }
  
  .category-name {
    font-size: 14px;
  }
  
  .view-all-btn {
    padding: 12px 30px;
    font-size: 14px;
  }
}

@media (max-width: 600px) {
  .category-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 300px;
  }
  
  .category-section {
    padding: 40px 0;
  }
  
  .category-container {
    padding: 0;
  }
  
  .category-title {
    font-size: 20px;
    margin-bottom: 25px;
  }
  
  .category-card {
    padding: 20px 15px;
  }
  
  .category-scroll-track .category-card {
    width: 160px;
    padding: 20px 12px;
  }
  
  .category-scroll-track {
    gap: 15px;
    animation-duration: 18s;
  }
  
  .category-scroll-wrapper::before,
  .category-scroll-wrapper::after {
    width: 30px;
  }
  
  .category-scroll-track .category-image {
    height: 70px;
    margin-bottom: 10px;
  }
  
  .category-scroll-track .category-name {
    font-size: 13px;
  }
  
  .category-image {
    height: 80px;
    margin-bottom: 12px;
  }
  
  .category-name {
    font-size: 13px;
  }
  
  .category-section-title {
    font-size: 24px;
  }
  
  .view-more-btn {
    padding: 10px 25px;
    font-size: 13px;
  }
}

/* 导航栏滚动背景样式 */
.home-page .header.scrolled {
  background-color: #ffffff !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.home-page .header.scrolled .brand-logo img {
  filter: none !important;
}

.home-page .header.scrolled .nav-links .aheader,
.home-page .header.scrolled .nav-dropdown > .aheader {
  color: #000 !important;
}

.home-page .header.scrolled .nav-links a:hover,
.home-page .header.scrolled .nav-dropdown > a:hover {
  color: #FF6B35 !important;
}

.home-page .header.scrolled .search-toggle-btn {
  color: #000 !important;
}

.home-page .header.scrolled .search-toggle-btn:hover {
  background: rgba(255, 107, 53, 0.2) !important;
}

.home-page .header.scrolled .language-toggle-btn {
  border-color: #000 !important;
  color: #000 !important;
}

.home-page .header.scrolled .language-toggle-btn:hover {
  background: #FF6B35 !important;
  color: #fff !important;
  border-color: #FF6B35 !important;
}

/* 合作伙伴模块样式 */
.partners-section {
  padding: 60px 0;
  background: transparent;
}

.partners-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.partners-title {
  font-size: 21px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 40px;
  position: relative;
}


.partners-description {
  max-width: 900px;
  margin: 0 auto 50px auto;
  text-align: center;
}

.partners-description p {
  font-size: 11px;
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
  text-indent: 0;
}

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 50px;
  max-width: 1000px;
  margin: 0 auto;
}

.partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.partner-item:hover {
  transform: scale(1.1);
}

.partner-logo {
  max-width: 100px;
  max-height: 50px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  filter: grayscale(100%) opacity(0.6);
  transition: all 0.3s ease;
}

.partner-item:hover .partner-logo {
  filter: grayscale(0%) opacity(1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* 合作伙伴模块响应式设计 */
@media (max-width: 1024px) {
  .partners-section {
    padding: 50px 0;
  }
  
  .partners-title {
    font-size: 19px;
    margin-bottom: 35px;
  }
  
  .partners-description {
    margin-bottom: 40px;
  }
  
  .partners-description p {
    font-size: 10px;
  }
  
  .partners-grid {
    gap: 40px;
  }
  
  .partner-logo {
    max-width: 90px;
    max-height: 45px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  }
}

@media (max-width: 768px) {
  .partners-section {
    padding: 40px 0;
  }
  
  .partners-title {
    font-size: 16px;
    margin-bottom: 30px;
  }
  
  .partners-description {
    margin-bottom: 35px;
  }
  
  .partners-description p {
    font-size: 9px;
  }
  
  .partners-grid {
    gap: 30px;
  }
  
  .partner-logo {
    max-width: 80px;
    max-height: 40px;
    border-radius: 8px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  }
}

@media (max-width: 600px) {
  .partners-section {
    padding: 30px 0;
  }
  
  .partners-container {
    padding: 0 15px;
  }
  
  .partners-title {
    font-size: 13px;
    margin-bottom: 25px;
  }
  
  .partners-description {
    margin-bottom: 30px;
  }
  
  .partners-description p {
    font-size: 9px;
    text-indent: 0;
  }
  
  .partners-grid {
    gap: 20px;
  }
  
  .partner-logo {
    max-width: 60px;
    max-height: 30px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  }
}

@media (max-width: 480px) {
  .partners-grid {
    gap: 15px;
  }
  
  .partner-logo {
    max-width: 50px;
    max-height: 25px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  }
}
