
/* FAQ 基础样式 - 适配Ueeshop商城 */
.faq-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 15px;
    font-family: Arial, sans-serif;
}
.faq-item {
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 12px;
    border: 1px solid #eee;
    overflow: hidden;
    transition: all 0.3s ease;
}
/* 鼠标指向互动效果（核心） */
.faq-question {
    padding: 18px 20px;
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    cursor: pointer;
    position: relative;
    background: #ffffff;
    transition: all 0.3s ease;
}
/* 鼠标悬停变色 + 阴影 */
.faq-question:hover {
    background: #e3f2fd;
    color: #0d6efd;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
/* 展开/折叠图标 */
.faq-question::after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
    transition: transform 0.3s ease;
}
.faq-question.active::after {
    content: "-";
    transform: translateY(-50%) rotate(180deg);
}
/* 答案内容 默认隐藏 */
.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}
.faq-answer.show {
    padding: 0 20px 18px;
    max-height: 500px;
}
.faq-answer a {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 500;
}
.faq-answer a:hover {
    text-decoration: underline;
}
