.topdeals-template-width{
    width: 1200px;
    margin: 0 auto;
}
.topdeals-title-template {
    font-size: 32px;
    font-weight: 600;
    color: #1C201E;
    line-height: 32px;
    padding-top: 40px;
}
.topdeals-title-template img{
    width: 100%;
}
.topdeals-mian-template{
    padding-top: 30px;
}
.topdeals-mian-template ul{
    overflow: hidden;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 50px;
}
.topdeals-mian-template ul li{
    list-style-type: none;
    position: relative;
    overflow: hidden;
}
.topdeals-mian-overflow{
    height: 270px;
    overflow: hidden;
}
.deal_expired{
    transform: rotate(45deg);
    position: absolute;
    z-index: 2;
    color: #ffffff;
    font-size: 13px;
    height: 26px;
    line-height: 26px;
    width: 120px;
    text-align: center;
    right: -36px;
    top: 12px;
    background: rgba(28, 32, 30, 0.7);
}
.topdeals-mian-template ul li a{
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}
.topdeals-mian-template ul li a .topdeals-mian-top{
    position: relative;
    min-height: 200px;
}
.topdeals-mian-template ul li a .topdeals-mian-top img{
    width: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    border-radius: 6px;
}
.topdeals-mian-top .topdeals-name {
    position: absolute;
    height: 46px;
    line-height: 46px;
    background: #ffffff85;
    bottom: 0;
    left: 0;
    width: 100%;
}
.topdeals-mian-top .topdeals-name span{
    width: 94%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 18px;
    font-weight: 600;
    color: #1C201E;
    padding: 0 6px;
    display: block;
}
.topdeals-mian-template ul li a .topdeals-mian-bottom {
    font-size: 14px;
    font-weight: 400;
    color: #1C201E;
    line-height: 1.2;
    text-align: left;
    margin: 6px;
    /*width: 100%;*/
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 34px;
}













































