/* Product archive: uniform product cards — 2026-11-10 */
.woocommerce-container .product-wrapper {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff;
	border-radius: 16px;
	padding: 14px 12px 18px;
	box-sizing: border-box;
	box-shadow: 0 4px 18px rgba(0, 22, 137, .06);
}

.woocommerce-container .product-wrapper .product-thumbnail {
	width: 240px;
	height: 240px;
	max-width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	margin: 0 auto 12px;
	border-radius: 12px;
	background: #fff;
}

.woocommerce-container .product-wrapper .product-thumbnail a {
	display: block;
	width: 100%;
	height: 100%;
}

/* cover so portrait images also fill the box; square images are unaffected */
.woocommerce-container .product-wrapper .product-thumbnail img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	object-position: center;
}

.woocommerce-container .product-wrapper .product-title {
	min-height: 54px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	margin-bottom: 10px;
}

/* article card inside the grid */
.woocommerce-container .category-page-post-wrapper {
	display: flex;
	flex-direction: column;
	height: 100%;
	background: #fff !important;
	border: 1px solid #eef1f8;
	border-radius: 16px;
	padding: 14px 12px 18px;
	box-sizing: border-box;
	box-shadow: 0 4px 18px rgba(0, 22, 137, .06);
}

.woocommerce-container .category-page-post-thumbnail {
	width: 240px;
	height: 240px;
	max-width: 100%;
	margin: 0 auto 12px;
	overflow: hidden;
	border-radius: 12px;
	background: #fff !important;
}

.woocommerce-container .category-page-post-thumbnail img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
}

.woocommerce-container .category-page-post-content {
	background: #fff !important;
	padding: 0 !important;
	min-height: 54px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.woocommerce-container .category-page-post-content .post-title2 {
	color: #001689 !important;
	font-size: 15px !important;
	font-weight: 600;
}

@media only screen and (max-width: 767px) {
	.woocommerce-container .product-wrapper,
	.woocommerce-container .category-page-post-wrapper { padding: 10px 8px 14px; }
	.woocommerce-container .product-wrapper .product-thumbnail,
	.woocommerce-container .category-page-post-thumbnail { width: 160px; height: 160px; }
	.woocommerce-container .product-wrapper .product-title,
	.woocommerce-container .category-page-post-content { min-height: 46px; }
}

/* Move article cards below all products in the category grid */
.woocommerce-container .new-container {
	display: flex !important;
	flex-wrap: wrap !important;
}

.woocommerce-container .new-container > .product-wrapper { order: 1 !important; }

.woocommerce-container .new-container > .category-page-post-wrapper {
	order: 2 !important;
	width: 33.3% !important;
	margin: 0 !important;
	padding: 0 6px !important;
	box-sizing: border-box;
}

@media only screen and (max-width: 767px) {
	.woocommerce-container .new-container > .category-page-post-wrapper { width: 90% !important; margin: 0 auto !important; }
}
