/* Zhav — نوار اعتماد */

.zhav-trust {
	--zhav-trust-icon: #5b3fd6;
	--zhav-trust-title: #2a2150;
	--zhav-trust-sub: #8a8a8a;
	--zhav-trust-line: #e6e6e8;
	direction: rtl;
	width: 100%;
}

.zhav-trust__inner {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 96px;
	padding: 22px 28px;
	border-radius: 28px;
	background: linear-gradient(90deg, #f7f7f8 0%, #ffffff 55%, #f4f4f6 100%);
	overflow: visible;
}

/* راست: کاراکتر اول در DOM → در RTL سمت راست */
.zhav-trust--mascot-right .zhav-trust__inner {
	flex-direction: row;
}

/* چپ: ترتیب برعکس */
.zhav-trust--mascot-left .zhav-trust__inner {
	flex-direction: row-reverse;
}

.zhav-trust__list {
	display: flex;
	flex: 1 1 auto;
	align-items: stretch;
	justify-content: space-between;
	gap: 0;
	min-width: 0;
	width: 100%;
}

.zhav-trust__item {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	flex: 1 1 0;
	min-width: 0;
	padding: 6px 18px;
}

.zhav-trust--dividers .zhav-trust__item:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 12%;
	bottom: 12%;
	left: 0;
	width: 1px;
	background: var(--zhav-trust-line);
}

.zhav-trust__icon {
	flex: 0 0 auto;
	display: grid;
	place-items: center;
	color: var(--zhav-trust-icon);
	line-height: 1;
}

.zhav-trust__icon i,
.zhav-trust__icon svg {
	display: block;
}

.zhav-trust__text {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.zhav-trust__title {
	display: block;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.35;
	color: var(--zhav-trust-title);
}

.zhav-trust__subtitle {
	display: block;
	font-size: 12px;
	font-weight: 500;
	line-height: 1.45;
	color: var(--zhav-trust-sub);
}

.zhav-trust__mascot {
	flex: 0 0 auto;
	display: flex;
	align-items: flex-end;
	align-self: flex-end;
	margin-bottom: -12px;
	z-index: 2;
	line-height: 0;
}

.zhav-trust--mascot-right .zhav-trust__mascot {
	margin-right: -10px;
	order: 0;
}

.zhav-trust--mascot-left .zhav-trust__mascot {
	margin-left: -10px;
}

.zhav-trust__mascot img {
	display: block;
	width: 120px;
	height: auto;
	max-width: none;
	object-fit: contain;
	filter: drop-shadow(0 8px 16px rgba(42, 33, 80, 0.12));
}

@media (max-width: 1024px) {
	.zhav-trust__item {
		padding: 6px 12px;
		gap: 10px;
	}

	.zhav-trust__title {
		font-size: 14px;
	}
}

@media (max-width: 768px) {
	.zhav-trust__inner {
		flex-direction: column !important;
		align-items: stretch;
		padding: 20px 16px 16px;
		gap: 12px;
	}

	.zhav-trust__list {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 14px 8px;
	}

	.zhav-trust__item {
		padding: 8px 10px;
	}

	.zhav-trust--dividers .zhav-trust__item:not(:last-child)::after {
		display: none;
	}

	.zhav-trust__mascot {
		order: -1;
		justify-content: center;
		align-self: center;
		margin: 0 0 4px !important;
	}

	.zhav-trust__mascot img {
		width: 96px !important;
	}
}
