/* ============================================================
   悬浮客服条 + 在线咨询窗
   ============================================================ */

/* 右侧按钮组 */
.side-stack{position:fixed;right:16px;bottom:104px;z-index:80;display:flex;flex-direction:column;gap:10px;align-items:flex-end}
.side-btn{position:relative;width:52px;height:52px;border-radius:50%;display:grid;place-items:center;
  color:#fff;box-shadow:0 10px 22px -10px rgba(4,91,26,.55);transition:.18s;border:0;cursor:pointer}
.side-btn:hover{transform:translateY(-2px)}
.side-btn.tel{background:#77c28a}
.side-btn.mail{background:#2f6fe4}
.side-btn.wa{background:#25d366}
.side-btn.chat{background:#0f8a35}
.side-btn .lbl{position:absolute;right:62px;top:50%;transform:translateY(-50%) scale(.92);
  opacity:0;pointer-events:none;background:#2b4a34;color:#fff;font-size:12.5px;padding:7px 12px;
  border-radius:4px;white-space:nowrap;transition:.18s;letter-spacing:.02em}
.side-btn .lbl:after{content:"";position:absolute;right:-5px;top:50%;margin-top:-5px;border:5px solid transparent;border-left-color:#2b4a34}
.side-btn:hover .lbl{opacity:1;transform:translateY(-50%) scale(1)}

/* 聊天窗 */
.chat-panel{position:fixed;right:82px;bottom:104px;width:354px;height:520px;max-height:74vh;background:#fff;
  border:1px solid #e6e8ea;border-radius:10px;box-shadow:0 26px 60px -22px rgba(0,0,0,.42);
  z-index:81;display:none;flex-direction:column;overflow:hidden}
.chat-panel.open{display:flex}
.chat-hd{background:var(--green-deep);color:#fff;padding:12px 14px;display:flex;align-items:center;gap:10px}
.chat-hd .ava{width:34px;height:34px;border-radius:50%;background:#fff;display:grid;place-items:center;font-size:17px}
.chat-hd b{font-size:14px;font-weight:500;letter-spacing:.01em}
.chat-hd .st{font-size:11.5px;color:#a9d9b8;display:flex;align-items:center;gap:5px}
.chat-hd .st i{width:6px;height:6px;border-radius:50%;background:#7CFC9E;display:inline-block}
.chat-hd .x{margin-left:auto;background:transparent;border:0;color:#cfe6d6;font-size:20px;line-height:1;cursor:pointer;padding:2px 4px}
.chat-hd .x:hover{color:#fff}

.chat-bd{flex:1;overflow-y:auto;padding:14px;background:#f6f9f7}
.chat-bd::-webkit-scrollbar{width:6px}
.chat-bd::-webkit-scrollbar-thumb{background:#d6e3da;border-radius:3px}
.msg{font-size:13.5px;line-height:1.62;margin-bottom:10px;max-width:88%}
.msg.bot{background:#fff;border:1px solid #e6ebe8;border-radius:2px 8px 8px 8px;padding:11px 13px;color:#33413a;
  box-shadow:0 1px 2px rgba(0,0,0,.03)}
.msg.user{background:var(--green-mid);color:#fff;border-radius:8px 2px 8px 8px;padding:10px 13px;margin-left:auto}
.msg .tip{display:block;margin-top:8px;font-size:12px;color:#7a8a80}
.qchip{display:block;width:100%;text-align:left;background:#fff;border:1px solid #dfe6e2;border-radius:6px;
  padding:9px 12px;font:inherit;font-size:12.8px;color:#2b4a34;margin-bottom:8px;cursor:pointer;transition:.15s}
.qchip:hover{border-color:var(--green);background:#f3fbf5}
.chat-ft{border-top:1px solid #eceeec;padding:10px;display:flex;gap:8px;align-items:center;background:#fff}
.chat-ft input{flex:1;min-width:0;border:1px solid #e2e6e4;border-radius:6px;padding:9px 11px;font:inherit;font-size:13px;outline:none;color:var(--ink)}
.chat-ft input:focus{border-color:var(--green)}
.chat-ft button{background:var(--green-mid);color:#fff;border:0;border-radius:6px;padding:9px 15px;font:inherit;font-size:13px;cursor:pointer;white-space:nowrap}
.chat-ft button:hover{background:#0b6f2a}

@media (max-width:760px){
  .side-stack{right:12px;bottom:86px;gap:8px}
  .side-btn{width:46px;height:46px}
  .side-btn .lbl{display:none}
  .chat-panel{right:12px;left:12px;width:auto;bottom:86px;height:64vh}
}

/* ---------- 页脚语言选择 ---------- */
.ftr .cols{grid-template-columns:1.6fr 1fr 1fr 1.15fr .75fr}
.ftr-lang{display:flex;flex-direction:column;gap:2px}
.ftr-lang a{display:block;padding:3px 0;font-size:13px;color:#bcd8c6;opacity:.85}
.ftr-lang a:hover{color:#fff;opacity:1}
.ftr-lang a.on{color:#fff;font-weight:500;opacity:1}
.ftr-lang a.on:before{content:"· "}

/* ---------- Cookie 条 ---------- */
.cookie{position:fixed;left:0;right:0;bottom:0;z-index:95;background:#1b2e1f;color:#dfeadf;
  padding:18px 24px 20px;text-align:center;box-shadow:0 -8px 30px -18px rgba(0,0,0,.5);
  display:none;border-top:1px solid rgba(255,255,255,.08)}
.cookie.show{display:block}
.cookie h5{margin:0 0 8px;font-size:15px;font-weight:600;letter-spacing:.16em;color:#fff}
.cookie p{margin:0 auto 14px;max-width:820px;font-size:12.8px;color:#b9ccbb;line-height:1.7}
.cookie-btns{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.cookie button{font:inherit;font-size:13px;padding:9px 26px;border-radius:4px;cursor:pointer;transition:.15s}
.cookie .c-manage{background:transparent;border:1px solid rgba(255,255,255,.35);color:#e6efe6}
.cookie .c-manage:hover{border-color:#fff;color:#fff}
.cookie .c-allow{background:#8a6a3a;border:1px solid #8a6a3a;color:#fff}
.cookie .c-allow:hover{background:#9c7a45}
@media (max-width:760px){
  .cookie{padding:14px 16px 16px}
  .cookie h5{font-size:13px}
  .cookie p{font-size:11.8px}
  .cookie button{padding:8px 18px;font-size:12.5px}
}

/* ---------- 页脚语言选择 ---------- */
.ftr .cols{grid-template-columns:1.6fr 1fr 1fr 1.15fr .75fr}
.ftr-lang{display:flex;flex-direction:column;gap:2px}
.ftr-lang a{display:block;padding:3px 0;font-size:13px;color:#bcd8c6;opacity:.85}
.ftr-lang a:hover{color:#fff;opacity:1}
.ftr-lang a.on{color:#fff;font-weight:500;opacity:1}
.ftr-lang a.on:before{content:"· "}

/* ---------- Cookie 条 ---------- */
.cookie{position:fixed;left:0;right:0;bottom:0;z-index:95;background:#1b2e1f;color:#dfeadf;
  padding:18px 24px 20px;text-align:center;box-shadow:0 -8px 30px -18px rgba(0,0,0,.5);
  display:none;border-top:1px solid rgba(255,255,255,.08)}
.cookie.show{display:block}
.cookie h5{margin:0 0 8px;font-size:15px;font-weight:600;letter-spacing:.16em;color:#fff}
.cookie p{margin:0 auto 14px;max-width:820px;font-size:12.8px;color:#b9ccbb;line-height:1.7}
.cookie-btns{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}
.cookie button{font:inherit;font-size:13px;padding:9px 26px;border-radius:4px;cursor:pointer;transition:.15s}
.cookie .c-manage{background:transparent;border:1px solid rgba(255,255,255,.35);color:#e6efe6}
.cookie .c-manage:hover{border-color:#fff;color:#fff}
.cookie .c-allow{background:#8a6a3a;border:1px solid #8a6a3a;color:#fff}
.cookie .c-allow:hover{background:#9c7a45}
@media (max-width:760px){
  .cookie{padding:14px 16px 16px}
  .cookie h5{font-size:13px}
  .cookie p{font-size:11.8px}
  .cookie button{padding:8px 18px;font-size:12.5px}
}
