/* 公众号关注引导 banner + 浮层 */

/* ============ 顶部小条 ============ */
.wx-banner {
  display: flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(180deg, #ecfbe6 0%, #d9f4cf 100%);
  color: #2a5e1a;
  padding: 8px 16px;
  font-size: 13px;
  line-height: 1.4;
  cursor: pointer;
  position: sticky;
  top: 0;
  z-index: 11;  /* 高于 .progress-header (z-index 10) */
  border-bottom: 1px solid #c6e8b4;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.wx-banner-icon {
  font-size: 16px;
  flex-shrink: 0;
}
.wx-banner-text {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wx-banner-arrow {
  font-size: 12px;
  opacity: 0.7;
  transition: transform 0.2s;
  flex-shrink: 0;
}
.wx-banner[aria-expanded="true"] .wx-banner-arrow {
  transform: rotate(180deg);
}
.wx-banner:active {
  background: linear-gradient(180deg, #d9f4cf 0%, #c8edb8 100%);
}

/* ============ 浮层遮罩 ============ */
.wx-sheet-mask {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.wx-sheet-mask.wx-sheet-open {
  opacity: 1;
  pointer-events: auto;
}

/* ============ 浮层内容（底部上滑） ============ */
.wx-sheet {
  width: 100%;
  max-width: 480px;
  background: #fff;
  border-radius: 16px 16px 0 0;
  padding: 24px 20px 28px;
  box-sizing: border-box;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  max-height: 85vh;
  overflow-y: auto;
}
.wx-sheet-mask.wx-sheet-open .wx-sheet {
  transform: translateY(0);
}
.wx-sheet h3 {
  margin: 0 0 16px;
  font-size: 18px;
  color: #1a1a2e;
  text-align: center;
}

/* ============ 二维码块 ============ */
.wx-sheet-qr {
  text-align: center;
  margin-bottom: 20px;
}
.wx-sheet-qr img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 8px;
  background: #fafafa;
}
.wx-sheet-qr-fallback {
  display: inline-block;
  padding: 60px 30px;
  background: #f5f5f5;
  border-radius: 8px;
  color: #888;
  font-size: 14px;
  line-height: 1.6;
}
.wx-sheet-qr-hint {
  margin: 10px 0 0;
  font-size: 13px;
  color: #888;
}

/* ============ 利益点列表 ============ */
.wx-sheet-points {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.wx-sheet-points li {
  padding: 8px 0 8px 22px;
  position: relative;
  font-size: 14px;
  color: #444;
  line-height: 1.5;
}
.wx-sheet-points li::before {
  content: "·";
  position: absolute;
  left: 8px;
  top: 6px;
  font-size: 20px;
  color: #7bc54c;
  font-weight: bold;
}

/* ============ 菜单引导步骤 ============ */
.wx-sheet-steps {
  margin: 0 0 16px;
  padding-left: 24px;
}
.wx-sheet-steps li {
  padding: 6px 0;
  font-size: 14px;
  color: #444;
  line-height: 1.5;
}
.wx-sheet-menu {
  text-align: center;
  margin-bottom: 20px;
}
.wx-sheet-menu img {
  max-width: 220px;
  width: 100%;
  border-radius: 8px;
  border: 1px solid #eee;
}

/* ============ 关闭按钮 ============ */
.wx-sheet-close {
  width: 100%;
  padding: 12px;
  background: #7bc54c;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.wx-sheet-close:active {
  background: #6cb73f;
}
