.rea-bogo-badge {
	margin-top: var(--wp--preset--spacing--3-xs, 0.35rem);
}

.rea-bogo-badge__label {
	background-color: color-mix(in srgb, var(--wp--preset--color--vert, hsla(142, 71%, 36%, 1)) 12%, white);
	border: 1px solid var(--wp--preset--color--vert, hsla(142, 71%, 36%, 1));
	border-radius: 999px;
	color: var(--wp--preset--color--vert, hsla(142, 71%, 36%, 1));
	display: inline-block !important;
	font-size: var(--wp--preset--font-size--minus-2, 0.8rem);
	font-weight: 600;
	line-height: 1.5;
	text-transform: none;
	white-space: nowrap;
	padding: var(--wp--preset--spacing--3-xs, 0.3rem) var(--wp--preset--spacing--xs, 1rem);
	margin-top: var(--wp--preset--spacing--2-xs, 0.5rem);
}

/* -----
 * Adding Cursor Agent
 * -----
 * Cart promo group: mint header, outer green box, mobile-safe layout.
 * -----
 * ##AGENT_CODE
 */
.woocommerce-cart.reactif-cart-page .reactif-cart__table tbody tr.rea-bogo-promo-group__header td {
	background-color: color-mix(in srgb, var(--wp--preset--color--vert, hsla(142, 71%, 36%, 1)) 12%, white);
	border-color: var(--wp--preset--color--vert, hsla(142, 71%, 36%, 1)) !important;
	border-style: solid !important;
	border-width: 2px 2px 0 !important;
	color: var(--wp--preset--color--vert, hsla(142, 71%, 36%, 1));
	font-size: var(--wp--preset--font-size--minus-1, 0.9rem);
	font-weight: 700;
	line-height: 1.4;
	padding: var(--wp--preset--spacing--2-xs, 0.5rem) var(--wp--preset--spacing--s, 1rem);
	text-align: left !important;
}

.woocommerce-cart.reactif-cart-page .reactif-cart__table tbody tr.rea-bogo-promo-group__header .rea-bogo-promo-group__header-label {
	color: var(--wp--preset--color--vert, hsla(142, 71%, 36%, 1));
	display: block;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
	text-align: left;
}

.woocommerce-cart.reactif-cart-page .reactif-cart__table tbody tr.cart_item.rea-bogo-promo-group__item {
	border-bottom: none;
}

/* Outer green box only — not on every cell (avoids column dividers). */
.woocommerce-cart.reactif-cart-page .reactif-cart__table tbody tr.cart_item.rea-bogo-promo-group__item td {
	border-bottom: none !important;
	border-top: none !important;
	border-left: none !important;
	border-right: none !important;
}

.woocommerce-cart.reactif-cart-page .reactif-cart__table tbody tr.cart_item.rea-bogo-promo-group__item td:first-child {
	border-left: 2px solid var(--wp--preset--color--vert, hsla(142, 71%, 36%, 1)) !important;
}

.woocommerce-cart.reactif-cart-page .reactif-cart__table tbody tr.cart_item.rea-bogo-promo-group__item td:last-child {
	border-right: 2px solid var(--wp--preset--color--vert, hsla(142, 71%, 36%, 1)) !important;
}

.woocommerce-cart.reactif-cart-page .reactif-cart__table tbody tr.cart_item.rea-bogo-promo-group__item--last td {
	border-bottom: 2px solid var(--wp--preset--color--vert, hsla(142, 71%, 36%, 1)) !important;
}

.woocommerce-cart.reactif-cart-page .reactif-cart__table tbody tr.cart_item.rea-bogo-promo-group__item .product-remove .remove {
	display: none;
}

