﻿/* ========================================
   Products Section Title Center Fix
   修复Products标题左右居中问题
   ======================================== */

/* 确保容器完全居中 */
.sec-products-tabbed {
  padding-left: 0;
  padding-right: 0;
}

.sec-products-tabbed .container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* 标题区域完全居中 */
.sec-products-tabbed .section-title {
  text-align: center;
  margin-bottom: 48px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
  max-width: 100%;
}

.sec-products-tabbed .section-title .label {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #bf4800;
  margin-bottom: 8px;
  text-transform: uppercase;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.sec-products-tabbed .section-title h2 {
  font-size: 40px;
  font-weight: 800;
  color: #1d1d1f;
  margin: 0 auto 12px auto;
  letter-spacing: -0.02em;
  text-align: center;
  padding-left: 0;
  padding-right: 0;
}

.sec-products-tabbed .section-title p {
  font-size: 18px;
  color: #6e6e73;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding-left: 0;
  padding-right: 0;
}

/* 确保产品布局区域也居中 */
.sec-products-tabbed .products-tabbed-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  margin-top: 48px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* 响应式优化 */
@media (max-width: 1240px) {
  .sec-products-tabbed .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 1024px) {
  .sec-products-tabbed .section-title h2 {
    font-size: 36px;
  }

  .sec-products-tabbed .section-title p {
    font-size: 17px;
    max-width: 600px;
  }

  .sec-products-tabbed .products-tabbed-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .sec-products-tabbed .section-title h2 {
    font-size: 32px;
  }

  .sec-products-tabbed .section-title p {
    font-size: 16px;
    max-width: 100%;
    padding-left: 10px;
    padding-right: 10px;
  }

  .sec-products-tabbed .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width: 480px) {
  .sec-products-tabbed .section-title h2 {
    font-size: 28px;
  }

  .sec-products-tabbed .section-title p {
    font-size: 15px;
  }
}
