

/* 主内容区样式 */
.product-main-section {
    padding: 40px 0;
    background: #f9fafb;
}

.product-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

/* 左侧边栏 */
.product-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.sidebar-title {
    position: relative;
    padding: 15px 20px;
    background: var(--primary-color);
    color: #fff;
    margin-bottom: 20px;
}

.title-icon {
    margin-right: 8px;
    opacity: 0.8;
}

.en-title {
    display: block;
    font-size: 0.9em;
    opacity: 0.9;
    margin-top: 5px;
}

/* 分类导航 */
.filter-menu {
    border: 1px solid #eee;
	margin-bottom: 20px;
}

.filter-menu > li {
    border-bottom: 1px solid #f5f5f5;
}

.filter-menu a {
    display: block;
    padding: 14px 20px;
    color: #333;
    transition: all 0.25s ease;
}

.filter-menu > li > a {
    font-weight: 500;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M9 5l7 7-7 7"/></svg>') 
                no-repeat right 20px center/12px;
}

.submenu a {
    padding-left: 35px;
    background-color: #f8f9fa;
}

.filter-menu a:hover,
.active > a {
    background-color: var(--primary-color);
    color: #fff;
    padding-left: 25px;
}
/* 新闻列表容器 */
.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

/* 列表项增强 */
.news-list li {
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  border-bottom: 1px solid #f0f0f0;
}

/* 最后一项去边框 */
.news-list li:last-child {
  border-bottom: none;
}

/* 新闻条目布局 */
.news-item {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  text-decoration: none;
  color: #333;
}

/* 时间戳样式 */
.news-item time {
  flex: 0 0 90px;
  font-size: 13px;
  color: var(--primary-color);
  margin-right: 15px;
  font-family: 'Courier New', monospace;
  position: relative;
  padding-left: 24px;
}

.news-item time::before {
  content: "🕒";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.6;
}

/* 标题动态效果 */
.news-item span {
  flex: 1;
  font-size: 15px;
  line-height: 1.4;
  transition: color 0.3s ease;
  position: relative;
  padding-left: 12px;
}

.news-item span::before {
  content: "▶";
  color: var(--primary-color);
  position: absolute;
  left: 0;
  top: 2px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* 悬停交互 */
.news-item:hover {
  background: rgba(33,150,243,0.05);
}

.news-item:hover span {
  color: #1565C0;
}

.news-item:hover span::before {
  opacity: 1;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .news-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 15px;
  }
  
  .news-item time {
    flex: none;
    width: 100%;
    margin: 0 0 8px;
    padding-left: 0;
    font-size: 12px;
  }
  
  .news-item time::before {
    display: none;
  }
  
  .news-item span {
    padding-left: 0;
    font-size: 14px;
  }
  
  .news-item span::before {
    display: none;
  }
}
/* 产品展示区 */
.product-showcase {
    background: #fff;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.product-card {
    border: 1px solid #eee;
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
}

.card-image {
    /*aspect-ratio: 4/3;*/
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card-link:hover img {
    transform: scale(1.03);
}

.card-content {
    padding: 15px;
}

.product-title {
    font-size: 1.1em;
    margin-bottom: 8px;
}

.product-spec {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.9em;
    color: #666;
}

/* 分页导航 */
.pagination-nav {
   display: flex;
    justify-content: center;
    gap: 6px;
    padding-top: 20px;
}

.page-item {
    display: inline-flex;
    align-items: center;
    justify-content: center; /* 新增居中 */
    min-width: 40px; /* 设置最小宽度 */
    padding: 8px 12px; /* 优化内边距 */
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #666;
    transition: all 0.2s ease;
    text-align: center;
    white-space: nowrap; /* 防止文字换行 */
}
/* 下一页特殊处理 */
.page-item.next {
    padding: 8px 15px; /* 调整图标间距 */
    min-width: 80px; /* 固定宽度与其他项协调 */
}
.icon-arrow {
    width: 12px;
    height: 12px;
    margin-left: 6px; /* 图标右侧间距 */
    transition: transform 0.2s ease;
}

/* 悬停动效增强 */
.page-item:hover .icon-arrow {
    transform: translateX(2px);
}
.page-item:hover,
.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: #fff;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .product-layout {
        grid-template-columns: 1fr;
    }

    .product-sidebar {
        position: static;
    }

    .filter-menu > li > a {
        background-size: 10px;
        padding-right: 35px;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .pagination-nav {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .card-content {
        padding: 12px;
    }

    .product-spec {
        font-size: 0.85em;
    }
	
	.page-item {
        min-width: 36px;
        padding: 6px 10px;
        font-size: 0.9em;
    }
    
    .page-item.next {
        min-width: 70px;
        padding: 6px 12px;
    }
}

