/* =============================================================================
 * PatioHue Outdoor — 全站样式
 * 风格：自然温馨 / Natural & Warm     主题色：柚木棕 + 暖奶油底 + 橄榄绿点缀
 * 结构：变量 → 基础 → 布局 → 组件 → 页面 → 响应式
 * ============================================================================= */

/* ---------- 1. 设计变量 ---------- */
:root {
  /* 主色：柚木棕 */
  --teak-900: #3E2C1E;
  --teak-800: #56402C;
  --teak-700: #6E543A;
  --teak-600: #8A6A4B;
  --teak-300: #C9A87C;
  --teak-100: #E8D9C0;

  /* 辅助色：橄榄绿 */
  --olive-700: #5C6B45;
  --olive-500: #7C8C5A;
  --olive-100: #E6EBDC;

  /* 中性色 */
  --cream:    #FBF7F0;   /* 页面底色 */
  --cream-2:  #F4EDE2;   /* 区块交替底色 */
  --sand:     #E7DCCB;
  --ink:      #2C251F;   /* 正文 */
  --ink-soft: #6B6055;   /* 次要文字 */
  --white:    #FFFFFF;

  --radius-s: 6px;
  --radius:   12px;
  --radius-l: 20px;

  --shadow-s: 0 1px 3px rgba(62, 44, 30, .06);
  --shadow:   0 6px 20px rgba(62, 44, 30, .08);
  --shadow-l: 0 18px 44px rgba(62, 44, 30, .14);

  --font-serif: Georgia, 'Iowan Old Style', 'Times New Roman', 'Songti SC', serif;
  --font-sans:  -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue',
                'PingFang SC', 'Microsoft YaHei', sans-serif;

  --header-h: 72px;
  --maxw: 1240px;
}

/* ---------- 2. 基础重置 ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s, opacity .2s; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; line-height: 1.25; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
h2 { font-size: clamp(1.65rem, 3vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1em; }

/* ---------- 3. 布局工具 ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--alt { background: var(--cream-2); }
.section--tint { background: var(--olive-100); }
.center { text-align: center; }
.muted { color: var(--ink-soft); }
.stack-s > * + * { margin-top: 8px; }
.stack-m > * + * { margin-top: 16px; }
.stack-l > * + * { margin-top: 28px; }

/* 小标题 eyebrow */
.eyebrow {
  display: inline-block;
  font-size: .78rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--olive-700); font-weight: 700; margin-bottom: 14px;
}
.section-head { max-width: 680px; margin: 0 auto 52px; }
.section-head h2 { margin-bottom: .35em; }

/* ---------- 4. 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 30px; border: 0; border-radius: 999px; cursor: pointer;
  font-size: .95rem; font-weight: 600; letter-spacing: .02em;
  transition: transform .18s, box-shadow .18s, background .18s, color .18s;
  text-align: center;
}
.btn--primary { background: var(--teak-700); color: #fff; box-shadow: var(--shadow-s); }
.btn--primary:hover { background: var(--teak-800); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; color: var(--teak-800); border: 1.5px solid var(--teak-300); }
.btn--ghost:hover { background: var(--teak-100); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--teak-800); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- 5. 顶部导航 ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(251, 247, 240, .93);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--sand);
}
.header__inner {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo__mark {
  width: 38px; height: 38px; border-radius: 10px; flex: none;
  background: linear-gradient(140deg, var(--teak-600), var(--olive-500));
  display: grid; place-items: center; color: #fff; font-family: var(--font-serif);
  font-size: 1.15rem; font-weight: 700;
}
.logo__text { font-family: var(--font-serif); font-size: 1.2rem; font-weight: 700; color: var(--teak-900); line-height: 1.1; }
.logo__text small { display: block; font-family: var(--font-sans); font-size: .66rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--olive-700); font-weight: 600; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 9px 15px; border-radius: 999px; font-size: .94rem; font-weight: 500; color: var(--ink);
}
.nav a:hover { background: var(--teak-100); color: var(--teak-800); }
.nav a.is-active { color: var(--teak-800); font-weight: 700; background: var(--teak-100); }
.nav__cta { margin-left: 10px; padding: 10px 22px !important; background: var(--teak-700); color: #fff !important; }
.nav__cta:hover { background: var(--teak-800); color: #fff !important; }

/* 汉堡按钮（移动端） */
.burger {
  display: none; width: 42px; height: 42px; border: 1px solid var(--sand);
  background: var(--white); border-radius: 10px; cursor: pointer; padding: 0;
}
.burger span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--teak-800); border-radius: 2px; }

