/* 冥鱼沧商城门户 — 设计令牌 + 公共壳 + 响应式 */
:root {
  /* ickey.cn 风格视觉令牌 · 文案仍为冥鱼沧商城 */
  --c-brand: #0094e7;
  --c-brand-dark: #0077c2;
  --c-brand-soft: #e8f6fd;
  --c-brand-deep: #10337d;
  --c-bg: #f5f6f8;
  --c-orange: #ff6600;
  --c-orange-dark: #e85f15;
  --c-price: #ff6600;
  --c-link: #0094e7;
  --c-text: #333333;
  --c-text-2: #666666;
  --c-text-3: #999999;
  --c-border: #e5e5e5;
  --c-border-2: #f0f0f0;
  --c-white: #ffffff;
  --c-success: #009d2b;
  --c-warning: #e0a73f;
  --c-dark: #10337d;
  --c-dark-2: #0c2760;
  --header-h: 32px;
  --nav-h: 42px;
  --content-w: 1200px;
  --cate-w: 210px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --radius: 2px;
  --font: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 14px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.55;
}

a {
  color: var(--c-text);
  text-decoration: none;
}

.link-button {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.link-button:hover {
  color: var(--c-brand);
}
a:hover {
  color: var(--c-brand);
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

img {
  max-width: 100%;
  border: 0;
  vertical-align: middle;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--content-w);
  margin: 0 auto;
  padding: 0 16px;
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

.flex {
  display: flex;
}
.flex-1 {
  flex: 1;
}
.flex-center {
  display: flex;
  align-items: center;
}
.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hidden {
  display: none !important;
}
.text-brand {
  color: var(--c-brand);
}
.text-muted {
  color: var(--c-text-3);
}
.text-link {
  color: var(--c-link);
}

/* ========== 顶栏 ========== */
.site-topbar {
  height: var(--header-h);
  background: #f7f7f7;
  border-bottom: 1px solid #eee;
  font-size: 12px;
  color: var(--c-text-2);
}
.site-topbar .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.topbar-left,
.topbar-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}
.topbar-left span,
.topbar-left a {
  color: var(--c-text-2);
}
.topbar-phone {
  color: var(--c-brand);
  font-weight: 600;
  margin-left: 12px;
}
.topbar-right a {
  color: var(--c-text-2);
  padding: 0 10px;
}
.topbar-right a:hover {
  color: var(--c-brand);
}
.topbar-right a.stress {
  color: var(--c-brand);
  font-weight: 600;
}
.topbar-right .split {
  width: 1px;
  height: 12px;
  background: #ddd;
}
.topbar-welcome .login-link {
  color: var(--c-brand);
  margin: 0 4px;
  font-weight: 600;
}

/* ========== Logo 行（门户：无大搜索，次要交易入口） ========== */
.site-header {
  background: var(--c-white);
  padding: 16px 0 14px;
  border-bottom: 0;
}
.site-header .container {
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 4px;
  background: var(--c-brand);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 148, 231, 0.28);
}
.logo-text {
  line-height: 1.25;
}
.logo-text strong {
  display: block;
  font-size: 22px;
  color: var(--c-brand-deep);
  font-weight: 700;
  letter-spacing: 0.5px;
}
.logo-text span {
  font-size: 11px;
  color: var(--c-text-3);
  letter-spacing: 0.5px;
}

/* 搜索面板 */

.search-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 0;
  font-size: 12px;
}
.search-tabs button {
  color: var(--c-text-2);
  padding: 6px 14px 8px;
  border: 1px solid transparent;
  border-bottom: 0;
  background: transparent;
  border-radius: 2px 2px 0 0;
  margin-bottom: -1px;
  position: relative;
  z-index: 1;
}
.search-tabs button.active {
  color: var(--c-brand);
  font-weight: 600;
  background: #fff;
  border-color: var(--c-brand);
  border-bottom-color: #fff;
}
.search-box {
  display: flex;
  height: 42px;
  border: 2px solid var(--c-brand);
  border-radius: 2px;
  overflow: hidden;
  background: #fff;
}
.search-box select {
  border: 0;
  border-right: 1px solid var(--c-border);
  padding: 0 10px;
  color: var(--c-text-2);
  background: #fafafa;
  outline: none;
  min-width: 72px;
}
.search-box input {
  flex: 1;
  border: 0;
  padding: 0 14px;
  outline: none;
  font-size: 14px;
  color: var(--c-text);
}
.search-box .btn-search {
  width: 96px;
  background: var(--c-brand);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}
