/* 深圳拾八 — 竖牌商号 */
:root {
  --ink: #0c0c0c;
  --paper: #f7f6f2;
  --sheet: #fff;
  --mute: #6a6a6a;
  --line: #111;
  --rail: 240px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body.sz18 {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--paper);
  color: var(--ink);
  min-height: 100vh;
  display: flex;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.serif { font-family: "Noto Serif SC", "Songti SC", serif; }

/* —— 左牌 —— */
.plaque {
  width: var(--rail);
  min-height: 100vh;
  background: var(--ink);
  color: #eeeae2;
  padding: 28px 22px 24px;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}

.plaque-logo {
  display: block;
  text-align: center;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,.18);
}

.plaque-logo img {
  width: 132px;
  height: 132px;
  margin: 0 auto 14px;
  object-fit: contain;
  background: #fff;
  border-radius: 50%;
}

.plaque-logo strong {
  display: block;
  font-family: "Noto Serif SC", serif;
  letter-spacing: .28em;
  font-size: 15px;
}

.plaque-logo em {
  display: block;
  font-style: normal;
  font-size: 10px;
  letter-spacing: .32em;
  color: #9a958c;
  margin-top: 6px;
}

.plaque nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 28px;
}

.plaque nav a {
  padding: 10px 0;
  letter-spacing: .32em;
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.plaque nav a:hover,
.plaque nav a.is-on { color: #fff; }

.plaque nav .cta {
  margin-top: 16px;
  border: 1px solid #eeeae2;
  text-align: center;
  padding: 10px 0;
}

.plaque-code {
  margin-top: auto;
  font-size: 10px;
  letter-spacing: .08em;
  color: #8a857c;
  word-break: break-all;
}

.ink-menu {
  display: none;
  width: 40px; height: 40px;
  border: 1px solid var(--ink);
  background: transparent;
  position: relative;
}
.ink-menu::before, .ink-menu::after, .ink-menu span {
  content: ""; position: absolute; left: 9px; right: 9px; height: 1px; background: var(--ink);
}
.ink-menu::before { top: 13px; }
.ink-menu span { top: 19px; display: block; }
.ink-menu::after { bottom: 13px; }

/* —— 右纸 —— */
.sheet { flex: 1; min-width: 0; }

.sheet-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 36px;
  border-bottom: 1px solid var(--ink);
  background: var(--sheet);
}

.sheet-top b {
  font-family: "Noto Serif SC", serif;
  letter-spacing: .4em;
  font-size: 14px;
  font-weight: 500;
}

.search-bar, .ink-search {
  display: flex;
  border: 1px solid var(--ink);
}
.search-bar input, .ink-search input {
  border: 0; outline: none; padding: 7px 10px; width: 200px; background: transparent;
}
.search-bar button, .ink-search button {
  border: 0; border-left: 1px solid var(--ink);
  background: var(--ink); color: #fff; padding: 7px 12px; cursor: pointer;
}

.wrap { width: min(980px, calc(100% - 64px)); margin: 0 auto; }

/* —— 首页报头 —— */
.mast {
  background: var(--sheet);
  border-bottom: 8px solid var(--ink);
  padding: 48px 36px 40px;
}

.mast-row {
  display: grid;
  grid-template-columns: 180px 1fr 220px;
  gap: 28px;
  align-items: center;
}

.mast-mark {
  width: 168px; height: 168px;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--ink);
  border-radius: 50%;
  padding: 8px;
}

.mast h1 {
  font-family: "Noto Serif SC", serif;
  font-size: clamp(40px, 6vw, 68px);
  font-weight: 600;
  letter-spacing: .18em;
  line-height: 1.05;
}

.mast p { color: var(--mute); margin-top: 10px; max-width: 460px; }

.mast-meta {
  border-left: 1px solid var(--ink);
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.9;
}

.mast-actions { display: flex; gap: 10px; margin-top: 22px; }

