/* ============================================================
   Mahjong Modern 设计系统 — 麻将产品目录
   现代东方麻将美学：朱砂红 × 牌桌绿 × 金 × 宣纸米白
   移动端优先 · 8pt 网格 · WCAG AA
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
  /* 品牌色：炭墨 × 金（Quiet Luxury 高级极简，脱离红色系） */
  --brand: #26221C;
  --brand-deep: #15120E;
  --brand-soft: #EEECE6;
  --brand-ink: #26221C;

  /* 辅助/成功（牌桌绿，低调点缀） */
  --felt: #2E7D5B;
  --felt-soft: #E3F0E9;

  /* 金（强调色：选中指示 / CTA / 品牌纹样） */
  --gold: #B8862D;
  --gold-soft: #F3EBD7;

  /* 暖米中性（品牌色微调，非纯灰） */
  --bg: #FAF7F1;
  --surface: #FFFDF9;
  --surface-2: #F1EBE1;
  --line: #E9E1D3;
  --line-strong: #D9CEBA;
  --ink: #26221C;
  --ink-2: #5D554A;
  --ink-3: #96907F;

  /* 语义（硬编码，不随品牌色变化） */
  --danger: #B0453A;
  --danger-soft: #F8E7E3;

  /* 字体 */
  --font-serif: "Songti SC", "STSong", "Noto Serif SC", "Source Han Serif SC", Georgia, serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans SC", "Source Han Sans SC", "Segoe UI", sans-serif;

  /* 字号（少而层次分明） */
  --fs-xs: 11px;
  --fs-sm: 12.5px;
  --fs-base: 14px;
  --fs-lg: 17px;
  --fs-xl: 22px;
  --fs-2xl: 30px;

  /* 圆角 */
  --r-lg: 18px;
  --r-md: 12px;
  --r-sm: 9px;
  --r-pill: 999px;

  /* 阴影（细腻分层） */
  --shadow-xs: 0 1px 2px rgba(43, 38, 34, .05);
  --shadow-sm: 0 2px 8px rgba(43, 38, 34, .06);
  --shadow-md: 0 10px 30px rgba(43, 38, 34, .10);
  --shadow-lift: 0 14px 34px rgba(43, 38, 34, .14);

  /* 动效 */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --t-fast: 150ms var(--ease);
  --t-med: 260ms var(--ease);
}

/* ---------- Reset & Base ---------- */
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.6;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
button { font-family: inherit; }
.hidden { display: none !important; }

/* ---------- 顶栏 ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 244, 238, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  max-width: 760px; margin: 0 auto;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px;
}
.top-title {
  flex: 1; font-size: var(--fs-lg); font-weight: 600;
  font-family: var(--font-serif); letter-spacing: .02em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-2);
  cursor: pointer; transition: all var(--t-fast);
}
.icon-btn:hover { border-color: var(--line-strong); color: var(--ink); transform: translateY(-1px); }
.icon-btn svg { width: 17px; height: 17px; }
.icon-btn.text { width: auto; padding: 0 14px; font-size: var(--fs-sm); gap: 5px; }

/* ---------- 主区 ---------- */
.view { max-width: 760px; margin: 0 auto; padding: 18px 16px 56px; min-height: calc(100vh - 55px); }
/* 后台管理专用容器：脱离 760px 限制，全宽自适应 */
.admin-view { max-width: none; padding: 20px 28px 56px; }
.admin-view .admin-layout { max-width: 1320px; margin: 0 auto; }
/* 前台产品展示宽容器（总目录 / 厂家直达）：更宽更大气 */
.catalog-view { max-width: 1180px; margin: 0 auto; padding: 28px 24px 64px; }
/* 移动端：catalog-view 内 2 列紧凑网格，避免 1 列大图信息密度过低 */
@media (max-width: 560px) {
  .catalog-view { padding: 18px 14px 56px; }
  .catalog-view .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .catalog-view .card-body { padding: 10px 2px 0; }
  .catalog-view .card-name { font-size: 14px; line-height: 1.45; -webkit-line-clamp: 2; min-height: 2.8em; }
  .catalog-view .card-tags { margin-top: 6px; gap: 4px; }
  .catalog-view .catalog-search { max-width: 100%; }
}
@media (min-width: 561px) and (max-width: 900px) {
  .catalog-view .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
  .catalog-view .catalog-search { max-width: 100%; }
}
@media (min-width: 900px) {
  .catalog-view .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; }
  .catalog-view .catalog-search { max-width: 560px; }
}

/* ---------- 品牌标识 ---------- */
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #2E2922 0%, #191510 100%);
  color: #E4C676; font-family: var(--font-serif); font-weight: 600;
  border-radius: 13px; box-shadow: var(--shadow-sm), inset 0 0 0 1px rgba(228, 198, 118, .28);
  position: relative; overflow: hidden; flex-shrink: 0;
}
.brand-mark::after { /* 牌面纹理（金描边） */
  content: ""; position: absolute; inset: 5px;
  border: 1px solid rgba(228, 198, 118, .22); border-radius: 8px;
}
.brand-mark.sm { width: 34px; height: 34px; font-size: 17px; }
.brand-mark.lg { width: 76px; height: 76px; font-size: 38px; border-radius: 20px; display: flex; }
.brand-mark.xl { width: 96px; height: 96px; font-size: 46px; border-radius: 26px; box-shadow: var(--shadow-md), inset 0 0 0 1px rgba(255,255,255,.18); }

