/* F29 客户咨询悬浮窗 · 样式（命名空间隔离，避免与站点既有类名冲突） */
.litu-sc-root,
.litu-sc-root * {
  box-sizing: border-box;
}

/* ---------- 悬浮入口 ---------- */
.litu-sc-fab {
  position: fixed;
  right: 20px;
  bottom: 84px;
  z-index: 2147482000;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px 12px 15px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #0e5f58 0%, #0a3d57 100%);
  color: #fff;
  font: 600 15px/1 -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  letter-spacing: .01em;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(8, 42, 60, .34), 0 2px 6px rgba(8, 42, 60, .2);
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
  opacity: .96;
}
.litu-sc-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(8, 42, 60, .4), 0 3px 8px rgba(8, 42, 60, .22);
  opacity: 1;
}
.litu-sc-fab:active { transform: translateY(0) scale(.985); }
.litu-sc-fab:focus-visible { outline: 3px solid #8fd7cd; outline-offset: 3px; }
.litu-sc-fab__icon { width: 19px; height: 19px; flex: none; }
.litu-sc-fab__text { white-space: nowrap; }
.litu-sc-fab__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #6ff0c0; flex: none;
  box-shadow: 0 0 0 3px rgba(111, 240, 192, .25);
}

/* 小屏：收成圆形图标 + 短字 */
@media (max-width: 560px) {
  .litu-sc-fab { right: 14px; bottom: 74px; padding: 12px 15px; font-size: 14px; }
}

/* ---------- 遮罩与弹框 ---------- */
.litu-sc-mask {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(6, 22, 40, .58);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity .2s ease;
}
.litu-sc-mask[data-open="true"] { opacity: 1; }
.litu-sc-mask[data-open="false"] { pointer-events: none; }

.litu-sc-card {
  position: relative;
  width: 100%;
  max-width: 372px;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  padding: 24px 24px 20px;
  border-radius: 18px;
  background: #fff;
  color: #10202f;
  text-align: center;
  box-shadow: 0 24px 64px rgba(4, 20, 36, .34);
  transform: translateY(10px) scale(.985);
  transition: transform .2s cubic-bezier(.2, .8, .3, 1);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}
.litu-sc-mask[data-open="true"] .litu-sc-card { transform: translateY(0) scale(1); }

.litu-sc-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border: 0; border-radius: 50%;
  background: #f1f4f7; color: #56646f;
  font-size: 19px; line-height: 1; cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.litu-sc-close:hover { background: #e4eaef; color: #23323d; }

.litu-sc-eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #e8f5f2;
  color: #0e6a5f;
  font-size: 12px; font-weight: 600; letter-spacing: .04em;
}
.litu-sc-title {
  margin: 0 0 4px;
  font-size: 20px; font-weight: 700; line-height: 1.35; color: #0b1f30;
}
.litu-sc-sub {
  margin: 0 0 16px;
  font-size: 13px; line-height: 1.6; color: #6b7a86;
}

.litu-sc-advisor {
  margin: 0;
  padding: 9px 11px;
  border-radius: 12px;
  background: #f6f9fb;
  border: 1px solid #e6edf2;
  text-align: left;
}
.litu-sc-advisor__row { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.litu-sc-advisor__name { font-size: 16px; font-weight: 700; color: #0e2436; }
.litu-sc-advisor__title { font-size: 12px; color: #7a8894; }
.litu-sc-advisor__region {
  margin-top: 3px;
  font-size: 12px; color: #8494a1;
}

.litu-sc-qr {
  display: block;
  width: 190px;
  max-width: 78%;
  margin: 0 auto 14px;
  padding: 8px;
  border: 1px solid #e4ebf0;
  border-radius: 14px;
  background: #fff;
}
.litu-sc-qr img { display: block; width: 100%; height: auto; border-radius: 8px; }
@media (max-width: 480px) {
  .litu-sc-qr { width: 176px; }
}

.litu-sc-qr-hint {
  margin: 0 0 16px;
  font-size: 13px; color: #56646f;
}
.litu-sc-qr-hint strong { color: #0e6a5f; }

/* ---------- 电话号码文本框（整块可点即拨号） ---------- */
.litu-sc-phone {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 5px;
  width: 100%;
  margin: 0;
  padding: 10px 12px;
  border: 2px solid #0e6a5f;
  border-radius: 12px;
  background: #f1faf8;
  color: #08322d;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(14, 106, 95, .12);
  transition: background .15s ease, border-color .15s ease,
              box-shadow .15s ease, transform .15s ease;
}
.litu-sc-phone:hover {
  background: #e3f6f1;
  border-color: #0b5a51;
  box-shadow: 0 8px 20px rgba(14, 106, 95, .18);
  transform: translateY(-1px);
}
.litu-sc-phone:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(14, 106, 95, .16);
}
.litu-sc-phone:focus-visible { outline: 3px solid #8fd7cd; outline-offset: 2px; }
.litu-sc-phone__head { display: flex; align-items: center; gap: 6px; min-width: 0; }
.litu-sc-phone__head svg { width: 17px; height: 17px; flex: none; color: #0e6a5f; }
.litu-sc-phone__label {
  font-size: 11px;
  font-weight: 600;
  color: #4b7f78;
  letter-spacing: .02em;
  white-space: nowrap;
}
.litu-sc-phone__num {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  color: #08322d;
  font-variant-numeric: tabular-nums;
  letter-spacing: .03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.litu-sc-tip {
  margin: 6px 0 0;
  font-size: 11px;
  line-height: 1.5;
  color: #9aa8b3;
}

/* 兼容保留：旧版按钮类（当前未使用） */
.litu-sc-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  background: #0e6a5f;
  color: #fff;
  font-size: 15px; font-weight: 700; text-decoration: none;
  box-shadow: 0 6px 16px rgba(14, 106, 95, .28);
}
.litu-sc-call__num { font-variant-numeric: tabular-nums; letter-spacing: .02em; }

/* 详情页「加入方案」主按钮：强制深绿实心（站点 .custom-kit-modal-button 自带浅绿底会覆盖 primary-button） */
.litu-sc-addbtn,
.litu-sc-addbtn.primary-button,
.litu-sc-addbtn.secondary-button,
.litu-sc-addbtn.custom-kit-modal-button {
  background-color: #0e6a5f !important;
  background-image: none !important;
  border-color: #0b5a51 !important;
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(14, 106, 95, .24);
}
.litu-sc-addbtn:hover,
.litu-sc-addbtn:focus {
  background-color: #0b5a51 !important;
  border-color: #0b5a51 !important;
  color: #fff !important;
}

.litu-sc-alt {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #eef2f5;
  font-size: 13px;
}
.litu-sc-alt button {
  border: 0; background: none; padding: 4px 2px;
  color: #0e6a5f; font-size: 13px; font-weight: 600;
  cursor: pointer; text-decoration: underline; text-underline-offset: 3px;
}
.litu-sc-alt button:hover { color: #0b5a51; }
.litu-sc-alt__sep { color: #cfd8de; margin: 0 8px; }
.litu-sc-foot {
  margin: 10px 0 0;
  font-size: 11px; color: #9aa8b3; line-height: 1.5;
}

/* 弹框出现时锁滚动 */
html.litu-sc-locked, body.litu-sc-locked { overflow: hidden !important; }
