.sirena-cart-upsell {
	--sirena-blue: #008fce;
	--sirena-blue-deep: #005f98;
	--sirena-ink: #0b3044;
	--sirena-ice: #eef9fd;
	position: relative;
	margin: 14px 15px 18px;
	overflow: hidden;
	border: 1px solid #c5e6f3;
	border-radius: 18px;
	background: linear-gradient( 145deg, #ffffff 0%, var( --sirena-ice ) 100% );
	box-shadow: 0 12px 30px rgba( 8, 73, 108, 0.14 );
	color: var( --sirena-ink );
	font-family: Montserrat, sans-serif;
}

.sirena-cart-upsell::after {
	position: absolute;
	right: -45px;
	bottom: -54px;
	width: 130px;
	height: 130px;
	border-radius: 50%;
	background: rgba( 0, 143, 206, 0.08 );
	content: '';
	pointer-events: none;
}

.sirena-cart-upsell__topline {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	padding: 9px 12px;
	background: linear-gradient( 100deg, var( --sirena-blue-deep ), var( --sirena-blue ) );
	color: #ffffff;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.03em;
	line-height: 1.25;
	text-transform: uppercase;
}

.sirena-cart-upsell__topline strong {
	flex: 0 0 auto;
	padding: 4px 7px;
	border: 1px solid rgba( 255, 255, 255, 0.48 );
	border-radius: 999px;
	background: rgba( 255, 255, 255, 0.14 );
	font-size: 10px;
	letter-spacing: 0.06em;
}

.sirena-cart-upsell__content {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: 92px minmax( 0, 1fr );
	gap: 12px;
	align-items: center;
	padding: 14px 12px 15px;
}

.sirena-cart-upsell__image-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 92px;
	height: 112px;
	overflow: hidden;
	border: 1px solid #dcecf3;
	border-radius: 14px;
	background: #ffffff;
}

.sirena-cart-upsell__image {
	display: block;
	width: 88px;
	height: 88px;
	object-fit: contain;
}

.sirena-cart-upsell__details {
	min-width: 0;
}

.sirena-cart-upsell__details h3 {
	margin: 0 0 4px;
	color: var( --sirena-ink );
	font-family: Montserrat, sans-serif;
	font-size: 16px;
	font-weight: 750;
	letter-spacing: -0.02em;
	line-height: 1.15;
}

.sirena-cart-upsell__details p {
	margin: 0 0 7px;
	color: #395667;
	font-size: 11px;
	line-height: 1.42;
}

.sirena-cart-upsell__details p strong {
	color: var( --sirena-blue-deep );
}

.sirena-cart-upsell__price {
	display: flex;
	align-items: baseline;
	gap: 7px;
	margin-bottom: 8px;
}

.sirena-cart-upsell__price del {
	color: #6f8794;
	font-size: 11px;
}

.sirena-cart-upsell__price ins {
	color: var( --sirena-blue-deep );
	font-size: 16px;
	font-weight: 800;
	text-decoration: none;
}

.sirena-cart-upsell__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 42px;
	padding: 9px 11px;
	border: 0;
	border-radius: 10px;
	background: var( --sirena-blue );
	box-shadow: 0 7px 16px rgba( 0, 121, 179, 0.24 );
	color: #ffffff;
	cursor: pointer;
	font: 750 11px/1.25 Montserrat, sans-serif;
	letter-spacing: 0.01em;
	text-align: center;
	transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.sirena-cart-upsell__button:hover {
	background: var( --sirena-blue-deep );
	box-shadow: 0 9px 20px rgba( 0, 95, 152, 0.3 );
	transform: translateY( -1px );
}

.sirena-cart-upsell__button:focus-visible {
	outline: 3px solid rgba( 0, 143, 206, 0.35 );
	outline-offset: 3px;
}

.sirena-cart-upsell__button:disabled {
	cursor: wait;
	opacity: 0.76;
	transform: none;
}

