/* 产品展示页面样式 */
.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.product-card {
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 4px;
    transition: opacity 0.3s ease;
}

.product-card img:hover {
    opacity: 0.9;
    cursor: pointer;
}

.product-card h3 {
    margin-top: 15px;
    margin-bottom: 10px;
    font-size: 1rem;
    color: #333;
    text-align: center;
}

.product-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* 分类导航 */
.category-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin: 30px 0;
    padding: 15px 0;
    position: relative;
    border-bottom: 1px solid #eaeaea;
}

.category-nav a {
    padding: 8px 15px;
    text-decoration: none;
    color: #444;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    letter-spacing: 0.5px;
    border-bottom: 2px solid transparent;
    display: flex;
    align-items: center;
}

.category-nav a i {
    margin-right: 8px;
    font-size: 0.9em;
    color: #666;
}

.category-nav a:hover {
    color: #1a73e8;
}

.category-nav a:hover i {
    color: #1a73e8;
}

.category-nav a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #1a73e8;
    transition: width 0.3s ease;
}

.category-nav a:hover:after {
    width: 100%;
}

.category-nav a.active {
    color: #1a73e8;
    border-bottom: 2px solid #1a73e8;
}

.category-nav a.active i {
    color: #1a73e8;
}

.nav-divider {
    display: flex;
    align-items: center;
    color: #ddd;
    font-size: 4px;
    margin: 0 5px;
}

.nav-divider i {
    opacity: 0.5;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .category-nav {
        flex-direction: column;
    }
}
