/**
 * Woo Card Chef - PDP USP / Benefits widget styles.
 *
 * BEM block: .wcpce-usps
 * Server-rendered, zero JS. ACF stores only text; Elementor controls layout
 * and presentation.
 *
 * @since 2.2.0
 */

/* ===== BLOCK ===== */
.wcpce-usps {
	--wcpce-usp-columns: 1;
	color: #2a2a2a;
}

.wcpce-usps__heading {
	margin: 0 0 10px;
	color: #2a2a2a;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.25;
}

.wcpce-usps__list {
	display: grid;
	grid-template-columns: repeat(var(--wcpce-usp-columns), minmax(0, 1fr));
	row-gap: 8px;
	column-gap: 12px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.wcpce-usps__item {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	min-width: 0;
	color: #2a2a2a;
	line-height: 1.35;
}

.wcpce-usps__text {
	display: block;
	flex: 1 1 auto;
	min-width: 0;
	color: #2a2a2a;
	font-size: 14px;
	font-weight: 500;
}

/* ===== ICONS ===== */
.wcpce-usps__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	margin-top: 2px;
	color: #3EC26D;
}

.wcpce-usps__icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.wcpce-usps__icon--dot::before {
	content: "";
	display: block;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: currentColor;
}

.wcpce-usps--no-icons .wcpce-usps__item {
	gap: 0;
}

/* ===== LAYOUT: CARDS ===== */
.wcpce-usps--cards .wcpce-usps__item {
	padding: 12px;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 8px;
	background: #ffffff;
}

/* ===== LAYOUT: INLINE ===== */
.wcpce-usps--inline .wcpce-usps__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
}

.wcpce-usps--inline .wcpce-usps__item {
	flex: 0 1 auto;
}

/* ===== EDITOR NOTICE ===== */
.wcpce-usps-editor-notice {
	padding: 10px 12px;
	border: 1px dashed #3EC26D;
	border-radius: 6px;
	background: #f4fbf6;
	color: #2a2a2a;
	font-size: 13px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 767px) {
	.wcpce-usps {
		--wcpce-usp-columns: 1;
	}

	.wcpce-usps--inline .wcpce-usps__list {
		align-items: flex-start;
	}
}
