/**
 * 梅陇首饰工厂集合平台 —— 全站样式
 * 设计系统：暖白底 + 哑金点缀 + 墨色文字，B2B 专业感
 */

:root {
  --gold: #b08d2e;
  --gold-dark: #8f6f1f;
  --gold-light: #f5edd8;
  --gold-bg: #faf7ee;
  --ink: #22262b;
  --ink-2: #565c66;
  --gray: #8a8f98;
  --bg: #ffffff;
  --bg-warm: #faf9f4;
  --border: #e8e4da;
  --border-2: #d9d4c5;
  --green: #1e7f4f;
  --green-bg: #e7f3ec;
  --blue: #2563eb;
  --blue-bg: #e8effc;
  --red: #c0392b;
  --amber: #8a6d1b;
  --amber-bg: #fff7e0;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow: 0 2px 12px rgba(34, 38, 43, 0.06);
  --shadow-lg: 0 8px 28px rgba(34, 38, 43, 0.12);
  --font: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img, svg { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

main { flex: 1; }

/* ---------- 头部导航 ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}
.site-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.site-logo .logo-mark { width: 34px; height: 34px; }
.site-logo .logo-text { line-height: 1.15; }
.site-logo .logo-text b { font-size: 17px; font-weight: 600; letter-spacing: 1px; display: block; }
.site-logo .logo-text span { font-size: 11px; color: var(--gray); letter-spacing: 3px; }
.main-nav { display: flex; gap: 6px; flex: 1; }
.main-nav a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 15px;
  color: var(--ink-2);
  transition: all 0.15s;
}
.main-nav a:hover { color: var(--gold-dark); background: var(--gold-bg); }
.main-nav a.active { color: var(--gold-dark); font-weight: 600; }
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-toggle { display: none; border: 1px solid var(--border); background: #fff; border-radius: 8px; padding: 7px 10px; font-size: 16px; line-height: 1; color: var(--ink); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block;
  padding: 9px 22px;
  border-radius: 999px;
  font-size: 14px;
  border: 1px solid transparent;
  transition: all 0.15s;
  text-align: center;
  line-height: 1.5;
}
.btn-gold { background: linear-gradient(120deg, #b08d2e, #c9a545); color: #fff; }
.btn-gold:hover { background: linear-gradient(120deg, #9a7a26, #b08d2e); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(176, 141, 46, 0.38); }
.btn-outline { border-color: var(--gold); color: var(--gold-dark); background: transparent; }
.btn-outline:hover { background: var(--gold-bg); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-block { display: block; width: 100%; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; }

/* ---------- 徽标 / 标签 ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.badge-verified { background: var(--green-bg); color: var(--green); border: 1px solid #bfe2cd; }
.badge-self { background: var(--blue-bg); color: var(--blue); border: 1px solid #c3d6f8; }
.badge-demo { background: #f4f2ec; color: var(--gray); border: 1px dashed var(--border-2); }
.tag {
  display: inline-block;
  font-size: 12.5px;
  color: var(--ink-2);
  background: var(--bg-warm);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px 10px;
  margin: 0 6px 6px 0;
}

/* ---------- 全屏轮播 Hero ---------- */
.hero { position: relative; overflow: hidden; background: #0e1319; }
.hero-slides { position: relative; min-height: 92vh; }
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
  display: flex;
  align-items: center;
  pointer-events: none;
}
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-bg {
  position: absolute;
  inset: -4%;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  will-change: transform;
}
.hero-slide.active .hero-bg { animation: heroZoom 10s ease-out forwards; }
@keyframes heroZoom {
  from { transform: scale(1.13); }
  to { transform: scale(1.02); }
}
.hero-mask {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 13, 18, 0.9) 0%, rgba(9, 13, 18, 0.6) 42%, rgba(9, 13, 18, 0.16) 74%, rgba(9, 13, 18, 0.38) 100%),
    linear-gradient(0deg, rgba(9, 13, 18, 0.6) 0%, transparent 32%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; padding-top: 90px; padding-bottom: 120px; }
.hero-text { max-width: 660px; min-width: 0; }
.hero-slide.active .hero-text { animation: heroTextUp 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) 0.2s both; }
@keyframes heroTextUp {
  from { opacity: 0; transform: translateY(36px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-text .kicker {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 4px;
  color: #d9bc6a;
  border: 1px solid rgba(217, 188, 106, 0.45);
  padding: 5px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
  background: rgba(9, 13, 18, 0.35);
  backdrop-filter: blur(4px);
}
.hero-text h1 {
  font-size: 58px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  letter-spacing: 3px;
  margin-bottom: 20px;
  text-shadow: 0 4px 34px rgba(0, 0, 0, 0.45);
}
.hero-text h1 em { font-style: normal; color: #d9bc6a; }
.hero-text p { font-size: 16.5px; color: rgba(255, 255, 255, 0.78); margin-bottom: 36px; max-width: 560px; line-height: 1.95; }
.hero-text .hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-ghost-light {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(4px);
}
.btn-ghost-light:hover { background: rgba(217, 188, 106, 0.2); border-color: #d9bc6a; color: #d9bc6a; }
.hero-caption {
  position: absolute;
  right: 34px;
  bottom: 26px;
  z-index: 3;
  color: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  letter-spacing: 3px;
  padding: 5px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(9, 13, 18, 0.3);
  backdrop-filter: blur(4px);
  white-space: nowrap;
}
.hero-dots { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 5; }
.hero-dots button { width: 30px; height: 4px; border-radius: 2px; border: none; background: rgba(255, 255, 255, 0.32); transition: background 0.3s; }
.hero-dots button.on { background: #d9bc6a; }

/* ---------- 产业数据带 ---------- */
.stats-band { background: var(--ink); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 34px 0 10px; }
.stat-item { text-align: center; padding: 0 12px; }
.stat-item b { font-size: 42px; font-weight: 700; color: #d9bc6a; display: block; line-height: 1.2; }
.stat-item b i { font-style: normal; font-size: 22px; margin-left: 2px; }
.stat-item span { font-size: 14px; color: rgba(255, 255, 255, 0.65); }
.stats-note { text-align: center; font-size: 12px; color: rgba(255, 255, 255, 0.4); padding: 16px 0 20px; }

/* ---------- 分区 ---------- */
.section { padding: 68px 0; }
.section.alt { background: var(--bg-warm); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 30px; gap: 16px; flex-wrap: wrap; }
.section-head h2 { position: relative; font-size: 31px; font-weight: 700; letter-spacing: 1px; padding-left: 22px; }
.section-head h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 9px;
  height: 9px;
  background: linear-gradient(135deg, #b08d2e, #d9bc6a);
  transform: rotate(45deg);
  border-radius: 2px;
}
.section-head h2 small { font-size: 13.5px; color: var(--gray); font-weight: 400; margin-left: 10px; }
.section-head .more { font-size: 14px; color: var(--gold-dark); }
.section-head .more:hover { text-decoration: underline; }

/* ---------- 滚动淡入（JS 驱动） ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-slide.active .hero-bg { animation: none; }
  .lb-photo::before { animation: none; }
}

/* ---------- 材质 × 品类 图片卡导航 ---------- */
.tax-nav { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.tax-nav .tax-group {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  padding: 24px 20px 18px;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(217, 188, 106, 0.28);
  isolation: isolate;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.tax-nav .tax-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  transform: scale(1.01);
  transition: transform 0.8s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.tax-nav .tax-group::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(11, 15, 21, 0.6) 0%, rgba(11, 15, 21, 0.42) 45%, rgba(11, 15, 21, 0.8) 100%);
}
.tax-nav .tax-group:hover { transform: translateY(-5px); box-shadow: 0 20px 44px rgba(18, 24, 32, 0.3); border-color: rgba(217, 188, 106, 0.65); }
.tax-nav .tax-group:hover .tax-bg { transform: scale(1.13); }
.tax-nav .tax-group h3 {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  line-height: 1.4;
  letter-spacing: 1.5px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}
.tax-nav .tax-group h3 small {
  display: block;
  font-size: 10.5px;
  letter-spacing: 3px;
  color: #d9bc6a;
  font-weight: 400;
  margin-top: 6px;
}
.tax-nav .tax-group ul { display: flex; flex-wrap: wrap; gap: 7px; }
.tax-nav .tax-group li a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(4px);
  padding: 4px 13px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  transition: all 0.2s;
}
.tax-nav .tax-group li a:hover { color: #1a2028; background: #d9bc6a; border-color: #d9bc6a; }

/* ---------- 卡片 ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.factory-card, .product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.18s;
  display: flex;
  flex-direction: column;
}
.factory-card:hover, .product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--border-2); }
.card-visual { position: relative; background: linear-gradient(145deg, #f6f2e8, #efe8d8); aspect-ratio: 16/10; display: flex; align-items: center; justify-content: center; }
.card-visual svg { width: 46%; height: auto; max-height: 70%; }
.card-visual .card-badges { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.product-card .card-visual { aspect-ratio: 1/1; background: linear-gradient(145deg, #faf6ec, #f2ead8); }
.card-body { padding: 14px 16px 16px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.card-body .card-sub { font-size: 13px; color: var(--gray); margin-bottom: 8px; }
.card-body .card-tags { margin-bottom: 12px; }
.card-body .card-meta { font-size: 13px; color: var(--ink-2); margin-bottom: 14px; }
.card-body .card-meta .meta-line { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.card-body .card-meta .meta-line::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--gold); flex-shrink: 0; }
.card-footer { margin-top: auto; display: flex; gap: 10px; }
.price-note { font-size: 13px; color: var(--gold-dark); font-weight: 600; }
.product-card .card-footer { justify-content: space-between; align-items: center; }

/* ---------- 入驻流程 ---------- */
.steps-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.step-item { position: relative; text-align: center; padding: 0 18px; }
.step-item .step-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  font-size: 18px; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  position: relative; z-index: 2;
}
.step-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22px; left: calc(50% + 32px);
  width: calc(100% - 64px);
  border-top: 2px dashed var(--border-2);
  z-index: 1;
}
.step-item h4 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.step-item p { font-size: 13px; color: var(--ink-2); }

/* ---------- 面包屑 ---------- */
.crumbs { padding: 18px 0 0; font-size: 13px; color: var(--gray); }
.crumbs a { color: var(--gray); }
.crumbs a:hover { color: var(--gold-dark); }
.crumbs .sep { margin: 0 8px; color: var(--border-2); }
.crumbs .cur { color: var(--ink-2); }

/* ---------- 筛选栏 ---------- */
.filter-bar {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  margin-bottom: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.filter-bar .search-box { flex: 1; min-width: 220px; display: flex; }
.filter-bar .search-box input {
  flex: 1;
  border: 1px solid var(--border);
  border-right: none;
  border-radius: 8px 0 0 8px;
  padding: 8px 14px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
}
.filter-bar .search-box input:focus { border-color: var(--gold); }
.filter-bar .search-box button {
  border: none;
  background: var(--gold);
  color: #fff;
  padding: 0 18px;
  border-radius: 0 8px 8px 0;
  font-size: 14px;
}
.filter-bar select {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 14px;
  font-family: inherit;
  color: var(--ink-2);
  background: #fff;
  outline: none;
}
.filter-bar select:focus { border-color: var(--gold); }
.result-meta { font-size: 13.5px; color: var(--ink-2); margin-bottom: 16px; }
.result-meta b { color: var(--gold-dark); }

/* ---------- 详情页 ---------- */
.detail-layout { display: grid; grid-template-columns: 1fr 330px; gap: 28px; align-items: start; padding: 28px 0 56px; }
.detail-main { min-width: 0; }
.detail-side { position: sticky; top: 88px; }
.detail-head { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; flex-wrap: wrap; }
.detail-head .d-visual {
  width: 120px; height: 120px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, #f6f2e8, #efe8d8);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.detail-head .d-visual svg { width: 56%; height: auto; }
.detail-head h1 { font-size: 26px; font-weight: 600; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.detail-head .d-sub { font-size: 14px; color: var(--ink-2); }
.panel { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 18px; }
.panel h2 { font-size: 17px; font-weight: 600; padding-bottom: 12px; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table th { text-align: left; color: var(--gray); font-weight: 400; width: 110px; padding: 9px 0; vertical-align: top; }
.spec-table td { padding: 9px 0; color: var(--ink); border-bottom: none; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gallery-grid .g-item {
  aspect-ratio: 16/10;
  border-radius: 10px;
  background: linear-gradient(145deg, #f6f2e8, #efe8d8);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
}
.gallery-grid .g-item svg { width: 40%; height: auto; }
.gallery-grid.g-product { grid-template-columns: repeat(2, 1fr); }
.gallery-grid.g-product .g-item { aspect-ratio: 1; }
.map-note {
  border: 1.5px dashed var(--border-2);
  border-radius: 10px;
  padding: 18px;
  text-align: center;
  color: var(--ink-2);
  font-size: 13.5px;
  background: var(--bg-warm);
}
.map-note .map-pin { font-size: 30px; line-height: 1; margin-bottom: 8px; color: var(--gold); }
.side-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 22px; margin-bottom: 16px; }
.side-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 14px; }
.contact-lines { font-size: 14px; }
.contact-lines .line { display: flex; gap: 8px; margin-bottom: 10px; align-items: baseline; }
.contact-lines .line b { color: var(--gray); font-weight: 400; flex-shrink: 0; }
.phone-mask { background: var(--gold-light); border-radius: 6px; padding: 1px 10px; font-size: 13px; }
.verify-explain { font-size: 13px; color: var(--ink-2); }
.verify-explain .v-row { display: flex; gap: 8px; align-items: flex-start; margin-bottom: 10px; }

/* ---------- 表单 ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.form-item label { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 6px; }
.form-item label em { color: var(--red); font-style: normal; margin-left: 2px; }
.form-item input, .form-item textarea, .form-item select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  background: #fff;
  resize: vertical;
}
.form-item input:focus, .form-item textarea:focus { border-color: var(--gold); }
.form-note { font-size: 12.5px; color: var(--gray); margin-top: 10px; }

/* ---------- 资讯 ---------- */
.news-list { display: flex; flex-direction: column; gap: 16px; }
.news-item {
  display: flex;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  transition: all 0.15s;
}
.news-item:hover { box-shadow: var(--shadow); border-color: var(--border-2); }
.news-item .n-date { flex-shrink: 0; text-align: center; width: 64px; padding: 8px 0; border-radius: 10px; background: var(--gold-bg); border: 1px solid #eadfc0; align-self: flex-start; }
.news-item .n-date b { display: block; font-size: 22px; color: var(--gold-dark); line-height: 1.2; font-weight: 600; }
.news-item .n-date span { font-size: 12px; color: var(--gold-dark); }
.news-item .n-body h3 { font-size: 16.5px; font-weight: 600; margin-bottom: 8px; }
.news-item .n-body h3 a:hover { color: var(--gold-dark); }
.news-item .n-body p { font-size: 13.5px; color: var(--ink-2); margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-item .n-meta { font-size: 12.5px; color: var(--gray); }
.news-item .n-meta .badge { margin-right: 10px; }
.article-body { font-size: 15px; }
.article-body p { margin-bottom: 16px; text-align: justify; }
.article-meta { font-size: 13px; color: var(--gray); margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.article-meta .badge { margin-right: 10px; }

/* ---------- CTA 横条 ---------- */
.cta-band { background: linear-gradient(120deg, #232a33, #1a2028); color: #fff; padding: 46px 0; }
.cta-band .inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { font-size: 24px; font-weight: 600; margin-bottom: 6px; }
.cta-band h2 em { font-style: normal; color: #d9bc6a; }
.cta-band p { font-size: 14px; color: rgba(255, 255, 255, 0.65); }

/* ---------- 分页 ---------- */
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 34px; }
.pager a, .pager span {
  min-width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  padding: 0 10px;
  color: var(--ink-2);
}
.pager span.cur { background: var(--gold); border-color: var(--gold); color: #fff; }

/* ---------- 页脚 ---------- */
.site-footer { background: #1b2027; color: rgba(255, 255, 255, 0.55); margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 36px; padding: 48px 0 36px; }
.footer-grid h4 { color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 16px; }
.footer-grid p, .footer-grid li { font-size: 13.5px; line-height: 1.9; }
.footer-grid a:hover { color: #d9bc6a; }
.footer-grid li a { display: block; }
.footer-brand .brand-line { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand .brand-line svg { width: 34px; height: 34px; flex-shrink: 0; }
.footer-brand .brand-line b { color: #fff; font-size: 16px; letter-spacing: 1px; }
.footer-icp { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 16px 0; text-align: center; font-size: 12.5px; color: rgba(255, 255, 255, 0.4); }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%; bottom: 40px;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: #fff;
  padding: 12px 26px;
  border-radius: 999px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s;
  z-index: 999;
  box-shadow: var(--shadow-lg);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- 后台管理 ---------- */
.admin-body { background: #f3f4f6; }
.admin-wrap { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
.admin-side { background: #1b2027; color: rgba(255, 255, 255, 0.75); padding: 20px 0; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.admin-side .a-logo { padding: 8px 20px 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.admin-side .a-logo b { color: #fff; font-size: 15px; }
.admin-side .a-menu { display: flex; flex-direction: column; gap: 2px; padding: 0 10px; }
.admin-side .a-menu button {
  display: flex; align-items: center; gap: 10px;
  background: none; border: none; color: rgba(255, 255, 255, 0.72);
  font-size: 14px; padding: 10px 12px; border-radius: 8px; text-align: left;
  transition: all 0.15s;
}
.admin-side .a-menu button:hover { background: rgba(255, 255, 255, 0.07); color: #fff; }
.admin-side .a-menu button.on { background: var(--gold); color: #fff; font-weight: 500; }
.admin-main { padding: 0 28px 40px; }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; gap: 16px; flex-wrap: wrap; }
.admin-topbar h1 { font-size: 20px; font-weight: 600; }
.admin-topbar .admin-user { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ink-2); }
.admin-topbar .admin-user .avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--gold); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; }
.a-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 22px; }
.a-stat-card { background: #fff; border-radius: var(--radius-lg); padding: 20px; border: 1px solid #e7e8ea; }
.a-stat-card .s-label { font-size: 13px; color: var(--gray); margin-bottom: 8px; }
.a-stat-card .s-num { font-size: 28px; font-weight: 600; color: var(--ink); }
.a-stat-card .s-num small { font-size: 13px; color: var(--gray); font-weight: 400; }
.a-stat-card .s-trend { font-size: 12.5px; margin-top: 6px; }
.a-stat-card .s-trend.up { color: var(--green); }
.a-panel { background: #fff; border-radius: var(--radius-lg); border: 1px solid #e7e8ea; padding: 22px; }
.a-panel + .a-panel, .a-panel + .a-stat-grid { margin-top: 18px; }
.a-panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; gap: 12px; flex-wrap: wrap; }
.a-panel-head h2 { font-size: 16px; font-weight: 600; }
.a-toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.a-toolbar input, .a-toolbar select {
  border: 1px solid #dcdee2; border-radius: 8px; padding: 7px 12px; font-size: 13.5px; font-family: inherit; outline: none;
}
.a-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.a-table th { text-align: left; font-weight: 500; color: var(--ink-2); background: #f7f8fa; padding: 10px 12px; white-space: nowrap; }
.a-table td { padding: 12px; border-top: 1px solid #eef0f2; vertical-align: middle; }
.a-table tr:hover td { background: #fbfaf5; }
.a-table .op-btns { display: flex; gap: 6px; white-space: nowrap; }
.op-link { border: none; background: none; color: var(--blue); font-size: 13px; padding: 2px 4px; }
.op-link.danger { color: var(--red); }
.op-link.warn { color: var(--amber); }
.status-pill { display: inline-block; font-size: 12px; border-radius: 999px; padding: 2px 10px; }
.status-pill.on { background: var(--green-bg); color: var(--green); }
.status-pill.off { background: #f1f1f1; color: var(--gray); }
.status-pill.pending { background: var(--amber-bg); color: var(--amber); }
.a-login-mask { position: fixed; inset: 0; background: linear-gradient(140deg, #1b2027, #2a3138); display: flex; align-items: center; justify-content: center; z-index: 50; }
.a-login-box { width: 400px; background: #fff; border-radius: 18px; padding: 40px 36px; text-align: center; }
.a-login-box .logo-mark { margin: 0 auto 14px; width: 46px; height: 46px; }
.a-login-box h2 { font-size: 20px; margin-bottom: 6px; }
.a-login-box .sub { font-size: 13px; color: var(--gray); margin-bottom: 26px; }
.a-login-box .form-item { text-align: left; margin-bottom: 14px; }

/* ---------- 关于/联系/入驻 等文字页 ---------- */
.page-hero { background: linear-gradient(120deg, #232a33, #1a2028); color: #fff; padding: 48px 0; }
.page-hero h1 { font-size: 28px; font-weight: 600; margin-bottom: 8px; }
.page-hero p { font-size: 14px; color: rgba(255, 255, 255, 0.65); }
.prose { max-width: 800px; }
.prose h2 { font-size: 19px; font-weight: 600; margin: 34px 0 14px; padding-left: 14px; border-left: 4px solid var(--gold); }
.prose p { font-size: 15px; color: var(--ink-2); margin-bottom: 14px; text-align: justify; }
.prose .hl { background: var(--gold-light); border-radius: 10px; padding: 16px 20px; font-size: 14px; color: var(--gold-dark); }
.prose ul { margin: 0 0 14px 4px; }
.prose ul li { position: relative; padding-left: 22px; margin-bottom: 8px; color: var(--ink-2); font-size: 14.5px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 7px; height: 7px; background: var(--gold); border-radius: 2px; transform: rotate(45deg); }

/* ---------- 产业名片横幅（梅陇首饰之都） ---------- */
.landmark-banner {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  display: flex;
  align-items: center;
  background: #10151c;
}
.lb-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 30%;
  background-size: cover;
  background-position: center 32%;
  transform: scale(1.03);
}
.lb-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #10151c 0%, #10151c 24%, rgba(16, 21, 28, 0.55) 34%, rgba(16, 21, 28, 0.12) 48%, rgba(16, 21, 28, 0.02) 70%);
}
.lb-inner { position: relative; z-index: 2; width: 100%; padding-top: 90px; padding-bottom: 90px; }
.lb-card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 48px 50px 44px;
  max-width: 560px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.42);
}
.lb-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 48px;
  bottom: 48px;
  width: 4px;
  background: linear-gradient(180deg, #b08d2e, #d9bc6a);
  border-radius: 0 4px 4px 0;
}
.lb-kicker {
  display: inline-block; font-size: 12.5px; letter-spacing: 3px; color: var(--gold-dark);
  border: 1px solid rgba(176, 141, 46, 0.4);
  padding: 5px 16px; border-radius: 999px; margin-bottom: 20px;
  background: var(--gold-bg);
}
.lb-card h2 { font-size: 42px; font-weight: 700; letter-spacing: 10px; color: var(--ink); margin-bottom: 16px; }
.lb-card .lb-lead { font-size: 16.5px; color: var(--ink); font-weight: 500; margin-bottom: 12px; }
.lb-card p { font-size: 15px; color: var(--ink-2); margin-bottom: 12px; text-align: justify; line-height: 1.95; }
.lb-source { font-size: 12px; color: var(--gray); margin-bottom: 26px; }
.lb-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.lb-caption {
  position: absolute;
  right: 34px;
  bottom: 24px;
  z-index: 3;
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  letter-spacing: 3px;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(9, 13, 18, 0.35);
  backdrop-filter: blur(4px);
  white-space: nowrap;
}

/* ---------- 推荐品牌展示 ---------- */
.brand-showcase {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 36px;
  background: linear-gradient(120deg, #ffffff 0%, #faf6ec 100%);
  border: 1px solid var(--border-2);
  border-radius: 18px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}
.brand-showcase::before {
  content: "";
  position: absolute; right: -70px; top: -70px; width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(217, 188, 106, 0.18), transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.bs-gallery { display: flex; flex-direction: column; gap: 10px; min-width: 0; position: relative; }
.bs-main img {
  width: 100%; aspect-ratio: 16/9.5; object-fit: cover;
  border-radius: 14px; border: 1px solid var(--border);
}
.bs-side { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.bs-side img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: 10px; border: 1px solid var(--border);
}
.bs-info { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.bs-kicker { font-size: 12.5px; letter-spacing: 3px; color: var(--gold-dark); margin-bottom: 10px; }
.bs-info h3 { font-size: 27px; font-weight: 600; letter-spacing: 1px; margin-bottom: 4px; color: var(--ink); }
.bs-company { font-size: 13.5px; color: var(--gray); margin-bottom: 12px; }
.bs-info p { font-size: 14px; color: var(--ink-2); text-align: justify; }

/* ---------- 卡片 / 图集真实图适配 ---------- */
.card-visual.has-photo { background: #f3efe3; }
.card-visual.has-photo img { width: 100%; height: 100%; object-fit: cover; }
.d-visual.has-photo { overflow: hidden; }
.d-visual.has-photo img { width: 100%; height: 100%; object-fit: cover; }
.gallery-grid .g-item.has-photo { overflow: hidden; }
.gallery-grid .g-item.has-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- 新增徽章 ---------- */
.badge-public { background: #eef3f7; color: #3f6480; border: 1px solid #c9dbe8; }
.badge-featured { background: linear-gradient(120deg, #b08d2e, #d9bc6a); color: #fff; border: 1px solid #b08d2e; }
.badge-note { background: rgba(22, 27, 34, 0.72); color: #e8d9ae; border: 1px solid rgba(217, 188, 106, 0.4); backdrop-filter: blur(3px); }

/* ---------- 品牌副标题 / 推荐卡 ---------- */
.card-brand { font-size: 12.5px; color: var(--gold-dark); font-weight: 500; margin-bottom: 8px; letter-spacing: 0.5px; }
.factory-card.is-featured { border-color: #d9bc6a; box-shadow: 0 4px 18px rgba(176, 141, 46, 0.15); }
.detail-head.is-featured .d-visual { border-color: var(--gold); }

/* ---------- 详情页新增 ---------- */
.d-brand { font-size: 22px; color: var(--gold-dark); font-weight: 600; margin-right: 4px; }
.factory-intro p { margin-bottom: 14px; }
.source-note {
  margin-top: 16px; padding: 12px 16px;
  background: var(--bg-warm);
  border: 1px dashed var(--border-2);
  border-radius: 10px;
  font-size: 12.5px; color: var(--gray); line-height: 1.7;
}
.source-note a { color: var(--gold-dark); text-decoration: underline; }
.contact-real { font-size: 20px; font-weight: 600; color: var(--gold-dark); letter-spacing: 1px; }
.contact-label {
  font-size: 11.5px; color: #fff;
  background: linear-gradient(120deg, #1e7f4f, #2ea06a);
  border-radius: 999px; padding: 1px 9px; margin-left: 8px;
  white-space: nowrap;
}

/* ---------- 工艺板块 ---------- */
.craft-band {
  background:
    radial-gradient(ellipse at 15% 15%, rgba(217, 188, 106, 0.1), transparent 50%),
    linear-gradient(120deg, #232a33 0%, #1a2028 100%);
  padding: 56px 0;
}
.craft-grid { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 20px; align-items: stretch; }
.craft-photo { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid rgba(217, 188, 106, 0.35); }
.craft-photo img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3.6; display: block; }
.craft-note {
  position: absolute; left: 12px; bottom: 12px;
  background: rgba(22, 27, 34, 0.75); backdrop-filter: blur(6px);
  color: #d9bc6a; font-size: 12px; letter-spacing: 2px;
  padding: 4px 12px; border-radius: 999px;
}
.craft-copy { display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.craft-item {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(217, 188, 106, 0.22);
  border-radius: 14px; padding: 18px 20px;
}
.craft-item b { display: block; font-size: 15.5px; color: #d9bc6a; margin-bottom: 6px; letter-spacing: 1px; }
.craft-item p { font-size: 13px; color: rgba(255, 255, 255, 0.62); line-height: 1.8; text-align: justify; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .tax-nav { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 22px 0; }
  .steps-row { grid-template-columns: repeat(2, 1fr); gap: 26px 0; }
  .step-item:not(:last-child)::after { display: none; }
  .detail-layout { grid-template-columns: 1fr; }
  .detail-side { position: static; }
  .hero-inner { text-align: center; padding-top: 70px; padding-bottom: 100px; }
  .hero-text { max-width: 100%; }
  .hero-text .hero-btns { justify-content: center; }
  .hero-text p { margin-left: auto; margin-right: auto; }
  .hero-text h1 { font-size: 36px; letter-spacing: 2px; }
  .hero-slides { min-height: 78vh; }
  .hero-caption { right: 14px; bottom: 16px; font-size: 11px; letter-spacing: 2px; }
  .hero-mask {
    background:
      linear-gradient(180deg, rgba(9, 13, 18, 0.62) 0%, rgba(9, 13, 18, 0.55) 50%, rgba(9, 13, 18, 0.82) 100%);
  }
  .tax-nav .tax-group { min-height: 250px; }
  .section-head h2 { font-size: 26px; }
  .brand-showcase { grid-template-columns: 1fr; gap: 22px; }
  .landmark-banner { min-height: 0; }
  .lb-bg { left: 0; }
  .lb-mask { background: linear-gradient(180deg, rgba(16, 21, 28, 0.55) 0%, rgba(16, 21, 28, 0.42) 50%, rgba(16, 21, 28, 0.68) 100%); }
  .lb-inner { padding-top: 64px; padding-bottom: 64px; }
  .lb-card { max-width: 100%; padding: 36px 30px 32px; }
  .lb-card h2 { font-size: 30px; letter-spacing: 6px; }
  .lb-caption { right: 14px; bottom: 14px; }
  .craft-grid { grid-template-columns: 1fr 1fr; }
  .craft-copy { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
  .craft-item { flex: 1; min-width: 220px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .a-stat-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-wrap { grid-template-columns: 1fr; }
  .admin-side { position: static; height: auto; }
  .admin-side .a-menu { flex-direction: row; overflow-x: auto; padding: 10px; }
  .admin-side .a-menu button { white-space: nowrap; }
}

@media (max-width: 640px) {
  .nav-toggle { display: block; order: 3; }
  .main-nav {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    padding: 10px 24px 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
  }
  .main-nav.open { display: flex; }
  .header-inner { gap: 14px; }
  .header-actions .btn-join-word { display: none; }
  .hero-text h1 { font-size: 28px; letter-spacing: 1px; }
  .hero-text p { font-size: 14.5px; }
  .hero-slides { min-height: 82vh; }
  .lb-inner { padding-top: 44px; padding-bottom: 44px; }
  .lb-card { padding: 28px 22px 26px; }
  .lb-card::before { top: 28px; bottom: 28px; }
  .lb-card h2 { font-size: 24px; letter-spacing: 4px; }
  .lb-kicker { font-size: 11px; letter-spacing: 2px; padding: 4px 12px; }
  .section-head h2 { font-size: 22px; padding-left: 18px; }
  .section-head h2::before { top: 12px; }
  .craft-grid { grid-template-columns: 1fr; }
  .brand-showcase { padding: 18px; }
  .bs-info h3 { font-size: 22px; }
  .stat-item b { font-size: 32px; }
  .stat-item b i { font-size: 17px; }
  .card-grid, .card-grid.cols-4 { grid-template-columns: 1fr 1fr; }
  .tax-nav { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .news-item { flex-direction: column; gap: 12px; }
  .news-item .n-date { display: flex; align-items: center; gap: 8px; width: auto; padding: 4px 12px; }
  .news-item .n-date b { font-size: 16px; }
  .a-table { display: block; overflow-x: auto; }
  .detail-head .d-visual { width: 90px; height: 90px; }
  .detail-head h1 { font-size: 21px; }
  .section { padding: 40px 0; }
}
