/* ============================================================
   中畅旅行 · 产品海报展示 —— 前台样式
   设计取向：
     - 海报是主角，UI 退到后面：浅灰底 + 白卡片 + 大留白
     - 品牌橙 #F2612E 只用在强调处（品类标签、价格、按钮）
     - 移动优先，微信内置浏览器（iOS Safari 内核 / Android X5）优先适配
   ============================================================ */

:root {
  /* 品牌色 */
  --brand: #F2612E;
  --brand-soft: #FFF1EA;
  --brand-deep: #D64714;

  /* 中性色 */
  --ink: #1F2226;
  --ink-2: #4A5058;
  --ink-3: #8A919B;
  --line: #E8EAED;
  --bg: #F5F6F8;
  --card: #FFFFFF;

  /* 排版 */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --shadow-1: 0 1px 2px rgba(31, 34, 38, .05), 0 2px 8px rgba(31, 34, 38, .04);
  --shadow-2: 0 4px 14px rgba(31, 34, 38, .09), 0 1px 3px rgba(31, 34, 38, .05);
  --shadow-3: 0 12px 40px rgba(31, 34, 38, .16);

  --topbar-h: 56px;
  --maxw: 1180px;

  /* iOS 安全区 */
  --safe-b: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
               "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

body { overflow-x: hidden; }

img { display: block; max-width: 100%; border: 0; }

a { color: inherit; text-decoration: none; }

button { font: inherit; color: inherit; }

/* ---------------- 顶部栏 ---------------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.topbar__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  height: var(--topbar-h);
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand { display: flex; align-items: center; gap: 9px; min-width: 0; flex: 0 0 auto; }

/* 公司 LOGO（横版 3840x932 ≈ 4.12:1）：页头 56px，取 30px 高 → 宽约 124px
   高度定死、宽度自适应，保证任何屏宽下都不变形、不撑破页头 */
.brand__logo {
  display: block;
  height: 30px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  /* 图片本身是深色字 + 彩色地球，白底上直接可见，无需衬底 */
}

/* 旧文字块已由 LOGO 图替代，保留类名以兼容 site.js 的动态注入（若品牌名变化） */
.brand__text { display: flex; flex-direction: column; min-width: 0; }

.brand__name { font-size: 15px; font-weight: 700; line-height: 1.2; white-space: nowrap; }

.brand__sub {
  font-size: 11px;
  color: var(--ink-3);
  font-style: normal;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 品类导航（桌面显示，移动端横向滚动） */
.topnav {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 2px 0;
}
.topnav::-webkit-scrollbar { display: none; }

.topnav__item {
  flex: 0 0 auto;
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--ink-2);
  white-space: nowrap;
  transition: background .18s, color .18s;
}
.topnav__item:hover { background: var(--brand-soft); color: var(--brand-deep); }
.topnav__item.is-active { background: var(--brand); color: #fff; font-weight: 600; }

/* 页头「管理」入口已移除（第十五轮）——后台通过直接访问 /admin/ 进入 */

/* 手机版入口标识：仅当通过 /m 进入时显示 */
.topbar__mobiletip {
  flex: 0 0 auto;
  padding: 5px 11px;
  border: 1px solid #FBD5C5;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-deep);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

/* ---------------- 布局 ---------------- */
.app {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 14px 40px;
  min-height: 60vh;
}

/* 面包屑 */
.crumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 16px;
}
.crumbs a:hover { color: var(--brand); }
.crumbs__sep { color: #C8CCD2; }
.crumbs__cur { color: var(--ink-2); font-weight: 600; }

/* 页面头 */
.page-head { margin-bottom: 20px; }
.page-head__title {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -.2px;
}
.page-head__desc { margin: 0; color: var(--ink-2); font-size: 14px; }

/* 返回上页（主页不显示，其余页面在内容最上方） */
.backlink {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-bottom: 14px;
  padding: 6px 14px 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  font-family: inherit;
  cursor: pointer;
  /* 移动端点击不出现蓝色高亮块 */
  -webkit-tap-highlight-color: transparent;
  transition: background .16s, border-color .16s, color .16s;
}
.backlink:hover { color: var(--brand); border-color: #F7C3AE; background: #FFF7F3; }
.backlink:active { transform: scale(.97); }
.backlink__arrow { font-size: 17px; line-height: 1; margin-top: -1px; }

/* ---------------- 品类卡片 ---------------- */
.section-title {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin: 0 0 14px;
  font-size: 16.5px;
  font-weight: 700;
}
.section-title small { font-size: 12.5px; color: var(--ink-3); font-weight: 400; }

/* ---------------- 品类入口（第十四轮放大：竖版大卡片，图标居中更大气） ---------------- */
.cat-grid {
  display: grid;
  /* 手机双列起步，平板/桌面三列（六个品类正好两行） */
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.cat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 24px 14px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-1);
  transition: transform .18s, box-shadow .18s, border-color .18s;
  -webkit-tap-highlight-color: transparent;
}
.cat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
  border-color: #F7C3AE;
}
.cat-card:active { transform: scale(.985); }

/* 简洁标识：浅橙底大圆角方块 + 线性图标，不依赖图片资源 */
.cat-card__icon {
  flex: 0 0 auto;
  width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 17px;
  background: var(--brand-soft);
  font-size: 29px;
  line-height: 1;
}

.cat-card__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.cat-card__name {
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.cat-card__sub {
  font-size: 11.5px;
  color: var(--ink-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.cat-card__go {
  position: absolute;
  top: 12px; right: 14px;
  font-size: 18px;
  line-height: 1;
  color: var(--ink-3);
}

/* ---------------- 区域列表 ---------------- */
.region-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.region-item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 13px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  transition: border-color .18s, background .18s;
  min-height: 56px;
}
.region-item:hover { border-color: var(--brand); background: #FFFCFA; }
.region-item__name { font-size: 14.5px; font-weight: 600; }
.region-item__sub { font-size: 11.5px; color: var(--ink-3); margin-top: 2px; }
.region-item__count {
  flex: 0 0 auto;
  font-size: 11.5px;
  color: var(--brand);
  background: var(--brand-soft);
  border-radius: 999px;
  padding: 2px 8px;
  font-weight: 600;
}
.region-item__count--zero { color: var(--ink-3); background: #F2F3F5; }

/* ---------------- 三级页：海报平铺展示 ---------------- */
.poster-flow-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
}
.poster-flow-head__title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.3px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.poster-flow-head__count {
  margin-left: auto;
  font-size: 13px;
  color: var(--ink-3);
  white-space: nowrap;
}

/* 海报缩小平铺：手机约 2 列，随屏宽自适应加列（不裁切、完整保留原始比例） */
.poster-flow {
  display: grid;
  /* auto-fill + minmax 让列数随容器宽度自动变化（列宽不小于 190px）：
     手机(内容宽 ~350px) → 2 列；平板 768px → 4 列；桌面 1180px → 5 列 */
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px;
  align-items: start;
}
.flow-item {
  margin: 0;
  position: relative;
  background: #EEF0F3;
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  cursor: zoom-in;
  /* 长按时不触发系统选字 / 长按菜单，改由我们自己接管 */
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  transition: box-shadow .2s, transform .2s;
}
.flow-item:hover { box-shadow: var(--shadow-2); }
.flow-item:active { transform: scale(.985); }

.flow-item img {
  display: block;
  width: 100%;
  height: auto;
  /* 缩略图阶段不需要渲染原图那么大，省内存也更快 */
  pointer-events: none;   /* 让手势事件落在 figure 上，便于长按判定 */
}

.poster-flow-tip {
  margin: 18px 0 4px;
  text-align: center;
  font-size: 12.5px;
  color: var(--ink-3);
}

/* ---------------- 骨架屏 ---------------- */
.skeleton-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.sk-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}
.sk-img { aspect-ratio: 3 / 4; background: #EDEFF2; }
.sk-line { height: 11px; margin: 10px 12px; border-radius: 5px; background: #EDEFF2; }
.sk-line--short { width: 55%; }
.sk-img, .sk-line {
  background-image: linear-gradient(90deg, #EDEFF2 0%, #F7F8FA 50%, #EDEFF2 100%);
  background-size: 200% 100%;
  animation: sk 1.3s ease-in-out infinite;
}
@keyframes sk { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ---------------- 空态 / 错误态 ---------------- */
.empty {
  text-align: center;
  padding: 56px 20px;
  color: var(--ink-3);
}
.empty__icon { font-size: 42px; margin-bottom: 12px; opacity: .75; }
.empty__title { margin: 0 0 6px; font-size: 15.5px; font-weight: 600; color: var(--ink-2); }
.empty__desc { margin: 0; font-size: 13.5px; }
.empty__actions { margin-top: 18px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 0;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .18s;
  background: var(--brand);
  color: #fff;
}
.btn:hover { background: var(--brand-deep); }
.btn--ghost { background: #fff; color: var(--ink-2); border: 1px solid var(--line); }
.btn--ghost:hover { background: #F7F8FA; color: var(--ink); border-color: #D5D9DF; }

/* ---------------- Lightbox ---------------- */
.lightbox { position: fixed; inset: 0; z-index: 200; }
.lightbox[hidden] { display: none; }

.lightbox__mask {
  position: absolute;
  inset: 0;
  background: rgba(16, 18, 21, .82);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: fadeIn .2s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.lightbox__stage {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 20px 68px;
  overflow-y: auto;
  z-index: 1;
}

.lightbox__img {
  max-width: min(92vw, 680px);
  max-height: calc(100vh - 124px);
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: var(--shadow-3);
  background: #fff;
  animation: zoomIn .24s cubic-bezier(.2, .9, .3, 1);
}
@keyframes zoomIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: scale(1); } }

/* 底部信息条：只留张数与原图入口 */
.lightbox__bar {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px calc(12px + var(--safe-b));
  color: rgba(255, 255, 255, .82);
  font-size: 12.5px;
  background: linear-gradient(to top, rgba(16, 18, 21, .72), transparent);
  z-index: 3;
  pointer-events: none;
}
.lightbox__bar > * { pointer-events: auto; }
.lightbox__counter { font-variant-numeric: tabular-nums; }
.lightbox__orig {
  color: rgba(255, 255, 255, .88);
  font-size: 12.5px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 999px;
  padding: 5px 13px;
  transition: background .18s;
}
.lightbox__orig:hover { background: rgba(255, 255, 255, .16); }

.lightbox__close {
  position: fixed;
  top: 16px; right: 16px;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, .16);
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .18s;
  z-index: 3;
}
.lightbox__close:hover { background: rgba(255, 255, 255, .3); }

.lightbox__nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .18s;
  z-index: 3;
}
.lightbox__nav:hover { background: rgba(255, 255, 255, .28); }
.lightbox__nav--prev { left: 14px; }
.lightbox__nav--next { right: 14px; }

/* ---------------- 长按操作面板 ---------------- */
.sheet { position: fixed; inset: 0; z-index: 300; }
.sheet[hidden] { display: none; }

.sheet__mask {
  position: absolute;
  inset: 0;
  background: rgba(16, 18, 21, .5);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  animation: fadeIn .18s ease;
}

.sheet__panel {
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  background: #fff;
  border-radius: 18px 18px 0 0;
  padding: 18px 16px calc(16px + var(--safe-b));
  box-shadow: 0 -8px 34px rgba(0, 0, 0, .18);
  animation: sheetUp .24s cubic-bezier(.2, .9, .3, 1);
  max-width: 520px;
  margin: 0 auto;
}
@keyframes sheetUp { from { transform: translateY(100%); } to { transform: none; } }

.sheet__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line);
}
.sheet__thumb {
  width: 52px;
  height: 52px;
  object-fit: cover;
  border-radius: 8px;
  background: #EEF0F3;
  flex: 0 0 auto;
}
.sheet__meta { min-width: 0; }
.sheet__name {
  margin: 0 0 3px;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sheet__hint { margin: 0; font-size: 12px; color: var(--ink-3); }

.sheet__actions { padding: 4px 0; }
.sheet__btn {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  padding: 14px 8px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  border-radius: 10px;
  transition: background .16s;
  font: inherit;
  color: var(--ink);
}
.sheet__btn:hover, .sheet__btn:active { background: #F5F6F8; }
.sheet__btn-icon { font-size: 19px; flex: 0 0 auto; width: 26px; text-align: center; }
.sheet__btn-text {
  font-size: 15px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sheet__btn-text em {
  font-style: normal;
  font-size: 12px;
  font-weight: 400;
  color: var(--ink-3);
}

.sheet__cancel {
  width: 100%;
  margin-top: 8px;
  padding: 13px;
  border: 0;
  border-radius: 10px;
  background: #F2F3F5;
  color: var(--ink-2);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background .16s;
}
.sheet__cancel:hover { background: #E9EBEE; color: var(--ink); }

/* ---------------- 轻提示 ---------------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(84px + var(--safe-b));
  transform: translateX(-50%) translateY(8px);
  background: rgba(28, 31, 36, .92);
  color: #fff;
  font-size: 13.5px;
  padding: 10px 18px;
  border-radius: 999px;
  z-index: 400;
  opacity: 0;
  transition: opacity .22s, transform .22s;
  pointer-events: none;
  max-width: 82vw;
  text-align: center;
}
.toast[hidden] { display: none; }
.toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------------- 页脚 ---------------- */
.footer {
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 22px 14px calc(22px + var(--safe-b));
  margin-top: 20px;
}
.footer__inner { max-width: var(--maxw); margin: 0 auto; text-align: center; }
.footer__note { margin: 0 0 12px; font-size: 13.5px; color: var(--ink-2); }
.footer__sub { margin: 10px 0 0; font-size: 12px; color: var(--ink-3); }

/* 页脚合并入口（第十五轮）：原「咨询报名 / 联系我们」整合为一个按钮 */
.footer__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 240px;
  padding: 11px 26px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: .3px;
  box-shadow: 0 4px 14px rgba(242, 97, 46, .32);
  transition: background .18s, transform .12s, box-shadow .18s;
}
.footer__cta:hover { background: var(--brand-deep); box-shadow: 0 6px 18px rgba(242, 97, 46, .36); }
.footer__cta:active { transform: scale(.97); }

/* ============================================================
   门店微信咨询汇总页（第十五轮）
   布局参考用户提供的《各门店微信咨询入口》物料：
   青蓝横幅 + 虚线分隔 + 蓝点分组标题 + 两列门店卡
   ============================================================ */
:root {
  --ct-blue: #1B9FD8;      /* 参考物料主蓝 */
  --ct-blue-deep: #0E7FB4;
  --ct-blue-soft: #EAF6FD;
}

.ct-banner {
  background: #fff;
  border: 3px solid var(--ct-blue);
  border-radius: var(--r-md);
  padding: 18px 18px 16px;
  margin-bottom: 18px;
}
.ct-banner__title {
  margin: 0 0 14px;
  text-align: center;
  color: var(--ct-blue-deep);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.4;
}
.ct-banner__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.ct-banner__info { flex: 1 1 220px; min-width: 0; }
.ct-banner__line {
  margin: 0 0 8px;
  font-size: 15px;
  color: var(--ink);
  font-weight: 700;
}
.ct-banner__line b {
  font-size: 21px;
  letter-spacing: .3px;
  margin-left: 2px;
  color: var(--ink);
}
/* 横幅二维码：公众号 + 视频号并排（第十六轮起双码位），提示语独占一行 */
.ct-banner__qr {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  text-align: center;
}
.ct-qr-item { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ct-qr-item__label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ct-blue-deep);
  background: var(--ct-blue-soft);
  border-radius: 999px;
  padding: 2px 11px;
  line-height: 1.5;
}
.ct-banner__qr .ct-qr__img,
.ct-banner__qr .ct-qr__empty { width: 104px; height: 104px; }
.ct-banner__qrhint {
  width: 100%;
  margin: 8px 0 0;
  font-size: 11.5px;
  color: var(--ink-3);
  line-height: 1.45;
}

/* 横幅下的虚线分隔（参考物料样式） */
.ct-hq, .ct-group__title:first-of-type { position: relative; }
.ct-hq::before {
  content: '';
  display: block;
  margin: 0 0 16px;
  border-top: 2px dashed #C9CFD6;
}

/* 蓝点（分组标题 / 门店名前的小圆点，对齐参考物料） */
.ct-dot {
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--ct-blue);
  margin-right: 8px;
  vertical-align: 1px;
}

.ct-group__title {
  margin: 26px 0 14px;
  text-align: center;
  color: var(--ct-blue-deep);
  font-size: 18px;
  font-weight: 800;
}
.ct-group__title--hq {
  text-align: left;
  margin: 18px 0 8px;
  font-size: 17px;
}

/* 总部块：电话大字突出（对齐参考物料） */
.ct-hq__phone {
  margin: 2px 0 4px;
  font-size: 26px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: .5px;
}
.ct-hq__addr { margin: 0; font-size: 13.5px; color: var(--ink-2); }

/* 门店卡片网格：手机单列，平板/桌面两列 */
.ct-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.ct-card {
  background: #fff;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-1);
  padding: 16px 16px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.ct-card__name {
  margin: 0 0 6px;
  font-size: 15.5px;
  font-weight: 800;
  color: var(--ink);
}
.ct-card__phone {
  margin: 0 0 5px;
  font-size: 21px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: .4px;
}
.ct-card__addr {
  margin: 0 0 12px;
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ink-2);
}
.ct-qr { display: flex; flex-direction: column; align-items: center; }
.ct-qr__img {
  width: 132px;
  height: 132px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}
.ct-qr__empty {
  width: 132px;
  height: 132px;
  border: 1.5px dashed #C9CFD6;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #A8AFB8;
  font-size: 12.5px;
  line-height: 1.5;
  text-align: center;
  background: #FAFBFC;
}
.ct-qr__tip { margin-top: 7px; font-size: 11.5px; color: var(--ink-3); }

.ct-footnote {
  margin: 26px 0 4px;
  text-align: center;
  font-size: 12px;
  color: var(--ink-3);
}

/* ============================================================
   响应式
   ============================================================ */

/* 平板 */
@media (min-width: 600px) {
  .app { padding: 24px 20px 52px; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .cat-card { padding: 26px 16px 22px; }
  .cat-card__icon { width: 64px; height: 64px; font-size: 32px; border-radius: 18px; }
  .cat-card__name { font-size: 17px; }
  .cat-card__sub { font-size: 12.5px; }
  .region-grid { grid-template-columns: repeat(3, 1fr); }
  .skeleton-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }

  /* 门店咨询页：平板起两列门店卡（对齐参考物料的双列排布） */
  .ct-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .ct-banner__title { font-size: 21px; }
  .ct-banner__line b { font-size: 23px; }
}

/* 桌面 */
@media (min-width: 960px) {
  .cat-grid { gap: 20px; }
  .cat-card { padding: 32px 20px 28px; border-radius: var(--r-lg, 16px); }
  .cat-card__icon { width: 74px; height: 74px; font-size: 37px; border-radius: 21px; }
  .cat-card__name { font-size: 18.5px; }
  .cat-card__sub { font-size: 13.5px; }
  .region-grid { grid-template-columns: repeat(4, 1fr); }
  .skeleton-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }

  /* 门店咨询页桌面：横幅与卡片放大一档 */
  .ct-banner { padding: 26px 30px 22px; }
  .ct-banner__title { font-size: 24px; }
  .ct-card { padding: 22px 20px 18px; }
  .ct-card__name { font-size: 16.5px; }
  .ct-card__phone { font-size: 23px; }
  .ct-qr__img, .ct-qr__empty { width: 148px; height: 148px; }
  .ct-group__title { font-size: 20px; }
}

/* ---------------- 移动端（含微信内置浏览器） ---------------- */
@media (max-width: 599px) {
  body { font-size: 14.5px; }

  .app { padding: 14px 12px 32px; }
  .brand__sub { display: none; }

  /* 大卡片在手机上略微收紧，保持双列大气排布 */
  .cat-grid { gap: 11px; }
  .cat-card { padding: 19px 12px 16px; gap: 10px; }
  .cat-card__icon { width: 52px; height: 52px; font-size: 26px; border-radius: 15px; }
  .cat-card__name { font-size: 15px; }
  .cat-card__sub { font-size: 11px; }

  .page-head__title { font-size: 19px; }

  /* Lightbox 窄屏：整图铺满，上下留出关闭按钮与底部信息条 */
  .lightbox__stage {
    padding: 54px 10px calc(58px + var(--safe-b));
  }
  .lightbox__img {
    max-width: 100%;
    max-height: calc(100vh - 116px);
    border-radius: 8px;
  }
  .lightbox__nav { width: 38px; height: 38px; font-size: 22px; }
  .lightbox__nav--prev { left: 6px; }
  .lightbox__nav--next { right: 6px; }
  .lightbox__close { top: 10px; right: 10px; }

  /* 平铺海报在窄屏贴边一点，把画面让给海报本身；
     每列 140px 保证手机竖屏稳定落在 2 列 */
  .poster-flow { gap: 9px; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .flow-item { border-radius: 10px; }
  .poster-flow-head__title { font-size: 18px; }

  /* 手机上页头很挤：手机版标识只留图标，给导航让位（「管理」入口已移除） */
  .topbar__mobiletip { padding: 5px 8px; font-size: 13px; }

  /* 门店咨询页手机：横幅纵向居中堆叠，正文左对齐保持易读。
     ★ info 的 flex:1 1 220px 是给桌面横排设计的（主轴=宽度）；手机上 row 翻成
     纵向列后主轴变成高度，220px 基准把信息框强撑出约 160px 的幻影空白——
     正是「二维码上方大片留白」的根因。手机上取消基准，高度回归内容实际值。 */
  .ct-banner__row { flex-direction: column; align-items: center; gap: 12px; }
  .ct-banner__info { flex: 0 0 auto; width: 100%; text-align: center; }
  .ct-banner__line { font-size: 14px; }
  .ct-banner__line b { font-size: 19px; }
  .ct-banner__title { font-size: 17px; margin-bottom: 10px; }
  .ct-hq__phone { font-size: 22px; }
  .ct-group__title { font-size: 16.5px; }
  .footer__cta { width: 100%; max-width: 320px; }
}

/* 打印（用户可能想把某条线路打出来给客人） */
@media print {
  .topbar, .footer, .lightbox__nav, .lightbox__close, .lightbox__bar,
  .poster-flow-tip, .toast, .sheet, .topbar__mobiletip { display: none !important; }
}

/* 尊重系统的「减弱动效」偏好 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
