/*
 * CHK-06 (z8udzkmp65): product block above the Status row on My Account > View subscription.
 * CHK-07 (z8udzkmp67): Product column on My Account > Subscriptions.
 * Markup: woocommerce/subscription-product-summary.php. Text keeps the page's own font,
 * size and colour (inherited); only layout is set here.
 */

.woocommerce-MyAccount-content .bonza-subscription-products {
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
}

.woocommerce-MyAccount-content .bonza-subscription-product {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0;
	padding: 0;
}

.woocommerce-MyAccount-content .bonza-subscription-product + .bonza-subscription-product {
	margin-top: 12px;
}

.woocommerce-MyAccount-content .bonza-subscription-product__image {
	flex: 0 0 auto;
	width: 80px;
}

.woocommerce-MyAccount-content .bonza-subscription-product__image img {
	display: block;
	width: 80px;
	height: 80px;
	object-fit: contain;
	margin: 0;
}

.woocommerce-MyAccount-content .bonza-subscription-products .bonza-subscription-product__name {
	min-width: 0;
	overflow-wrap: anywhere;
	font-weight: 600;
}

.woocommerce-MyAccount-content .bonza-subscription-product__qty {
	white-space: nowrap;
}

/* List: one product per line inside the cell. */
.woocommerce-MyAccount-content td.subscription-product .bonza-subscription-product__name {
	display: block;
	overflow-wrap: anywhere;
}

@media (max-width: 480px) {
	.woocommerce-MyAccount-content .bonza-subscription-product__image,
	.woocommerce-MyAccount-content .bonza-subscription-product__image img {
		width: 64px;
		height: 64px;
	}
}
