.spgfw-section {
	clear: both;
	margin: 3rem 0;
	padding-top: 2rem;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.spgfw-section__title {
	margin: 0 0 1.5rem;
	text-align: center;
}

.spgfw-grid {
	display: grid;
	grid-template-columns: repeat(var(--spgfw-columns, 4), minmax(0, 1fr));
	gap: clamp(0.75rem, 2vw, 1.5rem);
}

.spgfw-item {
	min-width: 0;
}

.spgfw-tile {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 5;
	border-radius: 0.375rem;
	background: #f2f2f2;
	color: inherit;
}

.spgfw-tile img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
	transition: transform 220ms ease;
}

a.spgfw-tile:hover img,
a.spgfw-tile:focus-visible img {
	transform: scale(1.035);
}

a.spgfw-tile:focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 3px;
}

.spgfw-tile__icon {
	position: absolute;
	top: 0.625rem;
	right: 0.625rem;
	display: grid;
	width: 2rem;
	height: 2rem;
	place-items: center;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.9);
	color: #1e1e1e;
	font-size: 1rem;
	line-height: 1;
}

.spgfw-caption {
	margin-top: 0.625rem;
	font-size: 0.9em;
}

.spgfw-customer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-top: 0.625rem;
	font-size: 0.875em;
}

.spgfw-customer__name {
	overflow: hidden;
	font-weight: 600;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.spgfw-rating {
	flex: 0 0 auto;
	color: #b36b00;
	letter-spacing: 0.06em;
}

.spgfw-caption > :last-child {
	margin-bottom: 0;
}

.spgfw-products {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 0.625rem;
}

.spgfw-product {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	max-width: 100%;
	padding: 0.2rem 0.65rem 0.2rem 0.2rem;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 999px;
	color: inherit;
	font-size: 0.8em;
	line-height: 1.2;
	text-decoration: none;
}

.spgfw-product img {
	width: 1.75rem;
	height: 1.75rem;
	margin: 0;
	border-radius: 50%;
	object-fit: cover;
}

.spgfw-product span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

@media (max-width: 782px) {
	.spgfw-grid {
		grid-template-columns: repeat(min(var(--spgfw-columns, 4), 2), minmax(0, 1fr));
	}
}

@media (max-width: 420px) {
	.spgfw-grid {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.spgfw-tile img {
		transition: none;
	}
}