/* ============================================================================
   颐屋家政 · 用户端H5 — 统一视觉体系 v3.0
   Unified Design System for YiWu Home Service Consumer Web
   ============================================================================
   设计关键词: 清爽 · 专业 · 简洁 · 现代
   主色: #1677FF(腾讯蓝) / #ff7d29(辅助橙)
   背景: #F7F8FA(页面) / #FFFFFF(卡片)
   文字: #333333(主文字) / #666666(辅助文字)
   圆角体系: 卡片8px / 按钮24px / 气泡16px
   阴影体系: 0 2px 12px rgba(0,0,0,0.06)
   间距体系: 标准22px内边距
   ============================================================================ */

/* ===== 全局基础 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #1677FF;
  --primary-light: #4088FF;
  --primary-dark: #096DD9;
  --secondary: #ff7d29;
  --text-primary: #333333;
  --text-secondary: #666666;
  --text-placeholder: #999999;
  --bg-page: #F7F8FA;
  --bg-card: #FFFFFF;
  --border-light: #EEEEEE;
  --border-normal: #DDDDDD;
  --shadow-card: 0 2px 12px rgba(0,0,0,0.06);
  --shadow-btn: 0 4px 16px rgba(22,119,255,0.2);
  --radius-card: 8px;
  --radius-btn: 24px;
  --radius-bubble: 16px;
}

body {
  font-family: -apple-system,BlinkMacSystemFont,'Segoe UI','PingFang SC','Microsoft YaHei',sans-serif;
  background: var(--bg-page);
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

#app { min-height: 100vh; padding-bottom: 70px; }
.page-container { min-height: 100vh; background: var(--bg-page); padding-top: 56px; }
.container { padding: 16px; }

/* 响应式断点 */
@media (min-width: 768px) { 
  .page-container { max-width: 1200px; margin: 0 auto; } 
  .container { padding: 24px; } 
}
@media (min-width: 1024px) { 
  .page-container { max-width: 1400px; margin: 0 auto; } 
  .container { padding: 32px; } 
}

/* 卡片基础样式 */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 22px;
  transition: all 0.3s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* 按钮基础样式 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: var(--radius-btn);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(22,119,255,0.3);
}
.btn-secondary {
  background: var(--bg-card);
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
}
.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* ===== 客服聊天页面样式 ===== */
.chat-page {
  display: flex;
  flex-direction: column;
  height: 100vh;
  background: var(--bg-page);
}

/* 聊天头部 */
.chat-header {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  flex-shrink: 0;
}
.back-btn {
  font-size: 24px;
  cursor: pointer;
  color: var(--text-secondary);
  margin-right: 12px;
  transition: color 0.2s;
}
.back-btn:hover {
  color: var(--primary);
}
.header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 600;
}
.header-text {
  display: flex;
  flex-direction: column;
}
.header-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}
.header-status {
  font-size: 12px;
  color: #52C41A;
  margin-top: 2px;
}

/* 消息容器 */
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  padding-bottom: 90px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* 空状态 */
.empty-chat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: var(--text-placeholder);
}
.empty-icon {
  font-size: 72px;
  opacity: 0.3;
  margin-bottom: 16px;
}

/* 时间戳 */
.message-time {
  text-align: center;
  font-size: 11px;
  color: #BBBFC4;
  margin: 4px 0;
  flex-shrink: 0;
}
.message-time span {
  background: rgba(0,0,0,0.06);
  padding: 4px 12px;
  border-radius: 10px;
}

/* 消息项 - 一左一右布局 */
.message-item {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: flex-start;
  margin-bottom: 8px;
}
.message-self {
  align-items: flex-end;
}
.message-other {
  align-items: flex-start;
}

/* 消息内容容器 */
.message-content-wrapper {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  max-width: 82%;
}
.message-self .message-content-wrapper {
  flex-direction: row-reverse;
}

/* 消息头像 */
.message-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  margin-top: 4px;
}
.message-self .message-avatar {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}
.message-other .message-avatar {
  background: linear-gradient(135deg, #646A73, #8F959E);
}

/* 消息主体 */
.message-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-width: 100%;
}
.message-name {
  font-size: 11px;
  color: var(--text-secondary);
  padding: 0 4px;
}
.message-self .message-name {
  text-align: right;
  color: var(--primary);
}

/* 消息气泡 */
.message-bubble {
  padding: 12px 16px;
  border-radius: var(--radius-bubble);
  font-size: 14px;
  line-height: 1.6;
  word-break: break-word;
  white-space: pre-wrap;
  box-shadow: var(--shadow-card);
  max-width: 100%;
}
.message-self .message-bubble {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-bottom-right-radius: 6px;
}
.message-other .message-bubble {
  background: var(--bg-card);
  color: var(--text-primary);
  border-bottom-left-radius: 6px;
  border: 1px solid var(--border-light);
}

/* 消息元信息 */
.message-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #BBBFC4;
  padding: 4px 6px;
}
.message-self .message-meta {
  justify-content: flex-end;
}
.read-mark {
  color: var(--primary);
}

/* 输入区域 */
.chat-input-area {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  padding: 10px 16px;
  background: var(--bg-card);
  border-top: 1px solid var(--border-light);
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.04);
}
.chat-input-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.chat-action-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.2s;
}
.chat-action-btn:hover {
  background: #F5F7FA;
  color: var(--primary);
}
.chat-input {
  flex: 1;
  border: 1px solid var(--border-light);
  outline: none;
  background: var(--bg-page);
  border-radius: var(--radius-btn);
  padding: 10px 18px;
  font-size: 14px;
  resize: none;
  font-family: inherit;
  max-height: 100px;
  line-height: 1.5;
  color: var(--text-primary);
}
.chat-input:focus {
  border-color: var(--primary);
}
.send-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-btn);
  flex-shrink: 0;
  transition: all 0.2s;
}
.send-btn:hover:not(:disabled) {
  transform: scale(1.05);
}
.send-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* 表情面板 */
.emoji-panel {
  position: absolute;
  bottom: 68px;
  left: 16px;
  width: 280px;
  max-height: 220px;
  overflow-y: auto;
  padding: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-card);
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 4px;
  z-index: 200;
}
.emoji-item {
  font-size: 22px;
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  text-align: center;
  transition: background 0.2s;
}
.emoji-item:hover {
  background: #F5F7FA;
}

/* 聊天列表页面 */
.chat-list-page {
  min-height: 100vh;
  background: var(--bg-page);
}
.chat-list-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}
.chat-list-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}
.chat-list-unread {
  margin-left: auto;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 12px;
  font-weight: 600;
}
.chat-list-search {
  padding: 12px 16px;
  background: var(--bg-page);
  border-bottom: 1px solid var(--border-light);
}
.chat-list-search input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-btn);
  font-size: 14px;
  background: var(--bg-card);
  outline: none;
  color: var(--text-primary);
}
.chat-list-search input:focus {
  border-color: var(--primary);
}
.chat-list-filter {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.chat-filter-btn {
  padding: 6px 12px;
  font-size: 12px;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
}
.chat-filter-btn.active {
  background: rgba(22,119,255,0.1);
  border-color: var(--primary);
  color: var(--primary);
}
.chat-list-content {
  padding: 12px 16px;
}
.chat-list-item {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 18px;
  margin-bottom: 12px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
  cursor: pointer;
  display: flex;
  gap: 14px;
  align-items: center;
  transition: all 0.2s;
}
.chat-list-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.chat-list-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.chat-list-info {
  flex: 1;
  min-width: 0;
}
.chat-list-name-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.chat-list-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}
.chat-list-time {
  font-size: 11px;
  color: var(--text-placeholder);
}
.chat-list-preview {
  display: flex;
  align-items: center;
  gap: 8px;
}
.chat-list-channel {
  font-size: 11px;
  background: rgba(22,119,255,0.08);
  color: var(--primary);
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 500;
}
.chat-list-message {
  font-size: 13px;
  color: var(--text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.chat-list-badge {
  min-width: 20px;
  height: 20px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

/* ===== 首页样式 ===== */
.page-container {
  min-height: 100vh;
  background: var(--bg-page);
  padding-top: 0;
}

/* Hero Banner */
.hero-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, #4088FF 100%);
  padding: 48px 24px;
  text-align: center;
  color: #fff;
  border-radius: 0 0 40px 40px;
  box-shadow: 0 8px 32px rgba(22,119,255,0.3);
}
.hero-logo {
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
  border-radius: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.hero-banner h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}
.hero-banner h1 span {
  color: rgba(255,255,255,0.8);
}
.hero-desc {
  font-size: 14px;
  opacity: 0.9;
  line-height: 1.7;
  margin-bottom: 28px;
}
.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hero-actions .btn {
  padding: 16px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-btn);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.3s;
}
.hero-actions .btn-primary {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.hero-actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.2);
}
.hero-actions .btn-accent {
  background: rgba(255,255,255,0.2);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.3);
}
.hero-actions .btn-accent:hover {
  background: rgba(255,255,255,0.3);
}
.hero-actions .btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
}
.hero-actions .btn-outline:hover {
  background: rgba(255,255,255,0.1);
}

/* 区块通用 */
.section {
  padding: 20px 16px;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.section-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}
.section-more {
  color: var(--primary);
  font-size: 14px;
  cursor: pointer;
  font-weight: 500;
}

/* 入口网格 */
.entrance-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.entrance-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 24px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
  transition: all 0.3s;
}
.entrance-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.entrance-card .icon {
  font-size: 36px;
  margin-bottom: 12px;
}
.entrance-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.entrance-card p {
  font-size: 12px;
  color: var(--text-secondary);
}

/* 热门服务列表 */
.hot-list {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}
@media (min-width: 768px) {
  .hot-list {
    overflow-x: visible;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (min-width: 1024px) {
  .hot-list {
    grid-template-columns: repeat(5, 1fr);
  }
}
.hot-item {
  flex-shrink: 0;
  width: 180px;
  background: var(--bg-card);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: all 0.3s;
}
.hot-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
@media (min-width: 768px) {
  .hot-item {
    width: 100%;
  }
}
.hot-image {
  width: 100%;
  height: 140px;
  object-fit: cover;
}
.hot-info {
  padding: 14px;
}
.hot-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  display: block;
  margin-bottom: 6px;
}
.hot-desc {
  font-size: 12px;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.5;
}
.hot-price {
  display: flex;
  align-items: baseline;
  gap: 3px;
}

/* 分类网格 */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (min-width: 768px) {
  .category-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}
@media (min-width: 1024px) {
  .category-grid {
    grid-template-columns: repeat(8, 1fr);
  }
}
.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  padding: 12px 8px;
  border-radius: var(--radius-card);
  transition: all 0.2s;
}
.category-item:hover {
  background: rgba(22,119,255,0.05);
  transform: scale(1.05);
}
.category-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 10px;
  background: linear-gradient(135deg, rgba(22,119,255,0.08) 0%, rgba(22,119,255,0.04) 100%);
}
.category-name {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
  text-align: center;
}

/* 服务列表 */
.service-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
@media (min-width: 768px) {
  .service-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
@media (min-width: 1024px) {
  .service-list {
    grid-template-columns: repeat(3, 1fr);
  }
}
.service-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: all 0.3s;
  display: flex;
}
.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}
@media (min-width: 768px) {
  .service-card {
    flex-direction: column;
  }
}
.service-card-image {
  width: 140px;
  height: 120px;
  object-fit: cover;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .service-card-image {
    width: 100%;
    height: 200px;
  }
}
.service-card-info {
  flex: 1;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.service-card-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  display: block;
}
.service-card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 6px;
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.service-card-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 12px;
}

