/* mirror_flow:p6_ai_generated */
/* ===== 桐乡男科专科医院 全局样式 ===== */
:root {
  --primary-color: #1989fa;
  --primary-dark: #1565c0;
  --primary-light: #e8f4fd;
  --accent-color: #ff6b35;
  --text-primary: #333333;
  --text-secondary: #666666;
  --text-light: #999999;
  --bg-white: #ffffff;
  --bg-gray: #f5f7fa;
  --bg-light: #fafbfc;
  --border-color: #e8ecf1;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
  --shadow-float: 0 6px 24px rgba(25, 137, 250, 0.25);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-round: 50%;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', 'Microsoft YaHei', sans-serif;
  --z-float: 999;
  --z-overlay: 1000;
  --z-modal: 1100;
}

/* ===== 全局重置 ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-gray);
  min-width: 320px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border: 0;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-color);
}

ul, ol {
  list-style: none;
}

input, button, textarea, select {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

/* ===== 浮动挂件容器 ===== */
.db_float {
  position: fixed;
  right: 8px;
  bottom: 120px;
  z-index: var(--z-float);
  display: flex;
  flex-direction: column;
  gap: 6px;
  pointer-events: none;
}

.db_float > * {
  pointer-events: auto;
}

/* ===== 浮动图标通用样式 ===== */
.db_float a,
.db_float .db_wx {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-round);
  background: var(--bg-white);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  position: relative;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.db_float a img,
.db_float .db_wx > img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

/* 电话按钮特殊样式 */
.db_float .db_tel {
  background: var(--primary-color);
  box-shadow: var(--shadow-float);
  animation: pulse-phone 2.5s ease-in-out infinite;
}

.db_float .db_tel img {
  width: 30px;
  height: 30px;
}

@keyframes pulse-phone {
  0%, 100% {
    box-shadow: 0 6px 24px rgba(25, 137, 250, 0.3);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 8px 36px rgba(25, 137, 250, 0.5);
    transform: scale(1.06);
  }
}

/* 微信按钮样式 */
.db_float .db_wx {
  background: #07c160;
  box-shadow: 0 4px 16px rgba(7, 193, 96, 0.3);
}

.db_float .db_wx img {
  width: 30px;
  height: 30px;
}

/* 预约按钮样式 */
.db_float .db_yy {
  background: var(--accent-color);
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3);
}

.db_float .db_yy img {
  width: 28px;
  height: 28px;
}

/* 短信按钮样式 */
.db_float .db_sms {
  background: #5c6bc0;
  box-shadow: 0 4px 16px rgba(92, 107, 192, 0.3);
}

.db_float .db_sms img {
  width: 26px;
  height: 26px;
}

/* 悬浮图标悬停效果 */
.db_float a:hover,
.db_float .db_wx:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.db_float a:active,
.db_float .db_wx:active {
  transform: scale(0.94);
}

.db_float a:hover img,
.db_float .db_wx:hover img {
  transform: scale(1.08);
}

/* ===== 微信悬浮窗（二维码弹窗） ===== */
.db_wx .weixin_img {
  position: absolute;
  right: 60px;
  bottom: 0;
  width: 180px;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 12px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all var(--transition-normal);
  pointer-events: none;
  z-index: var(--z-overlay);
}

.db_wx .weixin_img::after {
  content: '';
  position: absolute;
  right: -8px;
  bottom: 18px;
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 9px solid var(--bg-white);
}

.db_wx .weixin_img img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-sm);
}

.db_wx .weixin_img p {
  text-align: center;
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 8px;
  line-height: 1.4;
}

/* 微信悬浮窗显示（移动端点击、PC端悬停） */
.db_wx:hover .weixin_img,
.db_wx.active .weixin_img {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
}

/* ===== 定位/桥接代码区域 ===== */
.bridgeCode {
  position: fixed;
  right: 8px;
  bottom: 80px;
  z-index: var(--z-float);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-round);
  background: var(--bg-white);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: all var(--transition-normal);
  -webkit-tap-highlight-color: transparent;
}

.bridgeCode img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.bridgeCode:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* ===== 底部信息栏 ===== */
.footer_info {
  text-align: center;
  padding: 20px 16px;
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.8;
  background: var(--bg-white);
  border-top: 1px solid var(--border-color);
}

.footer_info span {
  display: inline-block;
  margin: 0 4px;
}

/* ===== 响应式 - 平板及以下 ===== */
@media screen and (max-width: 1024px) {
  .db_float {
    right: 6px;
    bottom: 100px;
    gap: 5px;
  }

  .db_float a,
  .db_float .db_wx {
    width: 46px;
    height: 46px;
  }

  .db_float a img,
  .db_float .db_wx > img {
    width: 24px;
    height: 24px;
  }

  .db_float .db_tel img {
    width: 26px;
    height: 26px;
  }

  .db_float .db_wx img {
    width: 26px;
    height: 26px;
  }

  .db_float .db_yy img {
    width: 24px;
    height: 24px;
  }

  .db_float .db_sms img {
    width: 22px;
    height: 22px;
  }

  .bridgeCode {
    right: 6px;
    bottom: 65px;
    width: 46px;
    height: 46px;
  }

  .bridgeCode img {
    width: 22px;
    height: 22px;
  }

  .db_wx .weixin_img {
    width: 160px;
    right: 55px;
    padding: 10px;
  }
}

/* ===== 响应式 - 手机端 ===== */
@media screen and (max-width: 767px) {
  .db_float {
    right: 4px;
    bottom: 80px;
    gap: 4px;
  }

  .db_float a,
  .db_float .db_wx {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-round);
  }

  .db_float a img,
  .db_float .db_wx > img {
    width: 21px;
    height: 21px;
  }

  .db_float .db_tel img {
    width: 23px;
    height: 23px;
  }

  .db_float .db_wx img {
    width: 23px;
    height: 23px;
  }

  .db_float .db_yy img {
    width: 21px;
    height: 21px;
  }

  .db_float .db_sms img {
    width: 19px;
    height: 19px;
  }

  .bridgeCode {
    right: 4px;
    bottom: 50px;
    width: 40px;
    height: 40px;
  }

  .bridgeCode img {
    width: 20px;
    height: 20px;
  }

  .db_wx .weixin_img {
    width: 140px;
    right: 48px;
    padding: 8px;
    border-radius: var(--radius-sm);
  }

  .db_wx .weixin_img::after {
    right: -7px;
    bottom: 14px;
    border-top-width: 7px;
    border-bottom-width: 7px;
    border-left-width: 7px;
  }

  .db_wx .weixin_img p {
    font-size: 11px;
    margin-top: 6px;
  }

  .footer_info {
    padding: 16px 12px;
    font-size: 11px;
  }

  @keyframes pulse-phone {
    0%, 100% {
      box-shadow: 0 4px 16px rgba(25, 137, 250, 0.3);
      transform: scale(1);
    }
    50% {
      box-shadow: 0 6px 24px rgba(25, 137, 250, 0.45);
      transform: scale(1.04);
    }
  }
}

/* ===== 超小屏幕（320-375px） ===== */
@media screen and (max-width: 375px) {
  .db_float {
    right: 2px;
    bottom: 60px;
    gap: 3px;
  }

  .db_float a,
  .db_float .db_wx {
    width: 36px;
    height: 36px;
  }

  .db_float a img,
  .db_float .db_wx > img {
    width: 18px;
    height: 18px;
  }

  .db_float .db_tel img {
    width: 20px;
    height: 20px;
  }

  .db_float .db_wx img {
    width: 20px
