.ProductCard {
  background: var(--bg);
  color: var(--text);
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  min-width: 220px;
  max-width: 220px;
  border-radius: var(--border-radius);
  position: relative;
  height: fit-content;
  @include Shadow;
  margin-inline: auto;
  h4 {
    font-size: 16px;
    margin-bottom: 0px;

    border-top: 1px solid;
    padding-top: 20px;
    border-image: linear-gradient(
        90deg,
        rgba(68, 68, 68, 0.1) 0%,
        rgba(16, 16, 16, 0.5) 50%,
        rgba(68, 68, 68, 0.1) 100%
      )
      1;
  }
  > p {
    margin-bottom: 0;
    text-decoration: line-through;
    font-size: 12px;
    transform: translateY(10px);
    color: #717171;
  }

  img {
    width: 150px;
    height: 130px;
    margin-inline: auto;
    margin-bottom: 20px;
    cursor: pointer;
    margin-top: 30px;
    aspect-ratio: 1;
    object-fit: cover;
  }

  div {
    display: flex;
    justify-content: space-between;

    p {
      margin-bottom: 0;
      font-size: 20px;
      &:nth-child(2) {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 15px;
        gap: 2px;
        svg {
          color: #eb8a17;
        }
        color: #eb8a17;
      }
    }
  }

  > span {
    position: absolute;
    background-color: #fddbc9;
    color: #f45e0c;
    left: 0;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    font-size: 13px;
    padding: 4px;
  }
  > article {
    transition: 0.4s ease-in-out;
    opacity: 0;
    background-color: var(--bg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-inline: 4%;
    position: absolute;
    bottom: 0;
    width: 96%;
    border-bottom-left-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
    padding: 10px;

    button {
      background: transparent;
      color: var(--primary);
      border: 1px solid var(--primary);
      font-size: 14px;
      padding:6px 6px;
    }
    svg {
      color: var(--primary);
      cursor: pointer;
    }
    .not_favorite {
      color: gray;
    }
  }
  &:hover {
    > article {
      transition: 0.4s ease-in-out;
      opacity: 1;
    }
  }
}
