/* 深圳智语 static site - main styles */
:root {
  --primary: #ff6600;
  --primary-dark: #e55a00;
  --primary-light: #fff5ef;
  --accent-green: #c6ef00;
  --text: #333333;
  --text-muted: #666666;
  --text-light: #999999;
  --border: #eeeeee;
  --bg: #ffffff;
  --bg-gray: #f7f8fa;
  --header-h: 88px;
  --topbar-h: 0;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --radius: 4px;
  --max-w: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Alibaba PuHuiTi", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 14px;
}

a { color: inherit; text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary); }

img { max-width: 100%; display: block; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  background: var(--bg);
  border-bottom: none;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  height: var(--header-h);
  gap: 24px;
  max-width: 1400px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 8px;
}

.logo:hover { color: inherit; }
.logo-img { display: block; height: 48px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 1;
}

.main-nav > a,
.main-nav > .nav-item > a {
  padding: 10px 16px;
  font-size: 15px;
  color: var(--text);
  border-radius: 0;
  white-space: nowrap;
  font-weight: 400;
}

.main-nav > a:hover,
.main-nav > .nav-item:hover > a,
.main-nav > a.active { color: var(--primary); background: transparent; }

.nav-item { position: relative; }

/* 方案定制 hover 下拉 */
.nav-customization-panel {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  top: calc(var(--topbar-h) + var(--header-h));
  height: 340px;
  background: #fff;
  border-top: 1px solid #d9d9d9;
  border-radius: 0 0 5px 5px;
  z-index: 999;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
.nav-item-custom:hover .nav-customization-panel,
.nav-item-custom:focus-within .nav-customization-panel {
  display: block;
}
.nav-customization-content {
  width: 1077px;
  max-width: calc(100% - 32px);
  margin: 0 auto;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 57px;
}
.nav-customization-card {
  display: block;
  flex: 0 1 510px;
  min-width: 0;
  color: #000;
}
.nav-customization-card:hover,
.nav-customization-card:focus { color: #000; }
.nav-customization-card h4 {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.2;
  color: #000;
  font-weight: bold;
  text-align: center;
}
.nav-customization-image {
  position: relative;
  width: 100%;
  aspect-ratio: 510 / 230;
  overflow: hidden;
  border-radius: 5px;
  background: #f4f6f9;
}
.nav-customization-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.nav-customization-btn {
  position: absolute;
  left: 50%;
  bottom: 17px;
  transform: translateX(-50%);
  box-sizing: border-box;
  min-width: 118px;
  height: 37px;
  padding: 0 22px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.5);
  color: #000;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  transition: background 0.3s, color 0.3s;
}
.nav-customization-card:hover .nav-customization-btn {
  background: rgba(255, 255, 255, 0.78);
  color: var(--primary);
}
.nav-customization-btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.header-actions a { font-size: 13px; color: var(--text-muted); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 4px;
}

/* Hero carousel - 全宽 Banner */
.hero {
  position: relative;
  overflow: hidden;
  background: #111;
}

.hero-track {
  position: relative;
  width: 100%;
  height: clamp(200px, 29vw, 560px);
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.hero-link {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 5;
}

.hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s;
}

.hero-dots button.active {
  background: #fff;
  border-color: #fff;
  width: 24px;
  border-radius: 5px;
}

@media (max-width: 992px) {
  .hero-track {
    height: clamp(220px, 36vw, 420px);
  }

  .hero-dots {
    bottom: 16px;
    gap: 8px;
  }
}

@media (max-width: 768px) {
  .hero-track {
    height: clamp(180px, 48vw, 280px);
  }

  .hero-slide {
    background-position: center center;
  }

  .hero-dots {
    bottom: 12px;
  }

  .hero-dots button {
    width: 8px;
    height: 8px;
  }

  .hero-dots button.active {
    width: 18px;
  }
}

@media (max-width: 480px) {
  .hero-track {
    height: 180px;
  }
}

/* Series showcase */
.series-showcase {
  padding: 24px 0 8px;
  background: var(--bg);
}

.series-main {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 16px;
  align-items: stretch;
}

.series-k3 {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: #f5f5f5;
  transition: opacity 0.2s;
}

.series-k3:hover { opacity: 0.92; }

.series-k3 img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.series-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.series-side-item {
  position: relative;
  flex: 1;
  overflow: hidden;
  border-radius: var(--radius);
  background: #f5f5f5;
  min-height: 84px;
  transition: opacity 0.2s;
}

.series-side-item:hover { opacity: 0.92; color: inherit; }

.series-side-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.series-side-item span {
  position: absolute;
  left: 16px;
  bottom: 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* About block */
.about-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-text p {
  color: var(--text-muted);
  line-height: 1.9;
  font-size: 15px;
  margin-bottom: 28px;
}

.about-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-media img {
  width: 100%;
  height: auto;
  display: block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 24px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-primary { background: var(--primary); color: #fff; border-radius: 20px; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }

.btn-outline {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: 20px;
}

.btn-outline:hover { background: var(--primary); color: #fff; }

.btn-sm { padding: 6px 14px; font-size: 13px; }

/* Section */
.section { padding: 60px 0; }
.section-gray { background: var(--bg-gray); }

.section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 48px;
  color: var(--text);
  letter-spacing: 0.02em;
}

.section-title::after { display: none; }

/* Product cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.product-card {
  background: var(--bg);
  border: none;
  border-radius: 0;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  text-align: center;
}

.product-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

.product-card-img {
  height: 200px;
  background: #f9f9f9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: hidden;
}

.product-card-img img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  margin: 0 auto;
}

.product-card-body { padding: 16px 12px 24px; }
.product-card-body h3 { font-size: 15px; margin-bottom: 8px; font-weight: 500; }
.product-card-body p { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; display: none; }

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item h3 {
  font-size: 42px;
  color: var(--primary);
  font-weight: 700;
  line-height: 1.2;
}

.stat-item p { font-size: 14px; color: var(--text-muted); margin-top: 8px; }

.stats-grid .stat-item + .stat-item {
  border-left: 1px solid var(--border);
}

/* News list */

.news-page-section {
  padding: 0;
  background: #fff;
}

.news {
  width: 1200px;
  max-width: 100%;
  padding: 30px 16px 50px;
  margin: 0 auto;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.news > .left {
  flex: 1;
  min-width: 0;
  max-width: 856px;
}

.news .news-list {
  border-bottom: 1px solid #efefef;
  padding: 30px 15px 30px 0;
  display: flex;
  align-items: flex-start;
}

.news .news-list:first-child {
  padding-top: 0;
}

.news .news-list .l-img {
  width: 250px;
  height: 140px;
  margin-right: 24px;
  flex-shrink: 0;
  overflow: hidden;
  display: block;
  background: #f5f5f5;
}

.news .news-list .l-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news .news-list .r-list {
  flex: 1;
  min-width: 0;
  padding: 4px 0;
  font-size: 14px;
  color: #777;
  overflow: hidden;
}

.news .news-list .r-list h4 {
  font-size: 18px;
  font-weight: 400;
  color: #333;
  margin: 0;
  line-height: 1.4;
}

.news .news-list .r-list h4 a {
  color: #333;
}

.news .news-list .r-list h4 a:hover {
  color: #f60;
}

.news .news-list .r-list > p {
  margin: 10px 0 15px;
  color: #777;
  font-size: 14px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news .news-list .other {
  width: 100%;
  height: 20px;
  margin-top: 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.news .news-list .other span {
  color: #777;
  font-size: 14px;
}

.news .news-list .other ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.news .news-list .other li {
  margin-left: 30px;
}

.news .news-list .other img {
  vertical-align: middle;
  margin-right: 8px;
  width: 16px;
  height: 16px;
}

.news .news-list .other li a {
  font-size: 14px;
  color: #777;
}

.news .news-list .other .news-views {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.news .news-list .other .news-views-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  background: center / contain no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M1.5 8s2.5-4.5 6.5-4.5S14.5 8 14.5 8s-2.5 4.5-6.5 4.5S1.5 8 1.5 8z' stroke='%23777777' stroke-width='1.2'/%3E%3Ccircle cx='8' cy='8' r='2' stroke='%23777777' stroke-width='1.2'/%3E%3C/svg%3E");
}

.news > .right {
  width: 280px;
  flex-shrink: 0;
  background-color: #fbfbfb;
  padding: 18px;
  box-sizing: border-box;
}

.news > .right h4 {
  color: #333;
  font-size: 20px;
  font-weight: 400;
  margin: 0;
  padding-bottom: 18px;
  border-bottom: 2px solid #efefef;
}

.news > .right ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.news > .right li {
  padding: 30px 0 25px;
  border-bottom: 1px solid #efefef;
}

.news > .right li:last-child {
  border-bottom: none;
}

.news > .right li a {
  color: #555;
  font-size: 15px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news > .right li a:hover {
  color: #f60;
}

.news > .right li p {
  color: #888;
  margin: 20px 0 0;
  font-size: 12px;
}

.news .pagination-wrap {
  padding-top: 30px;
}

/* News banner */

.newsBanner-wrap {
  width: 100%;
}

.newsBanner {
  position: relative;
}

.newsBanner .img-box {
  max-width: 100%;
  height: 332px;
  background: #1a2332 url('../images/news/bg.jpg') center center / cover no-repeat;
}

.newsBanner .flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.newsBanner .banner_title {
  color: #fff;
  font-size: 24px;
  margin: 0;
  font-weight: 400;
}

.newsBanner .banner_desc {
  color: #fff;
  font-size: 16px;
  margin: 20px 0 0;
}

@media (max-width: 1240px) {
  .news {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 900px) {
  .news {
    flex-direction: column;
  }

  .news > .left,
  .news > .right {
    width: 100%;
    max-width: none;
  }

  .news .news-list {
    flex-direction: column;
  }

  .news .news-list .l-img {
    width: 100%;
    height: 180px;
    margin-right: 0;
    margin-bottom: 16px;
  }

  .newsBanner .img-box {
    height: 220px;
    padding: 0 20px;
  }
}

/* Legacy card grid (homepage etc.) */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.news-card {
  border: none;
  border-radius: 0;
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
  background: var(--bg);
}

.news-card:hover { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1); transform: translateY(-2px); }

.news-card-img {
  height: 180px;
  background: #eee;
  overflow: hidden;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card-body { padding: 16px; }
.news-card-body h3 { font-size: 15px; line-height: 1.5; margin-bottom: 8px; }
.news-card-meta { font-size: 12px; color: var(--text-light); }

/* Page header */
.page-header {
  background: var(--bg-gray);
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}

.page-header h1 { font-size: 28px; margin-bottom: 8px; }
.page-header p { color: var(--text-muted); }

.page-header-banner {
  background-color: #1a2332;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  padding: 56px 0;
  min-height: 220px;
  border-bottom: none;
  position: relative;
}

.page-header-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.page-header-banner > .container {
  position: relative;
  z-index: 1;
}

.page-header-banner h1 { color: #fff; }
.page-header-banner p { color: rgba(255, 255, 255, 0.88); }
.page-header-banner .breadcrumb,
.page-header-banner .breadcrumb a { color: rgba(255, 255, 255, 0.75); }

.breadcrumb {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 12px;
}

.breadcrumb a { color: var(--text-muted); }

/* Product selection page */
.product-selection {
  padding-bottom: 60px;
  background: #f5f5f5;
}

.product-selection-search-wrap {
  padding: 24px 0 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.product-selection-search {
  position: relative;
  flex: 1;
  min-width: 240px;
  max-width: 420px;
}

.product-search-input {
  width: 100%;
  padding: 10px 36px 10px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 14px;
  background: #fff;
}

.product-search-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-light);
}

.product-hot-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.product-hot-label { color: var(--text-muted); }
.product-hot-badge {
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 3px;
}

.product-hot-item {
  color: var(--text-muted);
  padding: 4px 8px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 4px;
}

.product-hot-item:hover { color: var(--primary); border-color: var(--primary); }

.product-selected-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 16px;
}

.product-selected-label { font-size: 13px; color: var(--text-muted); }
.product-selected-tags { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; }
.product-selected-tag {
  font-size: 12px;
  padding: 4px 10px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 4px;
}

.product-reset-btn {
  border: none;
  background: none;
  color: var(--primary);
  font-size: 13px;
  cursor: pointer;
}

.product-selection-body {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  align-items: start;
}

.product-menu {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  position: sticky;
  top: calc(var(--header-h) + var(--topbar-h) + 16px);
}

.product-menu-cats { border-bottom: 1px solid var(--border); }

.product-menu-cat {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 16px;
  border: none;
  background: #fff;
  font-size: 14px;
  cursor: pointer;
  border-left: 3px solid transparent;
}

.product-menu-cat:hover { background: #fafafa; }
.product-menu-cat.active {
  color: var(--primary);
  border-left-color: var(--primary);
  background: var(--primary-light);
  font-weight: 600;
}

.product-menu-series { padding: 8px 0; }

.product-menu-series-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 8px 16px 8px 24px;
  border: none;
  background: none;
  font-size: 13px;
  color: var(--text-muted);
  cursor: pointer;
}

.product-menu-series-item:hover,
.product-menu-series-item.active {
  color: var(--primary);
  background: #fafafa;
}

.product-selection-main { min-width: 0; }

.product-filters {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-bottom: 16px;
}

.product-filter-row {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}

.product-filter-row:last-child { border-bottom: none; }

.product-filter-label {
  width: 72px;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  padding-top: 6px;
}

.product-filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
}

.product-filter-opt {
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #fff;
  font-size: 12px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.product-filter-opt img { max-height: 24px; }
.product-filter-opt:hover,
.product-filter-opt.active {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.product-result-count {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.product-group { margin-bottom: 24px; }

.product-group-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  padding-left: 8px;
  border-left: 3px solid var(--primary);
}

.product-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }

.product-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  min-width: 1200px;
}

.product-table-full th,
.product-table-full td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: middle;
}

.product-table th { background: #fafafa; font-weight: 600; white-space: nowrap; }
.product-table tr:hover td { background: #fafafa; }

.product-cell-name {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--text);
  min-width: 100px;
}

.product-cell-name img {
  max-height: 64px;
  max-width: 100px;
  object-fit: contain;
}

.product-cell-name span {
  color: var(--primary);
  font-weight: 600;
  text-align: center;
}

.product-cell-actions {
  display: flex;
  flex-direction: column;
  gap: 4px;
  white-space: nowrap;
}

.product-cell-actions a { color: var(--primary); font-size: 12px; }
.product-wiki-disabled { color: var(--text-light); font-size: 12px; cursor: not-allowed; }
.product-buy-link { color: var(--primary); font-weight: 600; }
.product-empty { padding: 40px; text-align: center; color: var(--text-muted); }

/* Product detail page */
/* .product-detail-page { background: #0a0a14; } */

.pd-cover {
  background: linear-gradient(135deg, #0a0a14 0%, #121228 50%, #1a1a35 100%);
  color: #fff;
  padding: 48px 0 56px;
}

.pd-cover-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.pd-title { font-size: 32px; font-weight: 500; margin-bottom: 12px; line-height: 1.3; }
.pd-subtitle { font-size: 18px; font-weight: 400; color: rgba(255,255,255,0.85); margin-bottom: 20px; }
.pd-bullets p { font-size: 15px; line-height: 1.9; color: rgba(255,255,255,0.9); margin: 0; }

.pd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.pd-action-btn {
  padding: 10px 20px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 4px;
  color: #fff;
  font-size: 14px;
}

.pd-action-btn:hover:not(.disabled) {
  border-color: var(--primary);
  background: rgba(255,102,0,0.15);
}

.pd-action-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pd-cover-right { text-align: center; }

.pd-cover-img {
  max-width: 100%;
  max-height: 360px;
  object-fit: contain;
}

.pd-os-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}

.pd-os-item {
  text-align: center;
  color: #fff;
  font-size: 12px;
}

.pd-os-item img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
  margin: 0 auto 6px;
}

.pd-sticky-nav {
  position: sticky;
  top: calc(var(--header-h) + var(--topbar-h));
  z-index: 100;
  background: rgba(10,10,20,0.95);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
}

.pd-sticky-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 12px 0;
  color: #fff;
}

.pd-sticky-name { font-size: 16px; white-space: nowrap; }
.pd-sticky-tabs { display: flex; flex-wrap: wrap; gap: 20px; flex: 1; }
.pd-sticky-tabs a { color: rgba(255,255,255,0.75); font-size: 14px; }
.pd-sticky-tabs a:hover { color: #fff; }

.pd-buy-btn {
  padding: 8px 20px;
  background: var(--primary);
  color: #fff;
  border-radius: 4px;
  font-size: 14px;
  white-space: nowrap;
}

.pd-sections { background: #0a0a14; }

.pd-intro {
  position: relative;
  background: #0a0a14 center/cover no-repeat;
  padding: 60px 0;
  color: #fff;
}

.pd-intro-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,10,20,0.75);
}

.pd-intro-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}

.pd-intro-inner h2 { font-size: 24px; margin-bottom: 16px; font-weight: 500; }
.pd-intro-inner > p { max-width: 800px; margin: 0 auto 32px; line-height: 1.9; color: rgba(255,255,255,0.85); }

.pd-intro-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.pd-intro-item {
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 20px 12px;
}

.pd-intro-item img { width: 48px; height: 48px; object-fit: contain; margin-bottom: 12px; }
.pd-intro-item h4 { font-size: 13px; font-weight: 500; margin-bottom: 8px; }
.pd-intro-item-desc { font-size: 12px; color: rgba(255,255,255,0.65); line-height: 1.6; display: none; }

.pd-banner-block {
  position: relative;
  background: #0a0a14;
  padding: 48px 0;
  text-align: center;
  color: #fff;
}

.pd-banner-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
  margin-bottom: 24px;
}

.pd-banner-text h2 { font-size: 22px; margin-bottom: 12px; }
.pd-banner-text p { max-width: 900px; margin: 0 auto; line-height: 1.8; color: rgba(255,255,255,0.85); }

.pd-html-block {
  background: #fff;
  color: var(--text);
  padding: 40px 0;
}

.pd-html-block img { max-width: 100%; height: auto; }

.pd-fallback {
  background: #fff;
  padding: 48px 0 60px;
}

.pd-fallback h2 { margin-bottom: 16px; }
.pd-spec-fallback { list-style: none; margin: 24px 0; }
.pd-spec-fallback li {
  display: flex;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.pd-spec-fallback li span:first-child { width: 100px; color: var(--text-muted); }

.filter-panel {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  height: fit-content;
  position: sticky;
  top: calc(var(--header-h) + var(--topbar-h) + 16px);
}

.filter-group { margin-bottom: 20px; }
.filter-group h4 { font-size: 13px; font-weight: 600; margin-bottom: 10px; color: var(--text); }

.filter-tags { display: flex; flex-wrap: wrap; gap: 6px; }

.filter-tag {
  padding: 4px 10px;
  font-size: 12px;
  border: 1px solid var(--border);
  border-radius: 4px;
  cursor: pointer;
  background: var(--bg);
  transition: all 0.15s;
}

.filter-tag:hover,
.filter-tag.active {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.category-tab {
  padding: 6px 16px;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 13px;
  cursor: pointer;
  background: var(--bg);
}

.category-tab.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.product-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }

.product-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  min-width: 900px;
}

.product-table th,
.product-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: middle;
}

.product-table th { background: var(--bg-gray); font-weight: 600; white-space: nowrap; }
.product-table tr:hover td { background: #fafafa; }
.product-table .product-name { color: var(--primary); font-weight: 600; }

.table-actions { display: flex; gap: 8px; }
.table-actions a { color: var(--primary); font-size: 12px; }

.result-count { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }

/* Compare page */
.compare-bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--primary-light);
  border-radius: var(--radius);
  margin-bottom: 24px;
}

.compare-table th:first-child { width: 140px; background: var(--bg-gray); }

/* Detail page */
.detail-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 40px 0;
}

