.rel_product {
    margin: 30px 0;
    padding: 20px 20px;
    box-sizing: border-box;
    box-shadow: 0 0 10px #ccc;
    overflow: hidden;
    border-radius: 5px;
    background: #4781d3;
}

.rel_product .common_title {
    margin-bottom: 20px;
    color: #fff;
}

.rel_product .more_products_wrap {
    width: 100%;
    border-radius: 10px;
    background: #fff;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    overflow: hidden;
}

.rel_product .more_products_wrap ul li {
    width: calc(33.33% - 20px);
    margin: 10px;
    float: left;
    position: relative;
    border: 1px solid #ddd;
    text-align: center;
    overflow: hidden;
    box-sizing: border-box;
}

.rel_product .more_products_wrap ul li a {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    box-sizing: border-box;
}

/*
.rel_product .more_products_wrap ul li a::before {
    content: '添加购物车';
    position: absolute;
    display: block;
    top: 10px;
    left: 10px;
    width: calc(100% - 110px);
    height: 60px;
    opacity: 0;
    transition: .5s;
    margin: calc(50% - 54px) 45px;
    padding: 0 10px;
    line-height: 60px;
    text-align: center;
    color: #fff;
    font-size: 20px;
    background-color: rgba(64,64,64, 0.8);
    !*border-radius: 40px;*!
    box-sizing: border-box;
}
.rel_product .more_products_wrap ul li a:hover::before {
    opacity: 1;
}
*/
.rel_product .more_products_wrap ul li a img {
    display: block;
    width: 100%;
    margin: 0;
    padding: 3px;
    overflow: hidden;
    box-sizing: border-box;
}

.rel_product .more_products_wrap ul li > b {
    padding: 5px;
    width: 100%;
    /*height: 168px;*/
    display: block;
    position: relative;
    box-sizing: border-box;
}

.rel_product .more_products_wrap ul li > b:hover span {
    visibility: visible;
    opacity: 1;
}

.rel_product .more_products_wrap ul li > b span {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: block;
    padding-top: calc(50% - 100px);
    background: url(../images/black.png) repeat;
    z-index: 2;
    text-align: center;
    transition: all .3s ease;
    visibility: hidden;
    opacity: 0;
    box-sizing: border-box;
}

.rel_product .more_products_wrap ul li > b span a {
    width: 150px;
    height: 55px;
    display: block;
    margin: 10px auto;
    padding: 10px;
    line-height: 35px;
    font-size: 12px;
    color: #757575;
    background: #fff;
    overflow: hidden;
    box-sizing: border-box;
}

.rel_product .more_products_wrap ul li > b span a:hover {
    color: #cc0033;
}

.rel_product .more_products_wrap ul li > b span a.rel_add_cart {
    background-image: url("../images/cart_on.png");
    background-position: 30px 17px;
    background-repeat: no-repeat;
    text-indent: 30px;
}

.rel_product .more_products_wrap ul li > b span a.show_detail_link {
    background-image: url("../images/order_on.png");
    background-position: 30px 17px;
    background-repeat: no-repeat;
    text-indent: 30px;
}

.rel_product .more_products_wrap ul li > b span .details-link {
    background: #fff;
    margin-top: 10px;
}

.rel_product .more_products_wrap ul li .video-img {
    width: 64px;
    height: 16px;
    display: block;
    position: absolute;
    left: 10px;
    top: 10px;
    z-index: 2;
}

.rel_product .more_products_wrap ul li > b img {
    min-width: 100%;
    max-width: 100%;
}

.rel_product .more_products_wrap ul li u {
    width: 100%;
    height: 30px;
    display: block;
    line-height: 30px;
    padding: 0 15px;
    margin: 0;
    font-size: 12px;
    color: #D82232;
    word-break: keep-all;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    box-sizing: border-box;
}

.rel_product .more_products_wrap ul li p {
    height: 30px;
    line-height: 30px;
    padding: 0 15px;
    margin: 0;
    font-size: 12px;
    color: #757575;
    overflow: hidden;
    box-sizing: border-box;
}

.rel_product .more_products_wrap ul li > span {
    display: block;
    margin: 10px 0 0;
    border-top: 1px solid #ddd;
    overflow: hidden;
}

.rel_product .more_products_wrap ul li > span a {
    float: left;
    width: 110px;
    display: block;
    text-align: center;
    line-height: 40px;
}

.rel_product .more_products_wrap ul li > span a:hover {
    background: #f5bf02;
    color: #fff;
}

.rel_product .more_products_wrap ul li > span .cart {
    border-left: 1px solid #ddd;
    width: 109px;
}

.rel_product .more_products_wrap ul li > span .cart:hover {
    background: #D82232;
}

.detail_memo_title {
    width: 100%;
    margin: 5px 0;
    padding: 0 0 10px;
    display: inline-block;
    line-height: 25px;
    text-indent: 16px;
    font-weight: bold;
    border-bottom: solid 1px #ddd;
    background: none;
    overflow: hidden;
}