:root {
  color-scheme: light;
  --brand: #00479c;
  --brand-hover: #0f54a7;
  --text: #333333;
  --muted: #666666;
  --line: #ebeef5;
  --line-dark: #dcdfe6;
  --soft: #f5f7fa;
  --white: #ffffff;
  --bg-soft: #f6f7fb;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: var(--white);
  color: var(--text);
  font-family: "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  margin: 0 auto;
  max-width: 1200px;
  width: 100%;
}

.header-2023 {
  background: var(--white);
  display: flex;
  flex-direction: column;
  min-height: 130px;
  width: 100%;
}

.header-top-2023 {
  align-items: center;
  display: flex;
  height: 80px;
  justify-content: center;
  width: 100%;
}

.header-row {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.header-left {
  align-items: center;
  display: flex;
  min-width: 360px;
}

.logo-wordmark {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  height: 42px;
  justify-content: center;
  width: 180px;
}

.logo-main {
  color: var(--brand);
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
}

.logo-sub {
  color: #1f2d3d;
  font-size: 12px;
  line-height: 1.5;
}

.header-stock-code {
  color: #111111;
  font-size: 14px;
  font-weight: 700;
  margin-left: 28px;
}

.header-search {
  flex: 1;
  margin: 0 20px;
  max-width: 440px;
  position: relative;
}

.header-search input {
  border: 1px solid var(--brand);
  border-radius: 0;
  color: var(--text);
  height: 36px;
  line-height: 36px;
  outline: none;
  padding: 0 42px 0 14px;
  width: 100%;
}

.header-search button {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--brand);
  display: flex;
  height: 36px;
  justify-content: center;
  padding: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: 36px;
}

.search-icon {
  border: 2px solid var(--brand);
  border-radius: 50%;
  display: block;
  height: 14px;
  position: relative;
  width: 14px;
}

.search-icon::after {
  background: var(--brand);
  bottom: -5px;
  content: "";
  height: 7px;
  position: absolute;
  right: -4px;
  transform: rotate(-45deg);
  width: 2px;
}

.header-login {
  align-items: center;
  color: var(--brand);
  display: flex;
  gap: 5px;
  justify-content: flex-end;
  min-width: 92px;
}

.header-menu-2023 {
  background: var(--brand);
  height: 50px;
  width: 100%;
}

.header-menu-2023 ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-menu-2023 li {
  min-width: 100px;
  text-align: center;
}

.header-menu-2023 li:hover,
.header-menu-2023 li.active {
  background: var(--brand-hover);
}

.header-menu-2023 a {
  color: var(--white);
  display: block;
  font-size: 14px;
  line-height: 50px;
  padding: 0 20px;
}

.content {
  background: var(--white);
  min-height: calc(100vh - 220px);
  padding: 20px 0 40px;
}

.product-detail-content {
  background: var(--bg-soft);
}

.section {
  margin-bottom: 18px;
}

.pro-cat-brand {
  border-top: 1px solid var(--line);
}

.products-cat {
  align-items: flex-start;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 0;
  grid-template-columns: 84px 84px minmax(0, 1fr);
  min-height: 48px;
  padding: 10px 0;
}

.products-cat h3 {
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  line-height: 28px;
  margin: 0;
}

.products-cat ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.filter-link,
.more {
  background: transparent;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  padding: 0;
}

.filter-link:hover,
.filter-link.active,
.products-cat li.selected .filter-link,
.cmore.active {
  color: var(--brand);
  font-weight: 700;
}

.cmore {
  color: var(--text);
  display: inline-block;
  line-height: 28px;
  text-align: left;
}

.product-list {
  background: var(--white);
}

.anum {
  color: var(--muted);
  margin: 0 0 12px;
}

.anum b {
  color: var(--brand);
}

.el-table {
  border: 1px solid var(--line);
  overflow: hidden;
}

.el-table table {
  border-collapse: collapse;
  width: 100%;
}

.el-table th,
.el-table td {
  border-bottom: 1px solid var(--line);
  color: var(--text);
  padding: 18px 16px;
  vertical-align: top;
}

.el-table th {
  background: var(--soft);
  font-weight: 700;
  text-align: left;
}

.el-table tbody tr:hover {
  background: #f9fbff;
}

.model-col {
  width: 320px;
}

.brand-col {
  width: 200px;
}

.action-col {
  width: 180px;
}

.model-cell a {
  align-items: center;
  color: var(--brand);
  display: grid;
  gap: 16px;
  grid-template-columns: 86px minmax(0, 1fr);
}

.model-cell img,
.product-thumb {
  align-items: center;
  background: var(--soft);
  border: 1px solid var(--line);
  display: flex;
  height: 86px;
  justify-content: center;
  object-fit: contain;
  width: 86px;
}

.product-thumb {
  color: var(--brand);
  font-weight: 700;
}

.desc-cell {
  color: var(--muted);
  line-height: 1.7;
}

