/* Our Partners — heading + logo tiles on light grey (design.md §our-partners). */

.tt-partners {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	min-height: 218px;
	padding-inline: 50px;
	background: #eaeaea;
}

.tt-partners__title {
	margin: 0;
	font-family: var(--wp--preset--font-family--oswald, "Oswald", sans-serif) !important;
	font-weight: 600 !important;
	font-size: 52px;
	line-height: 1.05;
	text-transform: uppercase;
	color: #000 !important;
}

.tt-partners__logos {
	display: flex;
	align-items: center;
	gap: 30px;
}

.tt-partners__logo {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 220px;
	height: 150px;
	background: #fff;
}

/* The design draws each logo square at ~the tile's full WIDTH — 219.33 on a
   220px tile (nodes 111:31 / :33 / :34) — so it overflows the 150px tile height
   and leans on the sources' own transparent padding to stay visually inside.
   The previous `max-height: 80%` capped a square source at 120px, i.e. barely
   half the tile width, which is why the logos read as small. Sizing is by width
   only; height follows the source's square ratio. */
.tt-partners__logo img {
	width: 219.33px;
	height: auto;
	object-fit: contain;
	mix-blend-mode: multiply;
}

/* Bergara's mark is drawn smaller inside its square: 195.83 of the same 220px
   tile — the design scales all three sources by a uniform 78.33%, and this one
   starts from a 250px source rather than 280px. */
.tt-partners__logo--bergara img {
	width: 195.83px;
}

/* "SCROLL →" indicator — mobile only, where the logo row scrolls (node 4004:276) */
.tt-partners__scroll {
	display: none;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-top: 16px;
	color: var(--wp--preset--color--grey, #73736f);
}

.tt-partners__scroll-label {
	font-family: var(--wp--preset--font-family--barlow-condensed, "Barlow Condensed", sans-serif);
	font-size: 12px;
	letter-spacing: 1.8px;
	text-transform: uppercase;
}

.tt-partners__scroll-arrow {
	width: 40px;
	height: 8px;
}

/* ---- Mobile (≤767px) ----------------------------------------------------- */
@media (max-width: 767px) {
	.tt-partners {
		flex-direction: column;
		align-items: stretch;
		gap: 24px;
		padding: 40px 20px;
	}

	/* Logo row becomes a snap-scrolling slider: 200 × 150 tiles with a 10px gap
	   in a 640px track inside the 440 viewport (node 25:657), starting 20px in
	   so the next tile peeks. Same edge-bleed + re-pad as the shop grid, and
	   scroll-padding so snapping respects that padding. */
	.tt-partners__logos {
		flex-wrap: nowrap;
		gap: 10px;
		margin-inline: -20px;
		padding-inline: 20px;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
		scroll-padding-inline: 20px;
		scrollbar-width: none;
		-ms-overflow-style: none;
	}

	.tt-partners__logos::-webkit-scrollbar {
		display: none;
	}

	.tt-partners__logo {
		flex: none;
		width: 200px;
		height: 150px;
		scroll-snap-align: start;
	}

	/* Logo still sized by the tile's width (see the desktop note above) */
	.tt-partners__logo img {
		width: 200px;
	}

	.tt-partners__logo--bergara img {
		width: 195.83px;
	}

	.tt-partners__scroll {
		display: flex;
	}
}
