.main-box {
  padding: 110px 60px 0;
  background-color: #f5f5f5;
}
.main-container {
  padding: 20px 40px;
  background-color: #fff;
  border-radius: 5px;
}
.main-tab {
  display: flex;
  list-style: none;
  margin-bottom: 16px;
}
.main-tab li{
  padding: 4px 20px;
  cursor: pointer;
}
.main-tab a{
  text-decoration: none;
  color: #000;
}
.main-tab li:hover a{
  color: #f09c00;
}
.active-tab {
  color: #fff;
  background-color: #f09c00;
  border-radius: 20px 0 20px 0;
  font-weight: bold;
}

.product-detail-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 30px;
}
/* 轮播图容器样式 */
.main-swiper {
  flex: 1;
  position: relative;
  overflow: hidden;
  height: 500px;
}

.swiper-wrapper {
  width: 100%;
  height: 100%;
  display: flex;
}

.swiper-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  position: relative;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  /* object-fit: cover; */
  display: block;
}

/* 分页器样式 */
.swiper-pagination {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
  cursor: pointer;
}

.swiper-pagination-bullet {
  display: inline-block;
  width: 10px;
  height: 10px;
  background-color: #000;
  opacity: 1;
  border-radius: 50%;
  margin: 0 5px;
  transition: all 0.3s ease;
  z-index: 666;
}

.swiper-pagination-bullet-active {
  background-color: #f09c00;
  transform: scale(1.2);
}

/* 导航按钮样式 */
.swiper-button-next,
.swiper-button-prev {
  position: absolute;
  width: 30px;
  height: 30px;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  background-image: none;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  top: 50%;
  transform: translateY(-50%);
  margin-top: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 10;
  cursor: pointer;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  font-size: 20px;
  color: #333;
}

.swiper-button-prev::after {
  content: '<';
}

.swiper-button-next::after {
  content: '>';
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: rgba(255, 255, 255, 1);
  transform: translateY(-50%) scale(1.1);
}

.swiper-button-prev {
  left: 15px;
}

.swiper-button-next {
  right: 15px;
}

.thumbnails {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.thumbnail {
  width: 80px;
  height: 80px;
  background-color: #f5f5f5;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.thumbnail:hover,
.thumbnail.active {
  border-color: #1a73e8;
}

.thumbnail img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

.sub-title {
  padding-left: 10px;
  border-left: 3px solid #f09c00;
}
.product-info {
  flex: 1;
}
.product-desc {
  padding: 20px;
  background-color: #f5f5f5;
  margin-bottom: 20px;
}
.product-title {
  margin-bottom: 15px;
  color: #333;
}

.product-detail-title {
  padding: 10px 20px;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  background-color: #f09c00;
  border-radius: 10px 10px 0 0;
  margin-bottom: 20px;
}
.product-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  /* padding-bottom: 20px; */
  border-bottom: 1px solid #eee;
}

.meta-item {
  display: flex;
  flex-direction: column;
}

.meta-label {
  font-size: 0.9rem;
  color: #777;
}

.meta-value {
  font-weight: 600;
  color: #333;
}

.product-description {
  /* margin-bottom: 30px; */
  line-height: 1.8;
  color: #555;
}

.product-specs {
  margin-bottom: 30px;
}

.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table th,
.specs-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.specs-table th {
  background-color: #f9f9f9;
  font-weight: 600;
  width: 30%;
}

.product-features {
  margin-bottom: 30px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.feature-card {
  padding: 20px 40px;
  border-radius: 8px;
  background-color: #f9f9f9;
}

.feature-card h4 {
  margin-bottom: 10px;
  color: #333;
  display: flex;
  align-items: center;
}

.feature-card h4 i {
  margin-right: 10px;
}

.product-applications {
  margin-bottom: 30px;
}

.applications-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.application-tag {
  padding: 8px 15px;
  background-color: #e9f5ff;
  border-radius: 20px;
  font-size: 0.9rem;
}

.product-customization {
  margin-bottom: 30px;
}

.customization-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.custom-option {
  padding: 8px 15px;
  background-color: #fff8e6;
  border-radius: 20px;
  font-size: 0.9rem;
}

.why-choose-us {
  background-color: #f9f9f9;
  padding: 30px;
  border-radius: 8px;
  margin-top: 30px;
}

.why-choose-us h3 {
  margin-bottom: 20px;
  text-align: center;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.why-us-item {
  text-align: center;
  padding: 20px;
  border: 1px solid #d3d3d3;
  background-color: #fff8e6;
  border-radius: 5px;
}

.why-us-item i {
  font-size: 2rem;
  color: #1a73e8;
  margin-bottom: 15px;
}

.contact-section {
  text-align: center;
  margin: 50px 0;
  padding: 30px;
  background-color: #f0f8ff;
  border-radius: 8px;
}

.contact-btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: #1a73e8;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  margin-top: 15px;
  transition: background-color 0.3s ease;
}

.contact-btn:hover {
  background-color: #0d62c9;
}

/* 响应式设计 */
@media (max-width: 992px) {
  .main-box {
    padding: 100px 30px 0;
  }
  .main-swiper, .product-info {
    flex: auto;
  }
}
@media (max-width: 768px) {
  .main-box {
    padding: 70px 0 0;
  }
  .main-container {
    padding: 20px;
  }
  .main-swiper {
    height: 350px;
  }
  .swiper-button-next,
  .swiper-button-prev {
    width: 40px;
    height: 40px;
  }
  .swiper-button-next::after,
  .swiper-button-prev::after {
    font-size: 16px;
  }
}