.detail-gallery {
  aspect-ratio: 4/3;
  background: #f9f9f9;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  overflow: hidden;
}

.detail-gallery img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.detail-info h1 { font-size: 28px; margin-bottom: 12px; }
.detail-info .summary { color: var(--text-muted); margin-bottom: 20px; line-height: 1.8; }

.spec-list { list-style: none; margin-bottom: 24px; }
.spec-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  font-size: 14px;
}
.spec-list li span:first-child { width: 100px; color: var(--text-muted); flex-shrink: 0; }

.feature-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.feature-tag {
  padding: 4px 12px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 4px;
  font-size: 13px;
}

.detail-content { padding: 40px 0; border-top: 1px solid var(--border); }
.detail-content h2 { font-size: 20px; margin-bottom: 16px; }

/* About page */
.about-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  position: sticky;
  top: calc(var(--header-h) + var(--topbar-h));
  background: var(--bg);
  padding: 12px 0;
  z-index: 10;
  border-bottom: 1px solid var(--border);
}

.about-nav a {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  border: 1px solid var(--border);
}

.about-nav a:hover,
.about-nav a.active { background: var(--primary); color: #fff; border-color: var(--primary); }

.about-section { padding: 40px 0; border-bottom: 1px solid var(--border); }
.about-section h2 { font-size: 22px; margin-bottom: 16px; color: var(--primary); }
.about-section p { color: var(--text-muted); line-height: 1.8; margin-bottom: 12px; }

.timeline { margin-top: 24px; }
.timeline-item {
  display: flex;
  gap: 20px;
  padding: 16px 0;
  border-left: 2px solid var(--primary);
  margin-left: 40px;
  padding-left: 24px;
  position: relative;
}

.timeline-item::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 50%;
  position: absolute;
  left: -6px;
  top: 22px;
}

