/* Remove Storefront breadcrumbs from WooCommerce screens to reclaim space. */
body.woocommerce-cart .storefront-breadcrumb,
body.woocommerce-checkout .storefront-breadcrumb,
body.woocommerce-account .storefront-breadcrumb {
	display: none;
}

.woocommerce.archive .woocommerce-products-header,
.storefront-full-width-content.woocommerce.archive .woocommerce-products-header {
	margin-bottom: 0;
	padding-bottom: 1.25rem;
}

.woocommerce.archive .woocommerce-products-header__title.page-title {
	margin-bottom: 0.3rem;
	font-size: clamp(2rem, 4vw, 2.75rem);
	line-height: 1.12;
}

.woocommerce.archive .term-description,
.woocommerce.archive .term-description p:last-child {
	margin-bottom: 0;
}

.woocommerce.archive .storefront-sorting {
	margin: 0 0 1.5rem;
}

.woocommerce.archive .storefront-sorting .woocommerce-ordering,
.woocommerce.archive .storefront-sorting .woocommerce-result-count {
	display: none;
}

/* Give every catalog product image an equal stage without stretching it. */
.woocommerce.archive ul.products li.product img {
	display: block;
	width: 100%;
	height: clamp(260px, 30vw, 380px);
	margin-bottom: 1.25rem;
	object-fit: contain;
	object-position: center bottom;
}

@media (max-width: 767px) {
	.woocommerce.archive .woocommerce-products-header,
	.storefront-full-width-content.woocommerce.archive .woocommerce-products-header {
		padding-bottom: 1rem;
	}

	.woocommerce.archive .woocommerce-products-header__title.page-title {
		font-size: clamp(1.85rem, 10vw, 2.35rem);
	}

	.woocommerce.archive .storefront-sorting {
		margin-bottom: 1.25rem;
	}

	.woocommerce.archive ul.products li.product img {
		height: clamp(240px, 80vw, 340px);
		margin-bottom: 1rem;
	}
}