.search-box .btn-search:hover {
  background: var(--c-brand-dark);
}
.search-hot {
  margin-top: 8px;
  color: var(--c-text-3);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
}
.search-hot a {
  color: var(--c-text-3);
  margin-right: 12px;
}
.search-hot a:hover {
  color: var(--c-brand);
}

.header-actions {
  display: flex;
  gap: 10px;
  margin-left: auto;
  align-items: center;
}
.header-action {
  min-width: 96px;
  height: 38px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #fff;
  color: var(--c-text);
  font-size: 13px;
  box-shadow: var(--shadow);
  padding: 0 12px;
}
.header-action:hover {
  border-color: var(--c-brand);
  color: var(--c-brand);
}
.header-action .badge {
  background: var(--c-orange);
  color: #fff;
  border-radius: 10px;
  padding: 0 6px;
  font-size: 11px;
  min-width: 16px;
  text-align: center;
  line-height: 16px;
}
.header-action.bom {
  border-color: var(--c-brand);
  background: var(--c-brand-soft);
  color: var(--c-brand);
  font-weight: 600;
}
.header-action.primary {
  background: var(--c-brand);
  border-color: var(--c-brand);
  color: #fff;
  font-weight: 600;
}
.header-action.primary:hover {
  background: var(--c-brand-dark);
  color: #fff;
}
.header-slogan {
  display: none;
}
.site-header.has-slogan .header-slogan {
  display: block;
  flex: 1;
  color: var(--c-text-3);
  font-size: 13px;
  text-align: right;
  padding-right: 8px;
}
.search-panel {
  flex: 1;
  max-width: 640px;
  min-width: 260px;
  padding-top: 0;
}
/* ========== 门户主导航 ========== */
.site-nav {
  background: var(--c-brand-deep);
  border-bottom: 0;
  box-shadow: none;
  position: sticky;
  top: 0;
  z-index: 45;
}
.site-nav .container {
  display: flex;
  align-items: stretch;
  justify-content: center;
  height: var(--nav-h);
  position: relative;
}
.site-nav .nav-cate-wrap {
  flex: 0 0 auto;
}
.site-nav .nav-links {
  flex: 0 1 auto;
}
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 4px 0;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: var(--radius);
  color: #fff;
  font-size: 18px;
  background: transparent;
}
.nav-cate-trigger {
  width: auto;
  min-width: 168px;
  height: var(--nav-h);
  background: var(--c-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 600;
  gap: 8px;
  position: relative;
  z-index: 30;
  white-space: nowrap;
}
.nav-cate-trigger:hover {
  color: #fff;
  background: var(--c-brand-dark);
}
.nav-links {
  display: flex;
  align-items: center;
  flex: 1;
  padding-left: 4px;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.nav-links a,
.nav-links .nav-item > a {
  padding: 0 14px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  position: relative;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active,
.nav-links .nav-item > a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 0;
  height: 3px;
  background: var(--c-brand);
}
.nav-links a .tag-hot {
  margin-left: 4px;
  background: var(--c-orange);
  color: #fff;
  font-size: 10px;
  padding: 0 4px;
  border-radius: 2px;
  font-weight: 400;
  line-height: 14px;
}

/* 下拉 */
.nav-item {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}
.nav-item > a .caret {
  margin-left: 3px;
  font-size: 10px;
  opacity: 0.7;
}
.nav-dropdown {
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 180px;
  background: #fff;
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius);
  padding: 6px 0;
  z-index: 50;
}
.nav-item:hover .nav-dropdown {
  display: block;
}
.nav-dropdown a {
  display: block;
  height: auto !important;
  padding: 8px 16px !important;
  font-size: 13px;
  color: var(--c-text-2);
  white-space: nowrap;
}
.nav-dropdown a:hover {
  background: var(--c-brand-soft);
  color: var(--c-brand);
}

/* 分类下拉面板（产品交易保留） */
.cate-panel {
  position: absolute;
  left: 0;
  top: 100%;
  width: var(--cate-w);
  background: #fff;
  border: 1px solid var(--c-border);
  border-top: 0;
  box-shadow: var(--shadow);
  z-index: 40;
  display: none;
  max-height: 420px;
  overflow-y: auto;
}
.nav-cate-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-cate-wrap:hover .cate-panel,
.nav-cate-wrap.open .cate-panel,
body.is-home.mall-mode .cate-panel {
  display: block;
}
.cate-item {
  position: relative;
}
.cate-item > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  color: var(--c-text);
  border-bottom: 1px solid var(--c-border-2);
  font-size: 13px;
}
.cate-item > a:hover,
.cate-item.active > a {
  background: var(--c-brand-soft);
  color: var(--c-brand);
}
.cate-item .arrow {
  color: #ccc;
  font-size: 10px;
}
.cate-detail {
  display: none;
  position: absolute;
  left: calc(var(--cate-w) - 1px);
  top: 0;
  width: 720px;
  max-width: calc(100vw - 240px);
  min-height: 100%;
  background: #fff;
  border: 1px solid var(--c-border);
  box-shadow: var(--shadow);
  padding: 16px 20px;
  z-index: 41;
}
.cate-item:hover .cate-detail,
.cate-item.active .cate-detail {
  display: block;
}
.cate-detail h4 {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--c-brand);
  border-left: 3px solid var(--c-brand);
  padding-left: 8px;
}
.cate-detail-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.cate-detail-links a {
  color: var(--c-text-2);
  font-size: 12px;
}
.cate-detail-links a:hover {
  color: var(--c-brand);
}

