/* =========================================================
   United Swords — 前台样式（现代响应式，取代原 table/frameset 布局）
   ========================================================= */
:root {
  --bg: #0e0f11;
  --surface: #17181c;
  --surface-2: #1f2127;
  --border: #2c2f37;
  --text: #e8e6e1;
  --text-muted: #9a9aa2;
  --accent: #c9a227;          /* 鎏金 */
  --accent-strong: #e0b83a;
  --accent-rgb: 201, 162, 39; /* 主色 RGB 分量（供 rgba 使用，可在后台自定义） */
  --accent-ink: #141414;
  --danger: #d64545;
  --radius: 10px;
  --shadow: 0 8px 24px rgba(0, 0, 0, .35);
  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-strong); }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); letter-spacing: .02em; }
h2 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); }

.container { width: min(1200px, 92%); margin-inline: auto; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--accent); color: var(--accent-ink);
  padding: .5rem 1rem; z-index: 100;
}
.skip-link:focus { left: 0; }

/* ---------- 页头 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(68, 50, 1, 0.52);
  backdrop-filter: blur(8px);
}
/* 导航栏底部鎏金渐变线 */
.site-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), .85), transparent);
  pointer-events: none;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { display: flex; align-items: center; gap: .65rem; color: var(--text); }
.brand-mark {
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, #2a2c33, #17181c);
  border: 1px solid var(--border); color: var(--accent);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 1.05rem; letter-spacing: .12em; }
.brand-text small { color: var(--text-muted); font-size: .72rem; letter-spacing: .04em; }

.main-nav { display: flex; align-items: center; gap: .25rem; }
.main-nav > a {
  color: var(--text); padding: .5rem .85rem; border-radius: 8px;
  font-size: .95rem; transition: background .2s, color .2s;
}
.main-nav > a:hover { background: var(--surface-2); color: var(--accent-strong); }
.main-nav > a.active { color: var(--accent); }
.nav-toggle { display: none; background: none; border: 1px solid var(--border); color: var(--text); font-size: 1.25rem; padding: .3rem .7rem; border-radius: 8px; cursor: pointer; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block; padding: .65rem 1.4rem; border-radius: 8px;
  font-weight: 600; font-size: .95rem; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s, box-shadow .15s, background .2s;
  text-align: center;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-strong); color: var(--accent-ink); box-shadow: 0 4px 16px rgba(var(--accent-rgb), .35); }
.btn-ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-sm { padding: .45rem 1rem; font-size: .85rem; }
.btn-danger { background: var(--danger); color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(3.5rem, 9vw, 7rem) 0;
  background:
    /* 右上角金色渐变光晕 */
    linear-gradient(245deg, rgba(var(--accent-rgb), .22) 0%, rgba(var(--accent-rgb), .08) 34%, transparent 62%),
    radial-gradient(1100px 480px at 82% -20%, rgba(var(--accent-rgb), .14), transparent 62%),
    /* 深色基底 */
    linear-gradient(180deg, #191a20 0%, #121317 55%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}
/* Hero 右侧装饰图：透明度渐变（左缘 100% 透明 → 右缘 50% 透明） */
.hero-side-img {
  position: absolute; right: 20%; top: 50%;
  height: 105%; width: auto; max-width: 44%;
  transform: translateY(-50%);
  object-fit: contain; object-position: right center;
  pointer-events: none; user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .35) 100%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .35) 100%);
}

/* 底部光带收边 */
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), .55), transparent);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }

/* ---------- Hero 载入动画：一次编排的入场序列 ---------- */
/* 右侧背景图：放大 + 去模糊（如镜头对焦般显现） */
@keyframes hero-img-reveal {
  from { opacity: 0; transform: translateY(-50%) scale(1.16); filter: blur(12px); }
  to   { opacity: 1; transform: translateY(-50%) scale(1);    filter: blur(0); }
}
/* 文案：自下而上浮现 */
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(24px); filter: blur(6px); }
  to   { opacity: 1; transform: translateY(0);    filter: blur(0); }
}
/* 一道鎏金光带斜向扫过 hero 背景 */
@keyframes hero-sheen {
  from { opacity: 0; transform: translateX(-45%) rotate(8deg); }
  35%  { opacity: .55; }
  to   { opacity: 0; transform: translateX(45%) rotate(8deg); }
}

