/* ========== 筛选栏 ========== */
.filter-bar {
    display: flex;
    justify-content: center;
    gap: 14px;
    padding: 35px 5%;
    flex-wrap: wrap;
    background: var(--white);
}

.filter-btn {
    padding: 10px 24px;
    background: var(--gray-light);
    border: none;
    border-radius: 25px;
    color: var(--text-gray);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.92rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: var(--white);
}

/* ========== 产品网格 ========== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.35s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}

.product-img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.product-info {
    padding: 20px;
}

.product-name {
    font-size: 1.02rem;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-weight: 500;
}

.product-desc {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.product-price {
    font-size: 1.2rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 14px;
}

.product-card .btn {
    width: 100%;
    text-align: center;
}

/* ========== 促销横幅 ========== */
.promo-banner {
    background: linear-gradient(135deg, var(--primary), #B5865B);
    padding: 50px 5%;
    text-align: center;
    color: var(--white);
    margin-top: 55px;
}

.promo-banner h3 {
    font-size: 1.6rem;
    margin-bottom: 14px;
    font-weight: 500;
}

.promo-banner p {
    margin-bottom: 20px;
    opacity: 0.95;
    font-size: 1rem;
}

.promo-banner .btn {
    background: var(--white);
    color: var(--primary);
}

.promo-banner .btn:hover {
    background: var(--cream);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* ========== 响应式 ========== */
@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
}
