/* Product and category image fit corrections, 2026-09-15. */
.woocommerce ul.products li.product a img,
.woocommerce ul.products li.product .woocommerce-loop-product__link img {
	aspect-ratio: 1 / 1 !important;
	background: #fff !important;
	box-sizing: border-box !important;
	display: block !important;
	height: auto !important;
	margin-bottom: 1rem !important;
	object-fit: contain !important;
	object-position: center !important;
	padding: 0.85rem !important;
	width: 100% !important;
}

.category-card {
	grid-template-columns: minmax(0, 1fr) min(46%, 180px) !important;
}

.category-image {
	background: #f7f8f4 !important;
}

.category-image img {
	background: #f7f8f4 !important;
	box-sizing: border-box !important;
	height: 100% !important;
	object-fit: contain !important;
	object-position: center !important;
	padding: 0.65rem !important;
	width: 100% !important;
}

.category-image::after {
	background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.88) 18%, rgba(255, 255, 255, 0) 58%) !important;
}

.single-product div.product .woocommerce-product-gallery__image {
	background: #fff;
	border-radius: 1rem;
	overflow: hidden;
}

.single-product div.product .woocommerce-product-gallery__image > a {
	display: flex;
	justify-content: center;
}

.single-product div.product .woocommerce-product-gallery__image img {
	box-sizing: border-box;
	display: block;
	height: auto !important;
	max-height: 680px;
	object-fit: contain !important;
	object-position: center !important;
	padding: 1rem;
	width: 100% !important;
}

.single-product .flex-control-thumbs img {
	aspect-ratio: 1 / 1;
	background: #fff;
	box-sizing: border-box;
	object-fit: contain;
	padding: 0.35rem;
}

@media (max-width: 560px) {
	.category-card {
		grid-template-columns: minmax(0, 1fr) 42% !important;
	}

	.category-card-copy {
		padding-left: 1.1rem;
	}

	.woocommerce ul.products li.product a img,
	.woocommerce ul.products li.product .woocommerce-loop-product__link img {
		padding: 0.55rem !important;
	}
}
