/* 产品页样式 */

/* 产品列表 */
.products-grid {
  padding: 60px 0;
}

.product-item {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  transition: all 0.3s;
  height: 100%;
}

.product-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.product-img-wrap {
  position: relative;
  overflow: hidden;
  height: 250px;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.product-item:hover .product-img-wrap img {
  transform: scale(1.1);
}

.product-content {
  padding: 25px;
}

.product-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.product-content .price {
  color: #777;
  font-size: 0.9rem;
  margin-bottom: 15px;
  display: block;
}
.product-section .series-badge {
  display: inline-block;
  background-color: var(--theme-color);
  color: var(--dark-color);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}
.product-section .section-title{
  text-align: left;
}
.product-section .section-title::after{
  left: 0;
  transform: unset;
}
.product-section .feature-list {
    list-style: none;
    padding: 0;
}
.product-section .feature-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
    color: #333;
}
.product-section .feature-list i {
    color: var(--theme-color);
    margin-right: 1rem;
    font-size: 1.1rem;
}
.product-section .model-card {
    background-color: #f8f9fa;
    padding: 1.5rem 1rem;
    border-radius: 0.5rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.product-section .model-card:hover {
    background-color: var(--theme-color);
    border-color: var(--theme-color);
    transform: scale(1.05);
}

.product-section .model-card h6 {
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.product-section .model-card p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: #6c757d;
}

.comparison-table {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.comparison-table thead {
    background-color: var(--secondary-color);
}

.comparison-table th {
    border: none;
    padding: 1.5rem 1rem;
    font-weight: 600;
    text-align: center;
    color: white;
}

.comparison-table td {
    padding: 1.25rem 1rem;
    text-align: center;
    vertical-align: middle;
}

.comparison-table tbody tr:hover {
    background-color: #f8f9fa;
}

/* 产品详情页特定样式 */
.product-detail-section {
  padding: 60px 0;
}

.product-gallery img {
  width: 100%;
  margin-bottom: 10px;
  border: 1px solid #eee;
}

.product-specs {
  background-color: #f8f9fa;
  padding: 30px;
  margin-top: 30px;
  border-left: 5px solid var(--theme-color);
}

.spec-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

.spec-row:last-child {
  border-bottom: none;
}

.spec-label {
  font-weight: 700;
  color: var(--dark-bg);
}
.product-detail-section #myTab .nav-link {
  color: #495057 !important;
}
.product-detail-section #myTab .nav-link.active {
  color: #1a1a1a !important;
}
.product-detail-section .thumb-item {
  cursor: pointer;
  border: 2px solid transparent; /* 预留边框位置，防止点击时图片跳动 */
  transition: all 0.2s ease-in-out;
  border-radius: 4px;
}

.product-detail-section .thumb-item:hover {
  border-color: #dee2e6; /* 悬停颜色 */
}

/* 高亮激活状态的边框 */
.product-detail-section .thumb-item.active-border {
  border-color: #e1ff00; /* 使用 Bootstrap 主题蓝色，或改为 #e1ff00 */
  box-shadow: 0 0 5px #e1ff006f;
}
