/* ============================================================
   产品列表修复 + FAQ修复
   ============================================================ */

/* 产品列表 */
.product-list {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px 20px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.product-list li {
    list-style: none !important;
    width: 100% !important;
}
.product-list .box {
    background: #ffffff !important;
    border: 1px solid #e8e8ed !important;
    border-radius: 10px !important;
    padding: 16px !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06) !important;
    height: 100% !important;
}
.product-list .box:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 30px rgba(231,26,25,0.12) !important;
}
.product-list .img.img-box {
    display: block !important;
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    overflow: hidden !important;
    border-radius: 8px !important;
    background: #f5f6f8 !important;
}
.product-list .img.img-box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    display: block !important;
    background: #f5f6f8 !important;
    padding: 4px !important;
}
.product-list .title {
    font-size: 15px !important;
    line-height: 1.5 !important;
    font-weight: 600 !important;
    color: #1a1a2e !important;
    padding: 12px 4px 4px 4px !important;
    text-align: center !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 46px !important;
}
.product-list .title:hover {
    color: #e71a19 !important;
}

/* ===== FAQ 修复：max-height 改为 none ===== */
.editor-module-faq ul li:last-child.active {
    max-height: none !important;
    padding: 18px 24px;
    opacity: 1;
}

@media (max-width: 768px) {
    .product-list {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
    .editor-module-faq ul li:last-child.active {
        padding: 16px 18px;
    }
}

@media (max-width: 480px) {
    .product-list {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
    .editor-module-faq ul li:last-child.active {
        padding: 14px 14px;
    }
}