.timeline-year { font-weight: 700; color: var(--primary); min-width: 48px; }

/* Form */
.form-section {
  background: var(--bg-gray) url('/assets/images/custom-bg.jpg') center/cover no-repeat;
  padding: 60px 0;
  position: relative;
}

.form-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.92);
}

.form-section > .container {
  position: relative;
  z-index: 1;
}

.form-section .section-title {
  margin-bottom: 16px;
}

.zhiyu-inquiry-subtitle {
  text-align: center;
  color: var(--text-muted, #666);
  font-size: 14px;
  line-height: 1.6;
  max-width: 640px;
  margin: 0 auto 32px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 640px;
  margin: 0 auto;
}

.form-grid .full { grid-column: 1 / -1; }

.form-group label { display: block; font-size: 13px; margin-bottom: 4px; color: var(--text-muted); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: inherit;
}

.form-group textarea { min-height: 100px; resize: vertical; }

/* Solution / case cards */
.case-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.case-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: box-shadow 0.2s;
}

.case-card:hover { box-shadow: var(--shadow); }
.case-card h3 { font-size: 16px; margin-bottom: 8px; }
.case-card p { font-size: 13px; color: var(--text-muted); }

.article-content { max-width: 800px; margin: 0 auto; padding: 40px 0; line-height: 1.8; }
.article-content h1 { font-size: 26px; margin-bottom: 16px; }
.article-meta { color: var(--text-light); font-size: 13px; margin-bottom: 24px; }

