/* 右侧常驻悬浮侧边栏 */
.side-float-bar-v2 {
  position: fixed;
  right: 0;
  top: 55%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: end;
}

@media (max-width: 768px) {
  .side-float-bar-v2 {
    display: none;
  }
}

.float-top-kefu {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  margin-bottom: 0.6rem;
}

.kefu-circle-box {
  width: 100px;
}

.kefu-circle-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.btn-online-badge {
  background: linear-gradient(135deg, #ff6600 0%, #FFA768 100%);
  color: #ffffff;
  border-radius: 6px;
  margin-top: -18px;
  text-align: center;
  z-index: 1;
  position: relative;
}
.btn-online-badge:hover {
  color: #ffffff;
}

/* 下方紧密连接的橙色长方体菜单 */
.orange-float-menu {
  background: linear-gradient(180deg, #FE6A00 0%, #FFA768 100%);
  width: 100%;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
}

.orange-menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 0.35rem;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 800;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  transition: background-color 0.2s ease;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
}
.orange-menu-item:hover {
  background-color: rgba(0, 0, 0, 0.12);
  color: #ffffff;
}

.orange-menu-item i {
  font-size: 1.75rem;
  margin-bottom: 0.35rem;
}

.orange-menu-item:last-child {
  border-bottom: none;
  padding: 0.6rem 0.35rem;
}

.arrow-icon-down {
  font-size: 1.2rem !important;
  margin-bottom: 0 !important;
}

/* 右侧悬浮侧边栏 Popover 气泡弹窗与飞入平滑动画 */
.orange-float-menu .popover-trigger {
  position: relative;
  cursor: pointer;
}

.float-popover {
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%) translateX(-15px) scale(0.92);
  margin-right: 6px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.06);
  padding: 12px 16px;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.35s ease;
  z-index: 1000;
  white-space: nowrap;
}

/* 气泡尖角 */
.float-popover .popover-arrow {
  position: absolute;
  right: -5px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: #ffffff;
  box-shadow: 2px -2px 5px rgba(0, 0, 0, 0.03);
}

/* Hover 触发展示 */
.popover-trigger:hover .float-popover {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateY(-50%) translateX(0) scale(1);
}

/* 微信二维码 Popover 特有样式 */
.popover-qrcode {
  padding: 14px 16px;
  text-align: center;
  width: 150px;
}

.popover-qrcode .qrcode-img-box {
  width: 118px;
  height: 118px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #f3f4f6;
  padding: 4px;
  box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.04);
}

.popover-qrcode .qrcode-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.popover-qrcode .popover-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #1f2937;
  margin-top: 8px;
  margin-bottom: 2px;
  line-height: 1.3;
}

.popover-qrcode .popover-sub {
  font-size: 0.725rem;
  color: #6b7280;
  line-height: 1.2;
}

/* 电话号码 Popover 特有样式 */
.popover-phone {
  padding: 12px 18px;
}

.popover-phone .phone-info-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.popover-phone .phone-icon-green {
  font-size: 1.6rem;
  color: #25d366;
  filter: drop-shadow(0 2px 4px rgba(37, 211, 102, 0.25));
}

.popover-phone .phone-icon-orange {
  font-size: 1.5rem;
  color: #ff6600;
  filter: drop-shadow(0 2px 4px rgba(255, 102, 0, 0.25));
}

.popover-phone .phone-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.popover-phone .phone-label {
  font-size: 0.75rem;
  color: #6b7280;
  font-weight: 600;
  margin-bottom: 2px;
}

.popover-phone .phone-number-text {
  font-size: 1.05rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: 0.02em;
  line-height: 1.2;
  transition: color 0.2s ease;
}

.popover-phone .phone-number-text:hover {
  color: #ff6600;
}
