/**
 * Trust Band — delivery / returns / payment / support reassurances, sitting
 * directly under the hero. Four across on desktop, two on tablet and phones
 * (a 4-up row of icon + two lines of copy is unreadable at 390px).
 */

/*
 * Four one-line cards don't need a full section's worth of breathing room.
 * The bottom padding lives on the block wrapper in render.php (trimmed to
 * --spacing--sm); this trims the other end, where the theme's 1.5rem block
 * gap would otherwise stack on top of the hero's own bottom padding.
 */
.zozia-trust-band {
	margin-top: var(--wp--preset--spacing--sm);
	max-width: var(--wp--style--global--wide-size, 1200px);
	margin-left: auto;
	margin-right: auto;
}

.zozia-trust-band__list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.zozia-trust-band__item {
	margin: 0;
}

.zozia-trust-band__link {
	display: flex;
	align-items: center;
	gap: 12px;
	height: 100%;
	box-sizing: border-box;
	padding: 16px 18px;
	border: 1px solid var(--wp--preset--color--border-light);
	border-radius: var(--wp--custom--radius--sm);
	background-color: var(--wp--preset--color--surface);
	text-decoration: none;
}

.zozia-trust-band__link:hover {
	border-color: var(--wp--preset--color--primary);
	text-decoration: none;
}

.zozia-trust-band__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 34px;
	height: 34px;
	color: var(--wp--preset--color--primary);
}

.zozia-trust-band__icon svg {
	width: 22px;
	height: 22px;
	display: block;
}

.zozia-trust-band__copy {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.zozia-trust-band__title {
	font-family: var(--wp--preset--font-family--body);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--wp--preset--color--ink);
}

.zozia-trust-band__text {
	font-family: var(--wp--preset--font-family--body);
	font-size: 12px;
	line-height: 1.35;
	color: var(--wp--preset--color--muted);
}

@media (max-width: 900px) {
	.zozia-trust-band__list {
		grid-template-columns: repeat(2, 1fr);
	}
}

/*
 * Hidden on phones: below the theme's 782px mobile breakpoint the band becomes
 * two stacked rows of small print between the hero and the first product row,
 * pushing real content down for reassurances that also appear on the product
 * and checkout pages.
 */
@media (max-width: 782px) {
	.zozia-trust-band {
		display: none;
	}
}
