/* 产品详情页 */
.header {
  background: #fff;
}

/* ==================== 产品详情页样式 ==================== */

/* 产品详情容器 */
.product-detail-container {
  padding: 50px 0 80px;
  background: #fff;
  overflow-x: hidden;
}

/* 产品概览区 */
.product-overview {
  background: #f5f9fe;
  display: grid;
  grid-template-columns: minmax(0, 600px) 1fr;
  gap: 50px;
  margin-bottom: 40px;
  align-items: start;
  padding: 20px;
  border-radius: 18px;
}

/* ==================== 左侧图片区：竖向缩略图 + 大图轮播 ==================== */
.product-gallery {
  display: flex;
  gap: 16px;
  position: sticky;
  top: 100px;
}

/* 竖向缩略图列表 */
.gallery-thumbs {
  display: flex;
  flex-direction: column;
  gap: 11px;
  width: 110px;
  flex-shrink: 0;
  height: 474px;
}

.thumb-item {
  width: 110px;
  height: 110px;
  flex-shrink: 0;
  border: 1px solid #d9e8ff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
  background: #fff;
  position: relative;
  box-shadow: var(--shadow);
}

.thumb-item:hover {
  border-color: rgba(16, 88, 213, 0.4);
}

.thumb-item.active {
  border-color: var(--blue);
  box-shadow: 0 4px 12px rgba(16, 88, 213, 0.15);
}

.thumb-item img {
  max-width: 100%;
  max-height: 100%;
  border-radius: 10px;
  display: block;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.thumb-item:hover img {
  transform: scale(1.05);
}

/* 大图轮播区 */
.gallery-main {
  position: relative;
  width: 100%;
  min-width: 0;
  flex: 1;
}

.main-slider {
  width: 100%;
  height: 474px;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #d9e8ff;
  position: relative;
  box-shadow: var(--shadow);
}

.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  display: block;
}

/* 轮播按钮 */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  color: #555;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-btn:hover {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 16px rgba(16, 88, 213, 0.3);
}

.slider-prev {
  left: 12px;
}

.slider-next {
  right: 12px;
}

/* 计数器 */
.slider-counter {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 20px;
  z-index: 2;
  letter-spacing: 1px;
}

/* ==================== 右侧信息区 ==================== */
.product-info-section {
  padding: 0 0;
  display: flex;
  flex-direction: column;
  min-height: 474px;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.product-category-tag {
  display: inline-block;
  padding: 5px 14px;
  background: #fff;
  color: var(--blue);
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: var(--shadow);
}

.product-detail-title {
  font-size: 30px;
  font-weight: 500;
  color: #102856;
  margin: 0 0 24px 0;
  line-height: 1.3;
  position: relative;
}


.product-brief {
  margin-bottom: 28px;
}

.product-brief p {
  font-size: 15px;
  line-height: 1.9;
  color: #6f7d95;
  margin: 0;
}

.product-highlights {
  margin-bottom: 32px;
  background: #f5f9fe;
  border-radius: 14px;
  padding: 24px;
  border: 1px solid #d9e8ff;
}

.product-highlights h3 {
  font-size: 16px;
  font-weight: 600;
  color: #102856;
  margin: 0 0 18px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-highlights h3::before {
  content: '';
  width: 4px;
  height: 18px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--blue), #4da3ff);
}

.product-highlights ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-highlights li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  font-size: 15px;
  color: #555;
  line-height: 1.6;
  border-bottom: 1px dashed #d9e8ff;
}

.product-highlights li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.product-highlights li i {
  color: var(--blue);
  font-size: 16px;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.product-actions {
  display: flex;
  gap: 16px;
  margin-top: auto;
}

.btn-contact-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 5px 20px;
  background: linear-gradient(135deg, var(--blue), #0d66e8);
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.35s ease;
  box-shadow: 0 6px 20px rgba(16, 88, 213, 0.25);
  position: relative;
  overflow: hidden;
}

.btn-contact-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.btn-contact-primary:hover::before {
  left: 100%;
}

.btn-contact-primary:hover {
  box-shadow: 0 8px 28px rgba(16, 88, 213, 0.35);
  transform: translateY(-2px);
}

.btn-view-specs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 20px;
  background: #fff;
  color: var(--blue);
  text-decoration: none;
  border: 2px solid var(--blue);
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.35s ease;
}

