html[dir="rtl"] .yawei-goods-swiper .swiper-fade .swiper-slide{
  background-position: left center;
}
html[dir="rtl"] .yawei-goods-swiper .swiper-button-prev svg,
html[dir="rtl"] .yawei-goods-swiper .swiper-button-next svg{
  transform: rotate(180deg);
}

.yawei-goods-swiper {
  padding: 0px 0 0;
  /* background-color: var(--bg-color); */
  padding-top: 0px;
  position: relative; /* For absolute positioning of nav controls if needed */
}

.yawei-goods-swiper .container {
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;
  max-width: 1820px;
}

.yawei-goods-swiper .yawei-goods-swiper__swiper-column {
  position: relative; /* Needed for absolute positioning of nav controls */
}

.yawei-goods-swiper .swiper-area-wrapper {
  padding: 0;
  position: relative;
  background: linear-gradient(180deg, #D6D6D6 0%, #F5F6FA 50%, #F5F6FA 100%);
}

/* Main Swiper container - ensure it has a class like .swiper or the one used in JS init */
.yawei-goods-swiper .swiper {
  width: 100%;
}

.yawei-goods-swiper .swiper-slide {
  min-height: 540px;
  background-repeat: no-repeat;
  display: flex; /* Use flex to position content overlay */
  align-items: center; /* Vertically center */
  justify-content: flex-start; /* Align content to the left */
  padding: 40px 60px; /* Padding for the content area within the slide */
  position: relative; /* For pseudo-elements if needed for overlay */
}

.yawei-goods-swiper .slide-content-overlay {
  position: relative; /* Ensure it's in the flow or use absolute for more control */
  z-index: 2;
  width: 70%;
  /* /* max-width: 45%; Limit width of content area as in reference */
  /* background-color: rgba(255,255,255,0.7); Optional: if text needs a semi-transparent bg */
  /* padding: 20px; */ /* Padding inside the overlay box */
}

.yawei-goods-swiper .slide-content-wrapper {
  /* Wrapper for actual text and button */
  text-align: left;
}

/* Removed .slide-image-area and .slide-main-image as image is now a background */
/* Removed .slide-content-area as .slide-content-overlay takes its role */

.yawei-goods-swiper .slide-title-text {
  font-family: 'Arimo', sans-serif;
  font-weight: 700;
  font-size: 48px; 
  line-height: 1.3; /* Slightly adjusted for overlay */
  letter-spacing: -0.025em;
  color: var(--title-text-color); /* 使用系统配置的标题颜色 */
  margin-bottom: 30px;

  text-align: left;
}

.yawei-goods-swiper .slide-explore-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--title-font-family);
  font-size: 16px;
  line-height: 21px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 7px 23px;
  text-decoration: none;
  border-radius: 0;
  transition: all 0.3s ease;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.9);
  color: #333333;
  border: 1px solid #A9A9A9;
}

.yawei-goods-swiper .slide-explore-button:hover {
  background: #E6002D;
  color: #FFFFFF;
  border-color: #E6002D;
  text-decoration: none;
}

/* Navigation Controls - 只保留箭头，移除分页圆点 */
.yawei-goods-swiper .swiper-navigation-controls {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  z-index: 10;
}

.yawei-goods-swiper .swiper-custom-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 20px 16px;
  color: #101115;
  font-size: 18px;
}

.yawei-goods-swiper .swiper-custom-pagination .swiper-pagination-bullet {
  cursor: pointer;
  margin: 0 15px !important;
  opacity: 1;
  background: transparent;
  color: #101115;
  font-weight: normal;
  transition: color 0.3s ease, font-weight 0.3s ease;
}

.yawei-goods-swiper .swiper-custom-pagination .swiper-pagination-bullet-active {
  color: #E6002D;
  font-weight: bold;
}

.yawei-goods-swiper .swiper-button-prev,
.yawei-goods-swiper .swiper-button-next {
  position: static;
  width: auto;
  height: auto;
  margin-top: 0;
}

/* 简化箭头按钮样式 */
.yawei-goods-swiper .swiper-button-prev,
.yawei-goods-swiper .swiper-button-next {
  cursor: pointer;
  padding: 16px 20px; /* 增加 padding 提供更大的点击区域 */
  transition: all 0.3s ease;
  background: none; /* 去除背景色 */
  border: none; /* 去除边框 */
  border-radius: 0;
  position: static;
  margin-top: 0;
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px; /* 最小宽度确保点击区域 */
  min-height: 48px; /* 最小高度确保点击区域 */
}

.yawei-goods-swiper .swiper-button-prev svg,
.yawei-goods-swiper .swiper-button-next svg {
  width: 8px;
  height: 14px;
  flex-shrink: 0; /* 防止 SVG 收缩 */
  transition: all 0.3s ease; /* 为SVG添加过渡效果 */
}

.yawei-goods-swiper .swiper-button-prev::after,
.yawei-goods-swiper .swiper-button-next::after {
  display: none;
}

.yawei-goods-swiper .swiper-button-prev:hover,
.yawei-goods-swiper .swiper-button-next:hover {
  color: #E6002D;
}

/* SVG 图标悬停时变为红色 - 直接修改 stroke 颜色 */
.yawei-goods-swiper .swiper-button-prev:hover svg path,
.yawei-goods-swiper .swiper-button-next:hover svg path {
  stroke: #E6002D;
}

.yawei-goods-swiper .swiper-fade .swiper-slide{
  background-position: right center;
  background-size: 30% auto;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) { 
  .yawei-goods-swiper .swiper-slide {
    padding: 30px 40px;
    min-height: 450px;
  }
  .yawei-goods-swiper .slide-title-text {
    font-size: 30px; 
  }
  .yawei-goods-swiper .slide-explore-button {
    font-size: 15px;
    padding: 10px 25px;
  }
  .yawei-goods-swiper .swiper-navigation-controls {
    bottom: 20px;
    gap: 30px; /* 减少移动端间距 */
  }
  .yawei-goods-swiper .swiper-button-prev,
  .yawei-goods-swiper .swiper-button-next {
    padding: 12px 16px; /* 移动端适中的 padding */
    min-width: 44px;
    min-height: 44px;
  }
}

@media (max-width: 767.98px) { 
  .yawei-goods-swiper .swiper-slide {
    padding: 20px;
    min-height: 300px; /* Adjust height for smaller screens */
    /* justify-content: center; Center content on small screens */
    text-align: center; /* Center text inside content overlay */
  }
  .yawei-goods-swiper .slide-content-overlay {
    max-width: 55%; /* Allow more width for centered text */
  }
  .yawei-goods-swiper .slide-title-text {
    font-size: 20px;
  }
  .yawei-goods-swiper .slide-explore-button {
    font-size: 14px;
    padding: 8px 20px;
  }
  .yawei-goods-swiper .swiper-navigation-controls {
    margin-top: 15px;
  }
  .yawei-goods-swiper .swiper-custom-pagination {
    font-size: 16px;
    margin: 0 15px 16px;
  }
  .yawei-goods-swiper .swiper-button-prev,
  .yawei-goods-swiper .swiper-button-next {
    padding: 10px 14px; /* 小屏幕 padding */
    min-width: 40px;
    min-height: 40px;
  }
}

.bwp-container {
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
} 