﻿:root {
  --bg: #eef2f7;
  --surface: #ffffff;
  --surface-2: #f7f9fd;
  --text: #101820;
  --muted: #576478;
  --line: #d6deea;
  --brand: #0d4ea6;
  --brand-2: #f37c25;
  --shadow: 0 14px 34px rgba(18, 40, 80, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% -10%, rgba(26, 83, 162, 0.08), transparent 42%),
    radial-gradient(circle at 92% 0, rgba(244, 137, 53, 0.09), transparent 36%),
    #edf2f8;
  line-height: 1.6;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(1240px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.72rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  color: #12386f;
}

.brand img {
  width: 118px;
  height: 42px;
  object-fit: contain;
}

.primary-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.45rem;
}

.primary-nav li {
  position: relative;
}

.primary-nav li > ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 0.45rem;
  flex-direction: column;
}

.primary-nav li:hover > ul {
  display: flex;
}

.primary-nav a {
  display: inline-block;
  padding: 0.48rem 0.62rem;
  border-radius: 8px;
  color: #1b3c66;
  font-weight: 500;
}

.primary-nav a.active,
.primary-nav a:hover {
  background: #eaf2ff;
  text-decoration: none;
}

.admin-entry {
  padding: 0.46rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: #173967;
  font-weight: 600;
}

.breadcrumbs {
  background: #f1f5fb;
  border-bottom: 1px solid var(--line);
}

.breadcrumbs ol {
  margin: 0;
  padding: 0.68rem 0;
  list-style: none;
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  color: var(--muted);
}

.breadcrumbs li::after {
  content: "/";
  margin-left: 0.45rem;
}

.breadcrumbs li:last-child::after {
  content: "";
}

.home-main {
  overflow: hidden;
}

.section {
  padding: 2.1rem 0;
}

.section.alt {
  background: #f6f8fd;
  border-top: 1px solid #e1e8f3;
  border-bottom: 1px solid #e1e8f3;
}

.home-intro {
  background: linear-gradient(160deg, #f9fcff, #f1f6fd);
  border-bottom: 1px solid #dde6f2;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 1.2rem;
  align-items: center;
}

.intro-copy {
  max-width: 72ch;
}

.hero-logo {
  width: 208px;
  height: auto;
}

.eyebrow {
  display: inline-block;
  margin: 0.4rem 0 0;
  padding: 0.2rem 0.64rem;
  background: #e9f2ff;
  border: 1px solid #cfe0ff;
  border-radius: 999px;
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.home-intro h1 {
  margin: 0.4rem 0 0.55rem;
  line-height: 1.2;
  font-size: clamp(1.75rem, 3.4vw, 2.9rem);
}

.lead {
  margin: 0;
  color: #334a67;
  max-width: 62ch;
}

.intro-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.95rem;
}

.intro-stage {
  display: grid;
}

.intro-panel {
  border: 1px solid #d9e4f2;
  border-radius: 16px;
  padding: 1rem;
  background: linear-gradient(165deg, #ffffff, #f7fbff);
  box-shadow: 0 14px 30px rgba(17, 42, 82, 0.1);
}

.intro-panel h2 {
  margin: 0;
  font-size: 1.24rem;
}

.intro-panel p {
  margin: 0.4rem 0 0;
  color: #405770;
}

.intro-chip-row {
  margin-top: 0.72rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.intro-chip-row span {
  display: inline-block;
  padding: 0.22rem 0.58rem;
  border-radius: 999px;
  border: 1px solid #d4deef;
  background: #ffffff;
  color: #244368;
  font-size: 0.82rem;
  font-weight: 600;
}

.btn {
  display: inline-block;
  padding: 0.56rem 0.95rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: #183a66;
  font-weight: 600;
  cursor: pointer;
}

.btn-primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.carousel-section {
  padding-top: 1.4rem;
}

.two-carousel-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.carousel-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(18, 40, 80, 0.08);
}

.carousel-header {
  padding: 0.92rem 1rem 0.3rem;
}

.carousel-header h2 {
  margin: 0;
  font-size: 1.35rem;
}

.carousel-header p {
  margin: 0.2rem 0 0;
  color: var(--muted);
}

.carousel {
  position: relative;
  padding: 0.5rem 0.8rem 0.9rem;
}

.carousel-track-wrap {
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid #d3ddec;
  background: #edf3fa;
}

.carousel-track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  transition: transform 0.45s ease;
}

.carousel-slide {
  min-width: 100%;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.carousel-slide a {
  color: inherit;
  text-decoration: none;
  display: block;
}

.slide-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.72rem 0.9rem;
  background: linear-gradient(180deg, rgba(10, 18, 34, 0) 0, rgba(10, 18, 34, 0.8) 92%);
  color: #fff;
}

.slide-caption h3 {
  margin: 0;
  font-size: 1.05rem;
}

.slide-caption p {
  margin: 0.15rem 0 0;
  font-size: 0.88rem;
  opacity: 0.9;
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid #cdd7e8;
  background: rgba(255, 255, 255, 0.95);
  color: #15335f;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  z-index: 2;
}

.carousel-control.prev {
  left: 1.1rem;
}

.carousel-control.next {
  right: 1.1rem;
}

.carousel-dots {
  margin-top: 0.56rem;
  display: flex;
  gap: 0.35rem;
  justify-content: center;
}

.carousel-dots button {
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: 999px;
  background: #b5c1d4;
  cursor: pointer;
}

.carousel-dots button.active {
  width: 22px;
  background: #2665bf;
}

.products-direct {
  padding-top: 1.3rem;
}

.section h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.32rem, 2.5vw, 2rem);
}

