/*Card start*/

/* nft-list-item 每个卡片的样式 */
.nft-shop .nft-list .item{
    padding: 20px;
    background: #fff ;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.nft-shop .nft-list .item:hover,
.sellers .item:hover{
    box-shadow: none;
}

.nft-shop{
  padding: 0 80px;
  margin-top: 30px;
}


.nft-shop .nft-list{
  padding: 40px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.nft-list .item{
  flex: 1; /* This makes each item flex and take up equal space */
  display: flex; /* Makes the .item a flex container */
  flex-direction: column; /* Stacks the child elements (info) vertically */
  justify-content: flex-start; /* Aligns children to the start of the flex container */
  gap: 10px; /* Optional: adds space between the children */
  min-width: 0; /* Prevents the item from overflowing its container */
}




/* .info */
.nft-shop .nft-list .item .info{
  flex: 1; /* Allows the .info to grow and fill the space, making sections equal height */
  display: flex; /* Makes the .info a flex container */
  flex-direction: column; /* Stacks the child elements vertically */
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #edecec;
}

.nft-shop .nft-list .item .info h5{
  text-align: center; /* Center-aligns the text */
  margin-bottom: 20px; /* Adds some space below the heading */
  color: #FC623B;
}

/* .btc */
.nft-shop .nft-list .item .info .btc{
  margin-top: 10px;
  align-items: center;
  gap: 5px;
  text-align: center; /* Center-aligns the content of .btc */
  margin-bottom: 20px; /* Adds some space below each .btc */
}

  /* .btc .icon */
.nft-shop .nft-list .item .btc i{
  font-size: 22px;
  color: #304ffe;
}

.nft-shop .nft-list .item .btc p{
  font-size: 22px;
}

.nft-shop .nft-list .item .info > p{
  font-size: 12px;
  color: #989898;
}

.nft-shop .nft-list .item .bid{
  padding: 14px 0 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nft-shop .nft-list .item .btc .btc_img {
  display: block; /* Makes the img a block-level element */
  margin: 0 auto; /* Centers the img */
  max-width: 50%; /* Ensures the image is responsive */
}

/* 设置标题 bid */
.nft-shop .nft-list .item .bid p,
.nft-shop .nft-list .item .bid a{
  background-color: #edecec;
  padding: 6px 10px;
  font-size: 13px;
  border-radius: 10px;
}

.nft-shop .nft-list .item .bid a{
  color: #304ffe;
  background: transparent;
  font-weight: bold;
  transition: all 0.3s ease;
}

.nft-shop .nft-list .item .bid a:hover{
  color: #fff;
  background-color: #000;
}

/* 设置responsive，768px以下你的三个布局项（.item）每行只显示一个*/

@media (max-width: 768px) {
  .nft-shop .nft-list {
      flex-direction: column; /* 使.nft-list的子元素（.item）垂直排列 */
      gap: 20px; /* 根据需要调整间距 */
  }

  .nft-shop .nft-list .item {
      width: 100%; /* 使每个.item占满整个容器的宽度 */
      /* 如果你想要调整边距或者其他样式，也可以在这里添加 */
  }
}