/* ========== 页脚 ========== */
.site-footer {
  margin-top: 48px;
  background: var(--c-dark);
  color: #9ca3af;
  font-size: 13px;
}
.footer-slogan {
  padding: 28px 0 0;
  text-align: center;
}
.footer-slogan strong {
  display: block;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 6px;
}
.footer-slogan span {
  color: #6b7280;
  font-size: 13px;
}
.footer-links {
  padding: 28px 0 32px;
  border-bottom: 1px solid #1f2937;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.footer-col h5 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}
.footer-col a {
  display: block;
  color: #9ca3af;
  margin-bottom: 8px;
}
.footer-col a:hover {
  color: #fff;
}
.footer-col p {
  margin: 0;
  color: #6b7280;
  line-height: 1.7;
  font-size: 12px;
}
.footer-bottom {
  padding: 16px 0 24px;
  text-align: center;
  color: #6b7280;
  line-height: 1.8;
  font-size: 12px;
}
.footer-bottom a {
  color: #9ca3af;
  margin: 0 6px;
}
.footer-bottom a:hover {
  color: #fff;
}
.footer-service {
  background: var(--c-dark-2);
  padding: 18px 0;
}
.footer-service .container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 12px;
}
.service-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #d1d5db;
  font-size: 13px;
}
.service-item .icon {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  border: 1px solid #374151;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #93c5fd;
  font-weight: 700;
  font-size: 12px;
  background: rgba(0, 148, 231, 0.12);
}

/* 右侧工具条 */
.right-toolbar {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 50;
  width: 44px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-right: 0;
  box-shadow: var(--shadow);
}
.right-toolbar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 54px;
  border-bottom: 1px solid var(--c-border-2);
  color: var(--c-text-2);
  font-size: 11px;
  line-height: 1.2;
  text-align: center;
  padding: 4px;
}
.right-toolbar a:hover {
  background: var(--c-brand);
  color: #fff;
}
.right-toolbar .ico {
  font-size: 14px;
  margin-bottom: 2px;
}