/* ---------- 6. Hero ---------- */
.hero { position: relative; min-height: 620px; display: grid; align-items: center; overflow: hidden; background: var(--teak-900); }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero__bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(46,32,21,.92) 0%, rgba(46,32,21,.72) 45%, rgba(46,32,21,.35) 100%);
}
.hero__inner { position: relative; z-index: 2; padding: 110px 0 100px; color: #fff; max-width: 660px; }
.hero__inner h1 { color: #fff; }
.hero__inner .eyebrow { color: var(--teak-300); }
.hero__lead { font-size: 1.08rem; color: rgba(255,255,255,.86); margin-bottom: 30px; max-width: 560px; }
.hero__points { display: flex; flex-wrap: wrap; gap: 10px 26px; margin: 0 0 34px; padding: 0; list-style: none; }
.hero__points li { font-size: .93rem; color: rgba(255,255,255,.9); display: flex; align-items: center; gap: 8px; }
.hero__points li::before { content: '✓'; color: var(--teak-300); font-weight: 700; }

/* ---------- 7. 产品卡片 ---------- */
.grid-products { display: grid; gap: 26px; grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--white); border-radius: var(--radius-l); overflow: hidden;
  box-shadow: var(--shadow-s); border: 1px solid rgba(231,220,203,.7);
  display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-l); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream-2); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card__media img { transform: scale(1.06); }
.card__cat {
  position: absolute; left: 14px; top: 14px; z-index: 2;
  background: rgba(255,255,255,.94); color: var(--teak-800);
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
}
.card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.card__model { font-size: .74rem; letter-spacing: .12em; color: var(--olive-700); font-weight: 700; text-transform: uppercase; }
.card__name { font-family: var(--font-serif); font-size: 1.08rem; font-weight: 600; margin: 6px 0 8px; color: var(--teak-900); }
.card__name a:hover { color: var(--teak-600); }
.card__tagline { font-size: .88rem; color: var(--ink-soft); margin: 0 0 14px; }
.card__meta {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px 12px;
  font-size: .83rem; color: var(--ink-soft); padding: 12px 0; border-top: 1px dashed var(--sand); margin-top: auto;
}
.card__meta b { color: var(--ink); font-weight: 600; }
.card__price {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 0 0; border-top: 1px solid var(--sand);
}
.card__price span { font-size: .92rem; font-weight: 700; color: var(--teak-700); }
.card .btn { padding: 9px 18px; font-size: .84rem; }

