/* Conversion Pro — Trust Markers (module 11). Simple horizontal row of
   icon+label badges, visual only (no links, confirmed with owner).
   Section background is set inline per CVP_Trust_Markers::render_strip();
   the rule below is just a fallback. */

.cvp-trust-markers {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 20px;
	background: #fff;
	padding: 6px 12px;
	/* Confirmed live: `.elementor-element-f6ecc1b` (the shortcode
	   widget's direct parent) turned out to be a page-wide flex
	   container shared by every homepage section, not a small per-widget
	   wrapper — a margin/padding change there moves the WHOLE page, not
	   just this gap, and measurably had no effect on the Best Sellers →
	   Trust Markers spacing specifically. The technique that actually
	   works (proven on Shop by Collection/Offers/Best Sellers just above
	   in homepage.css) is a negative margin on the shortcode's OWN class,
	   not an ancestor several levels up — applying that same pattern
	   here instead. */
	margin-top: -20px;
}

/* Badge background is set inline per-marker; this rule is a fallback for
   the rare case a marker renders without that inline style. */
.cvp-trust-marker {
	display: flex;
	align-items: center;
	gap: 8px;
	background: #fff;
	border: 1px solid #eee;
	border-radius: 6px;
	padding: 8px 14px;
}

.cvp-trust-marker__icon {
	width: 28px;
	height: 28px;
	object-fit: contain;
	flex: 0 0 auto;
}

.cvp-trust-marker__label {
	font-size: 13px;
	font-weight: 600;
	color: #333;
	white-space: nowrap;
}

@media ( max-width: 600px ) {
	.cvp-trust-markers {
		gap: 10px;
		padding: 10px 8px;
	}

	.cvp-trust-marker {
		padding: 6px 10px;
	}

	.cvp-trust-marker__icon {
		width: 22px;
		height: 22px;
	}

	.cvp-trust-marker__label {
		font-size: 11px;
	}
}

/* Reported live: with all 5 markers' labels still visible, this row wraps
   to 2-3 lines on real phone widths instead of the single-line strip it's
   meant to be — flex-wrap simply doesn't have room for 5 icon+label
   badges on a ~375-420px screen. Icon-only badges below ~480px fit all 5
   comfortably on one line (confirmed: 5 x ~40px icon-badges + gaps is
   well under even the narrowest common phone width), which is the
   explicit fallback asked for over just letting it keep wrapping. */
@media ( max-width: 480px ) {
	.cvp-trust-markers {
		flex-wrap: nowrap;
		justify-content: space-between;
		gap: 6px;
		padding: 8px 6px;
	}

	.cvp-trust-marker {
		flex: 1 1 0;
		flex-direction: column;
		justify-content: center;
		gap: 3px;
		padding: 6px 2px;
		min-width: 0;
	}

	.cvp-trust-marker__icon {
		width: 20px;
		height: 20px;
	}

	.cvp-trust-marker__label {
		display: none;
	}
}
