/* Set browser navigation */

.tcgv-navigation {
	display: flex;
	gap: 12px;
	margin-bottom: 24px;
}

.tcgv-view-button {
	padding: 12px 24px;
	border: 1px solid #ddd;
	border-radius: 8px;
	background: #fff;
	color: #222;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
}

.tcgv-view-button.is-active {
	background: #222;
	border-color: #222;
	color: #fff;
}

/* Set browser grid */

.tcgv-catalog .tcgv-grid:has(.tcgv-set-card) {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 24px;
	align-items: stretch;
}

.tcgv-set-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 0;
	width: 100%;
	padding: 20px;
	border: 1px solid #e5e5e5;
	border-radius: 12px;
	background: #fff;
	color: #222;
	text-align: center;
	cursor: pointer;
	overflow: hidden;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tcgv-set-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.tcgv-set-artwork {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 220px;
	margin-bottom: 16px;
}

.tcgv-set-artwork img {
	display: block;
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 100%;
	object-fit: contain;
}

.tcgv-set-information {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	width: 100%;
}

.tcgv-set-logo {
	display: block;
	width: auto;
	max-width: 150px;
	height: auto;
	max-height: 60px;
	object-fit: contain;
}

.tcgv-set-information h3 {
	margin: 0;
	font-size: 17px;
	line-height: 1.3;
}

.tcgv-set-information small {
	color: #777;
	font-size: 12px;
}

.tcgv-set-total {
	font-size: 13px;
	font-weight: 600;
	color: #555;
}

.tcgv-set-artwork .tcgv-no-image {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
	border-radius: 8px;
	background: #f5f5f5;
	color: #999;
	font-size: 13px;
}

@media (max-width: 600px) {
	.tcgv-catalog .tcgv-grid:has(.tcgv-set-card) {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	.tcgv-set-card {
		padding: 12px;
	}

	.tcgv-set-artwork {
		height: 160px;
	}
}