
.main-bd {
  width: 1000px;
  margin: 0 auto
}

.purchase {
  padding: 60px 0;
  background: #f9f9f9;
}

.purchase-title {
  font-size: 23px;
  /* font-weight: bold; */
  color: #666;
  margin-bottom: 20px;
  line-height: 1.2;
}

.purchase-item {
  margin-bottom: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.purchase-item .purchase-item-bd {
  position: relative;
  border: 1px solid #ddd;
  height: 220px;
  flex: 1;
  background: radial-gradient(circle, #fff, #efefef);
  border-bottom: 1px solid  var(--primary-color);
  overflow: hidden;
}

.purchase-item .purchase-item-bd img {
  width: 100%;
}

.purchase-item .purchase-item-bd .purchase-info {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 20px;
  height: 40px;
  background: #fff;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}

.purchase-info-wrap .purchase-info-hd {
  font-size: 17px;
  font-weight: bold;
  color: #333;
}

.purchase-info-wrap .purchase-info-bd {
  font-size: 13px;
  color: #999;
  line-height: 1.8;
}

.purchase-item .purchase-item-bd .purchase-info:hover {
  background: var(--primary-color);
  color: #fff;
}

.purchase-item .purchase-item-bd .purchase-info:hover .purchase-info-wrap .purchase-info-hd, .purchase-item .purchase-item-bd .purchase-info:hover .purchase-info-wrap .purchase-info-bd {
  color: #fff;
}

.purchase-btn {
  diplay: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 30px;
  text-align: center;
  font-weight: bold;
  font-size: 17px;
  cursor: pointer;
}

.purchase-item .purchase-item-bd .purchase-info:hover .purchase-btn {
  background: #fff;
  color:  var(--primary-color);
}
