/* brand-system-v2.css — 珠光计划 v2（Displate 版铁皮画站）· 2026-10-20
   暗底 + 红强调设计系统 · 原创代码 */
:root {
  --bg: #0c0c0f;
  --bg-card: #16161a;
  --bg-raise: #1f1f26;
  --red: #e63329;
  --red-deep: #c2241b;
  --ink: #f5f5f2;
  --ink-dim: #a8a8ad;
  --line: #2a2a30;
  --ok: #2fbf71;
  --radius: 8px;
  --radius-lg: 14px;
  --font-title: 'Arial Narrow', 'Helvetica Neue Condensed', 'Segoe UI', sans-serif;
  --font-body: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --shadow-card: 0 4px 18px rgba(0, 0, 0, .45);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 15px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ── 促销条 ── */
.promo {
  background: var(--red); color: #fff; text-align: center;
  font-size: 13px; font-weight: 700; letter-spacing: .4px; padding: 8px 16px;
}
.promo b { text-transform: uppercase; }
.promo .countdown { opacity: .9; font-variant-numeric: tabular-nums; }

/* ── 顶栏 ── */
.header {
  position: sticky; top: 0; z-index: 50; background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.header .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { font-family: var(--font-title); font-weight: 900; font-size: 24px; letter-spacing: 1px; text-transform: uppercase; }
.logo em { color: var(--red); font-style: normal; }
.nav { display: flex; gap: 4px; flex: 1; }
.nav a {
  padding: 8px 12px; border-radius: var(--radius); font-size: 14px; font-weight: 600;
  color: var(--ink-dim); transition: color .15s, background .15s;
}
.nav a:hover, .nav a.on { color: var(--ink); background: var(--bg-card); }
.nav a.hot { color: var(--red); }
.head-act { display: flex; align-items: center; gap: 14px; }
.cart-link { position: relative; font-size: 20px; }
.cart-count {
  position: absolute; top: -6px; right: -8px; background: var(--red); color: #fff;
  font-size: 11px; font-weight: 700; min-width: 18px; height: 18px; line-height: 18px;
  border-radius: 9px; text-align: center; padding: 0 4px;
}

/* ── 按钮 ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--radius); border: 0;
  font-size: 15px; font-weight: 700; letter-spacing: .3px;
  transition: transform .12s, background .15s, border-color .15s;
}
.btn:active { transform: scale(.98); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-deep); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink-dim); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

/* ── 徽章/标签 ── */
.badge {
  display: inline-block; padding: 2px 10px; border-radius: 20px;
  font-size: 11px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase;
}
.badge-red { background: var(--red); color: #fff; }
.badge-line { border: 1px solid var(--line); color: var(--ink-dim); }

/* ── Hero ── */
.hero { position: relative; overflow: hidden; }
.hero-slide {
  display: none; min-height: 460px; align-items: center;
  background-size: cover; background-position: center;
}
.hero-slide.active { display: flex; }
.hero-slide .shade {
  background: linear-gradient(90deg, rgba(8,8,10,.92) 0%, rgba(8,8,10,.55) 55%, rgba(8,8,10,.15) 100%);
  position: absolute; inset: 0;
}
.hero-slide .wrap { position: relative; z-index: 2; }
.hero-kicker { color: var(--red); font-weight: 800; letter-spacing: 2px; font-size: 13px; text-transform: uppercase; }
.hero h1 {
  font-family: var(--font-title); font-size: clamp(34px, 5vw, 58px); font-weight: 900;
  line-height: 1.05; text-transform: uppercase; max-width: 640px; margin: 10px 0 16px;
}
.hero p { color: var(--ink-dim); max-width: 460px; margin-bottom: 24px; }
.hero-dots { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; }
.hero-dots i { width: 8px; height: 8px; border-radius: 4px; background: rgba(255,255,255,.35); }
.hero-dots i.on { background: var(--red); width: 22px; }

/* ── 通用板块 ── */
.section { padding: 56px 0; }
.section .head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 26px; }
.section h1, .section h2 { font-family: var(--font-title); font-size: 30px; font-weight: 900; text-transform: uppercase; letter-spacing: .5px; }
.section h2 small { display: block; font-family: var(--font-body); font-size: 14px; font-weight: 400; color: var(--ink-dim); text-transform: none; letter-spacing: 0; margin-top: 4px; }
.sec-link { color: var(--red); font-weight: 700; font-size: 14px; }

/* ── 分类 tile ── */
.cat-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; }
.cat-tile {
  position: relative; aspect-ratio: 3/4; border-radius: var(--radius-lg); overflow: hidden;
  display: flex; align-items: flex-end; padding: 14px; font-weight: 800;
  background-size: cover; background-position: center; border: 1px solid var(--line);
}
.cat-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.75)); }
.cat-tile span { position: relative; z-index: 2; font-family: var(--font-title); font-size: 17px; text-transform: uppercase; }
.cat-tile:hover { border-color: var(--red); }

