.home-product-swipers .swiper-wrapper .swiper-slide {
  width: 16% !important;
}
.home-product-swipers .swiper-wrapper .swiper-slide-next + .swiper-slide {
  width: 30% !important;
}
.product-module {
  margin-bottom: 80px;
}
.product-wraps {
  display: flex;
  width: 100%;
  min-height: 33.85416667vw;
}
.product-wraps .product-item {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  transition: flex 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.4s ease, transform 0.5s ease;
  opacity: 0.7;
  cursor: pointer;
  border-radius: 8px;
  overflow: hidden;
  transform: scale(0.95);
}
.product-wraps .product-item img {
  vertical-align: bottom;
  max-width: 100%;
  object-fit: contain;
}
.product-wraps .product-item.active {
  flex: 1;
}
.product-wraps .product-item:not(.active) {
  flex: 0 0 12.5%;
}
.product-desc {
  position: relative;
  min-height: 400px;
}
.product-desc-item {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  opacity: 0;
  z-index: 1;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-desc-item.active {
  opacity: 1;
  z-index: 2;
}
.product-swipers .swiper-wrapper .swiper-slide {
  position: relative;
}
.product-swipers .swiper-wrapper .swiper-slide .product-item {
  vertical-align: bottom;
  height: 100%;
  padding: 0 15%;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  /* 容器有固定高度或由内容撑起 */
  display: flex;
  align-items: flex-end;
  /* 关键：子元素底部对齐 */
  justify-content: center;
  /* 可选：水平居中 */
}
.product-swipers .swiper-wrapper .swiper-slide .product-item img {
  object-fit: contain;
  width: 100%;
}
.product-swipers .swiper-wrapper .swiper-slide::before {
  content: '';
  display: block;
  padding-bottom: 111%;
  background: transparent;
}
.product-swipers .swiper-wrapper .swiper-slide-active .product-item {
  padding-left: 0;
}
.product-swipers .swiper-wrapper .swiper-slide-active .product-item img {
  position: relative;
  left: 10%;
  width: 130%;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}
.flex-center {
  display: flex;
  justify-content: center;
}
.mb-50 {
  margin-bottom: 50px;
}
.mt-30 {
  margin-top: 30px;
}
.mt-60 {
  margin-top: 60px;
}
.mb-30 {
  margin-bottom: 30px;
}
.mb-25 {
  margin-bottom: 25px;
}
.mb-12 {
  margin-bottom: 12px;
}
.mb-10 {
  margin-bottom: 10px;
}
.mb-8 {
  margin-bottom: 8px;
}
.gap-8 {
  gap: 8px;
}
.gap-10 {
  gap: 10px;
}
.gap-30 {
  gap: 30px;
}
.gap-40 {
  gap: 40px;
}
.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.grid-4col {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}
@media (max-width: 992px) {
  .grid-4col {
    display: block;
  }
}
.flex-column {
  display: flex;
  flex-direction: column;
}
.align-items-start {
  align-items: start;
}
.text-center {
  text-align: center;
}
/* ========== Tab 按钮 ========== */
.tab-btn {
  padding: 15px 30px;
  border-radius: 10px 0 0 10px;
  font-weight: 600;
  font-size: 16px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.tab-btn.active {
  background: var(--accent-600);
  color: white;
}
.tab-btn:not(.active) {
  background: transparent;
  color: var(--primary-700);
}
/* ========== 固定侧边按钮栏 ========== */
.tab-sidebar {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  gap: 8px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
}
/* ========== 标题与文本样式 ========== */
.section-title {
  font-size: 28px;
  font-weight: bold;
  color: var(--accent-600);
  margin-bottom: 30px;
}
.sub-title {
  font-size: 35px;
  font-weight: bold;
  color: #000;
  margin-bottom: 10px;
}
.text-primary-600 {
  color: var(--primary-600);
}
.text-white {
  color: white;
}
.bg-white {
  background-color: white;
}
.bg-f0f0f0 {
  background-color: #f0f0f0;
}
.bg-accent-600 {
  background-color: var(--accent-600);
}
.bg-df2f39 {
  background-color: #df2f39;
}
.bg-black-overlay {
  background-color: rgba(0, 0, 0, 0.4);
}
.bg-black-semi {
  background-color: rgba(0, 0, 0, 0.7);
}
/* ========== 内容区块 ========== */
.applications-overview {
  max-width: 1000px;
  margin: 0 auto;
}
.applications-overview p {
  font-size: 20px;
  line-height: 1.8;
  margin-bottom: 30px;
}
.product-application {
  padding: 30px;
  background-color: white;
}
.left-border-red {
  border-left: 8px solid #df2f39;
  padding-left: 30px;
}
.advantage-header {
  font-size: 18px;
  font-weight: bold;
  color: white;
  background-color: #df2f39;
  display: inline-block;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 100%, 0 100%);
  padding: 0 10px 0 15px;
  margin-bottom: 12px;
}
.advantage-list {
  list-style: none;
  padding: 0;
}
.advantage-item {
  display: flex;
  align-items: start;
  gap: 8px;
  margin-bottom: 8px;
}
.advantage-item span {
  color: var(--primary-600);
  font-size: 14px;
  line-height: 1.6;
}
.advantage-item img {
  width: 16px;
  height: 16px;
  margin-top: 4px;
}
/* ========== 图片与悬停效果 ========== */
.image-hover-effect {
  position: relative;
}
.module-image {
  width: 100%;
  height: 320px;
  object-fit: cover;
}
.gradient-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #ffffff);
}
.round-image {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  padding: 10px;
}
/* ========== 产品图标卡片 ========== */
.product-icon {
  background: white;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.product-icon-desc {
  background: #f0f0f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.product-icon-title {
  font-size: 18px;
  font-weight: bold;
  color: white;
  background-color: #df2f39;
  margin: -15px 0 0 0;
  padding: 5px 20px;
  text-align: center;
  display: inline-block;
  border-radius: 20px;
  box-sizing: border-box;
}
.product-icon-text {
  color: var(--primary-600);
  font-size: 14px;
  line-height: 1.6;
  padding: 15px 40px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
}
/* ========== 纳米晶磁芯总结卡 ========== */
.industry-card-pane {
  padding: 30px;
  background: #0f0f0f;
  margin-top: 60px;
}
.industry-card-pane h3 {
  font-size: 28px;
  font-weight: bold;
  color: #ccc;
  text-align: center;
  margin-bottom: 25px;
}
.industry-card-pane p {
  font-size: 18px;
  color: var(--accent-600);
  line-height: 1.8;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}
.industry-card-pane .solution-text {
  font-size: 20px;
  font-weight: bold;
  color: #ccc;
  margin-top: 30px;
}
/* ========== 核心产品描述样式 ========== */
.product-desc {
  position: relative;
  width: 100%;
  height: auto;
}
.product-desc-item {
  z-index: 2;
  padding: 50px 80px;
  text-align: center;
  width: 100%;
}
@media (max-width: 992px) {
  .product-desc-item {
    padding: 50px 0px;
  }
}
.product-desc-item.bottom {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
.product-desc-item h2 {
  color: var(--accent-600);
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 30px;
}
.product-desc-item p {
  color: #ccc;
  font-size: 14px;
  margin-bottom: 30px;
}
.feature-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
@media (max-width: 992px) {
  .feature-grid {
    flex-direction: column;
    gap: 16px;
  }
  .feature-grid .feature-items {
    width: 100%;
  }
}
.feature-items {
  flex: 1;
  color: white;
  font-size: 14px;
  line-height: 1.6;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.feature-items h4 {
  color: var(--accent-600);
  margin: 0 0 20px 0;
}
.feature-items ul {
  margin: 0;
  padding-left: 20px;
}
.feature-items li {
  margin-bottom: 8px;
}
/* ========== 轮播容器 ========== */
.product-swipers {
  width: 100%;
  overflow: hidden;
}
.product-swipers img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
@media (max-width: 992px) {
  .product-application {
    padding: 30px 15px;
  }
  .industry-card-pane {
    padding: 30px 0;
  }
  .product-application-wrap {
    grid-template-columns: 1fr;
  }
  .image-hover-effect {
    order: 1;
  }
  .product-application-content {
    order: 2;
  }
  .industry-card-pane p {
    text-align: left;
  }
}
.gap-60 {
  gap: 60px;
}
