/**
 * Styles for the trusted-badges block shown on sign-up/checkout pages.
 *
 * Extracted from the per-page inlined styles into a shared component-scoped
 * file so the block can be maintained (markup + styles) in one place.
 * Included by legacy/sign-up/includes/trusted-badges.php.
 */

.trusted-badges {
	display: flex;
	gap: 10px;
	align-items: center;
	justify-content: space-between;
	flex-direction: column;
	background: #FFFFFF;
	border: 1px solid #E5E7EB;
	border-radius: 8px;
	padding: 24px 20px;
	margin-top: 20px;
}

.trusted-badges__title {
	font-size: 20px;
	font-weight: 500;
	font-family: "Söhne", Sohne, sans-serif;
	color: #000000;
	margin-bottom: 20px;
	text-align: center;
	line-height: 24px;
	letter-spacing: 0.2px;
}

.trusted-badges__list {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 0;
}

.trust-badge {
	display: flex;
	flex-direction: column;
	text-align: center;
	flex: 1;
	padding: 0 22px;
	position: relative;
	justify-content: center;
	align-items: center;
	height: 100%;
	gap: 8px;
}

.trust-badge:not(:last-child)::after {
	content: none;
}

.trust-badge:nth-child(2)::before,
.trust-badge:nth-child(2)::after {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	width: 1px;
	background: #E5E7EB;
}

.trust-badge:nth-child(2)::before {
	left: 0;
}

.trust-badge:nth-child(2)::after {
	right: 0;
}

.trust-badge__name {
	font-size: 18px;
	font-weight: 500;
	font-family: "Söhne", Sohne, sans-serif;
	color: #111827;
	line-height: 28px;
	letter-spacing: 0.2px;
	min-height: 43px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.trust-badge__name img {
	max-width: 114px;
	height: auto;
	display: block;
	margin: 0 auto;
}

.trust-badge__stars {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.trust-badge__stars img {
	width: 101px;
	height: auto;
	display: block;
}

.trust-badge__rating {
	font-size: 14px;
	font-weight: 500;
	font-family: "Söhne", Sohne, sans-serif;
	color: #111827;
	line-height: 20px;
	letter-spacing: 1px;
}

.trust-badge__reviews {
	font-size: 12px;
	font-weight: 500;
	font-family: "Söhne", Sohne, sans-serif;
	color: #6A7181;
	line-height: 16px;
	letter-spacing: 0.1px;
}

@media (max-width: 768px) {
	.trusted-badges {
		flex-direction: column;
		width: 100%;
		padding: 20px 16px;
	}

	.trusted-badges__title {
		font-size: 18px;
		margin-bottom: 16px;
	}

	.trusted-badges__list {
		flex-direction: column;
		gap: 0;
	}

	.trust-badge {
		padding: 16px 0;
		width: 100%;
	}

	.trust-badge:nth-child(2)::before,
	.trust-badge:nth-child(2)::after {
		display: none;
	}

	.trust-badge:not(:last-child) {
		border-bottom: 1px solid #E5E7EB;
		padding-bottom: 16px;
	}
}

@media (min-width: 992px) and (max-width: 1259px) {
	.trusted-badges {
		flex-direction: column;
		width: 100%;
	}
}

@media (min-width: 1260px) {
	.trusted-badges {
		width: 100%;
	}
}