/* ---------- 欢迎页 ---------- */
.welcome {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 11vh 20px 40px; position: relative;
}
.welcome::before { /* 金色氛围晕染（柔和，不抢内容） */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 80% 60% at 50% 12%, rgba(184, 134, 45, .06), transparent 62%);
}
.welcome .brand-mark { margin-bottom: 24px; }
.welcome h1 {
  font-family: var(--font-serif); font-size: var(--fs-2xl); font-weight: 600;
  letter-spacing: .08em; margin-bottom: 8px;
}
.welcome .w-sub { color: var(--ink-2); font-size: var(--fs-base); letter-spacing: .06em; }
.w-divider {
  width: 44px; height: 2px; margin: 26px 0 22px;
  background: var(--gold); border-radius: 2px;
}
.w-hint { color: var(--ink-3); font-size: var(--fs-sm); }
/* 麻将点数装饰（一筒） */
.w-dots { position: relative; width: 90px; height: 90px; margin: 34px auto 0; opacity: .5; }
.w-dots .dot {
  position: absolute; width: 15px; height: 15px; border-radius: 50%;
  background: var(--felt); box-shadow: inset 0 -2px 3px rgba(0,0,0,.12);
}
.w-dots .d1 { top: 0; left: 50%; margin-left: -7.5px; }
.w-dots .d2 { top: 22px; left: 0; }
.w-dots .d3 { top: 22px; right: 0; }
.w-dots .d4 { bottom: 22px; left: 0; }
.w-dots .d5 { bottom: 22px; right: 0; }
.w-dots .d6 { bottom: 0; left: 50%; margin-left: -7.5px; }

/* ---------- 登录页 ---------- */
.login-wrap {
  display: flex; flex-direction: column; align-items: center;
  padding: 9vh 20px 40px;
}
.login-card {
  width: 100%; max-width: 380px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 24px; padding: 32px 26px;
  box-shadow: var(--shadow-sm);
}
.login-card .brand-mark { margin: 0 auto 16px; }
.login-card h1 { text-align: center; font-family: var(--font-serif); font-size: var(--fs-xl); font-weight: 600; margin-bottom: 4px; }
.login-card .lg-sub { text-align: center; color: var(--ink-3); font-size: var(--fs-sm); margin-bottom: 24px; }
.login-form { display: flex; flex-direction: column; gap: 14px; }
.login-form .btn { margin-top: 6px; }
.login-foot { text-align: center; color: var(--ink-3); font-size: var(--fs-xs); margin-top: 18px; }

