:root {
  --zx-red: #e60012;
  --zx-red-deep: #8e0707;
  --zx-gold: #dfb477;
  --zx-gold-light: #fbe8c1;
  --zx-ink: #1a1a1a;
  --zx-brown: #2a1f18;
  --zx-surface: #f8f1e8;
  --zx-muted: #6d5c4f;
  --page-width: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--zx-ink);
  background: var(--zx-surface);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}
body.is-locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.page-shell { width: min(var(--page-width), calc(100% - 40px)); margin: 0 auto; }
.page-nav {
  position: sticky; top: 0; z-index: 30;
  background: rgba(28, 20, 14, .94); color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(18px);
}
.page-nav-inner { min-height: 76px; display: flex; align-items: center; gap: 28px; }
.page-logo { display: inline-flex; align-items: center; gap: 12px; font-weight: 900; letter-spacing: .08em; }
.page-logo img { width: 44px; height: 44px; object-fit: contain; }
.page-links { margin-left: auto; display: flex; gap: 22px; align-items: center; font-size: 14px; }
.page-links a:hover { color: var(--zx-gold-light); }
.page-lang { border: 1px solid rgba(255,255,255,.28); color: #fff; background: transparent; border-radius: 999px; padding: 8px 12px; }

.page-hero {
  color: #fff;
  background:
    radial-gradient(circle at 82% 20%, rgba(255,185,80,.28), transparent 28%),
    linear-gradient(135deg, var(--zx-red), var(--zx-red-deep));
  padding: clamp(72px, 10vw, 140px) 0 76px;
}
.page-kicker { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 800; color: var(--zx-gold-light); }
.page-hero h1 { max-width: 900px; margin: 14px 0 20px; font-family: "Noto Serif SC", serif; font-size: clamp(44px, 7vw, 96px); line-height: 1; }
.page-hero p { max-width: 720px; margin: 0; font-size: clamp(17px, 2vw, 22px); color: rgba(255,255,255,.78); }

.section { padding: 72px 0; }
.section-head { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 32px; }
.section-head h2 { margin: 0; font-family: "Noto Serif SC", serif; font-size: clamp(32px, 4vw, 56px); line-height: 1.05; color: var(--zx-brown); }
.section-head p { max-width: 600px; margin: 0; color: var(--zx-muted); }

.toolbar { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(180px, 260px); gap: 12px; margin-bottom: 28px; }
.toolbar input, .toolbar select {
  width: 100%; padding: 14px 16px; border-radius: 14px;
  border: 1px solid #d7c8b7; background: #fff; color: var(--zx-brown);
}
.result-count { margin: -12px 0 24px; color: var(--zx-muted); font-size: 14px; }

.catalog-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.catalog-card { background: #fff; border: 1px solid #eadfd2; border-radius: 20px; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.catalog-card:hover { transform: translateY(-4px); box-shadow: 0 18px 42px rgba(64,39,22,.14); }
.catalog-image { aspect-ratio: 1 / 1; display: grid; place-items: center; background: linear-gradient(145deg,#fff8f2,#f1e2d3); padding: 18px; }
.catalog-image img { width: 100%; height: 100%; object-fit: contain; }
.catalog-copy { padding: 20px; }
.catalog-badge { display: inline-flex; border-radius: 999px; padding: 5px 9px; background: #fff0db; color: var(--zx-red-deep); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.catalog-copy h3 { margin: 12px 0 8px; color: var(--zx-brown); font-size: 20px; line-height: 1.2; }
.catalog-copy p { margin: 0 0 14px; color: var(--zx-muted); font-size: 14px; }
.catalog-meta { display: flex; justify-content: space-between; gap: 12px; color: var(--zx-red-deep); font-size: 12px; font-weight: 700; }

.detail-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.detail-image { min-height: 520px; display: grid; place-items: center; padding: 42px; border-radius: 30px; background: #fff; box-shadow: 0 24px 80px rgba(78,45,24,.12); }
.detail-image img { max-height: 520px; object-fit: contain; }
.detail-copy h1 { margin: 12px 0 18px; font-family: "Noto Serif SC", serif; font-size: clamp(42px, 6vw, 78px); line-height: 1; color: var(--zx-brown); }
.detail-copy p { color: var(--zx-muted); font-size: 18px; }
.detail-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 20px; border: 0; border-radius: 999px; font-weight: 800; }
.button-primary { background: var(--zx-red); color: #fff; }
.button-secondary { background: var(--zx-brown); color: var(--zx-gold-light); }
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.spec-card { border-radius: 16px; background: #fff; padding: 18px; border: 1px solid #eadfd2; }
.spec-card span { display: block; color: var(--zx-muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.spec-card strong { display: block; margin-top: 7px; color: var(--zx-brown); }

.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.gallery-card { position: relative; overflow: hidden; margin: 0; aspect-ratio: 4 / 3; border-radius: 18px; background: #ddd; }
.gallery-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.gallery-card:hover img { transform: scale(1.04); }
.gallery-card figcaption { position: absolute; inset: auto 0 0; padding: 28px 16px 14px; color: #fff; background: linear-gradient(transparent,rgba(0,0,0,.78)); font-size: 13px; }

.factory-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.factory-card { overflow: hidden; border-radius: 22px; background: #1c140e; color: #fff; }
.factory-card.wide { grid-column: span 2; }
.factory-card img { width: 100%; height: 300px; object-fit: cover; }
.factory-card div { padding: 20px; }
.factory-card h3 { margin: 0 0 8px; }
.factory-card p { margin: 0; color: rgba(255,255,255,.66); }
.process-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.process-step { padding: 20px; border-radius: 18px; background: var(--zx-brown); color: #fff; }
.process-step b { display: block; color: var(--zx-gold); font-size: 28px; }

.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.video-card { border-radius: 24px; overflow: hidden; background: #1c140e; color: #fff; }
.video-card video { width: 100%; aspect-ratio: 16/9; object-fit: cover; background: #000; }
.video-card div { padding: 20px; }
.video-card h3 { margin: 0 0 8px; }
.video-card p { margin: 0; color: rgba(255,255,255,.68); }

.page-footer { padding: 52px 0; background: #1c140e; color: #fff; }
.page-footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 34px; }
.page-footer p { margin: 8px 0; color: rgba(255,255,255,.68); }
.page-footer a { color: var(--zx-gold-light); }
.page-footer [data-zx-social] { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.empty-state { grid-column: 1/-1; padding: 70px 24px; text-align: center; border: 1px dashed #c9b7a4; border-radius: 20px; color: var(--zx-muted); }

@media (max-width: 980px) {
  .catalog-grid, .gallery-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .detail-hero { grid-template-columns: 1fr; }
  .factory-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .page-links a:not(.keep-mobile) { display: none; }
}
@media (max-width: 620px) {
  .page-shell { width: min(100% - 28px, var(--page-width)); }
  .toolbar, .catalog-grid, .gallery-grid, .factory-grid, .video-grid, .page-footer-grid { grid-template-columns: 1fr; }
  .factory-card.wide { grid-column: auto; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-image { min-height: 360px; padding: 24px; }
  .spec-grid { grid-template-columns: 1fr; }
}
/* Long-form legal and buyer information */
.prose { max-width: 820px; }
.prose h2 { margin: 42px 0 12px; font-size: clamp(24px, 3vw, 34px); }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--muted, #675c55); font-size: 16px; line-height: 1.8; }
.prose a { color: var(--red, #c52324); }
