/**
 * Product Image Size Fix
 * Forces the main product image to take full width
 */

/* Override any inline styles or plugin constraints */
.splot-product-images-wrapper .woocommerce-product-gallery,
.splot-product-images-wrapper .woocommerce-product-gallery *,
.woocommerce div.product div.images,
.woocommerce div.product div.images * {
	max-width: none !important;
}

/* Ensure full width for the gallery */
.splot-product-images-wrapper .woocommerce-product-gallery,
.splot-product-images-wrapper .woocommerce-product-gallery__wrapper {
	width: 100% !important;
}

/* Main featured image should be full width */
.splot-product-images-wrapper .woocommerce-product-gallery__wrapper > div:first-child,
.splot-product-images-wrapper .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:first-child {
	width: 100% !important;
	max-width: 100% !important;
}

/* All gallery images */
.splot-product-images-wrapper .woocommerce-product-gallery__image img {
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
}

/* Override zoom image if present */
.splot-product-images-wrapper .zoomImg {
	max-width: none !important;
}

/* Ensure all thumbnails are the same size (including first one) */
.splot-thumbnails-horizontal-scroll .woocommerce-product-gallery__image {
	width: 80px !important;
	min-width: 80px !important;
	max-width: 80px !important;
	flex: 0 0 80px !important;
}

.splot-thumbnails-horizontal-scroll .woocommerce-product-gallery__image img {
	width: 80px !important;
	height: 80px !important;
	object-fit: cover !important;
}