/* Download table */
.download-table { width: 100%; border-collapse: collapse; }
.download-table th,
.download-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); text-align: left; }
.download-table th { background: var(--bg-gray); font-weight: 600; }

/* Wiki page */
.body-white { background: #fff; }

.wiki-container {
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 15px;
}

.wiki-banner {
  background: linear-gradient(135deg, #1a2332 0%, #2d4a6e 100%) center / cover no-repeat;
  background-size: cover;
  height: 256px;
}

.wiki-banner-wrap {
  height: 100%;
  box-sizing: border-box;
  position: relative;
  color: #fff;
  display: flex;
  align-items: center;
  padding: 0 5%;
}

.wiki-banner-info h1 {
  margin: 0 0 20px;
  font-size: 26px;
  font-weight: 400;
}

.wiki-banner-info h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 400;
}

.wiki-toolbar {
  border-bottom: 1px solid var(--border);
  background: #fafafa;
}

.wiki-toolbar-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 48px;
}

.wiki-nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #fff;
  color: #555;
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.wiki-nav-toggle:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.wiki-toolbar-tip {
  font-size: 13px;
  color: var(--text-light);
}

.wiki-nav-panel {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1500;
}

.wiki-nav-panel.open { display: block; }

.wiki-nav-panel-inner {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 90vw);
  height: 100%;
  background: rgba(250, 250, 250, 0.98);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
}

