/* Description images: all screen sizes */
#productDescription img[src*="/products_des/"],
#productDescription ~ * img[src*="/products_des/"] {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto 24px; /* space after each image */
}

/* Mobile */
@media (max-width: 768px) {
    #productDescription img[src*="/products_des/"],
    #productDescription ~ * img[src*="/products_des/"] {
        width: auto; /* cancels any fixed width or width:100% upscaling */
        max-width: 100%;
        max-height: 70vh; /* optional: stops tall images filling the screen */
        object-fit: contain;
        margin-bottom: 20px;
    }
}
