/*
 * FarangMart Activity & Engagement
 * Stage 4B V1.5.0
 *
 * Genuine activity + contextual participation.
 */

#fmsingle-v11 .fmae-engagement,
.fmae-engagement {
	display: block;
	width: 100%;
	margin: 14px 0 12px;
	box-sizing: border-box;

	background: #f8f9f7;
	border: 1px solid #dfe4df;
	border-radius: 10px;

	color: #475467;
	font-family: Montserrat, Arial, sans-serif;

	overflow: hidden;
}

/*
 * Activity signals.
 */
#fmsingle-v11 .fmae-listing-activity,
.fmae-listing-activity {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px 22px;
	width: 100%;
	min-height: 44px;
	margin: 0;
	padding: 12px 16px;
	box-sizing: border-box;

	background: transparent;
	border: 0;
	border-radius: 0;

	color: #475467;
	font-family: Montserrat, Arial, sans-serif;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.45;
}

#fmsingle-v11 .fmae-activity-item,
.fmae-listing-activity .fmae-activity-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	margin: 0;
	padding: 0;
}

#fmsingle-v11 .fmae-activity-item--views,
.fmae-listing-activity .fmae-activity-item--views {
	color: #101828;
	font-weight: 700;
}

#fmsingle-v11 .fmae-activity-item + .fmae-activity-item::before,
.fmae-listing-activity .fmae-activity-item + .fmae-activity-item::before {
	content: "";
	display: block;
	flex: 0 0 auto;
	width: 1px;
	height: 18px;
	margin-right: 13px;
	background: #cfd6cf;
}

#fmsingle-v11 .fmae-activity-icon,
.fmae-listing-activity .fmae-activity-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 20px;
	width: 20px;
	height: 20px;
	color: #667085;
}

#fmsingle-v11 .fmae-activity-item--views .fmae-activity-icon,
.fmae-listing-activity .fmae-activity-item--views .fmae-activity-icon {
	color: #159447;
}

#fmsingle-v11 .fmae-activity-icon svg,
.fmae-listing-activity .fmae-activity-icon svg {
	display: block;
	width: 18px;
	height: 18px;
	fill: currentColor;
}

#fmsingle-v11 .fmae-activity-text,
.fmae-listing-activity .fmae-activity-text {
	display: inline-block;
	min-width: 0;
	margin: 0;
	padding: 0;
	color: inherit;
}

#fmsingle-v11 .fmae-activity-item--views .fmae-activity-text,
.fmae-listing-activity .fmae-activity-item--views .fmae-activity-text {
	color: #101828;
	font-weight: 700;
}

#fmsingle-v11 .fmae-activity-item--freshness .fmae-activity-text,
.fmae-listing-activity .fmae-activity-item--freshness .fmae-activity-text {
	color: #475467;
	font-weight: 600;
}

/*
 * Sell Similar participation row.
 */
#fmsingle-v11 .fmae-sell-similar,
.fmae-engagement .fmae-sell-similar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	width: 100%;
	min-height: 54px;
	padding: 11px 14px 11px 16px;
	box-sizing: border-box;

	border-top: 1px solid #e0e5e0;
	background: #ffffff;
}

#fmsingle-v11 .fmae-engagement > .fmae-sell-similar:first-child,
.fmae-engagement > .fmae-sell-similar:first-child {
	border-top: 0;
}

#fmsingle-v11 .fmae-sell-similar-copy,
.fmae-sell-similar .fmae-sell-similar-copy {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 4px 7px;
	min-width: 0;
}

#fmsingle-v11 .fmae-sell-similar-title,
.fmae-sell-similar .fmae-sell-similar-title {
	margin: 0;
	color: #101828;
	font-family: Poppins, Montserrat, Arial, sans-serif;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.4;
}

#fmsingle-v11 .fmae-sell-similar-description,
.fmae-sell-similar .fmae-sell-similar-description {
	color: #667085;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.45;
}

#fmsingle-v11 .fmae-sell-similar-link,
.fmae-sell-similar .fmae-sell-similar-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	flex: 0 0 auto;

	min-height: 34px;
	padding: 7px 11px;

	border: 1px solid #d9a900;
	border-radius: 7px;
	background: #ffc62f;

	color: #111111;
	text-decoration: none;

	font-family: Montserrat, Arial, sans-serif;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;

	transition:
		background-color 0.15s ease,
		border-color 0.15s ease,
		transform 0.15s ease;
}

#fmsingle-v11 .fmae-sell-similar-link:hover,
.fmae-sell-similar .fmae-sell-similar-link:hover {
	background: #f2b900;
	border-color: #c99700;
	color: #111111;
	text-decoration: none;
}

#fmsingle-v11 .fmae-sell-similar-link:focus-visible,
.fmae-sell-similar .fmae-sell-similar-link:focus-visible {
	outline: 3px solid rgba(21, 148, 71, 0.25);
	outline-offset: 2px;
}

#fmsingle-v11 .fmae-sell-similar-arrow,
.fmae-sell-similar .fmae-sell-similar-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 14px;
	height: 14px;
}

#fmsingle-v11 .fmae-sell-similar-arrow svg,
.fmae-sell-similar .fmae-sell-similar-arrow svg {
	display: block;
	width: 14px;
	height: 14px;
	fill: currentColor;
}

/*
 * Mobile.
 */
@media (max-width: 640px) {

	#fmsingle-v11 .fmae-engagement,
	.fmae-engagement {
		margin: 12px 0 10px;
	}

	#fmsingle-v11 .fmae-listing-activity,
	.fmae-listing-activity {
		align-items: stretch;
		flex-direction: column;
		gap: 0;
		min-height: 0;
		padding: 5px 13px;
		font-size: 12px;
	}

	#fmsingle-v11 .fmae-activity-item,
	.fmae-listing-activity .fmae-activity-item {
		width: 100%;
		min-height: 35px;
	}

	#fmsingle-v11 .fmae-activity-item + .fmae-activity-item,
	.fmae-listing-activity .fmae-activity-item + .fmae-activity-item {
		border-top: 1px solid #e3e7e3;
	}

	#fmsingle-v11 .fmae-activity-item + .fmae-activity-item::before,
	.fmae-listing-activity .fmae-activity-item + .fmae-activity-item::before {
		display: none;
	}

	#fmsingle-v11 .fmae-sell-similar,
	.fmae-engagement .fmae-sell-similar {
		align-items: stretch;
		flex-direction: column;
		gap: 10px;
		padding: 12px 13px 13px;
	}

	#fmsingle-v11 .fmae-sell-similar-copy,
	.fmae-sell-similar .fmae-sell-similar-copy {
		display: block;
	}

	#fmsingle-v11 .fmae-sell-similar-title,
	.fmae-sell-similar .fmae-sell-similar-title {
		display: block;
		margin-bottom: 3px;
	}

	#fmsingle-v11 .fmae-sell-similar-description,
	.fmae-sell-similar .fmae-sell-similar-description {
		display: block;
	}

	#fmsingle-v11 .fmae-sell-similar-link,
	.fmae-sell-similar .fmae-sell-similar-link {
		width: 100%;
		min-height: 38px;
		box-sizing: border-box;
	}
}
