/* ==========================================================================
   Galleria De Rings: trust strip (home page, under Shop by Shape)
   A slim sapphire band of promises that scrolls slowly right to left and
   pauses on hover. Small line icons, a small dot between items, ends that
   fade into navy. Speed and repeats come from assets/js/trust-strip.js.
   Reduced motion: no scrolling animation.
   ========================================================================== */

.trust-strip {
	--trust-gap: 28px; /* space either side of the dot */

	position: relative;
	overflow: hidden;
	background: linear-gradient(90deg, var(--g-navy) 0%, var(--g-sapphire, #1e3358) 50%, var(--g-navy) 100%);
	color: var(--g-white);
}

/* Soft fade at both ends: navy overlays that stay put while the text moves */
.trust-strip::before,
.trust-strip::after {
	position: absolute;
	top: 0;
	bottom: 0;
	z-index: 1;
	width: clamp(32px, 5vw, 80px);
	content: "";
	pointer-events: none;
}

.trust-strip::before {
	left: 0;
	background: linear-gradient(90deg, var(--g-navy), rgba(11, 19, 42, 0));
}

.trust-strip::after {
	right: 0;
	background: linear-gradient(270deg, var(--g-navy), rgba(11, 19, 42, 0));
}

.trust-strip__track {
	display: flex;
	width: max-content;
	animation: galleria-trust var(--trust-duration, 40s) linear infinite;
}

.trust-strip:hover .trust-strip__track {
	animation-play-state: paused;
}

.trust-strip__list {
	display: flex;
	flex: none;
	margin: 0;
	padding: 0;
	list-style: none;
}

.trust-strip__item {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 13px 0;
	font-family: var(--g-font-body);
	font-size: 12.5px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	white-space: nowrap;
}

/* Small dot after every item (including the last, so the loop joins up) */
.trust-strip__item::after {
	flex: none;
	width: 3px;
	height: 3px;
	margin: 0 var(--trust-gap);
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.4);
	content: "";
}

.trust-strip__item .icon {
	flex: none;
	width: 18px;
	height: 18px;
	stroke-width: 1.5;
	opacity: 0.85;
}

@keyframes galleria-trust {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}

@media (max-width: 600px) {
	.trust-strip {
		--trust-gap: 20px;
	}

	.trust-strip__item {
		gap: 8px;
		padding: 11px 0;
		font-size: 11.5px;
		letter-spacing: 0.08em;
	}

	.trust-strip__item .icon {
		width: 16px;
		height: 16px;
	}
}

/* Reduced motion: stand still, one copy, scroll sideways by hand */
@media (prefers-reduced-motion: reduce) {
	.trust-strip {
		overflow-x: auto;
		scrollbar-width: none;
	}

	.trust-strip::-webkit-scrollbar {
		display: none;
	}

	.trust-strip__track {
		animation: none;
		padding-left: var(--g-gutter);
	}

	.trust-strip__list[aria-hidden="true"] {
		display: none;
	}
}
