main {
  min-height: 100vh;
  background: url("../assets/img/product-detail.webp") no-repeat center center
    fixed;
  background-size: cover;
}

section {
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 50px;
}

.section-header {
  text-align: center;
  color: var(--color-white);
  text-shadow: 0px 5px 5px rgba(0, 0, 0, 1);
}

.section-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

.history-card {
  border-radius: 10px;
  background-color: var(--color-white);
  /* overflow: hidden; */
  display: flex;
  align-items: center;
  padding: 25px;
  gap: 10px;
  position: relative;
  cursor: pointer;
  user-select: none;
  -webkit-user-drag: none;
}

.history-card.active {
  background-color: rgba(255, 255, 255, 0.7);
}

.card-image {
  user-select: none;
  -webkit-user-drag: none;
  flex: 1;
  border-radius: 50%;
  overflow: hidden;
  /* cursor: pointer; */
}

.card-image img {
  user-select: none;
  -webkit-user-drag: none;
  max-width: 100%;
  object-fit: cover;
  transform: scale(1.7) translateY(4px);
}

.card-details {
  flex: 2;
}

.action-btn {
  position: absolute;
  top: -10px;
  right: -15px;
  display: none;
  align-items: center;
  justify-content: space-around;
  gap: 10px;
  /* z-index: 200; */
  /* width: 60px; */
}

.history-card.active .action-btn {
  display: flex;
}

.action-btn div {
  cursor: pointer;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  /* z-index: 100; */
}

.action-btn div:first-child {
  background-color: var(--color-brown);
  color: var(--color-white);
}

.action-btn div:last-child {
  background-color: var(--color-yellow);
  color: var(--color-brown);
}

.item-name {
  font-family: "Poppins";
  font-weight: 700;
  font-size: 1.25rem;
}

.item-price {
  color: #895537;
}

.item-status {
  color: #6a4029;
}

@media screen and (min-width: 768px) {
  .section-content {
    grid-template-columns: repeat(3, 1fr);
  }
}
