.home h1 { font-size: 28px; margin-bottom: 8px; }
.home p { color: var(--color-text-secondary); }


/* 产品详情页 */
.product-detail { margin-left: -16px; margin-right: -16px; padding: 24px 0; background: #2b353e; color: #e5e7eb; }
.detail__top { display: flex; justify-content: space-between; align-items: center; padding: 8px 16px 16px; }
.detail__crumbs { color: #9ca3af; }
.detail__crumbs a { color: #e5e7eb; text-decoration: none; }
.detail__crumbs span { margin: 0 6px; color: #6b7280; }
.detail__actions { display: inline-flex; align-items: center; gap: 12px; }
.detail__link { color: #e5e7eb; text-decoration: none; }
.btn-buy { padding: 8px 12px; background: #facc15; color: #111827; border: none; border-radius: 4px; cursor: pointer; font-weight: 800; }

.detail__main { display: grid; grid-template-columns: 600px 1fr; gap: 40px; padding: 0 16px 16px; }/*产品详情页布局*/
.detail__gallery { display: grid; grid-template-columns: 100px 1fr; gap: 12px; }
.gallery__thumbs-col { display: grid; grid-template-rows: auto 1fr auto; align-items: center; }
.thumbs-nav { background: #1e262d; border: 1px solid #3d4953; color: #e5e7eb; border-radius: 6px; cursor: pointer; padding: 4px; }/*缩略图导航按钮*/
.thumbs-nav:hover { background: #26303a; }
.gallery__thumbs { display: grid; gap: 10px; max-height: 420px; overflow-y: auto; padding: 4px 0; }
.gallery__thumbs img { width: 100%; height: 80px; object-fit: cover; cursor: pointer; border: 2px solid transparent; background: #111827; border-radius: 6px; }
.gallery__thumbs img.is-active { border-color: #facc15; }
.gallery__view { background: #111827; display: flex; align-items: center; justify-content: center; border: 1px solid #3d4953; border-radius: 6px; }
.gallery__img { max-width: 100%; max-height: 420px; display: block; }

.detail__name { margin: 0 0 14px; font-size: 32px; font-weight: 900; color: #ffffff; letter-spacing: .5px; }/*产品详情页标题*颜色/
.detail__kv { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }/*产品详情页表格*/
.detail__kv li { display: grid; grid-template-columns: 140px 1fr; gap: 14px; align-items: baseline; }/*产品详情页表格行*/
.detail__kv span { color: #9ca3af; font-size: 18px; }/*产品详情页表格内容*/
.detail__kv b { color: #ffffff; font-size: 20px; font-weight: 800; }/*产品信息颜色*/
/* 产品列表页布局与样式 */
.catalog { margin-left: -16px; margin-right: -16px; padding: 24px 0; background: #2b353e; }
.catalog__inner { max-width: min(1720px, 96vw); margin: 0 auto; display: grid; grid-template-columns: 260px 1fr; gap: 24px; }
.catalog__sidebar { background: #1e262d; border-right: 1px solid #37424b; padding: 16px; }
.sidebar__title { color: #e5e7eb; font-size: 28px; line-height: 1.1; margin: 0 0 12px; }
.sidebar__nav { color: #d1d5db; }
.cat { list-style: none; margin: 0; padding-left: 0; }
.cat--level1 > li { margin-bottom: 6px; }
.cat__btn { width: 100%; text-align: left; background: transparent; border: none; color: #d1d5db; padding: 8px 10px; cursor: pointer; border-radius: 4px; transition: background .15s, color .15s; }
.cat__btn:hover, .cat__btn.is-active { background: #37424b; color: #facc15; }
/* 不同级别使用不同字号与缩进线，便于层级识别 */
.cat--level1 > li > .cat__btn { font-size: 18px; font-weight: 800; }
.cat--level2 { margin-left: 12px; border-left: 2px solid #37424b; padding-left: 8px; }
.cat--level2 > li > .cat__btn { font-size: 16px; font-weight: 700; }
.cat--level3 { margin-left: 12px; border-left: 2px solid #37424b; padding-left: 8px; }
.cat--level3 > li > .cat__btn { font-size: 15px; }

/* 折叠/展开：默认折叠所有一级下的子级，仅当前 is-open 展开 */
.cat--level1 > li > .cat--level2 { display: none; }
.cat--level1 > li.is-open > .cat--level2 { display: block; }

.catalog__content { min-height: 400px; }
.catalog__toolbar { display: flex; justify-content: flex-end; margin-bottom: 12px; }
.catalog__search { width: 280px; padding: 10px 12px; border: 1px solid #3d4953; background: #202931; color: #e5e7eb; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product-card { background: #1e262d; border: 1px solid #3d4953; border-radius: 8px; overflow: hidden; color: #e5e7eb; display: flex; flex-direction: column; text-decoration: none; }
/* 上图区域：正方形、白底、等比完整显示 */
.product-card__img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; background: #ffffff; display: block; padding: 10px; }
/* 下文案区域：与上图分隔开 */
.product-card__body { padding: 14px 12px; display: grid; gap: 6px; background: #202931; border-top: 1px solid #3d4953; text-align: center; }
.product-card__name { margin: 0; font-size: 14px; font-weight: 700; line-height: 1.5; min-height: 42px; }
.product-card__no { margin: 0; color: #9ca3af; font-size: 12px; }

.pagination { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 16px; }
.page-btn { padding: 8px 12px; background: #facc15; color: #111827; border: none; border-radius: 4px; cursor: pointer; }
.page-info { color: #e5e7eb; }
/* 服务页质保大框与表格样式（简单复用） */
.warranty { background: #ffffff; padding: 24px; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04); }
.warranty__title { margin: 0 0 16px; font-size: 24px; font-weight: 800; color: #111827; }
.warranty__block { background: #f9fafb; border: 1px solid #f0f2f5; border-radius: 8px; padding: 16px; }
.warranty__subtitle { margin: 12px 0 8px; font-size: 18px; font-weight: 700; color: #111827; }
.warranty__table { width: 100%; border-collapse: collapse; background: #fff; margin-bottom: 12px; }
.warranty__table th, .warranty__table td { padding: 10px 12px; border: 1px solid #fadf74; text-align: left; }/*表格边框颜色*/
.warranty__table thead th { background: #f3f4f6; font-weight: 700; }
.warranty__table td:nth-child(1) { width: 28%; }
.warranty__table td:nth-child(2) { width: 36%; }
.warranty__table td:nth-child(3),
.warranty__table td:nth-child(4),
.warranty__table td:nth-child(5),
.warranty__table td:nth-child(6) { white-space: nowrap; }
.warranty__list { margin: 0; padding-left: 18px; color: #374151; }
.warranty__list li { line-height: 1.9; }

/* 首页轮播基础样式 */
.hero { margin-top: 16px; }
.hero.hero--fullbleed { margin-top: 0; }
.hero.hero--fullbleed .slider { border-radius: 0; }
.home > .container.container--narrow .hero.hero--fullbleed { padding-left: 0; padding-right: 0; }
.home > .container.container--narrow { padding-left: 0; padding-right: 0; }
.home { max-width: none; margin: 0; padding: 0; }
.slider { position: relative; overflow: hidden; border-radius: 8px; background: #000; }
.slider__viewport { width: 100%; height: min(56vw, 520px); }
.slider__track { display: flex; transition: transform 400ms ease; height: 100%; }
.slider__slide { position: relative; height: 100%; }
.slider__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slider__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; background: rgba(0,0,0,.35); color: #fff; border: none; width: 40px; height: 40px; border-radius: 999px; cursor: pointer; }
.slider__arrow--prev { left: 12px; }
.slider__arrow--next { right: 12px; }
.slider__dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; gap: 8px; justify-content: center; z-index: 2; }
.slider__dots button { width: 8px; height: 8px; border-radius: 999px; border: none; background: rgba(255,255,255,.5); cursor: pointer; }
.slider__dots button.is-active { background: #fff; }

/* Swiper 全屏尺寸与图片铺满 */
.home .home-swiper { width: 100%; height: 75vh; max-width: 100vw; max-height: 75vh; }
.home .home-swiper .swiper-wrapper { display: flex; width: 100%; height: 100%; }
.home .home-swiper .swiper-slide { position: relative; flex: 0 0 100%; width: 100%; height: 100%; }
.home .home-swiper .swiper-img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* 概况区块（左文右图，左右留白缩小） */
.overview { background: #fff; padding: 64px 0; }
.overview .container--wide { max-width: min(1720px, 96vw); }
.overview__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; }
.overview__title { font-size: 48px; line-height: 1.15; margin-bottom: 18px; }
.overview__text p { color: var(--color-text-secondary); margin: 10px 0; }
.overview__media { width: 100%; display: flex; justify-content: flex-end; }
/* 右侧图片正方形裁切，并在桌面端等比缩小三分之一（≈66.666%） */
.overview__img { width: 66.666%; aspect-ratio: 1 / 1; height: auto; object-fit: cover; border-radius: 12px; display: block; transition: transform .35s ease, box-shadow .35s ease; }
.overview__media:hover .overview__img { transform: scale(1.04); box-shadow: 0 12px 30px rgba(0,0,0,.18); }
.btn.btn--primary, .btn--primary { display: inline-block; margin-top: 12px; background: #e11d48; color: #fff; padding: 10px 18px; border-radius: 6px; text-decoration: none; }
/* 数字样式：去掉卡片背景、红色字体、水平排布 */
.overview__stats { display: grid; grid-template-columns: repeat(3, minmax(120px, 1fr)); gap: 20px; margin-top: 24px; }
.overview__stats .stat { padding: 4px 0; text-align: left; display: flex; align-items: baseline; gap: 4px; }
.overview__stats .stat strong { font-size: 40px; color: #e11d48; font-weight: 800; line-height: 1; }
.overview__stats .stat .stat__plus { font-size: 24px; color: #e11d48; font-weight: 800; }
.overview__stats .stat span { font-size: 12px; color: #6b7280; display: inline-block; margin-left: 6px; }

@media (max-width: 1024px) {
  .overview__grid { grid-template-columns: 1fr; }
  .overview__media { order: -1; }
  .overview__img { width: 100%; }
}

/* 产品区块 */
.products { background: #f7f7f8; color: #1f2937; padding: 64px 0; }
.products .container--wide { max-width: min(1720px, 96vw); }
.products__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; }
.products__text { padding: 8px 0; }
.products__en { font-size: 40px; font-weight: 900; color: #facc15; letter-spacing: 2px; margin: 0 0 6px; font-style: italic; }
.products__title { font-size: 36px; font-weight: 800; margin: 0 0 18px; color: #111827; }
.products__lists { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 36px; margin-top: 12px; }
.products__list { list-style: none; padding: 0; margin: 0; }
.products__list li { position: relative; }
.products__list a { display: inline-flex; align-items: center; gap: 10px; color: #1f2937; text-decoration: none; padding: 8px 0; transition: color .2s, transform .2s; }
.products__list a::before { content: '\2192'; /* → */ color: #9ca3af; transition: color .2s, transform .2s; }
.products__list a:hover { color: #facc15; transform: translateX(4px); }
.products__list a:hover::before { color: #facc15; transform: translateX(2px); }
.products__more { margin-top: 18px; }
.products__media { width: 100%; display: flex; justify-content: flex-end; }
.products__img { width: 66.666%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 12px; display: block; transition: transform .35s ease, box-shadow .35s ease; }
.products__media:hover .products__img { transform: scale(1.04); box-shadow: 0 12px 30px rgba(0,0,0,.18); }

@media (max-width: 1024px) {
  .products__grid { grid-template-columns: 1fr; }
  .products__media { order: -1; }
  .products__img { width: 100%; }
}

/* 新闻区块 */
.news { background: #fff; padding: 64px 0; }
.news .container--wide { max-width: min(1720px, 96vw); }
.news__header { text-align: center; margin-bottom: 24px; }
.news__en { font-size: 40px; font-weight: 900; color: #facc15; letter-spacing: 2px; margin: 0; font-style: italic; }
.news__title { font-size: 32px; font-weight: 800; margin-top: 6px; color: #111827; }
.news__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.news-card { background: #111827; color: #e5e7eb; border-radius: 12px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s ease, transform .25s ease; }
.news-card:hover { box-shadow: 0 14px 38px rgba(0,0,0,.22); transform: translateY(-2px); }
.news-card__img { width: 100%; height: 180px; object-fit: cover; display: block; transition: transform .35s ease; }
.news-card:hover .news-card__img { transform: scale(1.06); }
.news-card__body { padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.news-card__title { font-size: 16px; font-weight: 700; color: #fff; margin: 0; }
.news-card__excerpt { font-size: 13px; color: #cbd5e1; margin: 0; line-height: 1.6; }
.news-card__more { margin-top: auto; align-self: flex-start; color: #facc15; text-decoration: none; font-weight: 700; }

@media (max-width: 1024px) {
  .news__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .news__grid { grid-template-columns: 1fr; }
}

/* 加入我们 CTA */
.join { background: #d90421; color: #fff; padding: 64px 0; text-align: center; }
.join .container--wide { max-width: min(1720px, 96vw); }
.join__title { font-size: 34px; font-weight: 900; letter-spacing: 1px; margin: 0 0 10px; }
.join__desc { color: rgba(255,255,255,.85); margin-bottom: 18px; }
.btn.btn--light { display: inline-block; color: #fff; border: 1px solid rgba(255,255,255,.8); padding: 10px 18px; border-radius: 6px; text-decoration: none; }
.btn.btn--light:hover { background: rgba(255, 255, 255, 0.1); }

/* 品牌栏（Logo 一栏） */
.brand-strip { background: #ffffff; padding: 24px 0; text-align: left; border-top: 1px solid #f0f2f5; border-bottom: 1px solid #f0f2f5; }
.brand-strip__logo { height: 50px; width: auto; display: block; }
/* logo大小*/
@media (max-width: 1024px) {
  .intro__grid, .products__inner { grid-template-columns: 1fr; }
  .news__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .news__grid { grid-template-columns: 1fr; }
  .intro__text h2 { font-size: 32px; }
  .products__text h2 { font-size: 36px; }
}