.hero .eyebrow,
.hero h1,
.hero p.lead,
.hero-actions,
.hero .stats { animation: hero-rise .85s cubic-bezier(.16, .84, .34, 1) both; }
.hero .eyebrow     { animation-delay: .12s; }
.hero h1           { animation-delay: .26s; }
.hero p.lead       { animation-delay: .42s; }
.hero-actions     { animation-delay: .56s; }
.hero .stats       { animation-delay: .72s; }

.hero-side-img { animation: hero-img-reveal 1.5s cubic-bezier(.16, .84, .34, 1) both; }

/* 光带覆盖层（置于 hero 内容之下） */
.hero::before {
  content: ""; position: absolute; inset: -30% -12%; z-index: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 42%, rgba(var(--accent-rgb), .16) 50%, transparent 58%);
  animation: hero-sheen 1.6s .2s ease-out both;
}

@media (prefers-reduced-motion: reduce) {
  .hero .eyebrow, .hero h1, .hero p.lead, .hero-actions, .hero .stats,
  .hero-side-img, .hero::before { animation: none !important; }
}
.hero .eyebrow { color: var(--accent); text-transform: uppercase; letter-spacing: .3em; font-size: .78rem; margin-bottom: 1rem; }
.hero p.lead { color: var(--text-muted); max-width: 640px; font-size: 1.05rem; }
.hero-actions { display: flex; gap: .8rem; margin-top: 1.6rem; flex-wrap: wrap; }

.stats { display: flex; gap: 2.5rem; margin-top: 2.5rem; flex-wrap: wrap; }
.stat b { display: block; font-size: 1.7rem; color: var(--accent); }
.stat span { color: var(--text-muted); font-size: .85rem; }

/* ---------- 区块 ---------- */
.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.section.alt { background: var(--surface); border-block: 1px solid var(--border); }
.section-head { margin-bottom: 2rem; }
.section-head p { color: var(--text-muted); margin: 0; }

