/* ============================================================
   0.618 官网 · 微信咨询 + 报价器入口
   —— class 前缀 wx- / qt-
   ============================================================ */

/* ============================================================
   ① 内页悬浮微信按钮（右下角，微信绿）
   ============================================================ */
.wx-float-btn {
  position: fixed; right: 18px; bottom: 26px;
  z-index: 150;
  width: 60px; padding: 11px 0 12px;
  border: none; border-radius: 8px;
  background: linear-gradient(135deg, #35b05c, #1f7a3a);
  color: #fff; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-size: 12.5px; line-height: 1.35; font-family: inherit;
  box-shadow: 0 8px 24px rgba(31, 122, 58, .34);
  transition: .26s;
}
.wx-float-btn .ic { font-size: 22px; }
.wx-float-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(31, 122, 58, .42);
}
@media (max-width: 640px) {
  .wx-float-btn { width: 52px; right: 12px; bottom: 16px; padding: 9px 0 10px; font-size: 11.5px; }
  .wx-float-btn .ic { font-size: 19px; }
}

/* ============================================================
   ② 微信咨询弹窗
   ============================================================ */
.wx-mask {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(16, 20, 26, .62);
  backdrop-filter: blur(3px);
  display: none; align-items: center; justify-content: center;
  padding: 24px;
}
.wx-mask.show { display: flex; animation: wxFade .22s ease; }
@keyframes wxFade { from { opacity: 0; } to { opacity: 1; } }

