/* Mobile product-page improvements; scoped to product pages only. */
.cro-product-savings {
	box-sizing: border-box;
	margin: 10px 0 14px;
	padding: 11px 14px;
	border: 1px solid #cfe8f4;
	border-radius: 10px;
	background: #eef8fc;
	color: #173245;
	font-family: Nunito, sans-serif;
	line-height: 1.35;
}

.cro-product-savings[hidden] {
	display: none !important;
}

.cro-product-savings__title,
.cro-product-savings__detail {
	display: block;
}

.cro-product-savings__title {
	font-size: 15px;
	font-weight: 900;
}

.cro-product-savings__detail {
	margin-top: 3px;
	color: #526b7a;
	font-size: 12px;
}

#product .product-offer-banner {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	clear: both;
	box-sizing: border-box;
	width: 100%;
	min-height: 144px;
	margin: 4px 0 20px;
	padding: 20px 96px 18px 24px;
	overflow: hidden;
	border-radius: 24px;
	background: #198FC6;
	box-shadow: 0 10px 24px rgba(23, 50, 69, .14);
	color: #fff;
	font-family: Nunito, sans-serif;
	text-decoration: none;
	isolation: isolate;
}

#product .product-offer-banner::before,
#product .product-offer-banner::after {
	position: absolute;
	z-index: -1;
	border-radius: 50%;
	background: #FFD000;
	content: "";
	pointer-events: none;
}

#product .product-offer-banner::before {
	top: -82px;
	right: -58px;
	width: 180px;
	height: 180px;
}

#product .product-offer-banner::after {
	right: -22px;
	bottom: -28px;
	width: 72px;
	height: 72px;
}

#product .product-offer-banner:hover,
#product .product-offer-banner:focus {
	color: #fff;
	text-decoration: none;
}

#product .product-offer-banner:focus-visible,
#product .cro-mobile-sticky__button:focus-visible {
	outline: 3px solid #FFD000;
	outline-offset: 3px;
}

#product .product-offer-banner__eyebrow,
#product .product-offer-banner__title,
#product .product-offer-banner__detail,
#product .product-offer-banner__link {
	position: relative;
	z-index: 1;
	display: block;
	max-width: 100%;
}

#product .product-offer-banner__eyebrow {
	margin-bottom: 8px;
	color: #FFD000;
	font-size: 9px;
	font-weight: 900;
	line-height: 1.3;
	letter-spacing: .9px;
}

#product .product-offer-banner__title {
	margin-bottom: 4px;
	color: #fff;
	font-size: 28px;
	font-weight: 900;
	line-height: 1.05;
}

#product .product-offer-banner__detail {
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
}

#product .product-offer-banner__link {
	margin-top: 10px;
	color: #DFF3FC;
	font-size: 11px;
	font-weight: 900;
	line-height: 1.2;
	letter-spacing: .8px;
}

#product .product-offer-banner:hover .product-offer-banner__link,
#product .product-offer-banner:focus .product-offer-banner__link {
	color: #fff;
	text-decoration: underline;
}

#product .product-actions.fixed .product-offer-banner {
	display: none;
}

.cro-mobile-sticky[hidden] {
	display: none !important;
}

@media (max-width: 767px) {
	#product .images-container .product-cover {
		width: 100% !important;
		max-width: 100% !important;
		height: min(74vw, 285px) !important;
		min-height: 220px;
		aspect-ratio: auto !important;
		margin: 0 auto 8px !important;
	}

	#product .images-container .product-cover img {
		width: 100% !important;
		height: 100% !important;
		object-fit: contain !important;
	}

	#product .js-qv-mask {
		max-height: 66px;
		overflow: hidden;
	}

	#product .product-images .thumb-container {
		width: 54px;
		height: 54px;
		margin-right: 8px;
	}

	#product .product-images .thumb-container img {
		max-width: 54px;
		max-height: 54px;
		object-fit: contain;
	}

	#product .product-offer-banner {
		min-height: 136px;
		margin: 4px 0 18px;
		padding: 18px 72px 16px 18px;
		border-radius: 20px;
	}

	#product .product-offer-banner::before {
		top: -64px;
		right: -64px;
		width: 154px;
		height: 154px;
	}

	#product .product-offer-banner::after {
		right: -24px;
		bottom: -32px;
		width: 68px;
		height: 68px;
	}

	#product .product-offer-banner__eyebrow {
		max-width: 230px;
		font-size: 9px;
		letter-spacing: .6px;
	}

	#product .product-offer-banner__title {
		font-size: 24px;
	}

	#product .product-offer-banner__detail {
		font-size: 13px;
	}

	.cro-mobile-sticky {
		position: fixed;
		z-index: 1050;
		right: 0;
		bottom: 0;
		left: 0;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		box-sizing: border-box;
		min-height: 70px;
		padding: 10px max(14px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
		border-top: 1px solid #dce6eb;
		background: rgba(255,255,255,.98);
		box-shadow: 0 -5px 20px rgba(20,45,60,.12);
		font-family: Nunito, sans-serif;
	}

	.cro-mobile-sticky__info {
		min-width: 0;
		display: flex;
		flex-direction: column;
		gap: 2px;
		color: #173245;
		line-height: 1.2;
	}

	.cro-mobile-sticky__price {
		font-size: 17px;
		font-weight: 900;
		white-space: nowrap;
	}

	.cro-mobile-sticky__detail {
		max-width: 145px;
		font-size: 10px;
		font-weight: 700;
	}

	#product .cro-mobile-sticky__button {
		flex: 0 0 auto;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-height: 44px;
		max-width: 56%;
		padding: 10px 14px;
		border: 0;
		border-radius: 8px;
		background: #198FC6;
		color: #fff;
		font: 800 13px/1.2 Nunito, sans-serif;
		cursor: pointer;
	}

	#product .cro-mobile-sticky__button:hover,
	#product .cro-mobile-sticky__button:focus {
		background: #117FB2;
		color: #fff;
	}

	#product .cro-mobile-sticky__button.is-disabled,
	#product .cro-mobile-sticky__button:disabled {
		cursor: not-allowed;
		opacity: .6;
	}

	body.cro-mobile-sticky-visible {
		padding-bottom: 82px;
	}
}

@media (max-width: 359px) {
	.cro-mobile-sticky__detail {
		max-width: 112px;
		font-size: 9px;
	}

	#product .cro-mobile-sticky__button {
		padding-right: 10px;
		padding-left: 10px;
		font-size: 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cro-mobile-sticky,
	#product .product-offer-banner {
		transition: none !important;
	}
}
