/* Category artwork: preserve source pixels while framing the subject consistently. */
.pm-category-art,
.easycatalogimg .parent-category-wrapper > .image.pm-category-art {
    position: relative;
    display: block;
    width: 100%;
    height: auto !important;
    min-width: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #fff;
    flex: none;
    border-radius: 3px;
}
.pm-category-art > img,
.easycatalogimg .parent-category-wrapper .pm-category-art > img,
.catalog-category-view .category-image.pm-category-art > img {
    position: absolute !important;
    display: block;
    width: var(--pm-img-width, 100%) !important;
    height: var(--pm-img-height, 100%) !important;
    left: var(--pm-img-left, 0%);
    top: var(--pm-img-top, 0%);
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain;
    mix-blend-mode: normal;
    transform: none;
}
.easycatalogimg .parent-category-wrapper { background: #fff; }
.easycatalogimg .category-name a { overflow-wrap: anywhere; }
.catalog-category-view .category-image.pm-category-art {
    width: min(100%, 440px);
    max-width: 440px;
    margin: 0 auto 24px;
}
@media (max-width: 767px) {
    .easycatalogimg .parent-category-wrapper { padding: 10px; }
    .pm-category { padding: 10px; }
    .easycatalogimg .category-name { line-height: 1.25; }
    .catalog-category-view .category-image.pm-category-art {
        width: min(100%, 300px);
        max-width: 300px;
    }
}
