/* ============================================
   速修集(suxiuji.com) 全站统一外部样式表
   最后更新：2026-05-03
   适用：全站所有页面，PC/手机/平板自适应
   ============================================ */

/* ----- 基础重置 ----- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #f9fafb;
  font-family: 'Helvetica Neue', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: #1e293b;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ----- 导航条（全站统一） ----- */
.header {
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.logo {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 8px;
  user-select: none;
}
.logo i {
  color: #2563eb;
  font-size: 1.5rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  text-decoration: none;
  color: #475569;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: #2563eb;
}
.nav-links a.highlight {
  background: #2563eb;
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 40px;
  font-weight: 600;
}
.nav-links a.highlight:hover {
  background: #1d4ed8;
  color: white;
}
.nav-links a.current {
  color: #2563eb;
  font-weight: 600;
  border-bottom: 2px solid #2563eb;
  padding-bottom: 4px;
}

/* ----- 页面标题头（区域首页用渐变蓝） ----- */
.page-header {
  background: linear-gradient(135deg, #2563eb 0%, #2A6DFF 100%);
  color: white;
  padding: 2rem 0;
  text-align: center;
}
.page-header h1 {
  font-size: 1.8rem;
  margin-bottom: 0.3rem;
}
.page-header p {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* 法律/协议/入驻等页面用灰色头 */
.page-header.subtle {
  background: #f1f5f9;
  color: #0f172a;
  border-bottom: 1px solid #e2e8f0;
}
.page-header.subtle h1 {
  color: #0f172a;
}
.page-header.subtle p {
  color: #64748b;
  opacity: 1;
}

/* ----- 面包屑 ----- */
.breadcrumb {
  background: white;
  padding: 0.8rem 0;
  font-size: 0.8rem;
  color: #6b7280;
  border-bottom: 1px solid #e2e8f0;
}
.breadcrumb a {
  color: #2563eb;
  text-decoration: none;
}

/* ----- 内容卡片（法律/协议/关于我们等用） ----- */
.content-card {
  max-width: 860px;
  margin: 40px auto;
  padding: 40px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}
.content-card h2 {
  font-size: 1.2rem;
  color: #0f172a;
  margin-top: 32px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e2e8f0;
}
.content-card h2:first-child {
  margin-top: 0;
}
.content-card p {
  color: #475569;
  line-height: 1.85;
  margin-bottom: 14px;
}

/* ----- 法律公告栏 ----- */
.legal-notice {
  background: #f8fafc;
  border-left: 4px solid #2563eb;
  padding: 18px 20px;
  border-radius: 0 12px 12px 0;
  margin-bottom: 24px;
  font-size: 0.92rem;
  color: #334155;
}
.legal-notice i {
  color: #2563eb;
  margin-right: 6px;
}

/* ----- 联系方式高亮 ----- */
.contact-highlight {
  background: #f8fafc;
  padding: 18px 20px;
  border-radius: 14px;
  margin: 12px 0;
}
.contact-highlight p {
  margin-bottom: 6px;
}

/* ----- 警告/提示框 ----- */
.warning-box {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  padding: 16px 20px;
  border-radius: 12px;
  margin: 1.5rem 0;
  color: #c2410c;
  font-size: 0.9rem;
}

/* ----- 入驻流程 ----- */
.join-steps ol {
  padding-left: 1.2rem;
}
.join-steps li {
  margin-bottom: 1.2rem;
  line-height: 1.7;
}
.wechat-qr-placeholder {
  text-align: center;
  margin: 2rem 0;
  padding: 1.5rem;
  background: #f8fafc;
  border-radius: 16px;
}

/* ===== 首页 & 区域首页专属 ===== */
.hero {
  text-align: center;
  padding: 1rem 0 3rem;
  background: linear-gradient(135deg, #2563eb 0%, #2A6DFF 100%);
  color: white;
}
.hero h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.hero p {
  font-size: 1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* 区域按钮区 */
.district-section {
  padding: 2rem 0 3rem;
  background: #ffffff;
  border-radius: 32px 32px 0 0;
  margin-top: -1.5rem;
  position: relative;
  box-shadow: 0 -4px 12px rgba(0,0,0,0.02);
}
.district-title {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
}
.district-sub {
  text-align: center;
  color: #64748b;
  margin-bottom: 2rem;
}
.district-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}
.district-btn {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 0.8rem 1.6rem;
  border-radius: 60px;
  font-size: 1rem;
  font-weight: 500;
  color: #1e293b;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.district-btn i {
  font-size: 0.9rem;
  color: #2563eb;
}
.district-btn:hover {
  background: #2563eb;
  border-color: #2563eb;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(37,99,235,0.2);
}
.district-btn:hover i {
  color: white;
}

/* ----- 品类网格 ----- */
.category-section {
  padding: 2rem 0;
}
.category-group {
  margin-bottom: 2rem;
}
.group-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0f172a;
  border-left: 4px solid #2563eb;
  padding-left: 0.8rem;
  margin-bottom: 1rem;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}
.category-item {
  background: white;
  border-radius: 16px;
  padding: 0.8rem 1rem;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s;
}
.category-item.active {
  background: #ffffff;
  border-left: 4px solid #2563eb;
}
.category-item.disabled {
  background: #f8fafc;
  color: #94a3b8;
  cursor: default;
}
.category-link {
  text-decoration: none;
  font-weight: 500;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}
.category-link i {
  color: #2563eb;
  width: 20px;
}
.disabled .category-link {
  color: #94a3b8;
  cursor: default;
  pointer-events: none;
}
.disabled .category-link i {
  color: #cbd5e1;
}
.badge {
  background: #e6f7ff;
  padding: 0.2rem 0.6rem;
  border-radius: 30px;
  font-size: 0.7rem;
  color: #2563eb;
}
.notice-box {
  background: #fef3c7;
  border-left: 4px solid #f59e0b;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  color: #b45309;
}

/* ----- 商家列表卡片 ----- */
.business-list {
  padding: 2rem 0;
}
.business-card {
  background: white;
  border-radius: 24px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  border: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.business-info {
  flex: 1;
}
.business-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.3rem;
}
.business-category {
  font-size: 0.8rem;
  color: #2563eb;
  background: #e6f7ff;
  display: inline-block;
  padding: 0.2rem 0.8rem;
  border-radius: 20px;
  margin-bottom: 0.5rem;
}
.business-address {
  font-size: 0.85rem;
  color: #475569;
  margin: 0.3rem 0;
}
.business-phone {
  font-size: 0.9rem;
  font-weight: 500;
}
.business-phone a {
  color: #2563eb;
  text-decoration: none;
}
.btn-detail {
  background: #2563eb;
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 40px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: 0.2s;
  white-space: nowrap;
}
.btn-detail:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
}

/* ----- 商家详情页 ----- */
.business-detail-card {
  background: white;
  border-radius: 28px;
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  border: 1px solid #e2e8f0;
}
.section-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 1.8rem 0 1rem;
  padding-left: 0.8rem;
  border-left: 4px solid #2563eb;
}
.info-grid {
  display: flex;
  flex-wrap: wrap;
  margin: 1rem 0;
}
.info-label {
  width: 100px;
  font-weight: 600;
  color: #0f172a;
}
.info-value {
  flex: 1;
  color: #475569;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0.5rem 0;
}
.tag {
  background: #e6f7ff;
  padding: 0.3rem 1rem;
  border-radius: 30px;
  font-size: 0.85rem;
  color: #2563eb;
}
.contact-box {
  background: #f8fafc;
  padding: 1rem;
  border-radius: 20px;
  margin: 1rem 0;
}
.tech-note {
  background: #f0f9ff;
  padding: 1rem;
  border-radius: 16px;
  margin-top: 1rem;
  font-size: 0.85rem;
  border-left: 4px solid #2563eb;
}
.faq-item {
  margin-bottom: 1rem;
}
.faq-question {
  font-weight: 700;
  color: #0f172a;
}
.btn-website {
  display: inline-block;
  background: #f59e0b;
  color: white;
  padding: 0.6rem 1.5rem;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  margin: 0.5rem 0;
}

/* ----- 入驻引导卡片 ----- */
.join-card {
  background: white;
  border-radius: 24px;
  padding: 1.5rem;
  margin: 1rem 0;
  text-align: center;
  border: 1px solid #e2e8f0;
  box-shadow: 0 8px 20px rgba(0,0,0,0.02);
}
.join-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #0f172a;
}
.join-card p {
  color: #475569;
  margin-bottom: 1rem;
}
.btn-join {
  display: inline-block;
  background: #e67e22;
  color: white;
  padding: 0.6rem 1.5rem;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.2s;
}
.btn-join:hover {
  background: #d45a1a;
  transform: translateY(-2px);
}

