/* ===== 拼团秒杀 前台样式 ===== */
[v-cloak] { display: none; }

.gzhx-page { min-height: 400px; }

/* 页面标题栏 */
.gzhx-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.gzhx-back { font-size: 22px; cursor: pointer; margin-right: 10px; color: #5a6472; transition: color .2s; }
.gzhx-back:hover { color: #2563eb; }
.gzhx-title { font-size: 20px; font-weight: 700; color: #1f2937; }

/* 覆盖系统壳页面标题:放大插件页面标题 */
.gzhx-page .main-card-title {
  font-size: 22px;
  font-weight: 700;
  color: #1f2937;
  display: flex;
  align-items: center;
  padding: 6px 0 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid #eef1f6;
}
.gzhx-page .main-card-title .gzhx-back { line-height: 1; }

/* 活动卡片(列表页) */
.gzhx-activities { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 18px; }
.gzhx-card {
  background: #fff;
  border: 1px solid #e6e9ef;
  border-radius: 12px;
  padding: 22px 22px 18px;
  box-shadow: 0 2px 10px rgba(31, 41, 55, 0.06);
  transition: all .25s;
  position: relative;
  overflow: hidden;
}
.gzhx-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #60a5fa);
}
.gzhx-card:hover {
  box-shadow: 0 10px 28px rgba(31, 41, 55, 0.12);
  transform: translateY(-3px);
  border-color: #bfdbfe;
}
.gzhx-card .gzhx-card-title { font-size: 18px; font-weight: 700; color: #1f2937; margin-bottom: 6px; }
.gzhx-card .gzhx-card-title .gzhx-tag { margin-left: 8px; vertical-align: 2px; }
.gzhx-card .gzhx-card-sub { color: #6b7280; font-size: 13px; margin-bottom: 14px; }

/* 档位行(列表页) */
.gzhx-level-row { display: flex; gap: 10px; margin-bottom: 14px; }
.gzhx-level {
  flex: 1;
  border: 1px solid #e6e9ef;
  border-radius: 10px;
  padding: 12px 8px;
  text-align: center;
  cursor: pointer;
  transition: all .2s;
  background: #fafbfc;
}
.gzhx-level:hover, .gzhx-level.active {
  border-color: #2563eb;
  background: #eff6ff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.12);
}
.gzhx-level .lv-name { font-size: 13px; color: #6b7280; margin-bottom: 4px; }
.gzhx-level .lv-price { color: #ff4d2e; font-size: 22px; font-weight: 800; letter-spacing: .5px; }
.gzhx-level .lv-btn { margin-top: 8px; }

/* 元信息行 */
.gzhx-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }

/* 标签 */
.gzhx-tag { display: inline-block; font-size: 12px; padding: 3px 10px; border-radius: 12px; background: #f3f4f6; color: #4b5563; }
.gzhx-tag.success { background: #ecfdf5; color: #059669; }
.gzhx-tag.forming { background: #eff6ff; color: #2563eb; }
.gzhx-tag.failed { background: #fef2f2; color: #dc2626; }

/* 详情页档位块 */
.gzhx-group-block {
  background: #fff;
  border: 1px solid #e6e9ef;
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 22px;
  box-shadow: 0 1px 6px rgba(31, 41, 55, 0.05);
}
.gzhx-group-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; border-bottom: 1px dashed #eef1f6; padding-bottom: 12px; }
.gzhx-group-name { font-size: 16px; font-weight: 700; color: #1f2937; }
.gzhx-group-price { font-size: 20px; font-weight: 800; color: #ff4d2e; background: #fef2f2; padding: 2px 12px; border-radius: 8px; }
.gzhx-group-head .el-button { margin-left: auto; }
/* 活动说明块 */
.gzhx-activity-note { background: #f7faff; border-color: #dbe7fb; }
.gzhx-activity-note .gzhx-group-name { margin-bottom: 8px; }

/* 团列表项(详情页) */
.gzhx-group-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border: 1px solid #e6e9ef;
  border-radius: 10px;
  margin-bottom: 12px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(31, 41, 55, 0.04);
  transition: all .2s;
}
.gzhx-group-item:hover { border-color: #d3d9e3; box-shadow: 0 4px 12px rgba(31, 41, 55, 0.08); }

/* 空态 */
.gzhx-empty { text-align: center; color: #9ca3af; padding: 60px 0; }
.gzhx-empty-box {
  text-align: center;
  color: #9ca3af;
  background: #fafbfc;
  border: 1px dashed #d3d9e3;
  border-radius: 10px;
  padding: 26px 0;
  font-size: 13px;
}

/* 描述 */
.gzhx-desc { white-space: pre-wrap; color: #4b5563; font-size: 13px; line-height: 1.8; }

/* 倒计时 */
.gzhx-countdown { color: #f59e0b; font-weight: 700; }

/* 我的拼团卡片 */
.gzhx-my-card {
  background: #fff;
  border: 1px solid #e6e9ef;
  border-radius: 12px;
  padding: 18px 20px;
  margin-bottom: 16px;
  box-shadow: 0 2px 10px rgba(31, 41, 55, 0.06);
  position: relative;
  overflow: hidden;
  transition: all .25s;
}
.gzhx-my-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2563eb, #60a5fa);
}
.gzhx-my-card:hover { box-shadow: 0 8px 22px rgba(31, 41, 55, 0.1); }
.gzhx-my-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.gzhx-my-title { font-size: 16px; font-weight: 700; color: #1f2937; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.gzhx-my-row .gzhx-tip { line-height: 1.9; }

/* 提示小字 */
.gzhx-tip { font-size: 12px; color: #6b7280; }

/* 进度条 */
.gzhx-progress { height: 8px; border-radius: 4px; background: #f0f2f5; overflow: hidden; margin: 10px 0; }
.gzhx-progress-bar { height: 100%; border-radius: 4px; background: linear-gradient(90deg, #ff4d2e, #ff8e53); transition: width .3s; }

/* 团长头像 */
.gzhx-avatar {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  vertical-align: -5px;
  margin-right: 4px;
  border: 1px solid #e6e9ef;
  object-fit: cover;
  display: inline-block;
}

/* 详情页主标题 */
.gzhx-card-title-lg { font-size: 20px; font-weight: 700; color: #1f2937; }

/* ============================================================
   拼团秒杀页面 UI 升级（20261010）
   参考大厂活动页：Hero 头 + 互通入口按钮 + 卡片 CTA + 空态优化
   ============================================================ */

/* 顶部 Hero 区 */
.gzhx-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  background: linear-gradient(120deg, #fff5f0 0%, #fff 55%, #f0f7ff 100%);
  border: 1px solid #ffe4d6;
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 18px;
  box-shadow: 0 2px 10px rgba(255, 106, 0, 0.06);
}
.gzhx-hero-left { min-width: 0; }
.gzhx-hero-title {
  display: flex;
  align-items: center;
  font-size: 22px;
  font-weight: 700;
  color: #1f2937;
}
.gzhx-hero-title .gzhx-back { font-size: 20px; margin-right: 8px; }
.gzhx-hero-sub {
  margin-top: 6px;
  font-size: 13px;
  color: #6b7280;
}
.gzhx-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 20px;
  background: linear-gradient(90deg, #ff6a00, #ff2d55);
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(255, 45, 85, 0.3);
  transition: transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.gzhx-hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 45, 85, 0.42);
}
.gzhx-hero-btn-inline {
  margin-top: 16px;
  padding: 8px 18px;
  font-size: 13px;
}

/* 活动卡片增强 */
.gzhx-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}
.gzhx-card-top .gzhx-card-title { margin-bottom: 0; }
.gzhx-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed #eef1f6;
}
.gzhx-cta {
  color: #ff6a00;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.gzhx-card:hover .gzhx-cta i { transform: translateX(2px); }
.gzhx-cta i { transition: transform .2s; }
.gzhx-meta s { color: #9ca3af; text-decoration: line-through; font-weight: normal; }

/* 空态优化 */
.gzhx-empty {
  padding: 70px 20px;
  text-align: center;
  color: #9ca3af;
  font-size: 14px;
}
.gzhx-empty-icon {
  font-size: 44px;
  margin-bottom: 12px;
  opacity: .8;
}

/* 我的拼团卡片顶部条改为暖色，与列表卡区分 */
.gzhx-my-card::before {
  background: linear-gradient(90deg, #ff6a00, #ff2d55);
}

@media (max-width: 768px) {
  .gzhx-hero { padding: 16px; }
  .gzhx-hero-title { font-size: 19px; }
  .gzhx-hero-sub { font-size: 12px; }
  .gzhx-hero-btn { padding: 8px 16px; font-size: 13px; }
  .gzhx-activities { grid-template-columns: 1fr; }
}