.btn-view-specs:hover {
  transform: translateY(-2px);
}

/* ==================== 产品详细信息标签页 ==================== */
.product-detail-tabs {
  margin-bottom: 40px;
  background: #fff;
  border-radius: 18px;
  padding: 20px;
  border:1px solid #f5f9fe ;
  box-shadow: var(--shadow);
}

.tab-headers {
  display: flex;
  gap: 0;
  border: 1px solid #d9e8ff;
  margin-bottom: 20px;
  border-radius: 18px;
  background: #fff;
  padding: 10px;
}

.tab-header {
  padding: 16px 20px;
  background: transparent;
  border: none;
  font-size: 20px;
  font-weight: 500;
  color: #8994a7;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  border-radius: 10px;
}

.tab-header:hover {
  color: var(--blue);
}

.tab-header.active {
  color: var(--blue);
  font-weight: 500;
  font-size: 20px;
  background: linear-gradient(90deg, #e0ebfd 0%, #f5f9fe 100%);
}

.tab-contents {
  position: relative;
  background: #fff;
  border-radius: 18px;
  padding: 20px;
}

.tab-content {
  display: none;
  animation: fadeIn 0.3s ease;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tab-content h2 {
  font-size: 22px;
  font-weight: 700;
  color: #102856;
  margin: 0 0 28px 0;
  position: relative;
  padding-left: 16px;
}

.tab-content h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 22px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--blue), #4da3ff);
}

/* 产品彩页 */
.brochure-container {
  text-align: center;
}

.brochure-image {
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
}

.brochure-image img {
  width: 100%;
  height: auto !important;
  display: block;
  border-radius: 8px;
}

/* 技术参数表格 */
.specs-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #d9e8ff;
}

.specs-table tr {
  transition: background 0.2s ease;
}

.specs-table td {
  padding: 16px 24px;
  font-size: 15px;
  border-bottom: 1px solid #f5f5f5;
}

.spec-label {
  width: 120px;
  color: #6f7d95;
  font-weight: 500;
  background: #fff;
}

.spec-value {
  color: #333;
}

/* 产品特点网格 */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-item {
  padding: 28px 24px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #d9e8ff;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(16, 88, 213, 0.1);
  border-color: rgba(16, 88, 213, 0.15);
}

.feature-item:hover::before {
  transform: scaleX(1);
}

.feature-item h3 {
  font-size: 17px;
  font-weight: 500;
  color: var(--blue);
  margin: 0 0 12px 0;
}

.feature-item p {
  font-size: 14px;
  line-height: 1.8;
  color: #6f7d95;
  margin: 0;
}

/* 应用场景列表 */
.applications-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.application-item {
  padding: 28px 24px;
  background: #fff;
  border: 1px solid #d9e8ff;
  border-radius: 14px;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}


.application-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(16, 88, 213, 0.1);
  border-color: rgba(16, 88, 213, 0.15);
}

.application-item:hover::before {
  transform: scaleY(1);
}

.application-item h3 {
  font-size: 17px;
  font-weight: 500;
  color: var(--blue);
  margin: 0 0 12px 0;
}

.application-item p {
  font-size: 14px;
  line-height: 1.8;
  color: #6f7d95;
  margin: 0;
}

/* ==================== 相关产品推荐 ==================== */
.related-products {
  background: #f5f9fe;
  padding: 20px;
  border-radius: 18px;
  ;
}

.section-title {
  margin-bottom: 36px;
}

.section-title .num {
  font-size: 54px;
  line-height: 1;
  font-weight: 700;
  color: rgba(16, 88, 213, 0.06);
  letter-spacing: 1px;
}

.section-title h2 {
  margin-top: -18px;
  font-size: 32px;
  color: var(--blue);
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-weight: 500;
}

.section-title h2 span {
  font-size: 22px;
  color: rgba(16, 88, 213, 0.06);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
}

.related-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 0 0 20px 0;
}

.related-products-grid .product-item {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 18px 12px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: #16264a;
  transition: 0.25s ease;
  box-shadow: 0 10px 22px rgba(20, 75, 150, 0.08);
}

.related-products-grid .product-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 38px rgba(20, 75, 150, 0.22);
}

.related-products-grid .product-item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  color: inherit;
  width: 100%;
  height: 100%;
}

.related-products-grid .product-img {
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: transparent;
  overflow: hidden;
}

