.list-book li {
    width: 230px;
    background: #f6f6f6;
    float: left;
    margin-right: 25px;
    margin-bottom: 25px;
}

.list-book li:nth-child(3n) {
    margin-right: 0;
}

.list-book li a {
    display: block;
}

.list-book li .box {
    height: 230px;
    position: relative;
    overflow: hidden;
}

.list-book li .box img {
    max-height: 100%;
    max-width: 100%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    transition: 0.5s;
}

.list-book li .box img:hover + p {
    height: 0;
}

.list-book li .box p {
    transition: .3s;
    position: absolute;
    left: 0;
    right:0;
    bottom: 0;
    height: 50px;
    line-height: 50px;
    font-size: 16px;
    color: #fff;
    background: rgba(188,168,126,0.8);
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 0 10px;
}

.list-book li .desc {
     height: 62px;
     font-size: 12px;
     line-height: 1.6;
     padding: 10px 10px 0;
     text-overflow: ellipsis;
     display: -webkit-box;
     -webkit-line-clamp: 2;
     -webkit-box-orient: vertical;
     overflow: hidden;
     margin-bottom: 10px;
 }
.list-book li .desc2 {
    height: 62px;
    font-size: 12px;
    line-height: 1.6;
    padding: 10px 10px 0;
  
    display: -webkit-box;
   
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 10px;
}

.detail-book {
    overflow: hidden;
}

.detail-book .wrap {
    width: 670px;
    padding: 0 30px;
}   


.detail-book .book {
    overflow: hidden;
    margin-bottom: 30px;
}

.detail-book .book .pic {
    width:  320px;
    height: 285px;
    background: #f6f6f6;
    position: relative;
    overflow: hidden;
    float: left;
    margin-right: 30px;
}

.detail-book .book .pic img {
    max-height: 100%;
    max-width: 100%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    transition: 0.5s;
}

.detail-book .book .intro {
    float: left;
    width: 310px;
}

.detail-book .book .intro h2 {
    font-size: 20px;
    color: #333;
    margin-bottom: 17px;
}

.detail-book .book .intro p {
    font-size: 16px;
    line-height: 34px;
}

.detail-book .book .intro .price {
    width: 290px;
    height: 50px;
    line-height: 50px;
    padding: 0 10px;
    background: #f6f6f6;
    margin-top: 20px;
}

.detail-book .book .intro .price span {
    color: #FF0000;
    font-size: 18px;
    font-weight: bold;
}   

.detail-book .book .intro .pay {
    display: block;
    height: 50px;
    line-height: 50px;
    width: 180px;
    text-align: center;
    background: #FF0036;
    color: #fff;
    margin-top: 20px;
    font-size: 16px;
}

.detail-book .con .con-title {
    font-size: 20px;
    height: 40px;
    line-height: 40px;
    border-bottom: 1px solid #ddd;
}

.detail-book .con .con-txt {
    font-size: 16px;
    line-height: 32px;
    text-align: justify;
    padding: 15px 0;
    text-indent: 2em;
}

.detail-book .recommend {
    float: right;
    width: 240px;
    padding: 0 15px;
    background: #f6f6f6;
    padding-bottom: 9999px;
    margin-bottom: -9999px;
}

.detail-book .recommend .recommend-title {
    font-size: 20px;
    height: 60px;
    line-height: 60px;
    border-bottom: 1px solid #ddd;
    position: relative;
}

.detail-book .recommend .recommend-title:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    height: 2px;
    width: 40px;
    background: #2647a4;
}

.detail-book .recommend .recommend-con {
    padding-top: 25px;
}

.detail-book .recommend .recommend-con li {
  padding: 0 17px;
  font-size: 14px;
  color: #000;
  margin-bottom: 20px;
}

.detail-book .recommend .recommend-con .pic {
    width: 204px;
    height: 204px;
    border: 1px solid #ddd;
    display: block;
    position: relative;
    overflow: hidden;
    background: #fff;
}

.detail-book .recommend .recommend-con .pic img {
    max-width: 90%;
    max-height: 90%;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    transition: 0.5s;
}

.detail-book .recommend .recommend-con li h2 {
    margin-top: 15px;
    margin-bottom: 5px;
    font-weight: bold;
}

.detail-book .recommend .recommend-con li p {
    line-height: 24px;
}