/**
 * Banoumi Product Highlights — front end.
 * Neutral defaults; every visual value can be overridden from the widget's style tab.
 *
 * @package Hesam\ProductHighlights
 */

.hsm-ph-suitable,
.hsm-ph-features,
.hsm-ph-suitable *,
.hsm-ph-features * {
	box-sizing: border-box;
}

.hsm-ph-suitable__title,
.hsm-ph-features__title {
	margin: 0 0 16px;
}

/* Suitable for you if */
.hsm-ph-suitable__list {
	--hsm-ph-columns: 1;
	display: grid;
	grid-template-columns: repeat(var(--hsm-ph-columns), minmax(0, 1fr));
	gap: 10px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hsm-ph-suitable__item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	padding: 0;
	line-height: 1.7;
}

.hsm-ph-suitable__icon {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	margin-block-start: 0.25em;
	font-size: 18px;
	line-height: 1;
}

.hsm-ph-suitable__icon i {
	line-height: 1;
}

.hsm-ph-suitable__icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.hsm-ph-suitable__text {
	flex: 1 1 auto;
	min-width: 0;
}

/* Why this product is special */
.hsm-ph-features__grid {
	--hsm-ph-columns: 4;
	display: grid;
	grid-template-columns: repeat(var(--hsm-ph-columns), minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hsm-ph-features__card {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
	margin: 0;
	padding: 16px;
	border: 1px solid rgba(0, 0, 0, 0.06);
	border-radius: 16px;
	background-color: rgba(255, 255, 255, 0.6);
	transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.hsm-ph-features--icon-top .hsm-ph-features__card {
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.hsm-ph-features__icon {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background-color: rgba(0, 0, 0, 0.04);
	font-size: 24px;
	line-height: 1;
	transition: color 0.25s ease, background-color 0.25s ease;
}

.hsm-ph-features__icon i {
	line-height: 1;
}

.hsm-ph-features__body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.hsm-ph-features__name {
	font-weight: 700;
}

.hsm-ph-features__desc {
	font-size: 0.875em;
}

/* Editor-only note */
.hsm-ph-editor-note {
	margin: 12px 0 0;
	padding: 6px 10px;
	border: 1px dashed rgba(0, 0, 0, 0.25);
	border-radius: 6px;
	font-size: 12px;
	line-height: 1.6;
}
