.jamp-bogo-badge {
	position: absolute;
	z-index: 12;
	top: 0.85rem;
	left: 0.85rem;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 2.7rem;
	padding: 0.38rem 0.72rem 0.38rem 0.42rem;
	overflow: hidden;
	border: 1px solid rgb(255 255 255 / 42%);
	border-radius: 0.8rem;
	background: linear-gradient(135deg, #7c183f 0%, #c7245c 54%, #f05252 100%);
	box-shadow: 0 0.5rem 1.25rem rgb(124 24 63 / 30%), inset 0 1px 0 rgb(255 255 255 / 22%);
	color: #fff;
	font-family: inherit;
	pointer-events: none;
	isolation: isolate;
	transform: translateZ(0);
}

.jamp-bogo-badge::after {
	position: absolute;
	z-index: -1;
	top: -70%;
	left: -35%;
	width: 42%;
	height: 240%;
	background: linear-gradient(90deg, transparent, rgb(255 255 255 / 24%), transparent);
	content: "";
	transform: rotate(18deg);
}

.jamp-bogo-badge__icon {
	display: grid;
	width: 1.9rem;
	height: 1.9rem;
	flex: 0 0 1.9rem;
	place-items: center;
	border-radius: 0.55rem;
	background: rgb(255 255 255 / 94%);
	box-shadow: 0 0.2rem 0.55rem rgb(72 10 35 / 22%);
	color: #a91f4c;
}

.jamp-bogo-badge__icon svg {
	width: 1.2rem;
	height: 1.2rem;
	fill: currentcolor;
}

.jamp-bogo-badge__copy {
	display: flex;
	flex-direction: column;
	line-height: 1;
}

.jamp-bogo-badge__copy small {
	margin-bottom: 0.17rem;
	color: rgb(255 255 255 / 75%);
	font-size: 0.55rem;
	font-weight: 700;
	letter-spacing: 0.16em;
}

.jamp-bogo-badge__copy strong {
	color: #fff;
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.025em;
	white-space: nowrap;
}

.woocommerce ul.products li.product,
.woocommerce .products .product,
.woocommerce div.product div.images {
	position: relative;
}

.woocommerce ul.products li.product > .jamp-bogo-badge,
.woocommerce .products .product > .jamp-bogo-badge {
	top: 0.85rem;
	right: auto;
	bottom: auto;
	left: 0.85rem;
}

.woocommerce div.product > .jamp-bogo-badge {
	top: 1rem;
	left: 1rem;
}

.jamp-bogo-promo-notice {
	position: relative;
	display: flex;
	gap: 1rem;
	margin: 0 0 1.5rem;
	padding: 1.1rem 1.2rem;
	overflow: hidden;
	border: 1px solid #e9c4d2;
	border-left: 5px solid #c7245c;
	border-radius: 0.9rem;
	background: linear-gradient(135deg, #fff 0%, #fff8fb 100%);
	box-shadow: 0 0.45rem 1.4rem rgb(94 22 51 / 10%);
	color: #3c2430;
	clear: both;
}

.jamp-bogo-promo-notice::after {
	position: absolute;
	top: -3.5rem;
	right: -3rem;
	width: 8rem;
	height: 8rem;
	border-radius: 50%;
	background: radial-gradient(circle, rgb(199 36 92 / 10%), transparent 68%);
	content: "";
	pointer-events: none;
}

.jamp-bogo-promo-notice__icon {
	display: grid;
	width: 3.2rem;
	height: 3.2rem;
	flex: 0 0 3.2rem;
	place-items: center;
	border-radius: 0.85rem;
	background: linear-gradient(135deg, #891b46, #e03a6f);
	box-shadow: 0 0.4rem 0.9rem rgb(137 27 70 / 22%);
	color: #fff;
}

.jamp-bogo-promo-notice__icon span {
	font-size: 1.2rem;
	font-weight: 850;
	letter-spacing: -0.04em;
}

.jamp-bogo-promo-notice__content {
	position: relative;
	z-index: 1;
	min-width: 0;
}

.jamp-bogo-promo-notice__title {
	display: flex;
	align-items: baseline;
	gap: 0.55rem;
	margin: 0 0 0.45rem;
	color: #7c183f;
	font-size: 1.05rem;
	font-weight: 800;
	line-height: 1.25;
}

.jamp-bogo-promo-notice p {
	margin: 0;
	line-height: 1.5;
}

.jamp-bogo-promo-notice__el {
	color: #3c2430;
	font-size: 0.94rem;
	font-weight: 650;
}

.jamp-bogo-promo-notice__link {
	display: inline-flex;
	align-items: center;
	gap: 0.38rem;
	margin-top: 0.65rem;
	color: #a31f4e;
	font-size: 0.84rem;
	font-weight: 750;
	text-decoration: none;
	transition: color 160ms ease, gap 160ms ease;
}

.jamp-bogo-promo-notice__link:hover,
.jamp-bogo-promo-notice__link:focus {
	gap: 0.55rem;
	color: #76153c;
	text-decoration: underline;
}

/* Compact treatment for WooCommerce/Flatsome AJAX mini-carts. */
.jamp-bogo-mini-totals {
	display: grid;
	width: 100%;
	gap: 0.36rem;
	margin: 0;
	padding: 0.8rem 0 !important;
	border-top: 1px solid rgb(60 36 48 / 12%);
	border-bottom: 1px solid rgb(60 36 48 / 12%);
}

.jamp-bogo-mini-totals__row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.75rem;
	color: #5e5157;
	font-size: 0.84rem;
	line-height: 1.35;
}

.jamp-bogo-mini-totals__row .amount {
	white-space: nowrap;
}

.jamp-bogo-mini-totals__subtotal del {
	color: #8d8187;
	text-decoration-thickness: 1.5px;
}

.jamp-bogo-mini-totals__discount {
	color: #b22052;
}

.jamp-bogo-mini-totals__final {
	margin-top: 0.2rem;
	padding-top: 0.42rem;
	border-top: 1px dashed rgb(178 32 82 / 24%);
	color: #3c2430;
	font-size: 0.91rem;
}

.jamp-bogo-promo-notice--mini {
	gap: 0.7rem;
	margin: 0.75rem 0 1rem;
	padding: 0.78rem 0.82rem;
	border-left-width: 4px;
	border-radius: 0.7rem;
	box-shadow: 0 0.3rem 1rem rgb(94 22 51 / 9%);
}

.jamp-bogo-promo-notice--mini .jamp-bogo-promo-notice__icon {
	width: 2.35rem;
	height: 2.35rem;
	flex-basis: 2.35rem;
	border-radius: 0.65rem;
}

.jamp-bogo-promo-notice--mini .jamp-bogo-promo-notice__icon span {
	font-size: 0.95rem;
}

.jamp-bogo-promo-notice--mini .jamp-bogo-promo-notice__title {
	margin-bottom: 0.28rem;
	font-size: 0.9rem;
}

.jamp-bogo-promo-notice--mini .jamp-bogo-promo-notice__el {
	font-size: 0.79rem;
	font-weight: 600;
	line-height: 1.4;
}

.jamp-bogo-promo-notice--mini .jamp-bogo-promo-notice__link {
	margin-top: 0.42rem;
	font-size: 0.76rem;
}

@media (max-width: 480px) {
	.jamp-bogo-badge {
		top: 0.55rem;
		left: 0.55rem;
		min-height: 2.3rem;
		padding: 0.3rem 0.58rem 0.3rem 0.34rem;
	}

	.jamp-bogo-badge__icon {
		width: 1.65rem;
		height: 1.65rem;
		flex-basis: 1.65rem;
	}

	.jamp-bogo-promo-notice {
		gap: 0.75rem;
		padding: 0.95rem;
	}

	.jamp-bogo-promo-notice__icon {
		width: 2.65rem;
		height: 2.65rem;
		flex-basis: 2.65rem;
	}

	.jamp-bogo-promo-notice__title {
		align-items: flex-start;
		flex-direction: column;
		gap: 0.12rem;
	}

	.jamp-bogo-promo-notice--mini {
		gap: 0.62rem;
		padding: 0.72rem;
	}

	.jamp-bogo-mini-totals__row {
		font-size: 0.8rem;
	}

}
