.product-wrap {
    display: flex;
}
.left {
    flex-shrink: 1;
    width: 20%;
    background: #fff;
    padding: 1%;
}

.left .p-title {
    height: 60px;
    line-height: 60px;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    background: #1f71c2;
    color: #fff;
    margin-bottom: 10px;
    border-radius: 4px 4px 0 0
}

.left .catalog-item p {
    overflow: hidden;
    display: flex;
    height: 40px;
    line-height: 40px;
    padding: 0 0 0 20px;
    border-bottom: 1px dotted #dedede;
    margin-bottom: 5px;
    cursor: pointer;
}
.left .catalog-item p:hover {
    background-color: #16b4b9;
    color: #fff;
}
.left .catalog-item p:hover span{
    background-color: #16b4b9;
    color: #fff;
}
.left .catalog-item p:hover i {
    background: url(../images/menu_tb2.png) 80% center no-repeat;;
}
.left .catalog-item p span {
    flex: 1;
    display: block;
    margin-right: 10px;
    font-weight: 700;
    height: 40px;
    line-height: 40px;
    text-align: left;
    color: #555;
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.left .catalog-item p i {
    display: block;
    width: 40px;
    height: 40px;
    background: url(../images/menu_tb1.png) 80% center no-repeat;
}

.product-wrap .right {
    width: 76%;
    background: #fff;
    padding: 1%;
}

.right .product-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 30px 3%;
}
.right .product-item {
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 0 72px 0 #e1dddd;
}
.right .product-item:hover img {
    transform: scale(1.1);
}
.right .product-item:hover p {
    background-color: #16b4b9;
    color: #fff;
}
.right .item-img {
    overflow: hidden;
    width: 100%;
    height: 210px;
}
.right .item-img img {
    width: 100%;
    height: 100%;
    transition: all 1s;
}
.right .product-list p {
    display: block;
    height: 40px;
    line-height: 40px;
    font-size: 14px;
    text-align: center;
    color: #333;
    padding: 0 5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
@media (max-width: 1199px) {
    .right .product-list {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 767px) {
    .product-wrap {
        flex-direction: column;
    }
    .product-wrap .left {
        width: 100%;
    }
    .product-wrap .right {
        width: 100%;
    }
    .catalog {
        height: 300px;
    }
    .catalog-list {
        padding: 0 10px;
    }
    .right .item-img {
        height: 180px;
    }
}
@media (max-width: 540px) {
    .right .item-img {
        height: 150px;
    }
}