/* ----- 页脚（全站统一） ----- */
.footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 2rem 0;
  margin-top: 2rem;
  text-align: center;
  font-size: 0.8rem;
  line-height: 1.9;
}
.footer a {
  color: #94a3b8;
  text-decoration: none;
}
.footer a:hover {
  color: #e67e22;
}

/* ============================================
 响应式 - 手机（≤640px）
 ============================================ */
@media (max-width: 640px) {
  .hero h1 { font-size: 1.6rem; }
  .district-btn { padding: 0.6rem 1.2rem; font-size: 0.9rem; }
  .logo { font-size: 1.3rem; }

  .header-content {
      flex-direction: column;
      height: auto;
      padding: 14px 0;
      gap: 12px;
  }
  .nav-links {
      flex-wrap: wrap;
      justify-content: center;
      gap: 12px;
  }
  .nav-links a {
      font-size: 0.85rem;
  }

  .page-header h1 { font-size: 1.5rem; }
  .content-card { padding: 24px; margin: 20px auto; }
  .business-card { flex-direction: column; align-items: flex-start; }
  .category-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
}

/* ============================================
 响应式 - 平板竖屏（641px ~ 768px）
 ============================================ */
@media (min-width: 641px) and (max-width: 768px) {
  .header-content {
      flex-direction: column;
      height: auto;
      padding: 14px 0;
      gap: 12px;
  }
  .nav-links {
      flex-wrap: wrap;
      justify-content: center;
      gap: 16px;
  }
  .nav-links a {
      font-size: 0.9rem;
  }
}