/* Product category cards share a 4:3 frame regardless of source size. */
.product-main .product-content .right .cp-zl ul.product-card-grid,
.cpBox ul.product-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    padding: 0 5px;
}
.cpBox ul.product-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 0 12px 2em;
}
ul.product-card-grid::before,
ul.product-card-grid::after { display: none; }
.product-main .product-content .right .cp-zl ul.product-card-grid > li,
.cpBox ul.product-card-grid > li {
    float: none;
    width: auto;
    min-width: 0;
    margin: 0;
}
.product-card-grid .product-card-image {
    display: block;
    position: relative;
    aspect-ratio: 4 / 3;
    box-sizing: border-box;
    border: 1px solid #e8e8e8;
    background: #fff;
    overflow: hidden;
}
.product-card-grid .product-card-image img {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border: 0;
    box-shadow: none;
}
.product-main .product-content .right ul.product-card-grid li:hover .cp-img img {
    transform: none;
}
.product-card-grid .db-title,
.cpBox ul.product-card-grid li h5 {
    box-sizing: border-box;
    padding: 0 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Keep the home page card spacing and existing carousel proportions. */
.product > ul.product-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px 48px;
}
.product > ul.product-card-grid > li {
    float: none;
    width: auto;
    min-width: 0;
    margin: 0;
}
.product > ul.product-card-grid > li .bt {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.product > ul.product-card-grid li .img:hover img,
.news .divdgweb_new_div_item:hover .news_div_item_pic img { transform: none; }
.cpBox .cpCont.product-card-grid li img { border: 0; box-shadow: none; }

.plant .dg-wrapper a img,
.clientele .content li .pic img,
.ryzz .nr ul li .img img,
.news .news_div_item_pic img,
.Related-products ul li .xg-img img {
    display: block;
    object-fit: contain;
    object-position: center;
    background-color: #fff;
}
.clientele .content li .pic img { aspect-ratio: 4 / 3; }
.clientele .content li p {
    padding: 0 4px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.news .news_div_item_pic img { height: 212px; }
.new-list .download-info .download-img a {
    display: block;
    position: relative;
    aspect-ratio: 4 / 3;
    width: 80%;
    margin: 0 auto;
    background-color: #fff;
}
.new-list .download-info .download-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.Related-products ul li .db-wb {
    line-height: 24px;
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
