.product-tools {
  text-align: center;
  padding: 40px 80px;
  width: 100%;
  margin: 0 auto;
  background-color: var(--bg-color-main);
  border-radius: 0 0 90px 90px;
}
.product-tools .section-subtitle {
  margin-bottom: 60px;
}
.product-tools-img-container {
  display: grid;
  /* grid-template-columns: repeat(4, 1fr); 分四份，自适应宽度 动态 */
  gap: 16px;
  max-width: var(--container-max-width);
  margin: 0 auto 80px;
}
.product-tools-img-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  height: 248px;
}
.product-tools-img-text {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  padding: 24px 30px;
  text-align: left;
  z-index: 10;
}
.product-tools-img-title {
  /* font-weight: 600;
  font-size: 24px;
  line-height: 40px; 动态 */
  color: var(--text-white);
  margin-bottom: 12px;
  display: block;
  width: 100%;
  white-space: nowrap; /* 禁止换行 */
  overflow: hidden; /* 隐藏溢出内容 */
  text-overflow: ellipsis; /* 溢出显示省略号 */
  position: relative; /* 用于tooltip定位 */
}

.product-tools-img-subtitle {
  /* font-weight: 400;
  font-size: 18px;
  line-height: 22px; 动态 */
  color: var(--text-white);
}
.product-tools img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 保持比例填充容器 */
}

/* -------------------------- 媒体查询：断点切换 -------------------------- */
@media (min-width: 1441px) {
  .product-tools-img-container {
    grid-template-columns: repeat(4, 1fr); /* 分四份，自适应宽度 */
  }
  .product-tools-img-card {
    height: 248px;
  }
  .product-tools-img-title {
    font-weight: 600;
    font-size: 24px;
    line-height: 40px;
  }
  .product-tools-img-subtitle {
    font-weight: 400;
    font-size: 18px;
    line-height: 22px;
  }
}

@media (max-width: 1440px) and (min-width: 1201px) {
  .product-tools-img-container {
    grid-template-columns: repeat(4, 1fr); /* 分四份，自适应宽度 */
  }
  .product-tools-img-card {
    height: 253px;
  }
  .product-tools-img-title {
    font-weight: 600;
    font-size: 20px;
    line-height: 40px;
  }
  .product-tools-img-subtitle {
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
  }
}

@media (max-width: 1200px) and (min-width: 801px) {
  .product-tools-img-container {
    grid-template-columns: repeat(2, 1fr); /* 分两份，自适应宽度 */
  }
  .product-tools-img-card {
    height: 132px;
  }
  .product-tools-img-title {
    font-weight: 600;
    font-size: 20px;
    line-height: 40px;
  }
  .product-tools-img-subtitle {
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
  }
}

@media (max-width: 800px) {
  .product-tools-img-container {
    grid-template-columns: repeat(1, 1fr); /* 分一份，自适应宽度 */
  }
  .product-tools-img-card {
    height: 142px;
  }
  .product-tools-img-title {
    font-weight: 600;
    font-size: 20px;
    line-height: 40px;
  }
  .product-tools-img-subtitle {
    font-weight: 400;
    font-size: 16px;
    line-height: 22px;
  }
}