/* ============================================================
   铁工集 IRONMART · 多商户五金商城
   视觉体系：工程蓝图 × 工业印刷
   墨蓝墨线 / 安全橙标注 / 直角硬边框 / 硬投影 / 图纸网格
   ============================================================ */

:root {
  /* —— 色彩 token —— */
  --ink:        #0E1B2A; /* 主墨色：深海军蓝黑 */
  --ink-2:      #16324F; /* 次墨：工程蓝图蓝 */
  --steel:      #41566B; /* 钢灰蓝（次要文字） */
  --steel-2:    #72839A; /* 浅钢灰（辅助文字） */
  --paper:      #FFFFFF;
  --bg:         #EFF1F4; /* 图纸冷灰底 */
  --bg-grid:    #F6F8FA;
  --line:       #C7D0DA; /* 墨线 */
  --line-strong:#0E1B2A;
  --orange:     #F05A22; /* 安全橙（唯一强调色） */
  --orange-dark:#D24716;
  --green:      #1E7A46; /* 认证 / 在营 */
  --amber:      #B88100;

  /* —— 字体 token —— */
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
          "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --mono: "SF Mono", "Cascadia Code", "Cascadia Mono", Consolas,
          "Liberation Mono", Menlo, monospace;

  /* —— 结构 token —— */
  --container: 1480px;
  --radius: 2px;
  --shadow-hard: 5px 5px 0 var(--ink);
  --shadow-hard-sm: 3px 3px 0 var(--ink);
  --header-h: 72px;
}

/* ============ reset ============ */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button, input, select { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
::selection { background: var(--orange); color: #fff; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.mono { font-family: var(--mono); }
.muted { color: var(--steel-2); }

/* ============ 通用元素 ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  padding: 0 22px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  font-weight: 700;
  letter-spacing: .02em;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
  user-select: none;
  white-space: nowrap;
}
.btn-primary { background: var(--ink); color: #fff; box-shadow: var(--shadow-hard-sm); }
.btn-primary:hover { background: var(--orange); border-color: var(--orange); transform: translate(-1px,-1px); box-shadow: 4px 4px 0 var(--ink); }
.btn-primary:active { transform: translate(2px,2px); box-shadow: 0 0 0 var(--ink); }
.btn-orange { background: var(--orange); border-color: var(--ink); color: #fff; box-shadow: var(--shadow-hard-sm); }
.btn-orange:hover { transform: translate(-1px,-1px); box-shadow: 4px 4px 0 var(--ink); background: var(--orange-dark); }
.btn-orange:active { transform: translate(2px,2px); box-shadow: 0 0 0 var(--ink); }
.btn-ghost { background: var(--paper); box-shadow: var(--shadow-hard-sm); }
.btn-ghost:hover { transform: translate(-1px,-1px); box-shadow: 4px 4px 0 var(--ink); }
.btn-ghost:active { transform: translate(2px,2px); box-shadow: 0 0 0 var(--ink); }
.btn-sm { height: 32px; padding: 0 14px; font-size: 12.5px; }
.btn-block { width: 100%; }

.tag {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 11px;
  font-family: var(--mono);
  letter-spacing: .03em;
  color: var(--steel);
  background: var(--paper);
  white-space: nowrap;
}
.tag-solid { background: var(--ink); color: #fff; border-color: var(--ink); }
.tag-orange { background: var(--orange); color: #fff; border-color: var(--ink); }
.tag-green { color: var(--green); border-color: var(--green); }
.tag::before { content: ""; width: 5px; height: 5px; background: currentColor; margin-right: 6px; flex: none; }
.tag.plain::before { display: none; }

/* 评分 */
.stars { color: var(--orange); letter-spacing: 1px; font-size: 13px; }
.stars .off { color: var(--line); }

/* 区块标题：工程编号风 */
.section { padding: 64px 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--ink);
}
.section-head h2 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: .01em;
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.section-head h2 .no {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
  letter-spacing: .1em;
}
.section-head h2 .en {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--steel-2);
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.section-head .more {
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1.5px solid var(--ink);
  padding-bottom: 2px;
}
.section-head .more:hover { color: var(--orange); border-color: var(--orange); }

/* 面包屑 */
.crumb {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--steel-2);
  letter-spacing: .04em;
  margin-bottom: 14px;
}
.crumb a:hover { color: var(--orange); }
.crumb .sep { margin: 0 8px; color: var(--line); }

/* ============ 顶部公告条 ============ */
.topbar {
  background: var(--ink);
  color: #AEBCCB;
  font-size: 12px;
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 34px;
}
.topbar-notice { display: flex; align-items: center; gap: 18px; }
.topbar-notice span { display: inline-flex; align-items: center; gap: 6px; }
.topbar-notice b { color: #fff; font-weight: 600; font-family: var(--mono); }
.topbar-links { display: flex; align-items: center; gap: 18px; }
.topbar-links a:hover { color: var(--orange); }
.topbar-links .hotline { color: #fff; font-family: var(--mono); }

/* ============ 主头部 ============ */
.header {
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header .container {
  display: flex;
  align-items: center;
  gap: 36px;
  height: var(--header-h);
}
.logo { display: flex; align-items: center; gap: 11px; flex: none; }
.logo-mark {
  width: 40px; height: 40px;
  background: var(--ink);
  display: grid;
  place-items: center;
  border: 1.5px solid var(--ink);
}
.logo-text { line-height: 1.15; }
.logo-text .cn { font-size: 19px; font-weight: 800; letter-spacing: .06em; }
.logo-text .en { font-family: var(--mono); font-size: 9.5px; color: var(--steel); letter-spacing: .22em; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 14px;
  font-weight: 700;
  font-size: 14.5px;
  position: relative;
}
.nav a:hover { color: var(--orange); }
.nav a.active { color: var(--orange); }
.nav a.active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: -2px;
  height: 3px;
  background: var(--orange);
}

.header-search {
  margin-left: auto;
  display: flex;
  align-items: stretch;
  width: 300px;
  height: 40px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper);
}
.header-search select {
  border: none;
  border-right: 1.5px solid var(--ink);
  background: var(--bg-grid);
  padding: 0 10px;
  font-size: 12.5px;
  font-weight: 600;
  outline: none;
  cursor: pointer;
}
.header-search input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0 12px;
  min-width: 0;
}
.header-search button {
  width: 46px;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
}
.header-search button:hover { background: var(--orange); }

