/* Springtime BOGO Deals – front end */

.wc-bogo-badge {
	display: inline-block;
	margin: 0 0 0 0.5em;
	padding: 0.2em 0.65em;
	border-radius: 999px;
	background: #1f7a3a;
	color: #fff;
	font-size: 0.72em;
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: 0.01em;
	vertical-align: middle;
	white-space: normal;
}

.woocommerce-variation-price .wc-bogo-badge,
.single_variation > .wc-bogo-badge {
	margin: 0.4em 0 0;
}

.wc-bogo-price del {
	opacity: 0.6;
	margin-right: 0.25em;
}

.wc-bogo-price ins {
	text-decoration: none;
	font-weight: 600;
}

.wc-bogo-free {
	color: #1f7a3a;
	font-weight: 700;
}

.wc-bogo-qty {
	display: inline-block;
	min-width: 2.5em;
	text-align: center;
}

tr.wc-bogo-reward-item td {
	background-color: rgba(31, 122, 58, 0.05);
}

/* "FREE" tag after the reward line's product name (cart, mini-cart, checkout). */
.wc-bogo-free-tag {
	color: #b0302a;
	white-space: nowrap;
}

.wc-bogo-free-total {
	text-transform: uppercase;
}

/*
 * Div-based custom cart templates (e.g. a theme's woocommerce/cart/cart.php built
 * from <div class="cart-item">): show the free line like a bonus gift —
 * name + FREE, "Total Price: FREE", "Quantity: 1", no unit price, no Update/remove.
 * Scoped to div rows so the standard table cart keeps its columns.
 */
div.wc-bogo-reward-item .product-price,
div.wc-bogo-reward-item .cart-item-btn-con,
div.wc-bogo-reward-item .product-remove {
	display: none !important;
}

div.wc-bogo-reward-item .product-quantity .quantity-con {
	white-space: nowrap;
}

div.wc-bogo-reward-item .product-quantity .quantity-label {
	display: inline;
	margin: 0;
}

div.wc-bogo-reward-item .product-quantity .wc-bogo-qty {
	display: inline;
	min-width: 0;
	text-align: left;
	color: rgba(0, 0, 0, 0.5);
	font-weight: 500;
}
