.product-banner {
    width: 100%;
    height: 45vh;
    background-color: #ccc;
    overflow: hidden;
    background-image: url('/image/public/bg/20220415024408792.png');
    background-size: cover;
}

/* 智慧产品-产品分类 */
.product-nav {
    width: 100%;
    height: 10vh;
    background-color: #f6f5f5;
    display: flex;
    flex-direction: row;
    box-shadow: 0px 5px 5px #ccc;
    color: #040c7a;
    position: sticky;
    top: 100px;
    padding: 0 7px;
    box-sizing: border-box;
    z-index: 888;
}

.product-nav-item {
    width: 12.5%;
    height: 100%;
    line-height: 10vh;
    text-align: center;
    position: relative;
    font-size: 18px;
    transition: all 0.4s;
    background-color: #fff;
}

.product-nav-item:hover {
    background-color: #040c7a;
    cursor: pointer;
    color: #fff;
}

/* active样式 */
.productnavActive {
    background-color: #040c7a;
    color: #fff;
    display: inline-block;
    transform: translateY(-15%);
    box-shadow: 0px 0px 20px #ccc;
    z-index: 88;
    border-radius: 5px;
}

#product-main {
    width: 100%;
    height: 100vh;
    margin: 0 auto;
    overflow: hidden;
    background-color: #eee;
    padding: 20px 0;
}

.product-view {
    width: 80vw;
    height: 100%;
    margin: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: start;
    box-sizing: border-box;
    overflow: hidden;
    padding: 1vw;
}

.product-view-item {
    width: 24vw;
    height: 15vw;
    background-color: #040c7a;
    margin: 1vw;
    padding-bottom: 2px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.8s;
    animation: fadeInBottomRight;
    animation-duration: 0.9s;
}

.pvi-img {
    height: 70%;
    overflow: hidden;
}

.pvi-img img {
    width: 100%;
    transition: all 1s;
}

.pvi-title {
    font-size: 1.5em;
    height: 30%;
    padding: 7%;
    background: linear-gradient(to right, white, #fff) no-repeat;
    background-size: 200% 100%;
    transition: background-position 0.7s, color 0.7s;
    box-sizing: border-box;
    position: relative;
}

.product-view-item:hover .pvi-title {
    background-position: -100% 0;
    color: #fff;
}

.product-view-item:hover {
    box-shadow: 3px 3px 20px #313131;
}

.product-view-item:hover .pvi-img img {
    transform: scale(1.5);
}