@media (max-width: 768px) {
	/* Header must be block when tbody is block; kill WC responsive ": " pseudo. */
	.woocommerce-cart.reactif-cart-page .reactif-cart__table tbody tr.rea-bogo-promo-group__header {
		display: block;
		width: 100%;
		box-sizing: border-box;
		border: 2px solid var(--wp--preset--color--vert, hsla(142, 71%, 36%, 1));
		border-bottom: none;
		background-color: color-mix(in srgb, var(--wp--preset--color--vert, hsla(142, 71%, 36%, 1)) 12%, white);
		margin: 0;
		padding: 0;
	}

	.woocommerce-cart.reactif-cart-page .reactif-cart__table tbody tr.rea-bogo-promo-group__header td,
	.woocommerce-cart.reactif-cart-page .reactif-cart__table.shop_table_responsive tbody tr.rea-bogo-promo-group__header td {
		display: block !important;
		width: 100% !important;
		max-width: 100%;
		box-sizing: border-box;
		border: none !important;
		background: transparent !important;
		padding: var(--wp--preset--spacing--2-xs, 0.5rem) var(--wp--preset--spacing--s, 1rem) !important;
		text-align: left !important;
	}

	.woocommerce-cart.reactif-cart-page .reactif-cart__table.shop_table_responsive tbody tr.rea-bogo-promo-group__header td::before {
		content: none !important;
		display: none !important;
	}

	/* Outer border on the grid row, not on each cell. */
	.woocommerce-cart.reactif-cart-page .reactif-cart__table tbody tr.cart_item.rea-bogo-promo-group__item {
		box-sizing: border-box;
		border-left: 2px solid var(--wp--preset--color--vert, hsla(142, 71%, 36%, 1));
		border-right: 2px solid var(--wp--preset--color--vert, hsla(142, 71%, 36%, 1));
		border-top: none;
		border-bottom: none;
		margin: 0;
		padding-left: var(--wp--preset--spacing--2-xs, 0.5rem);
		padding-right: var(--wp--preset--spacing--2-xs, 0.5rem);
	}

	.woocommerce-cart.reactif-cart-page .reactif-cart__table tbody tr.cart_item.rea-bogo-promo-group__item--first {
		border-top: none;
	}

	.woocommerce-cart.reactif-cart-page .reactif-cart__table tbody tr.cart_item.rea-bogo-promo-group__item--last {
		border-bottom: 2px solid var(--wp--preset--color--vert, hsla(142, 71%, 36%, 1));
	}

	.woocommerce-cart.reactif-cart-page .reactif-cart__table tbody tr.cart_item.rea-bogo-promo-group__item td,
	.woocommerce-cart.reactif-cart-page .reactif-cart__table tbody tr.cart_item.rea-bogo-promo-group__item td:first-child,
	.woocommerce-cart.reactif-cart-page .reactif-cart__table tbody tr.cart_item.rea-bogo-promo-group__item td:last-child,
	.woocommerce-cart.reactif-cart-page .reactif-cart__table tbody tr.cart_item.rea-bogo-promo-group__item--last td {
		border: none !important;
	}

	.woocommerce-cart.reactif-cart-page .reactif-cart__table tbody tr.cart_item.rea-bogo-promo-group__item .product-thumbnail {
		display: none;
	}

	.woocommerce-cart.reactif-cart-page .reactif-cart__table tbody tr.cart_item.rea-bogo-promo-group__item .product-remove {
		display: none;
	}

	.woocommerce-cart.reactif-cart-page .reactif-cart__table tbody tr.cart_item.rea-bogo-promo-group__item {
		grid-template-columns: 1fr auto;
		grid-template-areas:
			"name name"
			"price qty";
	}
}

@media screen and (max-width: 450px) {
	.woocommerce-cart.reactif-cart-page .reactif-cart__table tbody tr.cart_item.rea-bogo-promo-group__item {
		grid-template-areas:
			"name name"
			"price qty";
	}
}
/* ##AGENT_CODE */

.rea-bogo-qty {
	display: inline-block;
	font-weight: 600;
}

.woocommerce-cart-form .rea-bogo-badge,
.woocommerce-checkout-review-order-table .rea-bogo-badge {
	margin-top: var(--wp--preset--spacing--3-xs, 0.25rem);
}

td.product-name .rea-bogo-badge__label {
	display: table;
}

.coupon .rea-bogo-clear-promotions {
	margin-left: var(--wp--preset--spacing--2-xs, 0.5rem);
}

.cart-collaterals.reactif-cart__collaterals {
	align-items: flex-start;
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--m, 1.5rem) var(--wp--preset--spacing--l, 2rem);
	justify-content: flex-end;
	width: 100%;
}

.woocommerce .cart-collaterals::after,
.woocommerce .cart-collaterals::before,
.woocommerce-page .cart-collaterals::after,
.woocommerce-page .cart-collaterals::before {
	content: none;
}

.cart-collaterals.reactif-cart__collaterals .rea-bogo-reward-choices {
	flex: 1 1 0;
	margin: 0;
	min-width: min(100%, 18rem);
	width: auto;
}

.cart-collaterals.reactif-cart__collaterals .rea-bogo-reward-choices[hidden] {
	display: none !important;
	flex: 0;
	min-width: 0;
	width: 0;
}

.cart-collaterals.reactif-cart__collaterals .cart_totals {
	flex: 0 1 24rem;
	margin-left: auto;
	max-width: 24rem;
	width: 100%;
}

.rea-bogo-reward-choices[hidden] {
	display: none !important;
}

