/**
 * Šape earn preview — storefront cart / checkout / product row.
 */

.sape-earn-preview {
	display: flex;
	flex-direction: row;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.5rem 0.75rem;
	padding: 0.65rem 1rem;
	margin-bottom: 1rem;
	border-radius: 10px;
	border: 0;
	background: transparent;
	color: #4c2947;
	font-size: 0.95rem;
	line-height: 1.35;
}

.sape-earn-preview__icon {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	object-fit: contain;
}

.sape-earn-preview__sentence {
	flex: 1 1 auto;
	min-width: 0;
}

.sape-earn-preview__amount {
	font-weight: 700;
	color: #e6008a;
}

.sape-earn-preview.sape-earn-preview--mini-cart {
	padding: 5px;
	margin: 5px;
	font-size: 0.875rem;
}

/* Hide genuinely empty mounts (mini-cart fragment placeholders); avoid !important so debugging/overrides work. */
.sape-earn-preview-mount:empty {
	display: none;
}

.sape-earn-preview-mount--hidden {
	display: none;
}
