/* Each voucher carries its own details in WooCommerce's item-data list. */
:is(.xoo-wsc-product, .fc-wrapper #order_review table.woocommerce-checkout-review-order-table tr.cart_item) dl.variation:has(.jgbon-cart-value) {
	display: grid !important;
	grid-template-columns: max-content minmax(0, 1fr);
	align-items: baseline;
	gap: 4px 12px;
	width: 100%;
	margin: 9px 0 0 !important;
	padding: 0 !important;
	font-size: 14px;
	line-height: 1.45;
	text-align: left;
}

:is(.xoo-wsc-product, .fc-wrapper #order_review table.woocommerce-checkout-review-order-table tr.cart_item) dl.variation:has(.jgbon-cart-value) > :is(dt, dd) {
	display: block !important;
	float: none !important;
	clear: none;
	width: auto !important;
	min-width: 0;
	margin: 0 !important;
	padding: 0 !important;
	color: #383c38;
	font: inherit;
	overflow-wrap: anywhere;
}

:is(.xoo-wsc-product, .fc-wrapper #order_review table.woocommerce-checkout-review-order-table tr.cart_item) dl.variation:has(.jgbon-cart-value) > dt {
	color: #435348;
	font-weight: 600;
}

:is(.xoo-wsc-product, .fc-wrapper #order_review table.woocommerce-checkout-review-order-table) dd:has(.jgbon-cart-value) p {
	margin: 0 !important;
	color: inherit;
	font: inherit;
}

.xoo-wsc-product:has(.jgbon-cart-value) .xoo-wsc-pname {
	display: block;
	font-weight: 700;
	color: #213923;
}

.xoo-wsc-product:has(.jgbon-cart-value) .xoo-wsc-pname small,
.xoo-wsc-product:has(.jgbon-cart-value) .xoo-wsc-pname small + br {
	display: none !important;
}

.xoo-wsc-product:has(.jgbon-cart-value) .xoo-wsc-sm-info {
	align-items: flex-start;
	gap: 10px;
}

.xoo-wsc-product:has(.jgbon-cart-value) .xoo-wsc-sm-left {
	flex: 1;
	min-width: 0;
}

.xoo-wsc-product:has(.jgbon-cart-value) .xoo-wsc-sm-right {
	flex: 0 0 auto;
	align-self: flex-start;
}

.xoo-wsc-product:has(.jgbon-cart-value) .xoo-wsc-sml-qty {
	margin-top: 10px;
	font-size: 14px;
}


/* Keep the spanning table cell so the details can use the complete summary width. */
.fc-wrapper #order_review table.woocommerce-checkout-review-order-table tr.cart_item:has(.jgbon-cart-value) > td {
	position: relative;
	padding: 14px 20px !important;
}

.fc-wrapper #order_review tr.cart_item:has(.jgbon-cart-value) :is(.product-name, .product-details) {
	display: block !important;
	float: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.fc-wrapper #order_review tr.cart_item:has(.jgbon-cart-value) .jgbon-cart-title {
	display: block;
	padding-right: 6em;
	color: #213923;
	font-weight: 700;
	line-height: 1.35;
	overflow-wrap: anywhere;
}

.fc-wrapper #order_review table.woocommerce-checkout-review-order-table tr.cart_item:has(.jgbon-cart-value) .product-total {
	position: absolute;
	top: 14px;
	right: 20px;
	width: auto !important;
	padding: 0 !important;
	white-space: nowrap;
	font-weight: 700;
	line-height: 1.35;
}

.fc-wrapper #order_review tr.cart_item:has(.jgbon-cart-value) .cart-item__meta {
	width: 100%;
	padding: 0;
}

.fc-wrapper #order_review table.woocommerce-checkout-review-order-table tr.cart_item:has(.jgbon-cart-value) :is(.product-name > img, .product-quantity, .cart-item__price),
.fc-wrapper #order_review table.woocommerce-checkout-review-order-table tr.cart_item dl.variation:has(.jgbon-cart-value) > .variation-Bedrag {
	display: none !important;
}

.fc-wrapper #order_review tr.cart_item dl.variation:has(.jgbon-cart-value),
.fc-wrapper #order_review tr.cart_item dl.variation:has(.jgbon-cart-value) * {
	font-size: 14px !important;
}

.jgbon-empty-checkout {
	box-sizing: border-box;
	max-width: 38rem;
	margin: 2rem auto;
	padding: clamp(1.25rem, 4vw, 3rem);
	display: grid;
	justify-items: center;
	gap: 1rem;
	text-align: center;
	background: #f1f5ef;
	border: 1px solid #d5dfd2;
	border-radius: 1rem;
}
.jgbon-empty-checkout h2 { margin: 0; color: #203c24; }
.jgbon-empty-checkout a { color: #203c24; }
.jgbon-empty-checkout .jgbon-empty-action {
	padding: .8rem 1.6rem;
	border-radius: 2rem;
	background: #ae111a;
	color: white;
	font-weight: 700;
	text-transform: uppercase;
	text-decoration: none;
}