.action-cell {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.text-button,
.primary-action,
.secondary-action {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  white-space: nowrap;
}

.text-button,
.secondary-action {
  border: 1px solid var(--brand);
  color: var(--brand);
}

.primary-action {
  background: var(--brand);
  border: 1px solid var(--brand);
  color: var(--white);
}

.text-button:hover,
.secondary-action:hover {
  background: rgba(0, 71, 156, 0.06);
}

.primary-action:hover {
  background: var(--brand-hover);
}

.empty-text {
  color: var(--muted);
  padding: 28px 16px;
  text-align: center;
}

.empty-text[hidden] {
  display: none;
}

.breadcrumb {
  align-items: center;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.breadcrumb a {
  color: var(--brand);
}

.cec-detail-card {
  background: var(--white);
  border: 1px solid var(--line);
  margin-bottom: 20px;
}

.cec-detail-main {
  display: grid;
  gap: 24px;
  grid-template-columns: 360px minmax(0, 1fr) 260px;
  padding: 30px;
}

.detail-gallery {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.detail-image-box {
  align-items: center;
  background: var(--soft);
  border: 1px solid var(--line);
  display: flex;
  justify-content: center;
  min-height: 320px;
  padding: 18px;
}

.detail-product-image {
  max-height: 280px;
  object-fit: contain;
}

.detail-image-tools {
  display: flex;
  gap: 12px;
}

.detail-image-tools button {
  background: transparent;
  border: 1px solid var(--line-dark);
  color: var(--muted);
  cursor: pointer;
  min-height: 34px;
  padding: 0 16px;
}

.image-placeholder {
  align-items: center;
  color: var(--brand);
  display: inline-flex;
  font-size: 42px;
  font-weight: 800;
  justify-content: center;
  width: 100%;
}

.detail-summary h1 {
  color: #111111;
  font-size: 30px;
  line-height: 1.3;
  margin: 8px 0 12px;
}

.detail-kicker {
  color: var(--brand);
  font-size: 13px;
  font-weight: 700;
  margin: 0;
}

.detail-summary-desc {
  color: var(--muted);
  line-height: 1.8;
  margin: 0 0 20px;
}

.summary-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 20px;
}

.summary-grid div {
  background: var(--soft);
  padding: 14px 16px;
}

.summary-grid span {
  color: var(--muted);
  display: block;
  margin-bottom: 6px;
}

.summary-grid strong {
  color: #111111;
  display: block;
}

.detail-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.detail-sidebox {
  background: var(--soft);
  padding: 20px;
}

.detail-sidebox h2,
.detail-section h2 {
  font-size: 20px;
  margin: 0 0 18px;
}

.detail-sidebox dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.detail-sidebox dl div {
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}

.detail-sidebox dt {
  color: var(--muted);
  margin-bottom: 6px;
}

.detail-sidebox dd {
  color: #111111;
  margin: 0;
}

.detail-tabs {
  background: var(--white);
  border: 1px solid var(--line);
  display: flex;
  gap: 30px;
  margin-bottom: 20px;
  padding: 0 30px;
}

.detail-tabs a {
  border-bottom: 2px solid transparent;
  color: var(--muted);
  line-height: 54px;
}

.detail-tabs a.active,
.detail-tabs a:hover {
  border-bottom-color: var(--brand);
  color: var(--brand);
}

.detail-section {
  background: var(--white);
  border: 1px solid var(--line);
  margin-bottom: 20px;
  padding: 28px 30px;
}

.ceaci-info-table {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ceaci-info-table div {
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
}

.ceaci-info-table dt,
.ceaci-info-table dd {
  margin: 0;
  padding: 14px 18px;
}

.ceaci-info-table dt {
  background: var(--soft);
  color: var(--muted);
}

.ceaci-info-table dd {
  color: #111111;
}

.ceaci-info-table dd a {
  color: var(--brand);
}

.parameter-table {
  border-top: 1px solid var(--line);
}

.parameter-table div {
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 20px;
  grid-template-columns: 180px minmax(0, 1fr);
  padding: 14px 0;
}

.parameter-table span {
  color: var(--muted);
}

.parameter-table strong {
  color: #111111;
}

.recommend-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.recommend-card {
  background: var(--soft);
  border: 1px solid var(--line);
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 280px;
  padding: 18px;
}

.recommend-card span {
  font-weight: 700;
  line-height: 1.5;
}

.recommend-card em {
  color: var(--muted);
  font-style: normal;
}

.recommend-image {
  align-items: center;
  background: var(--white);
  display: flex;
  height: 170px;
  justify-content: center;
  object-fit: contain;
  width: 100%;
}

.site-footer {
  background: #10243a;
  color: rgba(255, 255, 255, 0.84);
  padding: 28px 0;
}

.site-footer-inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.site-footer p {
  margin: 8px 0 0;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-footer-links a {
  color: #ffffff;
}

@media (max-width: 1024px) {
  .container {
    padding: 0 16px;
  }

  .header-row {
    gap: 16px;
  }

  .header-left {
    min-width: 0;
  }

  .header-stock-code {
    display: none;
  }

  .cec-detail-main {
    grid-template-columns: 1fr;
  }

  .recommend-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .header-top-2023 {
    height: auto;
    padding: 16px 0;
  }

  .header-row {
    align-items: stretch;
    flex-direction: column;
  }

  .header-search,
  .header-login {
    margin: 0;
    max-width: none;
    min-width: 0;
  }

  .header-menu-2023 {
    height: auto;
  }

  .header-menu-2023 ul {
    flex-wrap: wrap;
  }

  .products-cat {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .el-table {
    overflow-x: auto;
  }

  .ceaci-info-table,
  .parameter-table div {
    grid-template-columns: 1fr;
  }

  .ceaci-info-table div {
    grid-template-columns: 1fr;
  }

  .detail-tabs {
    flex-wrap: wrap;
    gap: 18px;
  }

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

  .site-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