/* ===== 头部 ===== */
.header {
  background: var(--bg-card); padding: 16px; text-align: center;
  font-size: 18px; font-weight: 600; color: var(--text-primary);
  position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow-card);
}

/* ===== 价格通用 ===== */
.price-symbol { color: var(--primary); font-size: 12px; font-weight: 600; }
.price-value { color: var(--primary); font-size: 20px; font-weight: 700; }
.price-unit { color: var(--text-secondary); font-size: 12px; }

/* ===== 登录页面样式 ===== */
.login-page-wrapper {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, #4088FF 100%);
  display: flex;
  flex-direction: column;
}

.login-header {
  display: flex;
  align-items: center;
  padding: 16px 20px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(12px);
}
.login-header .back-btn {
  font-size: 28px;
  cursor: pointer;
  color: #fff;
  margin-right: 12px;
}
.login-header .header-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.login-tabs {
  display: flex;
  background: rgba(255,255,255,0.15);
  margin: 24px 20px;
  border-radius: var(--radius-card);
  padding: 4px;
}
.login-tab {
  flex: 1;
  text-align: center;
  padding: 16px 0;
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  border-radius: calc(var(--radius-card) - 4px);
  transition: all 0.3s;
  font-weight: 500;
}
.login-tab.active {
  background: #fff;
  color: var(--primary);
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.login-content {
  flex: 1;
  padding: 0 20px;
  display: flex;
  justify-content: center;
}

.login-form {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

.form-item {
  margin-bottom: 24px;
}

.form-label {
  font-size: 15px;
  color: var(--text-primary);
  margin-bottom: 10px;
  font-weight: 600;
  display: block;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-btn);
  font-size: 15px;
  box-sizing: border-box;
  transition: all 0.2s;
  background: #fff;
  color: var(--text-primary);
}
.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(22,119,255,0.08);
}
.form-input::placeholder {
  color: var(--text-placeholder);
}

.forgot-password {
  text-align: right;
  margin-bottom: 24px;
}

.forgot-password-link {
  font-size: 14px;
  color: var(--primary);
  cursor: pointer;
  font-weight: 500;
}

.login-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  border: none;
  border-radius: var(--radius-btn);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(22,119,255,0.3);
}
.login-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(22,119,255,0.4);
}
.login-btn:disabled,
.login-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.agreement-check {
  margin-bottom: 24px;
}

.checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.checkbox-wrapper input[type="checkbox"] {
  display: none;
}
.checkbox-custom {
  width: 22px;
  height: 22px;
  border: 2px solid var(--border-normal);
  border-radius: 6px;
  margin-top: 1px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.checkbox-wrapper input[type="checkbox"]:checked + .checkbox-custom {
  background: var(--primary);
  border-color: var(--primary);
}
.checkbox-wrapper input[type="checkbox"]:checked + .checkbox-custom::after {
  content: '✓';
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.agreement-text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.agreement-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  cursor: pointer;
}

.login-footer {
  background: rgba(0,0,0,0.1);
  backdrop-filter: blur(12px);
  padding: 28px 20px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-links {
  margin-bottom: 16px;
}

.footer-links a,
.footer-links span {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 13px;
}

.link-separator {
  margin: 0 16px;
  color: rgba(255,255,255,0.4);
}

.footer-info p {
  margin: 6px 0;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}

.footer-info a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
}

/* ===== 个人中心页面样式 ===== */
.mine-page {
  min-height: 100vh;
  background: var(--bg-page);
  padding-bottom: 80px;
}

.mine-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, #4088FF 100%);
  padding: 48px 20px 40px;
  border-radius: 0 0 40px 40px;
  box-shadow: 0 8px 32px rgba(22,119,255,0.25);
}

.user-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.user-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  backdrop-filter: blur(8px);
  border: 3px solid rgba(255,255,255,0.4);
}

.user-avatar-img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.4);
  object-fit: cover;
}

.user-info div:last-child {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.user-info div:last-child div:last-child {
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}

.mine-menu {
  background: #fff;
  margin: -20px 16px 16px;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  position: relative;
  z-index: 2;
}

.menu-item {
  display: flex;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--border-light);
  cursor: pointer;
  transition: background 0.2s;
}
.menu-item:last-child {
  border-bottom: none;
}
.menu-item:hover {
  background: rgba(22,119,255,0.03);
}

.menu-icon {
  font-size: 24px;
  margin-right: 16px;
  width: 28px;
  text-align: center;
}

.menu-text {
  flex: 1;
  font-size: 16px;
  color: var(--text-primary);
  font-weight: 500;
}

.menu-arrow {
  color: var(--text-placeholder);
  font-size: 18px;
}

.menu-badge {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 12px;
  font-weight: 600;
  margin-right: 8px;
}

.mine-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 0 16px 16px;
}

.stat-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 20px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  border: 1px solid var(--border-light);
}

.stat-value {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ===== 按钮 ===== */
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff; border: none; padding: 14px 28px; border-radius: var(--radius-xl);
  font-size: 15px; font-weight: 600; cursor: pointer; width: 100%;
  box-shadow: 0 2px 12px rgba(255,123,92,0.25);
  transition: all 0.25s ease;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(255,123,92,0.35); }
.btn-primary:active { transform: translateY(0); opacity: 0.9; }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.btn-secondary {
  background: var(--bg-card); color: var(--text-700); border: 1px solid var(--border-normal);
  padding: 12px 24px; border-radius: var(--radius-xl); font-size: 14px; cursor: pointer;
  transition: all 0.2s;
}
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); }

/* ===== 加载 & 空状态 ===== */
.loading { text-align: center; padding: 48px 20px; color: var(--text-400); }
.empty-state { text-align: center; padding: 64px 20px; color: var(--text-400); }

/* ===== TabBar ===== */
.tabbar {
  position: fixed; bottom: 0; left: 0; right: 0; height: 64px;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex; justify-content: space-around; align-items: center;
  box-shadow: 0 -1px 0 rgba(92,79,69,0.05), 0 -4px 20px rgba(92,79,69,0.06);
  z-index: 1000; border-radius: 20px 20px 0 0;
}
.tabbar-item { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; color: var(--text-400); font-size: 11px; transition: all 0.2s; }
.tabbar-item.active { color: var(--primary); }
.tabbar-icon { font-size: 22px; margin-bottom: 4px; }