.rea-bogo-reward-choices__heading {
	color: var(--wp--preset--color--bleu-fonce, hsl(210, 100%, 20%));
	font-size: var(--wp--preset--font-size--2, 1.2656rem);
	font-weight: 600;
	margin: 0 0 var(--wp--preset--spacing--s, 1rem);
}

.rea-bogo-reward-choices__promo {
	border: 1px solid var(--wp--preset--color--gris, hsla(0, 0%, 94%, 1));
	border-radius: 4px;
	margin-bottom: var(--wp--preset--spacing--s, 1rem);
	padding-bottom: var(--wp--preset--spacing--s, 1rem);
	position: relative;
	width: 100%;
}

.rea-bogo-reward-choices__promo:last-child {
	margin-bottom: 0;
}

.rea-bogo-reward-choices__promo-header {
	margin-bottom: var(--wp--preset--spacing--s, 1rem);
}

.rea-bogo-reward-choices__promo-title {
	background-color: var(--wp--preset--color--bleu-fonce, hsl(210, 100%, 20%));
	color: #fff;
	font-size: var(--wp--preset--font-size--0, 1rem);
	font-weight: 600;
	margin: 0 0 var(--wp--preset--spacing--3-xs, 0.35rem);
	padding: var(--wp--preset--spacing--2-xs, 0.5rem);
}

.rea-bogo-reward-choices__budget {
	border-radius: 4px;
	color: var(--wp--preset--color--text, hsla(245, 27%, 10%, 1));
	display: inline-block;
	font-size: var(--wp--preset--font-size--minus-1, 0.875rem);
	margin: 0;
	padding: var(--wp--preset--spacing--3-xs, 0.35rem) var(--wp--preset--spacing--2-xs, 0.65rem);
}

.rea-bogo-reward-choices__promo.is-incomplete .rea-bogo-reward-choices__budget {
	background-color: color-mix(in srgb, var(--wp--preset--color--rouge, hsla(359, 99%, 57%, 1)) 14%, white);
	color: var(--wp--preset--color--rouge, hsla(359, 99%, 57%, 1));
	font-weight: 600;
}

.rea-bogo-reward-choices__promo.is-complete .rea-bogo-reward-choices__budget {
	background-color: color-mix(in srgb, var(--wp--preset--color--vert, hsla(142, 71%, 36%, 1)) 12%, white);
	color: var(--wp--preset--color--vert, hsla(142, 71%, 36%, 1));
	font-weight: 600;
}

