.goods-type {
  padding-top: var(--gap-100);
  padding-bottom: var(--gap-100);
  background: #fff;
}

.goods-type .index-tit {
  text-align: center;
  margin-bottom: var(--gap-70);
}

.goods-type .index-tit em {
  font-size: 15px;
  color: #575756;
  letter-spacing: 9px;
  font-weight: 600;
  display: block;
  margin: 0 0 15px;
  text-transform: uppercase;
}

.goods-type .index-tit__title {
  color: #111;
  text-align: center;
  font-family: var(--title-font-family);
  font-size: var(--font-48);
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

.goods-type .index-tit__title span {
  color: #93c01f;
}

.goods-type .index-tit__desc {
  color: #666;
  text-align: center;
  font-family: var(--font-family);
  font-size: var(--font-24);
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin: 20px auto 0;
}

.goods-type .goods-grid {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.goods-type .goods-card {
  position: relative;
  box-sizing: border-box;
  min-height: 100%;
  padding: var(--gap-60) 0px var(--gap-50);
  background: #f4f4f4;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  transition: background 0.25s ease, transform 0.25s ease;
}

.goods-type .goods-card__title {
  color: #111;
  text-transform: uppercase;
  font-family: var(--title-font-family);
  font-weight: 700;
  font-style: Bold;
  font-size: 30px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;

}

.goods-type .goods-card__desc {
  margin-top: 12px;
  color: #111;
  font-family: var(--font-family);
  font-weight: 400;
  font-style: Regular;
  font-size: 20px;
  leading-trim: NONE;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;

}

.goods-type .goods-card .more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 25px auto -20px;
  padding: 12px 24px;
  width: calc(180/304*100%);
  max-width: 180px;
  font-family: var(--title-font-family);
  font-weight: 700;
  color: var(--color-primary);
  background: #fff;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.goods-type .goods-card .more:hover {
  color: var(--color-primary) !important;
  background: #fff !important;
}

.goods-type .goods-card .pic {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  overflow: hidden;
}


.goods-type .goods-card:hover {
  background: linear-gradient(180deg, var(--color-primary) 0%, #FF7569 100%);
}

.goods-type .goods-card:hover .goods-card__title,
.goods-type .goods-card:hover .goods-card__desc {
  color: #fff;
}

.goods-type .goods-card:hover .pic::after {
  opacity: 1;
  transform: scale(1);
}

.goods-type .goods-card:hover .more {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.goods-type .goods-card .pic img {
  width: 100%;
  display: block;
  aspect-ratio: 1;
  object-fit: contain;
}


.goods-type .goods-actions {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-top: var(--gap-70);
}

.goods-type .goods-action-btn {
  width: 280px;
  text-align: center;
  color: #fff;
}

.goods-type .goods-action-btn--primary {
  background: var(--color-primary);
}

.goods-type .goods-action-btn--primary:hover {
  background: #FF3221;
}

.goods-type .goods-action-btn--dark {
  background: #111;
}

.goods-type .goods-action-btn--dark:hover {
  background: #333;
}

.goods-type .goods-action-btn--dark svg {
  visibility: visible;
  width: var(--font-24);
  height: var(--font-24);
}

@media screen and (max-width: 1500px) {
  .goods-type .index-tit__title {
    font-size: 28px;
  }

  .goods-type .goods-grid {
    gap: 16px;
  }

  .goods-type .goods-action-btn {
    width: 260px;
  }
}

@media screen and (max-width: 1200px) {
  .goods-type .goods-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .goods-type .goods-card__title {
    font-size: 17px;
  }

  .goods-type .goods-action-btn {
    width: 240px;
  }
}

@media screen and (max-width: 992px) {
  .goods-type .goods-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .goods-type .goods-action-btn {
    width: 240px;
  }
}

@media screen and (max-width: 768px) {
  .goods-type .index-tit em {
    letter-spacing: 5px;
  }

  .goods-type .index-tit__title {
    font-size: 24px;
  }

  .goods-type .index-tit__desc {
    font-size: 13px;
    line-height: 1.5;
    margin: 10px auto 0;
  }

  .goods-type {
    padding: 40px 0 48px;
  }

  .goods-type .goods-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
  }

  .goods-type .goods-card h5 {
    font-size: 16px;
  }


  .goods-type .goods-actions {
    gap: 12px;
    flex-direction: column;
    align-items: center;
  }

  .goods-type .goods-action-btn {
    width: 100%;
    max-width: 260px;
  }

  .goods-type .goods-action-btn {
    width: 220px;
  }
}

@media screen and (max-width: 560px) {
  .goods-type .index-tit h3 {
    font-size: 22px;
  }

  .goods-type .goods-grid {
    grid-template-columns: 1fr;
  }

  .goods-type .goods-action-btn {
    width: 200px;
  }
}

@media screen and (max-width: 480px) {
  .goods-type .index-tit__title {
    font-size: 20px;
  }

  .goods-type .goods-card__desc {
    min-height: auto;
  }

}