.btn-ink, .btn-line, .ink-form button, .empty-state-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 18px; letter-spacing: .2em; font-size: 13px;
  border: 1px solid var(--ink); cursor: pointer;
}
.btn-ink, .ink-form button, .empty-state-btn { background: var(--ink); color: #fff; }
.btn-line { background: transparent; }
.btn-ink:hover, .ink-form button:hover { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }

/* —— 栏目 —— */
.band { padding: 56px 0; }
.rule { border-top: 1px solid var(--ink); }

.kicker {
  display: flex; align-items: baseline; gap: 14px; margin-bottom: 22px;
}
.kicker i {
  font-family: "Noto Serif SC", serif; font-style: normal;
  font-size: 34px; font-weight: 600;
}
.kicker span { letter-spacing: .4em; font-size: 12px; }

.lede { color: var(--mute); max-width: 560px; margin-bottom: 28px; }

.scope {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}
.scope a {
  padding: 20px 16px;
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--sheet);
  min-height: 140px;
}
.scope a:hover { background: var(--ink); color: #fff; }
.scope small { font-size: 11px; letter-spacing: .2em; opacity: .55; }
.scope h3 { font-family: "Noto Serif SC", serif; font-size: 20px; font-weight: 500; margin: 10px 0 8px; }
.scope p { font-size: 13px; line-height: 1.55; }

.goods-grid, .products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.good-card, .product-card {
  background: var(--sheet);
  border: 1px solid var(--ink);
}

.good-card img, .product-card img, .product-image {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  filter: grayscale(1);
  transition: filter .25s ease;
}
.good-card:hover img, .product-card:hover img { filter: none; }

.good-meta, .product-info { padding: 12px 14px 16px; border-top: 1px solid var(--ink); }
.good-meta small, .product-cat { display: block; font-size: 11px; letter-spacing: .16em; color: var(--mute); margin-bottom: 4px; }
.good-meta strong, .product-title, .product-title a {
  font-family: "Noto Serif SC", serif; font-size: 17px; font-weight: 500; line-height: 1.35;
}
.good-meta b, .product-price, .price-current { display: block; margin-top: 8px; font-size: 14px; }
.price-original { margin-left: 8px; color: var(--mute); text-decoration: line-through; font-size: 12px; }

.facts { border: 1px solid var(--ink); background: var(--sheet); }
.facts div {
  display: grid; grid-template-columns: 140px 1fr;
  gap: 10px; padding: 12px 16px;
  border-bottom: 1px solid rgba(0,0,0,.1);
  font-size: 14px;
}
.facts div:last-child { border-bottom: 0; }
.facts span:first-child { color: var(--mute); letter-spacing: .08em; }

.ink-footer {
  border-top: 8px solid var(--ink);
  padding: 32px 36px 24px;
  background: var(--sheet);
}
.ink-footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 24px;
}
.ink-footer h4 { font-family: "Noto Serif SC", serif; letter-spacing: .18em; font-weight: 500; margin-bottom: 10px; }
.ink-footer ul { list-style: none; }
.ink-footer li + li { margin-top: 6px; }
.ink-footer a:hover { text-decoration: underline; }
.ink-colophon {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--ink);
  font-size: 12px; color: var(--mute);
}
.ink-colophon a { margin-left: 14px; }

.page-hero {
  background: var(--sheet);
  border-bottom: 8px solid var(--ink);
  padding: 48px 0 36px;
}
.page-hero .mark {
  display: inline-block; border: 1px solid var(--ink);
  padding: 2px 8px; letter-spacing: .28em; font-size: 11px; margin-bottom: 14px;
}
.page-hero h1 {
  font-family: "Noto Serif SC", serif;
  font-size: clamp(36px, 6vw, 58px);
  font-weight: 500; letter-spacing: .16em;
}
.page-hero p { margin-top: 10px; color: var(--mute); max-width: 520px; }

