#main {
  padding: 40px 3% 0;
}

.heading {
  font-size: 24px;
  display: inline-block;
  position: relative;
  color: #333;
  margin-bottom: 20px;
}

.heading:before {
  content: "";
  display: inline-block;
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 3px;
  background-color: #00964e;
}

#record h1 {
  margin-top: 12%;
}

.purchase-record-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (min-width: 768px) {
  #main {
    padding: 40px 10% 0;
  }

  .purchase-record-list {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
  }
}

.purchase-record-item {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  background-color: #fff;
  padding: 5px;
  transition: transform 0.2s ease;
  margin-top: 30px;
}

.record-thumbnail {
  margin: 0;
  padding: 0;
}

.purchase-record-item p {
  margin: -5px auto;
}

.purchase-record-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 5px #222;
}

.record-thumbnail img {
  max-width: 100%;
  height: auto;
  border-bottom: 1px solid #ddd;
  margin-bottom: 15px;
}

.price,
.date,
.name,
.maker-model {
  margin-bottom: 12px;
}

.price {
  font-size: 14px;
  color: #333;
  transform: translateY(-15px);
}

.the-price {
  color: orangered;
  font-size: 24px;
  font-weight: bold;
}

.record-hr {
  margin-top: -20px;
  border: none;
  border-top: 1px solid #999;
}

.date {
  font-size: 11px;
  color: #666;
  margin-top: -10px;
  text-align: left;
}

.name {
  font-size: 16px;
  color: #666;
}

.maker-model {
  font-size: 13px;
  color: #666;
  margin-top: -5px;
}

#load-more {
  display: block;
  margin: 40px auto;
  padding: 12px 30px;
  font-size: 16px;
  background-color: #00964e;
  color: white;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.3s;
}

#load-more:hover {
  background-color: #007b3a;
}
