.npce-single-offer {
	--npce-widget-accent: var(--np-offers-brand, var(--np-accent, #2166d1));
	--npce-widget-ink: #10203a;
	--npce-widget-muted: #64748b;
	--npce-widget-line: #dce3ed;
	box-sizing: border-box;
	display: grid;
	width: 100%;
	min-height: 180px;
	margin: 34px 0;
	overflow: hidden;
	grid-template-columns: 160px minmax(0, 1fr);
	align-items: stretch;
	border: 1px solid var(--npce-widget-line);
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 16px 38px rgba(25, 47, 79, 0.1);
	color: var(--npce-widget-ink);
	font-family: var(--np-font, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
}

.npce-single-offer *,
.npce-single-offer *::before,
.npce-single-offer *::after {
	box-sizing: border-box;
}

.npce-single-offer--without-image {
	grid-template-columns: minmax(0, 1fr);
}

.npce-single-offer__media {
	display: grid;
	min-width: 0;
	padding: 16px;
	place-items: center;
	border-right: 1px solid var(--npce-widget-line);
	background: linear-gradient(145deg, #fff, #f7f9fc);
}

.npce-single-offer__media-link {
	display: grid;
	width: 100%;
	height: 100%;
	min-height: 136px;
	place-items: center;
	color: inherit;
	text-decoration: none !important;
}

.npce-single-offer__media img {
	display: block;
	width: 100%;
	height: 136px;
	margin: 0;
	object-fit: contain;
}

.npce-single-offer__fallback {
	display: grid;
	width: 92px;
	aspect-ratio: 1;
	place-items: center;
	border-radius: 22px;
	background: linear-gradient(135deg, var(--npce-widget-accent), #4b7dff);
	color: #0b1730;
	font-size: 42px;
	font-weight: 950;
}

/*
 * Content and CTA live in one bounded panel. The fixed maximum for the CTA
 * prevents a long disclosure from collapsing the product-details column.
 */
.npce-single-offer__panel {
	display: grid;
	min-width: 0;
	grid-template-columns: minmax(0, 1fr) minmax(164px, 198px);
	align-items: stretch;
}

.npce-single-offer__panel > * {
	min-width: 0;
}

.npce-single-offer__content {
	display: flex;
	min-width: 0;
	padding: 20px 22px;
	flex-direction: column;
	justify-content: center;
}

.npce-single-offer__meta {
	display: flex;
	min-height: 20px;
	margin: 0 0 8px;
	align-items: center;
	flex-wrap: wrap;
	gap: 7px 10px;
}

.npce-single-offer__eyebrow {
	color: #2166d1;
	font-size: 10px;
	font-weight: 900;
	letter-spacing: 0.055em;
	line-height: 1.3;
	text-transform: uppercase;
}

.npce-single-offer__category {
	display: inline-flex;
	min-height: 22px;
	padding: 4px 8px;
	align-items: center;
	border-radius: 999px;
	background: #edf3ff;
	color: #315e9d;
	font-size: 10px;
	font-weight: 800;
	line-height: 1;
}

.npce-single-offer .npce-single-offer__title,
.npce-single-offer .npce-single-offer__title:visited,
.npce-single-offer .npce-single-offer__title:hover,
.npce-single-offer .npce-single-offer__title:focus-visible {
	display: -webkit-box;
	max-width: 100%;
	overflow: hidden;
	overflow-wrap: anywhere;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	color: var(--npce-widget-ink);
	font-size: clamp(15px, 1.55vw, 18px);
	font-weight: 850;
	letter-spacing: -0.025em;
	line-height: 1.3;
	text-decoration: none !important;
}

.npce-single-offer .npce-single-offer__title:hover,
.npce-single-offer .npce-single-offer__title:focus-visible {
	color: #174ca2;
}

.npce-single-offer__merchant {
	display: block;
	margin-top: 7px;
	color: var(--npce-widget-muted);
	font-size: 11px;
	font-weight: 700;
	line-height: 1.3;
}

.npce-single-offer__prices {
	display: flex;
	min-height: 32px;
	margin-top: 14px;
	align-items: center;
	flex-wrap: wrap;
	gap: 7px 10px;
}

.npce-single-offer__price {
	color: var(--npce-widget-ink);
	font-size: 21px;
	font-weight: 950;
	letter-spacing: -0.035em;
	line-height: 1;
}

.npce-single-offer__old-price {
	color: var(--npce-widget-muted);
	font-size: 12px;
	font-weight: 550;
	line-height: 1;
	text-decoration-thickness: 1px;
}

.npce-single-offer__discount {
	display: inline-flex;
	min-height: 27px;
	padding: 5px 8px;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
	background: #e5edff;
	color: #2166d1;
	font-size: 10px;
	font-weight: 900;
	letter-spacing: 0.02em;
	line-height: 1;
}

.npce-single-offer__action {
	display: flex;
	min-width: 0;
	padding: 18px;
	align-items: stretch;
	justify-content: center;
	flex-direction: column;
	gap: 9px;
	border-left: 1px solid var(--npce-widget-line);
	background: #f6f8fc;
}

.npce-single-offer .npce-single-offer__button,
.npce-single-offer .npce-single-offer__button:visited,
.npce-single-offer .npce-single-offer__button:hover,
.npce-single-offer .npce-single-offer__button:focus-visible {
	display: flex;
	width: 100%;
	min-height: 44px;
	padding: 11px 14px;
	align-items: center;
	justify-content: center;
	gap: 10px;
	border: 1px solid #2166d1;
	border-radius: 12px;
	background: #2166d1;
	box-shadow: 0 7px 18px rgba(33, 102, 209, 0.2);
	color: #fff;
	font-size: 12px;
	font-weight: 850;
	line-height: 1.2;
	text-align: center;
	text-decoration: none !important;
	transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.npce-single-offer .npce-single-offer__button:hover,
.npce-single-offer .npce-single-offer__button:focus-visible {
	border-color: #174ca2;
	background: #174ca2;
	box-shadow: 0 10px 24px rgba(23, 76, 162, 0.28);
	transform: translateY(-1px);
}

.npce-single-offer .npce-single-offer__button:focus-visible,
.npce-single-offer .npce-single-offer__title:focus-visible,
.npce-single-offer .npce-single-offer__media-link:focus-visible {
	outline: 3px solid rgba(33, 102, 209, 0.3);
	outline-offset: 3px;
}

.npce-single-offer__button > span:last-child {
	font-size: 18px;
	font-weight: 500;
	line-height: 0;
}

.npce-single-offer__disclosure {
	display: block;
	max-width: 100%;
	overflow-wrap: anywhere;
	color: var(--npce-widget-muted);
	font-size: 9px;
	font-weight: 600;
	line-height: 1.35;
	text-align: center;
}

html[data-theme="dark"] .npce-single-offer {
	--npce-widget-ink: #f3f7fc;
	--npce-widget-muted: #9cacc0;
	--npce-widget-line: #314055;
	background: #182332;
	box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
}

html[data-theme="dark"] .npce-single-offer__media {
	background: linear-gradient(145deg, #fff, #f6f8fb);
}

html[data-theme="dark"] .npce-single-offer__action {
	background: #101824;
}

html[data-theme="dark"] .npce-single-offer__category {
	background: #253a5c;
	color: #c8d9ff;
}

@media (max-width: 820px) {
	.npce-single-offer,
	.npce-single-offer--without-image {
		grid-template-columns: 132px minmax(0, 1fr);
	}

	.npce-single-offer--without-image {
		grid-template-columns: minmax(0, 1fr);
	}

	.npce-single-offer__panel {
		grid-template-columns: minmax(0, 1fr);
	}

	.npce-single-offer__media {
		padding: 13px;
	}

	.npce-single-offer__media-link,
	.npce-single-offer__media img {
		min-height: 112px;
		height: 112px;
	}

	.npce-single-offer__content {
		padding: 17px 18px 15px;
	}

	.npce-single-offer__action {
		padding: 14px 18px 16px;
		border-top: 1px solid var(--npce-widget-line);
		border-left: 0;
	}
}

@media (max-width: 520px) {
	.npce-single-offer {
		margin: 28px 0;
		grid-template-columns: 108px minmax(0, 1fr);
		border-radius: 17px;
	}

	.npce-single-offer--without-image {
		grid-template-columns: minmax(0, 1fr);
	}

	.npce-single-offer__media {
		padding: 10px;
	}

	.npce-single-offer__media-link,
	.npce-single-offer__media img {
		min-height: 92px;
		height: 92px;
	}

	.npce-single-offer__content {
		padding: 14px;
	}

	.npce-single-offer__meta {
		margin-bottom: 6px;
	}

	.npce-single-offer .npce-single-offer__title {
		font-size: 15px;
		-webkit-line-clamp: 4;
	}

	.npce-single-offer__prices {
		margin-top: 12px;
	}

	.npce-single-offer__price {
		font-size: 19px;
	}

	.npce-single-offer__action {
		padding: 12px 14px 14px;
	}
}

@media (max-width: 360px) {
	.npce-single-offer,
	.npce-single-offer--without-image {
		grid-template-columns: minmax(0, 1fr);
	}

	.npce-single-offer__media {
		padding: 12px;
		border-right: 0;
		border-bottom: 1px solid var(--npce-widget-line);
	}

	.npce-single-offer__media-link,
	.npce-single-offer__media img {
		min-height: 118px;
		height: 118px;
	}
}
