/**
 * Storefront top banner and product sale block styles.
 *
 * @package Jedi_Theme
 */

.jr-header-black-offer {
	position: relative;
	z-index: 99;
	width: 100%;
	background: linear-gradient(to bottom, transparent 80%, #05070b), linear-gradient(110deg, #650810, #d92530, #650810);
	color: #fff;
}

.jr-header-black-offer__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 6px 16px;
	box-sizing: border-box;
	min-height: 46px;
	padding: 8px 12px;
	text-align: center;
	font-size: clamp(12px, 2vw, 18px);
	font-weight: 700;
	line-height: 1.4;
	overflow-wrap: anywhere;
}

.jr-header-black-offer__separator {
	width: 1px;
	height: 1.4em;
	background-color: rgb(255 255 255 / 45%);
}

.single-product .jr-launch-offer {
	box-sizing: border-box;
	width: 100%;
	margin: 18px 0 20px;
	padding: 14px;
	border: 1px solid rgb(181 22 32 / 32%);
	border-radius: 6px;
	background: linear-gradient(135deg, #201014, #101820 55%, #0c121a);
	color: #fff;
}

.single-product .jr-launch-offer__badge {
	display: inline-block;
	margin-bottom: 8px;
	padding: 5px 10px;
	border-radius: 4px;
	background: #a31520;
	color: #fff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.3;
	text-transform: uppercase;
}

.single-product .jr-launch-offer .jr-launch-offer__title {
	margin: 0 0 6px;
	color: #fff;
	font-size: clamp(16px, 3vw, 20px);
	font-weight: 700;
	line-height: 1.3;
}

.single-product .jr-launch-offer .jr-launch-offer__title strong,
.single-product .jr-launch-offer .jr-launch-offer__title strong .woocommerce-Price-amount {
	color: #72d78a;
}

.single-product .jr-launch-offer .jr-launch-offer__price {
	margin: 0;
	color: #fff;
	font-size: 16px;
	line-height: 1.45;
}

.single-product .jr-launch-offer .jr-launch-offer__price strong,
.single-product .jr-launch-offer .jr-launch-offer__price strong .woocommerce-Price-amount {
	color: #f6bd61;
}

.single-product .jr-launch-offer__comparison {
	color: #d9dce2;
}

@media (max-width: 420px) {
	.jr-header-black-offer__inner {
		flex-direction: column;
		gap: 2px;
	}

	.jr-header-black-offer__separator {
		display: none;
	}
}