.sirena-cart-upsell__button.is-loading span::after {
	display: inline-block;
	width: 10px;
	height: 10px;
	margin-left: 7px;
	border: 2px solid rgba( 255, 255, 255, 0.45 );
	border-top-color: #ffffff;
	border-radius: 50%;
	content: '';
	vertical-align: -1px;
	animation: sirena-upsell-spin 700ms linear infinite;
}

.sirena-cart-upsell__note {
	display: block;
	margin-top: 6px;
	color: #58707e;
	font-size: 9px;
	line-height: 1.3;
	text-align: center;
}

.sirena-cart-upsell__note.is-error {
	color: #a82f2f;
	font-weight: 650;
}

.sirena-cart-upsell--applied {
	display: flex;
	align-items: center;
	gap: 11px;
	min-height: 72px;
	padding: 13px 15px;
	border-color: #a7dcd1;
	background: linear-gradient( 135deg, #effbf8, #f6fcff );
}

.sirena-cart-upsell--applied::after {
	display: none;
}

.sirena-cart-upsell__check {
	display: inline-flex;
	flex: 0 0 38px;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: #087f70;
	box-shadow: 0 7px 16px rgba( 8, 127, 112, 0.2 );
	color: #ffffff;
	font-size: 20px;
	font-weight: 800;
}

.sirena-cart-upsell__applied-copy {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.sirena-cart-upsell__applied-copy strong {
	color: #075d54;
	font-size: 14px;
	line-height: 1.25;
}

.sirena-cart-upsell__applied-copy small {
	color: #466c69;
	font-size: 10px;
	line-height: 1.35;
}

.sirena-cart-upsell--page {
	max-width: 760px;
	margin: 20px 0 28px;
}

.sirena-cart-upsell--page .sirena-cart-upsell__content {
	grid-template-columns: 130px minmax( 0, 1fr );
	gap: 22px;
	padding: 20px;
}

.sirena-cart-upsell--page .sirena-cart-upsell__image-wrap {
	width: 130px;
	height: 140px;
}

.sirena-cart-upsell--page .sirena-cart-upsell__image {
	width: 118px;
	height: 118px;
}

.sirena-cart-upsell--page .sirena-cart-upsell__details h3 {
	font-size: 22px;
}

.sirena-cart-upsell--page .sirena-cart-upsell__details p {
	font-size: 14px;
}

.sirena-cart-upsell--page .sirena-cart-upsell__button {
	max-width: 330px;
	font-size: 13px;
}

@keyframes sirena-upsell-spin {
	to { transform: rotate( 360deg ); }
}

@media ( max-width: 480px ) {
	.sirena-cart-upsell {
		margin: 12px 10px 16px;
		border-radius: 16px;
	}

	.sirena-cart-upsell__topline {
		padding: 8px 10px;
		font-size: 9px;
	}

	.sirena-cart-upsell__topline strong {
		font-size: 9px;
	}

	.sirena-cart-upsell__content,
	.sirena-cart-upsell--page .sirena-cart-upsell__content {
		grid-template-columns: 82px minmax( 0, 1fr );
		gap: 10px;
		padding: 12px 10px 13px;
	}

	.sirena-cart-upsell__image-wrap,
	.sirena-cart-upsell--page .sirena-cart-upsell__image-wrap {
		width: 82px;
		height: 102px;
	}

	.sirena-cart-upsell__image,
	.sirena-cart-upsell--page .sirena-cart-upsell__image {
		width: 78px;
		height: 78px;
	}

	.sirena-cart-upsell__details h3,
	.sirena-cart-upsell--page .sirena-cart-upsell__details h3 {
		font-size: 15px;
	}

	.sirena-cart-upsell__details p,
	.sirena-cart-upsell--page .sirena-cart-upsell__details p {
		font-size: 10px;
	}

	.sirena-cart-upsell__button,
	.sirena-cart-upsell--page .sirena-cart-upsell__button {
		min-height: 44px;
		font-size: 10px;
	}

	.sirena-cart-upsell--page {
		margin: 16px 0 22px;
	}
}

@media ( prefers-reduced-motion: reduce ) {
	.sirena-cart-upsell__button {
		transition: none;
	}

	.sirena-cart-upsell__button.is-loading span::after {
		animation-duration: 1.4s;
	}
}
