/* ========== Reset & Base ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: #333; background: #fff; line-height: 1.6; overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: color .3s; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

:root {
  --primary: #1a3a6b;
  --primary-light: #2a5298;
  --accent: #c8a45c;
  --accent-light: #dcc07e;
  --dark: #1a1a2e;
  --gray: #666;
  --gray-light: #999;
  --bg-light: #f5f5f5;
  --bg-section: #fafafa;
  --white: #fff;
}

/* ========== Header / Navigation ========== */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
  box-shadow: 0 1px 10px rgba(0,0,0,.08);
  transition: background .3s, box-shadow .3s;
}
.header-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--primary); display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 14px; font-weight: 700; letter-spacing: 1px;
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; }
.logo-cn { font-size: 18px; font-weight: 700; color: var(--primary); letter-spacing: 2px; line-height: 1.2; }
.logo-en { font-size: 10px; color: var(--gray-light); letter-spacing: 1.5px; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav a {
  font-size: 15px; color: var(--gray); position: relative;
  padding: 4px 0; transition: color .3s;
}
.nav a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px;
  background: var(--accent); transition: width .3s;
}
.nav a:hover, .nav a.active { color: var(--primary); }
.nav a:hover::after, .nav a.active::after { width: 100%; }

.menu-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 32px; height: 32px; position: relative; z-index: 1001;
}
.menu-toggle span {
  display: block; width: 24px; height: 2px; background: var(--primary);
  margin: 5px auto; transition: all .3s; border-radius: 2px;
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ========== Banner / Hero ========== */
.banner {
  margin-top: 72px; position: relative; overflow: hidden;
  height: 80vh; min-height: 500px; max-height: 800px;
  background: var(--dark);
}
.banner-slides { display: flex; width: 300%; height: 100%; transition: transform .8s cubic-bezier(.4,0,.2,1); }
.banner-slide {
  width: 100%; height: 100%; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.banner-slide img {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
}
.banner-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, rgba(26,58,107,.7) 0%, rgba(26,26,46,.4) 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 24px; z-index: 2;
}
.banner-overlay h1 {
  font-size: 48px; color: var(--white); font-weight: 300; letter-spacing: 8px;
  margin-bottom: 16px; text-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.banner-overlay .subtitle {
  font-size: 16px; color: rgba(255,255,255,.8); letter-spacing: 4px;
  margin-bottom: 32px;
}
.banner-btn {
  display: inline-block; padding: 14px 48px; border: 1px solid var(--accent);
  color: var(--white); font-size: 14px; letter-spacing: 3px;
  transition: all .3s; cursor: pointer;
}
.banner-btn:hover { background: var(--accent); color: var(--dark); }

.banner-indicators {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 12px; z-index: 3;
}
.banner-indicators span {
  width: 40px; height: 3px; background: rgba(255,255,255,.4); cursor: pointer;
  transition: background .3s;
}
.banner-indicators span.active { background: var(--accent); width: 60px; }

/* ========== Section Common ========== */
.section { padding: 80px 24px; }
.section-inner { max-width: 1280px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 {
  font-size: 36px; font-weight: 300; color: var(--dark); letter-spacing: 4px;
  margin-bottom: 12px;
}
.section-header .en-title {
  font-size: 13px; color: var(--gray-light); letter-spacing: 3px;
  text-transform: uppercase; margin-bottom: 20px;
}
.section-header .divider { width: 60px; height: 2px; background: var(--accent); margin: 0 auto; }
.section-header p {
  max-width: 680px; margin: 20px auto 0; color: var(--gray);
  font-size: 15px; line-height: 1.8;
}

/* ========== About Section ========== */
.about { background: var(--white); }
.about-desc {
  text-align: center; max-width: 800px; margin: 0 auto 48px;
  font-size: 15px; color: var(--gray); line-height: 2;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat-card {
  text-align: center; padding: 40px 20px;
  background: var(--bg-light); border-radius: 8px;
  transition: transform .3s, box-shadow .3s;
}
.stat-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,.08); }
.stat-number { font-size: 42px; font-weight: 700; color: var(--primary); line-height: 1; margin-bottom: 4px; }
.stat-number .unit { font-size: 18px; color: var(--accent); font-weight: 400; }
.stat-label { font-size: 14px; color: var(--gray); margin-top: 8px; }

/* ========== Products Section ========== */
.products { background: var(--bg-light); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product-card {
  position: relative; overflow: hidden; border-radius: 8px;
  background: var(--white); cursor: pointer;
  transition: transform .3s, box-shadow .3s;
}
.product-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,.12); }
.product-card img {
  width: 100%; height: 280px; object-fit: cover;
  transition: transform .5s;
}
.product-card:hover img { transform: scale(1.08); }
.product-card .card-info { padding: 16px 20px; text-align: center; }
.product-card .card-info h3 {
  font-size: 16px; font-weight: 500; color: var(--dark); letter-spacing: 2px;
}
.product-card .card-info .en {
  font-size: 11px; color: var(--gray-light); letter-spacing: 1px; margin-top: 4px;
  text-transform: uppercase;
}

/* ========== Category Tabs ========== */
.category-tabs {
  display: flex; justify-content: center; gap: 16px; margin-bottom: 40px;
}
.category-tab {
  padding: 10px 32px; border: 1px solid #ddd; border-radius: 4px;
  font-size: 15px; color: var(--gray); cursor: pointer;
  transition: all .3s; background: var(--white);
}
.category-tab:hover { border-color: var(--primary); color: var(--primary); }
.category-tab.active {
  background: var(--primary); color: var(--white); border-color: var(--primary);
}

/* ========== News Section ========== */
.news { background: var(--bg-light); }
.news-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-card {
  background: var(--white); border-radius: 8px; overflow: hidden;
  transition: transform .3s, box-shadow .3s;
}
.news-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,.08); }
.news-card .news-img { width: 100%; height: 200px; overflow: hidden; }
.news-card .news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.news-card:hover .news-img img { transform: scale(1.05); }
.news-card .news-body { padding: 20px 24px; }
.news-card .news-date { font-size: 13px; color: var(--accent); margin-bottom: 8px; }
.news-card .news-title {
  font-size: 16px; font-weight: 500; color: var(--dark);
  line-height: 1.5; margin-bottom: 10px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.news-card .news-excerpt {
  font-size: 14px; color: var(--gray); line-height: 1.6;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* ========== News Detail ========== */
.news-detail-content { max-width: 800px; margin: 0 auto; }
.news-detail-content .news-meta {
  font-size: 14px; color: var(--gray-light); margin-bottom: 24px;
  padding-bottom: 16px; border-bottom: 1px solid #eee;
}
.news-detail-content .news-body-text { font-size: 16px; line-height: 2; color: var(--gray); }
.news-detail-content .news-body-text p { margin-bottom: 20px; }
.news-detail-content .news-featured-img {
  width: 100%; height: 400px; object-fit: cover; border-radius: 8px; margin-bottom: 32px;
}

/* ========== About Page ========== */
.timeline { position: relative; max-width: 800px; margin: 0 auto; padding: 20px 0; }
.timeline::before {
  content: ''; position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px; background: var(--accent); transform: translateX(-50%);
}
.timeline-item {
  display: flex; align-items: flex-start; margin-bottom: 48px; position: relative;
}
.timeline-item:nth-child(odd) { flex-direction: row-reverse; text-align: right; }
.timeline-dot {
  position: absolute; left: 50%; top: 8px; width: 14px; height: 14px;
  background: var(--accent); border-radius: 50%; transform: translateX(-50%);
  z-index: 1;
}
.timeline-content {
  width: 44%; padding: 20px 24px; background: var(--bg-light); border-radius: 8px;
}
.timeline-content h3 { font-size: 20px; color: var(--primary); margin-bottom: 4px; }
.timeline-content .year { font-size: 14px; color: var(--accent); margin-bottom: 8px; }
.timeline-content p { font-size: 14px; color: var(--gray); line-height: 1.8; }

.honor-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.honor-card {
  padding: 32px 24px; background: var(--bg-light); border-radius: 8px;
  text-align: center; transition: transform .3s;
}
.honor-card:hover { transform: translateY(-4px); }
.honor-card .icon { font-size: 36px; margin-bottom: 16px; }
.honor-card h4 { font-size: 16px; color: var(--dark); margin-bottom: 8px; }
.honor-card p { font-size: 13px; color: var(--gray); line-height: 1.6; }

/* ========== Product Detail ========== */
.detail-hero {
  padding: 120px 24px 60px; background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
  color: var(--white); text-align: center;
}
.detail-hero h1 { font-size: 36px; font-weight: 300; letter-spacing: 6px; margin-bottom: 8px; }
.detail-hero .en { font-size: 14px; color: rgba(255,255,255,.6); letter-spacing: 3px; text-transform: uppercase; }
.detail-hero .desc { max-width: 600px; margin: 20px auto 0; font-size: 15px; color: rgba(255,255,255,.7); line-height: 1.8; }
.detail-hero .size-tag {
  display: inline-block; margin-top: 16px; padding: 6px 20px;
  border: 1px solid rgba(255,255,255,.3); border-radius: 4px;
  font-size: 13px; color: rgba(255,255,255,.6); letter-spacing: 1px;
}

.element-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.element-item {
  border-radius: 8px; overflow: hidden; background: var(--bg-light);
  aspect-ratio: 1; cursor: pointer; transition: transform .3s;
}
.element-item:hover { transform: scale(1.03); }
.element-item img { width: 100%; height: 100%; object-fit: cover; }
.element-item .placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #e8e8e8 0%, #d0d0d0 100%);
  color: #aaa; font-size: 12px;
}

.spec-table {
  width: 100%; border-collapse: collapse; margin-top: 32px;
}
.spec-table th, .spec-table td {
  padding: 14px 20px; text-align: left; border-bottom: 1px solid #eee;
  font-size: 14px;
}
.spec-table th { color: var(--primary); font-weight: 500; background: var(--bg-light); }
.spec-table td { color: var(--gray); }

/* ========== Button ========== */
.btn-primary {
  display: inline-block; padding: 12px 36px; background: var(--primary);
  color: var(--white); font-size: 14px; letter-spacing: 2px; border: none;
  border-radius: 4px; cursor: pointer; transition: all .3s;
}
.btn-primary:hover { background: var(--primary-light); }
.btn-outline {
  display: inline-block; padding: 12px 36px; border: 1px solid var(--primary);
  color: var(--primary); font-size: 14px; letter-spacing: 2px;
  border-radius: 4px; cursor: pointer; transition: all .3s;
}
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-accent {
  display: inline-block; padding: 12px 36px; border: 1px solid var(--accent);
  color: var(--accent); font-size: 14px; letter-spacing: 2px;
  border-radius: 4px; cursor: pointer; transition: all .3s;
}
.btn-accent:hover { background: var(--accent); color: var(--dark); }

.section-action { text-align: center; margin-top: 48px; }

/* ========== Breadcrumb ========== */
.breadcrumb {
  padding: 100px 24px 24px; background: var(--bg-light);
}
.breadcrumb-inner {
  max-width: 1280px; margin: 0 auto; font-size: 14px; color: var(--gray-light);
}
.breadcrumb-inner a { color: var(--gray); }
.breadcrumb-inner a:hover { color: var(--primary); }
.breadcrumb-inner span { margin: 0 8px; }

/* ========== Footer ========== */
.footer {
  background: var(--dark); color: rgba(255,255,255,.7); padding: 64px 24px 0;
}
.footer-inner {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
}
.footer-brand .footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.footer-brand .footer-logo-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--primary-light); display: flex; align-items: center;
  justify-content: center; color: var(--white); font-size: 11px; font-weight: 700;
}
.footer-brand .footer-logo-text h4 { font-size: 16px; color: var(--white); font-weight: 600; letter-spacing: 2px; }
.footer-brand .footer-logo-text span { font-size: 10px; color: rgba(255,255,255,.5); letter-spacing: 1px; }
.footer-brand p { font-size: 14px; line-height: 1.8; margin-bottom: 20px; }
.footer-social { display: flex; gap: 16px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2); display: flex;
  align-items: center; justify-content: center;
  font-size: 12px; color: rgba(255,255,255,.6); transition: all .3s;
}
.footer-social a:hover { border-color: var(--accent); color: var(--accent); background: rgba(200,164,92,.1); }
.footer-col h5 { font-size: 15px; color: var(--white); margin-bottom: 20px; letter-spacing: 2px; font-weight: 500; }
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,.6); padding: 6px 0; transition: color .3s; }
.footer-col a:hover { color: var(--accent); }
.footer-col .contact-item {
  font-size: 14px; color: rgba(255,255,255,.6);
  padding: 4px 0; display: flex; align-items: flex-start; gap: 8px;
}
.footer-col .contact-item .label { color: rgba(255,255,255,.4); white-space: nowrap; flex-shrink: 0; }
.footer-bottom {
  margin-top: 48px; padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,.1);
  text-align: center; font-size: 13px; color: rgba(255,255,255,.35);
}

