.product-section {
    padding: 20px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    text-align: center;
}

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

.product-card img {
    height: 300px;
    object-fit: cover;
    width: 100%;
}

.product-info {
    padding: 10px 12px;
}

.product-title {
    font-size: 14px;
    margin-bottom: 8px;
    /* 关键三行 */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;

    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    max-height: calc(1.4em * 2);
}

.product-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

.price {
    color: #f56c6c;
    font-weight: bold;
}

.views {
    color: #999;
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .product-card img {
        height: 200px;
    }
}

/* FAQ 容器 */
.faq {
    max-width: 720px;
    margin: 0 auto;
    padding: 16px;
    font-family: Arial, sans-serif;
}

/* 标题 */
.faq-header {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 16px;
    text-align: center;
}

/* 单个 FAQ 项 */
.faq-item {
    border-bottom: 1px solid #e0e0e0;
    padding: 12px 0;
}

/* 问题样式 */
.faq-item-question {
    font-size: 16px;
    font-weight: 500;
    position: relative;
    padding-right: 24px;
    cursor: pointer;
}

/* 问题右侧箭头 */
.faq-item-question::after {
    content: '▼';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    transition: transform 0.3s;
}

/* 展开时箭头旋转 */
.faq-item.open .faq-item-question::after {
    transform: translateY(-50%) rotate(180deg);
}

/* 答案默认隐藏 */
.faq-item-answer {
    display: none;
    font-size: 14px;
    margin-top: 8px;
    line-height: 1.6;
    color: #333;
}

/* 展开显示答案 */
.faq-item.open .faq-item-answer {
    display: block;
}

/* 移动端适配 */
@media screen and (max-width: 480px) {
    .faq-header {
        font-size: 20px;
    }
    .faq-item-question {
        font-size: 15px;
    }
    .faq-item-answer {
        font-size: 14px;
    }
}