/* ==========================================================================
   捷链瓷砖 - 产品目录页样式（卡片墙）
   ========================================================================== */

.catalog-hero {
  background: linear-gradient(160deg, #084d94 0%, #0a66c2 55%, #0f9d58 130%);
  color: #fff;
  padding: 56px 0 64px;
  text-align: center;
}
.catalog-hero h1 {
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 14px;
}
.catalog-hero p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 640px;
  margin: 0 auto;
}

.catalog-main {
  padding: 40px 0 80px;
  background: #f6f8fb;
}

/* 分类 Tab */
.cat-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
  position: sticky;
  top: 70px;
  z-index: 50;
  background: #f6f8fb;
  padding: 12px 0;
}
.cat-tabs a {
  padding: 10px 20px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e5e7eb;
  color: #4b5563;
  font-size: 14.5px;
  font-weight: 600;
  transition: all 0.15s;
}
.cat-tabs a:hover {
  border-color: #0a66c2;
  color: #0a66c2;
}

/* 分类区块 */
.cat-section {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 36px 32px;
  margin-bottom: 32px;
  scroll-margin-top: 130px;
}
.cat-section-head h2 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -0.3px;
  margin-bottom: 8px;
}
.cat-desc {
  color: #6b7280;
  font-size: 15px;
  margin-bottom: 24px;
}

/* 品类配图 */
.cat-figure {
  margin: 0 0 28px;
  text-align: center;
}
.cat-figure img {
  max-width: 100%;
  max-height: 420px;
  width: auto;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 16px rgba(16, 24, 40, 0.06);
}
.cat-figure figcaption {
  margin-top: 8px;
  font-size: 12.5px;
  color: #9ca3af;
}

/* 产品卡片墙 */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}
.tile-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(16, 24, 40, 0.05);
  transition: transform 0.18s, box-shadow 0.18s;
  display: flex;
  flex-direction: column;
}
.tile-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(16, 24, 40, 0.12);
}
.tile-img {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #f3f4f6;
  overflow: hidden;
}
.tile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.tile-model {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(8, 77, 148, 0.9);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.3px;
}
.tile-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.tile-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 12px;
}
.spec-list {
  margin-bottom: 16px;
  flex: 1;
}
.spec-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 0;
  border-bottom: 1px dashed #f1f5f9;
  font-size: 13.5px;
}
.spec-row .k {
  color: #6b7280;
  flex-shrink: 0;
}
.spec-row .v {
  color: #1f2937;
  font-weight: 600;
  text-align: right;
}
.tile-cta {
  width: 100%;
  justify-content: center;
  font-size: 14px;
  padding: 10px 16px;
}

/* 响应式 */
@media (max-width: 680px) {
  .cat-section { padding: 24px 16px; }
  .cat-figure img { max-height: 300px; }
  .cat-tabs { top: 70px; }
  .tile-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
  .tile-body { padding: 12px 12px 14px; }
  .tile-body h3 { font-size: 14px; }
}
