/* 内页共用补充（各页可再覆盖） */
[data-ajax-list].is-loading [data-ajax-panel] {
  opacity: 0.45;
  pointer-events: none;
  transition: opacity 0.2s;
}

.page-main {
  padding: 0.64rem 0 0.9rem;
  background: var(--c-bg);
  min-height: 6rem;
}

.page-main.is-white {
  background: #fff;
}

.page-block {
  background: #fff;
  border-radius: 0.08rem;
  padding: 0.4rem 0.4rem 0.48rem;
  box-shadow: 0 4px 20px rgba(20, 40, 80, 0.04);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.2rem;
}

.product-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 0.06rem;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.product-card:hover {
  border-color: var(--c-red);
  box-shadow: 0 8px 24px rgba(230, 0, 18, 0.08);
}

.product-card:hover .product-card-title {
  color: var(--c-red);
}

.product-card-img {
  height: 2rem;
  background: #f3f5f8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem;
}

.product-card-img img {
  max-height: 100%;
  max-width: 90%;
  object-fit: contain;
}

.product-card-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.16rem 0.18rem;
  font-size: 0.15rem;
  font-weight: 600;
  color: #1a1a1a;
}

.product-card-title::after {
  content: "›";
  font-size: 0.2rem;
  color: #999;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.2rem;
}

.solution-card {
  position: relative;
  height: 2.8rem;
  border-radius: 0.08rem;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color 0.2s, transform 0.2s;
}

.solution-card:hover,
.solution-card.is-active {
  border-color: var(--c-red);
  transform: translateY(-3px);
}

.solution-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.solution-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(8, 16, 36, 0.88) 100%);
}

.solution-card-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 0.2rem 0.2rem 0.22rem;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.08rem;
}

.solution-card-body h3 {
  font-size: 0.15rem;
  font-weight: 600;
  line-height: 1.4;
}

.solution-card-body span {
  font-size: 0.22rem;
  opacity: 0.8;
  flex-shrink: 0;
}

.self-panel {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0.4rem;
  align-items: center;
  background: #fff;
  border-radius: 0.08rem;
  padding: 0.4rem;
}

.self-panel-img img {
  width: 100%;
  border-radius: 0.08rem;
}

.self-panel-card h3 {
  font-size: 0.24rem;
  margin-bottom: 0.28rem;
  line-height: 1.4;
}

.self-point {
  display: flex;
  gap: 0.12rem;
  margin-bottom: 0.2rem;
}

.self-point-icon {
  width: 0.2rem;
  height: 0.2rem;
  border-radius: 50%;
  background: var(--c-red);
  flex-shrink: 0;
  margin-top: 0.04rem;
}

.self-point strong {
  display: block;
  color: var(--c-red);
  font-size: 0.16rem;
  margin-bottom: 0.04rem;
}

.self-point p {
  font-size: 0.13rem;
  color: #666;
  line-height: 1.7;
}

.self-desc {
  font-size: 0.14rem;
  color: #666;
  line-height: 1.85;
  margin: 0.24rem 0 0.32rem;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0.4rem;
}

.detail-cover {
  background: #fff;
  border-radius: 0.08rem;
  padding: 0.24rem;
}

.detail-cover img {
  width: 100%;
  border-radius: 0.06rem;
}

.detail-info {
  background: #fff;
  border-radius: 0.08rem;
  padding: 0.36rem;
}

.detail-info h1 {
  font-size: 0.28rem;
  margin-bottom: 0.2rem;
}

.detail-meta {
  font-size: 0.14rem;
  color: #999;
  margin-bottom: 0.24rem;
}

.detail-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.14rem;
  margin: 0.24rem 0;
}

.detail-table th,
.detail-table td {
  border: 1px solid #eee;
  padding: 0.12rem 0.16rem;
  text-align: left;
}

.detail-table th {
  background: #f7f8fa;
  width: 1.4rem;
  color: #666;
  font-weight: 500;
}

.article-body {
  background: #fff;
  border-radius: 0.08rem;
  padding: 0.48rem 0.56rem;
  font-size: 0.15rem;
  color: #333;
  line-height: 1.9;
}

.article-body h1 {
  font-size: 0.32rem;
  text-align: center;
  margin-bottom: 0.2rem;
}

.article-body .meta {
  text-align: center;
  color: #999;
  font-size: 0.13rem;
  margin-bottom: 0.4rem;
  padding-bottom: 0.24rem;
  border-bottom: 1px solid #eee;
}

.article-body p {
  margin-bottom: 0.2rem;
  text-indent: 2em;
}

.article-body img {
  margin: 0.32rem auto;
  max-width: 100%;
}

.article-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 0.4rem;
  padding-top: 0.24rem;
  border-top: 1px solid #eee;
  font-size: 0.14rem;
  color: #666;
}

.article-nav a:hover {
  color: var(--c-red);
}

.form-card {
  background: #fff;
  border-radius: 0.08rem;
  padding: 0.48rem;
  margin-top: 0.4rem;
}

.form-card h2 {
  font-size: 0.24rem;
  margin-bottom: 0.32rem;
}

.form-item {
  margin-bottom: 0.2rem;
}

.form-item label {
  display: block;
  font-size: 0.14rem;
  margin-bottom: 0.08rem;
  color: #333;
}

.form-item label em {
  color: var(--c-red);
  font-style: normal;
}

.form-item input,
.form-item textarea {
  width: 100%;
  border: 1px solid #e5e5e5;
  border-radius: 0.04rem;
  background: #f7f8fa;
  padding: 0.12rem 0.16rem;
  font-size: 0.14rem;
  transition: border-color 0.2s;
}

.form-item input:focus,
.form-item textarea:focus {
  border-color: var(--c-red);
  background: #fff;
}

.form-item textarea {
  min-height: 1.6rem;
  resize: vertical;
}

.form-card .btn {
  width: 100%;
  height: 0.48rem;
  margin-top: 0.12rem;
}

.contact-top {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 0;
  background: #fff;
  border-radius: 0.08rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(20, 40, 80, 0.04);
}

.contact-top-info {
  padding: 0.48rem;
}

.contact-top-info h2 {
  font-size: 0.22rem;
  margin-bottom: 0.08rem;
}

.contact-top-info .welcome {
  font-size: 0.14rem;
  color: #666;
  margin-bottom: 0.32rem;
}

.tab-panel[hidden] {
  display: none !important;
}

@media (max-width: 900px) {
  .product-grid,
  .solution-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.2rem;
  }

  .self-panel,
  .detail-layout,
  .contact-top {
    grid-template-columns: 1fr;
  }

  .article-body {
    padding: 0.32rem 0.24rem;
  }

  .article-body h1 {
    font-size: 0.36rem;
  }

  .article-nav {
    flex-direction: column;
    gap: 0.12rem;
  }

  .form-card {
    padding: 0.32rem 0.24rem;
  }
}

@media (max-width: 560px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

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