/* 通用区块 */
.page-main {
  min-height: 480px;
  padding: 16px 0 40px;
}
.breadcrumb {
  padding: 12px 0;
  color: var(--c-text-3);
  font-size: 12px;
}
.breadcrumb a {
  color: var(--c-text-2);
}
.breadcrumb a:hover {
  color: var(--c-brand);
}
.panel {
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
}
.panel-hd {
  padding: 12px 16px;
  border-bottom: 1px solid var(--c-border-2);
  font-size: 14px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.panel-bd {
  padding: 16px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  padding: 0 16px;
  border-radius: var(--radius);
  font-size: 13px;
  border: 1px solid transparent;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.btn-primary {
  background: var(--c-brand);
  color: #fff;
}
.btn-primary:hover {
  background: var(--c-brand-dark);
  color: #fff;
}
.btn-outline {
  border-color: var(--c-brand);
  color: var(--c-brand);
  background: #fff;
}
.btn-outline:hover {
  background: var(--c-brand-soft);
}
.btn-orange {
  background: var(--c-orange);
  color: #fff;
}
.btn-orange:hover {
  background: var(--c-orange-dark);
  color: #fff;
}
.btn-ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
  background: transparent;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.btn-block {
  width: 100%;
}
.btn-lg {
  height: 42px;
  font-size: 15px;
  padding: 0 24px;
}
.tag {
  display: inline-block;
  padding: 0 6px;
  height: 18px;
  line-height: 18px;
  font-size: 11px;
  border-radius: 2px;
  background: #f5f5f5;
  color: var(--c-text-2);
  margin-right: 4px;
}
.tag-red {
  background: var(--c-brand-soft);
  color: var(--c-brand);
}
.tag-orange {
  background: #fff3e8;
  color: var(--c-orange);
}
.price {
  color: var(--c-price);
  font-weight: 700;
  font-family: Arial, "PingFang SC", sans-serif;
}
.price em {
  font-style: normal;
  font-size: 12px;
  font-weight: 400;
}
.price strong {
  font-size: 18px;
}
.empty-tip {
  text-align: center;
  padding: 48px 16px;
  color: var(--c-text-3);
}

/* 表单 */
.form-row {
  margin-bottom: 16px;
}
.form-row label {
  display: block;
  margin-bottom: 6px;
  color: var(--c-text-2);
}
.form-control {
  width: 100%;
  height: 36px;
  border: 1px solid var(--c-border);
  border-radius: var(--radius);
  padding: 0 10px;
  outline: none;
}
.form-control:focus {
  border-color: var(--c-brand);
  box-shadow: 0 0 0 2px rgba(0, 148, 231, 0.12);
}
textarea.form-control {
  height: auto;
  padding: 8px 10px;
  resize: vertical;
}

/* 分页 */
.pagination {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 20px;
  flex-wrap: wrap;
}
.pagination a,
.pagination span {
  min-width: 32px;
  height: 32px;
  border: 1px solid var(--c-border);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--c-text);
  border-radius: var(--radius);
  padding: 0 8px;
}
.pagination a:hover,
.pagination .active {
  border-color: var(--c-brand);
  color: var(--c-brand);
}
.pagination .active {
  background: var(--c-brand-soft);
}

/* 模态 */
.modal-mask {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
}
.modal-mask.show {
  display: flex;
}
.modal {
  width: 520px;
  max-width: calc(100vw - 32px);
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
}
.modal-hd {
  padding: 14px 18px;
  border-bottom: 1px solid var(--c-border);
  font-size: 15px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
}
.modal-bd {
  padding: 18px;
}
.modal-ft {
  padding: 12px 18px;
  border-top: 1px solid var(--c-border);
  text-align: right;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

/* 表格 */
.table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}
.table th,
.table td {
  border: 1px solid var(--c-border);
  padding: 10px 12px;
  text-align: left;
  font-size: 12px;
}
.table th {
  background: #fafafa;
  font-weight: 600;
}
.table tr:hover td {
  background: #f5f8ff;
}

/* 水印层 */
.syxw-watermark {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
}

/* ========== 响应式 ========== */
@media (max-width: 1200px) {
  .container {
    max-width: 100%;
  }
}

@media (max-width: 992px) {
  .nav-cate-trigger {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .site-nav .container {
    height: auto;
    min-height: var(--nav-h);
    flex-wrap: wrap;
    align-items: center;
  }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    overflow: visible;
    padding: 0 0 8px;
    border-top: 1px solid var(--c-border-2);
  }
  .site-nav.is-open .nav-links {
    background: #fff;
    color: var(--c-text);
  }
  .site-nav.is-open .nav-links a,
  .site-nav.is-open .nav-links .nav-item > a {
    color: var(--c-text);
  }
  .site-nav.is-open .nav-links a:hover,
  .site-nav.is-open .nav-links a.active {
    color: var(--c-brand);
    background: var(--c-brand-soft);
  }
  .site-nav.is-open .nav-links {
    display: flex;
  }
  .nav-links a,
  .nav-links .nav-item > a {
    height: 40px;
    padding: 0 12px;
  }
  .nav-item {
    flex-direction: column;
    align-items: stretch;
    height: auto;
  }
  .nav-dropdown {
    position: static;
    display: none;
    box-shadow: none;
    border: 0;
    padding: 0 0 0 12px;
    background: #fafbfc;
  }
  .nav-item.is-open .nav-dropdown,
  .nav-item:hover .nav-dropdown {
    display: block;
  }
  .header-slogan {
    display: none;
  }
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
  .cate-detail {
    display: none !important;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 13px;
  }
  .site-topbar .container {
    min-height: var(--header-h);
    height: auto;
    padding-top: 6px;
    padding-bottom: 6px;
    gap: 6px 12px;
    flex-wrap: wrap;
  }
  .topbar-left,
  .topbar-right {
    min-width: 0;
    flex-wrap: wrap;
  }
  .topbar-right .split {
    display: none;
  }
  .site-header .container {
    flex-wrap: wrap;
  }
  .search-panel {
    order: 3;
    max-width: 100%;
    width: 100%;
    min-width: 0;
  }
  .header-actions {
    margin-left: 0;
  }
  .topbar-phone {
    display: none;
  }
  .footer-links {
    grid-template-columns: 1fr 1fr;
  }
  .footer-service .container {
    flex-direction: column;
    align-items: flex-start;
  }
  .right-toolbar {
    display: none;
  }
  .logo-text strong {
    font-size: 17px;
  }
}

@media (max-width: 480px) {
  .topbar-right a {
    padding: 0 6px;
  }
  .footer-links {
    grid-template-columns: 1fr;
  }
  .header-action {
    min-width: 0;
    font-size: 12px;
  }
}


/* ========== 商城头增强 ========== */
.site-header-mall {
  padding: 18px 0 12px;
  border-bottom: 1px solid var(--c-border-2);
}
.site-header-mall .search-panel-mall {
  flex: 1;
  max-width: 640px;
  margin: 0 20px;
}
.site-header-mall .search-box {
  height: 44px;
  border-width: 2px;
}
.site-header-mall .search-box .btn-search {
  width: 108px;
  font-size: 16px;
}
.site-nav-mall {
  background: #fff;
  border-bottom: 2px solid var(--c-brand);
  height: auto;
  min-height: 42px;
}
.site-nav-mall .container {
  display: flex;
  align-items: stretch;
  gap: 0;
}
.site-nav-mall .nav-cate-wrap {
  flex-shrink: 0;
}
.site-nav-mall .nav-cate-trigger {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  height: 42px;
  background: linear-gradient(90deg, var(--c-brand-deep), var(--c-brand));
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  padding: 0 16px;
}
.site-nav-mall .nav-cate-trigger:hover {
  color: #fff !important;
  filter: brightness(1.05);
}
.site-nav-mall .nav-links {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 0;
  padding-left: 8px;
}
.site-nav-mall .nav-links > a {
  padding: 0 16px;
  height: 42px;
  display: flex;
  align-items: center;
  font-size: 14px;
  color: var(--c-text);
  font-weight: 500;
}
.site-nav-mall .nav-links > a:hover,
.site-nav-mall .nav-links > a.active {
  color: var(--c-brand);
}

/* 商品卡片通用（列表/首页复用） */
.product-card {
  display: block;
  color: inherit;
}
.product-card .thumb {
  position: relative;
}
.product-card .thumb.has-img img {
  display: block;
}
.product-card .chip {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--c-brand-soft), #fff);
  border: 1px solid var(--c-border);
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.right-toolbar {
  position: fixed;
  right: 12px;
  bottom: 80px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.right-toolbar a {
  width: 52px;
  background: #fff;
  border: 1px solid var(--c-border);
  border-radius: 4px;
  box-shadow: var(--shadow-md);
  text-align: center;
  padding: 8px 4px;
  font-size: 11px;
  color: var(--c-text-2);
  line-height: 1.3;
}
.right-toolbar a:hover {
  border-color: var(--c-brand);
  color: var(--c-brand);
}
.right-toolbar .ico {
  display: block;
  font-weight: 700;
  color: var(--c-brand);
  margin-bottom: 2px;
}
.status-pill {
  display: inline-block;
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 2px;
  background: var(--c-brand-soft);
  color: var(--c-brand);
  border: 1px solid rgba(0,148,231,.25);
  vertical-align: middle;
}
@media (max-width: 800px) {
  .site-header-mall .container {
    flex-wrap: wrap;
  }
  .site-header-mall .search-panel-mall {
    order: 3;
    max-width: none;
    margin: 10px 0 0;
    width: 100%;
  }
  .site-nav-mall .nav-cate-trigger {
    min-width: auto;
    padding: 0 12px;
  }
  .right-toolbar { display: none; }
}
