.rdb-block-item--garment {
	position: relative;
}

.rdb-block-item--garment .wc-block-components-product-name {
	font-weight: 600;
}

.rdb-block-item--garment .wc-block-components-product-details {
	line-height: 1.45;
}

.rdb-block-item--config-master > td {
	border-top: 2px solid #1d4ed8 !important;
	background: rgba(29, 78, 216, .035);
}

.rdb-block-item--config-master > td:first-child,
.rdb-block-item--config-member > td:first-child {
	border-left: 1px solid rgba(29, 78, 216, .28) !important;
}

.rdb-block-item--config-master > td:last-child,
.rdb-block-item--config-member > td:last-child {
	border-right: 1px solid rgba(29, 78, 216, .28) !important;
}

.rdb-block-item--config-member > td {
	background: rgba(29, 78, 216, .018);
}

.rdb-block-item--config-last > td {
	border-bottom: 2px solid rgba(29, 78, 216, .38) !important;
}

.rdb-block-item--config-master .wc-block-components-product-name,
.rdb-block-item--config-member .wc-block-components-product-name {
	display: inline-block;
}

.rdb-block-item--config-member .wc-block-components-product-name {
	font-size: .95em;
}

@media (max-width: 700px) {
	.rdb-block-item--config-master > td,
	.rdb-block-item--config-member > td {
		border-left: 0 !important;
		border-right: 0 !important;
	}
}

.rdb-block-item--garment .wc-block-components-product-details {
	display: grid;
	gap: .2rem;
	font-size: .86em;
}

.rdb-block-item--config-member .wc-block-components-product-name {
	font-size: inherit;
}

.rdb-block-summary {
	display: grid;
	gap: .5rem;
	padding-top: .85rem;
	padding-bottom: .85rem;
	border-top: 1px solid rgba(17, 24, 39, .12);
}

.rdb-block-summary__heading {
	font-size: .85rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .04em;
}

.rdb-block-summary__rows {
	display: grid;
	gap: .35rem;
}

.rdb-block-summary__row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	font-size: .9rem;
}

.rdb-block-summary__row strong {
	white-space: nowrap;
}

.rdb-block-summary__row.is-subtotal {
	color: #475467;
}

.rdb-block-summary__row.is-saving strong {
	color: #067647;
}

.rdb-block-summary__row.is-net {
	font-weight: 600;
}

.rdb-block-summary > small {
	color: #667085;
	font-size: .75rem;
}

/* 0.7.0-beta.7: the optional builder pricing explanation is collapsed. */
.rdb-block-summary > summary {
	padding: .65rem 0;
	color: #1d4ed8;
	font-size: .88rem;
	font-weight: 700;
	cursor: pointer;
}

.rdb-block-summary[open] > summary {
	margin-bottom: .35rem;
}

.rdb-block-summary__details > summary {
	padding: .65rem 0;
	color: #1d4ed8;
	font-size: .88rem;
	font-weight: 700;
	cursor: pointer;
}

.rdb-block-summary__details[open] > summary {
	margin-bottom: .35rem;
}

/* 0.8.0-beta.8: WooCommerce Blocks inserts visual slash separators between
 * item-data values. Decoration Builder presents every field on its own line. */
.rdb-block-item--garment .wc-block-components-product-details > span[aria-hidden="true"] {
	display: none !important;
}

/* 0.9.0-beta.9: clean item metadata and match WooCommerce totals padding. */
.rdb-block-item--garment .wc-block-components-product-details span[aria-hidden="true"] {
	display: none !important;
}

.rdb-block-item--garment .wc-block-components-product-details > span {
	display: block;
}

.rdb-block-summary {
	padding: 0;
}

.rdb-block-summary__details > summary,
.rdb-block-summary__heading,
.rdb-block-summary__rows,
.rdb-block-summary__details > small {
	padding-right: 16px;
	padding-left: 16px;
}

.rdb-block-summary__details > summary {
	padding-top: .75rem;
	padding-bottom: .75rem;
}

.rdb-block-summary__details > small {
	display: block;
	padding-top: .55rem;
	padding-bottom: .75rem;
}
