        /* 在线客服组件主容器 */
        .kefu-sidebar {
            position: fixed;
            right: 0px;
            top: 50%;
            transform: translateY(-50%);
            z-index: 1000;
            width:80px;
            display: flex;
            flex-direction: column;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            border-radius: 8px 0 0 8px;
            overflow: visible; /* 改为visible，让子元素可以溢出 */
        }

        /* 每个客服项目 */
        .kefu-item {
            background-color: #009640;
            color: white;
            text-align: center;
            padding: 13px 5px;
            cursor: pointer;
            transition: all 0.3s ease;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            position: relative;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            min-height: 70px;
            box-sizing: border-box;
        }

        .kefu-item:last-child {
            border-bottom: none;
        }

        .kefu-item:hover {
            background-color: #009640;
            cursor: pointer;
        }

        /* 图标样式 */
        .kefu-icon {
            font-size: 26px;
            margin-bottom: 5px;
        }

        /* 标题样式 */
        .kefu-title {
            font-size: 12px;
            font-weight: 500;
        }

        /* 手机和电话悬浮面板 */
        .kefu-contact-panel {
            position: absolute;
            left: -160px;
            top: 0;
            width: 150px;
            height: 100%;
            background-color: #009640;
            border-radius: 8px 0 0 8px;
            display: flex;
            justify-content: center;
            align-items: center;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            box-shadow: -5px 0 10px rgba(0, 0, 0, 0.1);
            z-index: -1; /* 确保在kefu-item后面 */
        }

        .kefu-item:hover .kefu-contact-panel {
            opacity: 1;
            visibility: visible;
            left: -150px;
            z-index: -1; /* 保持层级在.kefu-item后面 */
        }

        .kefu-contact-link {
            color: white;
            text-decoration: none;
            font-size: 16px;
            font-weight: 500;
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 15px;
            white-space: nowrap;
        }

        /* 二维码悬浮面板 - 修改为只显示图片 */
        .kefu-qr-panel {
            position: absolute;
            left: -180px; /* 调整位置，适应更大的二维码 */
            top: 50%;
            transform: translateY(-50%);
            width: auto;
            height: auto;
            background: transparent !important; /* 透明背景 */
            border-radius: 8px;
            display: flex;
            justify-content: center;
            align-items: center;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15); /* 给图片添加阴影 */
            padding: 0;
            box-sizing: border-box;
            z-index: 999; /* 提高层级，确保显示在最前面 */
            pointer-events: none; /* 防止干扰鼠标事件 */
        }

        .kefu-item:hover .kefu-qr-panel {
            opacity: 1;
            visibility: visible;
            left: -140px; /* 调整显示位置 */
            z-index: 999;
        }

        .kefu-qr-image {
            width: 140px !important; /* 固定宽度120px */
            height: 140px !important; /* 固定高度120px */
            border-radius: 2px;
            display: block;
            object-fit: cover;
        }

        /* 响应式设计 */
        @media (max-width: 1024px) {
            .kefu-sidebar {
                right: 10px;
                width: 55px;
            }
            
            .kefu-contact-panel {
                left: -145px;
                width: 135px;
            }
            
            .kefu-item:hover .kefu-contact-panel {
                left: -135px;
            }
            
            /* 调整平板上的二维码位置 */
            .kefu-qr-panel {
                left: -135px;
            }
            
            .kefu-item:hover .kefu-qr-panel {
                left: -125px;
            }
        }

        @media (max-width: 768px) {
            .kefu-sidebar {
                width: 50px;
                right: 5px;
				display:none
            }
            
            .kefu-item {
                padding: 10px 3px;
                min-height: 65px;
            }
            
            .kefu-icon {
                font-size: 18px;
            }
            
            .kefu-title {
                font-size: 11px;
            }
            
            .kefu-contact-panel {
                left: -130px;
                width: 125px;
            }
            
            .kefu-item:hover .kefu-contact-panel {
                left: -125px;
            }
            
            .kefu-contact-link {
                font-size: 14px;
                padding: 10px;
            }
            
            /* 调整平板上的二维码大小和位置 */
            .kefu-qr-panel {
                left: -125px;
            }
            
            .kefu-item:hover .kefu-qr-panel {
                left: -115px;
            }
            
            .kefu-qr-image {
                width: 100px !important;
                height: 100px !important;
            }
        }

        @media (max-width: 480px) {
            .kefu-sidebar {
                width: 45px;
                right: 0;
                border-radius: 5px 0 0 5px;
            }
            
            .kefu-item {
                padding: 8px 2px;
                min-height: 60px;
            }
            
            .kefu-icon {
                font-size: 16px;
            }
            
            .kefu-title {
                font-size: 10px;
            }
            
            /* 在小屏幕上，悬停效果改为点击触发 */
            .kefu-contact-panel,
            .kefu-qr-panel {
                display: none;
            }
            
            /* 移动端点击显示面板 */
            .kefu-item.kefu-mobile-active .kefu-contact-panel,
            .kefu-item.kefu-mobile-active .kefu-qr-panel {
                display: flex;
                left: -130px;
                opacity: 1;
                visibility: visible;
                z-index: 1001; /* 在移动端需要更高层级 */
                width: auto;
                top: 50%;
                transform: translateY(-50%);
                background: transparent !important;
                box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
            }
            
            /* 移动端二维码大小 */
            .kefu-item.kefu-mobile-active .kefu-qr-panel .kefu-qr-image {
                width: 100px !important;
                height: 100px !important;
            }
        }