/*
 * DDALSHOP catalog images - v1.1
 * Keep the image wrapper full-width inside Flatsome's flex product card.
 * Keep the link and image in normal flow so their size cannot collapse.
 */

body.ddalshop-shop-archive .ddal-product-card__box > .ddal-product-card__image-wrap {
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
    margin: 0;
}

body.ddalshop-shop-archive .ddal-product-card__image-wrap > .ddal-product-card__image {
    position: relative;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    background: #fff;
}

body.ddalshop-shop-archive .ddal-product-card__image > a {
    position: relative;
    inset: auto;
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
}

body.ddalshop-shop-archive .ddal-product-card__image > a > img {
    position: static;
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    object-position: center;
}