.filters { padding: 24px 0 8px; }
.cat-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.category-btn {
  border: 1px solid var(--ink); background: var(--sheet);
  padding: 7px 11px; cursor: pointer; font-size: 13px;
}
.category-btn.active, .category-btn:hover { background: var(--ink); color: #fff; }
.toolbar { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
.search-box { display: flex; border: 1px solid var(--ink); background: var(--sheet); max-width: 320px; width: 100%; }
.search-box input { border: 0; outline: none; padding: 8px 10px; width: 100%; background: transparent; }
.sort-select, .ink-field input, .ink-field textarea, .ink-field select {
  border: 1px solid var(--ink); background: var(--sheet); padding: 9px 10px; width: 100%;
}
.products-count { font-size: 13px; letter-spacing: .1em; color: var(--mute); }
.products-grid-section { padding: 12px 0 64px; }
.products-empty-state { text-align: center; padding: 60px 20px; }

.story, .split { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.story h2 { font-family: "Noto Serif SC", serif; font-size: 34px; font-weight: 500; letter-spacing: .1em; margin-bottom: 14px; }
.steps { display: grid; gap: 16px; }
.step { display: grid; grid-template-columns: 48px 1fr; gap: 12px; border-top: 1px solid var(--ink); padding-top: 14px; }
.step b { font-family: "Noto Serif SC", serif; font-size: 26px; }
.scope-list { columns: 2; list-style: none; }
.scope-list li { break-inside: avoid; border-bottom: 1px solid rgba(0,0,0,.12); padding: 9px 0; }

.ink-form { display: grid; gap: 14px; }
.ink-field label { display: block; font-size: 12px; letter-spacing: .18em; margin-bottom: 6px; }

.faq-item { border-top: 1px solid var(--ink); padding: 18px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--ink); }
.faq-item h3 { font-family: "Noto Serif SC", serif; font-size: 20px; font-weight: 500; margin-bottom: 6px; }
.faq-item p { color: var(--mute); }

.service-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.service-cards article { border: 1px solid var(--ink); padding: 22px 18px; background: var(--sheet); min-height: 190px; }
.service-cards h3 { font-family: "Noto Serif SC", serif; font-size: 20px; font-weight: 500; margin: 8px 0; }

.legal { max-width: 740px; }
.legal h1 { font-family: "Noto Serif SC", serif; font-size: 38px; font-weight: 500; letter-spacing: .12em; }
.legal .updated { color: var(--mute); margin: 8px 0 20px; }
.legal h2 { font-family: "Noto Serif SC", serif; font-size: 20px; font-weight: 500; margin: 24px 0 8px; }
.legal p, .legal li { margin-bottom: 8px; }
.legal ul { padding-left: 1.2em; }

.mobile-brand { display: none; }

@media (max-width: 980px) {
  body.sz18 { display: block; }
  .plaque {
    position: relative; width: 100%; height: auto; min-height: 0;
    flex-direction: row; align-items: center; justify-content: space-between;
    padding: 10px 16px;
    z-index: 50;
  }
  .plaque-logo { display: flex; align-items: center; gap: 10px; border: 0; padding: 0; text-align: left; }
  .plaque-logo img { width: 44px; height: 44px; margin: 0; }
  .plaque-logo em, .plaque-code { display: none; }
  .plaque nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--ink); margin: 0; padding: 8px 18px 18px; z-index: 40;
  }
  .plaque nav.is-open { display: flex; }
  .ink-menu { display: block; border-color: #eeeae2; }
  .ink-menu::before, .ink-menu::after, .ink-menu span { background: #eeeae2; }
  .mast-row, .story, .split, .ink-footer-grid { grid-template-columns: 1fr; }
  .mast-meta { border-left: 0; border-top: 1px solid var(--ink); padding: 14px 0 0; }
  .scope, .goods-grid, .products-grid, .service-cards { grid-template-columns: 1fr 1fr; }
  .search-bar { display: none; }
}

@media (max-width: 640px) {
  .scope, .goods-grid, .products-grid, .scope-list { grid-template-columns: 1fr; columns: 1; }
  .wrap { width: calc(100% - 32px); }
  .mast { padding: 28px 16px; }
  .plaque-logo strong { font-size: 13px; letter-spacing: .12em; }
}