/* ---------- 分类卡片（紧凑版，容纳全部分类） ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .6rem; }
.cat-card {
  display: flex; flex-direction: column; gap: .2rem;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: .7rem .8rem;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.cat-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow); }
.cat-card h3 { margin: 0; font-size: .88rem; line-height: 1.35; }
.cat-card p { margin: 0; color: var(--text-muted); font-size: .78rem; line-height: 1.4; }
.cat-card .count { color: var(--accent); font-size: .74rem; }

/* ---------- 目录页：分类侧栏 + 商品区 ---------- */
.catalog-layout {
  display: grid; grid-template-columns: 230px 1fr; gap: 2rem; align-items: start;
}
.cat-sidebar {
  position: sticky; top: 90px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.2rem;
}
.cat-sidebar-title {
  font-size: .8rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--text-muted); margin: 0 0 .8rem;
}
.cat-nav { display: flex; flex-direction: column; gap: 1px; }
.cat-name { display: flex; align-items: center; gap: .4rem; min-width: 0; }
.cat-sword {
  display: none; width: 15px; height: 15px; flex-shrink: 0;
  fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.cat-link.active .cat-sword { display: block; }
.cat-link {
  display: flex; align-items: center; justify-content: space-between; gap: .3rem;
  color: var(--text); padding: .05rem .3rem; border-radius: 8px;
  font-size: .82rem; line-height: 1.4; border: 1px solid transparent;
  transition: background .15s, color .15s, border-color .15s;
}
.cat-link:hover { background: var(--surface-2); color: var(--accent-strong); }
.cat-link.active {
  background: rgba(var(--accent-rgb), .12); color: var(--accent);
  border-color: rgba(var(--accent-rgb), .35); font-weight: 600;
}
.cat-link.sub { font-size: .85rem; color: var(--text-muted); padding-left: 1.2rem; }
.cat-link.sub:hover { color: var(--accent-strong); }
.cat-link.sub.active { color: var(--accent); }
.cat-count {
  font-size: .72rem; color: var(--text-muted);
  background: var(--surface-2); border-radius: 99px; padding: .05rem .5rem;
}
.cat-link.active .cat-count { color: var(--accent); background: rgba(var(--accent-rgb), .15); }

@media (max-width: 700px) {
  .catalog-layout { grid-template-columns: 1fr; gap: 1.2rem; }
  .cat-sidebar { position: static; }
  .cat-nav { flex-direction: row; flex-wrap: wrap; }
  .cat-link { width: auto; }
}

/* ---------- 产品网格 ---------- */
.product-grid {
  display: grid; grid-template-columns: repeat(4, 220px); gap: 1.4rem;
  justify-content: center;
}
@media (max-width: 1000px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 首页 Latest Products：每行 5 个（卡片约 220px，随容器自适应） */
.product-grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1100px) {
  .product-grid-5 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .product-grid-5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .product-grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.product-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.product-card:hover { border-color: var(--accent); transform: translateY(-3px); box-shadow: var(--shadow); }
.product-card .thumb { aspect-ratio: 1 / 1; background: #101114; display: grid; place-items: center; overflow: hidden; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: contain; padding: .8rem; transition: transform .3s; }
.product-card:hover .thumb img { transform: scale(1.05); }
.product-card .meta { padding: .8rem 1rem 1rem; text-align: center; }
.product-card .no { color: var(--accent); font-size: .7rem; letter-spacing: .06em; }
.product-card .name { color: var(--text); font-size: .75rem; margin-top: .15rem; }
.badge-new {
  display: inline-block; background: var(--accent); color: var(--accent-ink);
  font-size: .6rem; font-weight: 700; padding: .1rem .3rem; border-radius: 99px;
  text-transform: uppercase; letter-spacing: .08em;
}

/* ---------- Featured 精选页：高端卡片 ---------- */
.featured-section {
  background:
    radial-gradient(900px 360px at 85% -5%, rgba(var(--accent-rgb), .07), transparent 60%),
    radial-gradient(700px 320px at -5% 105%, rgba(var(--accent-rgb), .05), transparent 60%);
}
.featured-hero { text-align: center; margin-bottom: 2.2rem; }
.featured-hero-mark {
  display: inline-block; color: var(--accent); font-size: .8rem;
  letter-spacing: .5em; margin-bottom: .5rem; padding-left: .5em;
}
.featured-hero h1 {
  margin-bottom: .4rem;
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  background: linear-gradient(180deg, #fff 20%, #cfc9b8 85%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.featured-hero p { color: var(--text-muted); font-size: .92rem; max-width: 680px; margin: 0 auto; }
.featured-hero::after {
  content: ""; display: block; width: 820px; height: 1px; margin: 1.1rem auto 0;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), .8), transparent);
}

/* ---------- Featured 策展式网格 ---------- */
/* 全部为 1×1 等大展位，图录编号压印，形成整齐的展览陈列 */
.curated-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 1.15rem;
}

.c-piece {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .3s, border-color .3s, box-shadow .3s;
}

.c-piece:hover {
  border-color: rgba(var(--accent-rgb), .55);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

/* 图录编号：左上角压印，跨页连续 */
.c-plate {
  position: absolute; top: .7rem; left: .85rem; z-index: 2;
  color: rgba(232, 230, 225, .38);
  font-size: .72rem; font-weight: 600;
  letter-spacing: .18em; font-variant-numeric: tabular-nums;
}

/* 新品徽标 */
.c-fresh {
  position: absolute; top: .7rem; right: .8rem; z-index: 2;
  background: var(--accent); color: var(--accent-ink);
  font-size: .6rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase;
  padding: .14rem .5rem; border-radius: 99px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .4);
}

/* 展台：暗色展托 + 底部微光 */
.c-thumb {
  flex: 1; min-height: 0; aspect-ratio: 1 / 1;
  display: grid; place-items: center; overflow: hidden;
  background:
    radial-gradient(60% 55% at 50% 42%, rgba(var(--accent-rgb), .09), transparent 70%),
    linear-gradient(180deg, #101114, #15161b);
}
.c-thumb img {
  width: 100%; height: 100%; object-fit: contain; padding: 1rem;
  filter: drop-shadow(0 12px 16px rgba(0, 0, 0, .5));
  transition: transform .35s;
}
.c-piece:hover .c-thumb img { transform: scale(1.03); }

/* 图注：1×1 展位居中两行（上货号、下商品名） */
.c-caption {
  display: flex; flex-direction: column; align-items: center; gap: .10rem;
  padding: .8rem 1rem .95rem;
  border-top: 1px solid rgba(var(--accent-rgb), .16);
  background: linear-gradient(180deg, rgba(var(--accent-rgb), .05), rgba(36, 25, 1, 0.75) 75%);
  text-align: center;
}
.c-no {
  color: var(--accent); font-size: .70rem; font-weight: 400;
  letter-spacing: .02em; text-transform: uppercase; white-space: nowrap;
}
.c-name {
  color: var(--text); font-size: .75rem; letter-spacing: .02em;
  line-height: 1.05;
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
/* 响应式：置于展位样式之后 */
@media (max-width: 1100px) { .curated-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px)  { .curated-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px)  { .curated-grid { grid-template-columns: 1fr; } }

/* ---------- 面包屑 / 工具条 ---------- */
.breadcrumb { color: var(--text-muted); font-size: .85rem; margin-bottom: 1.2rem; }
.breadcrumb a { color: var(--text-muted); }
.toolbar {
  display: flex; gap: .8rem; align-items: center; justify-content: space-between;
  flex-wrap: wrap; margin-bottom: 1.6rem;
}
.search-form { display: flex; gap: .5rem; }
.search-form input {
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  padding: .55rem .9rem; border-radius: 8px; min-width: 240px;
}
.search-form input:focus { outline: 2px solid var(--accent); outline-offset: -1px; }

/* ---------- 分页 ---------- */
.pagination { display: flex; gap: .4rem; justify-content: center; flex-wrap: wrap; margin: 2.2rem 0 .5rem; }
.pagination a, .pagination span {
  padding: .45rem .85rem; border: 1px solid var(--border); border-radius: 8px;
  color: var(--text); font-size: .9rem; background: var(--surface);
}
.pagination a:hover { border-color: var(--accent); color: var(--accent); }
.pagination .current { background: var(--accent); color: var(--accent-ink); font-weight: 700; border-color: var(--accent); }
.pagination .disabled { color: var(--text-muted); opacity: .5; }
.result-info { text-align: center; color: var(--text-muted); font-size: .85rem; margin-bottom: 2rem; }

/* ---------- 产品详情 ---------- */
.product-detail { display: grid; grid-template-columns: minmax(280px, 480px) 1fr; gap: 2.5rem; align-items: start; }
.detail-gallery .main-img {
  width: 100%; aspect-ratio: 1/1; object-fit: contain;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  cursor: zoom-in;
}
.thumbs {
  display: flex; gap: .6rem; margin-top: .8rem;
  flex-wrap: nowrap; overflow-x: auto; padding-bottom: .4rem;
  -webkit-overflow-scrolling: touch;
  /* 深色滚动条（Firefox） */
  scrollbar-width: thin;
  scrollbar-color: #3a3d46 var(--surface);
}
/* 深色滚动条（Chrome / Edge / Safari） */
.thumbs::-webkit-scrollbar { height: 8px; }
.thumbs::-webkit-scrollbar-track { background: var(--surface); border-radius: 4px; }
.thumbs::-webkit-scrollbar-thumb { background: #3a3d46; border-radius: 4px; }
.thumbs::-webkit-scrollbar-thumb:hover { background: var(--accent); }
.thumbs img {
  width: 64px; height: 64px; object-fit: contain; cursor: pointer;
  background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: .25rem;
  flex-shrink: 0;
}
.thumbs img.selected { border-color: var(--accent); }
.spec-table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; }
.spec-table th, .spec-table td { text-align: left; padding: .55rem .2rem; border-bottom: 1px dashed var(--border); font-size: .95rem; }
.spec-table th { color: var(--text-muted); font-weight: 500; width: 20%; }
.detail-actions { display: flex; gap: .8rem; margin-top: 2.6rem; flex-wrap: wrap; }

/* ---------- 商品视频卡片 ---------- */
.video-card {
  width: 100%; margin: 2.6rem 0 0;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.2rem 1.4rem 1.4rem;
}
.video-card-title {
  display: flex; align-items: center; gap: .6rem;
  margin: 0 0 1rem; font-size: 1.05rem; letter-spacing: .04em;
}
.video-card-title::before {
  content: ""; width: 4px; height: 1em; border-radius: 2px;
  background: linear-gradient(180deg, var(--accent-strong), var(--accent));
}
.video-card-player {
  display: block; width: 100%; height: auto;
  max-height: 78vh; background: #101114;
  border-radius: 8px; border: 1px solid var(--border);
}

/* 灯箱 */
.lightbox {
  position: fixed; inset: 0; background: rgba(0, 0, 0, .88);
  display: none; place-items: center; z-index: 200; cursor: zoom-out; padding: 2rem;
}
.lightbox.open { display: grid; }
.lightbox .lb-img { max-width: 92vw; max-height: 90vh; border-radius: 8px; cursor: default; }
.lb-arrow, .lb-close {
  position: absolute; display: grid; place-items: center;
  background: rgba(255, 255, 255, .08); color: #fff;
  border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%;
  cursor: pointer; user-select: none; line-height: 1;
  transition: background .15s, border-color .15s;
}
.lb-arrow { width: 52px; height: 52px; top: 50%; transform: translateY(-50%); font-size: 2rem; padding-bottom: .25rem; }
.lb-arrow:hover, .lb-close:hover { background: rgba(201, 162, 39, .85); border-color: transparent; color: #141414; }
.lb-prev { left: 2.5vw; }
.lb-next { right: 2.5vw; }
.lb-close {
  top: 2.5vh; right: 2.5vw; width: 42px; height: 42px;
  font-size: 1.6rem;
}
@media (max-width: 700px) {
  .lb-arrow { width: 40px; height: 40px; font-size: 1.5rem; }
  .lb-prev { left: 2vw; }
  .lb-next { right: 2vw; }
}

/* ---------- 表单 ---------- */
.form-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.8rem; max-width: 720px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .85rem; color: var(--text-muted); margin-bottom: .3rem; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--surface-2); border: 1px solid var(--border);
  color: var(--text); padding: .6rem .8rem; border-radius: 8px; font: inherit;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: -1px; }
.field textarea { min-height: 130px; resize: vertical; }
.form-actions { margin-top: 1.4rem; display: flex; gap: .8rem; align-items: center; }
.form-note { color: var(--text-muted); font-size: .82rem; margin-top: .9rem; }

/* ---------- 询盘页 ---------- */
.inquiry-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 2rem; align-items: start; }
.info-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.4rem 1.5rem;
}
.info-card + .info-card { margin-top: 1.2rem; }
.info-card h2 { font-size: 1.02rem; margin-bottom: .9rem; }
.contact-line {
  display: flex; gap: .8rem; align-items: flex-start;
  padding: .6rem 0; border-bottom: 1px dashed var(--border);
}
.contact-line:last-child { border-bottom: 0; padding-bottom: .1rem; }
.contact-line svg { flex-shrink: 0; color: var(--accent); margin-top: 3px; }
.contact-line .c-label {
  font-size: .72rem; color: var(--text-muted);
  text-transform: uppercase; letter-spacing: .1em;
}
.contact-line .c-value { color: var(--text); font-size: .95rem; word-break: break-all; }
.step-mini { list-style: none; padding: 0; margin: 0; counter-reset: step; }
.step-mini li { position: relative; padding: 0 0 1.1rem 2.5rem; counter-increment: step; }
.step-mini li:last-child { padding-bottom: 0; }
.step-mini li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 1.7rem; height: 1.7rem; display: grid; place-items: center;
  border-radius: 50%; background: rgba(var(--accent-rgb), .12);
  color: var(--accent); font-size: .82rem; font-weight: 700;
  border: 1px solid rgba(var(--accent-rgb), .35);
}
.step-mini b { display: block; font-size: .95rem; margin-bottom: .1rem; }
.step-mini span { color: var(--text-muted); font-size: .84rem; }