/* ========== Back to Top ========== */
.back-top {
  position: fixed; bottom: 32px; right: 32px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; cursor: pointer; z-index: 999;
  opacity: 0; visibility: hidden; transition: all .3s;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.back-top.visible { opacity: 1; visibility: visible; }
.back-top:hover { background: var(--accent); color: var(--dark); }

.placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #e8e8e8 0%, #d0d0d0 100%);
  color: #aaa; font-size: 14px; letter-spacing: 1px;
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .element-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
  .honor-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline::before { left: 20px; }
  .timeline-dot { left: 20px; }
  .timeline-item, .timeline-item:nth-child(odd) { flex-direction: row; text-align: left; }
  .timeline-content { width: 100%; margin-left: 50px; }
}

@media (max-width: 768px) {
  .nav {
    position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
    background: var(--white); flex-direction: column; justify-content: center;
    padding: 40px; gap: 28px; transition: right .3s;
    box-shadow: -4px 0 20px rgba(0,0,0,.1);
  }
  .nav.open { right: 0; }
  .menu-toggle { display: block; }
  .banner-overlay h1 { font-size: 28px; letter-spacing: 4px; }
  .banner-overlay .subtitle { font-size: 13px; letter-spacing: 2px; }
  .section { padding: 56px 16px; }
  .section-header h2 { font-size: 26px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stat-number { font-size: 32px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-card img { height: 200px; }
  .news-list { grid-template-columns: 1fr; }
  .element-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .banner { height: 60vh; min-height: 400px; }
  .honor-grid { grid-template-columns: 1fr; }
  .detail-hero h1 { font-size: 26px; }
  .category-tabs { flex-wrap: wrap; }
}

@media (max-width: 480px) {
  .header-inner { height: 60px; }
  .banner { margin-top: 60px; height: 50vh; min-height: 360px; }
  .logo-icon { width: 38px; height: 38px; font-size: 11px; }
  .logo-cn { font-size: 15px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-card { padding: 24px 12px; }
  .stat-number { font-size: 28px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .product-card img { height: 160px; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeInUp .6s ease-out forwards; }

/* ========== Category Cards (Products Homepage) ========== */
.category-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px;
  max-width: 1100px; margin: 0 auto;
}
.category-card {
  position: relative; overflow: hidden; border-radius: 12px;
  background: var(--white); cursor: pointer;
  transition: transform .4s, box-shadow .4s;
  text-decoration: none; display: block;
  box-shadow: 0 4px 20px rgba(0,0,0,.06);
}
.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0,0,0,.15);
}
.category-card .card-image {
  width: 100%; height: 320px; overflow: hidden; position: relative;
}
.category-card .card-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s ease;
}
.category-card:hover .card-image img { transform: scale(1.1); }
.category-card .card-image .image-overlay {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(180deg, rgba(26,58,107,.15) 0%, rgba(26,26,46,.55) 100%);
  transition: background .4s;
}
.category-card:hover .card-image .image-overlay {
  background: linear-gradient(180deg, rgba(26,58,107,.25) 0%, rgba(26,26,46,.7) 100%);
}
.category-card .card-content {
  padding: 28px 24px; text-align: center;
  position: relative; z-index: 1;
}
.category-card .card-content h3 {
  font-size: 22px; font-weight: 500; color: var(--dark); letter-spacing: 4px;
  margin-bottom: 6px;
}
.category-card .card-content .en {
  font-size: 12px; color: var(--gray-light); letter-spacing: 2px;
  text-transform: uppercase; margin-bottom: 14px;
}
.category-card .card-count {
  display: inline-block; padding: 6px 18px; border-radius: 20px;
  background: var(--bg-light); font-size: 13px; color: var(--primary);
  letter-spacing: 1px; margin-bottom: 12px;
}
.category-card .card-count strong {
  font-size: 20px; font-weight: 700; color: var(--accent);
  margin: 0 2px;
}
.category-card .card-desc {
  font-size: 13px; color: var(--gray); line-height: 1.7;
  margin-top: 8px;
}
.category-card .card-arrow {
  display: inline-block; margin-top: 16px; padding: 8px 24px;
  border: 1px solid var(--primary); color: var(--primary);
  font-size: 13px; letter-spacing: 2px; border-radius: 4px;
  transition: all .3s;
}
.category-card:hover .card-arrow {
  background: var(--primary); color: var(--white);
}

/* ========== Series Page (taozhi / cizhi / custom) ========== */
.series-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.series-card {
  position: relative; overflow: hidden; border-radius: 8px;
  background: var(--white); cursor: pointer; text-decoration: none;
  display: block; transition: transform .3s, box-shadow .3s;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.series-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,.12);
}
.series-card .card-img {
  width: 100%; height: 260px; overflow: hidden; background: var(--bg-light);
  display: flex; align-items: center; justify-content: center;
}
.series-card .card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s;
}
.series-card:hover .card-img img { transform: scale(1.08); }
.series-card .card-img .placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #e8e8e8 0%, #d0d0d0 100%);
  color: #aaa; font-size: 14px; letter-spacing: 1px;
}
.series-card .card-body {
  padding: 16px 18px; text-align: center;
}
.series-card .card-body h4 {
  font-size: 15px; font-weight: 500; color: var(--dark); letter-spacing: 2px;
  margin-bottom: 4px;
}
.series-card .card-body .en {
  font-size: 11px; color: var(--gray-light); letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 6px;
}
.series-card .card-body .size {
  font-size: 12px; color: var(--accent); letter-spacing: .5px;
}

