/* ==================== 弹窗基础样式 ==================== */
.wechat-consult-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.wechat-consult-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.wechat-consult-modal {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    max-width: 450px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.wechat-consult-modal-overlay.active .wechat-consult-modal {
    transform: translateY(0);
}

/* 弹窗头部 */
.wechat-consult-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
}

.wechat-consult-modal-header h3 {
    margin: 0;
    font-size: 18px;
    color: #333;
    font-weight: 600;
}

.wechat-consult-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.wechat-consult-modal-close:hover {
    color: #333;
    background: #f5f5f5;
}

/* 弹窗主体 */
.wechat-consult-modal-body {
    min-height: 200px;
}

/* 二维码图片样式 */
.wechat-qr-code {
    width: 200px;
    height: 200px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.wechat-qr-hint {
    text-align: center;
    margin-top: 16px;
    color: #666;
    font-size: 14px;
}

/* 加载动画样式 */
.wechat-qr-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    min-height: 200px;
}

.wechat-qr-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #07c160;
    border-radius: 50%;
    animation: wechat-spin 1s linear infinite;
    margin-bottom: 16px;
}

@keyframes wechat-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.wechat-qr-loading p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* ==================== Tab 切换样式 ==================== */
.wechat-contact-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
}

.wechat-contact-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    background: #f5f5f5;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.wechat-contact-tab:hover {
    background: #e8f5e9;
    color: #07c160;
}

.wechat-contact-tab.active {
    background: #07c160;
    color: #fff;
}

.wechat-contact-tab svg {
    width: 18px;
    height: 18px;
}

/* ==================== 面板内容样式 ==================== */
.wechat-contact-content {
    position: relative;
    min-height: 260px;
}

.wechat-contact-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.wechat-contact-panel.active {
    display: block;
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(10px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* ==================== 联系项样式 ==================== */
.wechat-contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.wechat-contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #e8f5e9;
    border-radius: 50%;
    color: #07c160;
    flex-shrink: 0;
}

.wechat-contact-info {
    flex: 1;
    min-width: 0;
}

.wechat-contact-label {
    margin: 0;
    font-size: 12px;
    color: #999;
}

.wechat-contact-value {
    margin: 4px 0 0;
    font-size: 16px;
    color: #333;
    font-weight: 500;
    word-break: break-all;
}

.wechat-contact-copy {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    background: #07c160;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.wechat-contact-copy:hover {
    background: #06ad56;
}

.wechat-contact-copy svg {
    width: 16px;
    height: 16px;
}

/* ==================== Toast 提示样式 ==================== */
.wechat-consult-toast {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 10000;
    animation: slideDown 0.3s ease;
    pointer-events: none;
}

@keyframes slideDown {
    from { 
        opacity: 0; 
        transform: translate(-50%, -20px); 
    }
    to { 
        opacity: 1; 
        transform: translate(-50%, 0); 
    }
}

/* ==================== 移动端适配 ==================== */
@media (max-width: 768px) {
    .wechat-consult-modal {
        width: 95%;
        padding: 20px;
    }
    
    .wechat-contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .wechat-contact-copy {
        width: 100%;
        justify-content: center;
    }
}

/* 侧边栏容器 - 加宽加高 */
.ConsultationSidebar-module__ZkRNnW__alcDlSide {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 220px;
    background: #fff;
    box-shadow: -2px 0 16px rgba(0, 0, 0, 0.1);
    border-radius: 12px 0 0 12px;
    z-index: 999;
    overflow: hidden;
}

/* 头部样式 */
.ConsultationSidebar-module__ZkRNnW__header {
    padding: 16px;
    background: linear-gradient(135deg, #07c160 0%, #06ad56 100%);
    color: #fff;
    text-align: center;
}

.ConsultationSidebar-module__ZkRNnW__headerText {
    font-size: 16px;
    font-weight: 600;
}

/* 内容区域 */
.ConsultationSidebar-module__ZkRNnW__content {
    padding: 16px;
    max-height: 600px;
    overflow-y: auto;
}

/* 区块样式 */
.ConsultationSidebar-module__ZkRNnW__section {
    padding: 12px 0;
}

.ConsultationSidebar-module__ZkRNnW__sectionTitle {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}

.ConsultationSidebar-module__ZkRNnW__sectionTitle svg {
    color: #07c160;
}

/* 二维码样式 */
.ConsultationSidebar-module__ZkRNnW__qrWrapper {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto;
    background: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
}

.ConsultationSidebar-module__ZkRNnW__qrImage {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.ConsultationSidebar-module__ZkRNnW__qrLoading {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
}

.ConsultationSidebar-module__ZkRNnW__spinner {
    width: 32px;
    height: 32px;
    border: 3px solid #e0e0e0;
    border-top-color: #07c160;
    border-radius: 50%;
    animation: sidebar-spin 1s linear infinite;
    margin-bottom: 8px;
}

@keyframes sidebar-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.ConsultationSidebar-module__ZkRNnW__qrLoading p {
    margin: 0;
    font-size: 12px;
    color: #999;
}

.ConsultationSidebar-module__ZkRNnW__qrHint {
    text-align: center;
    margin: 8px 0 0;
    font-size: 12px;
    color: #999;
}

/* 分隔线 */
.ConsultationSidebar-module__ZkRNnW__divider {
    height: 1px;
    background: #eee;
    margin: 8px 0;
}

/* 联系信息行 */
.ConsultationSidebar-module__ZkRNnW__contactRow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px;
    background: #f9f9f9;
    border-radius: 6px;
}

.ConsultationSidebar-module__ZkRNnW__contactValue {
    flex: 1;
    font-size: 13px;
    color: #333;
    word-break: break-all;
    min-width: 0;
}

/* 复制按钮 */
.ConsultationSidebar-module__ZkRNnW__copyBtn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #07c160;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.ConsultationSidebar-module__ZkRNnW__copyBtn:hover {
    background: #06ad56;
}

.ConsultationSidebar-module__ZkRNnW__copyBtn svg {
    width: 16px;
    height: 16px;
}

/* Toast 提示 */
.wechat-consult-toast {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 10000;
    animation: slideDown 0.3s ease;
    pointer-events: none;
}

@keyframes slideDown {
    from { 
        opacity: 0; 
        transform: translate(-50%, -20px); 
    }
    to { 
        opacity: 1; 
        transform: translate(-50%, 0); 
    }
}

/* 滚动条样式 */
.ConsultationSidebar-module__ZkRNnW__content::-webkit-scrollbar {
    width: 4px;
}

.ConsultationSidebar-module__ZkRNnW__content::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.ConsultationSidebar-module__ZkRNnW__content::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 2px;
}

.ConsultationSidebar-module__ZkRNnW__content::-webkit-scrollbar-thumb:hover {
    background: #999;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .ConsultationSidebar-module__ZkRNnW__alcDlSide {
        width: 180px;
        right: -180px;
        transition: right 0.3s ease;
    }
    
    .ConsultationSidebar-module__ZkRNnW__alcDlSide.show {
        right: 0;
    }
    
    .ConsultationSidebar-module__ZkRNnW__qrWrapper {
        width: 140px;
        height: 140px;
    }
}

/* ==================== 单图 Banner 样式 ==================== */
.banner-section {
    width: 100%;
    padding: 0;
    margin-top: 130px;
    background: #f5f5f5;
}

.banner-container {
    max-width: 1288px;
    margin: 0 auto;
    overflow: hidden;
}

.banner-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* 响应式适配 */
@media (max-width: 1920px) {
    .banner-image {
        max-width: 1920px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .banner-section {
        padding: 0;
    }
}
