/* 右侧悬浮按钮组 */
.side-float-bar {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.float-item {
  position: relative;
}

.float-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  color: #6A9E3F;
  font-size: 1.3rem;
  text-decoration: none;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  border: 1px solid #EEF0EA;
}

.float-btn:hover {
  background: #6A9E3F;
  color: #fff;
  box-shadow: 0 4px 20px rgba(106,158,63,0.3);
  transform: scale(1.08);
}

/* 弹出信息 */
.float-pop {
  position: absolute;
  right: 62px;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border-radius: 12px;
  padding: 12px 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  pointer-events: none;
}

.float-pop::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: #fff;
  border-radius: 2px;
}

.float-item:hover .float-pop {
  opacity: 1;
  visibility: visible;
}

.float-tel-num {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1F6B47;
  letter-spacing: 0.5px;
}

/* 二维码弹窗 */
.float-pop-qr {
  padding: 16px;
  text-align: center;
  min-width: 150px;
}

.float-pop-qr img {
  width: 130px;
  height: 130px;
  border-radius: 10px;
  display: block;
}

.float-pop-qr p {
  margin: 8px 0 0;
  font-size: 0.78rem;
  color: #999;
}

.float-qr-placeholder {
  width: 130px;
  height: 130px;
  background: #f5f5f5;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #ddd;
}

/* 返回顶部 */
.float-top {
  opacity: 0;
  transition: opacity 0.3s;
}

@media (max-width: 768px) {
  .side-float-bar {
    right: 10px;
    gap: 8px;
  }
  .float-btn {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }
}