/* ========== Custom Page ========== */
.custom-coming {
  text-align: center; padding: 80px 24px;
}
.custom-coming .icon {
  font-size: 64px; margin-bottom: 24px; color: var(--accent);
}
.custom-coming h3 {
  font-size: 24px; font-weight: 300; color: var(--dark); letter-spacing: 4px;
  margin-bottom: 12px;
}
.custom-coming p {
  font-size: 15px; color: var(--gray); line-height: 1.8;
  max-width: 500px; margin: 0 auto;
}

/* ========== Responsive for new components ========== */
@media (max-width: 1024px) {
  .category-cards { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .series-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .category-cards { grid-template-columns: 1fr; gap: 20px; }
  .category-card .card-image { height: 220px; }
  .series-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .series-card .card-img { height: 200px; }
}
@media (max-width: 480px) {
  .series-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .series-card .card-img { height: 160px; }
  .category-card .card-image { height: 180px; }
  .category-card .card-content h3 { font-size: 18px; }
}

/* ========== Search Box ========== */
.search-box-wrapper {
  max-width: 600px;
  margin: 0 auto 40px;
  padding: 0 24px;
}
.search-box {
  position: relative;
  display: flex;
  align-items: center;
}
.search-box input {
  width: 100%;
  padding: 14px 48px 14px 44px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 15px;
  color: var(--dark);
  background: var(--white);
  outline: none;
  transition: border-color .3s, box-shadow .3s;
  font-family: inherit;
}
.search-box input::placeholder {
  color: var(--gray-light);
}
.search-box input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(26,58,107,.1);
}
.search-icon {
  position: absolute;
  left: 16px;
  width: 16px;
  height: 16px;
  border: 2px solid var(--gray-light);
  border-radius: 50%;
  pointer-events: none;
  transition: border-color .3s;
}
.search-icon::after {
  content: '';
  position: absolute;
  right: -6px;
  bottom: -6px;
  width: 2px;
  height: 7px;
  background: var(--gray-light);
  transform: rotate(-45deg);
  border-radius: 1px;
}
.search-box input:focus ~ .search-icon {
  border-color: var(--primary);
}
.search-box input:focus ~ .search-icon::after {
  background: var(--primary);
}
.search-clear {
  position: absolute;
  right: 12px;
  width: 28px;
  height: 28px;
  border: none;
  background: var(--bg-light);
  border-radius: 50%;
  font-size: 16px;
  color: var(--gray);
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background .3s, color .3s;
  line-height: 1;
  flex-shrink: 0;
}
.search-clear:hover {
  background: var(--primary);
  color: var(--white);
}
.search-clear.visible {
  display: flex;
}

