
/* FAQ 容器 */
.ueeshop-faq-container {
    width: 100%;
    max-width: 1450px;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    box-sizing: border-box;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    font-size: 16px !important;
}

/* FAQ 标题 */
.faq-header {
    text-align: center;
    margin-bottom: 30px;
}
.faq-header h2 {
    font-size: 28px;
    color: #000000;
    margin-bottom: 10px;
}
.faq-header p {
    font-size: 16px;
    color: #555555;
}

/* 标签导航栏 */
.faq-tabs-nav {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    gap: 8px;
    margin-bottom: 30px;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}
.faq-tabs-nav::-webkit-scrollbar {
    height: 4px;
}
.faq-tabs-nav::-webkit-scrollbar-thumb {
    background: rgba(52, 152, 219, 0.5);
    border-radius: 2px;
}

/* 标签按钮样式 */
.faq-tab-btn {
    padding: 12px 20px;
    background: #ecf0f1;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #7f8c8d;
    flex-shrink: 0;
    font-size: 14px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.faq-tab-btn:hover {
    background: #d6eaf8;
    color: #3498db;
}
.faq-tab-btn.active {
    background: #ecf0f1;
    color: #3498db;
    box-shadow: none;
}

/* 内容区域 */
.faq-tab-content {
    display: none;
    animation: fadeIn 0.4s ease-out;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.faq-tab-content.active {
    display: block;
}

/* FAQ项目样式 */
.faq-item {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: #fff;
}
.faq-item:hover {
    border-color: #3498db;
    box-shadow: 0 3px 10px rgba(52, 152, 219, 0.15);
}

/* 问题样式 */
.faq-question {
    padding: 18px 50px 18px 25px;
    background: #f8fafc;
    cursor: pointer;
    font-weight: 600;
    color: #2c3e50;
    position: relative;
    font-size: 16px !important;
    transition: background 0.3s;
}
.faq-question:hover {
    background: #f0f7fd;
}
.faq-question:before {
    content: attr(data-number);
    display: inline-block;
    margin-right: 10px;
    color: #3498db;
    font-weight: bold;
}
.faq-question:after {
    content: "+";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: #7f8c8d;
    transition: all 0.3s;
}
.faq-item.active .faq-question:after {
    content: "-";
    color: #3498db;
}

/* 答案样式 */
.faq-answer {
    padding: 0;
    background: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    font-size: 15px !important;
    line-height: 1.7 !important;
}
.faq-item.active .faq-answer {
    padding: 20px 25px;
    max-height: 1000px;
    border-top: 1px solid #e0e0e0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .ueeshop-faq-container {
        padding: 20px 15px;
    }
    .faq-tab-btn {
        padding: 10px 15px;
        font-size: 13px;
    }
    .faq-question {
        padding: 15px 40px 15px 20px;
        font-size: 15px !important;
    }
    .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
}
