/* product-item.css — Product card image fit */

.single__product .product_img {
    position: relative;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    padding-bottom: 0;
    overflow: hidden;
    background: #f3f4f6;
    flex-shrink: 0;
}

@supports not (aspect-ratio: 1 / 1) {
    .single__product .product_img {
        height: 0;
        padding-bottom: 100%;
    }
}

.single__product .product_img a {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    display: block;
    overflow: hidden;
    line-height: 0;
}

.single__product .product_img img,
.single__product .product_img a img,
.owl-carousel .owl-item .single__product .product_img img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    object-fit: cover !important;
    object-position: center center !important;
    border: none !important;
}

.single__product .single_product__inner {
    overflow: hidden;
}

.single__product {
    overflow: hidden;
}