/* ---------- 表单 ---------- */
.field { display: block; margin-bottom: 14px; }
.field-label { display: block; font-size: var(--fs-sm); color: var(--ink-2); margin-bottom: 6px; font-weight: 500; }
input[type="text"], input[type="password"], input:not([type]), select, textarea {
  display: block; width: 100%;
  padding: 11px 14px; font-size: var(--fs-base); color: var(--ink);
  background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: var(--r-md); outline: none; font-family: inherit;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
input:focus, select:focus, textarea:focus {
  border-color: var(--brand); box-shadow: 0 0 0 3px rgba(183, 59, 54, .12);
}
textarea { resize: vertical; min-height: 76px; }
.field .hint { margin-top: 5px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px 20px; font-size: var(--fs-base); font-weight: 500;
  border-radius: var(--r-md); border: 1px solid transparent;
  cursor: pointer; transition: all var(--t-fast); user-select: none;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn:active { transform: scale(.97); }
.btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.btn-primary { background: var(--brand); color: #FFF9F0; box-shadow: 0 2px 10px rgba(183, 59, 54, .25); }
.btn-primary:hover { background: var(--brand-deep); transform: translateY(-1px); box-shadow: 0 6px 16px rgba(183, 59, 54, .3); }
.btn-outline { border-color: var(--line-strong); background: var(--surface); color: var(--ink); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { color: var(--ink); background: var(--surface-2); }
.btn-danger { background: var(--danger-soft); color: var(--danger); }
.btn-danger:hover { background: #F3D8D6; }
.btn-sm { padding: 7px 13px; font-size: var(--fs-sm); border-radius: var(--r-sm); }
.btn-block { width: 100%; }

/* ---------- 面板 ---------- */
.panel {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 20px; margin-bottom: 16px;
  box-shadow: var(--shadow-xs);
}
.panel h3 { font-size: var(--fs-lg); font-weight: 600; font-family: var(--font-serif); margin-bottom: 14px; }
.panel-title { font-size: var(--fs-lg); font-weight: 600; font-family: var(--font-serif); }
.row { display: flex; gap: 10px; align-items: center; }
.row > .btn { flex-shrink: 0; }
.flex1 { flex: 1; min-width: 0; }
.hint { color: var(--ink-3); font-size: var(--fs-sm); }
.empty {
  text-align: center; padding: 72px 20px; color: var(--ink-3);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.empty svg { width: 44px; height: 44px; opacity: .45; }
.empty .empty-title { font-size: var(--fs-base); color: var(--ink-2); font-weight: 500; }
.empty .empty-sub { font-size: var(--fs-sm); }

/* ---------- 筛选条（Editorial：文字 tab + 下划线） ---------- */
.mf-strip, .cat-strip {
  display: flex; gap: 28px; overflow-x: auto; justify-content: center;
  padding: 8px 2px 22px; border-bottom: 1px solid var(--line);
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.mf-strip::-webkit-scrollbar, .cat-strip::-webkit-scrollbar { display: none; }
/* 类目筛选条吸顶（厂家直达页）：滚动时固定在顶栏下方，方便随时切换类目 */
.cat-strip {
  position: sticky; top: 56px; z-index: 40;
  background: rgba(250, 247, 241, .94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  padding: 10px 2px 12px;
}
.mf-strip .chip, .cat-strip .chip {
  background: transparent; border: none; border-radius: 0; padding: 8px 2px;
  font-family: var(--font-serif); font-size: 15px; font-weight: 500;
  color: var(--ink-2); position: relative; transition: color var(--t-fast);
}
.mf-strip .chip:hover, .cat-strip .chip:hover { color: var(--ink); }
.mf-strip .chip.on, .cat-strip .chip.on {
  background: transparent; border: none; color: var(--brand);
  box-shadow: none; font-weight: 600;
}
.mf-strip .chip.on::after, .cat-strip .chip.on::after {
  content: ""; position: absolute; left: 50%; bottom: -22px; transform: translateX(-50%);
  width: 18px; height: 2px; background: var(--brand); border-radius: 1px;
}
.chip-mini {
  display: inline-flex; align-items: center; gap: 3px;
  background: var(--felt-soft); color: var(--felt);
  font-size: 11px; font-weight: 500; border-radius: var(--r-pill); padding: 2.5px 9px;
}
.chip-mini svg { width: 10px; height: 10px; }
.chip-mf { background: var(--gold-soft); color: #7C5E1E; }

/* ---------- 厂家头部（Editorial：垂直居中 + 大留白） ---------- */
.mf-hero {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 36px 0 28px; gap: 14px; position: relative;
}
.mf-hero .brand-mark { width: 64px; height: 64px; font-size: 30px; border-radius: 18px; }
.mf-info { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.mf-info h1 { font-family: var(--font-serif); font-size: 26px; font-weight: 600; letter-spacing: .04em; margin: 0; }
.mf-contact { display: flex; align-items: center; gap: 20px; color: var(--ink-2); font-size: var(--fs-sm); }
.mf-contact svg { width: 13px; height: 13px; opacity: .65; }
.mf-contact .sep { display: none; }
.mf-contact .contact-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--ink-2); text-decoration: none; cursor: pointer;
  background: none; border: none; padding: 0; font-family: inherit; font-size: inherit;
  transition: color var(--t-fast);
}
.mf-contact .contact-link:hover { color: var(--brand); }
.mf-contact .contact-link:active { transform: scale(.96); }

/* ---------- 产品网格（Editorial：图大、列少、留白多） ---------- */
.grid {
  display: grid; grid-template-columns: 1fr;
  gap: 28px;
}
.card {
  background: transparent; border: none; border-radius: var(--r-lg);
  overflow: hidden; cursor: pointer; transition: transform var(--t-med);
}
.card:hover { transform: translateY(-2px); }
.card-img { aspect-ratio: 5/4; background: var(--surface-2); border-radius: var(--r-lg); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform var(--t-med); }
.card:hover .card-img img { transform: scale(1.04); }
.card-body { padding: 16px 4px 0; }
.card-name {
  font-family: var(--font-serif); font-size: 17px; font-weight: 500; line-height: 1.5;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  min-height: 2.6em;
}
.card-price { margin-top: 8px; color: var(--ink-2); font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.card-tags { margin-top: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.card-actions { margin-top: 12px; display: flex; gap: 8px; }
.card-actions .btn { flex: 1; }

/* ---------- 加载骨架屏（与真实卡片同构，避免布局跳动） ---------- */
.sk-card { overflow: hidden; }
.sk-img { aspect-ratio: 5/4; border-radius: var(--r-lg); background: var(--surface-2); }
.sk-body { padding: 16px 4px 0; }
.sk-line { height: 14px; border-radius: 7px; background: var(--surface-2); margin-bottom: 10px; }
.shimmer { position: relative; overflow: hidden; }
.shimmer::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 253, 249, .6) 50%, transparent 100%);
  animation: shimmer 1.5s ease-in-out infinite;
}
@keyframes shimmer { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

/* 后台管理卡恢复浅边框（区分前台 editorial 透明卡） */
#manageContent .card, #superContent .card { background: var(--surface); border: 1px solid var(--line); }
#manageContent .card:hover, #superContent .card:hover { box-shadow: var(--shadow-sm); }

/* ---------- 详情弹层（杂志级：桌面图左文右 / 移动上下） ---------- */
.modal {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(29, 24, 18, .55);
  display: flex; align-items: flex-end; justify-content: center;
  animation: fadeIn var(--t-fast);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-sheet {
  background: var(--surface); width: 100%; max-width: 620px;
  border-radius: 26px 26px 0 0; max-height: 92vh; overflow-y: auto;
  animation: sheetUp var(--t-med);
}
@keyframes sheetUp { from { transform: translateY(60px); opacity: .5; } to { transform: none; opacity: 1; } }
.detail-sheet { max-width: 900px; }
.detail-grid { display: grid; grid-template-columns: 1fr; }
.gallery { position: relative; background: #201C18; aspect-ratio: 16/11; }
.gallery img { width: 100%; height: 100%; object-fit: contain; }
.g-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: 50%; border: none;
  background: rgba(255, 249, 240, .92); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; box-shadow: var(--shadow-sm); transition: all var(--t-fast);
}
.g-nav:hover { background: #fff; }
.g-nav svg { width: 18px; height: 18px; }
.g-prev { left: 14px; } .g-next { right: 14px; }
.g-thumbs {
  position: absolute; bottom: 10px; left: 0; right: 0;
  display: flex; gap: 7px; justify-content: center;
}
.g-thumbs img {
  width: 46px; height: 46px; border-radius: 9px;
  border: 2px solid transparent; object-fit: cover; cursor: pointer;
  transition: border-color var(--t-fast), transform var(--t-fast);
}
.g-thumbs img:hover { transform: scale(1.06); }
.g-thumbs img.on { border-color: var(--gold); box-shadow: 0 0 0 1px rgba(0,0,0,.3); }
.detail-info { padding: 22px 24px 26px; display: flex; flex-direction: column; }
.d-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.d-close {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink-2); cursor: pointer; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; transition: all var(--t-fast);
}
.d-close:hover { color: var(--ink); transform: rotate(90deg); }
.d-close svg { width: 15px; height: 15px; }
.d-mf { display: flex; align-items: center; gap: 6px; color: var(--ink-3); font-size: 12.5px; letter-spacing: .02em; }
.d-mf svg { width: 13px; height: 13px; opacity: .6; }
.d-name { font-size: 23px; font-weight: 600; font-family: var(--font-serif); line-height: 1.4; letter-spacing: .01em; }
.d-tags { margin-top: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.d-price { margin-top: 16px; color: var(--brand); font-size: 30px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.d-block { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.d-block-label { display: block; font-size: 11.5px; color: var(--ink-3); letter-spacing: .06em; margin-bottom: 6px; }
.d-spec { margin: 0; color: var(--ink); font-size: var(--fs-base); font-weight: 500; }
.d-desc { margin: 0; color: var(--ink-2); white-space: pre-wrap; font-size: var(--fs-base); line-height: 1.75; }
.d-foot { margin-top: auto; padding-top: 22px; }

/* 桌面端：图左文右分栏 */
@media (min-width: 700px) {
  .modal { align-items: center; padding: 24px; }
  .detail-sheet { max-width: 900px; border-radius: 24px; max-height: 88vh; }
  .detail-grid { grid-template-columns: 1.1fr 1fr; }
  .gallery { aspect-ratio: 1/1; }
  .detail-info { padding: 30px 34px; max-height: 88vh; overflow-y: auto; }
  .d-name { font-size: 26px; }
}

/* ---------- 自定义输入弹窗（替代浏览器原生 prompt） ---------- */
.prompt-sheet { max-width: 420px; }
.prompt-card { padding: 26px 28px 24px; display: flex; flex-direction: column; gap: 14px; }
.prompt-title { font-family: var(--font-serif); font-size: 18px; font-weight: 600; margin: 0; letter-spacing: .03em; }
.prompt-label { color: var(--ink-3); font-size: 13px; margin: -4px 0 0; line-height: 1.5; }
.prompt-input { width: 100%; padding: 11px 14px; font-size: 15px; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 10px; outline: none; font-family: inherit; color: var(--ink); }
.prompt-input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(38, 34, 28, .1); }
.prompt-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 4px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 36px; transform: translateX(-50%);
  background: rgba(43, 38, 34, .94); color: #FFF9F0;
  font-size: var(--fs-sm); padding: 11px 22px; border-radius: var(--r-pill);
  z-index: 200; max-width: 84vw; box-shadow: var(--shadow-md);
  animation: toastIn var(--t-med);
}
@keyframes toastIn { from { transform: translate(-50%, 12px); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }

/* ---------- 工作台头（Editorial：垂直居中） ---------- */
.work-head {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 32px 0 20px; gap: 10px;
}
.work-head .brand-mark { margin-bottom: 2px; }
.work-head .work-title { font-family: var(--font-serif); font-size: 24px; font-weight: 600; letter-spacing: .04em; }
.work-head .work-sub { font-size: 13px; color: var(--ink-3); }
.tabbar {
  display: flex; gap: 4px; background: var(--surface-2);
  border-radius: var(--r-md); padding: 4px; margin-bottom: 18px;
}
.tab {
  flex: 1; padding: 9px 0; text-align: center; border: none;
  background: transparent; border-radius: var(--r-sm);
  font-size: var(--fs-base); font-weight: 500; color: var(--ink-2);
  cursor: pointer; transition: all var(--t-fast); font-family: inherit;
}
.tab.on { background: var(--surface); color: var(--brand); box-shadow: var(--shadow-xs); font-weight: 600; }
.list-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.list-head .count { font-size: var(--fs-sm); color: var(--ink-3); }
.form-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.form-head h3 { margin: 0; }
.form-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.form-panel .btn-primary { margin-top: 6px; }

/* 类目行 */
.cat-row { margin-bottom: 10px; }
.cat-row input { flex: 1; margin: 0; }
.cat-row .chip-mini { flex-shrink: 0; }

/* 厂家卡片（超管） */
.mf-card { cursor: default; }
.mf-card.dim { opacity: .62; }
.mf-head { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.mf-head .brand-mark { width: 44px; height: 44px; font-size: 21px; border-radius: 12px; }
.mf-name { font-weight: 600; font-size: var(--fs-base); }
.mf-meta { margin-top: 2px; font-size: var(--fs-sm); color: var(--ink-3); word-break: break-all; display: flex; align-items: center; gap: 4px; }
.mf-meta svg { width: 12px; height: 12px; opacity: .6; flex-shrink: 0; }
.mf-status { display: inline-flex; align-items: center; font-size: 11px; font-weight: 500; padding: 2px 8px; border-radius: var(--r-pill); }
.mf-status.active { background: var(--felt-soft); color: var(--felt); }
.mf-status.disabled { background: var(--surface-2); color: var(--ink-3); }
.cats-box { margin-top: 12px; padding-top: 14px; border-top: 1px dashed var(--line-strong); }

/* 图片上传网格 */
.img-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.img-item {
  position: relative; border-radius: var(--r-md); overflow: hidden;
  aspect-ratio: 1; border: 1px solid var(--line); background: var(--surface-2);
}
.img-item.cover { outline: 2px solid var(--gold); outline-offset: -2px; }
.img-item img { width: 100%; height: 100%; object-fit: cover; }
.img-item .img-tag {
  position: absolute; left: 6px; bottom: 6px; font-size: 10px; font-weight: 500;
  background: rgba(43, 38, 34, .72); color: #FFF9F0; padding: 2px 7px; border-radius: var(--r-pill);
}
.img-del {
  position: absolute; top: 6px; right: 6px; width: 24px; height: 24px;
  border: none; border-radius: 50%; background: rgba(43, 38, 34, .6); color: #FFF9F0;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background var(--t-fast);
}
.img-del:hover { background: var(--danger); }
.img-del svg { width: 12px; height: 12px; }

/* ---------- 桌面适配 ---------- */
@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
  .modal { align-items: center; padding: 24px; }
  .admin-view { padding: 24px 32px 64px; }
  .modal-sheet { border-radius: 28px; max-height: 88vh; }
  .view { padding: 36px 28px 64px; }
}

/* ---------- 无效链接页（无入口） ---------- */
.invalid-page {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 62vh; text-align: center; padding: 20px;
}
.invalid-code {
  font-family: var(--font-serif); font-size: 76px; font-weight: 600;
  color: var(--line-strong); line-height: 1; letter-spacing: .04em;
}
.invalid-title { font-size: var(--fs-lg); font-weight: 600; margin-top: 12px; }
.invalid-sub { color: var(--ink-3); font-size: var(--fs-sm); margin-top: 4px; }

/* ---------- 后台管理系统布局（深炭侧栏 + 浅色内容区） ---------- */
.admin-layout { display: flex; gap: 24px; align-items: flex-start; }
.admin-side {
  position: sticky; top: 72px; width: 216px; flex-shrink: 0;
  background: linear-gradient(180deg, #26221C 0%, #15120E 100%); /* 炭墨深底，与新版品牌令牌同源 */
  border-radius: var(--r-lg); padding: 16px 12px;
  box-shadow: 0 12px 30px rgba(21, 18, 14, .18);
  display: flex; flex-direction: column;
}
.admin-brand { display: flex; gap: 10px; align-items: center; padding: 4px 6px 16px; border-bottom: 1px solid rgba(255, 249, 240, .08); margin-bottom: 14px; }
.admin-brand .brand-mark { background: linear-gradient(160deg, #C9A24B 0%, #A97F2E 100%); color: #241C10; box-shadow: none; }
.admin-brand-title { font-family: var(--font-serif); font-weight: 600; font-size: 15px; color: #FFF9F0; }
.admin-brand-sub { font-size: 11px; color: rgba(255, 249, 240, .45); margin-top: 1px; }
.admin-nav { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.admin-nav .nav-item {
  display: flex; align-items: center; gap: 11px; width: 100%;
  padding: 11px 13px; border-radius: 10px; border: none; background: transparent;
  font-size: 14px; color: rgba(255, 249, 240, .68); cursor: pointer; font-family: inherit;
  transition: all var(--t-fast); text-align: left; position: relative;
}
.admin-nav .nav-item svg { width: 17px; height: 17px; opacity: .8; flex-shrink: 0; }
.admin-nav .nav-item:hover { background: rgba(255, 249, 240, .07); color: #FFF9F0; }
.admin-nav .nav-item.on { background: var(--brand); color: #FFF9F0; font-weight: 600; box-shadow: 0 4px 12px rgba(183, 59, 54, .35); }
.admin-nav .nav-item.on svg { opacity: 1; }
.admin-side-foot { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255, 249, 240, .08); }
.admin-side-foot .foot-item {
  display: flex; align-items: center; gap: 11px; width: 100%;
  padding: 10px 13px; border-radius: 10px; border: none; background: transparent;
  font-size: 13px; color: rgba(255, 249, 240, .55); cursor: pointer; font-family: inherit;
  transition: all var(--t-fast); text-align: left;
}
.admin-side-foot .foot-item svg { width: 16px; height: 16px; }
.admin-side-foot .foot-item:hover { background: rgba(255, 249, 240, .07); color: #FFF9F0; }
.admin-main { flex: 1; min-width: 0; }

/* 页面头 + KPI 统计卡 */
.admin-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 6px 0 20px; }
.admin-head .ah-title { font-family: var(--font-serif); font-size: 26px; font-weight: 600; letter-spacing: .03em; }
.admin-head .ah-sub { font-size: 13px; color: var(--ink-3); margin-top: 2px; }
.kpi-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; }
.kpi-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 18px 20px; display: flex; align-items: center; gap: 16px;
  transition: all var(--t-fast);
}
.kpi-card:hover { border-color: var(--line-strong); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.kpi-card .kpi-ico {
  width: 48px; height: 48px; border-radius: 13px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.kpi-card .kpi-ico svg { width: 22px; height: 22px; }
.kpi-card .kpi-num { font-size: 28px; font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1.1; }
.kpi-card .kpi-label { font-size: 12.5px; color: var(--ink-3); margin-top: 4px; }

/* 仪表盘双栏活动卡 */
.dash-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 900px) { .dash-grid { grid-template-columns: 1fr 1fr; } }
.dash-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.dash-panel-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.dash-panel-title { font-family: var(--font-serif); font-size: 16px; font-weight: 600; }
.dash-panel-link { font-size: 13px; color: var(--brand); cursor: pointer; }
.dash-panel-link:hover { text-decoration: underline; }
.activity-row { display: flex; align-items: center; gap: 12px; padding: 14px 22px; border-bottom: 1px solid var(--line); }
.activity-row:last-child { border-bottom: none; }
.activity-row:hover { background: #FBFAF5; }
.activity-thumb { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; background: var(--surface-2); flex-shrink: 0; }
.activity-thumb.brand { display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-size: 18px; font-weight: 600; color: #FFF9F0; background: var(--brand); }
.activity-info { flex: 1; min-width: 0; }
.activity-title { font-weight: 500; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.activity-sub { font-size: 12.5px; color: var(--ink-3); margin-top: 2px; }
.activity-time { font-size: 12px; color: var(--ink-3); flex-shrink: 0; }
.dash-empty { padding: 56px 22px; text-align: center; color: var(--ink-3); font-size: 13px; }
.kpi-red { background: #F8E7E3; color: #B0453A; }
.kpi-green { background: var(--felt-soft); color: var(--felt); }
.kpi-gold { background: var(--gold-soft); color: #7C5E1E; }
.kpi-gray { background: var(--surface-2); color: var(--ink-2); }

/* 工具栏 */
.admin-toolbar { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
.at-search { flex: 1; min-width: 200px; position: relative; }
.at-search svg { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 15px; height: 15px; color: var(--ink-3); pointer-events: none; }
.at-search input { padding-left: 36px; padding-right: 34px; }
.at-search .at-clear { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 22px; height: 22px; border: none; background: transparent; color: var(--ink-3); cursor: pointer; border-radius: 50%; }
.at-search .at-clear:hover { background: var(--surface-2); color: var(--ink); }
.admin-toolbar select { width: auto; margin-top: 0; flex-shrink: 0; }

/* 列表卡片与行 */
.admin-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-xs); }
.admin-row { display: flex; align-items: center; gap: 14px; padding: 16px 22px; border-bottom: 1px solid var(--line); transition: background var(--t-fast); }
.admin-row:last-child { border-bottom: none; }
.admin-row:hover { background: #FBFAF5; }
.ar-main { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.ar-thumb { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; background: var(--surface-2); flex-shrink: 0; }
.ar-info { min-width: 0; }
.ar-title { font-weight: 600; font-size: 14px; display: flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ar-sub { font-size: 12.5px; color: var(--ink-3); margin-top: 3px; display: flex; align-items: center; gap: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ar-sub svg { width: 12px; height: 12px; opacity: .6; flex-shrink: 0; }
.ar-cell { color: var(--ink-2); font-size: 13px; text-align: right; white-space: nowrap; flex-shrink: 0; min-width: 84px; }
.ar-cell b { color: var(--ink); font-weight: 600; }
.ar-cell .cell-label { display: block; font-size: 11px; color: var(--ink-3); }
.ar-actions { display: flex; gap: 6px; flex-shrink: 0; }

/* 表格表头（与 .admin-row 同构对齐） */
.admin-thead {
  display: flex; align-items: center; gap: 14px;
  padding: 10px 22px; border-bottom: 1px solid var(--line);
  background: var(--surface-2);
  font-size: 12px; font-weight: 600; color: var(--ink-3); letter-spacing: .03em;
}
.admin-thead .th-chk { width: 17px; flex-shrink: 0; }
.admin-thead .th-main { flex: 1; min-width: 0; }
.admin-thead .th-cell { text-align: right; white-space: nowrap; min-width: 84px; }
.admin-thead .th-actions { text-align: right; white-space: nowrap; }
@media (max-width: 640px) {
  .admin-thead { display: none; }
}

/* 行内元数据行（直达链接 + 产品数 + 复制） */
.ar-meta { margin-top: 8px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ar-link {
  display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px 4px 8px;
  background: var(--brand-soft); color: var(--brand); border-radius: 999px;
  font-size: 12px; font-weight: 500; text-decoration: none;
  border: 1px solid transparent; transition: all var(--t-fast);
}
.ar-link:hover { background: var(--brand); color: #FFF9F0; border-color: var(--brand); }
.ar-link svg { width: 13px; height: 13px; }
.ar-meta-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--line-strong); flex-shrink: 0; }
.ar-meta-item { font-size: 12.5px; color: var(--ink-3); }
.ar-copy {
  margin-left: auto; padding: 4px 10px; font-size: 11.5px; color: var(--ink-3);
  background: transparent; border: 1px solid var(--line-strong); border-radius: 999px;
  cursor: pointer; display: inline-flex; align-items: center; gap: 4px;
  font-family: inherit; transition: all var(--t-fast);
}
.ar-copy:hover { border-color: var(--brand); color: var(--brand); }
.ar-copy svg { width: 12px; height: 12px; }
@media (max-width: 640px) {
  .ar-meta-dot { display: none; }
  .ar-copy { margin-left: 0; }
}
.dim { opacity: .6; }

/* 分页器 */
.admin-pager { display: flex; align-items: center; justify-content: space-between; padding: 14px 22px; gap: 10px; }
.pg-info { font-size: 12.5px; color: var(--ink-3); }
.pg-btns { display: flex; gap: 6px; }
.pg-nav, .pg {
  min-width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink-2); font-size: 13px; cursor: pointer; padding: 0 8px;
  transition: all var(--t-fast); font-family: inherit;
}
.pg-nav:hover, .pg:hover { border-color: var(--brand); color: var(--brand); }
.pg.on { background: var(--brand); border-color: var(--brand); color: #fff; font-weight: 600; }
.pg:disabled, .pg-nav:disabled { opacity: .4; cursor: not-allowed; }
.pg:disabled:hover, .pg-nav:disabled:hover { border-color: var(--line); color: var(--ink-2); }

/* 移动端：侧栏转横向深色导航 */
@media (max-width: 767px) {
  .admin-layout { flex-direction: column; gap: 12px; }
  .admin-side { position: static; width: 100%; padding: 10px; }
  .admin-brand { padding: 4px 4px 10px; }
  .admin-nav { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .admin-nav::-webkit-scrollbar { display: none; }
  .admin-nav .nav-item { width: auto; white-space: nowrap; }
  .admin-side-foot { display: none; }
  .admin-head { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (min-width: 640px) {
  .kpi-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .admin-row { flex-wrap: wrap; gap: 10px; }
  /* 数据列移动端降级为换行展示（不隐藏，信息不丢失） */
  .ar-cell {
    display: flex; align-items: center; gap: 5px;
    text-align: left; white-space: normal;
    order: 10; flex-basis: 100%;
  }
  .ar-cell .cell-label { display: inline; margin-right: 2px; }
  .ar-actions { order: 11; width: 100%; justify-content: flex-end; }
}

/* ---------- 前台搜索条（简洁大气） ---------- */
.catalog-search {
  position: relative; max-width: 520px; margin: 0 auto 26px;
  display: flex; align-items: center;
}
.catalog-search .search-ico {
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  width: 16px; height: 16px; color: var(--ink-3); pointer-events: none;
}
.catalog-search input[type="search"] {
  width: 100%; padding: 13px 96px 13px 46px; font-size: 15px;
  background: var(--surface); border: 1px solid var(--line-strong);
  border-radius: var(--r-pill); outline: none; transition: all var(--t-fast);
  -webkit-appearance: none; appearance: none;
}
.catalog-search input[type="search"]:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(183, 59, 54, .1); }
.catalog-search input[type="search"]::-webkit-search-cancel-button { display: none; }
.catalog-search .cs-clear {
  position: absolute; right: 78px; top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px; border: none; background: transparent; color: var(--ink-3);
  border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.catalog-search .cs-clear:hover { background: var(--surface-2); color: var(--ink); }
.catalog-search .cs-clear svg { width: 13px; height: 13px; }
.catalog-search .cs-btn {
  position: absolute; right: 5px; top: 50%; transform: translateY(-50%);
  border: none; background: var(--brand); color: #FFF9F0;
  padding: 8px 18px; border-radius: var(--r-pill); font-size: 13.5px; font-weight: 500;
  cursor: pointer; transition: background var(--t-fast); font-family: inherit;
}
.catalog-search .cs-btn:hover { background: var(--brand-deep); }

/* ---------- 前台分页器（居中） ---------- */
.catalog-pager {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: 40px 0 6px; flex-wrap: wrap;
}
.catalog-pager .pg-info { font-size: 12.5px; color: var(--ink-3); }

/* ---------- 动效偏好 ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- P2 厂家工作台：确认弹窗 ---------- */
.confirm-sheet { max-width: 420px; border-radius: 20px; }
.confirm-card { padding: 26px 26px 22px; }
.confirm-title { font-family: var(--font-serif); font-size: 19px; font-weight: 600; }
.confirm-msg { color: var(--ink-2); font-size: var(--fs-base); margin-top: 10px; line-height: 1.7; }
.confirm-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }

/* ---------- P2 表格复选框 ---------- */
.admin-row .chk { display: inline-flex; align-items: center; flex-shrink: 0; cursor: pointer; }
.admin-row .chk input { width: 17px; height: 17px; accent-color: var(--brand); cursor: pointer; }

/* ---------- P2 批量工具条 ---------- */
.batch-bar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  background: var(--gold-soft); border: 1px solid #E3D3A6; border-radius: var(--r-md);
  padding: 9px 14px; margin-bottom: 14px;
}
.batch-bar .batch-count { font-size: 13px; font-weight: 600; color: #8A6620; }
.batch-bar select { width: auto; min-width: 150px; margin: 0; }

/* ---------- P2 排序按钮 ---------- */
.sort-btn { min-width: 36px; padding: 7px 8px; }
.sort-btn:disabled { opacity: .35; cursor: not-allowed; }

/* ---------- P2 图片拖拽排序 ---------- */
.img-item.dragging { opacity: .4; outline: 2px dashed var(--gold); }
.img-item[draggable="true"] { cursor: grab; }
.img-item[draggable="true"]:active { cursor: grabbing; }

/* ---------- P2 产品弹层表单 ---------- */
.product-sheet { max-width: 560px; border-radius: 20px; padding: 22px 24px 26px; }
.product-sheet .form-head { margin-bottom: 14px; }
.ink3 { color: var(--ink-3); }

/* ---------- 搜索关键词高亮 ---------- */
mark.hl {
  background: var(--gold-soft);
  color: #8A6620;
  border-radius: 3px;
  padding: 0 1px;
}

/* ---------- 厂家工作台：首次登录引导横幅 ---------- */
.onboard {
  background: linear-gradient(160deg, var(--surface) 0%, var(--gold-soft) 120%);
  border: 1px solid #E3D3A6; border-radius: var(--r-lg);
  padding: 20px 22px; margin-bottom: 16px;
}
.onboard-title { font-family: var(--font-serif); font-size: 17px; font-weight: 600; color: #8A6620; margin-bottom: 14px; }
.onboard-steps { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 700px) { .onboard-steps { grid-template-columns: repeat(3, 1fr); gap: 18px; } }
.onboard-step { display: flex; gap: 10px; align-items: flex-start; }
.onboard-num {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: var(--gold); color: #FFF; font-size: 13px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.onboard-step b { font-size: 14px; font-weight: 600; }
.onboard-step p { font-size: 12.5px; color: var(--ink-2); margin: 3px 0 6px; line-height: 1.6; }
.onboard-foot { margin-top: 14px; display: flex; justify-content: flex-end; }

/* ---------- 总目录：厂家筛选左右布局（厂家多时方便浏览） ---------- */
.catalog-head {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 10px 0 22px; margin-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.catalog-head .brand-mark { width: 56px; height: 56px; font-size: 27px; border-radius: 16px; margin-bottom: 12px; }
.catalog-head .ch-title { font-family: var(--font-serif); font-size: 28px; font-weight: 600; letter-spacing: .05em; margin: 0; }
.catalog-head .ch-sub { font-size: 13px; color: var(--ink-3); margin-top: 4px; }
.catalog-head .catalog-search { margin: 16px auto 0; max-width: 640px; width: 100%; }
@media (max-width: 560px) {
  .catalog-head { padding: 6px 0 16px; }
  .catalog-head .brand-mark { width: 44px; height: 44px; font-size: 21px; border-radius: 13px; margin-bottom: 8px; }
  .catalog-head .ch-title { font-size: 22px; }
  .catalog-head .ch-sub { font-size: 12px; margin-top: 3px; }
  .catalog-head .catalog-search { margin-top: 14px; }
}
.catalog-body { display: flex; gap: 28px; align-items: flex-start; }
.catalog-body .mf-side {
  flex: 0 0 176px; position: sticky; top: 70px;
  display: flex; flex-direction: column; gap: 2px;
  max-height: calc(100vh - 90px); overflow-y: auto;
  padding: 4px 0;
}
.catalog-body .mf-side .chip {
  justify-content: flex-start; text-align: left;
  padding: 10px 14px; border-radius: 10px;
  background: transparent; border: none;
  font-size: 13.5px; font-weight: 500; color: var(--ink-2);
  cursor: pointer; transition: all var(--t-fast); font-family: inherit;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.catalog-body .mf-side .chip:hover { background: var(--surface-2); color: var(--ink); }
.catalog-body .mf-side .chip.on {
  background: var(--brand-soft); color: var(--brand);
  font-weight: 600; box-shadow: none;
}
.catalog-body .catalog-main { flex: 1; min-width: 0; }
@media (max-width: 760px) {
  .catalog-body { flex-direction: column; gap: 14px; }
  .catalog-body .mf-side { position: static; flex: none; width: 100%; max-height: none; }
  .catalog-body .mf-side {
    flex-direction: row; overflow-x: auto; padding: 4px 2px 10px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .catalog-body .mf-side::-webkit-scrollbar { display: none; }
  .catalog-body .mf-side .chip { flex-shrink: 0; }
}
