/* ============================================
   山东瑞斯乐通信科技有限公司 - 全站样式
   简洁现代, 易于阅读与维护
   ============================================ */

:root {
  --color-primary: #0F766E;
  --color-primary-dark: #0B5C56;
  --color-primary-light: #14B8A6;
  --color-accent: #F59E0B;
  --color-accent-dark: #D97706;
  --color-heading: #10233F;
  --color-text: #1F2937;
  --color-text-light: #6B7280;
  --color-bg: #FFFFFF;
  --color-bg-soft: #F9FAFB;
  --color-bg-section: #F3F4F6;
  --color-border: #E5E7EB;
  --color-border-strong: rgba(15, 23, 42, 0.12);
  --color-surface-dark: #0F172A;
  --color-surface-deep: #111827;
  --color-success: #10B981;
  --color-danger: #EF4444;
  --color-warning: #F59E0B;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.08), 0 4px 6px rgba(0,0,0,0.04);
  --radius: 8px;
  --radius-sm: 6px;
  --radius-lg: 12px;
  --max-width: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; display: block; }
a { color: var(--color-primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--color-primary-dark); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select {
  font-family: inherit;
  font-size: 14px;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: white;
  transition: border-color 0.2s;
  outline: none;
  width: 100%;
}
input:focus, textarea:focus, select:focus { border-color: var(--color-primary); }
textarea { resize: vertical; min-height: 100px; }
h1, h2, h3, h4, h5, h6 { font-weight: 600; line-height: 1.3; color: var(--color-text); }
h1 { font-size: 32px; }
h2 { font-size: 24px; }
h3 { font-size: 18px; }
p { margin: 0; }

/* ============= 容器 ============= */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; width: 100%; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 20px; width: 100%; }
main { flex: 1; padding-bottom: 40px; }