.search-no-result {
  text-align: center;
  padding: 60px 24px;
  grid-column: 1 / -1;
}
.search-no-result .no-result-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border: 3px solid #e0e0e0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--gray-light);
}
.search-no-result p {
  font-size: 18px;
  color: var(--dark);
  margin-bottom: 8px;
  letter-spacing: 1px;
}
.search-no-result span {
  font-size: 14px;
  color: var(--gray-light);
}

@media (max-width: 768px) {
  .search-box-wrapper {
    margin-bottom: 28px;
    padding: 0 16px;
  }
  .search-box input {
    padding: 12px 44px 12px 40px;
    font-size: 14px;
  }
  .search-icon {
    left: 14px;
    width: 14px;
    height: 14px;
  }
  .search-icon::after {
    height: 6px;
    right: -5px;
    bottom: -5px;
  }
}


/* ========== New Product Grid (replacing series-detail-header) ========== */

/* 系列标题栏 - 点击系列后显示 */
.series-grid-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--accent);
  flex-wrap: wrap;
  gap: 12px;
}
.series-grid-header .header-left {
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}
.series-grid-header .series-title {
  font-size: 22px;
  font-weight: 500;
  color: var(--dark);
  letter-spacing: 3px;
}
.series-grid-header .series-en {
  font-size: 12px;
  color: var(--gray-light);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.series-grid-header .series-size {
  display: inline-block;
  padding: 3px 12px;
  border: 1px solid var(--accent);
  border-radius: 4px;
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 1px;
}
.series-grid-header .header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}
.series-grid-header .product-count {
  font-size: 13px;
  color: var(--gray);
}
.series-grid-header .product-count strong {
  color: var(--accent);
  font-size: 18px;
  font-weight: 700;
}