.wiki-nav-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: inherit;
}

.wiki-nav-close {
  background: none;
  border: none;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: #999;
}

.wiki-nav {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
}

.wiki-nav-item {
  display: block;
  padding: 14px 20px;
  font-size: 14px;
  color: #303133;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.15s, color 0.15s;
}

.wiki-nav-item:hover {
  background: rgba(199, 199, 199, 0.3);
  color: var(--primary);
}

.wiki-products {
  margin-top: 40px;
  padding-bottom: 50px;
}

.wiki-container-products {
  padding-bottom: 50px;
}

.wiki-section {
  margin-bottom: 20px;
}

.wiki-products-item-title {
  margin-bottom: 10px;
  height: 42px;
  line-height: 42px;
  background-color: #555;
  color: #fff;
  text-align: left;
  padding-left: 20px;
  border-radius: 5px;
  font-size: 14px;
}

.wiki-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-left: 1px solid #eaeaea;
  border-top: 1px solid #eaeaea;
}

.wiki-col {
  position: relative;
  min-height: 98px;
  padding: 0 15px;
  border-right: 1px solid #eaeaea;
  border-bottom: 1px solid #eaeaea;
  box-sizing: border-box;
  transition: box-shadow 0.15s ease;
}

.wiki-col a {
  display: block;
  height: 100%;
  color: inherit;
}

