/* css 重置 */

* {
    margin: 0;
    padding: 0;
    list-style: none;
}

body {
    background: #fff;
    font: normal 12px/22px 宋体;
}

img {
    border: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

html,
body {
    position: relative;
    height: 100%;
}

body {
    background: #eee;
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: #000;
    margin: 0;
    padding: 0;
}

.footer {
    background: #333;
    height: 40px;
    position: relative;
    z-index: 300;
}

.footer-content {
    margin: 0 auto;
    padding: 40px;
    height: 260px;
    display: flex;
    flex-flow: row nowrap;
    max-width: 1400px;
    justify-content: space-between;
}

.footer-nav {
    display: flex;
    flex-flow: row nowrap;
    color: #fff;
    justify-content: space-between;
}

.footer-nav dl {
    line-height: 30px;
    padding-right: 40px;
}

.footer-nav dl dt {
    font-size: 18px;
    padding-bottom: 10px;
}

.footer-nav dl dd {
    font-size: 13px;
}

.footer-nav a:hover {
    text-decoration: underline;
}

.footer-info {
    border-left: 1px solid #666;
    padding-left: 40px;
}

.footer-logo {
    width: 200px;
}

.footer-logo img {
    width: 100%;
}

.footer-contact {
    padding-top: 20px;
    line-height: 30px;
    color: #999;
    display: flex;
    flex-flow: row nowrap;
}

.footer-qr {
    width: 130px;
    height: 130px;
    padding-right: 20px;
}

.footer-qr img {
    width: 100%;
}

.footer-copyright {
    /* width: 600px; */
    margin: 0 auto;
    line-height: 40px;
    height: 40px;
    color: #999;
    border-top: 1px solid #666;
    text-align: center;
}

@media (max-width: 960px) {
    .footer-nav {
        display: none;
    }
    .footer-info {
        padding-left: 0;
        border-left: none;
    }
    .footer-qr {
        display: none;
    }
}

.product-item {
    width: 250px;
    max-width: 270px;
    height: 245px;
    transition: 0.2s;
    margin-bottom: 20px;
    margin-right: 20px;
}

.product-item-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-flow: column;
}

.product-item-img {
    position: relative;
}

.product-item-img i.iconfont {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    width: 30px;
    height: 30px;
    font-size: 30px;
    color: #fff;
    margin: auto;
    display: none;
    z-index: 99;
    transition: .5s;
}

.product-item-img img {
    width: 100%;
    height: 100%;
}

.product-item-info {
    background: #fff;
    padding: 10px;
    height: 65px;
    position: relative;
}

.product-item-info h3 {
    font-weight: normal;
    color: #333;
    font-size: 15px;
    line-height: 20px;
    position: relative;
    z-index: 10;
    text-align: center;
}

.product-item-info p {
    padding-top: 5px;
    color: #666;
    font-size: 12px;
    line-height: 20px;
    height: 40px;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
    z-index: 10;
}


/* 动效 */

.product-item-img::before,
.product-item-info::before {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    right: 0;
    transition: 0.3s;
    z-index: 1;
}

.product-item-img::before {
    top: 0;
    bottom: 100%;
    background: rgba(0, 0, 0, .5);
}

.product-item-info::before {
    bottom: 0;
    top: 81px;
    background: #caa703;
}

.product-item:hover .product-item-img::before {
    bottom: 0;
}

.product-item:hover .product-item-img i.iconfont {
    display: block;
}

.product-item:hover .product-item-info::before {
    top: 0;
}

.product-item:hover .product-item-info h3,
.product-item:hover .product-item-info p {
    color: #fff;
}