/* ============= 顶部导航 ============= */
.topbar {
  background: #0B1325;
  color: #CBD5E1;
  font-size: 13px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.topbar a { color: #CBD5E1; }
.topbar a:hover { color: white; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.topbar-info, .topbar-links { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.topbar-item { display: inline-flex; align-items: center; gap: 8px; }
.topbar-item em {
  font-style: normal;
  color: #94A3B8;
}
.topbar-item strong {
  color: #F8FAFC;
  font-weight: 500;
}
.topbar-user {
  color: #F8FAFC;
  font-weight: 600;
}

.navbar {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; min-width: 0; }
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, #0F766E 0%, #10233F 100%);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: 0 12px 30px rgba(15, 118, 110, 0.24);
}
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.brand-text strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-heading);
  white-space: nowrap;
}
.brand-text small {
  display: block;
  font-size: 12px;
  color: var(--color-text-light);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.nav-list { display: flex; gap: 6px; list-style: none; flex: 1; justify-content: center; flex-wrap: nowrap; overflow: hidden; }
.nav-list a {
  display: block;
  padding: 10px 14px;
  color: #334155;
  font-size: 14px;
  font-weight: 500;
  border-radius: 999px;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.nav-list a:hover {
  background: rgba(15, 118, 110, 0.08);
  color: var(--color-primary);
}
.nav-list a.active {
  color: var(--color-primary);
  background: rgba(15, 118, 110, 0.12);
}

/* ---- 下拉导航 ---- */
.has-dropdown { position: relative; }
.has-dropdown .nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.has-dropdown .caret { transition: transform 0.2s ease; color: #94a3b8; }
.has-dropdown.open .caret { transform: rotate(180deg); color: var(--color-primary); }
.has-dropdown.open > .nav-dropdown-toggle { background: rgba(15, 118, 110, 0.12); color: var(--color-primary); }

.nav-dropdown-panel {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 720px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 18px 50px -12px rgba(15, 23, 42, 0.18), 0 2px 6px rgba(15, 23, 42, 0.05);
  border: 1px solid #e2e8f0;
  padding: 18px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 90;
}
.has-dropdown.open > .nav-dropdown-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-panel::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 14px;
  height: 14px;
  background: #fff;
  border-top: 1px solid #e2e8f0;
  border-left: 1px solid #e2e8f0;
  border-top-left-radius: 4px;
}
.nav-dropdown-inner { min-width: 680px; }
.nav-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}
.cat-card {
  display: block;
  padding: 14px 16px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid transparent;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  position: relative;
}
.cat-card:hover {
  background: #fff;
  border-color: rgba(15, 118, 110, 0.35);
  box-shadow: 0 6px 18px -6px rgba(15, 118, 110, 0.25);
  transform: translateY(-1px);
}
.cat-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.cat-card-name { font-size: 15px; font-weight: 700; color: #0f172a; }
.cat-card-count {
  font-size: 12px;
  color: #64748b;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 2px 10px;
}
.cat-card:hover .cat-card-name { color: var(--color-primary); }
.cat-card-desc { font-size: 12.5px; color: #64748b; line-height: 1.5; margin-bottom: 8px; }
.cat-card-hot { display: flex; flex-wrap: wrap; gap: 6px; }
.cat-hot-tag {
  font-size: 11.5px;
  color: #0f766e;
  background: rgba(15, 118, 110, 0.08);
  padding: 2px 8px;
  border-radius: 6px;
}
.nav-dropdown-foot {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}
.nav-dropdown-all {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
}
.nav-dropdown-all:hover { text-decoration: underline; }

/* ---- 移动端二级分类 ---- */
.mobile-sub-list { display: none; }
.mobile-sub-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  color: #334155;
  text-decoration: none;
  font-size: 14px;
}
.mobile-sub-item:last-child { border-bottom: 0; }
.mobile-sub-count {
  background: rgba(15, 118, 110, 0.12);
  color: var(--color-primary);
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 12px;
  font-weight: 700;
}
.nav-mall-btn {
  background: linear-gradient(135deg, var(--color-accent) 0%, #F97316 100%);
  color: white !important;
  padding: 11px 18px !important;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 12px 24px rgba(245, 158, 11, 0.22);
}
.nav-mall-btn:hover { background: linear-gradient(135deg, var(--color-accent-dark) 0%, #EA580C 100%); }
.nav-home-btn {
  background: linear-gradient(135deg, #2563EB 0%, #06B6D4 100%);
  color: white !important;
  padding: 11px 18px !important;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.22);
}
.nav-home-btn:hover { background: linear-gradient(135deg, #1D4ED8 0%, #0891B2 100%); filter: brightness(1.05); }

/* 商城页脚"返回信息官网" - 强调色 */
.footer-list a.footer-back-info {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  margin: -4px 0 4px -2px;
  color: #fff !important;
  background: linear-gradient(135deg, #2563EB 0%, #06B6D4 100%);
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 6px 14px -4px rgba(37, 99, 235, 0.35);
  transition: transform .2s, box-shadow .2s, filter .2s;
}
.footer-list a.footer-back-info::before {
  content: "←";
  font-weight: 700;
}
.footer-list a.footer-back-info:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow: 0 8px 18px -4px rgba(37, 99, 235, 0.5);
}
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-actions a, .nav-actions button {
  color: var(--color-text-light);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-action-link,
.nav-user-link {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: rgba(255,255,255,0.82);
  color: #334155 !important;
  justify-content: center;
}
.nav-action-link:hover,
.nav-user-link:hover {
  color: var(--color-primary) !important;
  border-color: rgba(15, 118, 110, 0.22);
  background: rgba(240, 253, 250, 0.88);
}
.cart-icon {
  position: relative;
  display: inline-flex;
}
.cart-count {
  position: absolute;
  top: -6px;
  right: -4px;
  background: var(--color-danger);
  color: white;
  font-size: 11px;
  padding: 1px 5px;
  border-radius: 10px;
  min-width: 16px;
  text-align: center;
  display: none;
}
.cart-count.active { display: block; }

.mobile-menu-btn {
  display: none;
  background: rgba(248,250,252,0.95);
  font-size: 22px;
  color: var(--color-heading);
  width: 42px;
  height: 42px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 12px;
  padding: 0;
  justify-content: center;
}

/* ============= 页脚 ============= */
.footer {
  background:
    radial-gradient(circle at top left, rgba(20, 184, 166, 0.16), transparent 28%),
    radial-gradient(circle at right bottom, rgba(245, 158, 11, 0.12), transparent 26%),
    linear-gradient(180deg, #0F172A 0%, #111827 100%);
  color: #CBD5E1;
  padding: 64px 0 26px;
  margin-top: 60px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr) repeat(4, minmax(0, 0.9fr));
  gap: 28px;
  margin-bottom: 36px;
}
.footer h4 { color: white; font-size: 15px; margin-bottom: 16px; letter-spacing: 0.02em; }
.footer-list { list-style: none; }
.footer-list li { margin-bottom: 10px; }
.footer-list a { color: #94A3B8; font-size: 13px; }
.footer-list a:hover { color: white; }
.footer-brand {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.footer-brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, #14B8A6 0%, #10233F 100%);
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: 0 14px 30px rgba(20, 184, 166, 0.18);
}
.footer-brand-copy h4 { margin-bottom: 8px; }
.footer-brand-tag {
  color: #F8FAFC;
  font-size: 13px;
  margin-bottom: 10px;
}
.footer-brand-desc {
  color: #94A3B8;
  font-size: 13px;
  line-height: 1.8;
}
.footer-info p {
  margin-bottom: 8px;
  color: #94A3B8;
  font-size: 13px;
  line-height: 1.8;
}
.footer-info p strong {
  display: inline-block;
  min-width: 38px;
  color: #E2E8F0;
  margin-right: 8px;
}
.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  padding-top: 20px;
  text-align: center;
  color: #94A3B8;
  font-size: 12px;
  line-height: 1.8;
}
.footer-bottom a { color: #CBD5E1; }
.footer-bottom a:hover { color: white; }
.beian { display: inline-flex; align-items: center; gap: 4px; }
.footer-beian-row { margin-top: 6px; display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.footer-beian-row .beian-provider { font-size: 12px; color: var(--color-text-light, #999); }
.footer-copyright-note {
  margin-top: 10px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* ============= 按钮 ============= */
.btn {
  display: inline-block;
  padding: 11px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 1px solid transparent;
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, #0F766E 0%, #0E7490 100%);
  color: white;
  box-shadow: 0 14px 30px rgba(15, 118, 110, 0.18);
}
.btn-primary:hover { background: linear-gradient(135deg, var(--color-primary-dark) 0%, #155E75 100%); color: white; }
.btn-accent { background: var(--color-accent); color: white; }
.btn-accent:hover { background: var(--color-accent-dark); color: white; }
.btn-outline { background: white; color: var(--color-primary); border-color: rgba(15, 118, 110, 0.26); }
.btn-outline:hover { background: rgba(15, 118, 110, 0.06); color: var(--color-primary); }
.btn-ghost { background: transparent; color: var(--color-text); border-color: var(--color-border); }
.btn-ghost:hover { background: var(--color-bg-soft); }
.btn-lg { padding: 15px 28px; font-size: 16px; border-radius: 14px; }
.btn-sm { padding: 8px 12px; font-size: 13px; border-radius: 10px; }
.btn-block { display: block; width: 100%; }
.btn-danger { background: var(--color-danger); color: white; }
.btn-danger:hover { background: #DC2626; }

/* ============= 卡片 ============= */
.card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: all 0.2s;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-body { padding: 20px; }
.card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: var(--color-bg-section);
}

/* ============= 栅格 ============= */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }

/* ============= 通用区块 ============= */
.section { padding: 56px 0; }
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.22);
}
.section-title h2 {
  font-size: 28px;
  color: var(--color-heading);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.section-title h2 small {
  color: var(--color-text-light);
  font-size: 14px;
  font-weight: 400;
  margin-left: 0;
}
.section-title a { color: var(--color-primary); font-size: 14px; font-weight: 600; }

/* ============= Hero ============= */
.hero {
  background:
    radial-gradient(circle at top left, rgba(20, 184, 166, 0.24), transparent 30%),
    radial-gradient(circle at right center, rgba(245, 158, 11, 0.18), transparent 28%),
    linear-gradient(135deg, #0F172A 0%, #10233F 55%, #0F766E 100%);
  color: white;
  padding: 72px 0 56px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.12;
}
.hero::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -80px;
  top: -90px;
  background: rgba(255,255,255,0.07);
  border-radius: 50%;
  filter: blur(2px);
}
.hero-inner,
.hero-shell {
  position: relative;
  z-index: 1;
}
.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 32px;
  align-items: stretch;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  color: #F8FAFC;
  font-size: 13px;
  margin-bottom: 18px;
}
.hero-copy h1,
.hero h1 { font-size: 46px; margin-bottom: 18px; line-height: 1.15; color: white; }
.hero-copy p,
.hero p { font-size: 17px; margin-bottom: 28px; opacity: 0.92; line-height: 1.8; max-width: 680px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .btn-primary {
  background: white;
  color: var(--color-heading);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.24);
}
.hero .btn-primary:hover { background: var(--color-bg-soft); }
.hero .btn-outline { background: rgba(255,255,255,0.02); color: white; border-color: rgba(255,255,255,0.35); }
.hero .btn-outline:hover { background: rgba(255,255,255,0.12); color: white; }
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 28px;
}
.hero-metric {
  padding: 18px 18px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
}
.hero-metric strong {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: white;
  margin-bottom: 6px;
}
.hero-metric span {
  font-size: 13px;
  color: rgba(255,255,255,0.76);
}
.hero-panel {
  background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.06) 100%);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.26);
  backdrop-filter: blur(16px);
}
.hero-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.hero-panel-header h3 {
  color: white;
  font-size: 22px;
}
.hero-panel-tag {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  font-size: 12px;
  color: #F8FAFC;
}
.hero-panel-list {
  display: grid;
  gap: 14px;
  margin-bottom: 22px;
}
.hero-panel-item {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}
.hero-panel-item strong {
  display: block;
  font-size: 14px;
  color: white;
  margin-bottom: 6px;
}
.hero-panel-item span {
  display: block;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,0.78);
}
.hero-panel-note {
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  line-height: 1.8;
}

/* ============= 行业入口 ============= */
.industry-entries { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.entry-card {
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 22px;
  padding: 26px 22px;
  transition: all 0.25s ease;
  display: block;
  color: var(--color-text);
  min-height: 210px;
}
.entry-card:hover {
  border-color: rgba(15, 118, 110, 0.28);
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.08);
  color: var(--color-text);
}
.entry-card::after {
  content: "进入服务";
  display: inline-flex;
  margin-top: 18px;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 600;
}
.entry-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(15, 118, 110, 0.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 18px;
}
.entry-card h3 { font-size: 18px; margin-bottom: 10px; color: var(--color-heading); }
.entry-card p { font-size: 13px; color: var(--color-text-light); line-height: 1.8; }

/* ============= 信息卡(列表用) ============= */
.info-card {
  display: flex;
  gap: 16px;
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  padding: 16px;
  margin-bottom: 12px;
  transition: all 0.2s;
}
.info-card:hover { box-shadow: var(--shadow); }
.info-card img { width: 160px; height: 110px; object-fit: cover; border-radius: var(--radius-sm); flex-shrink: 0; }
.info-card-body { flex: 1; min-width: 0; }
.info-card h3 { font-size: 16px; margin-bottom: 6px; }
.info-card h3 a { color: var(--color-text); }
.info-card h3 a:hover { color: var(--color-primary); }
.info-card-meta {
  display: flex;
  gap: 12px;
  color: var(--color-text-light);
  font-size: 12px;
  margin-bottom: 6px;
  flex-wrap: wrap;
  align-items: center;
}
.info-card-meta .tag {
  background: #ECFDF5;
  color: var(--color-primary);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 500;
}
.info-card p { color: var(--color-text-light); font-size: 13px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ============= 商品卡 ============= */
.product-card {
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  overflow: hidden;
  transition: all 0.28s ease;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.05);
}
.product-card:hover {
  box-shadow: 0 26px 50px rgba(15, 23, 42, 0.12);
  transform: translateY(-6px);
  border-color: rgba(15, 118, 110, 0.24);
}
.product-card-media {
  position: relative;
  height: 220px;
  padding: 20px;
  background:
    radial-gradient(circle at top left, rgba(20, 184, 166, 0.12), transparent 34%),
    linear-gradient(180deg, #F8FAFC 0%, #EEF2F7 100%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}
.product-card-image {
  position: absolute;
  inset: 18px 18px 48px 18px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}
/* 顶部横条 - 遮挡第三方水印 */
.product-card-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 44px;
  background: linear-gradient(180deg, #0F766E 0%, #0B5C56 60%, rgba(11, 92, 86, 0.0) 100%);
  z-index: 2;
  pointer-events: none;
}
.product-card-image::after {
  content: "瑞斯乐商城";
  position: absolute;
  top: 12px;
  left: 14px;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.08em;
  z-index: 3;
  pointer-events: none;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.product-card-chip {
  position: relative;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.92);
  color: white;
  font-size: 12px;
  font-weight: 600;
}
.product-card-badge {
  position: relative;
  z-index: 5;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.94);
  color: var(--color-heading);
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}
.product-card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.product-card h3 {
  font-size: 18px;
  line-height: 1.55;
  margin-bottom: 12px;
  min-height: 56px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  color: var(--color-heading);
}
.product-card-summary {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.8;
  min-height: 46px;
  margin-bottom: 16px;
}
.product-card .price {
  color: var(--color-danger);
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
}
.product-card .price small { font-size: 12px; color: var(--color-text-light); text-decoration: line-through; margin-left: 6px; font-weight: 400; }
.product-card-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: var(--color-text-light);
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(148, 163, 184, 0.16);
}
.product-card-meta strong {
  display: block;
  color: var(--color-heading);
  font-size: 13px;
  margin-bottom: 2px;
}
.product-card .actions { display: flex; gap: 10px; margin-top: 16px; }
.product-card .actions .btn { flex: 1; }
.product-card .actions .btn-outline { background: transparent; }
.product-card .actions .btn-primary { box-shadow: none; }

.feature-card,
.process-card,
.merchant-card {
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.05);
}
.feature-card {
  text-align: left;
}
.feature-card-icon,
.process-card-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 16px;
  background: rgba(15, 118, 110, 0.1);
}
.feature-card h3,
.process-card h3,
.merchant-card h3 {
  color: var(--color-heading);
  margin-bottom: 10px;
}
.feature-card p,
.process-card p,
.merchant-card p {
  color: var(--color-text-light);
  line-height: 1.8;
}
.process-card {
  position: relative;
}
.process-step {
  position: absolute;
  top: 18px;
  right: 20px;
  color: rgba(15, 118, 110, 0.18);
  font-size: 28px;
  font-weight: 700;
}
.merchant-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
}
.merchant-card-logo {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.12) 0%, rgba(16, 35, 63, 0.08) 100%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  flex-shrink: 0;
}
.merchant-card-body {
  flex: 1;
  min-width: 0;
}
.merchant-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}
.merchant-card-meta,
.merchant-card-contact {
  color: var(--color-text-light);
  font-size: 13px;
  line-height: 1.8;
}

.section-surface {
  background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
}

/* ============= 列表 / 详情 / 购物车扩展 ============= */
.panel {
  background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.05);
}
.panel-body {
  padding: 24px;
}
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 28px;
}
.page-header h1,
.page-header h2 {
  color: var(--color-heading);
}
.page-header p {
  color: var(--color-text-light);
  line-height: 1.8;
  margin-top: 8px;
}

.list-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 24px;
}
.filter-panel {
  position: sticky;
  top: 110px;
}
.filter-panel h3 {
  font-size: 18px;
  color: var(--color-heading);
  margin-bottom: 6px;
}
.filter-panel p {
  font-size: 13px;
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 18px;
}
.filter-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.filter-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid transparent;
  background: rgba(248, 250, 252, 0.92);
  color: #334155;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.25s ease;
}
.filter-link:hover {
  color: var(--color-primary);
  border-color: rgba(15, 118, 110, 0.18);
  background: rgba(240, 253, 250, 0.88);
}
.filter-link.active {
  color: white;
  background: linear-gradient(135deg, #0F766E 0%, #0E7490 100%);
  box-shadow: 0 14px 28px rgba(15, 118, 110, 0.18);
}
.filter-link em {
  font-style: normal;
  font-size: 12px;
  opacity: 0.76;
}
.toolbar-panel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  padding: 18px 20px;
}
.toolbar-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.sort-chip {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  background: white;
  color: #334155;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.25s ease;
}
.sort-chip:hover {
  color: var(--color-primary);
  border-color: rgba(15, 118, 110, 0.22);
}
.sort-chip.active {
  color: white;
  background: linear-gradient(135deg, #0F766E 0%, #0E7490 100%);
  border-color: transparent;
}
.results-count {
  color: var(--color-text-light);
  font-size: 13px;
}
.empty-state-card {
  padding: 56px 24px;
  text-align: center;
}
.empty-state-icon {
  width: 84px;
  height: 84px;
  border-radius: 24px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  color: var(--color-primary);
  background: rgba(15, 118, 110, 0.1);
}
.empty-state-card h3 {
  color: var(--color-heading);
  margin-bottom: 8px;
}
.empty-state-card p {
  color: var(--color-text-light);
  line-height: 1.8;
  margin-bottom: 18px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 480px;
  gap: 28px;
  align-items: start;
}
.detail-gallery {
  padding: 24px;
}
.detail-main-image {
  width: 100%;
  min-height: 520px;
  border-radius: 28px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background:
    radial-gradient(circle at top left, rgba(20, 184, 166, 0.1), transparent 34%),
    linear-gradient(180deg, #F8FAFC 0%, #EEF2F7 100%);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  position: relative;
}
/* 详情大图顶部横条 - 遮挡第三方水印 */
.detail-main-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: linear-gradient(180deg, #0F766E 0%, #0B5C56 55%, rgba(11, 92, 86, 0.0) 100%);
  z-index: 2;
  pointer-events: none;
  border-radius: 28px 28px 0 0;
}
.detail-main-image::after {
  content: "瑞斯乐商城 · 办公用品";
  position: absolute;
  top: 16px;
  left: 20px;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.06em;
  z-index: 3;
  pointer-events: none;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
/* 购物车缩略图水印遮挡 */
.cart-item-image {
  position: relative;
}
.cart-item-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 22px;
  background: linear-gradient(180deg, #0F766E 0%, #0B5C56 40%, rgba(11, 92, 86, 0.0) 100%);
  z-index: 2;
  pointer-events: none;
  border-radius: 18px 18px 0 0;
}
.detail-side {
  display: grid;
  gap: 18px;
}
.detail-summary {
  padding: 24px;
}
.detail-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.detail-title {
  font-size: 30px;
  line-height: 1.45;
  color: var(--color-heading);
  margin-bottom: 14px;
}
.detail-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--color-text-light);
  font-size: 13px;
  margin-bottom: 18px;
}
.price-panel {
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(135deg, #FEF2F2 0%, #FFF7ED 100%);
  border: 1px solid rgba(251, 146, 60, 0.18);
}
.price-panel-label {
  color: var(--color-text-light);
  font-size: 13px;
  margin-bottom: 8px;
}
.price-panel-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.price-panel-value {
  color: var(--color-danger);
  font-size: 34px;
  font-weight: 700;
}
.price-panel-original {
  color: var(--color-text-light);
  text-decoration: line-through;
  font-size: 15px;
}
.info-panel {
  padding: 20px;
}
.info-grid {
  display: grid;
  gap: 12px;
}
.info-row {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 10px;
  font-size: 14px;
  line-height: 1.8;
}
.info-row-label {
  color: var(--color-text-light);
}
.qty-panel {
  padding: 20px;
}
.qty-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.qty-stepper {
  display: inline-flex;
  align-items: center;
  padding: 6px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: #F8FAFC;
}
.qty-stepper .btn {
  min-width: 36px;
}
.qty-stepper input {
  width: 72px;
  border: none;
  background: transparent;
  text-align: center;
  padding: 0 6px;
}
.detail-actions {
  display: flex;
  gap: 12px;
}
.detail-tabs-card {
  margin-top: 24px;
}
.detail-tabs-card .tabs {
  margin-bottom: 0;
}
.detail-tabs-card .tab-panel {
  padding-top: 24px;
}
.detail-section-title {
  font-size: 20px;
  color: var(--color-heading);
  margin-bottom: 14px;
}
.params-table {
  border-top: 1px solid rgba(148, 163, 184, 0.16);
}
.param-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}
.param-key {
  color: var(--color-text-light);
}
.review-card {
  padding: 18px 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}
.review-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.review-user {
  font-weight: 600;
  color: var(--color-heading);
}
.review-rating {
  color: var(--color-accent-dark);
  margin-left: 8px;
}
.review-date {
  font-size: 13px;
  color: var(--color-text-light);
}
.review-card p {
  color: var(--color-text-light);
  line-height: 1.8;
}

.cart-shell {
  display: grid;
  gap: 22px;
}
.cart-summary-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.cart-title-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.cart-list-panel {
  overflow: hidden;
}
.cart-list-head {
  display: grid;
  grid-template-columns: 84px 1.6fr 140px 160px 140px 84px;
  gap: 14px;
  padding: 18px 24px;
  font-size: 13px;
  color: var(--color-text-light);
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(248, 250, 252, 0.9);
}
.cart-item {
  display: grid;
  grid-template-columns: 84px 1.6fr 140px 160px 140px 84px;
  gap: 14px;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}
.cart-item:last-child {
  border-bottom: none;
}
.cart-item-image {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background:
    radial-gradient(circle at top left, rgba(20, 184, 166, 0.08), transparent 34%),
    linear-gradient(180deg, #F8FAFC 0%, #EEF2F7 100%);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  border: 1px solid rgba(148, 163, 184, 0.14);
}
.cart-item-info h3 {
  font-size: 16px;
  color: var(--color-heading);
  margin-bottom: 6px;
}
.cart-item-info p {
  color: var(--color-text-light);
  font-size: 13px;
}
.cart-price,
.cart-subtotal {
  color: var(--color-danger);
  font-size: 16px;
  font-weight: 700;
}
.cart-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.cart-summary-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 24px;
  flex-wrap: wrap;
}
.cart-summary-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cart-total-block {
  text-align: right;
}
.cart-total-label {
  color: var(--color-text-light);
  font-size: 13px;
  margin-bottom: 6px;
}
.cart-total-value {
  color: var(--color-danger);
  font-size: 32px;
  font-weight: 700;
}

/* ============= 面包屑 ============= */
.breadcrumb {
  background: var(--color-bg-soft);
  padding: 12px 0;
  font-size: 13px;
  color: var(--color-text-light);
}
.breadcrumb a { color: var(--color-text-light); }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb .sep { margin: 0 8px; color: #D1D5DB; }
.breadcrumb .current { color: var(--color-text); }

/* ============= 标签 / 徽章 ============= */
.tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  background: var(--color-bg-section);
  color: var(--color-text-light);
  margin-right: 4px;
}
.tag-primary { background: #ECFDF5; color: var(--color-primary); }
.tag-accent { background: #FEF3C7; color: var(--color-accent-dark); }
.tag-danger { background: #FEE2E2; color: var(--color-danger); }
.tag-success { background: #D1FAE5; color: #047857; }
.tag-info { background: #DBEAFE; color: #1D4ED8; }
.tag-warn { background: #FEF3C7; color: #92400E; }

/* ============= 列表 / Tab ============= */
.tabs { display: flex; gap: 0; border-bottom: 2px solid var(--color-border); margin-bottom: 24px; flex-wrap: wrap; }
.tab {
  padding: 12px 20px;
  font-size: 15px;
  color: var(--color-text-light);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all 0.2s;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-weight: 500;
}
.tab:hover { color: var(--color-primary); }
.tab.active { color: var(--color-primary); border-bottom-color: var(--color-primary); }

/* ============= 表单 ============= */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; color: var(--color-text); }
.form-group label .req { color: var(--color-danger); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-actions { display: flex; gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--color-border); }
.form-help { font-size: 12px; color: var(--color-text-light); margin-top: 4px; }
.radio-group, .checkbox-group { display: flex; flex-wrap: wrap; gap: 12px; }
.radio-item, .checkbox-item { display: flex; align-items: center; gap: 6px; cursor: pointer; padding: 6px 12px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); transition: all 0.2s; }
.radio-item:hover, .checkbox-item:hover { border-color: var(--color-primary); }
.radio-item input, .checkbox-item input { width: auto; margin: 0; }
.radio-item.checked, .checkbox-item.checked { background: #ECFDF5; border-color: var(--color-primary); color: var(--color-primary); }

/* ============= 模态框 ============= */
.modal-mask {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-mask.active { display: flex; }
.modal {
  background: white;
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 380px;
  padding: 28px;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-soft);
  border-radius: 50%;
  color: var(--color-text-light);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.modal-close:hover { background: var(--color-border); }
.modal-title { text-align: center; font-size: 18px; margin-bottom: 20px; }
.modal-body { text-align: center; }
.modal-qr {
  width: 200px;
  height: 200px;
  margin: 0 auto 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 8px;
  background: white;
}
.modal-qr img { width: 100%; height: 100%; object-fit: contain; }
.modal-amount { font-size: 16px; margin: 12px 0; color: var(--color-text); }
.modal-amount .price { color: var(--color-danger); font-size: 24px; font-weight: 600; margin-left: 4px; }
.modal-tip { font-size: 13px; color: var(--color-text-light); margin: 12px 0 20px; line-height: 1.5; }
.modal-actions { display: flex; gap: 12px; }
.modal-actions .btn { flex: 1; }

/* ============= Toast 提示 ============= */
.toast {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: rgba(31, 41, 55, 0.95);
  color: white;
  padding: 12px 24px;
  border-radius: var(--radius);
  z-index: 10000;
  font-size: 14px;
  transition: transform 0.3s;
  box-shadow: var(--shadow-lg);
  max-width: 90%;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.success { background: var(--color-success); }
.toast.error { background: var(--color-danger); }
.toast.warn { background: var(--color-warning); }

/* ============= 通用辅助 ============= */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-primary { color: var(--color-primary); }
.text-accent { color: var(--color-accent); }
.text-danger { color: var(--color-danger); }
.text-light { color: var(--color-text-light); }
.text-sm { font-size: 13px; }
.text-lg { font-size: 18px; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.flex { display: flex; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-center { display: flex; align-items: center; justify-content: center; gap: 8px; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.hidden { display: none !important; }
.divider { height: 1px; background: var(--color-border); margin: 16px 0; }
.placeholder-img {
  width: 100%;
  height: 100%;
  background: var(--color-bg-section);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-light);
  font-size: 13px;
}

/* ============= 分页 ============= */
.pagination { display: flex; gap: 4px; justify-content: center; margin-top: 32px; }
.pagination a, .pagination span {
  min-width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--color-text);
  background: white;
}
.pagination a:hover { border-color: var(--color-primary); color: var(--color-primary); }
.pagination .active { background: var(--color-primary); color: white; border-color: var(--color-primary); }
.pagination .disabled { color: var(--color-text-light); pointer-events: none; }

/* ============= 响应式 ============= */
@media (max-width: 1024px) {
  .hero-layout, .hero-shell { grid-template-columns: 1fr !important; }
  .grid-4, .grid-5, .grid-6 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-metrics { grid-template-columns: repeat(3, 1fr); }
  .list-layout,
  .detail-layout { grid-template-columns: 1fr !important; }
  .filter-panel { position: static; }
  .cart-list-head,
  .cart-item { grid-template-columns: 84px 1fr 120px 150px 120px 72px; }
  /* 资讯/评测/服务的 3 列布局在中等屏降为 2 列 */
  .news-layout, .review-layout, .service-layout { grid-template-columns: 200px 1fr !important; }
  .news-layout > aside:last-child, .review-layout > aside:last-child, .service-layout > aside:last-child { display: none; }
}
@media (max-width: 768px) {
  h1 { font-size: 26px; }
  h2 { font-size: 20px; }
  .hero { padding: 48px 0 36px; }
  .hero h1, .hero-copy h1 { font-size: 30px; }
  .hero p { font-size: 15px; }
  .industry-entries { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-4, .grid-5, .grid-6 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .topbar-inner { flex-direction: column; align-items: flex-start; }
  .topbar-info, .topbar-links { gap: 8px; font-size: 12px; }
  .nav-list { display: none; }
  .mobile-menu-btn { display: inline-flex; }
  .nav-list.mobile-open {
    display: flex;
    position: absolute;
    top: calc(100% + 8px);
    left: 12px;
    right: 12px;
    background: rgba(255,255,255,0.97);
    flex-direction: column;
    padding: 12px;
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
    z-index: 99;
  }
  .nav-list.mobile-open a { padding: 12px; }
  /* 移动端:下拉面板在抽屉中展开为内嵌列表(而非悬浮) */
  .nav-dropdown-panel {
    position: static;
    transform: none !important;
    min-width: 0;
    width: 100%;
    background: rgba(15, 118, 110, 0.04);
    border: 0;
    box-shadow: none;
    border-radius: 12px;
    padding: 10px 8px;
    margin-top: 6px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-dropdown-panel::before { display: none; }
  .nav-dropdown-grid { grid-template-columns: 1fr 1fr; gap: 6px; }
  .nav-dropdown-inner { min-width: 0; }
  .cat-card { padding: 10px 12px; }
  .cat-card-desc { display: none; }
  .nav-dropdown-foot { display: none; }
  .has-dropdown > .nav-dropdown-toggle { width: 100%; justify-content: space-between; }
  .has-dropdown.open > .nav-dropdown-toggle { background: rgba(15, 118, 110, 0.12); }
  /* 移动端独立二级分类列表 */
  .mobile-sub-list.open { display: block; }
  .has-dropdown.mobile-expanded > .nav-dropdown-toggle .caret { transform: rotate(180deg); color: var(--color-primary); }
  .brand-text strong { font-size: 14px; }
  .brand-text small { font-size: 11px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-brand { align-items: center; }
  .info-card { flex-direction: column; }
  .info-card img { width: 100%; height: 180px; }
  .section { padding: 32px 0; }
  .navbar-inner { min-height: 68px; }
  .nav-actions { gap: 8px; }
  .nav-action-link, .nav-user-link { min-height: 38px; padding: 0 12px; }
  .hero-metrics { grid-template-columns: 1fr; }
  .hero-panel { padding: 22px; border-radius: 22px; }
  .section-title { align-items: flex-start; flex-direction: column; }
  .section-title h2 { font-size: 24px; }
  .merchant-card { flex-direction: column; }
  .merchant-card-logo { width: 56px; height: 56px; font-size: 30px; }
  .page-header { flex-direction: column; align-items: flex-start; }
  .toolbar-panel,
  .cart-summary-card,
  .cart-summary-bar { flex-direction: column; align-items: flex-start; }
  .detail-main-image { min-height: 420px; }
  .detail-title { font-size: 26px; }
  .detail-actions { flex-direction: column; }
  .detail-actions .btn { width: 100%; }
  .param-row { grid-template-columns: 1fr; gap: 6px; }
  .cart-list-head { display: none; }
  .cart-item {
    grid-template-columns: 84px 1fr;
    padding: 18px;
  }
  .cart-item > .cart-price,
  .cart-item > .cart-subtotal,
  .cart-item > .cart-remove-wrap {
    grid-column: 2;
  }
  .cart-item > .cart-qty-wrap {
    grid-column: 1 / -1;
  }
  .cart-item > .cart-price,
  .cart-item > .cart-subtotal {
    font-size: 14px;
  }
  .cart-total-block { text-align: left; }
  /* 平板窄屏: 3 列布局 → 1 列堆叠 */
  .news-layout, .review-layout, .service-layout { grid-template-columns: 1fr !important; }
  .news-layout > aside, .review-layout > aside, .service-layout > aside { display: block; }
  .list-layout { grid-template-columns: 1fr !important; }
  .list-layout > aside { margin-bottom: 16px; }
  .admin-tabs { font-size: 12px; }
  .admin-tab { padding: 10px 12px; }
  .module-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 480px) {
  .grid-3, .grid-4, .grid-5, .grid-6 { grid-template-columns: 1fr; }
  .industry-entries { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .topbar-item { width: 100%; justify-content: space-between; }
  .brand-mark { width: 40px; height: 40px; border-radius: 12px; }
  .brand-text strong { font-size: 13px; }
  .brand-text small { display: none; }
  .nav-actions { gap: 6px; }
  .nav-action-link span, .cart-icon span:first-child { display: none; }
  .nav-action-link, .nav-user-link { width: 40px; min-width: 40px; padding: 0; }
  .nav-user-link { width: auto; min-width: 0; padding: 0 12px; }
  .hero-panel-header { flex-direction: column; align-items: flex-start; }
  .section-title h2 { font-size: 22px; }
  .product-card-media { height: 210px; }
  .toolbar-group { width: 100%; }
  .sort-chip { flex: 1; justify-content: center; }
  .detail-summary,
  .detail-gallery,
  .info-panel,
  .qty-panel { padding: 18px; }
  .detail-main-image { min-height: 320px; border-radius: 20px; }
  .detail-title { font-size: 22px; }
  .qty-row { align-items: flex-start; flex-direction: column; }
  .qty-stepper { width: 100%; justify-content: space-between; }
  .qty-stepper input { flex: 1; width: auto; }
  .cart-item {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .cart-item-image { width: 100%; height: 180px; }
  .cart-item > * { grid-column: auto !important; }
  .cart-actions,
  .cart-summary-actions { width: 100%; }
  .cart-summary-actions .btn,
  .cart-summary-card .btn-accent { width: 100%; }
}
