/* Commerce & editorial – offers, scores, versus, compare */

.nexus-ce-offer-box {
	border: 1px solid var(--nexus-border, #e2e8f0);
	border-radius: 8px;
	padding: 1rem 1.25rem;
	margin: 1.25rem 0;
	background: var(--nexus-body-bg, #fff);
}

.nexus-ce-offer-box__merchant {
	font-weight: 600;
	margin: 0 0 0.35rem;
}

.nexus-ce-offer-box__price {
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--nexus-primary, #0f766e);
	margin-right: 0.5rem;
}

.nexus-ce-offer-box__old {
	text-decoration: line-through;
	opacity: 0.65;
}

.nexus-ce-offer-box__coupon code {
	background: #fef3c7;
	padding: 0.15rem 0.45rem;
	border-radius: 4px;
}

.nexus-magazine-badge--deal {
	background: #dc2626;
	color: #fff;
}

.nexus-magazine-badge--affiliate {
	background: #7c3aed;
	color: #fff;
}

.nexus-ce-score-box {
	border-left: 4px solid var(--nexus-primary, #0f766e);
	padding: 0.75rem 1rem;
	margin: 1.25rem 0;
	background: rgba(15, 118, 110, 0.06);
}

.nexus-ce-score-box__overall {
	margin: 0.25rem 0;
}

.nexus-ce-score-box__num {
	font-size: 2rem;
	font-weight: 700;
	line-height: 1;
}

.nexus-ce-score-box__criteria {
	list-style: none;
	margin: 0.5rem 0 0;
	padding: 0;
}

.nexus-ce-score-box__criteria li {
	display: flex;
	justify-content: space-between;
	padding: 0.25rem 0;
	border-bottom: 1px solid var(--nexus-border, #e2e8f0);
}

.nexus-ce-versus__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
	margin-top: 1rem;
}

@media (max-width: 640px) {
	.nexus-ce-versus__grid {
		grid-template-columns: 1fr;
	}
}

.nexus-ce-versus__col {
	border: 1px solid var(--nexus-border, #e2e8f0);
	border-radius: 8px;
	padding: 1rem;
}

.nexus-ce-versus__score {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--nexus-primary, #0f766e);
}

.nexus-ce-product-compare__wrap {
	overflow-x: auto;
}

.nexus-ce-product-compare__table {
	width: 100%;
	border-collapse: collapse;
}

.nexus-ce-product-compare__table th,
.nexus-ce-product-compare__table td {
	border: 1px solid var(--nexus-border, #e2e8f0);
	padding: 0.65rem;
	text-align: center;
}

.nexus-ce-deal-of-day__card,
.nexus-ce-price-drop-card {
	position: relative;
}

.nexus-ce-deal-of-day__badge,
.nexus-ce-price-drop-card__pct {
	position: absolute;
	top: 0.5rem;
	right: 0.5rem;
	background: #dc2626;
	color: #fff;
	font-size: 0.75rem;
	font-weight: 700;
	padding: 0.2rem 0.45rem;
	border-radius: 4px;
}

.nexus-ce-post-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 0.75rem;
	margin: 1.25rem 0;
}

.nexus-ce-post-gallery__item img {
	width: 100%;
	height: auto;
	border-radius: 6px;
	display: block;
}

.nexus-ce-user-reviews {
	margin: 2rem 0;
	padding-top: 1.5rem;
	border-top: 1px solid var(--nexus-border, #e2e8f0);
}

.nexus-ce-user-reviews__list {
	list-style: none;
	margin: 0 0 1rem;
	padding: 0;
}

.nexus-ce-user-reviews__list li {
	margin-bottom: 1rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--nexus-border, #e2e8f0);
}

.nexus-ce-user-reviews__stars {
	color: #f59e0b;
	margin-right: 0.35rem;
}

.nexus-ce-infeed-ad {
	margin: 1.25rem 0;
	text-align: center;
}

.nexus-brand-archive__logo {
	max-width: 120px;
	height: auto;
	margin-bottom: 0.75rem;
}

.nexus-brand-archive__desc {
	margin-bottom: 1.5rem;
	opacity: 0.85;
}
