@charset "utf-8";

.books .section-slide {
  /* height: 400px; */
}
.books .section-slide .sw-bt {
  top: 41%;
}

.sw-books {
  height: 100%;
}

.books-link {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.books-img {
  position: relative;
  width: 100%;
  height: 335px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.books-img > img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
}

.books-info {
  text-align: center;
}

.books-info-title {
  font-size: 15px;
  line-height: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 8px;
}

.books-info-price {
  font-size: 16px;
  margin-top: 4px;
}

.books-info-price > em {
  font-size: 20px;
  font-weight: 700;
  font-style: normal;
}

@media screen and (max-width: 1280px) {
  .books .section-slide .sw-bt {
    top: 44%;
  }
  .books-img {
    height: 457px;
  }
}

@media screen and (max-width: 1024px) {
  .books-img {
    height: 322px;
  }
  .books-info-title {
    font-size: 13px;
    line-height: 15px;
    margin: 4px 0;
  }
  .books-info-price {
    font-size: 14px;
  }
  .books-info-price em {
    font-size: 14px;
  }
}

@media screen and (max-width: 760px) {
  .books-img {
    height: 41.66vw;
  }
}
