.product-list{ margin-bottom:20px;}
.product-list > div {
    float: left;
    width: calc(20% - 0px);
    border: 1px solid #FFF;
    padding: 10px;
    transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    margin: 0px -1px -1px 0;
}
.product-list > div > a {
    display:block;
    border: 1px solid #F2f2f2;
    padding: 10px;
    transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
}

.product-list > div > .img {
    display: block;
    position: relative;
}

.product-list > div > .img img {
    width: 90%;
    display: block;
}

.product-list > div > .img .space + img {
    width: auto;
    max-width: 90%;
    max-height: 90%; /*關鍵高設定*/
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    margin: auto;
    z-index: 1;
}

.product-list > div > .img img + img {
    position: relative;
    width: 90%;
}



.product-list > div > a:hover {
    box-shadow: 1px 1px 5px #aaa;
    -moz-box-shadow: 1px 1px 5px #aaa;
    -webkit-box-shadow: 1px 1px 5px #aaa;
    border: 1px solid #fff;
    filter:contrast(145%);-webkit-filter:contrast(145%);
    /*filter:contrast(115%);-webkit-filter:contrast(115%);*/
}


/*.product-list .pdn5, .product-list .pdn6{display:none;}*/

@media screen and (max-width: 1440px) {
    .product-list > div {
        width: calc(20% - 0px);
    }
}
@media screen and (max-width: 1024px) {
    .product-list > div {
        width: calc(25% - 0px);
    }
}
@media screen and (max-width: 768px) {
    .product-list > div {
        width: calc(33.33% - 0px);
    }
}

@media screen and (max-width: 640px) {
    .product-list > div {
        width: calc(50% - 0px);
    }
}

@media screen and (max-width: 480px) {
    .product-list > div {
        width: calc(100% - 0px);
    }
}