/* Product Highlights — TP-842
 * Small icon + label "tags" shown under the price on single-product pages.
 * CSS logical properties so the layout works LTR + RTL identically. */

.buycarpet-highlights {
	display: flex;
	flex-wrap: wrap;
	gap: 28px;
	list-style: none;
	margin: 10px 0 0;
	padding: 0;
	font-size: 13px;
	line-height: 1.3;
	color: #555;
}

.buycarpet-highlights__item {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 0;
	margin: 0;
}

.buycarpet-highlights__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.buycarpet-highlights__icon svg,
.buycarpet-highlights__icon img {
	max-width: 32px;
	max-height: 32px;
	width: auto;
	height: 32px;
	display: block;
}

.buycarpet-highlights__label {
	white-space: nowrap;
}

/* Custom highlights with no uploaded icon: render a subtle dot so the row
 * still aligns with icon-bearing items. CSS :has() is supported in all
 * evergreen browsers (Chrome 105+, Safari 15.4+, Firefox 121+); old browsers
 * just don't show the dot, which degrades gracefully. */
.buycarpet-highlights__item--custom:not(:has(.buycarpet-highlights__icon))::before {
	content: "•";
	color: #b06b00;
	font-weight: bold;
	margin-inline-end: 4px;
}

@media (max-width: 768px) {
	.buycarpet-highlights {
		gap: 6px 12px;
		font-size: 12px;
		margin-top: 8px;
	}
	.buycarpet-highlights__icon svg,
	.buycarpet-highlights__icon img {
		max-width: 16.1px;
		max-height: 16.1px;
		width: auto;
		height: 16.1px;
	}
}