/* ===== 横幅 ===== */
.banner-section { background: transparent; padding: 16px; }
.banner-swiper { width: 100%; height: 180px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
@media (min-width: 768px) { .banner-swiper { height: 260px; border-radius: 24px; } }
@media (min-width: 1024px) { .banner-swiper { height: 340px; } }
.banner-item { position: relative; width: 100%; height: 100%; }
.banner-image { width: 100%; height: 100%; object-fit: cover; }
.banner-text { position: absolute; bottom: 20px; left: 20px; color: #fff; }
.banner-title { font-size: 22px; font-weight: 700; display: block; margin-bottom: 6px; text-shadow: 0 2px 8px rgba(0,0,0,0.2); }
.banner-subtitle { font-size: 13px; opacity: 0.9; text-shadow: 0 1px 4px rgba(0,0,0,0.2); }

.banner-logo-item {
  background: linear-gradient(160deg, #fefcf8 0%, #fdf6ef 50%, #faf3eb 100%);
  display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 24px;
  border-radius: var(--radius-lg);
}
.banner-logo-container { width: 100%; max-width: 300px; margin-bottom: 16px; }
.banner-logo { width: 100%; height: auto; max-height: 180px; object-fit: contain; }
.banner-logo-item .banner-text { position: static; color: var(--text-900); text-align: center; }
.banner-logo-item .banner-title { color: var(--primary-dark); font-size: 26px; font-weight: 700; text-shadow: none; }
@media (min-width: 768px) { .banner-logo-item { padding: 36px; } .banner-logo-container { max-width: 400px; } .banner-logo-item .banner-title { font-size: 30px; } .banner-logo-item .banner-subtitle { font-size: 16px; } }

/* ===== 热门服务 ===== */
.hot-service { margin-top: 12px; background: var(--bg-card); border-radius: var(--radius-lg); padding: 16px 0 8px; box-shadow: var(--shadow-xs); }
.section-title { font-size: 16px; font-weight: 600; color: var(--text-900); margin-bottom: 12px; }
.section-more { color: var(--primary); font-size: 13px; cursor: pointer; font-weight: 500; }
.hot-list { display: flex; overflow-x: auto; padding: 0 16px 16px; gap: 14px; -webkit-overflow-scrolling: touch; }
@media (min-width: 768px) { .hot-list { overflow-x: visible; display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; } }
@media (min-width: 1024px) { .hot-list { grid-template-columns: repeat(5,1fr); gap: 24px; } }
.hot-item {
  flex-shrink: 0; width: 160px; background: var(--bg-card); border-radius: var(--radius-md);
  overflow: hidden; box-shadow: var(--shadow-sm); cursor: pointer;
  transition: all 0.25s ease;
}
.hot-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.hot-image { width: 100%; height: 120px; object-fit: cover; }
@media (min-width: 768px) { .hot-item { width: 100%; } .hot-image { height: 150px; } }
.hot-info { padding: 12px; }
.hot-name { font-size: 15px; color: var(--text-900); font-weight: 600; display: block; margin-bottom: 4px; }
.hot-desc { font-size: 12px; color: var(--text-400); display: block; margin-bottom: 8px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.5; }
.hot-price { display: flex; align-items: baseline; gap: 3px; }

/* ===== 分类区域 ===== */
.category-section { margin-top: 12px; background: var(--bg-card); border-radius: var(--radius-lg); padding: 16px 0 8px; box-shadow: var(--shadow-xs); }
.category-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; padding: 0 16px 16px; }
@media (min-width: 768px) { .category-grid { grid-template-columns: repeat(6,1fr); gap: 16px; } }
@media (min-width: 1024px) { .category-grid { grid-template-columns: repeat(8,1fr); gap: 20px; } }
.category-item { display: flex; flex-direction: column; align-items: center; cursor: pointer; transition: transform 0.2s; }
.category-item:hover { transform: scale(1.05); }
.category-icon { width: 52px; height: 52px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 24px; margin-bottom: 8px; background: linear-gradient(135deg, #fdf7f3 0%, #faf1e8 100%); }
.category-icon-emoji { background: transparent; font-size: 32px; }
.category-icon-image { background: var(--bg-warm); }
.category-name { font-size: 12px; color: var(--text-700); font-weight: 500; }

/* ===== 服务列表 ===== */
.service-list-section { margin-top: 12px; background: var(--bg-card); border-radius: var(--radius-lg); padding: 16px 0 8px; box-shadow: var(--shadow-xs); }
.service-list { padding: 0 16px 16px; }
@media (min-width: 768px) { .service-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; } }
@media (min-width: 1024px) { .service-list { grid-template-columns: repeat(3,1fr); gap: 20px; } }
.service-card {
  display: flex; background: var(--bg-card); border-radius: var(--radius-md);
  overflow: hidden; margin-bottom: 14px; cursor: pointer;
  box-shadow: var(--shadow-xs); border: 1px solid var(--border-light);
  transition: all 0.25s ease;
}
.service-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
@media (min-width: 768px) { .service-card { margin-bottom: 0; flex-direction: column; } }
.service-card-image { width: 120px; height: 100px; object-fit: cover; flex-shrink: 0; border-radius: 8px; margin: 10px; }
@media (min-width: 768px) { .service-card-image { width: 100%; height: 180px; margin: 0; border-radius: var(--radius-md) var(--radius-md) 0 0; } }
.service-card-info { flex: 1; padding: 12px 12px 12px 0; display: flex; flex-direction: column; justify-content: space-between; }
@media (min-width: 768px) { .service-card-info { padding: 16px; } }
.service-card-name { font-size: 16px; font-weight: 600; color: var(--text-900); }
.service-card-desc { font-size: 13px; color: var(--text-400); margin-top: 6px; line-height: 1.5; }
.service-card-price { display: flex; align-items: baseline; gap: 4px; margin-top: 10px; }

/* ===== 服务页（双栏布局） ===== */
.service-page { display: flex; height: calc(100vh - 64px); }
.category-sidebar {
  width: 90px; background: linear-gradient(180deg, #fefcf9 0%, #faf5ef 100%);
  overflow-y: auto; flex-shrink: 0;
}
.category-sidebar-item {
  padding: 18px 12px; text-align: center; font-size: 13px; color: var(--text-500);
  cursor: pointer; border-left: 3px solid transparent; transition: all 0.2s;
}
.category-sidebar-item.active { background: var(--bg-card); color: var(--primary); border-left-color: var(--primary); font-weight: 600; }
.service-content { flex: 1; background: var(--bg-card); overflow-y: auto; padding: 16px; }
.service-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.service-grid-item {
  background: var(--bg-card); border-radius: var(--radius-md); overflow: hidden;
  cursor: pointer; box-shadow: var(--shadow-xs); border: 1px solid var(--border-light);
  transition: all 0.2s;
}
.service-grid-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.service-grid-image { width: 100%; height: 120px; object-fit: cover; }
.service-grid-info { padding: 12px; }
.service-grid-name { font-size: 14px; color: var(--text-900); font-weight: 600; display: block; margin-bottom: 4px; }
.service-grid-desc { font-size: 11px; color: var(--text-400); display: block; margin-bottom: 6px; }
.service-grid-tags { display: flex; gap: 6px; margin-top: 6px; }
.service-tag { font-size: 10px; padding: 3px 8px; border-radius: 12px; background: var(--primary-pale); color: var(--primary); font-weight: 500; }

/* ===== 详情页 ===== */
.detail-page { background: var(--bg-page); }
.detail-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(12px);
  padding: 14px 16px; display: flex; align-items: center; gap: 14px;
}
.back-btn { font-size: 22px; cursor: pointer; color: var(--text-700); }
.detail-title { flex: 1; font-size: 17px; font-weight: 600; color: var(--text-900); }
.detail-image-container { width: 100%; background: #fff; }
.detail-image { width: 100%; height: 280px; object-fit: cover; display: block; }
@media (min-width: 768px) { .detail-image { height: 400px; } }
@media (min-width: 1024px) { .detail-image { height: 480px; } }
.detail-info { background: var(--bg-card); padding: 20px; border-radius: var(--radius-lg) var(--radius-lg) 0 0; margin-top: -20px; position: relative; z-index: 2; }
.detail-name { font-size: 22px; font-weight: 700; margin-bottom: 12px; color: var(--text-900); }
.detail-rating { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.rating-stars { font-size: 16px; color: var(--accent-gold); font-weight: 600; }
.rating-count { font-size: 13px; color: var(--text-400); }
.detail-desc { color: var(--text-500); font-size: 15px; line-height: 1.7; margin-bottom: 16px; }
.detail-duration { font-size: 14px; color: var(--primary); margin-bottom: 16px; padding: 10px 16px; background: var(--primary-pale); border-radius: var(--radius-sm); display: inline-block; font-weight: 500; }
.detail-price-section { display: flex; align-items: baseline; gap: 6px; }
.detail-content-images { background: var(--bg-card); padding: 20px; margin-top: 10px; border-radius: var(--radius-lg); box-shadow: var(--shadow-xs); }
.content-images-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
@media (min-width: 768px) { .content-images-grid { grid-template-columns: repeat(4,1fr); gap: 14px; } }
.content-image { width: 100%; height: 140px; object-fit: cover; border-radius: var(--radius-sm); }
@media (min-width: 768px) { .content-image { height: 180px; } }
@media (min-width: 1024px) { .content-image { height: 220px; } }
.detail-intro { background: var(--bg-card); padding: 20px; margin-top: 10px; border-radius: var(--radius-lg); box-shadow: var(--shadow-xs); }
.intro-text { color: var(--text-500); font-size: 15px; line-height: 1.8; }
.detail-specs { background: var(--bg-card); padding: 20px; margin-top: 10px; border-radius: var(--radius-lg); box-shadow: var(--shadow-xs); }
.detail-scope { background: var(--bg-card); padding: 20px; margin-top: 10px; border-radius: var(--radius-lg); box-shadow: var(--shadow-xs); }
.spec-item { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--border-light); font-size: 15px; cursor: pointer; }
.spec-item:last-child { border-bottom: none; }
.spec-item.selected { background-color: #f0f5ff; color: #1989fa; font-weight: bold; }
.spec-item.selected::after { content: '✓'; margin-left: 10px; color: #1989fa; }
.scope-item { padding: 10px 0; font-size: 15px; color: var(--text-500); }
.detail-footer { position: fixed; bottom: 0; left: 0; right: 0; background: rgba(255,255,255,0.94); backdrop-filter: blur(12px); padding: 14px 16px; display: flex; gap: 12px; box-shadow: 0 -1px 0 rgba(92,79,69,0.05), 0 -4px 20px rgba(92,79,69,0.08); border-radius: 20px 20px 0 0; }
.detail-footer .btn-primary { flex: 1; }

/* ===== 订单页 ===== */
.order-page { background: var(--bg-page); padding-top: 56px; }
.order-tabs { display: flex; background: var(--bg-card); position: sticky; top: 0; z-index: 100; box-shadow: var(--shadow-xs); }
.order-tab { flex: 1; padding: 16px; text-align: center; font-size: 14px; color: var(--text-400); cursor: pointer; border-bottom: 2px solid transparent; transition: all 0.2s; font-weight: 500; }
.order-tab.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 600; }
.order-list { padding: 16px; }
.order-card { background: var(--bg-card); border-radius: var(--radius-md); padding: 18px; margin-bottom: 14px; box-shadow: var(--shadow-xs); border: 1px solid var(--border-light); }
.order-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--border-light); }
.order-no { font-size: 13px; color: var(--text-500); font-weight: 500; }
.order-status { color: var(--primary); font-size: 14px; font-weight: 600; }
.order-service { display: flex; gap: 14px; margin-bottom: 14px; }
.order-service-image { width: 80px; height: 80px; border-radius: var(--radius-sm); object-fit: cover; }
.service-image { width: 60px; height: 60px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; }
.order-service-info { flex: 1; }

/* 购物车订单样式 */
.cart-order-items { display: flex; flex-direction: column; gap: 12px; }
.cart-order-item { display: flex; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border-light); }
.cart-order-item:last-child { border-bottom: none; }
.cart-item-image { width: 80px; height: 80px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; }
.cart-item-info { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.cart-item-name { font-size: 15px; color: var(--text-900); font-weight: 500; margin: 0; }
.cart-item-merchant { font-size: 12px; color: var(--text-400); margin: 4px 0 0 0; }
.cart-item-price-row { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
.cart-item-price { font-size: 16px; color: var(--primary); font-weight: 600; }
.cart-item-quantity { font-size: 14px; color: var(--text-400); }
.cart-order-total { display: flex; justify-content: flex-end; align-items: center; padding-top: 12px; border-top: 1px solid var(--border-light); }
.cart-order-total .total-label { font-size: 14px; color: var(--text-500); }
.cart-order-total .total-value { font-size: 20px; color: var(--primary); font-weight: 700; margin-left: 8px; }
.order-service-name { font-size: 16px; color: var(--text-900); margin-bottom: 6px; font-weight: 600; }
.order-meta { font-size: 12px; color: var(--text-400); margin-bottom: 4px; line-height: 1.5; }
.order-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 14px; border-top: 1px solid var(--border-light); }
.order-price { font-size: 20px; color: var(--primary); font-weight: 700; }
.order-actions { display: flex; gap: 10px; }
.order-btn { padding: 9px 22px; border-radius: var(--radius-xl); font-size: 13px; cursor: pointer; font-weight: 500; transition: all 0.2s; border: none; }
.order-btn-cancel { background: #f5f0ec; color: var(--text-500); }
.order-btn-refund { background: var(--bg-card); color: var(--text-500); border: 1px solid var(--border-normal); }
.order-btn-pay { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); color: #fff; box-shadow: 0 2px 8px rgba(255,123,92,0.2); }

/* ===== 我的页面 ===== */
.mine-page { background: var(--bg-page); padding-top: 56px; }
.mine-header { background: linear-gradient(160deg, #FF7B5C 0%, #FF9A80 40%, #FFBDA6 80%, #FFE8DF 100%); padding: 48px 24px; color: #fff; }
.user-info { display: flex; align-items: center; gap: 16px; }
.user-avatar { width: 72px; height: 72px; border-radius: 50%; background: rgba(255,255,255,0.25); display: flex; align-items: center; justify-content: center; font-size: 32px; backdrop-filter: blur(8px); border: 3px solid rgba(255,255,255,0.4); }
.user-name { font-size: 20px; font-weight: 700; }
.mine-menu { background: var(--bg-card); margin: -20px 16px 16px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); position: relative; z-index: 2; }
.menu-item { display: flex; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--border-light); cursor: pointer; transition: background 0.2s; }
.menu-item:last-child { border-bottom: none; }
.menu-item:hover { background: var(--bg-warm); }
.menu-icon { font-size: 20px; margin-right: 14px; width: 24px; text-align: center; }
.menu-text { flex: 1; font-size: 15px; color: var(--text-700); font-weight: 500; }
.menu-arrow { color: var(--text-400); font-size: 16px; }
.menu-item-disabled { opacity: 0.5; cursor: not-allowed; }
.menu-badge { background: linear-gradient(135deg, var(--accent-blue) 0%, #A78BFA 100%); color: #fff; font-size: 11px; padding: 3px 10px; border-radius: 12px; margin-right: 8px; font-weight: 600; }

/* ===== 登录页 ===== */
.login-page-wrapper { min-height: 100vh; background: var(--bg-page); display: flex; flex-direction: column; }
.login-page { min-height: 100vh; background: var(--bg-page); padding: 60px 30px; }
.login-header { display: flex; align-items: center; padding: 16px 20px; background: var(--bg-card); box-shadow: var(--shadow-xs); }
.login-header .back-btn { font-size: 24px; cursor: pointer; margin-right: 12px; color: var(--text-700); }
.header-title { font-size: 20px; font-weight: 700; color: var(--text-900); }
.login-logo { text-align: center; margin-bottom: 48px; }
.login-logo-icon { font-size: 64px; margin-bottom: 16px; }
.login-title { font-size: 24px; font-weight: 700; color: var(--text-900); }
.login-tabs { display: flex; background: var(--bg-card); border-bottom: 1px solid var(--border-light); }
.login-tab { flex: 1; text-align: center; padding: 18px 0; font-size: 16px; color: var(--text-400); cursor: pointer; position: relative; transition: all 0.2s; font-weight: 500; }
.login-tab.active { color: var(--primary); font-weight: 700; }
.login-tab.active::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 36px; height: 3px; background: var(--primary); border-radius: 2px; }
.login-content { flex: 1; padding: 28px 20px; }
.login-form, .forgot-password-form { background: var(--bg-card); border-radius: var(--radius-lg); padding: 28px 24px; box-shadow: var(--shadow-sm); margin-bottom: 24px; }
.login-form .form-item { margin-bottom: 20px; }
.login-form .form-label, .form-label { font-size: 15px; color: var(--text-700); margin-bottom: 8px; font-weight: 600; display: block; }
.login-form .form-input, .form-input { width: 100%; padding: 14px 16px; border: 1px solid var(--border-normal); border-radius: var(--radius-sm); font-size: 15px; box-sizing: border-box; transition: all 0.2s; background: var(--bg-card); color: var(--text-900); }
.login-form .form-input:focus, .form-input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(255,123,92,0.08); }
.forgot-password { text-align: right; margin-bottom: 20px; }
.forgot-password span { font-size: 14px; color: var(--primary); cursor: pointer; }
.agreement-check { margin-bottom: 24px; }
.checkbox-wrapper { display: flex; align-items: flex-start; gap: 8px; cursor: pointer; }
.checkbox-wrapper input[type="checkbox"] { display: none; }
.checkbox-custom { width: 20px; height: 20px; border: 2px solid var(--border-normal); border-radius: 5px; margin-top: 2px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.checkbox-wrapper input[type="checkbox"]:checked+.checkbox-custom { background: var(--primary); border-color: var(--primary); }
.checkbox-wrapper input[type="checkbox"]:checked+.checkbox-custom::after { content: '✓'; color: #fff; font-size: 13px; font-weight: 700; }
.agreement-text { font-size: 13px; color: var(--text-500); line-height: 1.6; }
.agreement-link { color: var(--primary); text-decoration: none; font-weight: 500; }
.login-btn {
  width: 100%; padding: 15px; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff; border: none; border-radius: var(--radius-sm); font-size: 16px; font-weight: 700;
  cursor: pointer; transition: all 0.25s; box-shadow: 0 2px 12px rgba(255,123,92,0.25);
}
.login-btn:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 20px rgba(255,123,92,0.35); }
.login-btn.disabled { background: #ccc; cursor: not-allowed; }
.login-btn:disabled { opacity: 0.6; }
.login-footer { background: var(--bg-card); padding: 24px; text-align: center; border-top: 1px solid var(--border-light); }
.footer-links { margin-bottom: 12px; }
.footer-links a { color: var(--text-500); text-decoration: none; font-size: 13px; }
.link-separator { margin: 0 12px; color: var(--text-400); }
.footer-info p { margin: 4px 0; font-size: 12px; color: var(--text-400); }
.footer-info a { color: var(--text-400); text-decoration: none; }

/* ===== 退款弹窗 ===== */
.refund-modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.45); display: flex; align-items: center; justify-content: center; z-index: 2000; backdrop-filter: blur(4px); }
.refund-content { background: var(--bg-card); width: 90%; max-width: 400px; border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-lg); }
.refund-title { font-size: 18px; font-weight: 700; text-align: center; margin-bottom: 24px; color: var(--text-900); }
.refund-reason { margin-bottom: 20px; }
.reason-label { font-size: 14px; color: var(--text-500); margin-bottom: 12px; display: block; font-weight: 500; }
.reason-options { display: flex; flex-wrap: wrap; gap: 10px; }
.reason-option { padding: 8px 18px; border: 1px solid var(--border-normal); border-radius: var(--radius-xl); font-size: 13px; cursor: pointer; transition: all 0.2s; color: var(--text-500); }
.reason-option.selected { border-color: var(--primary); color: var(--primary); background: var(--primary-pale); }
.refund-remark { margin-bottom: 20px; }
.remark-input { width: 100%; padding: 12px; border: 1px solid var(--border-normal); border-radius: var(--radius-sm); font-size: 14px; min-height: 80px; resize: none; color: var(--text-700); }
.remark-input:focus { outline: none; border-color: var(--primary); }
.refund-buttons { display: flex; gap: 12px; }
.refund-btn { flex: 1; padding: 13px; border-radius: var(--radius-xl); font-size: 15px; cursor: pointer; font-weight: 600; transition: all 0.2s; }
.refund-btn-cancel { background: #f5f0ec; color: var(--text-500); border: none; }
.refund-btn-confirm { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%); color: #fff; border: none; box-shadow: 0 2px 8px rgba(255,123,92,0.2); }

/* ===== 顶部导航 ===== */
.top-nav { background: rgba(255,255,255,0.92); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(92,79,69,0.05); position: sticky; top: 0; z-index: 1000; box-shadow: 0 1px 4px rgba(92,79,69,0.04); }
.top-nav-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; height: 56px; }
.top-nav-logo { font-size: 20px; font-weight: 700; color: var(--primary); text-decoration: none; }
.top-nav-links { display: flex; gap: 28px; }
.top-nav-links a { text-decoration: none; color: var(--text-500); font-size: 14px; padding: 4px 0; border-bottom: 2px solid transparent; transition: all 0.2s; font-weight: 500; }
.top-nav-links a:hover, .top-nav-links a.active { color: var(--primary); border-bottom-color: var(--primary); }
.top-nav-mobile-btn { display: none; font-size: 24px; cursor: pointer; padding: 4px 8px; color: var(--text-700); }
.top-nav-mobile-menu { display: none; flex-direction: column; background: var(--bg-card); border-top: 1px solid var(--border-light); padding: 8px 20px; }
.top-nav-mobile-menu a { padding: 14px 0; text-decoration: none; color: var(--text-700); font-size: 15px; border-bottom: 1px solid var(--border-light); font-weight: 500; }
.top-nav-mobile-menu a:last-child { border-bottom: none; }
@media (max-width: 768px) { .top-nav-links { display: none; } .top-nav-mobile-btn { display: block; } }

/* ===== 页脚 ===== */
.icp-footer { background: #3d332b; color: #c7b8a7; padding: 36px 20px 24px; text-align: center; font-size: 13px; line-height: 2; }
.footer-nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 24px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-nav a { color: #e3d7c8; text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-nav a:hover { color: var(--primary-light); }
.footer-info p { margin: 2px 0; }
.footer-info a { color: #e3d7c8; text-decoration: underline; }

/* ===== 地址选择器 ===== */
.address-selector-wrapper { margin-bottom: 16px; }
.address-select-btn { display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: var(--primary-pale); border-radius: var(--radius-sm); cursor: pointer; transition: all 0.2s; }
.address-select-btn:hover { background: #ffebe3; }
.address-select-icon { font-size: 20px; }
.address-select-text { flex: 1; font-size: 15px; color: var(--primary); font-weight: 600; }
.address-select-arrow { color: var(--primary); font-size: 16px; }
.address-picker-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.45); display: flex; align-items: flex-end; z-index: 3000; }
.address-picker { width: 100%; background: var(--bg-card); border-radius: var(--radius-lg) var(--radius-lg) 0 0; max-height: 70vh; display: flex; flex-direction: column; }
.address-picker-header { display: flex; align-items: center; justify-content: space-between; padding: 20px; border-bottom: 1px solid var(--border-light); }
.address-picker-title { font-size: 18px; font-weight: 700; color: var(--text-900); }
.address-picker-close { font-size: 22px; color: var(--text-400); cursor: pointer; line-height: 1; }
.address-picker-close:hover { color: var(--text-900); }
.address-picker-list { flex: 1; overflow-y: auto; padding: 12px 16px; }
.address-picker-item { padding: 18px; background: var(--bg-card); border-radius: var(--radius-md); margin-bottom: 12px; cursor: pointer; transition: all 0.2s; border: 1px solid var(--border-light); }
.address-picker-item:hover { background: var(--bg-warm); border-color: var(--primary-light); }
.address-picker-top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.address-picker-name { font-size: 16px; font-weight: 700; color: var(--text-900); }
.address-picker-phone { font-size: 14px; color: var(--text-500); }
.address-picker-default { background: var(--primary); color: #fff; font-size: 11px; padding: 3px 10px; border-radius: 12px; font-weight: 600; }
.address-picker-detail { font-size: 14px; color: var(--text-500); line-height: 1.6; }

/* ===== 个人资料页 ===== */
.profile-page { min-height: 100vh; background: var(--bg-page); padding-bottom: 24px; }
.profile-form { max-width: 600px; margin: 0 auto; }
.form-group { margin-bottom: 20px; }
.form-hint { font-size: 12px; color: var(--text-400); margin-top: 6px; }
.avatar-upload { display: flex; flex-direction: column; align-items: center; }
.avatar-preview { width: 100px; height: 100px; border-radius: 50%; background: var(--bg-warm); display: flex; align-items: center; justify-content: center; margin-bottom: 12px; overflow: hidden; }
.avatar-img { width: 100%; height: 100%; object-fit: cover; }
.btn-text { padding: 6px 12px; background: transparent; color: var(--text-500); border: none; font-size: 13px; cursor: pointer; }
.btn-text:hover { color: var(--primary); }
.btn-danger { color: #f06292; }
.form-textarea { width: 100%; padding: 12px; border: 1px solid var(--border-normal); border-radius: var(--radius-sm); font-size: 15px; resize: vertical; line-height: 1.6; font-family: inherit; color: var(--text-700); }
.form-textarea:focus { outline: none; border-color: var(--primary); }
.form-row { display: flex; gap: 10px; }
.form-row .form-input { flex: 1; }

/* ===== 地址管理页 ===== */
.address-page { min-height: 100vh; background: var(--bg-page); padding-bottom: 80px; }
.address-list { padding: 16px; }
.address-items { display: flex; flex-direction: column; gap: 14px; }
.address-item { background: var(--bg-card); border-radius: var(--radius-md); padding: 18px; box-shadow: var(--shadow-xs); border: 1px solid var(--border-light); }
.address-main { margin-bottom: 14px; }
.address-top { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.address-name { font-size: 16px; font-weight: 700; color: var(--text-900); }
.address-phone { font-size: 14px; color: var(--text-500); }
.default-tag { background: var(--primary-pale); color: var(--primary); font-size: 11px; padding: 2px 10px; border-radius: 12px; font-weight: 600; }
.address-detail { font-size: 14px; color: var(--text-500); line-height: 1.6; }
.address-actions { display: flex; justify-content: flex-end; gap: 8px; padding-top: 14px; border-top: 1px solid var(--border-light); }
.fixed-bottom { position: fixed; bottom: 0; left: 0; right: 0; background: rgba(255,255,255,0.94); backdrop-filter: blur(12px); padding: 14px 16px; box-shadow: 0 -4px 20px rgba(92,79,69,0.08); border-radius: 20px 20px 0 0; }

/* ===== 弹窗 ===== */
.modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.45); display: flex; align-items: center; justify-content: center; z-index: 2000; padding: 20px; backdrop-filter: blur(4px); }
.modal-content { background: var(--bg-card); width: 100%; max-width: 480px; border-radius: var(--radius-lg); max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow-lg); }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 20px; border-bottom: 1px solid var(--border-light); font-size: 18px; font-weight: 700; color: var(--text-900); }
.modal-close { font-size: 22px; color: var(--text-400); cursor: pointer; line-height: 1; }
.modal-close:hover { color: var(--text-900); }
.modal-body { padding: 20px; }
.modal-footer { display: flex; gap: 12px; padding: 16px 20px; border-top: 1px solid var(--border-light); }
.modal-footer .btn-primary, .modal-footer .btn-secondary { flex: 1; }

/* ===== 投诉页 ===== */
.complaint-page { min-height: 100vh; background: var(--bg-page); padding-bottom: 24px; }
.complaint-tabs { display: flex; background: var(--bg-card); position: sticky; top: 96px; z-index: 98; border-bottom: 1px solid var(--border-light); }
.complaint-tab { flex: 1; padding: 16px; text-align: center; font-size: 14px; color: var(--text-400); cursor: pointer; border-bottom: 2px solid transparent; transition: all 0.2s; font-weight: 500; }
.complaint-tab.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 600; }
.complaint-submit { padding: 20px 0; }
.upload-area { border: 2px dashed rgba(92,79,69,0.12); border-radius: var(--radius-sm); padding: 36px; text-align: center; cursor: pointer; transition: all 0.2s; background: var(--bg-card); }
.upload-area:hover { border-color: var(--primary-light); background: var(--primary-pale); }
.upload-hint { display: flex; flex-direction: column; align-items: center; }
.upload-btn { display: inline-flex; align-items: center; justify-content: center; }
.uploaded-images { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.uploaded-image { position: relative; width: 100px; height: 100px; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-warm); }
.uploaded-image img { width: 100%; height: 100%; object-fit: cover; }
.image-remove { position: absolute; top: 2px; right: 2px; width: 24px; height: 24px; background: rgba(0,0,0,0.5); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; cursor: pointer; }
.upload-tip { font-size: 12px; color: var(--text-400); margin-top: 8px; }
.complaint-list { padding: 16px; }
.complaint-items { display: flex; flex-direction: column; gap: 14px; }
.complaint-item { background: var(--bg-card); border-radius: var(--radius-md); padding: 18px; box-shadow: var(--shadow-xs); border: 1px solid var(--border-light); }
.complaint-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.complaint-type { font-size: 15px; font-weight: 700; color: var(--text-900); }
.complaint-status { font-size: 13px; padding: 4px 12px; border-radius: 12px; font-weight: 500; }
.complaint-title { font-size: 16px; font-weight: 700; color: var(--text-900); margin-bottom: 8px; }
.complaint-content { font-size: 14px; color: var(--text-500); line-height: 1.7; margin-bottom: 12px; }
.complaint-images { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; margin-bottom: 10px; }
.complaint-image { width: 80px; height: 80px; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; background: var(--bg-warm); }
.complaint-image img { width: 100%; height: 100%; object-fit: cover; }
.complaint-time { font-size: 12px; color: var(--text-400); }
.complaint-reply { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--border-light); }
.reply-label { font-size: 13px; color: var(--primary); margin-bottom: 6px; font-weight: 600; }
.reply-content { font-size: 14px; color: var(--text-500); line-height: 1.7; }
.status-success { background: rgba(82,201,192,0.12); color: #3A9D96; }
.status-warning { background: rgba(249,168,37,0.1); color: #C78000; }
.status-info { background: rgba(91,141,239,0.1); color: #3D6FCF; }
.status-danger { background: rgba(240,98,146,0.1); color: #D63360; }

/* ===== 忘记密码 ===== */
.forgot-password-wrapper { min-height: 100vh; background: var(--bg-page); display: flex; flex-direction: column; }
.forgot-password-content { flex: 1; padding: 28px 20px; max-width: 480px; margin: 0 auto; width: 100%; }
.form-step-indicator { display: flex; align-items: center; justify-content: center; margin-bottom: 32px; }
.step-item { width: 40px; height: 40px; border-radius: 50%; background: var(--bg-warm); color: var(--text-400); display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; transition: all 0.3s; }
.step-item.active { background: var(--primary); color: #fff; }
.step-item.completed { background: var(--accent-green); color: #fff; }
.step-line { width: 60px; height: 3px; background: var(--border-normal); margin: 0 8px; transition: all 0.3s; border-radius: 2px; }
.step-line.active { background: var(--primary); }
.form-title { font-size: 22px; font-weight: 700; color: var(--text-900); margin-bottom: 8px; text-align: center; }
.form-desc { font-size: 14px; color: var(--text-400); text-align: center; margin-bottom: 24px; }
.code-input-wrapper { display: flex; gap: 12px; }
.code-input-wrapper .form-input { flex: 1; }
.send-code-btn { padding: 0 20px; background: var(--primary); color: #fff; border: none; border-radius: var(--radius-sm); font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: all 0.2s; }
.send-code-btn:hover { background: var(--primary-dark); }
.send-code-btn.disabled { background: #ccc; cursor: not-allowed; }
.step-buttons { display: flex; gap: 12px; margin-top: 8px; }
.step-back-btn { padding: 14px 24px; background: #f5f0ec; color: var(--text-500); border: none; border-radius: var(--radius-sm); font-size: 15px; cursor: pointer; transition: all 0.2s; }
.step-next-btn { flex: 1; }
.forgot-password-link { color: var(--primary) !important; }

/* ===== 支付页 ===== */
.payment-page { min-height: 100vh; background: var(--bg-page); }
.payment-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.92); backdrop-filter: blur(12px); padding: 14px 16px; display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow-xs); }
.page-title { flex: 1; font-size: 17px; font-weight: 700; text-align: center; color: var(--text-900); }
.simulation-notice { background: linear-gradient(135deg,#FFF8E1 0%,#FFF3CD 100%); border-left: 4px solid var(--accent-gold); padding: 20px; margin: 16px; border-radius: var(--radius-md); display: flex; gap: 14px; box-shadow: var(--shadow-xs); }
.notice-icon { font-size: 32px; flex-shrink: 0; }
.notice-content h4 { font-size: 16px; color: #8D6E00; margin-bottom: 8px; font-weight: 700; }
.notice-content p { font-size: 13px; color: #8D6E00; line-height: 1.6; }
.payment-content { padding: 16px; }
@media (min-width: 768px) { .payment-content { max-width: 600px; margin: 0 auto; } }
.order-info-section, .payment-method-section { margin-bottom: 20px; }
.info-card { background: var(--bg-card); border-radius: var(--radius-md); padding: 20px; box-shadow: var(--shadow-xs); border: 1px solid var(--border-light); }
.info-row { display: flex; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--border-light); }
.info-row:last-child { border-bottom: none; }
.info-row.highlight { background: var(--primary-pale); margin: 0 -20px -20px; padding: 16px 20px; border-radius: 0 0 var(--radius-md) var(--radius-md); }
.label { font-size: 14px; color: var(--text-500); }
.value { font-size: 14px; color: var(--text-900); font-weight: 600; }
.value.price { font-size: 22px; color: var(--primary); font-weight: 700; }
.payment-methods { display: flex; flex-direction: column; gap: 12px; }
.payment-option { background: var(--bg-card); border-radius: var(--radius-md); padding: 18px; display: flex; align-items: center; gap: 14px; cursor: pointer; transition: all 0.25s; border: 2px solid transparent; box-shadow: var(--shadow-xs); }
.payment-option:hover { border-color: var(--border-normal); }
.payment-option.selected { border-color: var(--primary); background: var(--primary-pale); }
.payment-icon { width: 48px; height: 48px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; font-size: 28px; flex-shrink: 0; }
.wechat-icon { background: linear-gradient(135deg,#09BB07 0%,#07C160 100%); }
.alipay-icon { background: linear-gradient(135deg,#1677FF 0%,#0066CC 100%); }
.payment-info { flex: 1; }
.payment-info h4 { font-size: 16px; color: var(--text-900); margin-bottom: 4px; }
.payment-info p { font-size: 13px; color: var(--text-400); }
.radio-circle { width: 24px; height: 24px; border: 2px solid var(--border-normal); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.3s; }
.payment-option.selected .radio-circle { border-color: var(--primary); background: var(--primary); }
.radio-inner { width: 12px; height: 12px; background: #fff; border-radius: 50%; }
.security-tips { background: var(--bg-card); border-radius: var(--radius-md); padding: 20px; box-shadow: var(--shadow-xs); }
.tip-item { display: flex; align-items: center; gap: 10px; padding: 10px 0; font-size: 14px; color: var(--text-500); }
.tip-item:first-child { border-bottom: 1px solid var(--border-light); }
.tip-icon { font-size: 18px; }
.payment-footer { position: fixed; bottom: 0; left: 0; right: 0; background: rgba(255,255,255,0.94); backdrop-filter: blur(12px); padding: 16px; box-shadow: 0 -4px 20px rgba(92,79,69,0.08); border-radius: 20px 20px 0 0; }
.pay-button { width: 100%; padding: 16px; background: linear-gradient(135deg,var(--primary) 0%,var(--primary-light) 100%); color: #fff; border: none; border-radius: var(--radius-sm); font-size: 18px; font-weight: 700; cursor: pointer; transition: all 0.25s; box-shadow: 0 2px 12px rgba(255,123,92,0.3); }
.pay-button:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(255,123,92,0.4); }
.pay-button:disabled { opacity: 0.5; cursor: not-allowed; }
.success-modal-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.55); display: flex; align-items: center; justify-content: center; z-index: 2000; backdrop-filter: blur(4px); }
.success-modal { background: var(--bg-card); border-radius: var(--radius-lg); padding: 40px; text-align: center; max-width: 340px; width: 90%; box-shadow: var(--shadow-lg); }
.success-icon { width: 80px; height: 80px; background: linear-gradient(135deg,var(--accent-green) 0%,#73D13D 100%); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 40px; margin: 0 auto 20px; }
.success-modal h3 { font-size: 22px; color: var(--text-900); margin-bottom: 10px; }
.success-modal p { font-size: 14px; color: var(--text-500); margin-bottom: 5px; }
.countdown-text { margin-top: 16px !important; color: var(--text-400) !important; font-size: 13px !important; }

/* ===== B2B / 业务介绍页 ===== */
.icp-page { min-height: 100vh; background: var(--bg-page); }
.icp-header { position: sticky; top: 56px; z-index: 99; display: flex; align-items: center; padding: 14px 16px; background: rgba(255,255,255,0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border-light); }
.icp-title { font-size: 17px; font-weight: 700; margin-left: 8px; color: var(--text-900); }
.icp-content { max-width: 800px; margin: 0 auto; padding: 24px 20px 40px; background: var(--bg-card); min-height: 60vh; }
.icp-content h1 { font-size: 24px; color: var(--text-900); margin-bottom: 24px; padding-bottom: 14px; border-bottom: 2px solid var(--primary); }
.icp-content h2 { font-size: 18px; color: var(--text-900); margin: 28px 0 14px; padding-left: 12px; border-left: 3px solid var(--primary); }
.icp-content p { font-size: 15px; color: var(--text-500); line-height: 1.8; margin-bottom: 12px; }
.icp-list { margin: 12px 0 12px 2em; padding: 0; list-style: disc; }
.icp-list li { font-size: 15px; color: var(--text-500); line-height: 2; }
.contact-info { margin-top: 20px; }
.contact-item { display: flex; padding: 16px 0; border-bottom: 1px solid var(--border-light); }
.contact-label { font-size: 15px; color: var(--text-400); width: 100px; flex-shrink: 0; }
.contact-value { font-size: 15px; color: var(--text-900); }

/* ===== B2B徽章/商业街/商家入驻卡片 ===== */
.b2b-platform-badge { background: linear-gradient(135deg,var(--accent-blue) 0%,#A78BFA 100%); color: #fff; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; font-size: 14px; border-radius: var(--radius-md); margin: 12px 16px; box-shadow: 0 4px 16px rgba(91,141,239,0.25); }
.b2b-platform-badge .badge-icon { font-size: 20px; margin-right: 8px; }
.b2b-platform-badge .badge-text { flex: 1; font-weight: 700; }
.b2b-platform-badge .merchant-link { color: #fff; text-decoration: none; font-size: 13px; opacity: 0.9; font-weight: 500; }
.merchant-entry-section { padding: 20px; margin-top: 20px; }
.merchant-entry-card { background: linear-gradient(135deg,#f5f0ec 0%,#fdf7f3 100%); border-radius: var(--radius-lg); padding: 32px; color: var(--text-900); text-align: center; border: 1px solid var(--border-light); box-shadow: var(--shadow-sm); }
.merchant-entry-card .entry-icon { font-size: 48px; margin-bottom: 16px; }
.merchant-entry-card h3 { font-size: 22px; margin-bottom: 10px; }
.merchant-entry-card p { font-size: 14px; color: var(--text-500); margin-bottom: 20px; }
.entry-benefits { list-style: none; display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; margin-bottom: 24px; text-align: left; }
.entry-benefits li { font-size: 13px; padding: 10px 14px; background: rgba(255,255,255,0.6); border-radius: var(--radius-sm); color: var(--text-700); }
.entry-btn { display: inline-block; background: linear-gradient(135deg,var(--primary) 0%,var(--primary-light) 100%); color: #fff; padding: 14px 40px; border-radius: var(--radius-xl); text-decoration: none; font-weight: 700; font-size: 16px; transition: all 0.25s; box-shadow: 0 4px 16px rgba(255,123,92,0.3); }
.entry-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(255,123,92,0.4); }

/* ===== 业务介绍组件 ===== */
.b2b-badge { background: linear-gradient(135deg,var(--accent-blue) 0%,#A78BFA 100%); color: #fff; padding: 18px 24px; border-radius: var(--radius-md); display: flex; align-items: center; margin-bottom: 28px; box-shadow: 0 4px 20px rgba(91,141,239,0.25); }
.b2b-badge .badge-icon { font-size: 28px; margin-right: 14px; }
.b2b-badge .badge-text { font-size: 18px; font-weight: 700; }
.business-section { margin-bottom: 32px; }
.business-section h2 { font-size: 18px; color: var(--text-900); margin-bottom: 16px; padding-left: 14px; border-left: 4px solid var(--primary); }
.highlight-box { background: var(--bg-warm); border: 1px solid var(--border-light); border-radius: var(--radius-sm); padding: 24px; }
.highlight-box p { margin: 8px 0; line-height: 1.8; color: var(--text-700); }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(250px,1fr)); gap: 20px; margin-top: 20px; }
.feature-card { background: var(--bg-card); border-radius: var(--radius-md); padding: 28px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-light); text-align: center; transition: all 0.3s; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-icon { font-size: 48px; margin-bottom: 16px; }
.feature-card h3 { font-size: 16px; color: var(--text-900); margin-bottom: 10px; font-weight: 700; }
.feature-card p { font-size: 13px; color: var(--text-500); line-height: 1.6; }
.action-buttons { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.action-btn { display: flex; align-items: center; padding: 18px 24px; border: none; border-radius: var(--radius-md); font-size: 16px; cursor: pointer; transition: all 0.3s; text-align: left; color: #fff; font-weight: 600; }
.action-btn.primary { background: linear-gradient(135deg,var(--accent-blue) 0%,#A78BFA 100%); }
.action-btn.secondary { background: linear-gradient(135deg,var(--primary) 0%,var(--primary-light) 100%); }
.action-btn:hover { transform: translateX(6px); box-shadow: var(--shadow-md); }
.btn-icon { font-size: 28px; margin-right: 14px; }
.btn-text { flex: 1; font-weight: 600; }
.btn-arrow { font-size: 20px; }
.merchant-info-box { background: linear-gradient(135deg,var(--primary-pale) 0%,#ffebe3 100%); border: 2px solid var(--primary-light); border-radius: var(--radius-md); padding: 28px; margin-top: 20px; }
.info-title { font-size: 16px; font-weight: 700; color: var(--primary-dark); margin-bottom: 16px; }
.info-list { list-style: none; margin-bottom: 20px; }
.info-list li { padding: 8px 0; font-size: 14px; color: var(--text-700); }
.merchant-entry-btn { width: 100%; padding: 16px; background: linear-gradient(135deg,var(--primary) 0%,var(--primary-light) 100%); color: #fff; border: none; border-radius: var(--radius-sm); font-size: 16px; font-weight: 700; cursor: pointer; transition: all 0.25s; }
.merchant-entry-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(255,123,92,0.35); }
.pricing-table { display: grid; grid-template-columns: repeat(auto-fit,minmax(250px,1fr)); gap: 20px; margin-top: 20px; }
.pricing-item { background: var(--bg-card); border-radius: var(--radius-md); padding: 24px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-light); }
.pricing-item h4 { font-size: 16px; color: var(--primary); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--primary-pale); font-weight: 700; }
.pricing-item p { font-size: 14px; color: var(--text-500); margin: 8px 0; }
.tech-specs { background: var(--bg-warm); border-radius: var(--radius-sm); padding: 24px; }
.tech-specs p { margin: 12px 0; font-size: 14px; line-height: 1.8; color: var(--text-700); }
.quality-commitments { display: flex; flex-direction: column; gap: 16px; margin-top: 20px; }
.commitment-item { display: flex; align-items: flex-start; gap: 16px; background: var(--bg-card); padding: 22px; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid var(--border-light); }
.commitment-icon { font-size: 32px; }
.commitment-item h4 { font-size: 16px; color: var(--text-900); margin-bottom: 6px; font-weight: 700; }
.commitment-item p { font-size: 13px; color: var(--text-500); }
.exit-mechanism { background: #FFF8E1; border-left: 4px solid var(--accent-gold); padding: 22px; border-radius: var(--radius-sm); }
.numbered-list { margin-top: 16px; padding-left: 20px; }
.numbered-list li { margin: 10px 0; font-size: 14px; line-height: 1.8; color: var(--text-700); }
.compliance-notice { background: #E8F5E9; border: 1px solid #66BB6A; border-radius: var(--radius-sm); padding: 22px; margin-top: 32px; }
.compliance-notice p { font-size: 14px; color: #2E7D32; line-height: 1.8; }

/* ===== 商家入驻表单 ===== */
.merchant-entry-form { max-width: 800px; margin: 0 auto; }
.form-header { text-align: center; margin-bottom: 40px; }
.form-header h1 { font-size: 28px; color: var(--text-900); margin-bottom: 12px; font-weight: 700; }
.subtitle { color: var(--text-500); font-size: 15px; }
.benefits-section { margin-bottom: 40px; }
.benefits-section h2 { font-size: 20px; margin-bottom: 20px; color: var(--text-900); font-weight: 700; }
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 20px; }
.benefit-item { background: var(--bg-card); padding: 28px; border-radius: var(--radius-md); text-align: center; box-shadow: var(--shadow-sm); border: 1px solid var(--border-light); }
.benefit-icon { font-size: 40px; margin-bottom: 16px; }
.benefit-item h3 { font-size: 16px; color: var(--text-900); margin-bottom: 10px; font-weight: 700; }
.benefit-item p { font-size: 13px; color: var(--text-500); }
.form-section { background: var(--bg-card); padding: 32px; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid var(--border-light); margin-bottom: 28px; }
.form-section h2 { font-size: 20px; margin-bottom: 24px; color: var(--text-900); font-weight: 700; }
.entry-form .form-group { margin-bottom: 20px; }
.entry-form label { display: block; margin-bottom: 8px; font-size: 14px; color: var(--text-900); font-weight: 600; }
.required { color: var(--primary); margin-right: 4px; }
.entry-form input, .entry-form select, .entry-form textarea { width: 100%; padding: 12px 16px; border: 1px solid var(--border-normal); border-radius: var(--radius-sm); font-size: 14px; transition: all 0.3s; color: var(--text-700); }
.entry-form input:focus, .entry-form select:focus, .entry-form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(255,123,92,0.08); }
.form-tips { background: var(--bg-warm); border-left: 4px solid var(--primary); padding: 16px 20px; border-radius: var(--radius-sm); margin: 24px 0; }
.form-tips p { font-size: 14px; color: var(--primary); margin-bottom: 10px; }
.form-tips ul { list-style: none; padding-left: 0; }
.form-tips li { font-size: 13px; color: var(--text-500); margin: 5px 0; padding-left: 20px; position: relative; }
.form-tips li:before { content: "•"; color: var(--primary); position: absolute; left: 5px; }
.submit-btn { width: 100%; padding: 16px; background: linear-gradient(135deg,var(--primary) 0%,var(--primary-light) 100%); color: #fff; border: none; border-radius: var(--radius-sm); font-size: 16px; font-weight: 700; cursor: pointer; transition: all 0.25s; box-shadow: 0 4px 16px rgba(255,123,92,0.3); }
.submit-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 24px rgba(255,123,92,0.4); }
.contact-section { background: var(--bg-card); padding: 32px; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); border: 1px solid var(--border-light); }
.contact-section h2 { font-size: 20px; margin-bottom: 20px; color: var(--text-900); font-weight: 700; }
.contact-info p { font-size: 14px; color: var(--text-500); margin: 10px 0; }
.edi-badge { background: linear-gradient(135deg,var(--accent-blue) 0%,#A78BFA 100%); color: #fff; display: inline-block; padding: 6px 14px; border-radius: 12px; font-size: 12px; margin: 10px 0; font-weight: 600; }

/* ===== 响应式 ===== */
@media (min-width: 768px) {
  .profile-page, .address-page, .complaint-page { max-width: 800px; margin: 0 auto; }
  .address-list, .complaint-list { padding: 24px; }
  .complaint-tabs { top: 56px; }
  .forgot-password-content { max-width: 480px; margin: 0 auto; width: 100%; }
  .action-buttons { flex-direction: row; }
  .action-btn { flex: 1; }
  .feature-grid { grid-template-columns: repeat(3,1fr); }
  .benefits-grid { grid-template-columns: repeat(4,1fr); }
  .payment-methods { flex-direction: row; }
  .payment-option { flex: 1; }
}

/* ===== 商家入驻后续页面 ===== */
.license-wrapper { margin-top: 20px; background: var(--bg-card); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-md); border: 1px solid var(--border-light); }
.license-image { width: 100%; max-width: 600px; margin: 0 auto 20px; display: block; border-radius: var(--radius-md); box-shadow: var(--shadow-md); border: 3px solid var(--primary); }
.license-info { padding: 18px; background: var(--bg-warm); border-radius: var(--radius-md); }
.license-info p { margin: 8px 0; font-size: 14px; color: var(--text-700); }
.license-info strong { color: var(--primary); font-weight: 700; }

/* ===== EDI 页面通用 ===== */
.edi-home-page { min-height: 100vh; background: var(--bg-page); }
.b2b-platform-banner { background: linear-gradient(135deg,var(--accent-blue) 0%,#A78BFA 100%); color: #fff; padding: 44px 20px; text-align: center; }
.banner-content { max-width: 800px; margin: 0 auto; }
.platform-title { font-size: 32px; font-weight: 700; margin-bottom: 16px; }
.platform-desc { font-size: 16px; opacity: 0.95; margin-bottom: 20px; }
.platform-badges { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.badge-item { background: rgba(255,255,255,0.2); padding: 8px 18px; border-radius: 20px; font-size: 14px; font-weight: 500; }
.core-entrance-section { padding: 32px 20px; background: var(--bg-card); }
.entrance-container { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 20px; max-width: 800px; margin: 0 auto; }
.entrance-btn { display: flex; align-items: center; gap: 16px; padding: 28px 24px; border: none; border-radius: var(--radius-md); cursor: pointer; transition: transform 0.3s,box-shadow 0.3s; text-align: left; color: #fff; font-weight: 600; }
.entrance-btn:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.entrance-btn-primary { background: linear-gradient(135deg,var(--primary) 0%,var(--primary-light) 100%); }
.entrance-btn-secondary { background: linear-gradient(135deg,var(--accent-blue) 0%,#7DA3F2 100%); }
.entrance-icon { font-size: 40px; }
.entrance-text h3 { font-size: 20px; margin-bottom: 6px; }
.entrance-text p { font-size: 14px; opacity: 0.9; }
.entrance-arrow { font-size: 24px; margin-left: auto; }
.platform-intro-section, .process-section, .latest-info-section { padding: 40px 20px; max-width: 1200px; margin: 0 auto; }
.intro-content { background: var(--bg-card); padding: 32px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--border-light); }
.intro-content p { line-height: 1.8; color: var(--text-500); margin-bottom: 16px; }
.intro-features { display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 20px; margin-top: 32px; }
.feature-item { display: flex; gap: 16px; padding: 22px; background: var(--bg-warm); border-radius: var(--radius-md); }
.feature-text h4 { font-size: 16px; color: var(--text-900); margin-bottom: 6px; font-weight: 700; }
.feature-text p { font-size: 14px; color: var(--text-500); margin: 0; }
.process-flow { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; background: var(--bg-card); padding: 32px; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--border-light); }
.process-step { text-align: center; flex: 1; min-width: 120px; }
.step-number { width: 52px; height: 52px; background: linear-gradient(135deg,var(--accent-blue) 0%,#A78BFA 100%); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; margin: 0 auto 10px; }
.step-title { font-size: 16px; font-weight: 700; color: var(--text-900); margin-bottom: 6px; }
.step-desc { font-size: 13px; color: var(--text-500); }
.process-arrow { font-size: 24px; color: var(--accent-blue); }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit,minmax(250px,1fr)); gap: 20px; }
.contact-card { background: var(--bg-card); padding: 28px; border-radius: var(--radius-lg); text-align: center; box-shadow: var(--shadow-sm); border: 1px solid var(--border-light); }
.contact-icon { font-size: 40px; margin-bottom: 16px; }
.contact-card h3 { font-size: 18px; color: var(--text-900); margin-bottom: 10px; font-weight: 700; }
.contact-value { font-size: 16px; color: var(--accent-blue); font-weight: 700; margin-bottom: 6px; }
.contact-time { font-size: 13px; color: var(--text-400); }

/* ===== 响应式补丁 ===== */
@media (max-width: 768px) {
  .platform-title { font-size: 24px; }
  .platform-badges { flex-direction: column; gap: 10px; }
  .entrance-container { grid-template-columns: 1fr; }
  .process-flow { flex-direction: column; }
  .process-arrow { transform: rotate(90deg); }
  .intro-features, .tech-features, .capability-grid { grid-template-columns: 1fr; }
  .merchant-grid, .pricing-cards, .contact-cards { grid-template-columns: 1fr; }
}

/* ===== 空状态补 ===== */
.empty-state .empty-hint { font-size: 14px; color: var(--text-400); margin: 0; }

/* ===== 客服聊天页面 ===== */
.chat-page {
  display: flex;
  flex-direction: column;
  height: 100vh;
  max-height: 100vh;
  background: var(--bg-page);
  overflow: hidden;
}

.chat-header {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  box-shadow: 0 2px 12px rgba(255,123,92,0.25);
  z-index: 10;
}

.chat-header .back-btn {
  font-size: 24px;
  cursor: pointer;
  margin-right: 14px;
  opacity: 0.9;
  transition: opacity 0.2s;
}

.chat-header .back-btn:hover {
  opacity: 1;
}

.chat-header .header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chat-header .header-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  backdrop-filter: blur(8px);
  border: 2px solid rgba(255,255,255,0.3);
}

.chat-header .header-text {
  flex: 1;
}

.chat-header .header-title {
  font-size: 17px;
  font-weight: 700;
}

.chat-header .header-status {
  font-size: 12px;
  opacity: 0.85;
  display: flex;
  align-items: center;
  gap: 4px;
}

.chat-header .header-status::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #4ADE80;
  border-radius: 50%;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  background: var(--bg-page);
  scroll-behavior: smooth;
}

.chat-messages::-webkit-scrollbar {
  width: 6px;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: rgba(92,79,69,0.15);
  border-radius: 3px;
}

.empty-chat {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-400);
}

.empty-chat .empty-icon {
  font-size: 64px;
  margin-bottom: 16px;
  opacity: 0.5;
}

.empty-chat p {
  font-size: 15px;
}

.message-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 8px;
  max-width: 80%;
}

.message-self {
  align-self: flex-end;
  align-items: flex-end;
}

.message-other {
  align-self: flex-start;
  align-items: flex-start;
}

/*【FIX：消息间距紧凑】同角色连续消息紧凑靠拢，不同角色消息适当分隔 */
.message-self + .message-self,
.message-other + .message-other {
  margin-top: 4px;
  margin-bottom: 4px;
}

.message-self + .message-other,
.message-other + .message-self {
  margin-top: 8px;
  margin-bottom: 8px;
}

.message-bubble {
  padding: 12px 16px;
  border-radius: 18px;
  line-height: 1.5;
  word-break: break-word;
  box-shadow: var(--shadow-sm);
}

.message-self .message-bubble {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  border-bottom-right-radius: 6px;
}

.message-other .message-bubble {
  background: var(--bg-card);
  color: var(--text-700);
  border-bottom-left-radius: 6px;
  border: 1px solid var(--border-light);
}

.message-content {
  font-size: 15px;
  line-height: 1.5;
}

.message-order {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,0.2);
  font-size: 13px;
  opacity: 0.85;
}

.message-other .message-order {
  border-top-color: var(--border-light);
}

/*【FIX：时间戳紧贴气泡】消除空白，时间戳直接依附气泡下方 */
.message-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 3px;
  font-size: 11px;
  color: var(--text-400);
  line-height: 1;
}

.read-mark {
  color: var(--primary);
  font-weight: 600;
}

.chat-input-area {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-light);
  box-shadow: 0 -2px 12px rgba(92,79,69,0.06);
  border-radius: 20px 20px 0 0;
}

.chat-input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid var(--border-normal);
  border-radius: 24px;
  font-size: 15px;
  background: var(--bg-page);
  color: var(--text-700);
  transition: all 0.2s;
}

.chat-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255,123,92,0.08);
}

.chat-input::placeholder {
  color: var(--text-400);
}

.send-btn {
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 2px 10px rgba(255,123,92,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.send-btn:hover:not(:disabled) {
  transform: scale(1.05);
  box-shadow: 0 4px 16px rgba(255,123,92,0.4);
}

.send-btn:active:not(:disabled) {
  transform: scale(0.95);
}

.send-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ===== 客服会话列表页面 ===== */
.chat-list-page {
  min-height: 100vh;
  background: var(--bg-page);
  padding-bottom: 80px;
}

.chat-list-page .page-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  padding: 14px 16px;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(92,79,69,0.06);
  box-shadow: var(--shadow-xs);
}

.chat-list-page .back-btn {
  font-size: 22px;
  cursor: pointer;
  margin-right: 12px;
  color: var(--text-700);
}

.chat-list-page .page-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-900);
}

.chat-list-page .unread-badge {
  margin-left: auto;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 12px;
  font-weight: 600;
}

.chat-list-page .loading {
  text-align: center;
  padding: 48px;
  color: var(--text-400);
}

.chat-list-page .empty-state {
  text-align: center;
  padding: 64px 20px;
  color: var(--text-400);
}

.chat-list-page .empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.chat-list-page .session-item {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 18px;
  margin: 12px 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  cursor: pointer;
  display: flex;
  gap: 14px;
  align-items: center;
  transition: all 0.2s;
}

.chat-list-page .session-item:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.chat-list-page .session-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  flex-shrink: 0;
}

.chat-list-page .session-info {
  flex: 1;
  min-width: 0;
}

.chat-list-page .session-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.chat-list-page .session-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-900);
}

.chat-list-page .session-time {
  font-size: 11px;
  color: var(--text-400);
}

.chat-list-page .session-bottom {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-list-page .channel-tag {
  font-size: 11px;
  background: var(--primary-pale);
  color: var(--primary);
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 500;
}

.chat-list-page .session-preview {
  font-size: 13px;
  color: var(--text-500);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-list-page .session-unread {
  min-width: 20px;
  height: 20px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════
   全局悬浮客服按钮 + 弹窗样式
   复用项目 CSS 变量: --primary, --primary-dark, --bg-card,
   --border-light, --shadow-lg, --radius-lg
   ═══════════════════════════════════════════════════════════ */
.floating-chat-root {
  position: fixed;
  bottom: 100px;
  right: 20px;
  z-index: 9999;
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

/* 悬浮按钮 */
.floating-chat-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(255, 123, 92, 0.45);
  transition: transform .2s, box-shadow .2s;
  position: relative;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.floating-chat-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(255, 123, 92, 0.6);
}
.floating-chat-btn:active {
  transform: scale(0.92);
}

.floating-chat-icon {
  pointer-events: none;
}

/* 未读红点 */
.floating-chat-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 20px;
  height: 20px;
  background: var(--primary-dark, #E85D40);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border: 2px solid var(--bg-card, #fff);
  animation: floatBadgeIn .3s ease-out;
}
@keyframes floatBadgeIn {
  0%   { transform: scale(0); }
  60%  { transform: scale(1.3); }
  100% { transform: scale(1); }
}

/* 背景遮罩 */
.floating-chat-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(44, 36, 30, 0.35);
  z-index: 10000;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 20px;
}

/* 弹窗 */
.floating-chat-popup {
  width: 400px;
  height: 600px;
  max-height: calc(100vh - 40px);
  border-radius: var(--radius-lg, 20px);
  background: var(--bg-card, #fff);
  box-shadow: var(--shadow-lg, 0 12px 40px rgba(92,79,69,0.12));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: floatPopupSlideUp .3s ease-out;
}
@keyframes floatPopupSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* 移动端弹窗全屏 */
.floating-chat-popup.is-mobile {
  width: 100%;
  height: 100%;
  max-height: 100vh;
  border-radius: 0;
  margin: 0;
  position: fixed;
  inset: 0;
}

/* 弹窗头部 */
.floating-chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  flex-shrink: 0;
}
.floating-chat-header-title {
  font-size: 16px;
  font-weight: 600;
}
.floating-chat-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.floating-chat-header-status {
  font-size: 12px;
  opacity: .9;
}
.floating-chat-close {
  font-size: 20px;
  cursor: pointer;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background .2s;
}
.floating-chat-close:hover {
  background: rgba(255, 255, 255, .25);
}

/* iframe 聊天窗口 */
.floating-chat-iframe {
  flex: 1;
  border: none;
  width: 100%;
  height: 100%;
}
.floating-chat-loading {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-400, #B8A99E);
  font-size: 14px;
}

/* 移动端适配 */
@media (max-width: 768px) {
  .floating-chat-btn {
    width: 52px;
    height: 52px;
    font-size: 24px;
    bottom: 80px;
    right: 16px;
    border-radius: 50%;
  }
  .floating-chat-overlay {
    padding: 0;
  }
  .floating-chat-popup {
    width: 100%;
    height: 100%;
    max-height: none;
    border-radius: 0;
  }
  .floating-chat-header {
    padding: 14px 16px;
  }
}

/* ===== 商业街页面样式 ===== */
.business-street-page {
  min-height: 100vh;
  background: var(--bg-page);
  padding-bottom: 80px;
}

.business-street-page .page-container {
  padding: 0 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.business-street-page .page-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 32px 24px;
  margin: 0 -16px 20px;
  border-radius: 0 0 24px 24px;
  text-align: center;
  color: #fff;
}

.business-street-page .page-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 8px;
}

.business-street-page .page-subtitle {
  font-size: 14px;
  opacity: 0.9;
}

.business-street-page .search-bar {
  position: relative;
  margin-bottom: 16px;
}

.business-street-page .search-input {
  width: 100%;
  padding: 14px 44px 14px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-btn);
  font-size: 14px;
  background: var(--bg-card);
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s;
}

.business-street-page .search-input:focus {
  border-color: var(--primary);
}

.business-street-page .search-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: var(--text-placeholder);
}

.business-street-page .tab-switch {
  display: flex;
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 4px;
  margin-bottom: 16px;
  box-shadow: var(--shadow-card);
}

.business-street-page .tab-btn {
  flex: 1;
  padding: 12px;
  text-align: center;
  font-size: 14px;
  border: none;
  background: transparent;
  border-radius: calc(var(--radius-card) - 4px);
  cursor: pointer;
  color: var(--text-secondary);
  font-weight: 500;
  transition: all 0.2s;
}

.business-street-page .tab-btn.active {
  background: var(--primary);
  color: #fff;
}

.business-street-page .filter-bar {
  margin-bottom: 16px;
}

.business-street-page .filter-scroll {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}

.business-street-page .filter-chip {
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
  color: var(--text-secondary);
  transition: all 0.2s;
}

.business-street-page .filter-chip.active {
  background: rgba(22, 119, 255, 0.1);
  border-color: var(--primary);
  color: var(--primary);
}

.business-street-page .product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

@media (min-width: 768px) {
  .business-street-page .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .business-street-page .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.business-street-page .product-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: all 0.3s;
}

.business-street-page .product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.business-street-page .product-image-wrapper {
  position: relative;
  width: 100%;
  height: 120px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .business-street-page .product-image-wrapper {
    height: 150px;
  }
}

@media (min-width: 1024px) {
  .business-street-page .product-image-wrapper {
    height: 180px;
  }
}

.business-street-page .product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.business-street-page .hot-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: linear-gradient(135deg, #FF6B6B, #FF4757);
  color: #fff;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 12px;
  font-weight: 600;
}

.business-street-page .product-info {
  padding: 14px;
}

.business-street-page .product-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.business-street-page .product-merchant {
  font-size: 12px;
  color: var(--text-placeholder);
  margin-bottom: 8px;
}

.business-street-page .product-features {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.business-street-page .feature-tag {
  font-size: 10px;
  background: rgba(22, 119, 255, 0.08);
  color: var(--primary);
  padding: 3px 8px;
  border-radius: 8px;
}

.business-street-page .product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.business-street-page .product-price {
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.business-street-page .price-symbol {
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
}

.business-street-page .price-value {
  font-size: 18px;
  color: var(--primary);
  font-weight: 700;
}

.business-street-page .price-unit {
  font-size: 11px;
  color: var(--text-secondary);
}

.business-street-page .add-cart-btn {
  padding: 6px 14px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.business-street-page .add-cart-btn:hover {
  background: var(--primary-dark);
}

.business-street-page .merchant-list {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 16px;
}

@media (min-width: 768px) {
  .business-street-page .merchant-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.business-street-page .merchant-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.business-street-page .merchant-cover {
  position: relative;
  height: 140px;
}

.business-street-page .cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.business-street-page .cover-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.business-street-page .merchant-name {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.business-street-page .merchant-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
}

.business-street-page .merchant-info {
  padding: 16px;
}

.business-street-page .merchant-stats {
  display: flex;
  justify-content: space-around;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 12px;
}

.business-street-page .stat-item {
  text-align: center;
}

.business-street-page .stat-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary);
  display: block;
}

.business-street-page .stat-label {
  font-size: 12px;
  color: var(--text-secondary);
}

.business-street-page .merchant-certifications {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.business-street-page .cert-tag {
  font-size: 11px;
  background: rgba(82, 201, 192, 0.1);
  color: #3A9D96;
  padding: 4px 10px;
  border-radius: 10px;
}

.business-street-page .cart-float {
  position: fixed;
  bottom: 80px;
  right: 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  padding: 12px 18px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(22, 119, 255, 0.3);
  z-index: 100;
  transition: transform 0.2s;
}

.business-street-page .cart-float:hover {
  transform: scale(1.05);
}

.business-street-page .cart-icon-wrapper {
  position: relative;
}

.business-street-page .cart-icon {
  font-size: 20px;
}

.business-street-page .cart-badge {
  position: absolute;
  top: -8px;
  right: -10px;
  min-width: 18px;
  height: 18px;
  background: #FF4757;
  color: #fff;
  font-size: 11px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.business-street-page .cart-text {
  font-size: 14px;
  font-weight: 600;
}

.business-street-page .cart-modal-mask,
.business-street-page .detail-modal-mask {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 1000;
}

.business-street-page .cart-modal {
  width: 100%;
  max-width: 500px;
  background: var(--bg-card);
  border-radius: 20px 20px 0 0;
  max-height: 70vh;
  display: flex;
  flex-direction: column;
  animation: slideUp 0.3s ease;
}

.business-street-page .detail-modal {
  width: 100%;
  max-width: 500px;
  background: var(--bg-card);
  border-radius: 20px 20px 0 0;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.business-street-page .modal-header,
.business-street-page .detail-close-btn {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
}

.business-street-page .modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.business-street-page .modal-header h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.business-street-page .close-btn,
.business-street-page .detail-close-btn {
  font-size: 20px;
  color: var(--text-placeholder);
  cursor: pointer;
  text-align: right;
}

.business-street-page .modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
}

.business-street-page .empty-cart {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-placeholder);
}

.business-street-page .empty-cart .empty-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.business-street-page .cart-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.business-street-page .cart-item {
  display: flex;
  gap: 14px;
  padding: 12px;
  background: var(--bg-page);
  border-radius: var(--radius-card);
}

.business-street-page .item-image {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
}

.business-street-page .item-info {
  flex: 1;
  min-width: 0;
}

.business-street-page .item-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.business-street-page .item-price {
  font-size: 13px;
  color: var(--primary);
  font-weight: 500;
}

.business-street-page .item-quantity {
  display: flex;
  align-items: center;
  gap: 12px;
}

.business-street-page .qty-btn {
  width: 28px;
  height: 28px;
  border: 1px solid var(--border-light);
  border-radius: 50%;
  background: var(--bg-card);
  cursor: pointer;
  font-size: 16px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.business-street-page .qty-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  min-width: 24px;
  text-align: center;
}

.business-street-page .modal-footer {
  padding: 16px 20px;
  border-top: 1px solid var(--border-light);
  background: var(--bg-card);
}

.business-street-page .total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.business-street-page .total-label {
  font-size: 14px;
  color: var(--text-secondary);
}

.business-street-page .total-value {
  font-size: 22px;
  color: var(--primary);
  font-weight: 700;
}

.business-street-page .checkout-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border: none;
  border-radius: var(--radius-btn);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(22, 119, 255, 0.3);
}

.business-street-page .detail-content {
  flex: 1;
  overflow-y: auto;
}

.business-street-page .detail-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.business-street-page .detail-info {
  padding: 20px;
}

.business-street-page .detail-hot-tag {
  display: inline-block;
  background: linear-gradient(135deg, #FF6B6B, #FF4757);
  color: #fff;
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 12px;
  margin-bottom: 10px;
}

.business-street-page .detail-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.business-street-page .detail-merchant {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.business-street-page .detail-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
}

.business-street-page .detail-price .price-symbol {
  font-size: 14px;
}

.business-street-page .detail-price .price-value {
  font-size: 28px;
}

.business-street-page .original-price {
  font-size: 14px;
  color: var(--text-placeholder);
  text-decoration: line-through;
}

.business-street-page .detail-sales {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.business-street-page .detail-features {
  margin-bottom: 20px;
}

.business-street-page .detail-features h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.business-street-page .features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.business-street-page .feature-item {
  font-size: 13px;
  color: var(--text-secondary);
  padding: 6px 12px;
  background: var(--bg-page);
  border-radius: 8px;
}

.business-street-page .detail-add-btn {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: #fff;
  border: none;
  border-radius: var(--radius-btn);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(22, 119, 255, 0.3);
}

.business-street-page .empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-placeholder);
}

.business-street-page .empty-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.business-street-page .empty-text {
  font-size: 16px;
  margin-bottom: 6px;
}

.business-street-page .empty-hint {
  font-size: 13px;
}

/* ===== 使用说明书页面样式 ===== */
.guide-page {
  min-height: 100vh;
  background: var(--bg-page);
  padding-bottom: 80px;
}

.guide-tabs {
  display: flex;
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 4px;
  margin: 16px;
  box-shadow: var(--shadow-card);
}

.guide-tabs .tab-btn {
  flex: 1;
  padding: 12px;
  text-align: center;
  font-size: 14px;
  border: none;
  background: transparent;
  border-radius: calc(var(--radius-card) - 4px);
  cursor: pointer;
  color: var(--text-secondary);
  font-weight: 500;
  transition: all 0.2s;
}

.guide-tabs .tab-btn.active {
  background: var(--primary);
  color: #fff;
}

.guide-content {
  padding: 16px;
}

.guide-section .guide-intro {
  text-align: center;
  margin-bottom: 24px;
}

.guide-section .guide-intro h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.guide-section .guide-intro p {
  font-size: 14px;
  color: var(--text-secondary);
}

.guide-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 20px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
}

.step-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.step-number {
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
}

.step-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.step-image {
  width: 100%;
  margin-bottom: 16px;
  border-radius: var(--radius-card);
  overflow: hidden;
}

.step-image img {
  width: 100%;
  height: auto;
  display: block;
}

.step-content .step-description {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.step-tips {
  background: rgba(22, 119, 255, 0.08);
  border-radius: var(--radius-card);
  padding: 16px;
}

.step-tips h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 10px;
}

.step-tips ul {
  list-style: none;
  padding: 0;
}

.step-tips li {
  font-size: 13px;
  color: var(--text-secondary);
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
}

.step-tips li::before {
  content: "•";
  color: var(--primary);
  position: absolute;
  left: 0;
}

.step-arrow {
  text-align: center;
  padding: 8px;
  font-size: 24px;
  color: var(--primary);
}

.faq-section .faq-search {
  margin-bottom: 16px;
}

.faq-section .search-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-btn);
  font-size: 14px;
  background: var(--bg-card);
  color: var(--text-primary);
  outline: none;
  transition: border-color 0.2s;
}

.faq-section .search-input:focus {
  border-color: var(--primary);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 16px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: all 0.2s;
}

.faq-item:hover {
  border-color: var(--primary);
}

.faq-item.expanded {
  border-color: var(--primary);
}

.faq-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.faq-category {
  font-size: 12px;
  background: rgba(22, 119, 255, 0.08);
  color: var(--primary);
  padding: 4px 10px;
  border-radius: 12px;
  font-weight: 500;
}

.faq-question {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
}

.faq-toggle {
  font-size: 18px;
  color: var(--primary);
  font-weight: 600;
}

.faq-answer {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-light);
}

.faq-answer p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.faq-empty {
  text-align: center;
  padding: 40px 20px;
  color: var(--text-placeholder);
}

.faq-empty .empty-icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.features-section .features-intro {
  text-align: center;
  margin-bottom: 24px;
}

.features-section .features-intro h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.features-section .features-intro p {
  font-size: 14px;
  color: var(--text-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 20px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
  text-align: center;
  transition: all 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.feature-image {
  width: 100%;
  height: 120px;
  margin-bottom: 12px;
  border-radius: var(--radius-card);
  overflow: hidden;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-content .feature-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.feature-content .feature-description {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}