.container { width: 1400px; background: white; border-radius: 10px; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08); padding: 20px; font-size:18px; margin:30px; }

.breadcrumb { display: flex; align-items: center; padding: 15px 25px; background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); border-radius: 8px; border-left: 5px solid #3498db; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); color: #3498db; }

.breadcrumb a { text-decoration: none; color: #3498db; font-weight: 500; padding: 6px 12px; border-radius: 4px; transition: all 0.3s ease; position: relative; }

.breadcrumb a:hover { background-color: #e3f2fd; color: #1a73e8; transform: translateY(-1px); }



/* 第二部分：分类菜单 */
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 9px; margin: 30px 0 10px 0; }

.category-item { background-color: #fff; border-radius: 6px; padding: 10px 12px; text-align: center; box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08); transition: all 0.3s ease; cursor: pointer; position: relative; overflow: hidden; height: 45px; display: flex; align-items: center; justify-content: center; }

.category-item:before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.2), transparent); transition: left 0.5s; }

.category-item:hover { transform: translateY(-3px); box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15); background-color: #3498db; }

.category-item:hover:before { left: 100%; }

.category-item:hover .category-name { color: #fff; }

.category-name { font-size: 14px; font-weight: 500; transition: color 0.3s; }

/* 修复分类项超链接样式 */
.category-name a {
    color: inherit; /* 继承父元素颜色 */
    text-decoration: none; /* 去掉下划线 */
    display: block; /* 确保链接填满整个区域 */
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 确保悬停效果仍然有效 */
.category-item:hover .category-name,
.category-item:hover .category-name a {
    color: #fff;
}




/* 第一部分：导航路径 */


.canpinarcbox { width: 1400px; margin: 0 auto; display: flex; flex-direction: column; background: white; border-radius: 8px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); overflow: hidden; margin:30px 0; }

.canpinarcheader { background: linear-gradient(135deg, #1a6aa2 0%, #2c3e50 100%); color: white; padding: 30px 40px; border-bottom: 5px solid #e67e22; }

.canpinarcheader h1 { font-size: 36px; margin-bottom: 10px; text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3); }

.content { padding: 40px; flex: 1; }

.content p { margin-bottom: 20px; text-indent: 2em; font-size: 18px; line-height:33px }

.arcpic { text-align: center; margin: 30px 0; }

.arcpic img { max-width: 100%; height: auto; margin:20px 0; border-radius: 6px; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2); transition: transform 0.3s ease; }

.arcpic img:hover { transform: scale(1.02); }

/* 响应式设计 */
@media (max-width: 1420px) { .canpinarcbox { width: 95%; } }

@media (max-width: 768px) { 
    .header h1 { font-size: 28px; } 
    .content { padding: 20px; } 
    .category-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); } 
}

@media (max-width: 480px) { 
    .category-grid { grid-template-columns: 1fr; } 
}







       /* 第三部分：产品图片展示 - 修改为正方形 */
.product-showcase { display: flex; flex-wrap: wrap; gap: 20px; margin: 30px 0 10px 0; }
.product-item { flex: 0 0 calc(25% - 15px); background-color: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); transition: transform 0.3s, box-shadow 0.3s; aspect-ratio: 1 / 1; display: flex; flex-direction: column; }
.product-item:hover { transform: translateY(-8px); box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15); }
.product-img { width: 100%; height: 80%; object-fit: cover; display: block; }
.product-info { padding: 15px; text-align: center; height: 20%; display: flex; align-items: center; justify-content: center; }
.product-name { font-size: 16px; font-weight: 500; color: #333; }

/* 修复超链接样式 */
.product-item > a {
    display: block;
    height: 80%;
    flex-shrink: 0; /* 防止超链接收缩 */
}

.product-item > a img {
    height: 100%; /* 确保图片填满超链接容器 */
}

.product-info a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
	



@media (max-width: 1200px) { .product-item { flex: 0 0 calc(33.333% - 14px); } }
@media (max-width: 768px) { .product-item { flex: 0 0 calc(50% - 10px); } }
@media (max-width: 480px) { .product-item { flex: 0 0 100%; } }



#pagediv{display:flex;flex-direction:row;  padding:10px 0;background:#fff;justify-content:center; margin-bottom:30px;}
#pagediv li{ padding:3px 8px; border:1px solid #dd5f9f; margin-right:5px; background:#FFFFFF}
#pagediv li.on,#pagediv a:hover li{ background:#dd5f9f; color:#FFFFFF}