/* ---------- 8. 优势区 ---------- */
.grid-adv { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
.adv {
  background: var(--white); border-radius: var(--radius); padding: 30px 26px;
  border: 1px solid rgba(231,220,203,.8); box-shadow: var(--shadow-s);
  transition: transform .22s, box-shadow .22s;
}
.adv:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.adv__icon {
  width: 48px; height: 48px; border-radius: 14px; background: var(--olive-100);
  display: grid; place-items: center; margin-bottom: 16px; color: var(--olive-700);
}
.adv__icon svg { width: 24px; height: 24px; }
.adv h3 { font-size: 1.06rem; color: var(--teak-900); margin-bottom: 8px; }
.adv p { font-size: .92rem; color: var(--ink-soft); margin: 0; }

/* ---------- 9. 数据条 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; }
.stat__num { font-family: var(--font-serif); font-size: clamp(1.9rem, 3.4vw, 2.8rem); font-weight: 700; color: var(--teak-800); }
.stat__label { font-size: .85rem; color: var(--ink-soft); letter-spacing: .04em; }

/* ---------- 10. 询盘引导 CTA 条 ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--teak-800), var(--olive-700));
  color: #fff; border-radius: var(--radius-l); padding: 60px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: rgba(255,255,255,.86); margin: 0; max-width: 520px; }
.cta-band .btn--light { flex: none; }

/* ---------- 11. 表单 ---------- */
.form { background: var(--white); border-radius: var(--radius-l); padding: 38px; box-shadow: var(--shadow); border: 1px solid rgba(231,220,203,.8); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .84rem; font-weight: 600; color: var(--teak-800); }
.field label .req { color: #C0563B; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--sand); border-radius: var(--radius-s);
  background: var(--cream); transition: border-color .18s, background .18s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--olive-500); background: #fff;
}
.field textarea { resize: vertical; min-height: 128px; }
.field .hint { font-size: .76rem; color: var(--ink-soft); }
.form__note { font-size: .82rem; color: var(--ink-soft); margin: 18px 0 0; }