/* ---------- 静态页 ---------- */
.page-body { max-width: 860px; }
.page-body p { color: #c9c8ce; }

/* ---------- About Us 页面 ---------- */
.about-hero { max-width: 860px; }
.about-hero h1 { margin-bottom: 1.2rem; }
.about-hero p { color: #c9c8ce; margin: 0 0 .9rem; }
.about-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem;
  margin-top: 2.4rem;
}
.about-stat {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.4rem 1rem;
  text-align: center; border-top: 2px solid var(--accent);
}
.about-stat b { display: block; font-size: 1.65rem; color: var(--accent); }
.about-stat span { color: var(--text-muted); font-size: .84rem; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.feature-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem 1.4rem;
  transition: border-color .2s, transform .2s;
}
.feature-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.feature-icon {
  display: grid; place-items: center; width: 46px; height: 46px;
  border-radius: 10px; margin-bottom: .9rem;
  background: rgba(var(--accent-rgb), .12); color: var(--accent);
  border: 1px solid rgba(var(--accent-rgb), .3);
}
.feature-card h3 { font-size: 1.02rem; margin-bottom: .5rem; }
.feature-card p { color: var(--text-muted); font-size: .88rem; margin: 0; }

.about-craft {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 2.6rem; align-items: start;
}
.about-craft h2 { margin-bottom: 1rem; }
.about-craft p { color: #c9c8ce; margin: 0 0 1rem; }
.craft-list { list-style: none; margin: 0; padding: 0; }
.craft-list li {
  position: relative; padding: 0 0 1.1rem 2.2rem;
  border-left: 2px solid var(--border); margin-left: .6rem;
}
.craft-list li:last-child { border-left-color: transparent; padding-bottom: 0; }
.craft-list li::before {
  content: ""; position: absolute; left: -.44rem; top: .1rem;
  width: .8rem; height: .8rem; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--accent);
}
.craft-list b { display: block; font-size: .95rem; margin-bottom: .15rem; }
.craft-list span { color: var(--text-muted); font-size: .85rem; }

.cat-chips {
  display: grid; grid-template-columns: repeat(8, 1fr); gap: .7rem;
}
.chip {
  padding: .55rem .5rem; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text); font-size: .85rem;
  text-align: center; line-height: 1.35;
  display: grid; place-items: center;
  transition: border-color .15s, color .15s, transform .15s;
}
@media (max-width: 1000px) {
  .cat-chips { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 640px) {
  .cat-chips { grid-template-columns: repeat(2, 1fr); }
}
.chip:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

.about-cta {
  text-align: center; padding: 2.6rem 2rem;
  border-radius: var(--radius);
  background:
    radial-gradient(600px 220px at 50% -30%, rgba(var(--accent-rgb), .18), transparent 70%),
    var(--surface);
  border: 1px solid var(--border);
}
.about-cta h2 { margin-bottom: .4rem; }
.about-cta p { color: var(--text-muted); margin: 0 0 1.4rem; }

@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .about-craft { grid-template-columns: 1fr; gap: 1.6rem; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .feature-grid { grid-template-columns: 1fr; }
}

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative; border-top: 1px solid var(--border);
  background: linear-gradient(180deg, #0b0c0f, #070809);
  margin-top: 3rem;
}
.site-footer::before {
  content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(var(--accent-rgb), .65), transparent);
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr; gap: 2.6rem; padding: 3rem 0 2.4rem; }
.f-brand .brand { margin-bottom: 1.1rem; }
.f-brand p { color: var(--text-muted); font-size: .9rem; line-height: 1.7; }
.f-badge {
  display: inline-block; margin-top: 1rem; padding: .35rem .9rem;
  border: 1px solid rgba(var(--accent-rgb), .35); border-radius: 99px;
  color: var(--accent); font-size: .75rem; letter-spacing: .08em;
}
.site-footer h4 {
  color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .14em;
  margin: 0 0 1.1rem; position: relative; padding-bottom: .55rem;
}
.site-footer h4::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 28px; height: 2px; background: var(--accent);
}
.f-links { list-style: none; margin: 0; padding: 0; }
.f-links li { margin-bottom: .55rem; }
.f-links a {
  color: var(--text-muted); font-size: .92rem;
  transition: color .15s, padding-left .15s;
}
.f-links a::before {
  content: "\203A"; margin-right: .45rem; color: var(--accent);
  opacity: 0; transition: opacity .15s;
}
.f-links a:hover { color: var(--accent); padding-left: .3rem; }
.f-links a:hover::before { opacity: 1; }
.site-footer .contact-line { padding: .45rem 0; }
.site-footer .contact-line svg { color: var(--accent); margin-top: 2px; }
.site-footer .c-label { font-size: .7rem; }
.site-footer .c-value { font-size: .88rem; }
.footer-bottom { border-top: 1px solid var(--border); background: #2b2001; }
.fb-inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; flex-wrap: wrap; padding: 1.1rem 0;
}
.fb-inner span, .back-top { color: var(--text-muted); font-size: .8rem; }
.back-top { transition: color .15s; }
.back-top:hover { color: var(--accent); }

