#company_product {
    width: 100%;
    background-color: #f0f1f2;
}
.bread_crumbs{
    padding-top: 40px;
}
#company_product .company_product {
    padding-top: 30px;
    padding-bottom: 50px;
    margin: 0 auto;
}
.company_pro_categories {
    width: 330px;
}
.company_pro_categories h4 {
    height: 99px;
    line-height: 99px;
    background: url(../../img/suppliers/detail/company_product_categories.png) center center no-repeat;
    background-size: 100% 100%;
    color: #fff;
    font-size: 24px;
    text-align: center;
}

.company_pro_categories .company_pro_cat_url {
    height: 421px;
    overflow-x: hidden;
    overflow-y: auto;
}

.company_pro_cat_url a {
    line-height: 24px;
    padding: 18px 0 18px 31px;
    background-color: #fff;
    border-bottom: 1px solid #DCDCDC;
    color: #979797;
    display: block;
    font-size: 18px;
}

.company_pro_cat_url a:hover {
    color: #4fc2b8;
}

.company_pro_cat_url a.on {
    background-color: #EDFDFC;
}

.company_product .company_pro_product {
    width: calc(100% - 360px);
    display: flex;
    flex-wrap: wrap;
    gap: 30px 27px;
}

.company_pro_product li {
    list-style: none;
    height: fit-content;
    position: relative;
    width: calc((100% - 54px) / 3);
}


.company_pro_product li > div {
    width: 100%;
    background-color: #fff;
    border: 1px solid #e2e2e2;
}
.company_pro_product li:hover div{
    border-color: #6ecdc5;
}
.company_pro_product li > div > a {
   aspect-ratio: 1;
    width: 100%;
    display: -webkit-flex;
    align-items: center;
    margin: 0 auto;
    text-align: center;
    justify-content: center;
    overflow: hidden;
    padding: 20px;
}

.company_pro_product li.on div {
    border-color: #6ecdc5;
}

.company_pro_product .company_pro_pro_img {
    width: 100%;
    height: 100%;
}

.company_pro_pro_img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.company_pro_product .company_pro_pro_p {
    height: 50px;
    margin-top: 27px;
    padding: 0 18px;
    color: #979797;
    font-size: 18px;
    aspect-ratio: unset;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    word-break: break-all;
    margin-bottom: 40px;
}

.company_pro_product .company_pro_pro_p:hover {
    color: #4fc2b8;
}

.company_pro_product .company_pro_pro_shop {
    width: 51px;
    height: 51px;
    background: url(../image/images/company_product_shop1.png) center center no-repeat;
    position: absolute;
    top: 228px;
    right: 18px;
}

.company_pro_product .company_pro_pro_shop.on {
    background: url(../image/images/company_product_shop2.png) center center no-repeat;
}

.company_pro_product .company_pro_pro_send {
    width: 142px;
    height: 33px;
    line-height: 33px;
    background-color: #fff;
    border: 1px solid #E3E3E3;
    -webkit-border-radius: 16px;
    -moz-border-radius: 16px;
    border-radius: 16px;
    color: #979797;
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -15px;
    text-align: center;
}

.company_pro_product .company_pro_pro_send:hover {
    background-color: #4fc2b8;
    border-color: #4fc2b8;
    color: #fff;
}

.company_product .company_new_page {
    width: 100%;
    height: 120px;
    padding-top: 25px;
}

.company_product .company_new_page .company_new_page_div {
    float: right;
}

@media (max-width: 992px) {
    #company_product .company_product{
        padding-top: 0;
    }
    .company_product>.d-flex-between{
        flex-direction: column;
    }
    .company_pro_categories{
        width: 100%;
    }
    .company_product .company_pro_product{
        width: 100%;
    }
    .company_pro_categories .company_pro_cat_url{
        height: unset;
        max-height: 400px;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .company_pro_cat_url a{
        padding: 20px;
        font-size: 14px;
        line-height: 18px;
    }
    .company_product .company_pro_product{
        gap: 30px 1%;
    }
    .company_pro_product li{
        width: calc((100% - 1%) / 2);
    }
    .company_pro_product li > div > a{
        padding: 0;
    }
    .company_pro_product .company_pro_pro_p{
        font-size: 14px;
        line-height: 20px;
        height: 40px;
        margin-bottom: 30px;
    }
    .company_pro_product .company_pro_pro_send{
        font-size: 14px;
    }
}

