.sf-card-proof-slot,
.sf-card-proof-slot .elementor-widget-container {
	display: contents;
}

.sf-product-card-proof {
	box-sizing: border-box;
}

.sf-merch-flag {
	--sf-merch-accent: #0088c3;
	--sf-merch-bg: #e3f5fd;
	--sf-merch-border: #70c3e8;
	--sf-merch-title: #00628d;
	--sf-merch-subtitle: #60707b;
	--sf-merch-fold: rgba(0, 136, 195, 0.62);
	position: absolute;
	top: 24px;
	left: -1px;
	z-index: 7;
	display: inline-flex;
	align-items: center;
	min-height: 52px;
	max-width: min(270px, calc(100% - 180px));
	gap: 8px;
	padding: 8px 16px;
	border: 1px solid var(--sf-merch-border);
	border-left: 0;
	border-radius: 0 12px 12px 0;
	background: var(--sf-merch-bg);
	box-shadow: 0 10px 24px rgba(34, 65, 80, 0.12);
	color: var(--sf-merch-accent);
	pointer-events: none;
}

.sf-merch-flag::before {
	content: "";
	position: absolute;
	top: -1px;
	bottom: -1px;
	left: 0;
	width: 6px;
	background: var(--sf-merch-accent);
}

.sf-merch-flag::after {
	content: "";
	position: absolute;
	bottom: -12px;
	left: 0;
	width: 0;
	height: 0;
	border-top: 12px solid var(--sf-merch-fold);
	border-right: 12px solid transparent;
}

.sf-merch-flag svg {
	flex: 0 0 auto;
	width: 15px;
	height: 15px;
	margin-left: 8px;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	fill: none;
}

.sf-merch-flag__copy {
	display: flex;
	flex-direction: column;
	min-width: 0;
	gap: 5px;
}

.sf-merch-flag__title {
	overflow: hidden;
	color: var(--sf-merch-title);
	font-family: "Montserrat", "Source Sans Pro", Arial, sans-serif;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.sf-merch-flag__subtitle {
	overflow: hidden;
	color: var(--sf-merch-subtitle);
	font-family: "Source Sans Pro", Arial, sans-serif;
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.sf-merch-flag--smart {
	--sf-merch-accent: #168c8c;
	--sf-merch-bg: #e6f7f5;
	--sf-merch-border: #8dceca;
	--sf-merch-title: #245d5e;
	--sf-merch-fold: rgba(22, 140, 140, 0.62);
}

.sf-merch-flag--value {
	--sf-merch-accent: #d98222;
	--sf-merch-bg: #fff0e3;
	--sf-merch-border: #e9a866;
	--sf-merch-title: #74501f;
	--sf-merch-fold: rgba(217, 130, 34, 0.62);
}

.sf-merch-flag--best {
	--sf-merch-accent: #c4457a;
	--sf-merch-bg: #fdebf3;
	--sf-merch-border: #e39ab8;
	--sf-merch-title: #823152;
	--sf-merch-fold: rgba(196, 69, 122, 0.62);
}

.sf-merch-flag--reco {
	--sf-merch-accent: #0088c3;
	--sf-merch-bg: #e3f5fd;
	--sf-merch-border: #70c3e8;
	--sf-merch-title: #00628d;
	--sf-merch-fold: rgba(0, 136, 195, 0.62);
}

.sf-merch-flag--premium {
	--sf-merch-accent: #5a3e62;
	--sf-merch-bg: #f1edf5;
	--sf-merch-border: #b79bc8;
	--sf-merch-title: #493251;
	--sf-merch-subtitle: #665a6d;
	--sf-merch-fold: rgba(90, 62, 98, 0.62);
}

.sf-card-award-logo {
	position: absolute;
	bottom: 16px;
	left: 32px;
	z-index: 5;
	display: block;
	width: 88px;
	max-width: calc(100% - 64px);
	height: 88px;
	max-height: 88px;
	object-fit: contain;
	border-radius: 0 !important;
	background: transparent;
	pointer-events: none;
}

.sf-card-award-logo--good-design {
	width: 108px;
	height: 51px;
	max-height: 51px;
}

.sf-card-award-logo--productreview {
	width: 124px;
	height: 47px;
	max-height: 47px;
}

.sf-card-award-logo--reddot {
	width: 92px;
	height: 82px;
	max-height: 82px;
}

@media (max-width: 1024px) {
	.sf-merch-flag {
		top: 20px;
		min-height: 50px;
		max-width: min(250px, calc(100% - 164px));
	}

	.sf-card-award-logo {
		left: 24px;
		width: 82px;
		height: 82px;
		max-height: 82px;
	}

	.sf-card-award-logo--good-design {
		width: 100px;
		height: 47px;
		max-height: 47px;
	}

	.sf-card-award-logo--productreview {
		width: 112px;
		height: 42px;
		max-height: 42px;
	}
}

@media (max-width: 767px) {
	.sf-merch-flag {
		top: 16px;
		min-height: 48px;
		max-width: min(220px, calc(100% - 140px));
		gap: 7px;
		padding: 7px 14px;
		border-radius: 0 11px 11px 0;
	}

	.sf-merch-flag svg {
		width: 14px;
		height: 14px;
		margin-left: 7px;
	}

	.sf-merch-flag__copy {
		gap: 4px;
	}

	.sf-merch-flag__title {
		font-size: 13px;
	}

	.sf-merch-flag__subtitle {
		font-size: var(--wp--preset--font-size--sf-small, .8125rem);
	}

	.sf-card-award-logo {
		bottom: 14px;
		left: 16px;
		width: 74px;
		height: 74px;
		max-width: calc(100% - 32px);
		max-height: 74px;
	}

	.sf-card-award-logo--good-design {
		width: 92px;
		height: 43px;
		max-height: 43px;
	}

	.sf-card-award-logo--productreview {
		width: 104px;
		height: 39px;
		max-height: 39px;
	}

	.sf-card-award-logo--reddot {
		width: 78px;
		height: 70px;
		max-height: 70px;
	}
}

@media (max-width: 360px) {
	.sf-merch-flag {
		align-items: flex-start;
		min-height: 0;
		max-width: calc(100% - 146px);
		gap: 5px;
		padding: 7px 9px 7px 12px;
	}

	.sf-merch-flag svg {
		width: 13px;
		height: 13px;
		margin-left: 3px;
	}

	.sf-merch-flag__copy {
		gap: 3px;
	}

	.sf-merch-flag__title {
		font-size: var(--wp--preset--font-size--sf-small, .8125rem);
		line-height: 1.08;
		white-space: normal;
	}

	.sf-merch-flag__subtitle {
		font-size: var(--wp--preset--font-size--sf-small, .8125rem);
		line-height: 1.08;
		white-space: normal;
	}

	.sf-card-award-logo {
		width: 68px;
		height: 68px;
		max-height: 68px;
	}

	.sf-card-award-logo--good-design {
		width: 84px;
		height: 40px;
		max-height: 40px;
	}

	.sf-card-award-logo--productreview {
		width: 96px;
		height: 36px;
		max-height: 36px;
	}

	.sf-card-award-logo--reddot {
		width: 70px;
		height: 63px;
		max-height: 63px;
	}
}