/* 提交状态提示 */
.alert { border-radius: var(--radius); padding: 16px 18px; font-size: .92rem; margin-top: 18px; display: none; }
.alert.show { display: block; }
.alert--ok    { background: var(--olive-100); color: var(--olive-700); border: 1px solid #C6D3B4; }
.alert--error { background: #FBE9E4; color: #8E3B24; border: 1px solid #EEC4B6; }
.alert--info  { background: var(--teak-100); color: var(--teak-800); border: 1px solid var(--teak-300); }
.alert b { display: block; margin-bottom: 4px; }

/* AI 处理结果卡片 */
.ai-card {
  margin-top: 18px; padding: 20px 22px; border-radius: var(--radius);
  background: var(--olive-100); border: 1px dashed var(--olive-500); display: none;
}
.ai-card.show { display: block; }
.ai-card__head { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--olive-700); margin-bottom: 12px; font-size: .92rem; }
.ai-card__head .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--olive-500); }
.ai-card pre {
  margin: 0; white-space: pre-wrap; word-break: break-word;
  font-family: var(--font-sans); font-size: .9rem; line-height: 1.65; color: var(--ink);
}
.spinner {
  width: 14px; height: 14px; border: 2px solid rgba(124,140,90,.3);
  border-top-color: var(--olive-700); border-radius: 50%; display: inline-block;
  animation: spin .8s linear infinite; vertical-align: -2px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- 12. 联系信息卡 ---------- */
.contact-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 46px; align-items: start; }
.contact-cards { display: grid; gap: 18px; }
.cinfo {
  display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px;
  background: var(--white); border: 1px solid rgba(231,220,203,.8); border-radius: var(--radius); box-shadow: var(--shadow-s);
}
.cinfo__icon { width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--teak-100); display: grid; place-items: center; color: var(--teak-800); }
.cinfo__icon svg { width: 22px; height: 22px; }
.cinfo h4 { font-family: var(--font-sans); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--olive-700); margin: 0 0 4px; }
.cinfo p { margin: 0; font-size: .97rem; color: var(--ink); word-break: break-word; }
.cinfo p.muted { color: var(--ink-soft); font-size: .86rem; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.socials a {
  padding: 7px 15px; border-radius: 999px; border: 1px solid var(--sand);
  font-size: .84rem; font-weight: 600; background: var(--cream);
}
.socials a:hover { background: var(--teak-700); color: #fff; border-color: var(--teak-700); }

/* ---------- 13. 产品详情页 ---------- */
.pd { display: grid; grid-template-columns: 1.05fr .95fr; gap: 46px; align-items: start; }
.gallery__main {
  border-radius: var(--radius-l); overflow: hidden; background: var(--cream-2);
  aspect-ratio: 4 / 3; box-shadow: var(--shadow-s);
}
.gallery__main img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.gallery__thumbs { display: flex; gap: 12px; margin-top: 12px; }
.gallery__thumbs button {
  width: 92px; height: 72px; padding: 0; border: 2px solid transparent; border-radius: var(--radius-s);
  overflow: hidden; cursor: pointer; background: var(--cream-2);
}
.gallery__thumbs button.is-active { border-color: var(--teak-700); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.pd__model { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--olive-700); font-weight: 700; }
.pd__title { font-size: clamp(1.6rem, 2.6vw, 2.2rem); color: var(--teak-900); margin: 8px 0 12px; }
.pd__tagline { color: var(--ink-soft); margin-bottom: 22px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.spec-table th, .spec-table td { padding: 11px 14px; border-bottom: 1px solid var(--sand); text-align: left; }
.spec-table th { width: 40%; color: var(--ink-soft); font-weight: 500; background: var(--cream-2); }
.spec-table td { color: var(--ink); font-weight: 600; }
.spec-table tr:first-child th, .spec-table tr:first-child td { border-top: 1px solid var(--sand); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 6px 14px; border-radius: 999px; background: var(--olive-100); color: var(--olive-700);
  font-size: .82rem; font-weight: 600;
}
.price-box {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 20px 22px; border-radius: var(--radius); background: var(--teak-100); margin: 22px 0;
}
.price-box .label { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--teak-800); font-weight: 700; }
.price-box .value { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 700; color: var(--teak-900); }

/* 面包屑 */
.crumbs { font-size: .85rem; color: var(--ink-soft); padding: 22px 0 0; }
.crumbs a:hover { color: var(--teak-700); }

/* ---------- 14. 关于页 ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.about-grid img { border-radius: var(--radius-l); box-shadow: var(--shadow); }
.timeline { border-left: 2px solid var(--sand); padding-left: 26px; }
.timeline__item { position: relative; padding-bottom: 26px; }
.timeline__item::before {
  content: ''; position: absolute; left: -33px; top: 6px; width: 12px; height: 12px;
  border-radius: 50%; background: var(--teak-700); border: 3px solid var(--cream);
}
.timeline__year { font-family: var(--font-serif); font-weight: 700; color: var(--teak-800); }
.timeline__item p { margin: 2px 0 0; font-size: .93rem; color: var(--ink-soft); }
.gallery-factory { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-factory figure { margin: 0; }
.gallery-factory img { border-radius: var(--radius); aspect-ratio: 4/3; object-fit: cover; width: 100%; box-shadow: var(--shadow-s); }
.gallery-factory figcaption { font-size: .84rem; color: var(--ink-soft); margin-top: 8px; text-align: center; }

/* ---------- 15. 产品页筛选 + 分页 ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.filters button {
  padding: 9px 20px; border-radius: 999px; border: 1px solid var(--sand);
  background: var(--white); cursor: pointer; font-size: .9rem; font-weight: 500; transition: all .18s;
}
.filters button:hover { border-color: var(--teak-300); background: var(--teak-100); }
.filters button.is-active { background: var(--teak-700); color: #fff; border-color: var(--teak-700); }
.pager { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 48px; flex-wrap: wrap; }
.pager button {
  min-width: 42px; height: 42px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--sand);
  background: var(--white); cursor: pointer; font-weight: 600; font-size: .9rem;
}
.pager button:hover:not([disabled]) { border-color: var(--teak-700); color: var(--teak-800); }
.pager button.is-active { background: var(--teak-700); color: #fff; border-color: var(--teak-700); }
.pager button[disabled] { opacity: .4; cursor: not-allowed; }
.result-bar { font-size: .9rem; color: var(--ink-soft); margin-bottom: 18px; }

/* ---------- 16. 页脚 ---------- */
.footer { background: var(--teak-900); color: rgba(255,255,255,.78); padding: 64px 0 0; margin-top: 0; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; }
.footer h4 { font-family: var(--font-sans); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teak-300); margin: 0 0 16px; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 9px; font-size: .92rem; }
.footer li a:hover { color: #fff; }
.footer .logo__text { color: #fff; }
.footer .logo__text small { color: var(--teak-300); }
.footer__about { font-size: .92rem; line-height: 1.75; margin: 16px 0 0; max-width: 340px; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.14); padding: 20px 0;
  font-size: .82rem; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}

/* ---------- 17. 页面头部（内页通用） ---------- */.pagehead {
  background: linear-gradient(120deg, var(--teak-800), var(--teak-600));
  color: #fff; padding: 66px 0 60px; text-align: center;
}
.pagehead h1 { color: #fff; margin-bottom: .3em; }
.pagehead p { color: rgba(255,255,255,.85); max-width: 620px; margin: 0 auto; }

/* ---------- 18. 响应式 ---------- */
@media (max-width: 1024px) {
  .grid-products { grid-template-columns: repeat(2, 1fr); }
  .grid-adv { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .pd { grid-template-columns: 1fr; gap: 32px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-layout { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 860px) {
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--cream); border-bottom: 1px solid var(--sand);
    padding: 14px 20px 20px; box-shadow: var(--shadow);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 14px; border-radius: 10px; }
  .nav__cta { margin: 8px 0 0; text-align: center; }
  .burger { display: block; }
  .section { padding: 64px 0; }
  .hero { min-height: 520px; }
  .hero__inner { padding: 80px 0 70px; }
  .cta-band { padding: 40px 28px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .form { padding: 26px 20px; }
  .form__grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .grid-products { grid-template-columns: 1fr; }
  .grid-adv { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .gallery-factory { grid-template-columns: 1fr 1fr; }
  .section { padding: 52px 0; }
  .wrap { padding: 0 18px; }
  .cta-band .btn { width: 100%; }
}

/* =============================================================================
 * 19. 右侧浮动 WhatsApp 直聊按钮（全站通用，由 app.js 的 renderWhatsAppFab 注入）
 *     点击 → 直接打开与卖家的 WhatsApp 对话，并预填一句询盘话术
 * ============================================================================= */
.wa-fab {
  position: fixed; right: 24px; bottom: 28px; z-index: 90;
  display: flex; align-items: center; gap: 12px;
  /* 控制间距由 gap 负责，容器本身不拦截点击 */
  pointer-events: none;
}
.wa-fab__btn, .wa-fab__tip { pointer-events: auto; }

/* 圆形按钮（DOM 在前，用 order 排到气泡右边） */
.wa-fab__btn {
  position: relative; order: 2;
  width: 60px; height: 60px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366; color: #fff;
  box-shadow: 0 10px 24px rgba(37, 211, 102, .38), 0 2px 6px rgba(46, 33, 22, .18);
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}
.wa-fab__btn svg { width: 32px; height: 32px; }
.wa-fab__btn:hover {
  background: #1FBE5B; transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 30px rgba(37, 211, 102, .46), 0 3px 8px rgba(46, 33, 22, .2);
}

/* 呼吸光圈：吸引注意但不刺眼 */
.wa-fab__btn::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, .5);
  animation: waPulse 2.8s cubic-bezier(.4, 0, .2, 1) infinite;
}
@keyframes waPulse {
  0%   { box-shadow: 0 0 0 0 rgba(37, 211, 102, .45); }
  70%  { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* 提示气泡：首次进入显示 6 秒，鼠标移入或键盘聚焦时再次显示 */
.wa-fab__tip {
  order: 1;
  background: var(--white); color: var(--ink);
  border: 1px solid var(--sand); border-radius: 999px;
  padding: 10px 16px; font-size: .87rem; font-weight: 600; white-space: nowrap;
  box-shadow: var(--shadow-s);
  opacity: 0; transform: translateX(10px);
  transition: opacity .28s ease, transform .28s ease;
  pointer-events: none;
}
.wa-fab.is-show .wa-fab__tip,
.wa-fab:hover .wa-fab__tip,
.wa-fab__btn:focus-visible ~ .wa-fab__tip { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .wa-fab__btn::after { animation: none; }
  .wa-fab__btn:hover { transform: none; }
}
@media (max-width: 620px) {
  .wa-fab { right: 16px; bottom: 18px; }
  .wa-fab__btn { width: 54px; height: 54px; }
  .wa-fab__btn svg { width: 28px; height: 28px; }
  .wa-fab__tip { font-size: .8rem; padding: 8px 13px; max-width: 60vw; white-space: normal; }
}

/* 联系页 WhatsApp 卡片里那个"直接聊天"链接 */
.cinfo--chat a b { color: var(--teak-800); }
.cinfo--chat a:hover b { color: var(--teak-600); }

/* =========================================================================
   20. 询盘兜底通道（自有域名下平台云服务不可用时的邮件 / WhatsApp 按钮）
   ========================================================================= */
.alert__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 10px; }
.alert__actions .btn {
  padding: 10px 22px; font-size: .88rem;
  text-decoration: none; border: 0;
}
.alert__actions .btn:not(.btn--primary) {
  background: #fff; color: var(--teak-800); border: 1.5px solid var(--teak-300);
}
.alert__actions .btn:not(.btn--primary):hover { background: var(--teak-100); }
.alert .hint { display: block; margin-top: 6px; font-size: .84rem; opacity: .85; }

/* =============================================================================
 * 21. 右下角微信二维码按钮（全站通用，由 app.js 的 renderWechatFab 注入）
 *     位于 WhatsApp 按钮上方；点击展开二维码卡片，点空白处 / 按 Esc 收起
 *     data.js 的 COMPANY.wechatQr 留空 => 按钮完全不渲染
 * ========================================================================= */
.wx-fab {
  position: fixed; right: 24px; bottom: 104px; z-index: 89;
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
}
.wx-fab__btn {
  width: 52px; height: 52px; flex: none; border: 0; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: #2BAE66; color: #fff;
  box-shadow: 0 8px 20px rgba(43, 174, 102, .32), 0 2px 6px rgba(46, 33, 22, .16);
  transition: transform .22s ease, background .22s ease, box-shadow .22s ease;
}
.wx-fab__btn svg { width: 28px; height: 28px; }
.wx-fab__btn:hover { background: #239A59; transform: translateY(-2px) scale(1.04); }
.wx-fab__btn:focus-visible { outline: 3px solid rgba(43, 174, 102, .45); outline-offset: 3px; }

/* 二维码卡片：默认收起（不可点、不可见），is-open 时从按钮左侧滑出 */
.wx-pop {
  position: absolute; right: 0; bottom: 62px;
  width: 208px; padding: 14px;
  background: var(--white); border: 1px solid var(--sand); border-radius: 14px;
  box-shadow: var(--shadow-l);
  text-align: center;
  opacity: 0; visibility: hidden; transform: translateY(8px) scale(.97);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.wx-fab.is-open .wx-pop { opacity: 1; visibility: visible; transform: none; }
.wx-pop img {
  width: 100%; height: auto; border-radius: 10px; display: block;
  border: 1px solid var(--sand);
}
.wx-pop__text { margin-top: 10px; }
.wx-pop__text b { display: block; font-size: .9rem; color: var(--ink); }
.wx-pop__text span { display: block; margin-top: 2px; font-size: .8rem; color: var(--ink-soft); line-height: 1.5; }

@media (max-width: 620px) {
  .wx-fab { right: 16px; bottom: 84px; }
  .wx-fab__btn { width: 46px; height: 46px; }
  .wx-fab__btn svg { width: 24px; height: 24px; }
  .wx-pop { width: 178px; bottom: 56px; }
}

/* 联系页「微信」卡片里的二维码 */
.cinfo--wechat .qr-img {
  width: 150px; height: auto; margin: 6px 0 8px; border-radius: 10px;
  border: 1px solid var(--sand); display: block; background: #fff;
}