.rea-bogo-reward-choices__list {
	display: grid;
	gap: var(--wp--preset--spacing--s, 1rem);
	grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.promo-wrapper {
	padding: 0 var(--wp--preset--spacing--s, 1rem);
}

.rea-bogo-reward-choices__item {
	border-radius: 4px;
	display: flex;
	flex-direction: column;
	gap: var(--wp--preset--spacing--2-xs, 0.65rem);
	margin-left: 0;
	min-width: 0;
	padding: var(--wp--preset--spacing--2-xs, 0.85rem);
}

.rea-bogo-reward-choices__item.is-disabled {
	opacity: 0.55;
}

.rea-bogo-reward-choices__media {
	align-items: center;
	display: flex;
	justify-content: center;
}

.rea-bogo-reward-choices__media img,
.rea-bogo-reward-choices__image {
	display: block;
	height: auto;
	max-height: 7rem;
	max-width: 100%;
	object-fit: contain;
	width: auto;
}

.rea-bogo-reward-choices__details {
	flex: 1 1 auto;
	min-width: 0;
	text-align: center;
}

.rea-bogo-reward-choices__name {
	color: var(--wp--preset--color--bleu-fonce, hsl(210, 100%, 20%));
	font-weight: 600;
	line-height: 1.3;
}

.rea-bogo-reward-choices__price {
	font-size: var(--wp--preset--font-size--minus-1, 0.9rem);
	margin-top: var(--wp--preset--spacing--3-xs, 0.35rem);
}

.rea-bogo-reward-choices__unavailable {
	color: color-mix(in srgb, var(--wp--preset--color--text, hsla(245, 27%, 10%, 1)) 55%, white);
	font-size: var(--wp--preset--font-size--minus-2, 0.8rem);
	margin-top: var(--wp--preset--spacing--3-xs, 0.2rem);
}

.rea-bogo-reward-choices__qty {
	display: flex;
	justify-content: center;
	margin-top: auto;
}

.rea-bogo-reward-choices .reactif-qty {
	align-items: center;
	display: inline-flex;
	gap: var(--wp--preset--spacing--2-xs, 0.5rem);
	justify-content: center;
}

.rea-bogo-reward-choices .reactif-qty__input .quantity {
	align-items: center;
	display: inline-flex;
	justify-content: center;
	margin: 0;
}

.rea-bogo-reward-choices .reactif-qty__input input.qty {
	appearance: textfield;
	-moz-appearance: textfield;
	background: transparent;
	border: none;
	color: var(--wp--preset--color--bleu-fonce, hsl(210, 100%, 20%));
	font-size: var(--wp--preset--font-size--1, 1.125rem);
	font-weight: 900;
	line-height: 1.2;
	text-align: center;
	width: 2.5rem;
}

.rea-bogo-reward-choices .reactif-qty__input input.qty::-webkit-outer-spin-button,
.rea-bogo-reward-choices .reactif-qty__input input.qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.rea-bogo-reward-choices .reactif-qty__btn {
	align-items: center;
	background: var(--wp--preset--color--gris, hsla(0, 0%, 94%, 1));
	border: none;
	border-radius: 50%;
	color: var(--wp--preset--color--bleu-fonce, hsl(210, 100%, 20%));
	cursor: pointer;
	display: inline-flex;
	flex: 0 0 1.9375rem;
	font-size: var(--wp--preset--font-size--1, 1.125rem);
	font-weight: 900;
	height: 1.9375rem;
	justify-content: center;
	line-height: 1;
	padding: 0;
	transition:
		transform 0.15s ease,
		background-color 0.15s ease;
	width: 1.9375rem;
}

.rea-bogo-reward-choices .reactif-qty__btn:hover,
.rea-bogo-reward-choices .reactif-qty__btn:focus-visible {
	background: color-mix(in srgb, var(--wp--preset--color--gris, hsla(0, 0%, 94%, 1)) 85%, var(--wp--preset--color--bleu-fonce, hsl(210, 100%, 20%)));
}

.rea-bogo-reward-choices .reactif-qty__btn:disabled {
	cursor: not-allowed;
	opacity: 0.5;
}

.rea-bogo-reward-choices .reactif-qty__btn span {
	display: block;
	margin-top: -0.1em;
}

.rea-bogo-reward-choices__error {
	background-color: color-mix(in srgb, var(--wp--preset--color--rouge, hsla(359, 99%, 57%, 1)) 14%, white);
	border-radius: 4px;
	color: var(--wp--preset--color--rouge, hsla(359, 99%, 57%, 1));
	font-size: var(--wp--preset--font-size--minus-1, 0.875rem);
	font-weight: 600;
	margin: var(--wp--preset--spacing--2-xs, 0.5rem) 0 0;
	padding: var(--wp--preset--spacing--3-xs, 0.4rem) var(--wp--preset--spacing--2-xs, 0.65rem);
}

.rea-bogo-reward-choices__error[hidden] {
	display: none !important;
}

.rea-bogo-reward-choices__actions {
	display: flex;
	justify-content: flex-end;
	margin-top: var(--wp--preset--spacing--m, 1.5rem);
}

.rea-bogo-reward-choices__update {
	cursor: pointer;
}

.rea-bogo-reward-choices__promo.is-loading,
.rea-bogo-reward-choices.is-loading .rea-bogo-reward-choices__promo {
	pointer-events: none;
}

.rea-bogo-reward-choices__promo.is-loading::after {
	animation: rea-bogo-spin 0.7s linear infinite;
	border: 3px solid color-mix(in srgb, var(--wp--preset--color--bleu-fonce, hsl(210, 100%, 20%)) 20%, transparent);
	border-radius: 50%;
	border-top-color: var(--wp--preset--color--bleu-fonce, hsl(210, 100%, 20%));
	content: "";
	height: 2rem;
	left: 50%;
	margin: -1rem 0 0 -1rem;
	position: absolute;
	top: 50%;
	width: 2rem;
	z-index: 2;
}

.rea-bogo-reward-choices__promo.is-loading::before {
	background: color-mix(in srgb, white 65%, transparent);
	border-radius: 4px;
	bottom: 0;
	content: "";
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
	z-index: 1;
}

@keyframes rea-bogo-spin {
	to {
		transform: rotate(360deg);
	}
}

@media (max-width: 768px) {
	.cart-collaterals.reactif-cart__collaterals {
		flex-direction: column;
	}

	.cart-collaterals.reactif-cart__collaterals .cart_totals,
	.cart-collaterals.reactif-cart__collaterals .rea-bogo-reward-choices {
		flex: 1 1 auto;
		max-width: none;
		width: 100%;
	}

	.cart-collaterals.reactif-cart__collaterals .cart_totals {
		margin-left: 0;
	}

	.rea-bogo-reward-choices__list {
		grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr));
	}
}