/* 产品网格 - 新布局 */
.product-cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

/* 产品卡片 - 新样式 */
.product-mini-card {
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid #f0f0f0;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  cursor: pointer;
  text-decoration: none;
  display: block;
}
.product-mini-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
  border-color: var(--accent);
}
.product-mini-card .card-img {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: #f8f8f8;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-mini-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.product-mini-card:hover .card-img img {
  transform: scale(1.05);
}
.product-mini-card .card-img .placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
  color: #bbb;
  font-size: 11px;
  letter-spacing: 1px;
}
.product-mini-card .card-info {
  padding: 10px 12px 12px;
  text-align: center;
  background: var(--white);
  border-top: 1px solid #f5f5f5;
}
.product-mini-card .card-info .code {
  font-size: 12px;
  font-weight: 500;
  color: var(--dark);
  letter-spacing: 0.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.4;
}
.product-mini-card .card-info .series-name {
  font-size: 10px;
  color: var(--gray-light);
  letter-spacing: 0.5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 2px;
  line-height: 1.3;
}

/* 加载更多按钮 */
.load-more-wrap {
  text-align: center;
  padding: 32px 0 16px;
}
.load-more-btn {
  display: inline-block;
  padding: 10px 32px;
  border: 1px solid var(--primary);
  color: var(--primary);
  font-size: 13px;
  letter-spacing: 1px;
  border-radius: 4px;
  cursor: pointer;
  background: var(--white);
  transition: all .3s;
}
.load-more-btn:hover {
  background: var(--primary);
  color: var(--white);
}

