/* 搜索区域样式 */
.search-section {
    margin: 20px auto;
    padding: 20px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.filter-box {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.filter-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.filter-title {
    width: 80px;
    color: #666;
}

.filter-options {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-options a {
    padding: 5px 15px;
    color: #666;
    border-radius: 15px;
    transition: all 0.3s;
}

.filter-options a:hover,
.filter-options a.active {
    color: #fff;
    background: #2979ff;
}

/* 商品展示墙样式 */
.products-section {
    margin: 30px auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.product-card {
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-img {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s;
}

.product-card:hover .product-img img {
    transform: scale(1.1);
}

.quick-view {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s;
}

.product-card:hover .quick-view {
    opacity: 1;
}

.btn-view {
    padding: 10px 20px;
    background: #2979ff;
    color: #fff;
    border-radius: 20px;
    transition: all 0.3s;
}

.btn-view:hover {
    background: #1565c0;
}

.product-info {
    padding: 15px;
}

.product-name {
    margin-bottom: 10px;
    font-size: 16px;
    color: #333;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    color: #ff2020;
    font-size: 18px;
    font-weight: bold;
}

.product-sales {
    color: #999;
    font-size: 12px;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.pagination a,
.pagination span {
    min-width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    transition: all 0.3s;
}

.pagination a:hover,
.pagination a.active {
    color: #fff;
    background: #2979ff;
    border-color: #2979ff;
}

.page-prev,
.page-next {
    padding: 0 10px;
} 