:root {
  --bg: #f5f5f5;
  --ink: #1a1a1a;
  --muted: #666;
  --line: #e8e8e8;
  --dark: #2b2b2b;
  --accent: #e86a2c;
  --white: #fff;
  --max: 1200px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; }
img { display: block; max-width: 100%; }

#app { min-height: 100vh; display: flex; flex-direction: column; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--dark); color: var(--white);
}
.site-header .inner {
  max-width: var(--max); margin: 0 auto;
  height: 72px; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 20px; letter-spacing: 1px; }
.brand img { width: 40px; height: 40px; border-radius: 8px; background: #fff; object-fit: contain; }
.nav { display: flex; gap: 28px; align-items: center; font-size: 15px; }
.nav a { opacity: .85; transition: opacity .2s; }
.nav a:hover, .nav a.active { opacity: 1; color: #fff; }
.nav a.active { border-bottom: 2px solid var(--accent); padding-bottom: 2px; }

.main { flex: 1; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.hero {
  position: relative; height: min(72vh, 680px); min-height: 420px;
  background: #1a1a1a; overflow: hidden; color: #fff;
}
.hero-track { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity .8s ease;
  pointer-events: none;
}
.hero-slide.is-active { opacity: 1; pointer-events: auto; }
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .72;
}
.hero-fallback {
  position: absolute; inset: 0;
  background: linear-gradient(145deg, #3a3a3a 0%, #1c1c1c 55%, #4a2a1a 100%);
}
.hero-mask {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(90deg, rgba(0,0,0,.62) 0%, rgba(0,0,0,.18) 70%);
  display: flex; align-items: flex-end;
  pointer-events: none;
}
.hero-mask .btn { pointer-events: auto; }
.hero-dots {
  position: absolute; z-index: 3; left: 50%; bottom: 28px;
  transform: translateX(-50%);
  display: flex; gap: 10px;
}
.hero-dot {
  width: 10px; height: 10px; border-radius: 50%;
  border: 0; padding: 0; cursor: pointer;
  background: rgba(255,255,255,.35);
  transition: background .2s, transform .2s;
}
.hero-dot.is-active { background: #fff; transform: scale(1.15); }
.hero-copy { padding: 0 24px 72px; max-width: var(--max); margin: 0 auto; width: 100%; }
.hero-brand { font-size: 48px; font-weight: 700; letter-spacing: 2px; }
.hero-en { margin-top: 6px; font-size: 13px; letter-spacing: 3px; opacity: .7; }
.hero-slogan { margin-top: 16px; font-size: 22px; }
.hero-tags { margin-top: 12px; display: flex; gap: 8px; opacity: .85; font-size: 14px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 140px; height: 44px; padding: 0 22px;
  font-size: 14px; transition: .2s;
}
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #111; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { filter: brightness(1.05); }
.hero-copy .btn { margin-top: 28px; }

.section { background: #fff; margin-top: 20px; padding: 56px 0; }
.section.tight { padding: 40px 0; }
.eyebrow { font-size: 12px; letter-spacing: 3px; color: #c0c0c0; font-weight: 300; }
.section-title {
  margin: 8px 0 0; font-size: 32px; font-weight: 700; line-height: 1.3;
}
.accent-line { width: 48px; height: 4px; background: var(--accent); margin-top: 14px; }
.section-desc { margin-top: 20px; max-width: 720px; font-size: 15px; line-height: 1.85; color: var(--muted); }
.section-actions { margin-top: 28px; }

.series-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.series-card {
  position: relative; height: 180px; overflow: hidden; background: #eee; color: #fff;
}
.series-card img { width: 100%; height: 100%; object-fit: cover; }
.series-card .name {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.7));
  font-size: 15px;
}
.series-card:hover img { transform: scale(1.04); transition: transform .35s; }

.goods-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.goods-card { background: #fafafa; overflow: hidden; transition: box-shadow .2s; }
.goods-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.goods-card .pic { width: 100%; aspect-ratio: 1; object-fit: cover; background: #eee; }
.goods-card .info { padding: 14px 14px 18px; }
.goods-card .name {
  font-size: 14px; line-height: 1.45; height: 40px; overflow: hidden; color: #222;
}
.goods-card .price { margin-top: 8px; color: var(--accent); font-size: 20px; font-weight: 700; }
.goods-card .price small { font-size: 13px; margin-right: 2px; }

.contact-band {
  margin-top: 20px; background: var(--dark); color: #fff; padding: 64px 0;
}
.contact-band h2 { margin: 0; font-size: 32px; }
.contact-band p { margin: 10px 0 0; opacity: .72; }
.contact-rows { margin-top: 28px; max-width: 560px; }
.contact-rows .row {
  display: flex; gap: 16px; padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,.12); font-size: 15px;
}
.contact-rows .label { width: 64px; opacity: .55; flex-shrink: 0; }
.contact-band .btn { margin-top: 28px; }

.site-footer {
  background: #1f1f1f; color: rgba(255,255,255,.55);
  padding: 28px 0; font-size: 13px; text-align: center;
}

.page-hero {
  background: var(--dark); color: #fff; padding: 56px 0 48px;
}
.page-hero .section-title { color: #fff; }
.page-hero .accent-line { background: var(--accent); }
.page-hero .section-desc { color: rgba(255,255,255,.72); }

.panel {
  background: #fff; margin: 20px auto; max-width: var(--max);
  padding: 36px 32px;
}
.panel .content { font-size: 15px; line-height: 1.9; color: #444; white-space: pre-wrap; }
.panel .rows .row {
  display: flex; gap: 20px; padding: 18px 0;
  border-bottom: 1px solid var(--line); font-size: 15px;
}
.panel .label { width: 72px; color: #999; flex-shrink: 0; }
.panel .val { color: #222; }
.panel .val.link { color: var(--accent); cursor: pointer; }

.detail-wrap {
  max-width: var(--max); margin: 24px auto; padding: 0 24px 40px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px;
}
.detail-gallery {
  background: #fff; padding: 20px;
}
.detail-gallery .main {
  width: 100%; aspect-ratio: 1; object-fit: contain; background: #f7f7f7;
}
.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumbs img {
  width: 72px; height: 72px; object-fit: cover; background: #eee;
  border: 2px solid transparent; cursor: pointer;
}
.thumbs img.active { border-color: var(--accent); }
.detail-info { background: #fff; padding: 28px 28px 32px; }
.detail-info h1 { margin: 0; font-size: 24px; line-height: 1.4; }
.detail-price { margin-top: 18px; color: var(--accent); font-size: 32px; font-weight: 700; }
.detail-price small { font-size: 16px; }
.detail-meta { margin-top: 18px; font-size: 14px; color: var(--muted); line-height: 1.8; }
.detail-actions { margin-top: 28px; display: flex; gap: 12px; }
.detail-desc {
  max-width: var(--max); margin: 0 auto 48px; padding: 0 24px;
}
.detail-desc .box { background: #fff; padding: 28px 32px; }
.detail-desc h3 { margin: 0 0 16px; font-size: 18px; }
.detail-desc .html { font-size: 14px; line-height: 1.8; color: #444; overflow: hidden; }
.detail-desc .html img { max-width: 100%; height: auto; }

.toolbar {
  display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
  margin: 20px 0 8px;
}
.toolbar select, .toolbar input {
  height: 40px; border: 1px solid var(--line); background: #fff;
  padding: 0 12px; font-size: 14px; min-width: 180px;
}
.empty { padding: 48px 0; text-align: center; color: #999; }
.loading { padding: 80px 0; text-align: center; color: #999; }

@media (max-width: 1024px) {
  .series-grid, .goods-grid { grid-template-columns: repeat(3, 1fr); }
  .detail-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .series-grid, .goods-grid { grid-template-columns: repeat(2, 1fr); }
  .nav { gap: 14px; font-size: 13px; }
  .hero-brand { font-size: 36px; }
}