.section-intro {
  margin: 0 0 1rem;
  color: #4b5f7a;
}

.product-thumb-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fill, minmax(245px, 1fr));
}

.product-thumb-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(18, 40, 80, 0.08);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.product-thumb-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-thumb-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(18, 40, 80, 0.14);
}

.product-thumb-card-square {
  aspect-ratio: 1 / 1;
  position: relative;
}

.product-thumb-card-square a {
  height: 100%;
}

.product-thumb-card img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  background: #eaf0f7;
}

.product-thumb-card-square .product-thumb-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.72rem 0.78rem;
  background: linear-gradient(180deg, rgba(10, 20, 36, 0) 0, rgba(10, 20, 36, 0.88) 95%);
  color: #fff;
}

.product-thumb-card-square .product-thumb-body p,
.product-thumb-card-square .product-thumb-body .text-link {
  color: rgba(255, 255, 255, 0.92);
}

.product-thumb-body h3 {
  margin: 0;
  font-size: 1.02rem;
}

.product-thumb-body p {
  margin: 0.35rem 0 0;
  color: #4d6078;
  font-size: 0.93rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-tag-row {
  margin: 0 0 0.4rem;
  display: flex;
  gap: 0.34rem;
  flex-wrap: wrap;
}

.product-tag {
  display: inline-block;
  padding: 0.14rem 0.42rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  background: rgba(8, 16, 31, 0.32);
  font-size: 0.72rem;
  line-height: 1.2;
}

.keyword-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.keyword-grid a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.82rem 1rem;
  border-top: 1px solid #edf1f6;
  color: #203550;
  font-size: 1.01rem;
}

.keyword-grid a:hover {
  background: #fff7f0;
  color: var(--brand-2);
  text-decoration: none;
}

.keyword-grid .arrow {
  color: #a2afc0;
  font-size: 1.35rem;
}

.news-list,
.faq-list {
  display: grid;
  gap: 0.8rem;
}

.news-item,
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem;
}

.faq-item h3 {
  margin: 0 0 0.3rem;
  font-size: 1.02rem;
}

.content-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
}

.products-main {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem;
}

.products-main-full {
  padding: 1rem;
}

.products-catalog-shell {
  padding-top: 1.2rem;
}

.products-hero {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.9rem;
}

.products-hero h1 {
  margin: 0;
}