.related-products-grid .product-img img {
  max-height: 260px;
  max-width: 100%;
  object-fit: contain;
}

.related-products-grid .product-name {
  display: block;
  margin-top: 12px;
  padding: 0;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  text-align: center;
  line-height: 1.45;
}

.related-products-grid .product-item:hover .product-name {
  color: var(--blue);
}

/* ==================== 响应式 ==================== */
@media (max-width: 1200px) {
  .product-info-section {
    min-height: 400px;
  }

  .gallery-main {
    width: 100%;
  }

  .main-slider {
    height: 400px;
  }

  .gallery-thumbs {
    width: 90px;
    height: 400px;
  }

  .thumb-item {
    width: 90px;
    height: 90px;
  }
}

@media (max-width: 992px) {
  .product-info-section {
    min-height: auto;
  }

  .product-overview {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .product-gallery {
    position: static;
    max-width: 100%;
  }

  .gallery-main {
    width: 100%;
  }

  .main-slider {
    height: 420px;
  }

  .gallery-thumbs {
    height: 420px;
  }

  .thumb-item {
    height: 96px;
  }

  .features-grid,
  .applications-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .related-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-detail-tabs {
    padding: 24px;
  }
}

@media (max-width: 768px) {
  .product-detail-container {
    padding: 24px 0 50px;
  }

  .product-detail-container .container {
    padding: 0 16px;
  }

  .product-overview {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
    padding: 16px;
    background: #f5f9fe;
  }

  .tab-header.active {
    font-size: 16px;
  }

  .product-gallery {
    position: static;
    max-width: 100%;
    width: 100%;
    flex-direction: row;
  }

  .gallery-thumbs {
    width: 80px;
    height: auto;
    flex-direction: column;
    gap: 8px;
  }

  .thumb-item {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
  }

  .gallery-main {
    width: 100%;
  }

  .main-slider {
    height: 280px;
    border-radius: 12px;
  }

  .slider-btn {
    width: 34px;
    height: 34px;
    font-size: 12px;
  }

  .product-detail-title {
    font-size: 22px;
    margin-bottom: 18px;

  }

  .product-brief p {
    font-size: 14px;
  }

  .product-highlights {
    padding: 18px;
  }

  .product-highlights li {
    font-size: 14px;
    padding: 10px 0;
  }

  .product-actions {
    flex-direction: column;
  }

  .btn-contact-primary,
  .btn-view-specs {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 14px 24px;
  }

  .tab-headers {
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .tab-header {
    padding: 12px 20px;
    font-size: 14px;
    white-space: nowrap;
  }

  .tab-content h2 {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .brochure-image {
    padding: 0px;
  }

  .spec-label {
    width: 120px;
    font-size: 13px;
  }

  .spec-value {
    font-size: 13px;
  }

  .specs-table td {
    padding: 12px 16px;
  }

  .features-grid,
  .applications-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-item,
  .application-item {
    padding: 20px;
  }

  .feature-item h3,
  .application-item h3 {
    font-size: 16px;
  }

  .feature-item p,
  .application-item p {
    font-size: 13px;
  }

  .section-title {
    margin-bottom: 24px;
  }

  .section-title .num {
    font-size: 40px;
  }

  .section-title h2 {
    font-size: 20px;
    margin-top: -12px;
  }

  .section-title h2 span {
    font-size: 16px;
  }

  .related-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .related-products-grid .product-item {
    min-height: 240px;
  }

  .related-products-grid .product-img {
    height: 160px;
  }

  .related-products-grid .product-img img {
    max-height: 160px;
  }

  .related-products-grid .product-name {
    font-size: 13px;
  }

  .product-detail-tabs {
    padding: 3px;
    border-radius: 18px;
  }
}

@media (max-width: 480px) {
  .product-detail-container .container {
    padding: 0 0px;
  }

  .product-overview {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 10px;
  }

  .product-gallery {
    max-width: 100%;
    flex-direction: row;
  }

  .gallery-thumbs {
    width: 60px;
    gap: 6px;
  }

  .thumb-item {
    width: 60px;
    height: 60px;
  }

  .gallery-main {
    width: 100%;
  }

  .main-slider {
    height: 258px;
  }

  .product-detail-title {
    font-size: 20px;
  }

  .tab-header {
    padding: 10px 14px;
    font-size: 13px;
  }

  .related-products-grid {
    gap: 10px;
  }
}