/* Ad Image Fixes */
.ad-image-container {
    width: 130px;
    height: 100px;
    position: relative;
    overflow: hidden;
    background-color: #f8f9fa;
    margin: 0 auto;
    /* Center in col if needed */
}

/* Remove media query as we want consistent small size */

.ad-image-container img.ad-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
}

/* Detail view main image */
#mainImage {
    object-fit: contain;
    /* Keep whole image visible */
    background-color: #f0f0f0;
    /* Light gray background for empty space */
}

/* Thumbnails */
.thumbnails img {
    object-fit: cover;
}