@import url("./style.css");

.service-body {
  background: #ffffff;
}

.service-hero {
  --banner-image: url("../image/mainServices_banner.jpg");
  --banner-overlay: linear-gradient(90deg, rgba(39, 95, 109, 0.58), rgba(18, 25, 39, 0.08) 52%, rgba(23, 33, 53, 0.28) 100%);
}

.service-body .page-main {
  padding-top: 78px;
}

.service-board {
  padding: 66px 0 78px;
}

.goods-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px 24px;
}

.goods-card {
  min-width: 0;
}

.goods-thumb {
  display: block;
  aspect-ratio: 536 / 330;
  overflow: hidden;
  border-radius: 2px;
  background: #eef2f7;
}

.goods-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.goods-card:hover .goods-thumb img {
  transform: scale(1.04);
}

.goods-title {
  margin-top: 12px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
  color: #333333;
  min-height: auto;
  transition: color 0.25s ease;
}

.goods-card:hover .goods-title {
  color: #ff6a00;
}

.package-highlights {
  margin: 10px 0 0;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.85;
  color: #666666;
  min-height: 72px;
}

.package-highlights li + li {
  margin-top: 2px;
}

.goods-price {
  margin-top: 10px;
  font-size: 18px;
  font-weight: 700;
  color: #e60012;
}

.goods-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

.goods-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 0;
  height: 30px;
  border-radius: 3px;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.goods-btn-ghost {
  border: 1px solid #ff6a00;
  background: #ffffff;
  color: #ff6a00;
}

.goods-btn-ghost:hover {
  background: #fff4ec;
}

.goods-btn-buy {
  flex: 1.4 1 0;
  border: 1px solid #ff6a00;
  background: #ff6a00;
  color: #ffffff;
}

.goods-btn-buy:hover {
  background: #e85f00;
  border-color: #e85f00;
}

@media (max-width: 1100px) {
  .goods-grid {
    gap: 18px;
  }
}

@media (max-width: 900px) {
  .goods-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 18px;
  }
}

@media (max-width: 640px) {
  .service-body .page-main {
    padding-top: 72px;
  }

  .goods-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .goods-title {
    font-size: 15px;
    line-height: 22px;
    min-height: auto;
  }

  .package-highlights {
    min-height: auto;
    font-size: 12px;
  }

  .goods-price {
    font-size: 16px;
  }

  .goods-btn {
    height: 28px;
    font-size: 12px;
  }
}
