/* ==========================================================
   ACTIVEHERB TRUST BANNER
   Standalone reusable ticker CSS.
   Default product-page AB flag expected by JS: product-page-trust-banner
   ========================================================== */
section.ah-trust-banner,
.ah-trust-banner {
	display: none;
	width: 100%;
	height: var(--trust-banner-height, 66px);
	min-height: var(--trust-banner-height, 66px);
	max-height: var(--trust-banner-height, 66px);
	margin: 0 !important;
	padding: 0 !important;
	background: #f7f7f7;
	font-family: Poppins, Montserrat, Arial, sans-serif;
	overflow: hidden;
	position: relative;
	box-sizing: border-box;
}

.ah-trust-banner.ah-trust-banner--active {
	display: block;
}

.ah-trust-banner *,
.ah-trust-banner *::before,
.ah-trust-banner *::after {
	box-sizing: border-box;
}

.ah-trust-banner__track {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	height: 100%;
	min-height: 0;
	display: flex;
	align-items: center;
	gap: 150px;
	width: max-content;
	will-change: transform;
	animation: ahTrustTicker var(--ah-trust-scroll-duration, 80s) linear
		infinite;
}

.ah-trust-banner__item {
	flex: 0 0 auto;
	height: 100%;
	min-height: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	color: #111;
	white-space: normal;
}

.ah-trust-banner__content,
.ah-trust-banner__content:visited,
.ah-trust-banner__content:hover,
.ah-trust-banner__content:focus,
.ah-trust-banner__content:active {
	color: #111;
	text-decoration: none;
}

.ah-trust-banner__content {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
	height: 100%;
	min-height: 0;
	padding: 0;
	box-sizing: border-box;
}

.ah-trust-banner__icon {
	flex: 0 0 auto;
	width: 45px;
	height: 45px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ah-trust-banner__icon img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.ah-trust-banner__copy {
	display: flex;
	flex-direction: column;
	justify-content: center;
	line-height: 1.08;
	min-width: 0;
	max-width: 260px;
}

.ah-trust-banner__line {
	display: block;
	margin: 0;
	padding: 0;
	font-size: clamp(14px, 1.05vw, 18px);
	font-weight: 400;
	letter-spacing: -0.015em;
	line-height: 1.12;
	color: #111;
	white-space: nowrap;
}

@media (max-width: 1100px) {
	.ah-trust-banner__track {
		gap: 75px;
		padding: 0;
	}
}

@media (max-width: 750px) {
	.ah-trust-banner {
		--trust-banner-height: 52px;
	}

	.ah-trust-banner__track {
		gap: 38px;
		padding: 0;
	}

	.ah-trust-banner__content {
		gap: 10px;
		padding: 0;
	}

	.ah-trust-banner__icon {
		width: 32px;
		height: 32px;
	}

	.ah-trust-banner__copy {
		max-width: 168px;
	}

	.ah-trust-banner__line {
		font-size: clamp(13px, 3.7vw, 17px);
		line-height: 1.1;
	}
}

@media (max-width: 420px) {
	.ah-trust-banner__content {
		gap: 8px;
	}

	.ah-trust-banner__icon {
		width: 30px;
		height: 30px;
	}

	.ah-trust-banner__copy {
		max-width: 154px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ah-trust-banner__track {
		animation-duration: 90s;
	}
}

@keyframes ahTrustTicker {
	from {
		transform: translate3d(0, 0, 0);
	}
	to {
		transform: translate3d(-50%, 0, 0);
	}
}
