/* Products页面专用CSS样式 */
/* 产品页面专用样式 */
.products-banner {
    background: linear-gradient(135deg, #1e3c72 0%, #18284a 100%);
    color: white;
    text-align: center;
    padding: 80px 0;
    margin-top: 0;
}

.products-banner h1 {
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.products-banner p {
    font-size: 1.2rem;
    margin: 20px 0 0 0;
    opacity: 0.9;
}

/* 面包屑导航 */
.breadcrumb {
    background: #f8f9fa;
    padding: 15px 0;
}

.breadcrumb-content {
    max-width: 1600px;
    margin: 0 auto;
    /*padding: 0 20px;*/
}

.breadcrumb-links {
    display: flex;
    /*align-items: left;*/
    gap: 10px;
    font-size: 14px;
    color: #666;
}

.breadcrumb-links a {
    color: #18284a;
    text-decoration: none;
}

.breadcrumb-links a:hover {
    text-decoration: underline;
}

/* 主要内容区域 */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

/* 左侧产品分类导航 */
.product-sidebar {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: fit-content;
    position: sticky;
    top: 20px;
}

.sidebar-header {
    background: linear-gradient(135deg, #1e3c72 0%, #18284a 100%);
    color: white;
    padding: 20px;
    border-radius: 8px 8px 0 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.product-categories {
    padding: 0;
    margin: 0;
    list-style: none;
}

.category-item {
    border-bottom: 1px solid #eee;
}

.category-link {
    display: block;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
}

.category-link:hover {
    background: #f8f9fa;
    color: #18284a;
    padding-left: 25px;
}

.category-link.active {
    background: #e3f2fd;
    color: #1976d2;
    border-right: 3px solid #1976d2;
}

/* 产品展示区域 */
.products-grid {
    width: 100%;
}

.product-card {
    width: 30%;
    margin-left: 3.3%;
    float:left;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.product-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-info {
    padding: 25px;
}

.product-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
    line-height: 1.4;
    height: 60px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.product-description {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    height: 40px;
}

.product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.spec-tag {
    background: #e3f2fd;
    color: #1976d2;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.inquiry-btn {
    background: linear-gradient(135deg, #1e3c72 0%, #18284a 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.inquiry-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 60, 114, 0.3);
}

.product-code {
    color: #999;
    font-size: 12px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .main-content {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px 15px;
    }
    
    .product-sidebar {
        position: static;
    }
    
    .products-banner h1 {
        font-size: 2rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