.wiki-col:hover {
  box-shadow: 0 0 38px rgba(255, 102, 0, 0.2) inset;
  z-index: 1;
}

.wiki-col:hover .wiki-product-title {
  color: var(--primary);
}

.wiki-product-title,
.wiki-product-desc {
  text-align: center;
}

.wiki-product-title {
  color: #555;
  font-size: 18px;
  margin: 14px 0 8px;
  line-height: 1.3;
}

.wiki-product-desc {
  color: #7e8c8d;
  font-size: 13px;
  margin: 0 8px 14px;
  line-height: 1.5;
}

.wiki-loading,
.wiki-error {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

@media (max-width: 992px) {
  .wiki-row { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .wiki-row { grid-template-columns: repeat(2, 1fr); }
  .wiki-banner { height: 180px; }
  .wiki-banner-info h1 { font-size: 22px; margin-bottom: 12px; }
  .wiki-banner-info h3 { font-size: 15px; }
  .wiki-toolbar-tip { display: none; }
  .wiki-product-title { font-size: 15px; margin-top: 10px; }
}

@media (max-width: 480px) {
  .wiki-row { grid-template-columns: 1fr; }
}

/* Solution pages */
.solution-banner {
  background: url('../images/solution-banner.png') center no-repeat;
  background-size: cover;
  color: #fff;
  padding: 56px 0;
  min-height: 332px;
  position: relative;
  overflow: hidden;
}

.solution-banner-category {
  padding: 56px 0;
  min-height: 257px;
  height: auto;
  background-size: cover;
  background-position: center;
}

.solution-banner-hard {
  background-image: url('../images/solution-banner.png');
}

.solution-banner-ai {
  background-image: url('../images/solution-ai-banner.jpg');
}

.solution-banner-category .solution-banner-inner {
  display: block;
}

.solution-banner-category[data-custom-banner="1"] {
  background-size: cover;
  background-position: center;
}

.solution-banner-inner {
  position: relative;
  z-index: 1;
}

.solution-banner h1 {
  font-size: 32px;
  font-weight: 400;
  margin-bottom: 16px;
}

.solution-banner p {
  font-size: 15px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.9);
  max-width: 640px;
}

.solution-page-wrap {
  padding: 40px 0 60px;
}

.solution-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  align-items: start;
}

.solution-layout-list {
  grid-template-columns: 1fr 220px;
}

.solution-sidebar {
  background: #fafafa;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  position: sticky;
  top: calc(var(--header-h) + var(--topbar-h) + 16px);
}

.solution-sidebar-head {
  background: #555;
  color: #fff;
  padding: 14px 16px;
  font-size: 15px;
}

.solution-sidebar-head a {
  color: #fff;
}

.solution-sidebar-head a:hover {
  color: #fff;
  opacity: 0.9;
}

.solution-sidebar-group {
  border-bottom: 1px solid var(--border);
}

.solution-sidebar-cat {
  width: 100%;
  text-align: left;
  padding: 12px 16px;
  background: #fff;
  border: none;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text);
}

.solution-sidebar-cat:hover {
  background: #f5f5f5;
}

.solution-sidebar-links {
  display: none;
  padding: 4px 0 12px;
}

.solution-sidebar-group.open .solution-sidebar-links {
  display: block;
}

.solution-sidebar-link {
  display: block;
  padding: 8px 16px 8px 28px;
  font-size: 13px;
  color: var(--text-muted);
  border-left: 2px solid transparent;
}

.solution-sidebar-link:hover,
.solution-sidebar-link.active {
  color: var(--primary);
  border-left-color: var(--primary);
  background: var(--primary-light);
}

.solution-sidebar-more {
  color: var(--primary);
  font-weight: 500;
}

