.derun-side-bar{top:calc(50% - 106px);position:fixed;right:5px;z-index:999;border-radius:6px;background:#fff;box-shadow:0 0 15px rgba(1,1,1,0.1);}
.derun-side-bar a{display:block;cursor:pointer;width:48px;height:48px;display:-webkit-flex;display:flex;-webkit-justify-content:center;justify-content:center;-webkit-align-items:center;align-items:center;position:relative;color:var(--color-primary);}
.derun-side-bar a+a{border-top:1px solid rgba(218,37,28,0.5);}
.derun-side-bar a i{display:inline-block;font-size:28px;color:inherit;}
.derun-side-bar a:hover{background:var(--color-primary);color:#fff;}

.derun-side-bar .wx-box{width:150px;position:absolute;right:50px;top:-50px;display:none;z-index:100;}
.derun-side-bar .wx-box .box{width:140px;padding:5px;border:1px solid #D6D7D7;text-align:center;background:#fff;overflow:hidden;}
.derun-side-bar .wx-box .box img{width:100%;}

.derun-side-bar .wx-box .arrowPanel{width:12px;height:20px;position:absolute;right:0;top:calc(50% - 5px);}
.derun-side-bar .wx-box .arrowPanel .arrow01{width:0;height:0;font-size:0;line-height:0;position:absolute;bottom:0;left:2px;top:0;border-top:10px dashed transparent;border-right:10px dashed transparent;border-bottom:10px dashed transparent;border-left:10px solid #ddd;}
.derun-side-bar .wx-box .arrowPanel .arrow02{width:0;height:0;font-size:0;line-height:0;position:absolute;bottom:0;left:0;top:0;border-top:10px dashed transparent;border-right:10px dashed transparent;border-bottom:10px dashed transparent;border-left:10px solid #fff;}

.derun-side-bar a:hover .wx-box{display:block;}

/* 确保图标字体引用正确 */
.side-item i {
    font-family: "iconfont"; /* 必须与你原网站定义的字体名称一致 */
    font-style: normal;
}

/* 1. 定义阿里巴巴图标的编码 */
/* 注意：这里的 \e6xx 需要换成你在 iconfont 库里实际获取的编码 */
.qico-alibaba::before {
    content: "\e60"; 
}

/* 2. 定义微信图标的编码 (如果原网站没有 qico-wechat 类) */
.qico-wechat::before {
    content: "\e600"; 
}

/* 3. 布局调整：让两个按钮垂直排列，间距合适 */
.derun-side-bar .side-item {
    display: block;
    width: 50px;  /* 根据你的设计调整宽度 */
    height: 50px; /* 根据你的设计调整高度 */
    line-height: 50px;
    text-align: center;
    margin-bottom: 10px; /* 按钮之间的间距 */
    position: relative; /* 为了定位二维码 */
    background-color: #fff; /* 背景色 */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* 阴影 */
    border-radius: 4px;
    color: #333; /* 图标颜色 */
    transition: all 0.3s;
}

/* 鼠标悬停效果 */
.derun-side-bar .side-item:hover {
    color: #ff6a00; /* 悬停变色 */
}

/* 4. 二维码样式微调 (复用原有的 wx-box 逻辑) */
.wx-box {
    display: none; /* 默认隐藏 */
    position: absolute;
    right: 60px; /* 在按钮左侧显示 */
    top: 0;
    width: 150px;
    background: #fff;
    padding: 10px;
    border: 1px solid #ddd;
    z-index: 999;
}

/* 鼠标悬停在微信按钮上时显示二维码 */
.wechat-item:hover .wx-box {
    display: block;
}

.wx-box img {
    width: 100%;
    height: auto;
    display: block;
}