/**
 * JezPress Woo Gravity Forms Product Add-ons — front end.
 */

/* Gravity Forms' multi-file button floats, which breaks the cart form layout. */
.single-product div.product form.cart .button.gform_button_select_files {
	float: none;
}

/*
 * `hidden-total` is the documented CSS class merchants add to a Gravity Forms
 * Total field, because this plugin renders its own totals block below.
 */
form.cart .hidden-total {
	display: none !important;
}

/* Product totals block */
form.cart .product_totals {
	margin: 20px 0 40px 0;
	padding: 20px 0 0 0;
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
	overflow: hidden;
}

form.cart .product_totals ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

form.cart .product_totals ul li {
	list-style: none;
	display: flex;
	justify-content: space-between;
	padding: 5px 0;
}

form.cart .product_totals ul li.wcgfpa_grand_total {
	justify-content: flex-end;
	border-top: 1px solid #eee;
	padding: 10px 0;
	margin-top: 20px;
}

form.cart .product_totals ul li.wcgfpa_grand_total p.price {
	margin: 0;
}

/*
 * Definition lists in the cart item meta: Gravity Forms bulleted lists inside a
 * <dd> float by default and escape the cart table cell.
 */
dd ul.bulleted {
	float: none;
	clear: both;
}
