/*
 * Pixel 6.1 single-product compatibility patch.
 * Deliberately scoped to related product sliders only.
 */

/*
 * Pixel grid thumbnails have max-width:100% globally, but no width:100%.
 * On a one-column mobile slide this leaves a large empty area beside images
 * whose intrinsic width is smaller than the card. Force only these related
 * product thumbnails to occupy the card width while preserving aspect ratio.
 */
.pixel-classic-related-grid .pixel-download-grid-widget > .relative.rounded-t-xl,
.pixel-classic-related-grid .pixel-download-grid-widget > .relative.rounded-t-xl > a,
.pixel-classic-related-grid .pixel-download-grid-widget > .relative.rounded-t-xl figure {
    width: 100%;
}

.pixel-classic-related-grid .pixel-download-grid-widget > .relative.rounded-t-xl figure img {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
}

/* Prevent an uninitialized category from briefly behaving like a free-width row. */
.pixel-classic-related-grid > .swiper-wrapper > .swiper-slide {
    min-width: 0;
}
