.tf-physical-archive {
	max-width: 1200px;
	margin: 0 auto;
	padding: 32px 24px;
}

.tf-physical-archive-heading {
	margin: 0 0 20px;
	font-size: 1.8rem;
}

.tf-physical-archive-controls {
	display: flex;
	margin-bottom: 24px;
}

.tf-physical-archive-manufacturer {
	flex: 0 1 220px;
	padding: 10px 32px 10px 12px;
	font-size: 1rem;
	border: 1px solid #ccc;
	border-radius: 4px;
	background-color: #fff;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23555' d='M4 6l4 4 4-4z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 10px center;
	background-size: 14px;
	cursor: pointer;
}

.tf-physical-archive-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 24px;
}

.tf-physical-archive-card {
	border: 1px solid #e2e2e2;
	border-radius: 8px;
	padding: 16px;
}

/*
 * display:flex here (rather than on .tf-physical-archive-card itself) so it
 * only applies to non-hidden cards. Author styles beat the UA stylesheet's
 * `[hidden] { display: none }` at equal specificity regardless of source
 * order, so an unconditional `display` on the base class would silently
 * defeat card.hidden in JS and every card would stay visible.
 */
.tf-physical-archive-card:not([hidden]) {
	display: flex;
	flex-direction: column;
}

.tf-physical-archive-card-link {
	text-decoration: none;
	color: inherit;
}

.tf-physical-archive-card-image img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 4px;
	margin-bottom: 12px;
}

.tf-physical-archive-card-name {
	margin: 0 0 8px;
	font-size: 1.05rem;
}

.tf-physical-archive-card-price {
	margin: 0 0 8px;
	font-weight: 600;
}

.tf-physical-archive-card-excerpt {
	margin: 0 0 12px;
	font-size: 0.9rem;
	color: #555;
	flex-grow: 1;
}

.tf-physical-archive-card-cta {
	display: inline-block;
	background: #2271b1;
	color: #fff;
	text-align: center;
	padding: 10px 16px;
	border-radius: 4px;
	text-decoration: none;
	font-weight: 600;
}

.tf-physical-archive-card-cta:hover {
	background: #135e96;
	color: #fff;
}

.tf-physical-archive-empty,
.tf-physical-archive-empty-category {
	color: #666;
	font-style: italic;
}

@media (max-width: 480px) {
	.tf-physical-archive-manufacturer {
		flex: 1 1 auto;
		width: 100%;
	}
}