.products-lead {
  margin: 0.4rem 0 0;
  color: #41566f;
  max-width: 78ch;
}

.products-total {
  margin: 0.2rem 0 0;
  font-weight: 700;
  color: #1f3b60;
}

.certification-spotlight {
  margin-top: 0.8rem;
  border: 1px solid #d3ddec;
  border-radius: 12px;
  background: linear-gradient(165deg, #fdfefe, #f2f7ff);
  padding: 0.62rem 0.68rem;
}

.certification-spotlight h2 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.2;
}

.certification-spotlight > p {
  margin: 0.24rem 0 0.48rem;
  color: #3e536d;
  font-size: 0.89rem;
  line-height: 1.45;
}

.cert-badge-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(92px, 1fr));
  gap: 0.36rem;
}

.cert-badge {
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  border: 1px solid #d3deef;
  padding: 0.3rem;
  display: grid;
  align-content: space-between;
  background: #fff;
  box-shadow: 0 6px 12px rgba(16, 38, 74, 0.06);
}

.cert-code {
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.1;
  color: #10335f;
}

.cert-note {
  font-size: 0.6rem;
  color: #415a76;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cert-rohs .cert-code,
.cert-reach .cert-code {
  color: #0a7b46;
}

.cert-ul2238 .cert-code,
.cert-ul1977 .cert-code {
  color: #0e4da6;
}

.cert-ce .cert-code,
.cert-tuv-lvd .cert-code,
.cert-cqc .cert-code,
.cert-ass .cert-code,
.cert-pse .cert-code {
  color: #115f90;
}

.cert-iatf16949 .cert-code,
.cert-iso9001 .cert-code,
.cert-sa8000 .cert-code {
  color: #7b3a16;
}

.category-mini-section {
  margin-top: 0.85rem;
}

.category-mini-section-bottom {
  margin-top: 1.2rem;
}

.category-mini-section h2 {
  margin: 0 0 0.45rem;
  font-size: 1.12rem;
}

.category-mini-grid {
  display: grid;
  gap: 0.46rem;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
}

.category-mini-card {
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #cfd9e8;
  box-shadow: 0 6px 14px rgba(18, 40, 80, 0.08);
}

.category-mini-card a {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  color: #fff;
  text-decoration: none;
}

.category-mini-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.category-mini-card a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(175deg, rgba(8, 20, 37, 0.12), rgba(8, 20, 37, 0.86));
}

.category-mini-name,
.category-mini-count {
  position: absolute;
  left: 0.36rem;
  right: 0.36rem;
  z-index: 1;
}

.category-mini-name {
  top: 0.35rem;
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.category-mini-count {
  bottom: 0.3rem;
  font-size: 0.58rem;
  color: rgba(255, 255, 255, 0.9);
}

.catalog-head {
  margin-bottom: 0.7rem;
}

.catalog-head h2 {
  margin: 0;
}

.catalog-head p {
  margin: 0.26rem 0 0;
  color: #4c6078;
}

.products-filter-layout {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 1rem;
  align-items: start;
}

.products-filter-sidebar {
  position: sticky;
  top: 84px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem;
}

.products-filter-sidebar h2 {
  margin: 0;
  font-size: 1.2rem;
}

.products-filter-sidebar h3 {
  margin: 0;
  font-size: 1.06rem;
}

.products-filter-sidebar .filter-group + .filter-group {
  margin-top: 0.75rem;
}

.products-filter-sidebar h4 {
  margin: 0 0 0.42rem;
  font-size: 0.96rem;
  color: #243f62;
}

.filter-check {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.28rem;
  font-size: 0.92rem;
}

.filter-check small {
  margin-left: auto;
  color: #6b7a8e;
}

.filter-check.disabled {
  opacity: 0.48;
}

.products-filter-sidebar input[type="search"] {
  width: 100%;
  border: 1px solid #cfdaea;
  border-radius: 8px;
  padding: 0.52rem;
}

.filter-result {
  margin: 0.7rem 0 0;
  color: #40566f;
}

.products-filter-results {
  min-width: 0;
}

.product-thumb-grid-catalog {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.empty-state {
  margin-top: 0.75rem;
  padding: 0.8rem;
  border: 1px dashed #cfd8e7;
  border-radius: 12px;
  background: #fff;
  color: #4d5f78;
}

.category-visual-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.category-visual-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(18, 40, 80, 0.08);
}

.category-visual-card a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.category-visual-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.category-visual-body {
  padding: 0.82rem;
}

.category-visual-body h2 {
  margin: 0;
  font-size: 1.06rem;
}

.category-visual-body p {
  margin: 0.35rem 0 0;
  color: #4e6077;
}

.product-detail-block {
  display: grid;
  gap: 1rem;
}

.product-title-header {
  display: grid;
  grid-template-columns: minmax(180px, 260px) 1fr;
  gap: 0.95rem;
  align-items: start;
}

.product-title-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #edf3fa;
}