.wx-box {
  position: relative;
  width: 100%; max-width: 400px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .34);
  animation: wxUp .28s cubic-bezier(.22, .9, .3, 1);
}
@keyframes wxUp {
  from { opacity: 0; transform: translateY(22px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.wx-box .hd {
  background: linear-gradient(135deg, #2f9e4f, #1f7a3a);
  color: #fff; padding: 20px 24px;
  display: flex; align-items: center; gap: 12px;
  position: relative; z-index: 1;   /* ★ 让 .hd 不覆盖右上角的关闭按钮 */
}
.wx-box .hd .ic {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255, 255, 255, .2);
  display: flex; align-items: center; justify-content: center;
  font-size: 21px; flex-shrink: 0;
}
.wx-box .hd b { display: block; font-size: 17px; font-weight: 700; }
.wx-box .hd span { display: block; font-size: 12.5px; opacity: .85; margin-top: 3px; }

.wx-box .x {
  position: absolute; top: 12px; right: 12px;
  width: 30px; height: 30px; border-radius: 50%;
  background: rgba(0, 0, 0, .28); color: #fff;
  border: none; font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: .2s;
  z-index: 10;   /* ★ 必须高于 .hd 的 z-index，否则点不到 */
}
.wx-box .x:hover { background: rgba(0, 0, 0, .38); }

.wx-box .bd { padding: 26px 24px 22px; text-align: center; }

/* 二维码区 */
.wx-qr {
  width: 210px; height: 210px; margin: 0 auto 18px;
  border-radius: 8px; border: 1px solid var(--line);
  background: #fff; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.wx-qr img { width: 100%; height: 100%; object-fit: contain; display: block; }
.wx-qr .ph {
  text-align: center; color: #a8b0bb; font-size: 12.5px; line-height: 1.8; padding: 12px;
}
.wx-qr .ph b { display: block; font-size: 26px; margin-bottom: 6px; }
.wx-qr .ph strong {
  display: inline-block; margin-top: 8px;
  font-size: 17px; font-weight: 800; color: var(--or-d);
  letter-spacing: .5px; background: var(--or-bg);
  padding: 5px 14px; border-radius: 5px;
}

.wx-tip {
  font-size: 13.5px; color: var(--ink2); line-height: 1.8;
  margin-bottom: 16px;
}
.wx-tip b { color: var(--or-d); }

/* 微信号行 */
.wx-id {
  display: flex; align-items: center; gap: 10px;
  background: #f5f7f9; border: 1px solid var(--line);
  border-radius: 7px; padding: 11px 14px; margin-bottom: 12px;
}
.wx-id .k { font-size: 13px; color: var(--ink3); flex-shrink: 0; }
.wx-id .v {
  flex: 1; text-align: left; font-size: 15.5px; font-weight: 700;
  color: var(--ink); letter-spacing: .4px; word-break: break-all;
}
.wx-id button {
  flex-shrink: 0; padding: 6px 13px; border-radius: 5px;
  border: 1px solid var(--or); background: #fff; color: var(--or);
  font-size: 13px; font-weight: 600; cursor: pointer;
  font-family: inherit; transition: .2s;
}
.wx-id button:hover { background: var(--or); color: #fff; }

/* 一键加好友（企业微信客服） */
.wx-kf {
  display: block; width: 100%; padding: 13px;
  border-radius: 7px; border: none;
  background: linear-gradient(135deg, #2f9e4f, #1f7a3a);
  color: #fff; font-size: 15px; font-weight: 700;
  cursor: pointer; font-family: inherit; transition: .22s;
  box-shadow: 0 5px 16px rgba(47, 158, 79, .28);
}
.wx-kf:hover { transform: translateY(-2px); box-shadow: 0 9px 22px rgba(47, 158, 79, .36); }
.wx-kf.ghost {
  background: #fff; color: var(--or); border: 1px solid var(--or);
  box-shadow: none;
}
.wx-kf.ghost:hover { background: var(--or-bg); }

/* 手机端提示 */
.wx-hint-m {
  display: none;
  font-size: 12.5px; color: var(--ink3); line-height: 1.7;
  margin-top: 12px; padding: 9px 12px;
  background: #f0f8f2; border-radius: 6px;
  border: 1px solid #d4ead9;
}
@media (max-width: 640px) {
  .wx-hint-m { display: block; }
  .wx-qr { width: 190px; height: 190px; }
}

/* ============================================================
   ② 报价器入口
   ============================================================ */
.qt-card {
  display: flex; align-items: center; gap: 28px;
  background: #fff; border: 1px solid var(--line);
  border-radius: 6px; padding: 26px 30px;
  flex-wrap: wrap;
}
.qt-card .qr {
  width: 132px; height: 132px; flex-shrink: 0;
  border: 1px solid var(--line); border-radius: 6px;
  background: #fff; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
.qt-card .qr img { width: 100%; height: 100%; object-fit: contain; display: block; }
.qt-card .qr .ph {
  text-align: center; color: #a8b0bb; font-size: 11.5px; line-height: 1.7; padding: 8px;
}
.qt-card .qr .ph b { display: block; font-size: 22px; margin-bottom: 4px; }

.qt-card .info { flex: 1; min-width: 260px; }
.qt-card .info h3 {
  font-size: 23px; font-weight: 800; color: var(--ink);
  margin-bottom: 9px; letter-spacing: .5px;
}
.qt-card .info p {
  font-size: 14.5px; color: var(--ink2); line-height: 1.85;
}
.qt-card .info .tags { display: flex; gap: 9px; flex-wrap: wrap; margin-top: 14px; }
.qt-card .info .tags span {
  padding: 5px 13px; border-radius: 100px;
  background: var(--or-bg); color: var(--or-d);
  font-size: 13px; font-weight: 600;
}
.qt-card .act { display: flex; gap: 12px; flex-wrap: wrap; }

/* 海报预览（电视墙版） */
.qt-poster {
  flex-shrink: 0; width: 132px;
  position: relative;
}
.qt-poster img {
  width: 100%; display: block;
  border-radius: 5px;
  border: 1px solid var(--line);
  box-shadow: 0 8px 22px rgba(24, 32, 44, .12);
  cursor: zoom-in; transition: .26s;
}
.qt-poster img:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(24, 32, 44, .18); }
.qt-poster .cap {
  display: block; text-align: center; margin-top: 8px;
  font-size: 12px; color: var(--ink3);
}

@media (max-width: 780px) {
  .qt-card { padding: 20px; gap: 18px; }
  .qt-card .qr { width: 108px; height: 108px; }
  .qt-card .info h3 { font-size: 19px; }
  .qt-card .act { width: 100%; }
  .qt-card .act .btn { flex: 1; }
}
