/* 一代衣路产品目录 - 全站样式 */
:root {
  --brand-black: #111111;
  --brand-red: #C8102E;
  --brand-red-dark: #a00d25;
  --bg: #f7f7f5;
  --card-bg: #ffffff;
  --text: #222222;
  --text-light: #666666;
  --border: #e5e5e0;
  --radius: 10px;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- 页头 ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 52px; width: auto; }
.brand-name { font-size: 20px; font-weight: 700; letter-spacing: 2px; color: var(--brand-black); }
.brand-name em { font-style: normal; color: var(--brand-red); }
.header-nav { margin-left: auto; display: flex; gap: 20px; align-items: center; }
.header-nav a { font-size: 14px; color: var(--text-light); padding: 6px 4px; border-bottom: 2px solid transparent; transition: 0.2s; }
.header-nav a:hover, .header-nav a.active { color: var(--brand-red); border-bottom-color: var(--brand-red); }

/* ---------- 页脚 ---------- */
.site-footer {
  background: var(--brand-black);
  color: #aaa;
  margin-top: 60px;
  padding: 40px 24px 28px;
  text-align: center;
  font-size: 13px;
}
.site-footer .footer-brand { color: #fff; font-size: 16px; letter-spacing: 3px; margin-bottom: 8px; }
.site-footer .footer-brand em { font-style: normal; color: var(--brand-red); }
.site-footer .footer-en { font-size: 12px; color: #777; letter-spacing: 1px; margin-bottom: 16px; }
.site-footer .footer-contact { margin-bottom: 16px; }
.site-footer .footer-contact span { display: inline-block; margin: 0 12px; }
.site-footer .footer-copy { color: #666; font-size: 12px; }

/* ---------- 首页：横幅 ---------- */
.hero {
  background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 55%, #3a1111 100%);
  color: #fff;
  padding: 64px 24px 56px;
  text-align: center;
}
.hero h1 { font-size: 32px; letter-spacing: 4px; font-weight: 700; }
.hero h1 em { font-style: normal; color: #ff3b4e; }
.hero p { margin-top: 14px; color: #ccc; font-size: 15px; letter-spacing: 1px; }
.hero .hero-meta { margin-top: 22px; font-size: 13px; color: #999; }
.hero .hero-meta span { margin: 0 10px; }

/* ---------- 首页：筛选栏 ---------- */
.toolbar {
  max-width: 1200px;
  margin: 32px auto 0;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}
.series-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.series-tab {
  padding: 8px 18px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  transition: 0.2s;
  color: var(--text-light);
}
.series-tab:hover { border-color: var(--brand-red); color: var(--brand-red); }
.series-tab.active { background: var(--brand-red); border-color: var(--brand-red); color: #fff; }
.search-box { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.search-box input {
  width: 220px;
  padding: 9px 14px;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 14px;
  outline: none;
  transition: 0.2s;
}
.search-box input:focus { border-color: var(--brand-red); }

/* ---------- 首页：产品网格 ---------- */
.product-grid {
  max-width: 1200px;
  margin: 24px auto 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12); }
.card-media {
  aspect-ratio: 4 / 3;
  background: #eee;
  position: relative;
  overflow: hidden;
}
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-media .no-video-tag {
  position: absolute;
  left: 10px;
  top: 10px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 12px;
  letter-spacing: 1px;
}
.card-media .has-video-tag {
  position: absolute;
  right: 10px;
  top: 10px;
  background: var(--brand-red);
  color: #fff;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 12px;
  letter-spacing: 1px;
}
.card-body { padding: 16px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.card-body .model { font-size: 12px; color: var(--text-light); margin-bottom: 10px; }
.card-body .intro {
  font-size: 13px;
  color: var(--text-light);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 14px;
}
.card-body .card-footer { margin-top: auto; display: flex; justify-content: space-between; align-items: center; }
.card-body .series-name { font-size: 12px; color: var(--brand-red); background: #fdf0f1; padding: 3px 10px; border-radius: 12px; }
.card-body .detail-link { font-size: 13px; color: var(--brand-black); font-weight: 600; }
.card-body .detail-link:hover { color: var(--brand-red); }

/* 空状态 */
.empty-state {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 24px;
  text-align: center;
  color: var(--text-light);
  font-size: 15px;
}
.loading {
  max-width: 1200px;
  margin: 60px auto;
  text-align: center;
  color: var(--text-light);
}

/* ---------- 详情页 ---------- */
.detail-wrap { max-width: 1000px; margin: 0 auto; padding: 32px 24px 60px; }
.breadcrumb { font-size: 13px; color: var(--text-light); margin-bottom: 20px; }
.breadcrumb a:hover { color: var(--brand-red); }
.breadcrumb .sep { margin: 0 8px; color: #bbb; }

.detail-title { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 6px; }
.detail-title h1 { font-size: 26px; font-weight: 700; }
.detail-title .model { color: var(--text-light); font-size: 14px; }
.detail-series { margin-bottom: 20px; }

.video-box {
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  margin: 20px 0 28px;
  aspect-ratio: 16 / 9;
  position: relative;
}
.video-box video { width: 100%; height: 100%; display: block; }
.video-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #999;
  background: linear-gradient(160deg, #1c1c1c, #2b2b2b);
  text-align: center;
  gap: 10px;
}
.video-placeholder .vplay {
  width: 64px; height: 64px;
  border: 2px solid #555;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #777;
}
.video-placeholder .vtip { font-size: 13px; letter-spacing: 1px; }

.section-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 28px;
  margin-bottom: 20px;
}
.section-card h2 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 14px;
  padding-left: 12px;
  border-left: 4px solid var(--brand-red);
  letter-spacing: 1px;
}
.section-card p.intro-text { font-size: 14.5px; color: var(--text); white-space: pre-line; }

.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec-table th, .spec-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); text-align: left; }
.spec-table th { width: 160px; color: var(--text-light); font-weight: 500; background: #fafaf8; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: none; }

.standard-text { font-size: 14px; white-space: pre-line; color: var(--text); line-height: 2; }

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.gallery img { border-radius: 8px; aspect-ratio: 1; object-fit: cover; cursor: zoom-in; transition: 0.2s; }
.gallery img:hover { opacity: 0.9; }

.back-top { display: inline-block; margin-top: 8px; font-size: 13px; color: var(--text-light); }
.back-top:hover { color: var(--brand-red); }

/* ---------- 响应式 ---------- */
@media (max-width: 768px) {
  .header-inner { flex-wrap: wrap; gap: 10px; padding: 10px 16px; }
  .brand img { height: 40px; }
  .brand-name { font-size: 17px; }
  .header-nav { margin-left: 0; }
  .hero h1 { font-size: 24px; }
  .toolbar { padding: 0 16px; }
  .search-box { margin-left: 0; width: 100%; }
  .search-box input { width: 100%; flex: 1; }
  .product-grid { padding: 0 16px; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .detail-wrap { padding: 20px 16px 40px; }
  .section-card { padding: 18px 16px; }
}

/* ===== 公司介绍系列 ===== */
#companyIntro { max-width: 960px; margin: 0 auto; padding: 20px 16px; }
.company-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); }
.company-title { font-size: 22px; font-weight: 700; letter-spacing: 1px; color: var(--text); }
.company-tag { display: inline-block; margin-top: 8px; font-size: 13px; color: var(--brand-red); background: #fdf0f1; border-radius: 14px; padding: 4px 14px; }
.company-highlights { list-style: none; margin: 18px 0 0; padding: 0; }
.company-highlights li { font-size: 14.5px; line-height: 2.1; color: var(--text); border-bottom: 1px dashed var(--border); padding: 6px 0; }
.company-contact { margin-top: 20px; background: #fafaf8; border-radius: 10px; padding: 16px 18px; }
.company-contact p { font-size: 14px; line-height: 2; color: var(--text); margin: 0; }
.company-contact .cl { display: inline-block; width: 42px; color: var(--text-light); font-weight: 500; }
