/* Customer-facing approved proof thumbnail strips. */

.ttg-proof-customer {
	--ttg-proof-customer-thumb-size: 48px;

	clear: both;
	max-width: 100%;
	margin-top: 0.65rem;
	font-size: 12px;
	line-height: 1.3;
}

.ttg-proof-customer--cart {
	--ttg-proof-customer-thumb-size: 56px;
}

.ttg-proof-customer__title {
	display: block;
	margin: 0 0 6px;
	color: #334155;
	font-size: 12px;
	font-weight: 600;
}

.ttg-proof-customer__list {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 8px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.ttg-proof-customer__item {
	flex: 0 1 172px;
	min-width: 0;
	margin: 0 !important;
	padding: 0 !important;
}

.ttg-proof-customer__link {
	display: grid;
	grid-template-columns: var(--ttg-proof-customer-thumb-size) minmax(0, 1fr);
	gap: 7px;
	align-items: center;
	min-width: 0;
	color: inherit;
	text-decoration: none;
}

.ttg-proof-customer__link:hover,
.ttg-proof-customer__link:focus,
.ttg-proof-customer__link:focus-visible {
	color: #024f7c;
	text-decoration: none;
}

.ttg-proof-customer__link:focus,
.ttg-proof-customer__link:focus-visible {
	border-radius: 5px;
	outline: 2px solid #0370af;
	outline-offset: 2px;
}

.ttg-proof-customer__thumbnail {
	display: flex;
	box-sizing: border-box;
	width: var(--ttg-proof-customer-thumb-size);
	height: var(--ttg-proof-customer-thumb-size);
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border: 1px solid #cbd5e1;
	border-radius: 5px;
	background: #f8fafc;
}

.ttg-proof-customer__thumbnail img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: contain;
}

.ttg-proof-customer__extension {
	color: #475569;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.ttg-proof-customer__meta {
	display: flex;
	min-width: 0;
	flex-direction: column;
	gap: 2px;
}

.ttg-proof-customer__side {
	color: #1e293b;
	font-weight: 600;
}

.ttg-proof-customer__state {
	color: #166534;
	font-size: 11px;
	font-weight: 600;
}

.ttg-proof-customer__state.is-awaiting {
	color: #9a3412;
}

.ttg-proof-customer__filename {
	display: block;
	overflow: hidden;
	color: #64748b;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.variation dd .ttg-proof-customer {
	margin-top: 2px;
}

.variation dd .ttg-proof-customer p {
	margin: 0;
}

@media (max-width: 600px) {
	.ttg-proof-customer__item {
		flex-basis: min(100%, 172px);
	}
}
