/* ===========================================================
   KGSHOP-style 前端样式（高保真）
   主色 #409eff，浅灰背景，白卡片，圆形 WhatsApp 按钮
   =========================================================== */

:root {
  --brand: #409eff;
  --brand-dark: #2f7fe0;
  --wa: #25d366;
  --bg: #f7f4ef;
  --card: #ffffff;
  --text: #1f2228;
  --text-2: #6b7280;
  --line: #ececf0;
  --radius: 12px;
  --shadow: 0 2px 12px rgba(20, 23, 28, .06);
  --shadow-hover: 0 10px 28px rgba(20, 23, 28, .12);
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 16px; }

/* ---------- 顶部公告条 ---------- */
.top-bar {
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  text-align: center;
  padding: 6px 12px;
  letter-spacing: .3px;
}
.top-bar a { text-decoration: underline; }

/* ---------- 头部 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 66px;
}
.logo {
  font-size: 24px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: .5px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.logo .mark {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: #23262b;
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 900;
}
.logo-txt { display: flex; flex-direction: column; line-height: 1.15; }
.logo-sub { font-size: 11px; font-weight: 500; color: #8a8f98; letter-spacing: .2px; }

/* 搜索：默认只有放大镜图标，激活后展开为输入框 + Search + 关闭 */
.search-box {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  width: 40px; height: 40px; padding: 0;
  background: #f2f3f5;
  border: 1px solid transparent;
  border-radius: 999px;
  overflow: hidden;
  transition: width .28s cubic-bezier(.22, .61, .36, 1), background .2s, border-color .2s, box-shadow .2s;
}
.search-box:focus-within { background: #fff; border-color: var(--brand); }
.search-icon-btn {
  flex: 0 0 40px; width: 40px; height: 100%; padding: 0;
  border: 0; background: none; cursor: pointer; color: #444;
  display: inline-flex; align-items: center; justify-content: center;
}
.search-icon-btn svg { width: 19px; height: 19px; }
.search-box:hover .search-icon-btn, .search-box.active .search-icon-btn { color: var(--brand); }
.search-box input {
  display: none;
  flex: 1 1 auto; min-width: 0; height: 100%;
  border: none; outline: none; background: transparent;
  font-size: 13.5px; color: var(--text); padding: 0 4px;
}
.search-box .search-submit {
  display: none;
  flex: 0 0 auto; border: 0; cursor: pointer;
  background: var(--brand); color: #fff;
  height: 30px; padding: 0 13px; border-radius: 999px; font-size: 12.5px;
  margin-right: 4px; transition: background .2s;
}
.search-box .search-submit:hover { background: var(--brand-dark); }
.search-box .search-close {
  display: none;
  flex: 0 0 26px; width: 26px; height: 30px; padding: 0; margin-right: 5px;
  border: 0; background: none; cursor: pointer; color: #6b7280;
  font-size: 21px; line-height: 1;
  align-items: center; justify-content: center;
}
.search-box .search-close:hover { color: var(--text); }
.search-box.active {
  width: 330px;
  box-shadow: 0 4px 16px rgba(20, 23, 28, .08);
}
.search-box.active .search-icon-btn { flex-basis: 38px; width: 38px; }
.search-box.active input { display: block; }
.search-box.active .search-submit { display: inline-block; }
.search-box.active .search-close { display: inline-flex; }

/* 头部右侧动作图标 */
.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.icon-btn {
  width: 40px; height: 40px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: #f2f3f5; color: #444;
  transition: background .2s, transform .2s;
}
.icon-btn:hover { background: #e9eaec; transform: translateY(-1px); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn.wa { background: rgba(37, 211, 102, .12); }
.icon-btn.wa:hover { background: rgba(37, 211, 102, .22); }

/* 汉堡菜单（移动端） */
.menu-toggle {
  display: none; width: 34px; height: 34px; padding: 0;
  background: none; border: none; font-size: 20px; cursor: pointer; color: var(--brand);
  align-items: center; justify-content: center; flex: 0 0 auto;
}

/* ---------- 单行分类导航 ---------- */
.cat-nav {
  flex: 1 1 auto;
  min-width: 0;
  position: static;
  overflow: visible; /* mega 面板需要溢出显示 */
}
.nav {
  display: flex; align-items: center; gap: 2px;
  height: 66px; min-width: 0; white-space: nowrap;
}
.nav.measuring { overflow: hidden; }
.nav > a, .nav-item, .nav-more { flex: 0 0 auto; }
.nav > a, .nav-item > a {
  display: inline-flex; align-items: center;
  padding: 0 11px; height: 66px;
  font-size: 13.5px; color: #333; position: relative;
  transition: color .15s;
}
.nav > a:hover, .nav-item > a:hover,
.nav > a.active, .nav-item > a.active { color: var(--brand); }
.nav > a.active::after, .nav-item > a.active::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 0;
  height: 2px; background: var(--brand); border-radius: 2px;
}
.nav-item { position: static; display: flex; align-items: center; }
.nav-item .caret { font-size: 9px; margin-left: 3px; opacity: .6; display: inline-block; transition: transform .2s; }
.nav-item:hover .caret { transform: rotate(180deg); }
.nav > .nav-hidden { display: none !important; }

/* More：按可用宽度收拢多余分类 */
.nav-more { position: relative; display: flex; align-items: center; }
.nav-more[hidden] { display: none !important; }
.nav-more-btn {
  display: inline-flex; align-items: center; gap: 4px;
  height: 66px; padding: 0 12px; border: 0; background: none;
  font: inherit; font-size: 13.5px; color: #333; cursor: pointer;
  transition: color .15s;
}
.nav-more-btn:hover, .nav-more.open .nav-more-btn { color: var(--brand); }
.nav-more .caret { font-size: 9px; opacity: .6; transition: transform .2s; }
.nav-more.open .caret { transform: rotate(180deg); }
.more-menu {
  position: absolute; top: 100%; right: 0; width: 288px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 18px 40px rgba(20, 23, 28, .16);
  padding: 14px; z-index: 320;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  pointer-events: none;
}
.nav-more.open .more-menu { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.more-head {
  display: block; padding: 2px 8px 10px; border-bottom: 1px solid var(--line);
  font-size: 10.5px; font-weight: 800; letter-spacing: 2.2px;
  text-transform: uppercase; color: #c8965a;
}
.more-list { max-height: 320px; overflow-y: auto; padding: 6px 0; white-space: normal; }
.more-link {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 9px 8px; border-radius: 8px; font-size: 13.5px; color: #2b2f36;
}
.more-link:hover, .more-link.active { background: #f6f7f9; color: var(--brand); }
.more-meta { font-size: 11px; color: #9aa0a6; white-space: nowrap; }
.more-all {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--line); padding: 12px 8px 2px;
  font-size: 12.5px; font-weight: 700; color: var(--brand);
}
.more-all:hover { text-decoration: underline; }

/* 悬停弹出的通栏大面板：背景相对 .site-header 全幅铺满，主体由 .dd-inner 约束为 container 宽度 */
.nav-item .dropdown {
  position: absolute; top: 100%; left: 0; right: 0;
  background: #f7f5f1; border-radius: 0;
  box-shadow: 0 22px 44px rgba(20, 23, 28, .16);
  padding: 20px 0 24px; z-index: 300;
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  pointer-events: none;
}
.nav-item:hover .dropdown,
.nav-item .dropdown:hover {
  opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto;
}
/* 与 .container 同宽、同内边距，主体内容居中对齐页面栅格 */
.dd-inner { max-width: 1280px; margin: 0 auto; padding: 0 16px; }
.dd-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 16px; }
.dd-head-left { display: flex; flex-direction: column; gap: 3px; }
.dd-label {
  font-size: 11px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: #c8965a;
}
.dd-count { font-size: 13px; color: #8a8f98; }
.dd-viewall {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; color: #2b2f36; border-radius: 999px;
  padding: 8px 16px; font-size: 12.5px; font-weight: 600;
  box-shadow: 0 3px 10px rgba(20, 23, 28, .08);
  transition: transform .15s, box-shadow .15s;
}
.dd-viewall:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(20, 23, 28, .14); }
.dd-viewall .arrow { font-size: 13px; }
.dd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 16px; }
.dd-card { display: flex; flex-direction: column; align-items: center; text-align: center; }
.dd-img {
  display: block; width: 100%; aspect-ratio: 4 / 5;
  border-radius: 12px; overflow: hidden; background: #e9e6e0;
}
.dd-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .35s ease;
}
.dd-card:hover .dd-img img { transform: scale(1.07); }
.dd-name {
  margin-top: 9px; font-size: 11px; font-weight: 700; letter-spacing: .5px;
  text-transform: uppercase; color: #2b2f36; line-height: 1.35;
  max-width: 100%; word-break: break-word;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.dd-items { margin-top: 2px; font-size: 11px; color: #9aa0a6; }
.dd-card.active .dd-name { color: var(--brand); }

/* 中小屏：搜索展开改为覆盖式，避免挤压单行导航 */
@media (max-width: 1000px) {
  .search-box.active {
    position: absolute; top: 13px; right: 16px;
    width: min(420px, calc(100% - 32px)); z-index: 210;
  }
}

/* ---------- 轮播 Banner（重写版：一次一张撑满容器，箭头/圆点固定位置） ---------- */
.banner { position: relative; padding: 26px 0 4px; }
/* 视口负责裁切与外观；箭头在视口外层，不会被圆角裁掉 */
.banner-viewport {
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 14px 40px rgba(20, 23, 28, .22);
  background: #eceef1; /* 图片加载中时的占位底色 */
}
.banner-track {
  display: flex;
  transition: transform .5s cubic-bezier(.22, .61, .36, 1);
  will-change: transform;
}
.banner-slide { flex: 0 0 100%; min-width: 100%; position: relative; display: block; }
.banner-slide img { width: 100%; height: 420px; object-fit: cover; display: block; }
/* 叠加文案层（参考站 hero 风格） */
.bn-overlay {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
  gap: 12px; padding: 0 7%;
  background: linear-gradient(90deg, rgba(10, 12, 16, .62) 0%, rgba(10, 12, 16, .28) 55%, rgba(10, 12, 16, 0) 100%);
}
.bn-label {
  font-size: 11px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: rgba(255, 255, 255, .95);
}
.bn-title {
  font-family: Georgia, 'Times New Roman', 'Songti SC', serif;
  font-size: clamp(26px, 4.2vw, 54px); line-height: 1.05;
  font-weight: 700; text-transform: uppercase; color: #fff;
  max-width: 88%; text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}
.bn-sub { font-size: 14px; color: rgba(255, 255, 255, .92); }
.bn-btn {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 6px; padding: 10px 22px; border-radius: 999px;
  background: #fff; color: #1f2228; font-size: 13px; font-weight: 600;
  transition: background .2s, transform .2s;
}
.banner-slide:hover .bn-btn { background: #f0f1f3; transform: translateX(2px); }
.bn-btn svg { width: 15px; height: 15px; }
.banner-dots { display: flex; justify-content: center; gap: 8px; padding: 16px 0 0; }
.banner-dots span {
  width: 20px; height: 4px; border-radius: 4px; background: #d9dce1;
  cursor: pointer; transition: background .2s, width .2s;
}
.banner-dots span.active { background: #23262b; width: 28px; }
/* 箭头：垂直居中于图片（26px 上内边距 + 图片高一半），固定内缩在视口两侧 */
.banner-nav {
  position: absolute; top: calc(26px + 210px); transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255, 255, 255, .82); border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #23262b; box-shadow: 0 2px 10px rgba(20, 23, 28, .18);
  transition: background .15s, transform .15s; z-index: 3;
}
.banner-nav:hover { background: #fff; }
.banner-nav:active { transform: translateY(-50%) scale(.94); }
.banner-nav.prev { left: 16px; }
.banner-nav.next { right: 16px; }
@media (max-width: 768px) {
  .banner-nav { width: 34px; height: 34px; top: calc(14px + 105px); }
  .banner-nav.prev { left: 10px; }
  .banner-nav.next { right: 10px; }
}
.wa-auto-note { font-size: 13px; font-weight: 600; color: #1fb855; margin-top: 8px; }

/* ---------- 右侧悬浮按钮（白底细线图标 + 深色菜单钮） ---------- */
.fab-stack {
  position: fixed; right: 16px; bottom: 24px; z-index: 150;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.fab {
  width: 44px; height: 44px; border-radius: 50%; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background: #fff; color: #2b2f36;
  box-shadow: 0 4px 16px rgba(20, 23, 28, .16);
  transition: transform .2s, box-shadow .2s;
}
.fab:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(20, 23, 28, .22); }
.fab svg { width: 20px; height: 20px; }
.fab-menu { background: #1b2130; color: #fff; }
.fab-top { margin-top: 16px; }
.fab-top svg { width: 16px; height: 16px; }

/* 菜单钮控制上方 SNS 按钮的展开 / 收起 */
.fab-stack.collapsed .fab-sns { display: none; }
.fab-stack:not(.collapsed) .fab-sns { animation: fab-pop .24s ease backwards; }
.fab-stack:not(.collapsed) .fab-sns:nth-child(2) { animation-delay: .04s; }
.fab-stack:not(.collapsed) .fab-sns:nth-child(3) { animation-delay: .08s; }
.fab-stack:not(.collapsed) .fab-sns:nth-child(4) { animation-delay: .12s; }
.fab-stack:not(.collapsed) .fab-sns:nth-child(5) { animation-delay: .16s; }
.fab-stack:not(.collapsed) .fab-sns:nth-child(6) { animation-delay: .2s; }
@keyframes fab-pop {
  from { opacity: 0; transform: translateY(12px) scale(.86); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ---------- 区块标题 ---------- */
.section { margin: 20px 0 28px; }
.section-title {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 16px;
}
.section-title h2 {
  font-size: 20px; margin: 0; font-weight: 700; color: #222;
  position: relative; padding-left: 12px;
}
.section-title h2::before {
  content: ""; position: absolute; left: 0; top: 4px; bottom: 4px;
  width: 4px; border-radius: 3px; background: var(--brand);
}
.footer-text { color: var(--text-2); font-size: 13px; }

/* ---------- 分类宫格 ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.cat-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: box-shadow .25s, transform .25s; display: block;
}
.cat-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.cat-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }
.cat-card .name { padding: 10px; font-weight: 600; text-align: center; font-size: 14px; }
.cat-card .cat-children { display: flex; flex-wrap: wrap; gap: 4px; padding: 0 10px 10px; justify-content: center; }
.cat-card .cat-children span { font-size: 11px; color: var(--text-2); background: #f5f7fa; padding: 2px 8px; border-radius: 10px; }

/* ---------- 产品网格 + 卡片 ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.product-card {
  position: relative;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: box-shadow .25s, transform .25s;
  display: flex; flex-direction: column;
}
.product-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.pc-img { position: relative; display: block; overflow: hidden; background: #f5f7fa; }
.pc-img img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block;
  transition: transform .4s ease;
}
.product-card:hover .pc-img img { transform: scale(1.07); }
.pc-zoom {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(20, 23, 28, .28); color: #fff; font-size: 14px; letter-spacing: 1px;
  opacity: 0; transition: opacity .25s;
}
.product-card:hover .pc-zoom { opacity: 1; }
.pc-body { display: flex; flex-direction: column; align-items: flex-start; padding: 12px; } /* 标题在上、批发价在下，不同行 */
.pc-title {
  font-size: 14px; color: #222; line-height: 1.4; font-weight: 500;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}

/* ---------- 面包屑（白色胶囊，参考站样式） ---------- */
.breadcrumb {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; color: #8a8f98;
  background: #fff; border-radius: 999px; padding: 9px 20px;
  margin: 18px 0 10px;
  box-shadow: 0 2px 8px rgba(20, 23, 28, .04);
}
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { color: #c9cdd3; }
.breadcrumb .here { color: #23262b; font-weight: 600; }

/* ---------- 分类页 ---------- */
.sub-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 18px; }
.sub-chip {
  padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-size: 13px; transition: all .2s;
}
.sub-chip:hover, .sub-chip.active { background: var(--brand); color: #fff; border-color: var(--brand); }
/* 带图片的子分类卡片：图片底 + 遮罩 + 居中名称 */
.sub-chips .chip-img {
  position: relative; display: flex; width: 152px; height: 100px;
  padding: 0; border: none; border-radius: 12px; overflow: hidden;
  background: #e9e6e0; box-shadow: 0 2px 10px rgba(20, 23, 28, .08);
  transition: transform .2s, box-shadow .2s;
}
.sub-chips .chip-img:hover {
  background: #e9e6e0; border-color: transparent;
  transform: translateY(-2px); box-shadow: 0 8px 20px rgba(20, 23, 28, .16);
}
.chip-img img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .35s ease;
}
.chip-img:hover img { transform: scale(1.07); }
.chip-overlay {
  position: relative; z-index: 1; display: flex;
  align-items: center; justify-content: center;
  width: 100%; height: 100%; padding: 8px;
  background: rgba(15, 18, 24, .42);
  transition: background .2s;
}
.chip-img:hover .chip-overlay { background: rgba(15, 18, 24, .26); }
.chip-name {
  color: #fff; font-size: 13px; font-weight: 600; letter-spacing: .5px;
  text-align: center; line-height: 1.3; text-shadow: 0 1px 6px rgba(0, 0, 0, .45);
  word-break: break-word;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
/* 主区标题（参考站：COLLECTION 小标 + 衬线大标题） */
.cm-heading { display: flex; flex-direction: column; gap: 2px; }
.cm-label {
  font-size: 11px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: #c8965a;
}
.cm-title {
  margin: 0; font-family: Georgia, 'Times New Roman', serif;
  font-size: 30px; font-weight: 700; color: #23262b; line-height: 1.15;
}
/* 主区标题右侧工具区：数量 + 筛选按钮 */
.cm-tools { display: flex; align-items: center; gap: 10px; }
.cm-count { white-space: nowrap; font-size: 12.5px; }
/* 筛选入口：与全站图标按钮一致的轻量圆钮 */
.filter-toggle {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 8px;
  background: #fff; color: var(--text-2); cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
}
.filter-toggle:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.filter-toggle[aria-expanded="true"] { background: var(--brand); color: #fff; border-color: var(--brand); }
.filter-dot {
  position: absolute; top: 3px; right: 3px; width: 7px; height: 7px;
  border-radius: 50%; background: #e4393c; border: 1px solid #fff;
}
/* 筛选面板：紧凑白卡片，宽度随内容，贴合全站风格 */
.filter-panel {
  display: inline-block; max-width: 100%;
  margin: 2px 0 16px; padding: 13px 15px 14px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.filter-panel[hidden] { display: none; }
.filter-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 11px; }
.filter-group-title {
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: #c8965a;
}
.filter-reset { font-size: 12px; color: var(--text-2); text-decoration: underline; text-underline-offset: 2px; }
.filter-reset:hover { color: var(--brand); }
.filter-options { display: flex; flex-wrap: wrap; gap: 7px; }
.filter-opt {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 52px; padding: 6px 11px; font-size: 12.5px; font-weight: 600; line-height: 1.2;
  color: var(--text-2); background: #fff; border: 1px solid var(--line);
  border-radius: 7px; text-decoration: none; transition: all .15s;
}
.filter-opt:hover { border-color: var(--brand); color: var(--brand); }
.filter-opt.is-active { background: var(--brand); border-color: var(--brand); color: #fff; }
@media (max-width: 640px) {
  .filter-panel { display: block; }
  .filter-options { gap: 6px; }
  .filter-opt { min-width: 0; flex: 1 0 auto; padding: 7px 8px; font-size: 12px; }
}

/* ---------- 分类页：左侧分类目录（参考站 Shop Collections 风格） ---------- */
.cat-layout { display: flex; gap: 26px; align-items: flex-start; }
/* 主内容区必须占满剩余宽度：flex-basis:auto 时宽度由内容决定，
   小屏（column + align-items:flex-start）会塌缩成一小块，桌面端也会被内容撑破 */
.cat-layout > .cat-main { flex: 1 1 auto; min-width: 0; }
.cat-sidebar {
  flex: 0 0 256px; width: 256px;
  background: #fff; border: 1px solid #eee9e2; border-radius: 14px;
  box-shadow: 0 2px 14px rgba(20, 23, 28, .05);
  position: sticky; top: 120px;
  max-height: calc(100vh - 140px); overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: #d9dce1 transparent;
}
.cat-sidebar::-webkit-scrollbar { width: 5px; }
.cat-sidebar::-webkit-scrollbar-thumb { background: #d9dce1; border-radius: 4px; }
.cs-head { padding: 18px 20px 14px; border-bottom: 1px solid #f3efe9; }
.cs-label {
  display: block; font-size: 11px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: #c8965a;
}
.cs-title {
  margin: 6px 0 0; font-family: Georgia, 'Times New Roman', serif;
  font-size: 22px; font-weight: 700; color: #23262b;
}
.cs-list, .cs-sub { list-style: none; margin: 0; padding: 0; }
.cs-list > .cs-node { border-bottom: 1px solid #f4f1ec; }
.cs-list > .cs-node:last-child { border-bottom: none; }
.cs-row { display: flex; align-items: center; gap: 4px; height: 46px; padding: 0 16px; }
.cs-toggle {
  flex: 0 0 18px; width: 18px; height: 46px;
  display: inline-flex; align-items: center; justify-content: flex-start;
  color: #9aa0a6; cursor: pointer; user-select: none;
  transition: transform .2s;
}
.cs-toggle.none { pointer-events: none; }
.cs-node.open > .cs-row > .cs-toggle { transform: rotate(180deg); }
.cs-name {
  flex: 1; font-size: 12.5px; font-weight: 700; letter-spacing: .8px;
  text-transform: uppercase; color: #23262b;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  transition: color .15s;
}
.cs-name:hover { color: var(--brand); }
.cs-all {
  font-size: 11px; font-weight: 600; letter-spacing: 1.2px;
  text-transform: uppercase; color: #b3b8bf; transition: color .15s;
}
.cs-all:hover { color: var(--brand); }
/* 展开态：当前分支顶行浅灰底 */
.cs-node.open > .cs-row { background: #f7f5f1; }
.cs-node.current > .cs-row > .cs-name { color: var(--brand); }
/* 子级列表 */
.cs-sub { display: none; padding: 2px 16px 12px 40px; background: #f7f5f1; }
.cs-node.open > .cs-sub { display: block; }
.cs-sub .cs-row { height: 34px; padding: 0; }
.cs-deep > .cs-row > .cs-name {
  font-size: 12.5px; font-weight: 400; letter-spacing: 0;
  text-transform: none; color: #6b7078;
}
.cs-deep > .cs-row > .cs-name:hover { color: var(--brand); }
.cs-deep.current > .cs-row > .cs-name { color: var(--brand); font-weight: 600; }
.cs-count { font-size: 11.5px; color: #b3b8bf; }
.cs-deep > .cs-row { height: 34px; }
/* 子级再嵌套层级：继续缩进 */
.cs-sub .cs-sub { padding: 0 0 4px 16px; background: transparent; }
/* 移动端折叠头（≤860 显示） */
.cat-sidebar-head {
  display: none; align-items: center; justify-content: space-between;
  font-size: 14px; font-weight: 700; color: #2b2f36;
  padding: 12px 16px; cursor: pointer; user-select: none;
  border-bottom: 1px solid #f3efe9;
}
.cat-sidebar.collapsed .ct-caret { transform: rotate(-90deg); }
.cat-sidebar.collapsed .cs-list { display: none; }

/* ---------- 详情页 ---------- */
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; margin: 20px 0; }
.gallery { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.gallery .main-img { border-radius: 8px; overflow: hidden; background: #f5f7fa; }
.gallery .main-img img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }
.gallery .thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.gallery .thumbs img {
  width: 72px; height: 72px; object-fit: cover; border: 2px solid transparent;
  border-radius: 8px; cursor: pointer; background: #f5f7fa; transition: border-color .2s;
}
.gallery .thumbs img.active { border-color: var(--brand); }

.detail-info { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.detail-info h1 { font-size: 24px; margin: 0 0 12px; }
.detail-info .sku { color: var(--text-2); font-size: 13px; margin-bottom: 10px; }
.detail-info .tag { display: inline-block; background: #ecf5ff; color: var(--brand); padding: 4px 10px; border-radius: 12px; font-size: 12px; margin: 0 6px 6px 0; }
.detail-info .desc { color: #444; white-space: pre-wrap; margin: 16px 0; line-height: 1.7; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--wa); color: #fff; padding: 13px 26px; border-radius: 999px;
  font-weight: 600; margin-top: 16px; transition: transform .2s, box-shadow .2s;
  box-shadow: 0 6px 16px rgba(37, 211, 102, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(37, 211, 102, .45); }
.btn-primary svg { width: 20px; height: 20px; }

/* ---------- 空状态 ---------- */
.empty { text-align: center; padding: 60px 20px; color: var(--text-2); }
.empty h2 { color: #333; }
.empty a { color: var(--brand); }

/* ---------- 首页 CTA 黑条 ---------- */
.home-cta {
  background: #181b20;
  margin: 26px calc(50% - 50vw) 8px;
  padding: 34px 0;
}
.cta-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.cta-copy { max-width: 620px; }
.cta-label {
  display: block; font-size: 11px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; color: #c8965a;
}
.cta-title {
  margin: 8px 0 8px; font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(22px, 3vw, 32px); font-weight: 700; color: #f5f5f5; line-height: 1.2;
}
.cta-text { margin: 0; font-size: 13.5px; line-height: 1.65; color: #a9aeb8; }
.cta-btn {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px;
  background: #25d366; color: #fff !important; border-radius: 999px;
  padding: 13px 24px; font-size: 14px; font-weight: 700;
  box-shadow: 0 4px 14px rgba(37, 211, 102, .28);
  transition: background .15s, transform .15s, box-shadow .15s;
}
.cta-btn:hover { background: #1fb855; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(37, 211, 102, .4); }

/* ---------- 客户评价（User Praise 跑马灯） ---------- */
.praise {
  padding-top: 8px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.praise-head { text-align: center; margin-bottom: 26px; }
.praise-label {
  display: block; font-size: 11px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase; color: #c8965a;
}
.praise-title {
  margin: 8px 0 6px; font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; color: #23262b;
}
.praise-sub { margin: 0; font-size: 13.5px; color: #8a8f98; }
.praise-viewport { overflow: hidden; }
.praise-track {
  display: flex; gap: 16px; width: max-content;
  animation: praise-scroll 45s linear infinite;
}
.praise-viewport:hover .praise-track { animation-play-state: paused; }
@keyframes praise-scroll { to { transform: translateX(-50%); } }
.praise-card {
  width: 250px; flex: 0 0 250px; background: #fff; border-radius: 12px;
  overflow: hidden; box-shadow: 0 2px 10px rgba(20, 23, 28, .06);
}
.pr-img { width: 100%; height: 150px; object-fit: cover; display: block; background: #e9e9e9; }
.pr-img-empty { height: 150px; background: #e9e9e9; }
.pr-body { padding: 12px 14px 16px; }
.pr-user { display: flex; align-items: center; gap: 8px; }
.pr-avatar {
  width: 26px; height: 26px; border-radius: 50%; background: #eae2d6; color: #7a6a52;
  font-size: 12px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center;
}
.pr-name { font-size: 13.5px; font-weight: 700; color: #23262b; }
.pr-stars { margin: 6px 0 4px; font-size: 13px; letter-spacing: 1px; color: #e6a23c; }
.pr-text {
  margin: 0; font-size: 12.5px; line-height: 1.55; color: #6b7078;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* ---------- 结构化深色页脚 ---------- */
.site-footer { background: #171a1f; color: #e8eaed; margin-top: 48px; padding: 40px 0 24px; }
.fp-card {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  border: 1px solid #2c3038; border-radius: 14px; padding: 26px 30px;
  margin: 0 0 40px; background: #1c2027;
}
.fp-label {
  display: block; font-size: 11px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase; color: #c8965a;
}
.fp-title {
  margin: 8px 0 0; font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(20px, 2.6vw, 28px); font-weight: 700; color: #f5f5f5;
}
.fp-steps {
  display: grid; grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 12px 24px; margin: 0; padding: 0; list-style: none;
}
.fp-steps li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #cfd3da; }
.fp-num {
  flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%;
  border: 1px solid #c8965a; color: #c8965a; font-size: 11px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.ft-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 32px; padding-bottom: 34px; }
.ft-logo { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 700; color: #fff; }
.ft-logo .mark {
  width: 30px; height: 30px; border-radius: 6px; background: #fff; color: #171a1f;
  font-weight: 800; display: inline-flex; align-items: center; justify-content: center;
}
.ft-email {
  display: inline-flex; align-items: center; gap: 7px;
  margin: 12px 0 2px; font-size: 13px; color: #e8eaed;
  text-decoration: none; transition: color .15s;
}
.ft-email svg { color: #c8965a; flex: 0 0 auto; }
.ft-email:hover { color: #c8965a; }
.ft-about { margin: 10px 0 16px; max-width: 320px; font-size: 13px; line-height: 1.7; color: #9aa0a9; }
.ft-col h4 {
  margin: 2px 0 14px; font-size: 11px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; color: #8a9099;
}
.ft-col a { display: block; margin-bottom: 9px; font-size: 13.5px; color: #e8eaed; transition: color .15s; }
.ft-col a:hover { color: #c8965a; }
.ft-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid #2c3038; padding-top: 18px; font-size: 12.5px; color: #8a9099;
}
.sns-list { display: flex; justify-content: flex-start; gap: 10px; margin-bottom: 0; }
.sns-list a {
  width: 34px; height: 34px; border-radius: 50%; background: #262b33;
  display: inline-flex; align-items: center; justify-content: center; transition: background .2s, transform .2s;
}
.sns-list a:hover { background: #323843; transform: translateY(-2px); }
.sns-list a svg { width: 18px; height: 18px; }

@media (max-width: 900px) {
  .ft-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .fp-card { flex-direction: column; align-items: flex-start; }
  .fp-steps { width: 100%; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  .home-cta { padding: 24px 0; }
  .cta-title { font-size: 22px; }
  /* 页脚三组链接放同一行：品牌占整行，三组链接平分一行 */
  .ft-grid { display: flex; flex-wrap: wrap; gap: 18px 12px; }
  .ft-brand { flex: 0 0 100%; }
  .ft-col { flex: 1 1 0; min-width: 0; }
  .ft-col h4 { letter-spacing: .5px; }
  .ft-col a { font-size: 12.5px; }
  .fp-steps { grid-template-columns: 1fr; }
  .fp-card { padding: 20px; }
  .ft-bottom { flex-direction: column; gap: 6px; }
  .praise-track { animation: none; }
  .praise-viewport { overflow-x: auto; padding-bottom: 8px; }
  .praise-card { width: 220px; flex-basis: 220px; }
  .praise-dup { display: none; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 1200px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cat-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .banner-slide img { height: 300px; }
  .banner-nav { top: calc(26px + 150px); }
  .detail-layout { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 860px) {
  .cat-layout { flex-direction: column; gap: 12px; align-items: stretch; }
  /* 小屏已有顶部抽屉做分类导航，左侧分类树整块隐藏，只在宽屏显示 */
  .cat-sidebar { display: none; }
  /* 产品列表撑满全屏宽度（每行 2 个），不再按内容宽度收缩 */
  .cat-main { width: 100%; }
}
@media (max-width: 640px) {
  .menu-toggle { display: inline-flex; }
  .header-inner { gap: 8px; height: 58px; padding: 0 12px; flex-wrap: nowrap; min-width: 0; }
  .logo { font-size: 19px; flex: 0 1 auto; min-width: 0; }
  .logo .mark { width: 30px; height: 30px; font-size: 13px; }
  .logo-sub { display: none; }
  /* 小屏不再使用顶部导航下拉（改为汉堡抽屉），容器隐藏以免占位把右侧图标挤出视口 */
  .cat-nav { display: none; }
  .search-box { margin-left: auto; }
  .header-actions { flex: 0 0 auto; margin-left: 8px; }
  .icon-btn { width: 34px; height: 34px; }
  .icon-btn svg { width: 18px; height: 18px; }
  /* 语言弹层限宽，避免超出屏幕 */
  .lang-pop { width: min(210px, calc(100vw - 24px)); }
  /* 消除横向滚动（100vw 出血 + 滚动条会多出几像素） */
  html, body { overflow-x: hidden; }
  .container { padding: 0 12px; }
  .banner {
    width: auto; margin-left: -12px; margin-right: -12px;
    padding: 14px 0 4px;
  }
  .top-bar { font-size: 11.5px; line-height: 1.5; }
  .search-box, .search-icon-btn { width: 34px; height: 34px; }
  .search-icon-btn { flex-basis: 34px; }
  .search-box.active .search-icon-btn { flex-basis: 34px; width: 34px; }
  .search-box.active {
    position: absolute; top: 11px; left: 12px; right: 12px;
    width: auto; height: 36px; z-index: 210;
  }
  .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    height: auto; max-height: min(70vh, 560px); overflow-y: auto;
    background: #fff; border-top: 1px solid var(--line);
    box-shadow: 0 18px 34px rgba(20, 23, 28, .16);
    padding: 6px 0; white-space: normal;
  }
  .nav.open { display: flex; }
  .nav.open > a, .nav.open .nav-item > a { height: auto; line-height: 1.4; padding: 11px 16px; }
  .nav.open .nav-item { flex-direction: column; align-items: stretch; }
  .nav.open > .nav-hidden { display: block !important; }
  .nav.open .nav-more { display: none !important; }
  .nav.open .nav-item .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none; pointer-events: auto;
    box-shadow: none; min-width: 0; max-width: none; padding: 0 0 4px 26px; border-radius: 0;
  }
  .nav.open .dd-head { flex-direction: column; gap: 8px; align-items: flex-start; }
  .nav.open .dd-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .nav.open .dd-name { white-space: normal; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  /* 首页产品小屏每行 4 个（仅首页 Latest / Featured，分类页/详情页仍 2 列） */
  #latestGrid,
  .block-slot[data-block="featured"] .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px;
  }
  #latestGrid .pc-body,
  .block-slot[data-block="featured"] .product-grid .pc-body { padding: 6px; }
  #latestGrid .pc-title,
  .block-slot[data-block="featured"] .product-grid .pc-title { font-size: 11px; }
  /* 分类页子分类图片卡片：手机端每行 4 个（产品仍由 .product-grid 保持 2 列） */
  .sub-chips { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .sub-chips .chip-img { width: auto; height: 74px; border-radius: 8px; }
  .chip-name { font-size: 11px; letter-spacing: 0; }
  .banner-slide img { height: 210px; }
  .detail-info { padding: 16px; }
  .section-title h2 { font-size: 17px; }
  /* 小屏产品卡片：两列撑满全屏时收紧内边距与字号 */
  .pc-body { padding: 10px; }
  .pc-title { font-size: 13px; }
}
@media (max-width: 380px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- 详情页 Add to cart（参考站白胶囊 + 数量步进） ---------- */
.add-cart {
  display: flex; align-items: stretch; width: 100%; max-width: 460px;
  margin-top: 12px; border: 1px solid #e4e4e4; border-radius: 999px;
  background: #fff; overflow: hidden;
}
.ac-btn {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 18px; border: none; background: none; cursor: pointer;
  font-size: 14px; font-weight: 600; color: #23262b;
  transition: background .15s;
}
.ac-btn:hover { background: #f7f7f7; }
.ac-qty {
  display: flex; align-items: center; gap: 10px;
  padding: 0 16px; border-left: 1px solid #eee;
  font-size: 14px; font-weight: 600; color: #23262b;
}
.ac-qty button {
  width: 26px; height: 26px; border-radius: 50%; border: 1px solid #e4e4e4;
  background: #fff; cursor: pointer; font-size: 14px; line-height: 1; color: #444;
  transition: border-color .15s, color .15s;
}
.ac-qty button:hover { border-color: var(--brand); color: var(--brand); }

/* 右侧悬浮组按后台 SNS 平台动态渲染，窄屏缩小避免占位过高 */
@media (max-width: 640px) {
  .fab-stack { gap: 8px; }
  .fab { width: 40px; height: 40px; }
  .fab svg { width: 18px; height: 18px; }
}

/* ---------- 左下角购物车悬浮钮 ---------- */
.cart-fab {
  position: fixed; left: 16px; bottom: 24px; z-index: 160;
  width: 48px; height: 48px; border-radius: 50%; border: none; cursor: pointer;
  background: #1b2130; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(20, 23, 28, .28);
  transition: transform .2s, box-shadow .2s;
}
.cart-fab:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(20, 23, 28, .34); }
.cart-badge {
  position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px;
  padding: 0 5px; border-radius: 999px; background: #ff7d2d; color: #fff;
  font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
}

/* ---------- 右侧询盘抽屉（参考站 Your List 卡片式） ---------- */
.cart-panel { position: fixed; inset: 0; z-index: 400; pointer-events: none; }
.cart-panel.open { pointer-events: auto; }
.cart-mask {
  position: absolute; inset: 0; background: rgba(15, 18, 24, .45);
  opacity: 0; transition: opacity .25s;
}
.cart-panel.open .cart-mask { opacity: 1; }
.cart-drawer {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 94vw);
  background: #f5f3ef; display: flex; flex-direction: column;
  transform: translateX(105%); transition: transform .28s cubic-bezier(.22, .61, .36, 1);
  box-shadow: -12px 0 40px rgba(20, 23, 28, .2);
}
.cart-panel.open .cart-drawer { transform: translateX(0); }
body.cart-locked { overflow: hidden; }
.cart-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 18px 22px 14px; background: #fff; border-bottom: 1px solid #f0ede8;
}
.cart-label {
  display: block; font-size: 11px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: #c8965a;
}
.cart-title {
  margin: 4px 0 0; font-family: Georgia, 'Times New Roman', serif;
  font-size: 24px; font-weight: 700; color: #23262b; line-height: 1.1;
}
.cart-count { font-family: 'Segoe UI', Arial, sans-serif; font-size: 12px; font-weight: 400; color: #9aa0a6; margin-left: 4px; }
.cart-close {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid #e8e8e8; background: #fff;
  font-size: 18px; line-height: 1; color: #444; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .15s, border-color .15s;
}
.cart-close:hover { background: #f4f4f4; border-color: #d9d9d9; }
.cart-body { flex: 1; overflow-y: auto; padding: 16px 18px 22px; display: flex; flex-direction: column; gap: 14px; }
.cart-box {
  background: #fff; border-radius: 14px; padding: 16px;
  box-shadow: 0 1px 6px rgba(20, 23, 28, .04);
}
.cart-box-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
#cartSummary {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: #6b7078;
}
.cart-clear {
  border: none; background: none; cursor: pointer;
  font-size: 12px; color: #6b7078; text-decoration: underline; text-underline-offset: 3px;
}
.cart-clear:hover { color: #e5484d; }
.cart-items { display: flex; flex-direction: column; gap: 4px; }
.cart-empty {
  text-align: center; color: #9aa0a6; font-size: 13px; line-height: 1.8; padding: 22px 6px;
}
.cart-item {
  display: flex; align-items: center; gap: 12px; padding: 10px 0;
  border-bottom: 1px solid #f4f1ec;
}
.cart-item:last-child { border-bottom: none; }
.cart-item img { width: 62px; height: 62px; border-radius: 10px; object-fit: cover; flex: 0 0 62px; background: #f4f4f4; }
.ci-info { flex: 1; min-width: 0; }
.ci-title {
  font-size: 13.5px; font-weight: 700; color: #23262b; line-height: 1.35;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.ci-sub { font-size: 12px; color: #9aa0a6; margin-top: 3px; }
.ci-right { display: flex; align-items: center; gap: 10px; }
.ci-stepper {
  display: flex; align-items: center; gap: 10px;
  border: 1px solid #e4e4e4; border-radius: 999px; padding: 4px 12px;
  font-size: 13.5px; font-weight: 700; color: #23262b;
}
.ci-stepper button {
  border: none; background: none; cursor: pointer; font-size: 15px; color: #6b7078; line-height: 1; padding: 2px;
}
.ci-stepper button:hover { color: var(--brand); }
.ci-remove { border: none; background: none; color: #c9cdd3; cursor: pointer; font-size: 18px; line-height: 1; padding: 2px 4px; }
.ci-remove:hover { color: #e5484d; }
.cart-form-title { margin: 0 0 4px; font-size: 16px; font-weight: 700; color: #23262b; }
.cart-form-sub { margin: 0 0 14px; font-size: 13px; color: #8a8f98; }
.cart-wa-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 6px; }
.cart-wa-row span {
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: #3a3f47;
}
.cart-wa-row span em { font-style: normal; color: #e5484d; }
.cart-wa-row input,
.cart-wa-row textarea {
  width: 100%; border: 1px solid #e4e4e4; border-radius: 10px; padding: 11px 14px;
  font-size: 14px; font-family: inherit; outline: none; resize: vertical;
  transition: border-color .15s, box-shadow .15s; background: #fff;
}
.cart-wa-row textarea { line-height: 1.5; }
.cart-wa-row input:focus,
.cart-wa-row textarea:focus { border-color: #23262b; box-shadow: 0 0 0 3px rgba(20, 23, 28, .07); }
.cart-hint { margin: -2px 0 12px; font-size: 12px; color: #9aa0a6; }
.cart-submit {
  width: 100%; height: 50px; margin-top: 6px; border: none; border-radius: 999px; cursor: pointer;
  background: #16181d; color: #fff; font-size: 15px; font-weight: 700;
  transition: background .2s;
}
.cart-submit:hover { background: #2b2f3a; }
.cart-submit:disabled { opacity: .6; cursor: default; }
.cart-note { margin: 12px 2px 0; font-size: 12px; line-height: 1.6; color: #6b7078; }
.cart-note.dim { margin-top: 8px; color: #9aa0a6; }

/* ---------- 询盘订单页 ---------- */
.order-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 6px 0 18px; flex-wrap: wrap; }
.order-no {
  margin: 4px 0 6px; font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(28px, 4vw, 42px); font-weight: 700; color: #23262b; line-height: 1.1;
}
.order-meta { font-size: 13px; color: #8a8f98; }
.order-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.order-btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 999px;
  background: #fff; border: 1px solid #e4e4e4; color: #23262b;
  font-size: 13.5px; font-weight: 600; cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}
.order-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(20, 23, 28, .1); }
.order-btn.wa { background: #25d366; border-color: #25d366; color: #fff; }
.order-btn.wa:hover { background: #1fb855; }
.order-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; align-items: start; margin-bottom: 30px; }
.order-card {
  background: #fff; border-radius: 14px; padding: 20px 22px;
  box-shadow: 0 2px 12px rgba(20, 23, 28, .05);
}
.oc-label {
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: #c8965a; margin-bottom: 8px;
}
.order-item {
  display: flex; align-items: center; gap: 14px; padding: 13px 0;
  border-bottom: 1px solid #f4f1ec;
}
.order-item:last-child { border-bottom: none; }
.order-item img { width: 60px; height: 60px; border-radius: 10px; object-fit: cover; flex: 0 0 60px; background: #f4f4f4; }
.oi-info { flex: 1; min-width: 0; }
.oi-title {
  font-size: 14px; font-weight: 600; color: #23262b;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; line-height: 1.45; word-break: break-word;
}
.order-item:hover .oi-title { color: var(--brand); }
.oi-sub { font-size: 12.5px; color: #9aa0a6; margin-top: 3px; }
.oi-qty { font-size: 13px; color: #6b7078; font-weight: 600; }
.od-row { display: flex; flex-direction: column; gap: 3px; padding: 9px 0; }
.od-k { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #9aa0a6; }
.od-v { font-size: 14px; color: #23262b; }
.od-link { font-size: 12.5px; color: #6b7078; word-break: break-all; line-height: 1.5; }
.order-another {
  display: block; margin-top: 14px; text-align: center;
  height: 44px; line-height: 42px; border-radius: 999px;
  border: 1px solid #e4e4e4; color: #23262b; font-size: 13.5px; font-weight: 600;
  transition: border-color .15s, color .15s;
}
.order-another:hover { border-color: var(--brand); color: var(--brand); }
.order-another.wa {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #25d366; border-color: #25d366; color: #fff;
}
.order-another.wa:hover { background: #1fb855; border-color: #1fb855; color: #fff; }
@media (max-width: 860px) {
  .order-layout { grid-template-columns: 1fr; }
  .order-actions { width: 100%; }
  .order-btn { flex: 1; justify-content: center; }
}

/* ---------- 首页特色卡片（参考站 01/02/03） ---------- */
.home-features { padding-top: 20px; }
.hf-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hf-card {
  background: #fff; border-radius: 12px; padding: 20px 22px 22px;
  box-shadow: 0 2px 10px rgba(20, 23, 28, .04);
  transition: transform .2s, box-shadow .2s;
}
.hf-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(20, 23, 28, .1); }
.hf-num { display: block; font-size: 12px; font-weight: 700; letter-spacing: 1px; color: #c8965a; }
.hf-title { margin: 9px 0 7px; font-size: 15.5px; font-weight: 700; color: #23262b; line-height: 1.3; }
.hf-text { margin: 0; font-size: 13px; line-height: 1.65; color: #8a8f98; }
@media (max-width: 860px) {
  .hf-grid { grid-template-columns: 1fr; gap: 12px; }
  .hf-card { padding: 16px 18px 18px; }
}

/* ---------- 首页分类区大标题（Shop by category） ---------- */
.cats-head { text-align: center; margin: 6px 0 32px; }
.ch-label {
  display: block; font-size: 11px; font-weight: 700;
  letter-spacing: 2.5px; text-transform: uppercase; color: #c8965a;
}
.ch-title {
  margin: 9px 0 7px; font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(24px, 3.4vw, 38px); font-weight: 700; color: #23262b; line-height: 1.15;
}
.ch-sub { margin: 0 auto; max-width: 580px; font-size: 13.5px; line-height: 1.6; color: #8a8f98; }
@media (max-width: 640px) {
  .cats-head { margin-bottom: 22px; }
}

/* ---------- 首页分类分组（参考站样式） ---------- */
.cat-group { padding-top: 6px; }
.cg-head {
  position: relative; display: flex; align-items: center; justify-content: center;
  gap: 10px; margin: 2px 0 24px;
}
.cg-num {
  align-self: flex-start; margin-top: 0;
  font-size: 12px; font-weight: 700; letter-spacing: 1px; color: #c8965a;
}
.cg-title {
  margin: 0; font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(24px, 3.2vw, 36px); font-weight: 700; color: #23262b; line-height: 1.1;
}
.cg-viewall {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  display: inline-flex; align-items: center; gap: 6px;
  height: 36px; padding: 0 16px; border-radius: 999px;
  background: #fff; border: 1px solid #e8e6e1;
  font-size: 13px; font-weight: 600; color: #3a3f47;
  transition: color .15s, border-color .15s, box-shadow .15s;
}
.cg-viewall .arrow { transition: transform .15s; }
.cg-viewall:hover { color: var(--brand); border-color: var(--brand); box-shadow: 0 4px 12px rgba(20, 23, 28, .08); }
.cg-viewall:hover .arrow { transform: translateX(3px); }
.cg-grid { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; }
.cg-card {
  display: flex; flex-direction: column; width: 178px;
  background: #fff; border-radius: 12px; padding: 8px 8px 15px;
  text-align: center; box-shadow: 0 2px 10px rgba(20, 23, 28, .05);
  transition: transform .2s, box-shadow .2s;
}
.cg-card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(20, 23, 28, .12); }
.cg-img { display: block; border-radius: 9px; overflow: hidden; aspect-ratio: 1 / 1; background: #f4f4f4; }
.cg-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.cg-card:hover .cg-img img { transform: scale(1.06); }
.cg-name {
  display: block; margin-top: 11px; padding: 0 6px;
  font-size: 13px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase;
  color: #23262b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cg-items { display: block; margin-top: 4px; font-size: 12px; color: #9aa0a6; }
@media (max-width: 640px) {
  .cg-grid { gap: 12px; }
  /* 手机端每行 4 个：4 张 + 3 个 12px 间距 = 25% - 9px */
  .cg-card { width: calc(25% - 9px); padding: 6px 5px 12px; }
  .cg-name { margin-top: 8px; font-size: 12px; letter-spacing: .2px; }
  .cg-items { margin-top: 3px; font-size: 11px; }
  .cg-viewall { position: static; transform: none; height: 32px; padding: 0 12px; font-size: 12px; }
  .cg-head { flex-wrap: wrap; }
}

/* ---------- 产品详情页（参考站：左图库 / 右信息卡） ---------- */
.dp-crumb {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  padding: 18px 0 4px; font-size: 12px; color: #8a8f98;
}
.dp-crumb a { color: #6b7280; }
.dp-crumb a:hover { color: var(--brand); }
.dp-crumb .sep { color: #c9ccd2; }
.dp-crumb .here {
  color: #3a3f47; max-width: 62%; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap;
}

.dp-layout {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 28px; align-items: start; margin: 16px 0 40px;
}
.dp-gallery { min-width: 0; }
.dp-stage {
  position: relative; background: #fff; border: 1px solid #eeece8;
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 2px 14px rgba(20, 23, 28, .04);
}
.dp-stage #mainImg {
  display: block; width: 100%; aspect-ratio: 1 / 1;
  object-fit: cover; background: #faf9f7;
}
.dp-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid #eceae5;
  background: rgba(255, 255, 255, .94); color: #3a3f47;
  font-size: 26px; line-height: 1; display: flex;
  align-items: center; justify-content: center; cursor: pointer;
  box-shadow: 0 2px 8px rgba(20, 23, 28, .1);
  transition: background .15s, color .15s;
}
.dp-arrow:hover { background: #23262b; color: #fff; }
.dp-prev { left: 14px; }
.dp-next { right: 14px; }
.dp-counter {
  position: absolute; right: 14px; bottom: 14px;
  padding: 5px 11px; border-radius: 999px;
  background: rgba(28, 31, 36, .72); color: #fff;
  font-size: 12px; letter-spacing: .5px;
}
.dp-thumbs {
  display: flex; gap: 10px; margin-top: 12px;
  overflow-x: auto; padding-bottom: 4px;
}
.dp-thumbs img {
  flex: 0 0 auto; width: 76px; height: 76px; object-fit: cover;
  border: 2px solid transparent; border-radius: 10px;
  background: #faf9f7; cursor: pointer;
  transition: border-color .15s, opacity .15s;
}
.dp-thumbs img:hover { opacity: .82; }
.dp-thumbs img.active { border-color: #23262b; }

.dp-panel {
  background: #fff; border: 1px solid #eeece8; border-radius: 14px;
  padding: 26px 28px 30px;
  box-shadow: 0 2px 14px rgba(20, 23, 28, .04);
}
.dp-back {
  display: inline-flex; align-items: center; gap: 6px;
  border: 0; background: none; padding: 0; cursor: pointer;
  font-size: 13px; color: #8a8f98;
}
.dp-back:hover { color: #23262b; }
.dp-tip {
  display: flex; align-items: flex-start; gap: 9px;
  margin: 18px 0 20px; padding: 11px 14px;
  background: #f7f5f0; border: 1px solid #eeeae1; border-radius: 9px;
  font-size: 12.5px; line-height: 1.55; color: #6f6455;
}
.dp-tip .dot {
  flex: 0 0 auto; width: 7px; height: 7px; margin-top: 6px;
  border-radius: 50%; background: #c8965a;
}
.dp-title {
  margin: 0 0 14px; font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(24px, 2.6vw, 34px); line-height: 1.22;
  font-weight: 700; color: #23262b;
}
.dp-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 22px; }
.dp-chips span {
  padding: 5px 11px; border-radius: 999px; background: #f4f2ee;
  border: 1px solid #eae7e0; font-size: 11.5px; color: #6f6455;
}
.dp-wa {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  width: 100%; height: 48px; border-radius: 999px;
  background: var(--wa); color: #fff; font-size: 14.5px; font-weight: 700;
  box-shadow: 0 6px 16px rgba(37, 211, 102, .26);
  transition: transform .18s, box-shadow .18s;
}
.dp-wa:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(37, 211, 102, .34); }
.dp-wa svg { width: 20px; height: 20px; color: #fff !important; }
.dp-reply { margin: 9px 0 20px; text-align: center; font-size: 11.5px; color: #9aa0a6; }
.dp-panel .add-cart { max-width: none; margin-top: 0; border-color: #e8e6e1; }
.dp-panel .ac-btn { padding: 13px 14px; }
.dp-hr { border: 0; border-top: 1px solid #eeece8; margin: 26px 0 20px; }
.dp-section-title {
  font-size: 13px; font-weight: 700; letter-spacing: .6px;
  text-transform: uppercase; color: #23262b; margin-bottom: 12px;
}
.dp-desc { font-size: 13px; line-height: 1.75; color: #6b7280; margin-bottom: 18px; }
.dp-spec { width: 100%; border-collapse: collapse; font-size: 13px; }
.dp-spec th, .dp-spec td {
  padding: 10px 0; border-bottom: 1px solid #f1efeb;
  text-align: left; vertical-align: top;
}
.dp-spec th { width: 38%; font-weight: 500; color: #9aa0a6; }
.dp-spec td { color: #3a3f47; font-weight: 600; text-align: right;}
.dp-spec tr:last-child th, .dp-spec tr:last-child td { border-bottom: 0; }

@media (max-width: 900px) {
  .dp-layout { grid-template-columns: 1fr; gap: 18px; margin-bottom: 28px; }
  .dp-panel { padding: 22px 20px 26px; }
}
@media (max-width: 640px) {
  .dp-crumb { padding-top: 14px; font-size: 11.5px; }
  .dp-thumbs img { width: 62px; height: 62px; }
  .dp-arrow { width: 32px; height: 32px; font-size: 22px; }
  .dp-title { font-size: 24px; }
  .dp-panel { padding: 18px 16px 22px; }
  .dp-panel .ac-qty { padding: 0 10px; gap: 7px; }
}

/* ---------- 详情页同分类随机产品 ---------- */
.dp-related {
  margin: 8px 0 40px; padding-top: 26px;
  border-top: 1px solid #eeece8;
}
.dp-related .section-title { margin-bottom: 18px; }
.dp-related .section-title h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 22px; color: #23262b;
}
.dp-related-count { font-size: 12px; color: #9aa0a6; }
.dp-related-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) {
  .dp-related-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .dp-related-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .dp-related .section-title h2 { font-size: 19px; }
}

/* ---------- 产品卡片：加购按钮 + 浏览量徽标 ---------- */
.pc-cart, .pc-views {
  position: absolute; top: 10px; z-index: 3;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .96); border: 1px solid #eae7e1;
  color: #3a3f47; box-shadow: 0 2px 8px rgba(20, 23, 28, .09);
}
.pc-cart {
  left: 10px; width: 34px; height: 34px; border-radius: 9px;
  padding: 0; cursor: pointer;
  transition: background .15s, color .15s, transform .15s;
}
.pc-cart:hover { background: #23262b; color: #fff; transform: translateY(-2px); }
.pc-cart.added { background: var(--wa); border-color: var(--wa); color: #fff; }
.pc-views {
  right: 10px; height: 26px; padding: 0 9px; gap: 4px;
  border-radius: 999px; font-size: 11.5px; font-weight: 600;
  line-height: 1; letter-spacing: .2px;
  pointer-events: none;
}
.pc-views svg { opacity: .65; }
@media (max-width: 640px) {
  .pc-cart { top: 8px; left: 8px; width: 30px; height: 30px; }
  .pc-cart svg { width: 16px; height: 16px; }
  .pc-views { top: 8px; right: 8px; height: 23px; padding: 0 7px; font-size: 11px; }
}

/* ---------- 区块标题右侧「View all」 ---------- */
.section-viewall {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 12.5px; font-weight: 600; color: #8a8f98;
  transition: color .15s;
}
.section-viewall:hover { color: var(--brand); }
.section-viewall .arrow { font-size: 15px; line-height: 1; }

/* ---------- 所有分类页：分组卡片（比首页分类卡片更小） ---------- */
.cat-all-layout > .cat-main { flex: 1; min-width: 0; }
.cat-all { padding-bottom: 24px; }
.cat-all .cat-group { padding-top: 10px; }
.cat-all .cg-grid { gap: 14px; }
.cat-all .cg-card { width: 146px; padding: 6px 6px 12px; }
.cat-all .cg-img { border-radius: 7px; }
.cat-all .cg-name { margin-top: 8px; font-size: 12px; }
.cat-all .cg-items { font-size: 11px; }
@media (max-width: 640px) {
  .cat-all .cg-grid { gap: 8px; }
  /* 手机端每行 4 个：4 张 + 3 个 8px 间距 = 25% - 6px */
  .cat-all .cg-card { width: calc(25% - 6px); padding: 4px 4px 10px; }
  .cat-all .cg-img { border-radius: 6px; }
  .cat-all .cg-name { margin-top: 6px; font-size: 11px; letter-spacing: .2px; }
  .cat-all .cg-items { margin-top: 2px; font-size: 10px; }
  .cat-all .cg-viewall { position: static; transform: none; }
}

/* ---------- 小屏分类抽屉（参考目录站） ---------- */
.mnav, .mnav-mask { display: none; }
@media (max-width: 640px) {
  .mnav-mask {
    position: fixed; inset: 0; z-index: 420;
    background: rgba(20, 23, 28, .45);
    opacity: 0; pointer-events: none; transition: opacity .2s;
  }
  /* 只有真正显示时才参与布局与点击拦截（display:block 会覆盖 [hidden] 的 UA 样式，
     导致透明遮罩一直铺满屏幕、汉堡按钮收不到点击） */
  .mnav-mask:not([hidden]) {
    display: block; opacity: 1; pointer-events: auto;
  }
  .mnav {
    display: flex; flex-direction: column;
    position: fixed; top: 0; bottom: 0; left: 0; z-index: 430;
    width: min(86%, 340px); overflow-y: auto; -webkit-overflow-scrolling: touch;
    background: #f7f5f1; box-shadow: 12px 0 34px rgba(20, 23, 28, .18);
    transform: translateX(-102%); transition: transform .26s ease;
  }
  .mnav.open { transform: translateX(0); }
  body.mnav-lock { overflow: hidden; }
  .mnav-head {
    position: sticky; top: 0; z-index: 2;
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 18px; background: #f7f5f1; border-bottom: 1px solid #e7e2da;
  }
  .mnav-title {
    font-size: 15px; font-weight: 800; letter-spacing: 2.5px;
    text-transform: uppercase; color: #23262b;
  }
  .mnav-close {
    width: 34px; height: 34px; border: 0; background: none; cursor: pointer;
    font-size: 26px; line-height: 1; color: #3a3f47; padding: 0;
    display: flex; align-items: center; justify-content: center;
  }
  .mnav-close:hover { color: #23262b; }
  .mnav-body { padding: 6px 0 26px; }
  .mnav-plain {
    display: block; padding: 13px 18px; font-size: 12.5px; font-weight: 700;
    letter-spacing: 1.8px; text-transform: uppercase; color: #3a3f47;
    border-bottom: 1px solid #eceae4;
  }
  .mnav-plain:hover, .mnav-plain.current { color: var(--brand); }
  .mnav-group { border-bottom: 1px solid #eceae4; }
  .mnav-group-head {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    width: 100%; padding: 13px 18px; border: 0; background: none; cursor: pointer;
    font: inherit; font-size: 12.5px; font-weight: 700; letter-spacing: 1.8px;
    text-transform: uppercase; color: #23262b; text-align: left;
  }
  .mnav-group-head:hover { color: var(--brand); }
  .mnav-caret { font-size: 10px; color: #8a8f98; transition: transform .2s; }
  .mnav-group.open .mnav-caret { transform: rotate(180deg); }
  .mnav-sub { display: none; padding: 2px 0 10px; }
  .mnav-group.open .mnav-sub { display: block; }
  .mnav-sub-item {
    display: flex; align-items: center; gap: 12px;
    padding: 8px 18px; color: #23262b;
  }
  .mnav-sub-item:hover { background: rgba(0, 0, 0, .03); }
  .mnav-sub-item.current .mnav-sub-name { color: var(--brand); font-weight: 700; }
  .mnav-sub-thumb {
    flex: 0 0 auto; width: 44px; height: 44px; border-radius: 8px; overflow: hidden;
    background: #fff; border: 1px solid #eceae4; display: block;
  }
  .mnav-sub-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .mnav-sub-name {
    flex: 1 1 auto; min-width: 0; font-size: 13.5px;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }
  .mnav-sub-count { flex: 0 0 auto; font-size: 12px; color: #9aa0a6; }
}