.header-cart {
  position: relative;
  width: 44px; height: 44px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: var(--paper);
  flex: none;
}
.header-cart:hover { background: var(--ink); color: #fff; }
.header-cart .badge {
  position: absolute;
  top: -9px; right: -9px;
  min-width: 20px; height: 20px;
  padding: 0 5px;
  background: var(--orange);
  color: #fff;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

/* ============ HERO ============ */
.hero {
  background: var(--ink-2);
  color: #fff;
  position: relative;
  overflow: hidden;
  border-bottom: 2px solid var(--ink);
}
/* 图纸网格 */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 28px 28px, 28px 28px, 140px 140px, 140px 140px;
  pointer-events: none;
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  padding-top: 64px;
  padding-bottom: 64px;
  align-items: center;
}
.hero-code {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .25em;
  color: var(--orange);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-code::before {
  content: "";
  width: 36px; height: 2px;
  background: var(--orange);
}
.hero h1 {
  font-size: 44px;
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: .01em;
  margin-bottom: 18px;
}
.hero h1 .u {
  color: var(--orange);
  position: relative;
  white-space: nowrap;
}
.hero p.lead {
  font-size: 15.5px;
  color: #B9C7D6;
  max-width: 480px;
  margin-bottom: 28px;
}
.hero-search {
  display: flex;
  height: 56px;
  max-width: 540px;
  border: 2px solid #fff;
  background: #fff;
  border-radius: var(--radius);
}
.hero-search input {
  flex: 1;
  border: none;
  outline: none;
  padding: 0 20px;
  font-size: 15px;
  color: var(--ink);
  min-width: 0;
}
.hero-search button {
  width: 128px;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.hero-search button:hover { background: var(--orange-dark); }
.hero-hots {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12.5px;
  color: #8FA3B8;
}
.hero-hots a {
  border: 1px solid rgba(255,255,255,.25);
  padding: 3px 10px;
  color: #C9D6E4;
  border-radius: var(--radius);
}
.hero-hots a:hover { border-color: var(--orange); color: var(--orange); }

.hero-media {
  position: relative;
}
.hero-media .frame {
  border: 2px solid #fff;
  box-shadow: 10px 10px 0 rgba(240,90,34,.55);
  overflow: hidden;
  line-height: 0;
}
.hero-media .frame img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.hero-stamp {
  position: absolute;
  left: -22px; bottom: -22px;
  background: var(--orange);
  color: #fff;
  border: 2px solid #fff;
  padding: 14px 20px;
  box-shadow: 6px 6px 0 rgba(0,0,0,.35);
  display: flex;
  gap: 22px;
}
.hero-stamp div { line-height: 1.3; }
.hero-stamp b { font-family: var(--mono); font-size: 22px; display: block; }
.hero-stamp span { font-size: 11px; color: #FFE3D5; }
.hero-corner {
  position: absolute;
  top: -14px; right: -14px;
  background: #fff;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  padding: 8px 12px;
  transform: rotate(3deg);
}

/* ============ 数据条 ============ */
.stats {
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
}
.stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 30px 24px;
  border-right: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 16px;
}
.stat:last-child { border-right: none; }
.stat .num {
  font-family: var(--mono);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}
.stat .num em { font-style: normal; color: var(--orange); font-size: 22px; margin-left: 2px; }
.stat .lbl { font-size: 13px; color: var(--steel); font-weight: 600; }
.stat .ico {
  margin-left: auto;
  width: 42px; height: 42px;
  border: 1.5px solid var(--ink);
  display: grid;
  place-items: center;
  background: var(--bg-grid);
  flex: none;
}

/* ============ 品类金刚区 ============ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  border: 1.5px solid var(--ink);
  background: var(--paper);
}
.cat-item {
  padding: 26px 10px 22px;
  text-align: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background .12s;
}
.cat-item:nth-child(8n) { border-right: none; }
.cat-item:nth-last-child(-n+8) { border-bottom: none; }
.cat-item .ico {
  width: 52px; height: 52px;
  margin: 0 auto 12px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  background: var(--bg-grid);
  color: var(--ink);
  transition: all .12s;
}
.cat-item:hover { background: var(--ink); color: #fff; }
.cat-item:hover .ico { background: var(--orange); border-color: #fff; color: #fff; }
.cat-item .name { font-weight: 700; font-size: 14px; }
.cat-item .code {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--steel-2);
  letter-spacing: .1em;
  margin-top: 3px;
}
.cat-item:hover .code { color: #9FB3C6; }

/* 保障条 */
.promise {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.promise-item {
  border: 1.5px solid var(--ink);
  background: var(--paper);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--shadow-hard-sm);
}
.promise-item .ico {
  width: 40px; height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: #fff;
}
.promise-item b { display: block; font-size: 14px; }
.promise-item span { font-size: 12px; color: var(--steel); }

/* ============ 商户卡片 ============ */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.shop-card {
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard-sm);
  display: flex;
  flex-direction: column;
  transition: transform .12s ease, box-shadow .12s ease;
}
.shop-card:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 var(--ink); }
.shop-cover {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-bottom: 1.5px solid var(--ink);
  background: var(--bg-grid);
}
.shop-cover img { width: 100%; height: 100%; object-fit: cover; }
.shop-cover .level {
  position: absolute;
  left: 0; top: 0;
  background: var(--orange);
  color: #fff;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .08em;
  padding: 5px 9px;
}
.shop-cover .open {
  position: absolute;
  right: 8px; top: 8px;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  font-size: 11px;
  font-weight: 700;
  color: var(--green);
  padding: 3px 8px;
  font-family: var(--mono);
}
.shop-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.shop-name {
  font-size: 15.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 7px;
}
.shop-name .verify { color: var(--green); flex: none; }
.shop-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  color: var(--steel);
}
.shop-meta .mono { color: var(--ink); font-weight: 700; }
.shop-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.shop-foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--steel);
}
.shop-foot .enter {
  font-weight: 700;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.shop-card:hover .shop-foot .enter { color: var(--orange); }

/* ============ 商品卡片 ============ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 22px;
}
.product-card {
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hard-sm);
  display: flex;
  flex-direction: column;
  transition: transform .12s ease, box-shadow .12s ease;
}
.product-card:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 var(--ink); }
.p-thumb {
  position: relative;
  aspect-ratio: 1;
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    var(--bg-grid);
  background-size: 22px 22px;
  border-bottom: 1.5px solid var(--ink);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.p-thumb img {
  width: 78%; height: 78%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.p-thumb .corner {
  position: absolute;
  left: 0; top: 0;
  background: var(--ink);
  color: #fff;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .08em;
  padding: 4px 8px;
}
.p-thumb .corner.hot { background: var(--orange); }
.p-thumb .add {
  position: absolute;
  right: 10px; bottom: 10px;
  width: 36px; height: 36px;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(6px);
  transition: all .14s;
}
.product-card:hover .add { opacity: 1; transform: translateY(0); }
.p-thumb .add:hover { background: var(--orange); }
.p-body { padding: 14px 14px 12px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.p-name {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 39px;
}
.p-spec {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--steel-2);
}
.p-shop {
  font-size: 11.5px;
  color: var(--steel);
  display: flex;
  align-items: center;
  gap: 5px;
}
.p-shop a:hover { color: var(--orange); }
.p-foot {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 8px;
}
.p-price {
  font-family: var(--mono);
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
}
.p-price .sym { font-size: 13px; }
.p-price .val { font-size: 23px; }
.p-price .unit { font-size: 11px; color: var(--steel); font-weight: 500; margin-left: 2px; }
.p-sold { font-size: 11px; color: var(--steel-2); font-family: var(--mono); }

/* ============ 品牌带 ============ */
.brand-strip {
  background: var(--paper);
  border-top: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}
.brand-strip .container {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
}
.brand-item {
  flex: 1 1 12.5%;
  min-width: 150px;
  text-align: center;
  padding: 24px 10px;
  border-right: 1px solid var(--line);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: .04em;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.brand-item:last-child { border-right: none; }
.brand-item .en {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  color: var(--steel-2);
  letter-spacing: .16em;
}
.brand-item:hover { background: var(--ink); color: #fff; }
.brand-item:hover .en { color: #8FA3B8; }

/* ============ 招商 CTA ============ */
.cta {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(45deg, rgba(255,255,255,.05) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.05) 75%),
    linear-gradient(45deg, rgba(255,255,255,.05) 25%, transparent 25%, transparent 75%, rgba(255,255,255,.05) 75%);
  background-size: 24px 24px;
  background-position: 0 0, 12px 12px;
}
.cta .container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-top: 56px;
  padding-bottom: 56px;
}
.cta h2 { font-size: 30px; font-weight: 800; margin-bottom: 10px; }
.cta h2 .u { color: var(--orange); }
.cta p { color: #AEBCCB; font-size: 14.5px; }
.cta .steps { display: flex; gap: 28px; margin-top: 20px; }
.cta .steps div { display: flex; align-items: center; gap: 9px; font-size: 13px; color: #C9D6E4; }
.cta .steps .n {
  width: 26px; height: 26px;
  border: 1.5px solid var(--orange);
  color: var(--orange);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

/* ============ FOOTER ============ */
.footer {
  background: #0A141F;
  color: #93A5B8;
  font-size: 13px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding: 52px 0 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer .logo-text .cn { color: #fff; }
.footer-about { margin-top: 14px; line-height: 1.8; max-width: 300px; }
.footer h4 {
  color: #fff;
  font-size: 14px;
  margin-bottom: 16px;
  letter-spacing: .04em;
}
.footer h4 .en { font-family: var(--mono); font-size: 10px; color: #5E7388; margin-left: 8px; }
.footer-col li { margin-bottom: 10px; }
.footer-col a:hover { color: var(--orange); }
.footer-hotline b {
  font-family: var(--mono);
  font-size: 24px;
  color: #fff;
  display: block;
  margin: 6px 0 4px;
}
.footer-hotline span { font-size: 12px; }
.footer-qr {
  margin-top: 14px;
  display: flex;
  gap: 12px;
}
.footer-qr .qr {
  width: 84px; height: 84px;
  border: 1.5px solid rgba(255,255,255,.25);
  background:
    linear-gradient(90deg, #fff 1px, transparent 1px) 0 0 / 8px 8px,
    linear-gradient(#fff 1px, transparent 1px) 0 0 / 8px 8px,
    #142433;
  display: grid;
  place-items: center;
  font-size: 10px;
  color: #74889C;
  text-align: center;
}
.footer-bottom {
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 12px;
  font-family: var(--mono);
  color: #5E7388;
}

/* ============ 子页通用布局 ============ */
.page-head {
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
  padding: 34px 0 28px;
}
.page-head h1 {
  font-size: 30px;
  font-weight: 800;
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.page-head h1 .en {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--steel-2);
  letter-spacing: .2em;
}
.page-head p { color: var(--steel); margin-top: 8px; font-size: 13.5px; }

.layout {
  display: grid;
  grid-template-columns: 236px 1fr;
  gap: 26px;
  padding: 28px 0 64px;
  align-items: start;
}

/* 侧栏 */
.side-card {
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  margin-bottom: 22px;
}
.side-title {
  padding: 13px 16px;
  font-weight: 800;
  font-size: 14px;
  border-bottom: 1.5px solid var(--ink);
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.side-title .en { font-family: var(--mono); font-size: 10px; color: #8FA3B8; letter-spacing: .12em; }
.filter-group { padding: 14px 16px; border-bottom: 1px dashed var(--line); }
.filter-group:last-child { border-bottom: none; }
.filter-group > .ftitle {
  font-size: 12px;
  font-weight: 800;
  font-family: var(--mono);
  color: var(--steel);
  letter-spacing: .08em;
  margin-bottom: 10px;
}
.opt {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  font-size: 13px;
  cursor: pointer;
}
.opt input { accent-color: var(--orange); }
.opt:hover { color: var(--orange); }
.opt .cnt { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--steel-2); }

.cat-tree li a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
  font-weight: 600;
}
.cat-tree li:last-child a { border-bottom: none; }
.cat-tree li a .code {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--steel-2);
}
.cat-tree li a .cnt { margin-left: auto; font-family: var(--mono); font-size: 11px; color: var(--steel-2); }
.cat-tree li a:hover { background: var(--bg-grid); color: var(--orange); }
.cat-tree li.on a { background: var(--ink); color: #fff; }
.cat-tree li.on a .code, .cat-tree li.on a .cnt { color: #9FB3C6; }

/* 筛选条 */
.filter-bar {
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  margin-bottom: 22px;
}
.filter-row {
  display: flex;
  align-items: center;
  padding: 12px 18px;
  border-bottom: 1px dashed var(--line);
  gap: 12px;
  flex-wrap: wrap;
}
.filter-row:last-child { border-bottom: none; }
.filter-row .flabel {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--steel);
  letter-spacing: .1em;
  flex: none;
}
.chip {
  padding: 5px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 12.5px;
  background: var(--paper);
}
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); color: #fff; border-color: var(--ink); font-weight: 700; }
.sort { margin-left: auto; display: flex; gap: 0; }
.sort button {
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-left: none;
  font-size: 12.5px;
  background: var(--paper);
}
.sort button:first-child { border-left: 1px solid var(--line); }
.sort button.on { background: var(--orange); border-color: var(--ink); color: #fff; font-weight: 700; position: relative; z-index: 1; }

.result-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 12.5px;
  color: var(--steel);
}
.result-meta b { font-family: var(--mono); color: var(--ink); }

/* 分页 */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}
.pagination a, .pagination span {
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1.5px solid var(--ink);
  background: var(--paper);
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 600;
}
.pagination a:hover { background: var(--ink); color: #fff; }
.pagination .cur { background: var(--orange); color: #fff; }
.pagination .gap { border-style: dashed; }
.home-pagination { display: flex; justify-content: center; }
.home-pagination .pagination { margin-top: 28px; margin-bottom: 4px; }

/* ============ 商户详情页 ============ */
.shop-hero {
  background: var(--ink-2);
  color: #fff;
  border-bottom: 2px solid var(--ink);
  position: relative;
  overflow: hidden;
}
.shop-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 28px 28px;
}
.shop-hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 300px 1fr auto;
  gap: 34px;
  padding: 40px 24px;
  align-items: center;
}
.shop-hero .cover {
  border: 2px solid #fff;
  aspect-ratio: 16/10;
  overflow: hidden;
  box-shadow: 8px 8px 0 rgba(240,90,34,.5);
}
.shop-hero .cover img { width: 100%; height: 100%; object-fit: cover; }
.shop-hero h1 { font-size: 32px; font-weight: 800; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.shop-hero .sub {
  font-family: var(--mono);
  font-size: 12px;
  color: #9FB3C6;
  letter-spacing: .12em;
  margin: 10px 0 16px;
}
.shop-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.shop-badges .tag { background: rgba(255,255,255,.08); color: #D6E1EC; border-color: rgba(255,255,255,.3); }
.shop-badges .tag::before { background: var(--orange); }
.shop-kv { display: flex; gap: 30px; flex-wrap: wrap; font-size: 13px; color: #C2D0DF; }
.shop-kv b { color: #fff; font-family: var(--mono); margin-right: 5px; }
.shop-actions { display: flex; flex-direction: column; gap: 12px; width: 170px; }

/* 店铺数据速览 */
.shop-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--paper);
  border-bottom: 2px solid var(--ink);
}
.shop-stats .item {
  padding: 22px 18px;
  border-right: 1px solid var(--line);
  text-align: center;
}
.shop-stats .item:last-child { border-right: none; }
.shop-stats .num { font-family: var(--mono); font-size: 26px; font-weight: 700; }
.shop-stats .num em { color: var(--orange); font-style: normal; font-size: 15px; }
.shop-stats .lbl { font-size: 12px; color: var(--steel); margin-top: 4px; }

/* 档案 + 图表 */
.panel {
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  margin-bottom: 24px;
}
.panel-head {
  padding: 14px 20px;
  border-bottom: 1.5px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.panel-head h3 { font-size: 16px; font-weight: 800; display: flex; gap: 10px; align-items: baseline; }
.panel-head h3 .no { font-family: var(--mono); font-size: 11px; color: var(--orange); letter-spacing: .1em; }
.panel-body { padding: 20px; }
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }
.kv-row {
  display: flex;
  padding: 11px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 13px;
}
.kv-row .k { width: 96px; color: var(--steel); flex: none; }
.kv-row .v { font-weight: 600; }
.charts-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 24px; }
.chart-box { height: 300px; }

/* tab 条 */
.tab-bar {
  display: flex;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 22px;
  background: var(--paper);
  width: fit-content;
}
.tab-bar button {
  padding: 11px 26px;
  font-weight: 700;
  font-size: 13.5px;
  border-right: 1.5px solid var(--ink);
}
.tab-bar button:last-child { border-right: none; }
.tab-bar button.on { background: var(--ink); color: #fff; }

/* ============ 商品详情 ============ */
.pd-wrap {
  display: grid;
  grid-template-columns: 460px 1fr 260px;
  gap: 34px;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 26px;
}
.pd-main-img {
  border: 1.5px solid var(--ink);
  aspect-ratio: 1;
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    var(--bg-grid);
  background-size: 24px 24px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.pd-main-img img { width: 82%; height: 82%; object-fit: contain; mix-blend-mode: multiply; }
.pd-image-placeholder {
  width: 82%;
  height: 82%;
  border: 1px solid #8fa3b8;
  background: #102131;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}
.pd-image-placeholder span {
  color: var(--orange);
  font: 11px var(--mono);
  letter-spacing: .12em;
}
.pd-image-placeholder strong { font-size: 20px; }
.pd-image-placeholder small { color: #aebccb; font-size: 12px; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.pd-thumb {
  width: 76px; height: 76px;
  border: 1.5px solid var(--line);
  background: var(--bg-grid);
  display: grid;
  place-items: center;
  overflow: hidden;
  cursor: pointer;
}
.pd-thumb img { width: 84%; height: 84%; object-fit: contain; mix-blend-mode: multiply; }
.pd-thumb.on { border-color: var(--orange); outline: 2px solid var(--orange); outline-offset: -2px; }

.pd-info h1 { font-size: 22px; font-weight: 800; line-height: 1.4; }
.pd-code {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--steel-2);
  margin: 10px 0 16px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.pd-price-box {
  background: var(--ink);
  color: #fff;
  padding: 18px 20px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 26px;
  margin-bottom: 20px;
}
.pd-price-box .price { font-family: var(--mono); color: var(--orange); }
.pd-price-box .price .sym { font-size: 16px; }
.pd-price-box .price .val { font-size: 38px; font-weight: 700; }
.pd-price-box .old {
  font-family: var(--mono);
  color: #8FA3B8;
  text-decoration: line-through;
}
.pd-price-box .tip { margin-left: auto; font-size: 12px; color: #9FB3C6; }
.pd-attrs { display: flex; flex-direction: column; gap: 14px; margin-bottom: 22px; }
.pd-attr .alabel {
  font-size: 12px;
  font-weight: 700;
  color: var(--steel);
  font-family: var(--mono);
  margin-bottom: 7px;
  letter-spacing: .06em;
}
.pd-attr .vals { display: flex; gap: 8px; flex-wrap: wrap; }
.pd-buy { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.qty {
  display: flex;
  align-items: stretch;
  border: 1.5px solid var(--ink);
  height: 46px;
}
.qty button { width: 42px; font-size: 18px; font-family: var(--mono); background: var(--bg-grid); }
.qty button:hover { background: var(--ink); color: #fff; }
.qty input {
  width: 58px;
  border: none;
  border-left: 1.5px solid var(--ink);
  border-right: 1.5px solid var(--ink);
  text-align: center;
  font-family: var(--mono);
  font-weight: 700;
  outline: none;
}
.pd-buy .btn { height: 46px; }
.pd-assure { display: flex; gap: 18px; flex-wrap: wrap; font-size: 12px; color: var(--steel); }
.pd-assure span { display: inline-flex; align-items: center; gap: 6px; }

.pd-shop-card {
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  align-self: start;
}
.pd-shop-top {
  padding: 16px;
  border-bottom: 1.5px solid var(--ink);
  background: var(--bg-grid);
}
.pd-shop-top .nm { font-weight: 800; font-size: 14.5px; display: flex; gap: 6px; align-items: center; }
.pd-shop-top .mt { font-size: 12px; color: var(--steel); margin-top: 7px; display: flex; justify-content: space-between; }
.pd-shop-list { padding: 8px 16px; }
.pd-shop-list li {
  display: flex;
  justify-content: space-between;
  padding: 9px 0;
  font-size: 12.5px;
  border-bottom: 1px dashed var(--line);
}
.pd-shop-list li:last-child { border: none; }
.pd-shop-list .k { color: var(--steel); }
.pd-shop-list .v { font-family: var(--mono); font-weight: 700; }
.pd-shop-card .btn-block { margin: 6px 16px 16px; width: calc(100% - 32px); }

/* 参数表 */
.spec-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.spec-table th, .spec-table td {
  border: 1px solid var(--line);
  padding: 11px 16px;
  text-align: left;
}
.spec-table th {
  width: 150px;
  background: var(--bg-grid);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--steel);
  font-weight: 600;
  letter-spacing: .04em;
}
.pd-detail-tabs {
  display: flex;
  border-bottom: 2px solid var(--ink);
  margin-bottom: 26px;
  gap: 4px;
}
.pd-detail-tabs button {
  padding: 12px 26px;
  font-weight: 800;
  font-size: 14px;
  border: 1.5px solid transparent;
  border-bottom: none;
  margin-bottom: -2px;
}
.pd-detail-tabs button.on {
  border-color: var(--ink);
  background: var(--paper);
}
.pd-pane { display: none; }
.pd-pane.on { display: block; }
.pd-rich {
  background: var(--bg-grid);
  border: 1.5px solid var(--line);
  padding: 30px;
  margin-top: 18px;
  text-align: center;
}
.pd-detail-images { display: flex; flex-direction: column; align-items: center; gap: 14px; margin-bottom: 24px; }
.pd-detail-images img { display: block; max-width: 100%; height: auto; border: 1.5px solid var(--line); }
.pd-detail-content { color: var(--steel); font-size: 13.5px; max-width: 760px; margin: 0 auto; text-align: left; line-height: 1.8; }
.pd-detail-content img { max-width: 100%; height: auto; }
.pd-detail-empty { color: var(--steel); font-size: 13.5px; padding: 18px; border: 1px dashed var(--line); }

/* ============ toast ============ */
.toast {
  position: fixed;
  left: 50%;
  bottom: 40px;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: #fff;
  padding: 13px 24px;
  border: 1.5px solid var(--orange);
  font-size: 13.5px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: all .22s;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 9px;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast .dot { width: 8px; height: 8px; background: var(--orange); }

/* ============ 响应式 ============ */
@media (max-width: 1100px) {
  .hero .container { grid-template-columns: 1fr; gap: 44px; }
  .hero-media { max-width: 520px; }
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .cat-item:nth-child(8n) { border-right: 1px solid var(--line); }
  .cat-item:nth-child(4n) { border-right: none; }
  .cat-item:nth-last-child(-n+8) { border-bottom: 1px solid var(--line); }
  .cat-item:nth-last-child(-n+4) { border-bottom: none; }
  .shop-grid, .product-grid { grid-template-columns: repeat(3, 1fr); }
  .shop-hero .container { grid-template-columns: 260px 1fr; }
  .shop-actions { grid-column: 1 / -1; flex-direction: row; width: auto; }
  .shop-actions .btn { flex: 1; }
  .pd-wrap { grid-template-columns: 1fr; }
  .charts-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .header-search { width: auto; flex: 1; }
  .shop-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .layout { grid-template-columns: 1fr; }
  .stats .container { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat { border-bottom: 1px solid var(--line); }
  .stat:nth-last-child(-n+2) { border-bottom: none; }
  .promise { grid-template-columns: repeat(2, 1fr); }
  .shop-stats { grid-template-columns: repeat(2, 1fr); }
  .shop-stats .item { border-bottom: 1px solid var(--line); }
  .cta .container { flex-direction: column; align-items: flex-start; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .topbar-notice span:nth-child(n+2) { display: none; }
  .profile-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .hero h1 { font-size: 30px; }
  .section { padding: 44px 0; }
  .shop-grid, .product-grid { grid-template-columns: 1fr; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-item:nth-child(4n) { border-right: 1px solid var(--line); }
  .cat-item:nth-child(2n) { border-right: none; }
  .cat-item:nth-last-child(-n+4) { border-bottom: 1px solid var(--line); }
  .cat-item:nth-last-child(-n+2) { border-bottom: none; }
  .promise { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .header-search select { display: none; }
  .shop-hero .container { grid-template-columns: 1fr; }
}

/* Ironmart theme additions */
.ironmart-page main { min-height: 420px; }
.hero { background: var(--ink); color: #fff; padding: 72px 0; }
.hero .container { display: grid; grid-template-columns: 1.4fr .6fr; gap: 40px; align-items: center; }
.hero-copy { max-width: 720px; }
.eyebrow, .en, .no, .mono { font-family: var(--mono); letter-spacing: .08em; }
.hero h1 { margin: 18px 0; font-size: clamp(42px, 6vw, 76px); line-height: 1.05; }
.hero h1 em { color: var(--orange); font-style: normal; }
.hero-copy p { max-width: 560px; color: #b5c2ce; line-height: 1.8; }
.hero-actions { display: flex; gap: 12px; margin-top: 28px; }
.hero-panel { border: 1px solid #486177; padding: 28px; min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; }
.hero-panel strong { font-size: 30px; line-height: 1.1; }
.hero-panel small { color: #aebccb; line-height: 1.6; }
.section-block { padding-top: 48px; }
.category-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.category-tile { position: relative; min-height: 148px; padding: 18px 20px; color: #fff !important; background: #245b78; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; isolation: isolate; }
.category-tile:nth-child(2n) { background: #2d6c5b; }
.category-tile:nth-child(3n) { background: #b7652d; }
.category-tile:nth-child(4n) { background: #435a86; }
.category-tile::after { content: ""; position: absolute; right: -24px; bottom: -38px; width: 120px; height: 120px; border: 1px solid rgba(255,255,255,.2); transform: rotate(24deg); z-index: -1; }
.category-tile strong { display: block; max-width: 100%; color: #fff !important; font-size: 21px; line-height: 1.35; overflow-wrap:anywhere; }
.category-tile .category-index { display: block; color: rgba(255,255,255,.78) !important; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; }
.category-tile .category-action { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: rgba(255,255,255,.92) !important; font-size: 12px; }
.category-tile .category-action em { position: static; color: #fff; font-size: 22px; font-style: normal; line-height: 1; }
.shop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.shop-card { background: #fff; border: 1px solid #d9e0e7; color: var(--ink); }
.shop-cover { height: 170px; background: #e9eef2; overflow: hidden; }
.shop-cover img { width: 100%; height: 100%; object-fit: cover; }
.shop-body { padding: 16px; }
.shop-body h3 { margin: 12px 0 6px; }
.shop-body p { color: var(--steel); font-size: 13px; }
.shop-body strong { color: var(--green); font-family: var(--mono); font-size: 12px; }
.empty { padding: 42px; border: 1px dashed #cbd5df; color: var(--steel); text-align: center; grid-column: 1 / -1; }
.listing-layout { display: grid; grid-template-columns: 230px 1fr; gap: 28px; padding-top: 32px; padding-bottom: 64px; }
.side-card { border: 1px solid #d9e0e7; padding: 18px; margin-bottom: 18px; background: #fff; }
.side-title { font-weight: 800; padding-bottom: 12px; border-bottom: 1px solid #e6ebef; }
.side-note { color: var(--steel); line-height: 1.7; font-size: 13px; }
.cat-tree { list-style: none; padding: 0; margin: 12px 0 0; }
.cat-tree li { border-bottom: 1px solid #edf1f4; }
.cat-tree li a { display: flex; padding: 11px 4px; color: var(--steel); }
.cat-tree li.on a { color: var(--orange); font-weight: 700; }
.filter-bar { background: #f7f9fa; border: 1px solid #d9e0e7; padding: 16px; }
.filter-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; }
.filter-row input { flex: 1; min-width: 0; height: 38px; border: 1px solid #cbd5df; padding: 0 10px; background: #fff; }
.flabel { min-width: 46px; color: var(--steel); font-size: 13px; }
.sort { display: flex; flex-wrap: wrap; gap: 6px; }
.sort a { padding: 7px 11px; color: var(--steel); border: 1px solid #d2dae1; background: #fff; }
.sort a.on { color: #fff; border-color: var(--ink); background: var(--ink); }
.btn-sm { padding: 9px 14px; }
@media (max-width: 900px) {
  .hero .container, .listing-layout { grid-template-columns: 1fr; }
  .hero { padding: 48px 0; }
  .hero-panel { min-height: 150px; }
  .category-grid, .shop-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .hero h1 { font-size: 42px; }
  .category-grid, .shop-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-wrap: wrap; }
  .filter-row { align-items: flex-start; flex-wrap: wrap; }
}

/* Ironmart platform pages */
.iron-doc-hero{background:var(--ink);color:#fff;padding:56px 0 52px;border-bottom:4px solid var(--orange)}
.iron-doc-kicker{display:inline-block;color:var(--orange);font-family:var(--mono);font-size:11px;letter-spacing:.16em;text-transform:uppercase}
.iron-doc-hero h1{margin:14px 0 8px;font-size:clamp(32px,4vw,54px);line-height:1.12;color:#fff}
.iron-doc-hero p{margin:0;color:#b9c6d2;font-size:14px}
.iron-doc-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:28px;align-items:start;padding-top:38px;padding-bottom:64px}
.iron-doc-single{padding-top:38px;padding-bottom:64px}
.iron-doc-nav{position:sticky;top:92px;border:1px solid #d4dde5;background:#fff}
.iron-doc-nav strong{display:block;padding:14px 16px;background:#edf2f6;color:var(--ink);font-family:var(--mono);font-size:11px;letter-spacing:.12em}
.iron-doc-nav a{display:block;padding:12px 16px;border-top:1px solid #e7edf1;color:var(--steel);font-size:13px}
.iron-doc-nav a:hover{color:var(--orange);background:#fff8f0}
.iron-doc-card{min-width:0;border:1px solid #d4dde5;background:#fff;padding:30px 34px;box-shadow:0 10px 28px rgba(24,43,60,.06)}
.iron-doc-notice{display:flex;gap:12px;align-items:flex-start;padding:14px 16px;margin-bottom:24px;border-left:4px solid var(--orange);background:#fff7ed;color:var(--steel);font-size:13px;line-height:1.7}
.iron-doc-notice b{color:var(--ink);white-space:nowrap}
.iron-rich-content{color:#425466;font-size:14px;line-height:1.95;overflow-wrap:anywhere}
.iron-rich-content h1,.iron-rich-content h2,.iron-rich-content h3,.iron-rich-content h4{color:var(--ink);line-height:1.35;margin:28px 0 12px}
.iron-rich-content h1{font-size:28px}.iron-rich-content h2{font-size:23px;border-left:4px solid var(--orange);padding-left:12px}.iron-rich-content h3{font-size:18px}
.iron-rich-content p{margin:0 0 13px}.iron-rich-content ul,.iron-rich-content ol{margin:0 0 16px;padding-left:24px}.iron-rich-content li{margin:6px 0}
.iron-rich-content a{color:#c35f1b;text-decoration:underline;text-underline-offset:3px}
.iron-rich-content strong,.iron-rich-content b{color:var(--ink)}
.iron-rich-content img{display:block;max-width:100%;height:auto;margin:16px auto}
.iron-rich-content table{width:100%;border-collapse:collapse;margin:18px 0;font-size:13px}
.iron-rich-content th,.iron-rich-content td{border:1px solid #d4dde5;padding:10px 12px;text-align:left;vertical-align:top}
.iron-rich-content th{background:#edf2f6;color:var(--ink);font-weight:700}
.iron-about-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:28px;align-items:start;padding-top:38px;padding-bottom:64px}
.iron-about-main{min-height:320px}
.iron-about-side{display:grid;gap:16px}
.iron-info-card{display:block;border:1px solid #d4dde5;background:#fff;padding:20px;color:var(--steel)}
.iron-info-card span{display:block;color:var(--orange);font-family:var(--mono);font-size:10px;letter-spacing:.15em;margin-bottom:9px}
.iron-info-card strong{display:block;color:var(--ink);font-size:20px;line-height:1.35;overflow-wrap:anywhere}
.iron-info-card p{margin:7px 0 0;font-size:12px;line-height:1.7}
.iron-info-action{background:var(--ink);border-color:var(--ink);color:#c5d0db}.iron-info-action strong{color:#fff}.iron-info-action:hover{border-color:var(--orange);background:#243c52}
@media (max-width:900px){.iron-doc-layout,.iron-about-layout{grid-template-columns:1fr}.iron-doc-nav{position:static;display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.iron-doc-nav strong{grid-column:1/-1}.iron-doc-nav a{min-width:0}.iron-doc-card{padding:24px}}
@media (max-width:560px){.iron-doc-hero{padding:42px 0 38px}.iron-doc-hero h1{font-size:34px}.iron-doc-layout,.iron-about-layout{padding-top:24px;padding-bottom:44px}.iron-doc-nav{grid-template-columns:1fr 1fr}.iron-doc-card{padding:20px 16px}.iron-doc-notice{display:block}.iron-doc-notice b{display:block;margin-bottom:4px}.iron-rich-content{font-size:13px}.iron-rich-content table{display:block;overflow-x:auto;white-space:nowrap}.iron-rich-content th,.iron-rich-content td{padding:8px 10px}}

/* Ironmart mobile edition */
.iron-mobile-shell{display:none}
@media (max-width:760px){
  html,body{max-width:100%;overflow-x:hidden}
  body{font-size:13px;background:#f1f4f7}
  .container{width:100%;max-width:none;padding-left:14px;padding-right:14px}
  .iron-desktop-shell{display:none}
  .iron-mobile-shell{display:block;position:sticky;top:0;z-index:200;background:#fff;border-bottom:2px solid var(--ink);box-shadow:0 8px 18px rgba(14,27,42,.08)}
  .iron-mobile-topbar{height:28px;padding:0 14px;display:flex;align-items:center;justify-content:space-between;background:var(--ink);color:#b8c7d6;font-family:var(--mono);font-size:10px;letter-spacing:.08em}
  .iron-mobile-header{height:58px;padding:0 14px;display:flex;align-items:center;justify-content:space-between;gap:12px}
  .iron-mobile-header .logo{min-width:0}
  .iron-mobile-header .logo-mark{width:34px;height:34px;font-size:15px}
  .iron-mobile-header .logo-text{min-width:0}
  .iron-mobile-header .logo-text .cn{display:block;max-width:190px;font-size:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .iron-mobile-header .logo-text .en{display:block;font-size:8px;letter-spacing:.16em}
  .iron-mobile-cart{flex:none;height:34px;padding:0 10px;display:inline-flex;align-items:center;border:1.5px solid var(--ink);background:#fff;font-weight:800;font-size:12px}
  .iron-mobile-search{margin:0 14px 10px;display:flex;height:40px;border:1.5px solid var(--ink);background:#fff}
  .iron-mobile-search input{flex:1;min-width:0;border:0;padding:0 11px;outline:0}
  .iron-mobile-search button{width:44px;background:var(--ink);color:#fff}
  .iron-mobile-nav{display:flex;gap:8px;overflow-x:auto;padding:0 14px 10px;scrollbar-width:none}
  .iron-mobile-nav::-webkit-scrollbar{display:none}
  .iron-mobile-nav a{flex:0 0 auto;height:31px;padding:0 13px;display:inline-flex;align-items:center;border:1px solid #cbd5df;background:#f6f8fa;color:var(--ink);font-weight:800;font-size:12px}
  .hero{padding:34px 0 28px}
  .hero .container{display:block}
  .hero-copy{max-width:none}
  .eyebrow{font-size:10px}
  .hero h1{font-size:34px;line-height:1.08;margin:14px 0}
  .hero-copy p{font-size:13px;line-height:1.75}
  .hero-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}
  .hero-actions .btn{width:100%;height:40px;padding:0 8px;font-size:13px}
  .hero-panel{margin-top:22px;min-height:126px;padding:18px;border-color:#425a70}
  .hero-panel strong{font-size:22px}
  .section-block{padding-top:28px}
  .section-head{align-items:flex-start;margin-bottom:16px;padding-bottom:10px;gap:10px}
  .section-head h2{display:block;font-size:20px;line-height:1.25}
  .section-head h2 .no,.section-head h2 .en{display:block;margin-top:4px;font-size:10px;letter-spacing:.12em}
  .section-head .more{flex:none;font-size:12px;white-space:nowrap}
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .product-card{min-width:0;box-shadow:2px 2px 0 var(--ink)}
  .product-card:hover{transform:none;box-shadow:2px 2px 0 var(--ink)}
  .p-body{padding:10px;gap:6px}
  .p-name{font-size:12px;line-height:1.4;min-height:34px}
  .p-spec{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .p-shop{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .p-foot{display:block}
  .p-price .val{font-size:15px}
  .p-sold{display:none}
  .product-card .add{display:none}
  .shop-grid{grid-template-columns:1fr;gap:12px}
  .shop-card{display:grid;grid-template-columns:104px minmax(0,1fr);min-height:112px}
  .shop-cover{height:auto;min-height:112px}
  .shop-body{padding:12px}
  .shop-body h3{margin:8px 0 5px;font-size:15px;line-height:1.35;overflow-wrap:anywhere}
  .category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .category-tile{min-height:116px;padding:13px}
  .category-tile strong{font-size:17px}
  .page-head{padding:24px 0 20px}
  .page-head h1{display:block;font-size:25px;line-height:1.2}
  .page-head h1 .en{display:block;margin-top:5px;font-size:10px}
  .listing-layout{display:block;padding-top:18px;padding-bottom:46px}
  .listing-layout aside{margin-bottom:14px}
  .side-card{padding:12px;margin-bottom:12px}
  .side-card .side-note{display:none}
  .cat-tree{display:flex;gap:8px;overflow-x:auto;margin-top:10px;padding-bottom:2px;scrollbar-width:none}
  .cat-tree::-webkit-scrollbar{display:none}
  .cat-tree li{flex:0 0 auto;border:0}
  .cat-tree li a{height:32px;padding:0 11px;align-items:center;border:1px solid #d2dae1;background:#fff;font-size:12px;white-space:nowrap}
  .cat-tree li.on a{background:var(--ink);border-color:var(--ink);color:#fff}
  .filter-bar{padding:12px;margin-bottom:14px}
  .filter-row{display:block;padding:0}
  .filter-row+.filter-row{margin-top:10px}
  .flabel{display:block;margin-bottom:6px;font-size:12px}
  .filter-row input{width:100%;height:38px}
  .filter-row .btn{width:100%;margin-top:8px}
  .sort{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:7px;padding-bottom:2px;scrollbar-width:none}
  .sort::-webkit-scrollbar{display:none}
  .sort a{flex:0 0 auto;height:32px;padding:0 11px;display:inline-flex;align-items:center;font-size:12px;white-space:nowrap}
  .result-meta{margin:12px 0}
  .pagination{flex-wrap:wrap;gap:6px;margin-top:24px}
  .pagination a,.pagination span{min-width:34px;height:34px;font-size:12px}
  .shop-hero .container{display:block;padding:24px 14px}
  .shop-hero .cover{width:100%;aspect-ratio:16/9;margin-bottom:18px;box-shadow:4px 4px 0 rgba(240,90,34,.55)}
  .shop-hero h1{font-size:24px;line-height:1.25}
  .shop-actions{width:100%;display:grid;grid-template-columns:1fr 1fr;margin-top:18px}
  .pd-wrap{display:block;padding:14px;margin-bottom:18px}
  .pd-main-img{aspect-ratio:1}
  .pd-thumbs{overflow-x:auto;padding-bottom:2px}
  .pd-thumb{flex:0 0 62px;width:62px;height:62px}
  .pd-info{margin-top:16px}
  .pd-info h1{font-size:19px;line-height:1.42}
  .pd-code{gap:8px;font-size:10.5px}
  .pd-price-box{padding:14px}
  .pd-price-box .val{font-size:26px}
  .pd-buy{display:grid;grid-template-columns:1fr;gap:10px}
  .pd-buy .btn{width:100%}
  .qty{width:100%;display:grid;grid-template-columns:40px 1fr 40px}
  .pd-shop-card{margin-top:14px}
  .pd-detail-tabs{display:grid;grid-template-columns:1fr 1fr;margin-top:18px}
  .pd-detail-tabs button{height:42px}
  .pd-rich{padding:14px;margin-top:12px}
  .pd-detail-content{font-size:13px}
  .footer{margin-top:8px}
  .footer-top{grid-template-columns:1fr;gap:20px;padding:30px 0 24px}
  .footer-bottom{display:block;line-height:1.8}
}
@media (max-width:380px){
  .hero h1{font-size:31px}
  .product-grid{gap:10px}
  .category-grid{grid-template-columns:1fr}
  .iron-mobile-header .logo-text .cn{max-width:160px}
}
