/* 列表页面专用样式 */
.page-header {
    margin: 30px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #333;
}

.breadcrumb {
    color: #666;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: #4caf50;
}

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

/* 筛选区域 */
.filter-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f9f9f9;
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.search-box {
    display: flex;
    flex: 1;
    min-width: 250px;
}

.search-box input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px 0 0 5px;
    outline: none;
}

.search-box button {
    background-color: #4caf50;
    color: white;
    border: none;
    padding: 0 15px;
    border-radius: 0 5px 5px 0;
    cursor: pointer;
}

.category-filter select {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    min-width: 150px;
    outline: none;
}

.sort-options {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-options span {
    color: #666;
}

.sort-options a {
    color: #333;
    padding: 5px 10px;
    border-radius: 3px;
}

.sort-options a.active {
    background-color: #4caf50;
    color: white;
}

/* 产品列表 */
.product-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.product-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.product-image {
    position: relative;
    height: 200px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #ff5722;
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.8rem;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.product-info p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: #888;
    font-size: 0.9rem;
}

.product-meta i {
    margin-right: 5px;
}

.btn-view {
    display: inline-block;
    background-color: #4caf50;
    color: white;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s;
    text-align: center;
    width: 100%;
}

.btn-view:hover {
    background-color: #388e3c;
}

/* 分页 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 60px;
}
/* 响应式设计 */
@media (max-width: 768px) {
    .filter-section {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-box,
    .category-filter,
    .sort-options {
        width: 100%;
    }
    
    .sort-options {
        justify-content: center;
    }
    
    .product-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 500px) {
    .product-meta {
        flex-direction: column;
        gap: 5px;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
} 