/* Namespaced: no selectors change the theme's product card or typography. */
.katpb-badges {
	--katpb-color: var(--wd-primary-color, #20503e);
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: flex-start;
	gap: 5px;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	margin: 7px 0 9px;
	padding: 0;
	box-sizing: border-box;
	direction: rtl;
	font-family: inherit;
	text-align: center;
}

.katpb-badges .katpb-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
	flex: 0 1 auto;
	min-width: 0;
	max-width: 100%;
	min-height: 29px;
	margin: 0;
	padding: 5px 9px;
	box-sizing: border-box;
	border: 1px solid #e5dece;
	border-radius: 999px;
	background: #f6f2e8;
	color: var(--katpb-color);
	font-family: inherit;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.55;
	text-align: center;
	vertical-align: middle;
	box-shadow: 0 1px 2px rgba(35, 43, 30, .025);
}

.katpb-badges .katpb-text {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	min-width: 0;
	max-width: 100%;
	max-height: 3.1em;
	overflow: hidden;
	overflow-wrap: anywhere;
	white-space: normal;
	color: inherit;
	font-family: inherit;
}

.katpb-badges .katpb-label {
	font-weight: 600;
	color: inherit;
}

.katpb-badges .katpb-icon {
	display: block;
	flex: 0 0 15px;
	width: 15px;
	height: 15px;
	margin: 0;
	padding: 0;
	color: inherit;
}

@media (max-width: 480px) {
	.katpb-badges {
		gap: 4px;
		margin: 6px 0 8px;
	}
	.katpb-badges .katpb-badge {
		gap: 3px;
		padding: 4px 7px;
		min-height: 27px;
		font-size: 10.5px;
	}
	.katpb-badges .katpb-icon {
		flex-basis: 13px;
		width: 13px;
		height: 13px;
	}
}
