/* Conditional Configurator: build lines in the Cart, Checkout and Mini-Cart blocks. */

/* The parts as a two-column list: the part name on the left in bold and the
   chosen option on the right, lined up, one part per row. The blocks print
   each part as "Name: value / ", so each part's wrapper steps aside
   (display: contents) and its name and value become the grid's cells. */
.condcfg-item .wc-block-components-product-details {
	display: grid;
	grid-template-columns: max-content minmax(0, 1fr);
	column-gap: 0.75em;
	row-gap: 0.15em;
	margin-top: 0.4em;
}

.condcfg-item .wc-block-components-product-details > span {
	display: contents;
}

.condcfg-item .wc-block-components-product-details__name {
	font-weight: 600;
}

.condcfg-item .wc-block-components-product-details__value {
	overflow-wrap: break-word;
}

/* The " / " between parts. */
.condcfg-item .wc-block-components-product-details span[aria-hidden="true"] {
	display: none;
}

/* The parts say what the build is, so the short description is left out. */
.condcfg-item .wc-block-components-product-metadata__description {
	display: none;
}
