/*
 * Изображения товаров публичного магазина.
 * Не затрагивает административные страницы.
 */

.pn-page .pn-product .pn-product-art {
    position: relative;
    isolation: isolate;
    display: grid;
    place-items: center;
    box-sizing: border-box;
    width: 100%;
    height: auto;
    min-height: 180px;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.pn-page .pn-product .pn-product-art > .pn-product-image {
    position: relative;
    z-index: 1;
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 18px;
    object-fit: contain;
    object-position: center;
}

.pn-page .pn-product .pn-product-art > .pn-product-glyph {
    position: relative;
    z-index: 1;
    display: block;
    line-height: 1;
    user-select: none;
}