/* ── 商品卡 ── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; transition: transform .18s, border-color .18s, box-shadow .18s; position: relative;
}
.card:hover { transform: translateY(-4px); border-color: #3a3a44; box-shadow: var(--shadow-card); }
.card .pic { aspect-ratio: 4/3; overflow: hidden; background: #101014; }
.card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.card:hover .pic img { transform: scale(1.05); }
.card .body { padding: 14px 16px 16px; }
.card .cat { font-size: 11px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; color: var(--red); }
.card h3 { font-size: 15px; font-weight: 700; margin: 4px 0 8px; line-height: 1.35; }
.card .price { font-weight: 800; font-size: 16px; }
.card .price .was { color: var(--ink-dim); text-decoration: line-through; font-weight: 400; font-size: 13px; margin-left: 8px; }
.card .quick {
  position: absolute; inset: auto 12px 12px auto; opacity: 0; transform: translateY(6px);
  transition: opacity .18s, transform .18s; padding: 8px 14px; font-size: 13px;
}
.card:hover .quick { opacity: 1; transform: none; }
.sale-flag { position: absolute; top: 10px; left: 10px; }

/* ── 过滤 chips ── */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.chip {
  padding: 7px 16px; border-radius: 20px; border: 1px solid var(--line);
  background: transparent; color: var(--ink-dim); font-size: 13px; font-weight: 600;
}
.chip:hover { color: var(--ink); }
.chip.on { background: var(--ink); color: #0c0c0f; border-color: var(--ink); }

/* ── 产品页 ── */
.bread { font-size: 13px; color: var(--ink-dim); padding: 16px 0 0; }
.bread a:hover { color: var(--ink); }
.pd { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; padding: 24px 0 56px; }
.gal-main { aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden; background: #101014; border: 1px solid var(--line); }
.gal-main img, .gal-main canvas { width: 100%; height: 100%; object-fit: cover; }
.gal-thumbs { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; margin-top: 12px; }
.gal-thumbs button {
  aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; border: 2px solid var(--line);
  background: #101014; padding: 0;
}
.gal-thumbs button.on { border-color: var(--red); }
.gal-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gal-thumbs .scene-tag {
  position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0,0,0,.7);
  font-size: 10px; text-align: center; padding: 2px 0; letter-spacing: .4px;
}

.buy h1 { font-family: var(--font-title); font-size: 30px; font-weight: 900; line-height: 1.15; text-transform: uppercase; }
.artist-row { display: flex; align-items: center; gap: 10px; margin: 12px 0; }
.artist-row .ava { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); overflow: hidden; }
.artist-row .ava img { width: 100%; height: 100%; object-fit: cover; }
.artist-row .nm { font-size: 14px; font-weight: 700; }
.artist-row .cnt { font-size: 12px; color: var(--ink-dim); }
.stars { color: #ffb23e; font-size: 14px; }
.stars em { color: var(--ink-dim); font-style: normal; margin-left: 6px; }
.pd-desc { color: var(--ink-dim); margin: 12px 0 20px; }

.opt-group { border-top: 1px solid var(--line); padding: 16px 0; }
.opt-group > b { display: block; font-size: 13px; text-transform: uppercase; letter-spacing: .8px; margin-bottom: 12px; }
.finish-tabs { display: flex; gap: 10px; }
.finish-tab {
  flex: 1; padding: 10px; border-radius: var(--radius); border: 1px solid var(--line);
  background: transparent; color: var(--ink-dim); font-weight: 700; font-size: 13px;
}
.finish-tab.on { border-color: var(--red); color: var(--ink); background: rgba(230,51,41,.1); }
.size-opts, .frame-opts { display: flex; gap: 10px; flex-wrap: wrap; }
.size-opt, .frame-opt {
  padding: 9px 16px; border-radius: var(--radius); border: 1px solid var(--line);
  background: transparent; color: var(--ink-dim); font-size: 13px; font-weight: 700;
}
.size-opt.on, .frame-opt.on { border-color: var(--red); color: var(--ink); }
.size-opt small { display: block; font-weight: 400; color: var(--ink-dim); font-size: 11px; }
.frame-opt { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 12px; }
.frame-opt .dot { width: 26px; height: 18px; border-radius: 3px; border: 1px solid rgba(255,255,255,.15); }
.price-line { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 18px; }
.price-line .now { font-size: 30px; font-weight: 900; }
.price-line .was { color: var(--ink-dim); text-decoration: line-through; }
.ship-notes { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 16px; font-size: 12px; color: var(--ink-dim); }
.pay-icons { margin-top: 10px; font-size: 12px; color: var(--ink-dim); letter-spacing: 1px; }

/* ── 定制器 ── */
.ct { display: grid; grid-template-columns: 1fr 420px; gap: 36px; padding: 24px 0 56px; }
.ct-stage { position: relative; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: #101014; }
.ct-stage canvas { width: 100%; display: block; }
.ct-stage .hint {
  position: absolute; top: 14px; left: 14px; background: rgba(0,0,0,.65);
  padding: 6px 12px; border-radius: 20px; font-size: 12px;
}
.upload-box {
  border: 2px dashed var(--line); border-radius: var(--radius-lg); padding: 26px; text-align: center;
  color: var(--ink-dim); cursor: pointer; transition: border-color .15s, color .15s;
}
.upload-box:hover { border-color: var(--red); color: var(--ink); }
.tpl-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; }
.tpl-grid button { aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; border: 2px solid var(--line); padding: 0; background: #101014; }
.tpl-grid button.on { border-color: var(--red); }
.tpl-grid img { width: 100%; height: 100%; object-fit: cover; }
.scene-row { display: flex; gap: 10px; margin-top: 14px; }
.scene-row button { flex: 1; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; border: 2px solid var(--line); padding: 0; position: relative; background: #101014; }
.scene-row button.on { border-color: var(--red); }
.scene-row img { width: 100%; height: 100%; object-fit: cover; }
.scene-row span { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(0,0,0,.7); font-size: 11px; padding: 3px 0; }

/* ── 价值主张 ── */
.vp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.vp { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.vp .ico { font-size: 30px; margin-bottom: 12px; }
.vp h3 { font-family: var(--font-title); font-size: 19px; font-weight: 900; text-transform: uppercase; margin-bottom: 8px; }
.vp p { color: var(--ink-dim); font-size: 14px; }

/* ── 画廊/社区 ── */
.gal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gal-grid figure { border-radius: var(--radius-lg); overflow: hidden; position: relative; aspect-ratio: 3/4; border: 1px solid var(--line); }
.gal-grid img { width: 100%; height: 100%; object-fit: cover; }
.gal-grid figcaption { position: absolute; inset: auto 0 0; background: linear-gradient(180deg, transparent, rgba(0,0,0,.8)); padding: 26px 12px 10px; font-size: 12px; }

/* ── 表格/FAQ ── */
.tbl { width: 100%; border-collapse: collapse; }
.tbl th, .tbl td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
.tbl th { color: var(--ink-dim); font-size: 12px; text-transform: uppercase; letter-spacing: .6px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.faq-item summary { padding: 14px 18px; font-weight: 700; cursor: pointer; }
.faq-item p { padding: 0 18px 16px; color: var(--ink-dim); }

/* ── Newsletter ── */
.nl { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 44px 20px; text-align: center; }
.nl h2 { font-family: var(--font-title); font-size: 30px; font-weight: 900; text-transform: uppercase; }
.nl p { color: var(--ink-dim); margin: 10px 0 22px; }
.nl form { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; }
.nl input {
  flex: 1; padding: 12px 16px; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--bg); color: var(--ink); font-family: inherit; font-size: 14px;
}
.nl input:focus { outline: none; border-color: var(--red); }

/* ── 页脚 ── */
.footer { border-top: 1px solid var(--line); padding: 48px 0 28px; margin-top: 40px; }
.footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
.footer h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--ink-dim); margin-bottom: 14px; }
.footer a { display: block; color: var(--ink-dim); font-size: 14px; padding: 4px 0; }
.footer a:hover { color: var(--ink); }
.footer .brand-p { color: var(--ink-dim); font-size: 13px; margin-top: 12px; }
.footer .copy { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12px; color: var(--ink-dim); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ── 表单页（contact/checkout） ── */
.form-card { max-width: 560px; margin: 30px auto; background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; }
.form-card label { display: block; font-size: 13px; font-weight: 700; margin: 16px 0 6px; }
.form-card input, .form-card textarea, .form-card select {
  width: 100%; padding: 12px 14px; border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--bg); color: var(--ink); font-family: inherit; font-size: 14px;
}
.form-card input:focus, .form-card textarea:focus { outline: none; border-color: var(--red); }
.form-card textarea { min-height: 120px; resize: vertical; }

/* ── 订单页 ── */
.order-row { display: flex; gap: 16px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; background: var(--bg-card); }
.order-row .th { width: 90px; aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; }
.order-row .th img { width: 100%; height: 100%; object-fit: cover; }
.order-row .inf { flex: 1; }
.order-row .st { font-weight: 800; }
.order-row .st.ok { color: var(--ok); }

/* ── 弹层 ── */
.quickview { position: fixed; inset: 0; background: rgba(0,0,0,.7); display: none; align-items: center; justify-content: center; z-index: 100; }
.quickview.open { display: flex; }
.quickview .box { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius-lg); max-width: 860px; width: 92%; max-height: 88vh; overflow: auto; padding: 26px; position: relative; }
.quickview .x { position: absolute; top: 14px; right: 16px; background: none; border: 0; color: var(--ink-dim); font-size: 22px; }

/* ── 响应式 ── */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .grid-4, .gal-grid { grid-template-columns: repeat(3, 1fr); }
  .pd { grid-template-columns: 1fr; }
  .ct { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .grid-3, .grid-4, .gal-grid, .vp-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .header .wrap { gap: 12px; }
  .nav { display: none; }
  .tpl-grid { grid-template-columns: repeat(3, 1fr); }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .section { padding: 36px 0; }
}

/* -- Reviews (Displate style) -- */
.rv-wrap { display: grid; grid-template-columns: 280px 1fr; gap: 36px; align-items: start; }
.rv-sum { position: sticky; top: 90px; }
.rv-score { font-size: 46px; font-weight: 800; line-height: 1; }
.rv-score small { font-size: 15px; font-weight: 400; color: var(--ink-dim); }
.rv-bar-row { display: flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 13px; color: var(--ink-dim); }
.rv-bar-row b { width: 10px; }
.rv-bar { flex: 1; height: 6px; background: var(--line); border-radius: 3px; overflow: hidden; }
.rv-bar i { display: block; height: 100%; background: var(--red); border-radius: 3px; }
.rv-item { background: var(--bg-card); border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; margin-bottom: 12px; }
.rv-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rv-ava { width: 36px; height: 36px; border-radius: 50%; background: #26262c; display: flex; align-items: center; justify-content: center; font-weight: 700; color: var(--ink-dim); font-size: 14px; }
.rv-name { font-weight: 600; font-size: 14px; }
.rv-verify { font-size: 11px; color: #3aa675; background: rgba(58,166,117,.12); padding: 2px 8px; border-radius: 99px; }
.rv-date { font-size: 12px; color: var(--ink-dim); margin-left: auto; }
.rv-stars { font-size: 13px; color: #f5b50a; letter-spacing: 1px; }
.rv-tag { font-size: 11px; color: var(--ink); background: #22222a; border: 1px solid var(--line); padding: 2px 8px; border-radius: 6px; }
.rv-body { font-size: 14px; color: #c9c9cf; line-height: 1.6; margin-top: 10px; }
@media (max-width: 860px) { .rv-wrap { grid-template-columns: 1fr; } .rv-sum { position: static; } }

/* -- Mounting analysis -- */
.mt-banner { display: flex; gap: 18px; background: var(--bg-card); border: 1px solid var(--line); border-radius: 12px; padding: 22px; margin-bottom: 18px; }
.mt-ico { font-size: 34px; }
.mt-banner h3 { margin: 0 0 6px; font-size: 17px; }
.mt-banner p { margin: 0; color: var(--ink-dim); font-size: 14px; line-height: 1.6; }