.purchase-cta {
  border: 1px solid #d5dfed;
  border-radius: 12px;
  padding: 0.85rem;
  background: linear-gradient(160deg, #f8fbff, #f2f7fd);
}

.purchase-cta h2 {
  margin: 0;
  font-size: 1.18rem;
}

.purchase-cta p {
  margin: 0.35rem 0 0;
}

.purchase-contact-toggle {
  margin-top: 0.7rem;
}

.purchase-contact-card {
  margin-top: 0.7rem;
  border-top: 1px solid #dbe4f2;
  padding-top: 0.6rem;
}

.purchase-contact-card p {
  margin: 0.24rem 0;
}

.tag {
  margin: 0.25rem 0;
  color: #445972;
}

.text-link {
  display: inline-block;
  margin-top: 0.35rem;
  color: #1a5ab5;
  font-weight: 600;
}

.rich-text img,
.hero-image {
  max-width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.spec-table th,
.spec-table td {
  border: 1px solid var(--line);
  padding: 0.58rem;
  text-align: left;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 0.7rem;
}

.gallery-grid img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.muted {
  color: var(--muted);
}

.contact-page-section {
  padding: 1rem 0 0;
}

.contact-inline-card {
  max-width: 620px;
}

.contact-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 150;
  width: min(320px, calc(100vw - 1.4rem));
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid #cfd9ea;
  box-shadow: 0 18px 40px rgba(14, 34, 70, 0.15);
  border-radius: 14px;
  padding: 0.8rem;
  backdrop-filter: blur(8px);
}

.contact-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
}

.contact-sub {
  margin: 0.2rem 0 0.62rem;
  color: #516177;
  font-size: 0.92rem;
}

.contact-card {
  margin-top: 0.62rem;
  padding-top: 0.62rem;
  border-top: 1px solid #e1e8f4;
}

.contact-card p {
  margin: 0.16rem 0;
  font-size: 0.92rem;
}

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner {
  padding: 1rem 0;
  font-size: 0.95rem;
  color: var(--muted);
}

@media (max-width: 1080px) {
  .two-carousel-grid {
    grid-template-columns: 1fr;
  }

  .intro-grid {
    grid-template-columns: 1fr;
  }

  .product-title-header {
    grid-template-columns: 1fr;
  }

  .products-filter-layout {
    grid-template-columns: 1fr;
  }

  .products-filter-sidebar {
    position: static;
  }

  .products-hero {
    flex-direction: column;
  }
}

@media (max-width: 960px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .primary-nav ul {
    flex-wrap: wrap;
  }

  .carousel-control {
    width: 30px;
    height: 30px;
  }

  .keyword-grid {
    grid-template-columns: 1fr;
  }

  .contact-float {
    left: 0.7rem;
    right: 0.7rem;
    width: auto;
    bottom: 0.7rem;
  }

  .product-thumb-grid-catalog {
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  }

  .cert-badge-grid {
    grid-template-columns: repeat(auto-fill, minmax(82px, 1fr));
  }

  .category-mini-grid {
    grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  }
}
