/*!
 * Petalcraft 3D Print Calculator
 * Copyright (C) 2026 A and A Kungsten AB. All rights reserved.
 * This file is NOT covered by the GNU General Public License. Copying for
 * others, redistribution and resale are forbidden: licenses/ASSETS-LICENSE.txt
 */
/*
 * Petalcraft 3D Print Calculator: the rows of a 3D print in the block cart
 * and checkout (file, material, colour, ...) in one calm green frame, so they
 * read as the customer's own choices (D-142). The shop's theme may set
 * --pc3d-cart-frame; otherwise the theme's --lime, then a plain green.
 */
.wc-block-components-product-details:has(> .pc3d-detail) {
	--pc3d-cart-frame-color: var(--pc3d-cart-frame, var(--lime, #19b84a));
	display: block;
	margin: 6px 0 8px;
	padding: 8px 12px;
	border: 1px solid var(--pc3d-cart-frame-color);
	border-radius: 6px;
	background: color-mix(in srgb, var(--pc3d-cart-frame-color) 6%, transparent);
	line-height: 1.6;
}

.wc-block-components-product-details:has(> .pc3d-detail) .wc-block-components-product-details__name {
	font-weight: 600;
}
