/* 浮动按钮容器样式 */
.floating-buttons {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* 按钮基础样式 */
.floating-button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

/* 微信按钮样式 */
.floating-button.wechat {
    background-color: #9f7a40;
    color: white;
}

/* 电话按钮样式 */
.floating-button.phone {
    background-color: #9f7a40;
    color: white;
}

/* 微信小程序钮样式 */
.floating-button.miniprogram {
    background-color: #9f7a40;
    color: white;
}

/* 按钮悬停效果 */
.floating-button:hover {
    transform: scale(1.1);
}

/* 弹框样式 */
.floating-tooltip {
    position: absolute;
    right: 60px;
    background-color: white;
    padding: 8px 8px;
    border-radius: 2px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 1000;
    width: 120px;
}

/* 微信弹框特定样式 */
.floating-button.wechat .floating-tooltip {
    width: auto; /* 根据内容自适应 */
    text-align: center;
}

/* 电话弹框特定样式 */
.floating-button.phone .floating-tooltip {
    display: flex;
    flex-direction: column;
    align-items: center
}

/* 微信小程序弹框特定样式 */
.floating-button.miniprogram .floating-tooltip {
    width: auto; /* 根据内容自适应 */
    text-align: center;
}


/* 工作时间文字样式 */
.floating-tooltip div:last-child {
    color: #666;
    font-size: 11px;
    margin-top: 5px;
}


/* 显示弹框 */
.floating-button:hover .floating-tooltip,
.floating-button.active .floating-tooltip {
    opacity: 1;
    visibility: visible;
}

/* 二维码图片样式 */
.qrcode-img {
    width: 110px;
    height: 110px;
    margin: 0px 0 2px 0;
    border: 1px solid #eee;
}

/* 电话号码链接样式 */
.phone-link {
    color:#9f7a40;
    font-weight: normal;
    text-decoration: none;
    font-size: 13px;
    margin-top: 2px;
    display: inline-block;
}

/* 微信小程序码图片样式 */
.linkcode-img {
    width: 110px;
    height: 110px;
    margin: 0px 0 2px 0;
    border: 1px solid #eee;
}



.phone-link:hover {
    text-decoration: underline;
}

/* 弹框标题样式 */
.tooltip-title {
	font-size: 11px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
}

/* 移动端样式 */
@media (max-width: 768px) {
    .floating-buttons {
        right: 10px;
    }
    
    .floating-button {
        width: 45px;
        height: 45px;
    }
    
    .floating-tooltip {
        right: 50px;
    }
    
    .qrcode-img {
        width: 100px;
        height: 100px;
    }
	
	.linkcode-img {
        width: 100px;
        height: 100px;
    }
}