/* ---------- 空状态 ---------- */
.empty {
  text-align: center; padding: 3.5rem 1rem; color: var(--text-muted);
  background: var(--surface); border: 1px dashed var(--border); border-radius: var(--radius);
}

/* ---------- 提示 ---------- */
.flash { padding: .8rem 1.2rem; border-radius: 8px; margin: 1.2rem 0; font-size: .92rem; }
.flash-ok { background: rgba(72, 187, 120, .12); border: 1px solid rgba(72, 187, 120, .4); color: #7ee2a8; }
.flash-err { background: rgba(214, 69, 69, .12); border: 1px solid rgba(214, 69, 69, .4); color: #f1a0a0; }

/* ---------- 目录密码门 ---------- */
.gate-wrap {
  min-height: 100vh; display: grid; place-items: center;
  background: linear-gradient(160deg, #14151a, var(--bg));
  padding: 20px;
}
.gate-card {
  width: 100%; max-width: 420px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 2.4rem 2.2rem; text-align: center;
  box-shadow: var(--shadow);
}
.gate-icon {
  display: grid; place-items: center; width: 58px; height: 58px;
  margin: 0 auto 1.1rem; border-radius: 50%;
  background: rgba(var(--accent-rgb), .1); color: var(--accent);
  border: 1px solid rgba(var(--accent-rgb), .3);
}
.gate-card h1 { font-size: 1.3rem; margin-bottom: .4rem; }
.gate-sub { color: var(--text-muted); font-size: .88rem; margin: 0 0 1.4rem; }
.gate-input {
  width: 100%; margin-bottom: 1rem;
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--text); padding: .7rem .9rem; border-radius: 8px; font: inherit;
  text-align: center; letter-spacing: .08em;
}
.gate-input:focus { outline: 2px solid var(--accent); outline-offset: -1px; }

/* ---------- 响应式 ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--border);
    padding: .6rem 4%;
  }
  .main-nav.open { display: flex; }
  .main-nav > a { padding: .8rem .5rem; border-radius: 0; border-bottom: 1px solid var(--border); }
  .product-detail { grid-template-columns: 1fr; }
  .inquiry-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .form-grid { grid-template-columns: 1fr; }
  .search-form input { min-width: 0; flex: 1; }
}
