﻿/* ============================================================
   三伢子俱乐部 · 全站共享样式
   和田玉 | 新疆特产 | 旅游综合
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --jade-primary: #18A87C;
  --jade-dark: #128A66;
  --jade-light: #f2fbf7;
  --gold: #D8B262;
  --gold-light: #fdf5e0;
  --warm-red: #EF4E5A;
  --bg-gray: #fff6d8;          /* 页面底色：淡黄（原 #fafafa） */
  --bg-cream: #f8eed6;         /* 淡黄外层底色 */
  --text-main: #222;
  --text-sub: #888;
  --radius: 12px;
  --sky-1: #7FD3C2;
  --sky-2: #2FA98A;
}

body {
  font-family: 'Noto Sans SC', -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  background: #f8eed6;
  color: var(--text-main);
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.phone-frame {
  background: var(--bg-gray);
  min-height: 100vh;
  max-width: 500px;
  margin: 0 auto;
  padding-bottom: calc(60px + env(safe-area-inset-bottom));
  position: relative;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.05);
}

/* ===== PC端适配：手机模拟器风格 ===== */
@media screen and (min-width: 480px) {
  body {
    background: linear-gradient(135deg, #fbf0d2 0%, #fff9e8 50%, #fbf0d2 100%);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 24px 16px;
  }
  .phone-frame {
    max-width: 500px;
    width: 500px;
    min-height: calc(100vh - 48px);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(14, 124, 90, 0.15), 0 2px 12px rgba(0,0,0,0.08);
    border: 1px solid rgba(255,255,255,0.6);
  }
  .tabbar {
    border-radius: 0 0 24px 24px;
    overflow: hidden;
  }
  .store-modal {
    border-radius: 24px 24px 0 0;
  }
}

/* ===== 超宽屏：左右品牌信息 ===== */
@media screen and (min-width: 900px) {
  body {
    padding: 32px 16px;
    background: linear-gradient(135deg, #f6e7c2 0%, #fff8e4 50%, #f6e7c2 100%);
  }
  .phone-frame::before {
    content: '三伢子俱乐部';
    position: fixed;
    left: calc(50% - 364px);
    top: 50%;
    transform: translateY(-50%);
    font-size: 28px;
    font-weight: 800;
    color: var(--jade-primary);
    opacity: 0.15;
    writing-mode: vertical-rl;
    letter-spacing: 8px;
    white-space: nowrap;
  }
  .phone-frame::after {
    content: '和田玉 · 新疆特产 · 旅游综合';
    position: fixed;
    right: calc(50% - 364px);
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    font-weight: 600;
    color: var(--gold);
    opacity: 0.12;
    writing-mode: vertical-rl;
    letter-spacing: 6px;
    white-space: nowrap;
  }
}

/* ===== 安全区适配（刘海屏/底部手势条） ===== */

/* ===== 顶部导航（首页） ===== */
.nav-header {
  background:
    /* 宣纸纹理 */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100' height='100' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E"),
    /* 玉绿底渐变 */
    linear-gradient(160deg, #1e7a5a 0%, #2a9d72 40%, #3ab882 70%, #1a7a5a 100%);
  color: #fff;
  padding: calc(14px + env(safe-area-inset-top)) 18px 18px;
  position: relative;
  overflow: hidden;
}
/* 顶部金线装饰光带 */
.nav-header::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #e8c97a, #f0d890, #e8c97a);
}
/* 右侧玉色光晕 */
.nav-header::after {
  content: '';
  position: absolute;
  bottom: -20px; right: -30px;
  width: 180px; height: 100px;
  background: radial-gradient(ellipse, rgba(255,255,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}

/* 品牌抬头区 */
.brand-hero {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
.brand-text { flex: 1; text-align: left; }
.brand-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 4px;
  color: #e8f4ef;
  line-height: 1.2;
  text-shadow: 0 1px 3px rgba(0,0,0,.2);
  font-family: "STXingkai", "KaiTi", "STKaiti", "楷体", "楷体_GB2312", "华文行楷", "Xingkai SC", cursive;
  background: linear-gradient(180deg, #ffffff, #ffe9a8 55%, #f0b84a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,.35));
}
.brand-sub {
  font-size: 14px;
  color: #ffd76a;
  margin-top: 5px;
  letter-spacing: 6px;
  text-align: center;
  font-family: "STXingkai", "KaiTi", "STKaiti", "楷体", "楷体_GB2312", "华文行楷", "Xingkai SC", cursive;
  font-weight: 700;
  background: linear-gradient(90deg, #ffe9a8, #ffc94d 50%, #f5a623);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,.45));
}
.brand-icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  background: rgba(255,255,255,.92);
  box-shadow: 0 3px 10px rgba(0,0,0,.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 0;
}
.brand-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 4px;
  box-sizing: border-box;
}

/* 门店切换行 */
.store-switcher {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
  position: relative;
  z-index: 1;
}
.store-info {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.store-avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  border: 1.5px solid rgba(255,255,255,0.4);
}
.store-name {
  font-size: 13px;
  font-weight: 500;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(255,255,255,0.92);
}
.chain-badge {
  background: rgba(255,255,255,0.2);
  color: #e8c97a;
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 8px;
  border: 1px solid rgba(232,201,122,0.4);
}
.store-switch-btn {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  font-size: 11px;
  padding: 4px 10px;
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: background .2s;
}
.store-switch-btn:active { background: rgba(255,255,255,0.28); }

/* 搜索栏（底色匹配，加高加宽） */
.search-bar {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.96);
  border-radius: 22px;
  padding: 9px 14px;
  gap: 6px;
  box-shadow: 0 2px 12px rgba(0,0,0,.12);
  position: relative;
  z-index: 1;
}
.search-bar svg { flex-shrink: 0; }
.search-bar input {
  border: none; outline: none; background: transparent;
  flex: 1; font-size: 13.5px; color: #333;
}
.search-bar input::placeholder { color: #aaa; }
.search-btn {
  background: #1a7a5a;
  color: #fff;
  border: none; border-radius: 14px;
  padding: 5px 13px; font-size: 12px; font-weight: 600;
  cursor: pointer; flex-shrink: 0;
  transition: background .2s;
}
.search-btn:active { background: #155f42; }

.store-switcher {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.store-info {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.store-avatar {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.store-name {
  font-size: 15px;
  font-weight: 600;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.store-switch-btn {
  background: rgba(255,255,255,0.2);
  border: none;
  color: #fff;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 3px;
  cursor: pointer;
}
.chain-badge {
  background: var(--gold);
  color: #fff;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}

.search-bar {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.92);
  border-radius: 22px;
  padding: 7px 14px;
  gap: 6px;
}
.search-bar svg { flex-shrink: 0; }
.search-bar input {
  border: none;
  outline: none;
  background: transparent;
  flex: 1;
  font-size: 13px;
  color: #333;
}
.search-bar input::placeholder { color: #aaa; }
.search-btn {
  background: var(--jade-primary);
  color: #fff;
  border: none;
  font-size: 12px;
  padding: 4px 14px;
  border-radius: 16px;
  cursor: pointer;
}

/* ===== 子页面导航栏 ===== */
.sub-header {
  background: var(--jade-primary);
  color: #fff;
  padding: calc(10px + env(safe-area-inset-top)) 14px 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
}
.sub-header .back-btn {
  background: rgba(255,255,255,0.18);
  border: none;
  color: #fff;
  width: 28px; height: 28px;
  border-radius: 50%;
  font-size: 15px;
  cursor: pointer;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  line-height: 1;
  text-decoration: none;
}
.sub-header .back-btn:active { background: rgba(255,255,255,0.35); }
.sub-header .sub-title {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  margin-right: 28px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sub-header .sub-right {
  position: absolute;
  right: 14px;
  font-size: 12px;
  opacity: 0.9;
  cursor: pointer;
  background: none;
  border: none;
  color: #fff;
}

/* ===== 轮播图 ===== */
.carousel-wrap {
  position: relative;
  margin: 10px 16px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}
.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}
.carousel-slide {
  min-width: 100%;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.carousel-slide .slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.carousel-slide .slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.1) 100%);
}
.carousel-slide .slide-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 0 24px;
  text-align: left;
}
.carousel-slide .slide-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.carousel-slide .slide-sub {
  font-size: 12px;
  opacity: 0.92;
  margin-bottom: 10px;
}
.carousel-slide .slide-tag {
  display: inline-block;
  background: rgba(255,255,255,0.95);
  color: var(--jade-primary);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 12px;
}
.carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 3;
}
.carousel-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  transition: all 0.3s;
}
.carousel-dot.active {
  background: #fff;
  width: 16px;
  border-radius: 3px;
}

/* ===== 快捷功能图标 ===== */
.quick-icons {
  display: flex;
  justify-content: space-around;
  padding: 14px 8px;
  background: #fff;
  margin: 0 16px;
  border-radius: var(--radius);
}
.quick-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  text-decoration: none;
}
.quick-icon-circle {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.quick-label {
  font-size: 11px;
  color: #555;
}
.qi-1 { background: #fef3e7; }
.qi-2 { background: #e8f5ef; }
.qi-3 { background: #fde8ec; }
.qi-4 { background: #eef0fb; }

/* ===== 商品分类 ===== */
.section {
  margin: 12px 16px;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px 8px;
}
.section-title {
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}
.section-title .bar {
  width: 3px;
  height: 16px;
  background: var(--jade-primary);
  border-radius: 2px;
}
.section-more {
  font-size: 12px;
  color: var(--text-sub);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 2px;
  text-decoration: none;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 4px 8px 12px;
  gap: 8px;
}
.cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: transform 0.15s;
  text-decoration: none;
}
.cat-item:active { transform: scale(0.93); }
.cat-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}
.cat-name {
  font-size: 11px;
  color: #555;
  text-align: center;
}

/* ===== 促销活动区 ===== */
.promo-section {
  margin: 12px 16px;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, #2bb389 0%, #12a072 100%);
  padding: 14px;
}
.promo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.promo-title {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
}
.promo-title .fire { font-size: 18px; }
.countdown {
  display: flex;
  align-items: center;
  gap: 3px;
}
.countdown-box {
  background: var(--warm-red);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  min-width: 22px;
  text-align: center;
}
.countdown-sep {
  color: #fff;
  font-weight: 700;
  font-size: 11px;
}
.promo-products {
  overflow: hidden;
  padding-bottom: 2px;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10px, #000 calc(100% - 10px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 10px, #000 calc(100% - 10px), transparent 100%);
}
/* 秒杀自动滚动轨道：内容不足时由 JS 复制铺满，实现无缝播放 */
.promo-track {
  display: flex;
  width: max-content;
  animation: promoMarquee linear infinite;
  animation-duration: 20s;
  will-change: transform;
}
.promo-track.paused { animation-play-state: paused; }
@keyframes promoMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(var(--promo-shift, -600px)); }
}
.promo-card {
  position: relative;
  width: 96px;
  min-width: 96px;
  margin-right: 10px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
  text-decoration: none;
  display: block;
}
.promo-card .pc-tag {
  position: absolute;
  left: 4px;
  top: 4px;
  z-index: 2;
  font-size: 9px;
  line-height: 15px;
  padding: 0 5px;
  border-radius: 7px;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  white-space: nowrap;
}
.promo-card .pc-img {
  width: 96px; height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}
.promo-card .pc-info {
  padding: 6px 8px;
}
.promo-card .pc-name {
  font-size: 11px;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.promo-card .pc-price {
  font-size: 14px;
  color: var(--warm-red);
  font-weight: 700;
  margin-top: 2px;
}
.promo-card .pc-orig {
  font-size: 10px;
  color: #bbb;
  text-decoration: line-through;
}

/* ===== 优惠券 ===== */
.coupon-row {
  display: flex;
  gap: 8px;
  padding: 0 16px 12px;
  overflow-x: auto;
  scrollbar-width: none;
}
.coupon-row::-webkit-scrollbar { display: none; }
.coupon-card {
  min-width: 150px;
  background: linear-gradient(135deg, var(--warm-red), #f4790b);
  border-radius: 8px;
  padding: 10px 14px;
  color: #fff;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.coupon-card::after {
  content: '';
  position: absolute;
  right: -10px; top: 50%;
  transform: translateY(-50%);
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--bg-gray);
}
.coupon-card::before {
  content: '';
  position: absolute;
  left: -10px; top: 50%;
  transform: translateY(-50%);
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--bg-gray);
}
.coupon-amount {
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
}
.coupon-amount span { font-size: 13px; }
.coupon-desc {
  font-size: 11px;
  margin-top: 4px;
  opacity: 0.9;
}
.coupon-btn {
  font-size: 10px;
  background: rgba(255,255,255,0.25);
  padding: 2px 8px;
  border-radius: 8px;
  display: inline-block;
  margin-top: 5px;
}
.coupon-card.gold {
  background: linear-gradient(135deg, var(--gold), #e0b54a);
}

/* ===== 热门商品 Tab ===== */
.hot-tabs {
  display: flex;
  padding: 0 14px;
  gap: 18px;
  border-bottom: 1px solid #f0f0f0;
}
.hot-tab {
  font-size: 14px;
  color: #888;
  padding: 8px 0;
  position: relative;
  cursor: pointer;
  font-weight: 500;
  white-space: nowrap;
}
.hot-tab.active {
  color: var(--jade-primary);
  font-weight: 700;
}
.hot-tab.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: var(--jade-primary);
  border-radius: 2px;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 12px 14px;
}
.product-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s;
  text-decoration: none;
  display: block;
  color: inherit;
}
.product-card:active { transform: scale(0.97); }
.pc-cover {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  position: relative;
}
.pc-tag {
  position: absolute;
  top: 6px; left: 6px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 4px;
}
.pc-tag.hot { background: var(--warm-red); }
.pc-tag.new { background: var(--jade-primary); }
.pc-body {
  padding: 8px 10px 10px;
}
.pc-title {
  font-size: 13px;
  color: #333;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-height: 34px;
}
.pc-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
}
.pc-price-group { display: flex; flex-direction: column; }
.pc-price {
  font-size: 16px;
  color: var(--warm-red);
  font-weight: 700;
}
.pc-price span { font-size: 11px; }
.pc-sold {
  font-size: 10px;
  color: #bbb;
}
.pc-cart {
  width: 26px; height: 26px;
  background: var(--jade-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
}

/* ===== 旅游专区 ===== */
.travel-banner {
  margin: 12px 16px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  height: 120px;
  background: linear-gradient(135deg, #24b084, #10916a);
  display: flex;
  align-items: center;
  padding: 0 20px;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
}
.travel-banner .tb-content { color: #fff; z-index: 2; position: relative; }
.travel-banner .tb-title { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.travel-banner .tb-sub { font-size: 12px; opacity: 0.9; }
.travel-banner .tb-icon {
  position: absolute;
  right: 16px;
  font-size: 60px;
  opacity: 0.3;
}

.travel-list {
  display: flex;
  gap: 10px;
  padding: 0 16px 12px;
  overflow-x: auto;
  scrollbar-width: none;
}
.travel-list::-webkit-scrollbar { display: none; }
.travel-card {
  min-width: 200px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}
.travel-card .tc-img {
  width: 200px; height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}
.travel-card .tc-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity 0.3s;
}
.travel-card .tc-img .tc-emoji {
  position: relative; z-index: 2;
  background: rgba(255,255,255,0.85);
  border-radius: 50%;
  font-size: 22px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.travel-card .tc-body { padding: 8px 10px; }
.travel-card .tc-title {
  font-size: 13px;
  font-weight: 600;
  color: #333;
}
.travel-card .tc-tags { display: flex; gap: 4px; margin-top: 4px; }
.travel-card .tc-tag {
  font-size: 9px;
  padding: 1px 5px;
  border-radius: 3px;
  background: var(--jade-light);
  color: var(--jade-primary);
}
.tc-counterpart-label {
  font-size: 10px;
  color: #e07a4e;
  font-weight: 600;
  margin-top: 5px;
  letter-spacing: 0.5px;
}
.tc-counterpart {
  font-size: 10px;
  color: #555;
  line-height: 1.6;
  margin-top: 2px;
  background: linear-gradient(90deg, rgba(74,163,201,0.10), rgba(224,122,78,0.10));
  border-radius: 6px;
  padding: 3px 6px;
}
.tc-cp {
  display: inline-block;
  margin-right: 4px;
  color: #c2562a;
  white-space: nowrap;
}
}
.travel-card .tc-price {
  font-size: 15px;
  color: var(--warm-red);
  font-weight: 700;
  margin-top: 5px;
}
.travel-card .tc-price span { font-size: 11px; }

/* ===== 连锁管理入口 ===== */
.chain-section {
  margin: 12px;
  background: linear-gradient(135deg, #4a90c4, #2f6fa3);
  border-radius: var(--radius);
  padding: 16px;
  color: #fff;
}
.chain-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.chain-desc {
  font-size: 12px;
  opacity: 0.8;
  margin-bottom: 14px;
}
.chain-stats {
  display: flex;
  gap: 0;
  margin-bottom: 14px;
}
.chain-stat {
  flex: 1;
  text-align: center;
}
.chain-stat .cs-num {
  font-size: 22px;
  font-weight: 800;
  color: var(--gold);
}
.chain-stat .cs-label {
  font-size: 11px;
  opacity: 0.7;
  margin-top: 2px;
}
.chain-stat + .chain-stat {
  border-left: 1px solid rgba(255,255,255,0.15);
}
.chain-actions {
  display: flex;
  gap: 8px;
}
.chain-btn {
  flex: 1;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 12px;
  padding: 8px;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
}
.chain-btn.primary {
  background: var(--gold);
  border-color: var(--gold);
  font-weight: 600;
}

/* ===== 底部Tab栏 ===== */
.tabbar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 500px;
  background: #fff;
  display: flex;
  border-top: 1px solid #eee;
  z-index: 100;
  padding-bottom: env(safe-area-inset-bottom);
}
.tab-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 0;
  cursor: pointer;
  position: relative;
  text-decoration: none;
}
.tab-icon { font-size: 22px; }
.tab-label { font-size: 10px; color: #888; }
.tab-item.active .tab-label { color: var(--jade-primary); font-weight: 600; }
.tab-item.active .tab-icon { filter: hue-rotate(0deg) saturate(2); }
.tab-cart-badge {
  position: absolute;
  top: 2px; right: 50%;
  transform: translateX(14px);
  background: var(--warm-red);
  color: #fff;
  font-size: 9px;
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* ===== 店铺切换弹窗 ===== */
.store-modal-mask {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 200;
}
.store-modal-mask.show { display: block; }
.store-modal {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 500px;
  background: #fff;
  border-radius: 20px 20px 0 0;
  z-index: 201;
  max-height: 70vh;
  overflow-y: auto;
  animation: slideUp 0.3s ease;
}
@keyframes slideUp {
  from { transform: translate(-50%, 100%); }
  to { transform: translate(-50%, 0); }
}
.store-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid #f0f0f0;
}
.store-modal-title { font-size: 16px; font-weight: 700; }
.store-modal-close { font-size: 20px; color: #999; cursor: pointer; }
.store-list { padding: 8px 0; }
.store-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  cursor: pointer;
  transition: background 0.15s;
}
.store-row:active { background: #f9f9f9; }
.store-row.active { background: var(--jade-light); }
.store-row .sr-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: var(--jade-light);
  flex-shrink: 0;
}
.store-row .sr-info { flex: 1; }
.store-row .sr-name { font-size: 14px; font-weight: 600; color: #333; }
.store-row .sr-addr { font-size: 11px; color: #999; margin-top: 2px; }
.store-row .sr-check {
  color: var(--jade-primary);
  font-size: 18px;
  opacity: 0;
}
.store-row.active .sr-check { opacity: 1; }
.store-modal-footer {
  padding: 14px 18px;
  border-top: 1px solid #f0f0f0;
  text-align: center;
}
.store-manage-btn {
  background: var(--jade-primary);
  color: #fff;
  border: none;
  font-size: 14px;
  padding: 10px 0;
  width: 100%;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}

/* ===== 门店开通 / 招募状态 ===== */
.store-row.recruiting { opacity: 0.92; }
.store-row.recruiting .sr-avatar { filter: grayscale(0.6); }
.store-row.recruiting .sr-name { color: #666; }
.store-row.recruiting .sr-addr { color: #b58a3d; }
.sr-open-tag {
  display: inline-block;
  vertical-align: 2px;
  margin-left: 6px;
  font-size: 9px;
  font-weight: 600;
  color: var(--jade-primary);
  background: var(--jade-light);
  border: 1px solid rgba(24, 168, 124, 0.35);
  border-radius: 4px;
  padding: 1px 5px;
}
.sr-recruit-badge {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  color: #a8742a;
  background: linear-gradient(135deg, #fdf3e0, #f7e3bd);
  border: 1px solid rgba(216, 178, 98, 0.55);
  border-radius: 6px;
  padding: 4px 8px;
  white-space: nowrap;
}

/* ===== 招募合作弹窗 ===== */
.recruit-modal {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 500px;
  background: #fff;
  border-radius: 20px 20px 0 0;
  z-index: 202;
  animation: slideUp 0.3s ease;
  overflow: hidden;
}
.recruit-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid #f0f0f0;
  background: linear-gradient(135deg, #f2fbf7, #fdf5e0);
}
.recruit-modal-title { font-size: 16px; font-weight: 700; color: #1a5c44; }
.recruit-modal-body { padding: 18px 18px 6px; }
.recruit-modal-body .rc-store {
  font-size: 18px;
  font-weight: 800;
  color: #1a5c44;
  text-align: center;
  margin-bottom: 10px;
}
.recruit-modal-body .rc-desc {
  font-size: 13px;
  color: #555;
  text-align: center;
  margin-bottom: 14px;
}
.recruit-modal-body .rc-points { margin: 0 0 14px; }
.recruit-modal-body .rc-point {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #333;
  background: #fafafa;
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 8px;
}
.recruit-modal-body .rc-point span { font-size: 17px; }
.recruit-modal-body .rc-contact {
  font-size: 12px;
  color: #888;
  text-align: center;
  line-height: 1.7;
  background: var(--gold-light);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 8px;
}
.recruit-modal-footer { padding: 12px 18px 18px; }
.recruit-modal-btn {
  width: 100%;
  border: none;
  background: linear-gradient(135deg, var(--jade-primary), var(--jade-dark));
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  border-radius: 10px;
  padding: 12px 0;
  cursor: pointer;
}

/* ============================================================
   以下为子页面新增组件样式
   ============================================================ */

/* ===== 通用 ===== */
.fade-in { animation: fadeIn 0.4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.page-body { padding-bottom: 20px; }
a { color: inherit; }
button { font-family: inherit; }

/* 页面顶部主色块横幅 */
.page-hero {
  background: linear-gradient(135deg, var(--jade-primary), var(--jade-dark));
  color: #fff;
  padding: 18px 20px 22px;
  position: relative;
  overflow: hidden;
}
.page-hero .hero-title { font-size: 20px; font-weight: 800; }
.page-hero .hero-sub { font-size: 12px; opacity: 0.85; margin-top: 4px; }
.page-hero .hero-emoji {
  position: absolute; right: 16px; top: 50%;
  transform: translateY(-50%);
  font-size: 52px; opacity: 0.35;
}
.page-hero.gold { background: linear-gradient(135deg, #E0B96B, #cfa052); }
.page-hero.blue { background: linear-gradient(135deg, #4aa3c9, #2f89b0); }
.page-hero.dark { background: linear-gradient(135deg, #4a90c4, #2f6fa3); }

/* ===== 分类总览页 ===== */
.cat-big-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 14px 12px;
  background: #fff;
  margin: 12px;
  border-radius: var(--radius);
}
.cat-big-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
  padding: 10px 0;
  border-radius: 10px;
  transition: transform 0.15s;
}
.cat-big-item:active { transform: scale(0.94); background: #fafafa; }
.cat-big-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}
.cat-big-name { font-size: 12px; color: #333; font-weight: 600; }
.cat-big-sub { font-size: 10px; color: #aaa; }

/* 分类横幅入口 */
.entry-banners { padding: 0 12px; }
.entry-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 10px;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.entry-banner .eb-title { font-size: 16px; font-weight: 700; }
.entry-banner .eb-sub { font-size: 11px; opacity: 0.9; margin-top: 3px; }
.entry-banner .eb-icon { font-size: 40px; opacity: 0.5; }
.entry-banner .eb-arrow { font-size: 12px; opacity: 0.8; }

/* ===== 分类列表页 ===== */
.sort-bar {
  display: flex;
  background: #fff;
  padding: 0 6px;
  border-bottom: 1px solid #f2f2f2;
  position: sticky;
  top: 0;
  z-index: 50;
}
.sort-item {
  flex: 1;
  text-align: center;
  font-size: 13px;
  color: #666;
  padding: 11px 0;
  cursor: pointer;
  position: relative;
}
.sort-item.active { color: var(--jade-primary); font-weight: 700; }
.sort-item.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 3px;
  background: var(--jade-primary);
  border-radius: 2px;
}

.goods-list { padding: 10px 12px; }
.goods-row {
  display: flex;
  gap: 12px;
  background: #fff;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 10px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s;
}
.goods-row:active { transform: scale(0.98); }
.goods-row .gr-img {
  width: 96px; height: 96px;
  border-radius: 10px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  position: relative;
}
.goods-row .gr-info { flex: 1; display: flex; flex-direction: column; }
.goods-row .gr-title {
  font-size: 14px;
  color: #333;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.goods-row .gr-tags { display: flex; gap: 4px; margin-top: 5px; }
.goods-row .gr-tag {
  font-size: 9px;
  padding: 1px 5px;
  border-radius: 3px;
  background: var(--jade-light);
  color: var(--jade-primary);
}
.goods-row .gr-tag.red { background: #fde8ec; color: var(--warm-red); }
.goods-row .gr-meta {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.goods-row .gr-price { font-size: 17px; color: var(--warm-red); font-weight: 800; }
.goods-row .gr-price span { font-size: 12px; }
.goods-row .gr-sold { font-size: 10px; color: #bbb; }
.goods-row .gr-orig { font-size: 10px; color: #ccc; text-decoration: line-through; margin-left: 5px; font-weight: 400; }

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #bbb;
}
.empty-state .es-icon { font-size: 52px; }
.empty-state .es-text { font-size: 13px; margin-top: 10px; }

/* ===== 商品详情页 ===== */
.detail-gallery {
  position: relative;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 110px;
}
.detail-tag {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--warm-red);
  color: #fff;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 6px;
  font-weight: 600;
}
.detail-panel {
  background: #fff;
  margin: 12px;
  border-radius: var(--radius);
  padding: 14px;
}
.detail-title { font-size: 17px; font-weight: 700; color: #222; line-height: 1.4; }
.detail-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 10px;
}
.detail-price { font-size: 26px; color: var(--warm-red); font-weight: 800; }
.detail-price span { font-size: 14px; }
.detail-orig { font-size: 13px; color: #bbb; text-decoration: line-through; }
.detail-sold { font-size: 11px; color: #999; margin-left: auto; }
.detail-desc { font-size: 13px; color: #666; line-height: 1.6; margin-top: 10px; }
.detail-tagline {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  flex-wrap: wrap;
}
.detail-tagline .dt-item {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--jade-light);
  color: var(--jade-primary);
}

.spec-panel .spec-title { font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.spec-options { display: flex; flex-wrap: wrap; gap: 8px; }
.spec-option {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 12px;
  color: #555;
  cursor: pointer;
  transition: all 0.15s;
}
.spec-option.active {
  border-color: var(--jade-primary);
  background: var(--jade-light);
  color: var(--jade-primary);
  font-weight: 600;
}

.qty-row { display: flex; align-items: center; gap: 10px; }
.qty-label { font-size: 13px; color: #666; }
.qty-ctrl { display: flex; align-items: center; border: 1px solid #e0e0e0; border-radius: 8px; overflow: hidden; margin-left: auto; }
.qty-btn {
  width: 32px; height: 32px;
  background: #f7f7f7;
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: #555;
}
.qty-num { width: 44px; text-align: center; font-size: 14px; font-weight: 600; }

.store-stock { margin: 12px; }
.stock-row {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 8px;
  font-size: 12px;
}
.stock-row .sr2-name { flex: 1; color: #333; }
.stock-row .sr2-addr { color: #aaa; margin-right: 10px; font-size: 11px; }
.stock-row .sr2-num { color: var(--jade-primary); font-weight: 700; }

.detail-intro { margin: 12px; }
.intro-block { background: #fff; border-radius: var(--radius); padding: 14px; margin-bottom: 10px; }
.intro-block h3 { font-size: 14px; font-weight: 700; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.intro-block p { font-size: 12px; color: #666; line-height: 1.7; }
.intro-block .kv { font-size: 12px; color: #555; line-height: 2; }
.intro-block .kv b { color: #333; }

/* 详情页底部操作栏 */
.detail-actionbar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 500px;
  background: #fff;
  display: flex;
  align-items: center;
  border-top: 1px solid #eee;
  z-index: 100;
  padding-bottom: env(safe-area-inset-bottom);
}
.da-icons { display: flex; }
.da-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 7px 12px;
  font-size: 18px;
  cursor: pointer;
  color: #666;
  background: none;
  border: none;
}
.da-icon span { font-size: 9px; color: #999; }
.da-btns { flex: 1; display: flex; gap: 8px; padding: 8px 10px; }
.da-btn {
  flex: 1;
  border: none;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 0;
  cursor: pointer;
  color: #fff;
}
.da-btn.cart { background: linear-gradient(135deg, #f5a623, #e07b00); }
.da-btn.buy { background: linear-gradient(135deg, var(--warm-red), #f04850); }
.da-btn:active { opacity: 0.85; }

/* ===== 购物车页 ===== */
.cart-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 10px;
  padding: 12px;
  margin: 0 12px 10px;
}
.check-circle {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid #ccc;
  flex-shrink: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #fff;
}
.check-circle.on { background: var(--jade-primary); border-color: var(--jade-primary); }
.cart-item .ci-img {
  width: 74px; height: 74px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  flex-shrink: 0;
}
.cart-item .ci-info { flex: 1; }
.cart-item .ci-title { font-size: 13px; color: #333; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cart-item .ci-spec { font-size: 10px; color: #aaa; margin-top: 3px; }
.cart-item .ci-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.cart-item .ci-price { font-size: 15px; color: var(--warm-red); font-weight: 700; }
.cart-item .ci-price span { font-size: 11px; }

.cart-bar {
  position: fixed;
  bottom: calc(52px + env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 500px;
  background: #fff;
  display: flex;
  align-items: center;
  padding: 10px 14px;
  border-top: 1px solid #eee;
  z-index: 99;
}
.cart-bar .cb-all { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #555; cursor: pointer; }
.cart-bar .cb-total { margin-left: auto; font-size: 12px; color: #999; }
.cart-bar .cb-total b { font-size: 19px; color: var(--warm-red); }
.cart-bar .cb-btn {
  margin-left: 12px;
  background: linear-gradient(135deg, var(--warm-red), #f04850);
  color: #fff;
  border: none;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 22px;
  border-radius: 20px;
  cursor: pointer;
}

/* ===== 会员中心页 ===== */
.member-hero {
  text-decoration: none;
  background: linear-gradient(135deg, var(--jade-primary), var(--jade-dark));
  color: #fff;
  padding: 24px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.member-avatar {
  width: 62px; height: 62px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.5);
}
.member-info { flex: 1; }
.member-name { font-size: 18px; font-weight: 800; }
.member-level { font-size: 11px; background: var(--gold); border-radius: 10px; padding: 2px 10px; display: inline-block; margin-top: 5px; font-weight: 600; }
.member-nums { display: flex; gap: 18px; margin-top: 8px; }
.member-nums .mn { text-align: center; }
.member-nums .mn b { font-size: 15px; display: block; }
.member-nums .mn span { font-size: 10px; opacity: 0.8; }
.member-edit { font-size: 11px; opacity: 0.8; cursor: pointer; background: none; border: none; color: #fff; }

.order-card, .menu-card {
  background: #fff;
  margin: 12px;
  border-radius: var(--radius);
  overflow: hidden;
}
.card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid #f5f5f5;
}
.card-head .ch-title { font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.card-head .ch-more { font-size: 12px; color: #999; cursor: pointer; text-decoration: none; }
.order-status {
  display: flex;
  padding: 14px 6px;
}
.order-status .os-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  font-size: 11px;
  color: #666;
  text-decoration: none;
  position: relative;
}
.order-status .os-item .os-icon { font-size: 22px; position: relative; }
.os-badge {
  position: absolute;
  top: -5px; right: -8px;
  background: var(--warm-red);
  color: #fff;
  font-size: 9px;
  min-width: 15px;
  height: 15px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
}
.menu-list { padding: 4px 0; }
.menu-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  cursor: pointer;
  text-decoration: none;
  border-bottom: 1px solid #f8f8f8;
}
.menu-row:last-child { border-bottom: none; }
.menu-row .m-icon {
  width: 30px; height: 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.menu-row .m-name { flex: 1; font-size: 13px; color: #333; }
.menu-row .m-arrow { font-size: 12px; color: #ccc; }

/* ===== 旅游专区页 ===== */
.route-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  margin: 0 12px 12px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.15s;
}
.route-card:active { transform: scale(0.98); }
.route-card .rc-img {
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 54px;
  position: relative;
}
.route-card .rc-img .rc-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 5px;
}
.route-card .rc-img .rc-price-badge {
  position: absolute;
  right: 10px; bottom: 10px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 14px;
}
.route-card .rc-body { padding: 12px 14px; }
.route-card .rc-title { font-size: 15px; font-weight: 700; color: #222; }
.route-card .rc-tags { display: flex; gap: 5px; margin-top: 7px; flex-wrap: wrap; }
.route-card .rc-tag {
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 4px;
  background: var(--jade-light);
  color: var(--jade-primary);
}
.route-card .rc-tag.gold { background: var(--gold-light); color: #a8843a; }
.route-card .rc-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 9px;
  font-size: 11px;
  color: #999;
}
.route-card .rc-meta .rc-sold { display: flex; align-items: center; gap: 3px; }
.route-card .rc-meta .rc-star { color: #f5a623; }

.service-promise {
  display: flex;
  background: #fff;
  margin: 12px;
  border-radius: var(--radius);
  padding: 14px 6px;
}
.service-promise .sp-item { flex: 1; text-align: center; font-size: 10px; color: #777; }
.service-promise .sp-item .sp-icon { font-size: 20px; display: block; margin-bottom: 4px; }

/* ===== 路线详情页 ===== */
.route-hero {
  position: relative;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 90px;
}
.route-hero .rh-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.05) 60%);
}
.route-hero .rh-info {
  position: absolute;
  bottom: 14px; left: 16px; right: 16px;
  color: #fff;
  z-index: 2;
}
.route-hero .rh-title { font-size: 19px; font-weight: 800; text-shadow: 0 2px 6px rgba(0,0,0,0.4); }
.route-hero .rh-meta { display: flex; gap: 10px; font-size: 11px; margin-top: 6px; opacity: 0.95; }
.route-hero .rh-meta span { display: flex; align-items: center; gap: 3px; }

.day-list { padding: 0 12px; }
.day-item {
  background: #fff;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 10px;
  display: flex;
  gap: 12px;
}
.day-badge {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--jade-light);
  color: var(--jade-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.2;
}
.day-badge b { font-size: 14px; }
.day-content { flex: 1; }
.day-content .d-title { font-size: 13px; font-weight: 700; color: #222; }
.day-content .d-desc { font-size: 11px; color: #777; line-height: 1.7; margin-top: 4px; }
.day-content .d-meals { font-size: 10px; color: #a8843a; margin-top: 4px; }

.fee-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #f5f5f5;
  font-size: 12px;
}
.fee-row:last-child { border-bottom: none; }
.fee-row .f-label { width: 64px; flex-shrink: 0; font-weight: 600; color: #333; }
.fee-row .f-content { flex: 1; color: #666; line-height: 1.7; }
.fee-row .f-content .ok { color: var(--jade-primary); }
.fee-row .f-content .no { color: var(--warm-red); }

.book-panel {
  background: #fff;
  margin: 12px;
  border-radius: var(--radius);
  padding: 14px;
}
.book-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f5f5f5;
}
.book-row:last-child { border-bottom: none; }
.book-row .bk-label { font-size: 13px; color: #333; width: 60px; }
.book-row select, .book-row input {
  flex: 1;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 13px;
  background: #fff;
  color: #333;
  outline: none;
}
.book-row .bk-date {
  flex: 1;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 12px;
  color: #999;
  background: #f9f9f9;
}
.book-submit {
  width: 100%;
  margin-top: 12px;
  background: linear-gradient(135deg, var(--warm-red), #f04850);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  padding: 12px 0;
  cursor: pointer;
}
.book-submit:active { opacity: 0.85; }

/* 底部提示条（详情页上方留白） */
.bottom-space { height: 66px; }

/* ============================================================
   直播专区
   ============================================================ */
.live-feature {
  margin: 12px;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(135deg, #E63946, #f04850);
  color: #fff;
  padding: 14px;
  position: relative;
  box-shadow: 0 6px 18px rgba(230,57,70,0.25);
}
.lf-top { display: flex; align-items: center; justify-content: space-between; font-size: 11px; }
.lf-live { display: inline-flex; align-items: center; gap: 5px; font-weight: 800; letter-spacing: 1px; background: rgba(0,0,0,0.25); padding: 3px 10px; border-radius: 12px; }
.lf-dot { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: livePulse 1.2s infinite; }
@keyframes livePulse { 0%,100%{ opacity:1; transform:scale(1);} 50%{ opacity:0.4; transform:scale(0.7);} }
.lf-viewers { opacity: 0.92; }
.lf-cover {
  width: 100%; height: 150px; border-radius: 10px; margin: 12px 0 10px;
  display: flex; align-items: center; justify-content: center; font-size: 64px;
}
.lf-info { margin-bottom: 12px; }
.lf-title { font-size: 16px; font-weight: 700; line-height: 1.4; }
.lf-host { display: flex; align-items: center; gap: 6px; font-size: 12px; opacity: 0.92; margin-top: 6px; }
.lf-avatar { width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,0.25); display: flex; align-items: center; justify-content: center; font-size: 12px; }
.lf-btn {
  width: 100%; text-align: center; background: #fff; color: var(--warm-red);
  font-size: 14px; font-weight: 700; padding: 10px 0; border-radius: 22px; cursor: pointer;
}

.live-scroll { display: flex; gap: 10px; padding: 0 12px 4px; overflow-x: auto; scrollbar-width: none; }
.live-scroll::-webkit-scrollbar { display: none; }
.live-card { min-width: 180px; background: #fff; border-radius: 10px; overflow: hidden; flex-shrink: 0; cursor: pointer; text-decoration: none; color: inherit; display: block; }
.lc-cover { width: 180px; height: 96px; display: flex; align-items: center; justify-content: center; font-size: 40px; position: relative; }
.lc-live { position: absolute; top: 8px; left: 8px; background: var(--warm-red); color: #fff; font-size: 9px; font-weight: 700; padding: 2px 7px; border-radius: 10px; }
.lc-info { padding: 8px 10px 10px; }
.lc-title { font-size: 12px; color: #333; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; min-height: 32px; }
.lc-host { display: flex; align-items: center; gap: 4px; font-size: 10px; color: #999; margin-top: 5px; }
.lc-avatar { font-size: 11px; }
.lc-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 5px; }
.lc-cat { font-size: 9px; padding: 1px 6px; border-radius: 3px; background: var(--jade-light); color: var(--jade-primary); }
.lc-viewers { font-size: 10px; color: #bbb; }

.live-pills { display: flex; gap: 8px; padding: 4px 12px 8px; }
.lp { font-size: 12px; color: #666; padding: 6px 16px; border-radius: 16px; background: #fff; border: 1px solid #eee; border-radius: 16px; cursor: pointer; transition: all 0.15s; }
.lp.active { background: var(--jade-primary); color: #fff; border-color: var(--jade-primary); font-weight: 600; }

.live-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 12px 8px; }
.live-room { background: #fff; border-radius: 10px; overflow: hidden; cursor: pointer; text-decoration: none; color: inherit; display: block; transition: transform 0.15s; }
.live-room:active { transform: scale(0.97); }
.lr-cover { width: 100%; aspect-ratio: 1.3; display: flex; align-items: center; justify-content: center; font-size: 50px; position: relative; }
.lr-live { position: absolute; top: 8px; left: 8px; width: 10px; height: 10px; border-radius: 50%; background: var(--warm-red); animation: livePulse 1.2s infinite; }
.lr-info { padding: 8px 10px 10px; }
.lr-title { font-size: 12px; color: #333; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; min-height: 32px; }
.lr-foot { display: flex; align-items: center; gap: 5px; margin-top: 6px; font-size: 10px; color: #999; }
.lr-avatar { font-size: 12px; }
.lr-host { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lr-viewers { color: #bbb; flex-shrink: 0; }

.up-list { padding: 4px 12px 12px; }
.up-row { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 10px; padding: 12px; margin-bottom: 10px; cursor: pointer; }
.up-emoji { width: 46px; height: 46px; border-radius: 12px; background: var(--jade-light); display: flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; }
.up-body { flex: 1; }
.up-title { font-size: 13px; font-weight: 600; color: #333; }
.up-host { font-size: 11px; color: #999; margin-top: 3px; }
.up-time { text-align: right; font-size: 11px; color: var(--jade-primary); font-weight: 600; }
.up-remind { font-size: 9px; color: #fff; background: var(--gold); padding: 2px 8px; border-radius: 8px; margin-top: 4px; display: inline-block; }

/* ============================================================
   🎨 全面升级：字体 / 动画 / 毛玻璃 / 骨架屏 / 滚动条
   ============================================================ */

/* ---- 增强 CSS 变量 ---- */
:root {
  /* 已在头部定义基础变量，此处补充阴影与过渡 */
  --shadow-sm: 0 2px 8px rgba(24,168,124,0.08);
  --shadow-md: 0 4px 16px rgba(24,168,124,0.12);
  --shadow-lg: 0 8px 32px rgba(24,168,124,0.16);
  --shadow-red: 0 4px 16px rgba(230,57,70,0.20);
  --shadow-gold: 0 4px 16px rgba(201,160,78,0.20);
  --t-fast: 0.15s;
  --t-mid:  0.25s;
  --t-slow: 0.4s;
  --blur-modal: blur(12px) saturate(180%);
}

/* ---- 自定义滚动条（PC端） ---- */
@media (min-width: 480px) {
  ::-webkit-scrollbar { width: 5px; height: 5px; }
  ::-webkit-scrollbar-track { background: transparent; }
  ::-webkit-scrollbar-thumb { background: var(--jade-primary); border-radius: 10px; opacity: 0.5; }
  ::-webkit-scrollbar-thumb:hover { background: var(--jade-dark); }
}

/* ---- 文字选中颜色 ---- */
::selection { background: var(--jade-primary); color: #fff; }

/* ---- 入场动画 ---- */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes livePulse {
  0%,100%{ opacity:1; transform:scale(1);}
  50%    { opacity:0.4; transform:scale(0.7);}
}
@keyframes shimmer {
  0%   { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
@keyframes floatY {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-6px); }
}
@keyframes bannerIn {
  from { opacity: 0; transform: scaleX(0.95); }
  to   { opacity: 1; transform: scaleX(1); }
}

/* 通用 fade-in 类 */
.fade-in {
  animation: fadeSlideUp 0.4s ease both;
}

/* ---- 骨架屏加载态 ---- */
.skeleton {
  background: linear-gradient(90deg, #e8ecef 25%, #f5f5f5 50%, #e8ecef 75%);
  background-size: 400px 100%;
  animation: shimmer 1.4s ease-in-out infinite;
  border-radius: 6px;
}

/* ---- 图片支持：.img-cover ---- */
/* 兼容旧 .pc-cover 保持 flex+emoji 兜底，新增 img-cover 专门放图片 */
.img-cover {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

/* ---- 产品卡片悬浮提升 ---- */
.product-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform var(--t-mid), box-shadow var(--t-mid);
  text-decoration: none;
  display: block;
  color: inherit;
  box-shadow: var(--shadow-sm);
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.product-card:active { transform: scale(0.97); }

/* ---- 商品封面：优先图片，emoji 兜底 ---- */
.pc-cover {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  position: relative;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
/* 当有背景图时，emoji 缩小叠加在右下角 */
.pc-cover.has-img { font-size: 0; }
.pc-cover.has-img::after {
  content: attr(data-emoji);
  position: absolute;
  bottom: 6px; right: 6px;
  font-size: 18px;
  background: rgba(255,255,255,0.85);
  border-radius: 50%;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* ---- 秒杀卡片 ---- */
.promo-card {
  min-width: 96px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
  text-decoration: none;
  display: block;
  transition: transform var(--t-mid), box-shadow var(--t-mid);
  box-shadow: var(--shadow-sm);
}
.promo-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.promo-card:active { transform: scale(0.97); }
.promo-card .pc-img {
  width: 96px; height: 96px;
  display: flex; align-items: center; justify-content: center;
  font-size: 40px;
  background-size: cover; background-position: center; overflow: hidden;
}

/* ---- 轮播图增强 ---- */
.carousel-slide .slide-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.carousel-slide:hover .slide-bg { transform: scale(1.03); }

/* ---- 弹窗毛玻璃效果 ---- */
.store-modal {
  backdrop-filter: var(--blur-modal);
  -webkit-backdrop-filter: var(--blur-modal);
  background: rgba(255,255,255,0.88);
}

/* ---- 门店弹窗遮罩 ---- */
.store-modal-mask.show {
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* ---- 分类图标悬停 ---- */
.cat-item {
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.cat-item:hover { transform: translateY(-2px); }
.cat-item:active { transform: scale(0.95); }

/* ---- 快捷图标悬停 ---- */
.quick-item {
  transition: transform var(--t-fast);
}
.quick-item:hover { transform: translateY(-3px); }
.quick-item:active { transform: scale(0.92); }

/* ---- 优惠券卡片 ---- */
.coupon-card {
  transition: transform var(--t-mid), box-shadow var(--t-mid);
}
.coupon-card:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-gold);
}

/* ---- 旅游卡片 ---- */
.travel-card {
  transition: transform var(--t-mid), box-shadow var(--t-mid);
}
.travel-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ---- 底部 TabBar 毛玻璃 ---- */
.tabbar {
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  background: rgba(255,255,255,0.88);
  border-top: 1px solid rgba(24,168,124,0.08);
}

/* ---- 子页导航栏毛玻璃 ---- */
.sub-header {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(24,168,124,0.92);
}

/* ---- 搜索框聚焦高亮 ---- */
.search-bar:focus-within {
  box-shadow: 0 0 0 2px var(--jade-primary);
  background: rgba(255,255,255,0.98);
}

/* ---- 入口横幅入场动画 ---- */
.entry-banner {
  animation: bannerIn 0.4s ease both;
}

/* ---- 直播滚动卡片悬浮 ---- */
.live-card {
  transition: transform var(--t-mid), box-shadow var(--t-mid);
  box-shadow: var(--shadow-sm);
}
.live-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.live-room {
  transition: transform var(--t-mid), box-shadow var(--t-mid);
  box-shadow: var(--shadow-sm);
}
.live-room:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ---- 路线头图悬浮 ---- */
.route-hero {
  transition: transform var(--t-slow);
}
.route-hero:hover { transform: scale(1.02); }

/* ---- 路线卡片 ---- */
.route-card {
  transition: transform var(--t-mid), box-shadow var(--t-mid);
}
.route-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ---- 图片懒加载占位 ---- */
img {
  opacity: 0;
  transition: opacity 0.3s ease;
}
img.loaded, img[src=""], img:not([src]) { opacity: 1; }

/* ---- 连锁区域增强 ---- */
.chain-section {
  margin: 0 16px 14px;
  background: linear-gradient(135deg, var(--jade-primary), var(--jade-dark));
  border-radius: var(--radius);
  padding: 20px 16px;
  color: #fff;
  box-shadow: var(--shadow-lg);
  animation: bannerIn 0.4s ease both;
}
.chain-stat {
  transition: transform var(--t-mid);
}
.chain-stat:hover { transform: scale(1.06); }
.chain-btn {
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.chain-btn:hover { transform: translateY(-2px); box-shadow: rgba(255,255,255,0.15) 0 4px 12px; }

/* ---- 弹窗抖动动画（错误反馈） ---- */
@keyframes shake {
  0%,100%{ transform: translateX(0); }
  20%    { transform: translateX(-6px); }
  40%    { transform: translateX(6px); }
  60%    { transform: translateX(-4px); }
  80%    { transform: translateX(4px); }
}
.shake { animation: shake 0.4s ease; }

/* ---- 连锁统计数字动画 ---- */
@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.chain-stat { animation: countUp 0.5s ease both; }
.chain-stat:nth-child(2) { animation-delay: 0.1s; }
.chain-stat:nth-child(3) { animation-delay: 0.2s; }
.chain-stat:nth-child(4) { animation-delay: 0.3s; }

/* ---- 景区横幅（路线头图占位时用 Emoji 浮动） ---- */
.route-hero:not([style*='background-image']) .rh-overlay::before {
  content: attr(data-emoji);
  font-size: 80px;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  opacity: 0.25;
  animation: floatY 3s ease-in-out infinite;
}

/* ---- 产品详情页大图增强 ---- */
.detail-gallery {
  width: 100%;
  aspect-ratio: 1;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
/* ---- 详情页大图：有图片时 emoji 缩到右下角 ---- */
.detail-gallery.has-img { font-size: 0; }
.detail-gallery.has-img::after {
  content: attr(data-emoji);
  position: absolute;
  bottom: 12px; right: 12px;
  z-index: 3;
  font-size: 24px;
  background: rgba(255,255,255,0.85);
  border-radius: 50%;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
  content: attr(data-emoji);
  position: absolute;
  bottom: 12px; right: 12px;
  font-size: 28px;
  background: rgba(255,255,255,0.8);
  border-radius: 50%;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

/* ---- PC 端滚动顺滑 ---- */
@media (min-width: 480px) {
  html { scroll-behavior: smooth; }
  .phone-frame { overflow-y: auto; scroll-behavior: smooth; }
}

/* ---- 商品详情页：多图画廊 ---- */
.gallery-slider {
  width: 100%;
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
  background: #f5f5f5;
}
.gallery-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.35s ease;
}
.gallery-slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  position: relative;
}
.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-slide .slide-emoji {
  font-size: 80px;
}
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(0,0,0,0.35);
  color: #fff;
  border: none;
  font-size: 18px;
  cursor: pointer;
  z-index: 5;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.gallery-arrow:hover { background: rgba(0,0,0,0.55); }
.gallery-arrow.prev { left: 10px; }
.gallery-arrow.next { right: 10px; }
.gallery-arrow.hidden { display: none; }
.gallery-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}
.gallery-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  transition: all 0.3s;
  cursor: pointer;
}
.gallery-dot.active {
  background: #fff;
  width: 18px;
  border-radius: 4px;
}
.gallery-counter {
  position: absolute;
  bottom: 10px; right: 12px;
  background: rgba(0,0,0,0.45);
  color: #fff;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px;
  z-index: 5;
}
.gallery-tag {
  position: absolute;
  top: 12px; left: 12px;
  background: #e74c3c;
  color: #fff;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 12px;
  z-index: 5;
}
.gallery-thumbs {
  display: flex;
  gap: 6px;
  padding: 8px 12px;
  overflow-x: auto;
  background: #fff;
}
.gallery-thumb {
  width: 54px; height: 54px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid transparent;
  cursor: pointer;
  transition: border 0.2s;
}
.gallery-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.gallery-thumb.active {
  border-color: #18A87C;
}

/* ---- 商品详情页：视频区 ---- */
.detail-video-section {
  margin: 0;
  background: #fff;
}
.detail-video-section h3 {
  font-size: 14px;
  color: #333;
  padding: 12px 16px 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.detail-video-wrap {
  position: relative;
  width: 100%;
  background: #000;
}
.detail-video-wrap video {
  width: 100%;
  max-height: 360px;
  display: block;
}

/* ===== 首页信息架构收敛 v4 ===== */
/* 信任行 */
.trust-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 12px;
  margin: 0 12px 10px;
  background: linear-gradient(90deg, rgba(43,179,137,0.08), rgba(224,185,107,0.10));
  border-radius: 10px;
  font-size: 11px;
  color: #2d6a4f;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
}
.trust-line i { font-style: normal; opacity: 0.35; }

/* 四大业务入口（2×2 网格） */
.biz-entries {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 0 12px;
  margin: 0 0 12px;
}
.biz-entry {
  border-radius: 14px;
  padding: 12px 8px;
  min-height: 88px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.10);
  transition: transform 0.15s;
}
.biz-entry:active { transform: scale(0.95); }
/* ===== 四大入口 · 玻璃拟态 + 整图背景（预览版合并 2026-09-18） ===== */
.biz-entry {
  isolation: isolate;
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(5px) saturate(120%);
  -webkit-backdrop-filter: blur(5px) saturate(120%);
  box-shadow: 0 5px 15px rgba(16, 58, 45, 0.16);
  min-height: 112px;
  padding: 12px 10px 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.biz-entry::before,
.biz-entry::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.biz-entry::before {
  z-index: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 1;
  transform: scale(1.03);
  /* 鲜亮：提饱和 + 微提亮对比，让四张入口图更透亮 */
  filter: saturate(1.24) contrast(1.05) brightness(1.14);
  transition: transform 0.3s ease, opacity 0.3s ease, filter 0.3s ease;
}
.biz-entry::after { z-index: 1; }
.biz-entry > * {
  position: relative;
  z-index: 2;
}
.biz-entry:hover::before {
  transform: scale(1.08);
  opacity: 1;
  filter: saturate(1.3) contrast(1.08) brightness(1.12);
}
.biz-entry:nth-child(1)::before {
  background-image: var(--e1, url('../images/business-handshake-bright.jpg'));
  background-position: center 52%;
  background-color: #d8e0dc;
  opacity: 1;
}
.biz-entry:nth-child(1)::after {
  background: linear-gradient(to bottom, rgba(16, 92, 68, 0) 45%, rgba(7, 51, 37, 0.34) 100%);
}
.biz-entry:nth-child(2)::before {
  background-image: var(--e2, url('../images/j11_seed_stone.jpg'));
  background-position: center 46%;
}
.biz-entry:nth-child(2)::after {
  background: linear-gradient(to bottom, rgba(20, 132, 97, 0) 45%, rgba(5, 60, 43, 0.36) 100%);
}
.biz-entry:nth-child(3)::before {
  background-image: var(--e3, url('../images/dried-fruit-mix.jpg'));
  background-position: center 50%;
}
.biz-entry:nth-child(3)::after {
  background: linear-gradient(to bottom, rgba(151, 100, 24, 0) 45%, rgba(73, 40, 4, 0.34) 100%);
}
.biz-entry:nth-child(4)::before {
  background-image: var(--e4, url('../images/xuelian_snow_lotus.jpg'));
  background-position: center 45%;
}
.biz-entry:nth-child(4)::after {
  background: linear-gradient(to bottom, rgba(25, 91, 127, 0) 45%, rgba(8, 43, 68, 0.34) 100%);
}
.be-name,
.be-sub {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85), 0 2px 10px rgba(0, 0, 0, 0.55);
}
.be-name {
  margin-top: 0;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.5px;
}
.be-sub {
  margin-top: 4px;
  font-size: 10px;
  opacity: 0.96;
}

/* 热门好物：横滑小卡 */
.mini-strip {
  display: flex;
  gap: 8px;
  padding: 0 12px 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.mini-strip::-webkit-scrollbar { display: none; }
.mini-card {
  min-width: 104px;
  max-width: 104px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.mini-card .mc-cover {
  width: 104px;
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.mini-card .mc-body { padding: 6px 8px 8px; }
.mini-card .mc-name {
  font-size: 11px;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mini-card .mc-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 4px;
}
.mini-card .mc-price { font-size: 13px; font-weight: 700; color: var(--warm-red); }
.mini-card .mc-sold { font-size: 9px; color: #aaa; }
.mini-card.mini-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f7f7f7;
  border: 1px dashed #ddd;
  box-shadow: none;
}
.mini-card .mc-more-icon { font-size: 30px; color: #bbb; line-height: 1; }
.mini-card .mc-more-text { font-size: 11px; color: #999; margin-top: 6px; }

/* 旅游路线紧凑化 */
.travel-list .travel-card { min-width: 160px; }
.travel-list .travel-card .tc-img { width: 160px; height: 84px; font-size: 34px; }
.travel-list .travel-card .tc-title { font-size: 12px; }

/* ===== 俱乐部Circle板块 ===== */
.club-culture {
  margin: 12px;
  background: linear-gradient(180deg, #fdf8ea, #fff);
  border: 1px solid #f0e6cd;
  border-radius: var(--radius);
  padding: 24px 14px 14px;
}
.club-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 16px;
}
.club-icon {
  width: 46px;
  height: 52px;
  flex: 0 0 46px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.club-jade-img {
  display: block;
  width: 46px;
  height: 52px;
  object-fit: cover;
  border-radius: 0;
  border: 1px solid var(--gold);
  box-shadow: 0 3px 8px rgba(0,0,0,0.12);
}
/* 覆盖全站 img 懒加载占位（opacity:0）规则 */
img.club-jade-img { opacity: 1; }
.club-title-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}
.club-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--jade-dark);
  letter-spacing: 3px;
}
.club-title-en {
  margin-top: 4px;
  font-family: 'Noto Sans SC', sans-serif;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 2.5px;
  color: #b9c6c0;
}
.club-sub {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: #a8843a;
  letter-spacing: 6px;
  text-indent: 6px;
}
.club-sub::before,
.club-sub::after {
  content: '—';
  color: #d9c9a3;
  font-weight: 400;
  margin: 0 8px;
}
.club-quote {
  margin: 14px auto 0;
  text-align: center;
  font-size: 10.5px;
  font-weight: 500;
  color: #fff;
  letter-spacing: 0.5px;
  line-height: 1.6;
  background: linear-gradient(135deg, #128A66, #0f4a37);
  padding: 9px 18px;
  border-radius: 0;
  display: block;
  width: fit-content;
  box-shadow: 0 3px 8px rgba(18,138,102,0.22);
  max-width: 100%;
}
/* ===== 城市名片（首页「圈层 · 共鸣 · 归属」下方，一行文字 · 地名高亮） ===== */
.club-city {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed #e0ece6;
}
.club-city-line {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: #6b5a3a;
  letter-spacing: 0.5px;
  line-height: 1.9;
}
.club-city-line .ccp-pre,
.club-city-line .ccp-post {
  display: inline;
}
.club-city-place {
  display: inline-block;
  margin: 0 5px;
  padding: 2px 10px 3px;
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #0f4a37;
  background: linear-gradient(135deg, #e9f7f1, #d6ece2);
  border: 1px solid #c7e3d8;
  border-radius: 7px;
  box-shadow: 0 2px 6px rgba(18, 138, 102, 0.12);
  vertical-align: baseline;
}
.club-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 18px;
}
.club-card {
  border-radius: 14px;
  padding: 15px 13px 14px;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.10);
  transition: transform 0.15s;
}
.club-card:active { transform: scale(0.96); }
.club-card:nth-child(1) { background: linear-gradient(135deg, #1e7a5c, #0f4a37); }
.club-card:nth-child(2) { background: linear-gradient(135deg, #2b3a4f, #16222e); }
.club-card:nth-child(3) { background: linear-gradient(135deg, #6a5a3a, #463a22); }
.club-card:nth-child(4) { background: linear-gradient(135deg, #2f4a5e, #16303f); }
.club-card:nth-child(5) { background: linear-gradient(135deg, #2b8a6f, #155447); }
.club-card:nth-child(6) { background: linear-gradient(135deg, #186a55, #0d3f33); }
.club-card:nth-child(7) { background: linear-gradient(135deg, #23795f, #11483a); }
.club-card.club-more {
  background: var(--jade-light);
  border: 1.5px dashed var(--gold);
  color: #2d6a4f;
  box-shadow: none;
  text-decoration: none;
}
.club-card.club-more .cc-name { color: var(--jade-dark); }
.club-card.club-more .cc-desc { color: var(--text-sub); }
.club-card.club-more .cc-tag {
  color: #a8843a;
  background: #fff;
  border-color: var(--gold);
}
.club-card::after {
  content: '';
  position: absolute;
  top: -22px;
  right: -22px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216,178,98,0.30), transparent 70%);
}
.cc-icon { font-size: 22px; line-height: 1; }
.cc-name { font-size: 13px; font-weight: 700; margin-top: 9px; letter-spacing: 0.5px; }
.cc-desc { font-size: 10px; opacity: 0.92; margin-top: 6px; line-height: 1.75; letter-spacing: 0.3px; }
.cc-tag {
  display: inline-block;
  margin-top: 9px;
  font-size: 9px;
  padding: 3px 9px;
  border-radius: 10px;
  color: #EFD9A7;
  background: rgba(216,178,98,0.20);
  border: 1px solid rgba(216,178,98,0.55);
  letter-spacing: 0.5px;
}
.club-recruit {
  margin-top: 12px;
  border-radius: 12px;
  padding: 13px 12px 14px;
  text-align: center;
  background: var(--gold-light);
  border: 1px dashed var(--gold);
}
.cr-title { font-size: 13px; font-weight: 700; color: #a8843a; }
.cr-tags {
  margin-top: 9px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}
.cr-tags span {
  font-size: 10px;
  color: #2d6a4f;
  background: #fff;
  border: 1px solid #e8dcbd;
  border-radius: 10px;
  padding: 3px 9px;
}
.cr-btn {
  margin-top: 11px;
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #2bb389, #12a072);
  padding: 8px 24px;
  border-radius: 20px;
  box-shadow: 0 3px 8px rgba(18,160,114,0.30);
}
.cr-btn:active { transform: scale(0.96); }

/* 首页 Circle 板块进入子页按钮 */
/* Circle 子页返回栏 */
.club-back {
  padding: 12px 14px 8px;
  background: #fff;
  border-bottom: 1px solid #eef2f0;
}
.club-back-link {
  font-size: 12px;
  color: var(--jade-dark);
  text-decoration: none;
  font-weight: 600;
}

/* ============================================================
   会员注册 / 登录页（member/login.html）
   ============================================================ */
.login-frame {
  padding-bottom: 40px;
  background: linear-gradient(180deg, #eaf6f1 0%, #fafafa 320px);
}
.login-hero { padding: 34px 20px 22px; text-align: center; }
.login-logo {
  width: 74px;
  height: 74px;
  margin: 0 auto 12px;
  border-radius: 22px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #fff;
  box-shadow: 0 6px 20px rgba(18, 138, 102, 0.16);
}
.login-brand {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #0f4a37;
}
.login-slogan {
  margin-top: 6px;
  font-size: 12px;
  color: #7d9189;
  letter-spacing: 2px;
}
.login-badge {
  display: inline-block;
  margin-top: 10px;
  font-size: 10.5px;
  color: #128A66;
  background: rgba(18, 138, 102, 0.08);
  border: 1px solid rgba(18, 138, 102, 0.16);
  border-radius: 999px;
  padding: 3px 12px;
  letter-spacing: 0.5px;
}
.login-card {
  margin: 0 16px;
  background: #fff;
  border-radius: 16px;
  padding: 18px 16px 20px;
  box-shadow: 0 8px 28px rgba(15, 74, 55, 0.08);
}
.login-tabs {
  display: flex;
  gap: 4px;
  background: #f2f6f4;
  border-radius: 11px;
  padding: 4px;
  margin-bottom: 18px;
}
.login-tab {
  flex: 1;
  text-align: center;
  font-size: 14px;
  color: #7d9189;
  padding: 9px 0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.18s;
}
.login-tab.active {
  background: #fff;
  color: #0f4a37;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(15, 74, 55, 0.1);
}
.lf-field {
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1.5px solid #e6efeb;
  background: #fbfdfc;
  border-radius: 11px;
  padding: 0 12px;
  margin-bottom: 12px;
  transition: border-color 0.18s, background 0.18s;
}
.lf-field:focus-within { border-color: #18A87C; background: #fff; }
.lf-ico { font-size: 15px; line-height: 1; }
.lf-field input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14.5px;
  padding: 13px 0;
  color: #222;
  font-family: inherit;
}
.lf-field input::placeholder { color: #b3c2bc; font-size: 13.5px; }
.lf-agree {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 12px;
  color: #7d9189;
  line-height: 1.6;
  margin: 2px 0 14px;
}
.lf-agree input {
  margin-top: 2px;
  width: 15px;
  height: 15px;
  accent-color: #18A87C;
  flex-shrink: 0;
}
.lf-agree b { color: #128A66; font-weight: 600; }
.lf-remember { margin-bottom: 16px; }
.lf-submit {
  width: 100%;
  border: none;
  border-radius: 11px;
  padding: 13px 0;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #fff;
  background: linear-gradient(135deg, #2bb389, #128A66);
  box-shadow: 0 6px 18px rgba(18, 138, 102, 0.28);
  cursor: pointer;
  font-family: inherit;
}
.lf-submit:active { transform: translateY(1px); box-shadow: 0 3px 10px rgba(18, 138, 102, 0.24); }
.lf-submit:disabled { opacity: 0.6; }
.lf-tip {
  margin-top: 12px;
  text-align: center;
  font-size: 11.5px;
  color: #96a8a0;
}
.lf-tip b { color: #D8B262; }
.lf-switch {
  margin-top: 12px;
  text-align: center;
  font-size: 12.5px;
  color: #7d9189;
}
.lf-switch b { color: #128A66; cursor: pointer; font-weight: 600; }
.login-foot {
  margin-top: 22px;
  text-align: center;
  font-size: 11px;
  color: #a8b8b1;
  line-height: 1.8;
}

/* 协议弹层 */
.terms-mask {
  position: fixed;
  top: 0; right: 0; bottom: 0; left: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s;
  z-index: 998;
}
.terms-mask.show { opacity: 1; visibility: visible; }
.terms-box {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%) translateY(100%);
  width: 100%;
  max-width: 500px;
  max-height: 72vh;
  background: #fff;
  border-radius: 16px 16px 0 0;
  z-index: 999;
  transition: transform 0.26s ease;
  display: flex;
  flex-direction: column;
}
.terms-box.show { transform: translateX(-50%) translateY(0); }
.terms-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 18px;
  font-size: 15px;
  font-weight: 700;
  color: #0f4a37;
  border-bottom: 1px solid #f0f4f2;
}
.terms-close { color: #bbb; font-size: 16px; cursor: pointer; padding: 0 4px; }
.terms-bd {
  padding: 16px 18px 26px;
  overflow-y: auto;
  font-size: 13px;
  color: #55605c;
  line-height: 1.85;
}
.terms-bd p { margin-bottom: 12px; }
.terms-bd b { color: #0f4a37; }

/* 已登录会员头像：昵称首字 */
.member-avatar.is-initial {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.22);
}