.solution-hub-grids {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.solution-grid-block {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.solution-grid-title {
  background: #555;
  color: #fff;
  padding: 12px 20px;
  font-size: 14px;
}

.solution-grid-links {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  max-height: 280px;
  padding: 8px 0;
  background: #fff;
}

.solution-grid-link {
  padding: 8px 20px;
  font-size: 14px;
  color: var(--text);
}

.solution-grid-link:hover {
  color: var(--primary);
  background: #fafafa;
}

.solution-grid-more {
  color: var(--primary);
  font-weight: 500;
}

.solution-case-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.solution-case-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid #efefef;
  text-align: left;
}

.solution-case-thumb {
  flex-shrink: 0;
  width: 250px;
  height: 140px;
  overflow: hidden;
  background: #f5f5f5;
  border-radius: 0;
}

.solution-case-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.solution-case-body {
  flex: 1;
  min-width: 0;
  padding: 4px 0;
  text-align: left;
  font-size: 14px;
  color: #777;
  overflow: hidden;
}

.solution-case-body h4 {
  font-size: 18px;
  font-weight: 400;
  color: #333;
  margin: 0 0 8px;
  line-height: 1.4;
  text-align: left;
}

.solution-case-body h4 a {
  color: #333;
}

.solution-case-body h4 a:hover {
  color: #f60;
}

.solution-case-body > p {
  margin: 0 0 10px;
  color: #777;
  font-size: 14px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: left;
}

.solution-case-body > p:empty {
  display: none;
  margin: 0;
}

.solution-case-tag {
  margin: 0 0 8px;
  text-align: left;
}

.solution-case-tag span {
  display: inline-block;
  padding: 2px 10px;
  font-size: 12px;
  line-height: 1.5;
  color: #0d8a72;
  background: #e8f7f4;
  border-radius: 2px;
}

.solution-case-meta {
  display: flex;
  gap: 16px;
  margin-top: 5px;
  font-size: 14px;
  color: #777;
  text-align: left;
}

.solution-hot {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  position: sticky;
  top: calc(var(--header-h) + var(--topbar-h) + 16px);
}

.solution-hot h5 {
  font-size: 15px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.solution-hot ul {
  list-style: none;
}

.solution-hot li {
  margin-bottom: 10px;
}

.solution-hot a {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.solution-hot a:hover {
  color: var(--primary);
}

.solution-hot-empty {
  font-size: 13px;
  color: var(--text-light);
}

.solution-article {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 40px;
}

.solution-article-head {
  text-align: center;
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.solution-article-head h1 {
  font-size: 24px;
  margin-bottom: 12px;
}

.solution-article-date {
  font-size: 13px;
  color: var(--text-light);
}

.solution-article-body {
  line-height: 1.9;
  font-size: 14px;
  color: var(--text-muted);
}

.solution-article-body img {
  max-width: 100%;
  height: auto;
  margin: 16px auto;
}

.solution-article-body p {
  margin-bottom: 12px;
}

.solution-loading {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
}

@media (max-width: 992px) {
  .solution-layout,
  .solution-layout-list {
    grid-template-columns: 1fr;
  }
  .solution-sidebar,
  .solution-hot {
    position: static;
  }
  .solution-hub-grids {
    grid-template-columns: 1fr;
  }
  .solution-grid-links {
    max-height: none;
  }
  .solution-case-item {
    flex-direction: column;
  }
  .solution-case-thumb {
    width: 100%;
    height: 180px;
  }
}

/* Footer */
.site-footer {
  background: #2c2c2c;
  color: #aaa;
  padding: 48px 0 24px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(var(--footer-cols, 4), 1fr);
  gap: 32px;
  margin-bottom: 32px;
}

.footer-col h5 {
  color: #fff;
  font-size: 14px;
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; font-size: 13px; }
.footer-col a:hover { color: var(--primary); }

.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 20px;
  text-align: center;
  font-size: 12px;
}

.footer-bottom__sep {
  margin: 0 8px;
  opacity: 0.55;
}

.footer-bottom__beian {
  color: inherit;
  text-decoration: none;
}

.footer-bottom__beian:hover {
  color: var(--primary);
  text-decoration: underline;
}

/* Floating widgets */
.float-widgets {
  position: fixed;
  right: 12px;
  bottom: 100px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.float-btn {
  width: 48px;
  height: 48px;
  border-radius: 0;
  background: #fff;
  color: #666;
  border: none;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  font-size: 20px;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, background 0.2s;
}

.float-btn:last-child { border-bottom: none; }
.float-btn:hover { transform: none; color: var(--primary); background: #fafafa; }

.float-btn img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}

/* Modal */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  align-items: center;
  justify-content: center;
}

.modal-overlay.open { display: flex; }

.modal {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 32px;
  max-width: 480px;
  width: 90%;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-light);
}

.modal h3 { margin-bottom: 16px; }

/* Responsive */
@media (max-width: 992px) {
  .pd-cover-inner { grid-template-columns: 1fr; }
  .pd-intro-grid { grid-template-columns: repeat(2, 1fr); }
  .product-selection-body { grid-template-columns: 1fr; }
  .product-menu { position: static; }
  .detail-hero { grid-template-columns: 1fr; }
  .filter-panel { position: static; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid .stat-item:nth-child(odd) { border-left: none; }
  .stats-grid .stat-item:nth-child(n+3) { border-top: 1px solid var(--border); padding-top: 16px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .series-main { grid-template-columns: 1fr; }
  .series-side { flex-direction: row; }
  .series-side-item { min-height: 120px; }
  .about-block { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .menu-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 16px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .series-side { flex-direction: column; }
}

/* ---- Download page v2 ---- */
.download-page { background: var(--bg); }
.download-hero {
  position: relative;
  height: 257px;
  min-height: 257px;
  background: #1a2a4a url('../images/download/download_banner.jpg') center center no-repeat;
  background-size: cover;
  color: #fff;
}
.download-hero__inner {
  position: relative;
  z-index: 1;
  height: 100%;
  box-sizing: border-box;
  padding: 0 20px 0 153px;
}
.download-hero h1,
.download-hero .banner_title {
  font-size: 26px;
  font-weight: 400;
  margin: 85px 0 0;
  line-height: 1.4;
  color: #fff;
}
.download-hero p,
.download-hero .banner_desc {
  margin: 23px 0 0;
  max-width: 720px;
  font-size: 16px;
  line-height: 1.4;
  color: #fff;
}

.download-body {
  background: var(--bg-gray);
  padding: 28px 0 64px;
}
.download-layout {
  display: flex;
  align-items: flex-start;
  gap: 24px;
}
.download-sidebar {
  width: 260px;
  flex: 0 0 260px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.download-sidebar__title {
  padding: 14px 18px;
  background: #f2f3f5;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.download-nav__l1 + .download-nav__l1,
.download-nav__l2 + .download-nav__l2 { border-top: 1px solid #f0f0f0; }
.download-nav__toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border: 0;
  background: transparent;
  text-align: left;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text);
  line-height: 1.4;
}
.download-nav__toggle--sub {
  font-weight: 500;
  padding-left: 28px;
  font-size: 13px;
}
.download-nav__toggle::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid #999;
  margin-left: 8px;
  flex-shrink: 0;
  transition: transform .15s ease;
}
.download-nav__toggle[aria-expanded="false"]::after {
  transform: rotate(-90deg);
}
.download-nav__body.is-collapsed,
.download-nav__products.is-collapsed { display: none; }
.download-nav__products {
  list-style: none;
  margin: 0;
  padding: 0 0 10px;
}
.download-nav__product {
  display: block;
  padding: 8px 18px 8px 40px;
  color: #666;
  font-size: 13px;
  line-height: 1.4;
  text-decoration: none;
}
.download-nav__product:hover,
.download-nav__product.is-active {
  color: var(--primary);
  font-weight: 600;
}

.download-main {
  flex: 1 1 auto;
  min-width: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 24px 28px 32px;
}

.download-product {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding-bottom: 24px;
  margin-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.download-product__media {
  width: 140px;
  height: 110px;
  flex: 0 0 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fafafa;
  border: 1px solid #eee;
}
.download-product__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.download-product__img.is-broken { display: none; }
.download-product__placeholder {
  font-size: 12px;
  color: #bbb;
  padding: 8px;
  text-align: center;
  word-break: break-all;
}
.download-product__info { flex: 1 1 auto; min-width: 0; }
.download-product__name {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.3;
}
.download-product__summary {
  margin: 0 0 16px;
  color: var(--text-muted);
  line-height: 1.7;
  font-size: 14px;
}
.download-product__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.download-product__actions .is-disabled {
  opacity: .45;
  pointer-events: none;
}

.download-group { margin-top: 28px; }
.download-group__title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.download-group__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.download-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  padding: 16px 18px;
  border: 1px solid var(--border);
  background: #fff;
  box-sizing: border-box;
}
.download-item__body {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}
.download-item__name {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #2563eb;
  margin: 0 0 6px;
  text-decoration: none;
  word-break: break-word;
}
.download-item__name:hover { color: var(--primary); }
.download-item__desc {
  margin: 0 0 6px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  word-break: break-word;
}
.download-item__meta {
  margin: 0;
  font-size: 12px;
  color: #999;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.download-item__btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  height: 32px;
  padding: 0 14px;
  font-size: 13px;
  color: var(--primary);
  border: 1px solid var(--primary);
  border-radius: 2px;
  text-decoration: none;
  white-space: nowrap;
  background: #fff;
  box-sizing: border-box;
}
.download-item__btn:hover {
  background: var(--primary);
  color: #fff;
}
.download-item__btn.is-disabled {
  opacity: .45;
  border-color: var(--border);
  color: #999;
  pointer-events: none;
}

.download-empty {
  color: var(--text-muted);
  padding: 40px 16px;
  text-align: center;
  margin: 0;
}
.download-empty--nav { padding: 20px 16px; font-size: 13px; }

@media (max-width: 900px) {
  .download-layout { flex-direction: column; }
  .download-sidebar {
    width: 100%;
    flex: none;
  }
  .download-group__list { grid-template-columns: 1fr; }
  .download-hero {
    height: 200px;
    min-height: 200px;
  }
  .download-hero__inner {
    padding: 0 20px;
  }
  .download-hero h1,
  .download-hero .banner_title {
    margin-top: 56px;
    font-size: 24px;
  }
  .download-hero p,
  .download-hero .banner_desc {
    margin-top: 16px;
    font-size: 15px;
  }
  .download-main { padding: 20px 16px 28px; }
  .download-product { flex-direction: column; gap: 16px; }
  .download-product__media { width: 100%; height: 140px; flex: none; }
}