/* 无产品状态 */
.series-no-products {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
  text-align: center;
}
.series-no-products .no-icon {
  width: 64px;
  height: 64px;
  border: 3px solid #e0e0e0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--gray-light);
  margin-bottom: 20px;
}
.series-no-products h4 {
  font-size: 16px;
  color: var(--dark);
  letter-spacing: 2px;
  margin-bottom: 8px;
}
.series-no-products p {
  font-size: 14px;
  color: var(--gray-light);
  line-height: 1.8;
}

/* 响应式 - 产品网格 */
/* 大屏5列, 中屏4列, 小屏2-3列 */
@media (max-width: 1400px) {
  .product-cards-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 1200px) {
  .product-cards-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }
}
@media (max-width: 1024px) {
  .product-cards-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
}
@media (max-width: 768px) {
  .product-cards-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .series-grid-header .series-title { font-size: 18px; }
  .product-mini-card .card-info { padding: 8px 10px 10px; }
  .product-mini-card .card-info .code { font-size: 11px; }
  .product-mini-card .card-info .series-name { font-size: 9px; }
}
@media (max-width: 480px) {
  .product-cards-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .product-mini-card .card-info { padding: 6px 8px 8px; }
  .product-mini-card .card-info .code { font-size: 10px; }
  .product-mini-card .card-info .series-name { font-size: 9px; }
  .series-grid-header .series-title { font-size: 16px; }
}
