.goods{
    list-style: none;
    display: -webkit-flex;
    display: flex;
    flex-wrap: wrap;
    padding: 0;
}
.goods li{
    width: 33.33333%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 3px 5px 20px;
    margin: 9px 0 0;
}
.goods li a{
    display: block;
    border: 2px solid #d8d8d8;
    text-decoration: none;
    height: 100%;
    transition: 0.3s;
    padding: 2px 12px;
}
.goods li a:hover{
    -webkit-transform: translateY(-3px);
    transform: translateY(-3px);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.15);
}
.goods li a h3{
    position: relative;
    font-size: 15px;
    line-height: 20px;
    color: #fff;
    font-weight: bold;
    text-align: center;
    margin: 0 -18px 18px;
    background-color: #ff6814;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 10px;
    height: 52px;
    box-sizing: border-box;
    min-height: 40px;
}
.goods li a h3:before{
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 0;
    border-top: 6px solid #b67919;
    border-left: 6px solid transparent;
}
.goods li a h3:after{
    content: '';
    position: absolute;
    right: 0;
    bottom: -6px;
    width: 0;
    height: 0;
    border-top: 6px solid #b67919;
    border-right: 6px solid transparent;
}
.goods li a .img-container{
    width: 100%;
    min-height: 120px;
}
.goods li a img{
    display: block;
    margin: 0 auto;
    max-width: 100%;
}
.goods li a p{
    font-size: 14px;
    line-height: 22px;
    color: #000;
    margin-bottom: 0;
}
/* item_detail end */