
/*!
Theme Name: TCG Stash
Theme URI: https://www.tcgstash.gg/
Author: TCG Stash
Author URI: https://www.tcgstash.gg/
Description: Custom WordPress theme for the TCG Stash Pokemon TCG catalog.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: tcg-stash
Tags: custom-logo, custom-menu, featured-images

TCG Stash is based on Underscores by Automattic.
https://underscores.me/
*/


/* --------------------------------------------------------------
   1. Theme Variables
-------------------------------------------------------------- */

:root {
	--pc-bg: #f7f8fa;
	--pc-header: #10243b;
	--pc-surface: #ffffff;
	--pc-surface-hover: #eef3f8;
	--pc-border: #dde4ec;
	--pc-accent: #ed302b;
	--pc-accent-hover: #c41f24;
	--pc-text: #10243b;
	--pc-muted: #607187;
}


/* --------------------------------------------------------------
   2. Global Styles
-------------------------------------------------------------- */

html,
body {
	background: var(--pc-bg);
	color: var(--pc-text);
}

body {
	color-scheme: light;
	font-family: 'Wix Madefor Display', sans-serif;
}

button,
input,
select,
textarea {
	font: inherit;
}

a {
	color: var(--pc-accent);
}

a:hover {
	color: var(--pc-accent-hover);
}


/* --------------------------------------------------------------
   3. Header and Navigation
-------------------------------------------------------------- */

/* Header container */

.site-header {
	position: relative;
	z-index: 100;
	background: var(--pc-header);
	border-bottom: 1px solid var(--pc-border);
}

.site-header .navbar {
	min-height: 70px;
	padding: 10px 0;
}

/* Text-based logo fallback */

.tcg-stash-brand {
	display: inline-flex;
	align-items: center;
	margin: 0;
	font-size: 27px;
	font-weight: 900;
	letter-spacing: -1.2px;
	line-height: 1;
	text-decoration: none;
}

.tcg-stash-brand-tcg {
	color: #facc15;
}

.tcg-stash-brand-stash {
	color: var(--pc-accent);
}

.tcg-stash-brand:hover {
	text-decoration: none;
}

/* Custom uploaded logo */

.tcg-stash-header-logo {
	display: block;
	width: auto;
	max-width: 300px;
	max-height: 90px;
	object-fit: contain;
}

/* Primary navigation */

.tcg-stash-nav {
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.tcg-stash-nav li {
	list-style: none;
}

.tcg-stash-nav a {
	display: block;
	padding: 10px 16px;
	border-radius: 8px;
	color: var(--pc-muted);
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	transition: color .2s ease, background .2s ease;
}

.tcg-stash-nav a:hover,
.tcg-stash-nav .current-menu-item > a,
.tcg-stash-nav .current-menu-ancestor > a {
	background: var(--pc-surface-hover);
	color: var(--pc-accent);
}

/* Mobile navigation toggle */

.site-header .navbar-toggler {
	border-color: var(--pc-border);
	box-shadow: none;
}

.site-header .navbar-toggler:focus {
	box-shadow: 0 0 0 2px var(--pc-accent);
}


/* --------------------------------------------------------------
   4. Footer
-------------------------------------------------------------- */

.site-footer {
	background: var(--pc-header);
	border-top: 1px solid var(--pc-border);
}


/* --------------------------------------------------------------
   5. Pokemon Series Pages
-------------------------------------------------------------- */

/* Main series container */

.tcg-stash-series {
	min-height: 80vh;
	background: var(--pc-bg);
	color: var(--pc-text);
}

/* Series headings */

.tcg-stash-series h1,
.tcg-stash-series h2 {
	color: var(--pc-text);
}

/* Section eyebrow label */

.tcg-stash-eyebrow {
	color: var(--pc-accent);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
}

/* Bootstrap text color overrides */

.tcg-stash-series .text-secondary {
	color: var(--pc-muted) !important;
}


/* --------------------------------------------------------------
   6. Expansion Cards
-------------------------------------------------------------- */

/* Expansion card container */

.tcg-stash-expansion.card {
	overflow: hidden;
	border: 1px solid var(--pc-border);
	border-radius: 16px;
	background: var(--pc-surface);
	color: var(--pc-text);
	transition:
		transform .2s ease,
		box-shadow .2s ease,
		background .2s ease,
		border-color .2s ease;
}

/* Expansion card hover */

.tcg-stash-expansion:hover {
	transform: translateY(-5px);
	background: var(--pc-surface-hover);
	border-color: var(--pc-accent);
	box-shadow: 0 12px 32px rgba(0, 0, 0, .3);
}

/* Clickable expansion card */

.tcg-stash-expansion-link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.tcg-stash-expansion-link:hover {
	color: inherit;
	text-decoration: none;
}

.tcg-stash-expansion-link:focus-visible {
	outline: 2px solid var(--pc-accent);
	outline-offset: -3px;
	border-radius: 16px;
}

/* Booster pack artwork */

.tcg-stash-expansion-artwork {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 280px;
	padding: 24px;
	background: transparent;
}

.tcg-stash-expansion-artwork img {
	display: block;
	width: auto;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

/* Expansion information */

.tcg-stash-expansion-link .card-body {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-end;
}

/* Expansion logo */

.tcg-stash-expansion-logo {
	display: block;
	width: auto;
	max-width: 170px;
	max-height: 65px;
	margin: 0 auto 16px;
	object-fit: contain;
}

/* Expansion metadata */

.tcg-stash-expansion .badge {
	background: var(--pc-border) !important;
	color: #ddd6fe !important;
}

.tcg-stash-expansion .text-secondary {
	color: var(--pc-muted) !important;
}


/* --------------------------------------------------------------
   7. Individual Pokemon Set Pages
-------------------------------------------------------------- */

/* Main set container */

.tcg-stash-set {
	min-height: 80vh;
	background: var(--pc-bg);
	color: var(--pc-text);
}

/* Set header and logo */

.tcg-stash-set-logo {
	display: block;
	width: auto;
	max-width: 280px;
	max-height: 120px;
	object-fit: contain;
}

.tcg-stash-set-header .text-secondary {
	color: var(--pc-muted) !important;
}

/* Set breadcrumbs */

.tcg-stash-set .breadcrumb-item,
.tcg-stash-set .breadcrumb-item.active {
	color: var(--pc-muted);
	font-weight: 900;
}

.tcg-stash-set .breadcrumb-item a {
	color: var(--pc-accent);
	font-weight: 900;
	text-decoration: none;
}

.tcg-stash-set .breadcrumb-item a:hover,
.tcg-stash-set .breadcrumb-item a:focus-visible {
	color: #10243b;
}

.tcg-stash-set .breadcrumb-item + .breadcrumb-item::before {
	color: var(--pc-muted);
}

.tcg-stash-series .tcg-stash-eyebrow a {
	color: var(--pc-accent);
	font-weight: 900;
	text-decoration: none;
}

.tcg-stash-series .tcg-stash-eyebrow a:hover,
.tcg-stash-series .tcg-stash-eyebrow a:focus-visible {
	color: #10243b;
}


/* --------------------------------------------------------------
   8. Pokemon Card Grid
-------------------------------------------------------------- */

/* Individual Pokemon card */

.tcg-stash-card {
	height: 100%;
	overflow: hidden;
	border: 1px solid var(--pc-border);
	border-radius: 12px;
	background: var(--pc-surface);
	transition:
		transform .2s ease,
		border-color .2s ease;
}

/* Pokemon card hover */

.tcg-stash-card:hover {
	transform: translateY(-4px);
	border-color: var(--pc-accent);
}

/* Pokemon card image */

.tcg-stash-card > img {
	display: block;
	width: 100%;
	height: auto;
}

/* Pokemon card information */

.tcg-stash-card-details {
	padding: 14px;
}

.tcg-stash-card-details h3 {
	margin: 0 0 5px;
	color: var(--pc-text);
	font-size: 14px;
	font-weight: 600;
}

.tcg-stash-card-details p {
	margin: 0 0 5px;
	color: var(--pc-muted);
	font-size: 12px;
}

.tcg-stash-card-details small {
	color: var(--pc-accent);
	font-size: 11px;
}


/* --------------------------------------------------------------
   9. Card Filters and Controls
-------------------------------------------------------------- */

/* Rarity dropdown */

.tcg-stash-card-toolbar .form-select {
	background-color: var(--pc-surface);
	border-color: var(--pc-border);
	color: var(--pc-text);
}

.tcg-stash-card-toolbar .form-select:focus {
	border-color: var(--pc-accent);
	box-shadow: 0 0 0 2px rgba(167, 139, 250, .2);
}


/* --------------------------------------------------------------
   10. Responsive Styles
-------------------------------------------------------------- */

/* Tablet and mobile navigation */

@media (max-width: 991.98px) {

	.tcg-stash-nav {
		align-items: stretch;
		gap: 4px;
		padding: 16px 0 8px;
	}

}

/* Mobile expansion cards */

@media (max-width: 767.98px) {

	.tcg-stash-expansion-artwork {
		height: 220px;
	}

}



/* ==========================================================
   11. Homepage Hero
   ========================================================== */

.home-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 620px;
	overflow: hidden;
	isolation: isolate;
	background: var(--pc-bg);
}

/* Static hero background image */

.home-hero-image {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

/* Background gradient and text contrast */

.home-hero-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background:
		linear-gradient(
			90deg,
			rgba(17, 16, 24, 0.98) 0%,
			rgba(17, 16, 24, 0.92) 22%,
			rgba(17, 16, 24, 0.72) 42%,
			rgba(17, 16, 24, 0.25) 68%,
			rgba(17, 16, 24, 0.05) 100%
		),
		linear-gradient(
			0deg,
			rgba(17, 16, 24, 0.65) 0%,
			transparent 30%
		);
}

/* Hero content */

.home-hero-container {
	position: relative;
	z-index: 2;
	padding-top: 90px;
	padding-bottom: 90px;
}

.home-hero-content {
	max-width: 740px;
}

.home-hero-eyebrow {
	display: block;
	margin-bottom: 20px;
	color: var(--pc-accent);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
}

.home-hero-title {
	margin: 0 0 20px;
	color: #fff;
	font-size: clamp(42px, 4.5vw, 72px);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -2px;
}

.home-hero-title span {
	color: var(--pc-accent);
}

.home-hero-subtitle {
	margin: 0 0 20px;
	color: #f5f3fa;
	font-size: clamp(20px, 2vw, 28px);
	font-weight: 500;
	line-height: 1.35;
}

.home-hero-description {
	max-width: 580px;
	margin: 0 0 32px;
	color: #c9c3d3;
	font-size: 17px;
	line-height: 1.75;
}

/* Hero action buttons */

.home-hero-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 16px;
}

.home-hero-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	min-height: 52px;
	padding: 12px 25px;
	border: 1px solid transparent;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
	transition:
		background 0.2s ease,
		border-color 0.2s ease,
		transform 0.2s ease;
}

.home-hero-button:hover {
	transform: translateY(-2px);
}

.home-hero-button-primary {
	background: var(--pc-accent);
	color: #111018;
}

.home-hero-button-primary:hover {
	background: var(--pc-accent-hover);
	color: #111018;
}

.home-hero-button-secondary {
	border-color: rgba(196, 181, 253, 0.75);
	background: rgba(17, 16, 24, 0.25);
	color: #fff;
}

.home-hero-button-secondary:hover {
	border-color: #fff;
	background: rgba(167, 139, 250, 0.15);
	color: #fff;
}

/* Responsive homepage hero */

@media (max-width: 767px) {

	.home-hero {
		min-height: 600px;
	}

	.home-hero-image {
		background-position: 60% center;
	}

	.home-hero-container {
		padding-top: 65px;
		padding-bottom: 65px;
	}

	.home-hero-overlay {
		background: linear-gradient(
			90deg,
			rgba(17, 16, 24, 0.94) 0%,
			rgba(17, 16, 24, 0.82) 65%,
			rgba(17, 16, 24, 0.55) 100%
		);
	}

	.home-hero-title {
		letter-spacing: -1px;
	}

	.home-hero-description {
		font-size: 15px;
	}

	.home-hero-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.home-hero-button {
		width: 100%;
	}
}

/* Reduced motion preferences */

@media (prefers-reduced-motion: reduce) {

	.home-hero-button {
		transition: none;
	}

}



/* ==========================================================
   12. Homepage Latest Expansions
   ========================================================== */

.home-expansions {
	padding: 85px 0 100px;
	background: var(--pc-bg);
}

/* Section heading */

.home-section-header {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 30px;
	margin-bottom: 36px;
}

.home-section-eyebrow {
	display: block;
	margin-bottom: 10px;
	color: var(--pc-accent);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
}

.home-section-title {
	margin: 0 0 12px;
	color: var(--pc-text);
	font-size: clamp(30px, 3vw, 42px);
	font-weight: 800;
	letter-spacing: -1px;
}

.home-section-title span {
	color: var(--pc-accent);
}

.home-section-description {
	margin: 0;
	color: var(--pc-muted);
	font-size: 16px;
}

.home-section-link {
	flex-shrink: 0;
	padding-bottom: 5px;
	color: var(--pc-accent);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.home-section-link:hover {
	color: var(--pc-accent-hover);
}

/* Expansion cards */

.home-expansion-card {
	display: block;
	height: 100%;
	overflow: hidden;
	border: 1px solid var(--pc-border);
	border-radius: 14px;
	background: var(--pc-surface);
	color: var(--pc-text);
	text-decoration: none;
	transition: transform 0.25s ease, border-color 0.25s ease,
				box-shadow 0.25s ease;
}

.home-expansion-card:hover {
	transform: translateY(-6px);
	border-color: var(--pc-accent);
	box-shadow: 0 16px 35px rgba(0, 0, 0, 0.25);
	color: var(--pc-text);
}

/* Booster pack artwork */

.home-expansion-artwork {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 270px;
	padding: 25px;
	background:
		radial-gradient(
			ellipse at center,
			rgba(167, 139, 250, 0.18),
			transparent 70%
		),
		#191421;
}

.home-expansion-artwork img {
	display: block;
	width: auto;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	filter: drop-shadow(0 12px 12px rgba(0, 0, 0, 0.4));
	transition: transform 0.3s ease;
}

.home-expansion-card:hover .home-expansion-artwork img {
	transform: scale(1.06);
}

/* Expansion information */

.home-expansion-details {
	padding: 22px;
}

.home-expansion-series {
	display: block;
	margin-bottom: 14px;
	color: var(--pc-accent);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.home-expansion-logo {
	display: flex;
	align-items: center;
	height: 65px;
	margin-bottom: 15px;
}

.home-expansion-logo img {
	width: auto;
	max-width: 100%;
	max-height: 60px;
	object-fit: contain;
}

.home-expansion-name {
	min-height: 65px;
	margin: 0 0 15px;
	font-size: 21px;
	font-weight: 700;
}

.home-expansion-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 15px;
	border-top: 1px solid var(--pc-border);
}

.home-expansion-date {
	color: var(--pc-muted);
	font-size: 13px;
}

.home-expansion-arrow {
	color: var(--pc-accent);
	font-size: 22px;
	line-height: 1;
}

/* Responsive expansion cards */

@media (max-width: 767px) {

	.home-expansions {
		padding: 55px 0 70px;
	}

	.home-section-header {
		align-items: flex-start;
		flex-direction: column;
		gap: 18px;
	}

	.home-expansion-artwork {
		height: 200px;
		padding: 15px;
	}

	.home-expansion-details {
		padding: 15px;
	}

	.home-expansion-logo {
		height: 50px;
	}

	.home-expansion-logo img {
		max-height: 45px;
	}

	.home-expansion-name {
		font-size: 17px;
	}
}

@media (max-width: 420px) {

	.home-expansion-artwork {
		height: 170px;
	}

	.home-expansion-series {
		font-size: 10px;
	}

	.home-expansion-date {
		font-size: 11px;
	}
}

/* Special collection label */
.home-expansion-special {
	display: inline-block;
	margin: 8px 0 4px;
	padding: 4px 10px;
	border: 1px solid var(--pc-accent);
	border-radius: 4px;
	color: var(--pc-accent);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}



/* ----------------------------------------------
   13. Homepage Featured Chase Cards
---------------------------------------------- */

.home-pokemon {
	padding: 90px 0 110px;
	background: var(--pc-bg);
}

.home-pokemon-controls {
	display: flex;
	align-items: center;
	gap: 10px;
}

.home-pokemon-controls button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	background: var(--pc-surface);
	border: 1px solid var(--pc-border);
	border-radius: 50%;
	color: var(--pc-text);
	font-size: 21px;
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease;
}

.home-pokemon-controls button:hover:not(:disabled) {
	background: var(--pc-surface-hover);
	border-color: var(--pc-accent);
}

.home-pokemon-controls button:disabled {
	opacity: 0.3;
	cursor: default;
}

.home-pokemon-slider {
	display: flex;
	gap: 24px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	padding: 8px 0 20px;
}

.home-pokemon-slider::-webkit-scrollbar {
	display: none;
}

.home-pokemon-slide {
	flex: 0 0 calc((100% - 120px) / 6);
	min-width: 0;
	scroll-snap-align: start;
}

.home-pokemon-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 14px;
	background: var(--pc-surface);
	border: 1px solid var(--pc-border);
	border-radius: 14px;
	text-decoration: none;
	transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.home-pokemon-card:hover {
	transform: translateY(-5px);
	border-color: var(--pc-accent);
	box-shadow: 0 12px 35px rgba(167, 139, 250, 0.16);
}

.home-pokemon-image {
	width: 100%;
	aspect-ratio: 5 / 7;
	display: flex;
	align-items: center;
	justify-content: center;
}

.home-pokemon-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: 7px;
}

.home-pokemon-details {
	flex: 1;
	padding: 18px 4px 5px;
	text-align: center;
}

.home-pokemon-name {
	margin: 0 0 5px;
	color: var(--pc-text);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
}

.home-pokemon-set {
	display: block;
	color: var(--pc-muted);
	font-size: 12px;
	line-height: 1.5;
}

.home-pokemon-card:hover .home-pokemon-name {
	color: var(--pc-accent);
}

/* Tablet: three cards visible. */
@media (max-width: 1199.98px) {
	.home-pokemon-slide {
		flex-basis: calc((100% - 48px) / 3);
	}
}

/* Mobile: two cards visible. */
@media (max-width: 767.98px) {
	.home-pokemon {
		padding: 60px 0 75px;
	}

	.home-pokemon-slider {
		gap: 12px;
	}

	.home-pokemon-slide {
		flex-basis: calc((100% - 12px) / 2);
	}

	.home-pokemon-card {
		padding: 10px;
	}

	.home-pokemon-details {
		padding: 12px 2px 4px;
	}

	.home-pokemon-name {
		font-size: 14px;
	}

	.home-pokemon-controls button {
		width: 36px;
		height: 36px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.home-pokemon-slider {
		scroll-behavior: auto;
	}

	.home-pokemon-card {
		transition: none;
	}

	.home-pokemon-card:hover {
		transform: none;
	}
}



/* ==========================================================
   14. Homepage Build Your Collection
   ========================================================== */

.home-collection {
	position: relative;
	padding: 110px 0;
	overflow: hidden;
	isolation: isolate;
	background: #0c0a13;
}

/* Collection background artwork */

.home-collection::before {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	background-position: center center;
	background-size: cover;
	background-repeat: no-repeat;
	content: "";
	pointer-events: none;
}

/* Dark overlay and edge fades */

.home-collection::after {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(
			90deg,
			rgba(12, 10, 19, 0.95) 0%,
			rgba(12, 10, 19, 0.85) 30%,
			rgba(12, 10, 19, 0.55) 65%,
			rgba(12, 10, 19, 0.35) 100%
		),
		linear-gradient(
			0deg,
			#0c0a13 0%,
			transparent 25%,
			transparent 75%,
			#0c0a13 100%
		);
	content: "";
	pointer-events: none;
}

/* Keep section content above background layers */

.home-collection .container {
	position: relative;
	z-index: 1;
}

/* Promotional copy */

.home-collection-content {
	position: relative;
	max-width: 580px;
}

.home-collection-eyebrow {
	display: block;
	margin-bottom: 20px;
	color: var(--pc-accent);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.5px;
	text-transform: uppercase;
}

.home-collection-title {
	margin: 0 0 25px;
	color: var(--pc-text);
	font-size: clamp(36px, 3.5vw, 56px);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -1.5px;
}

.home-collection-title span {
	display: block;
	color: var(--pc-accent);
}

.home-collection-description {
	max-width: 520px;
	margin: 0 0 18px;
	color: #bcb4c9;
	font-size: 17px;
	line-height: 1.8;
}

.home-collection-status {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 15px;
	margin-top: 30px;
}

.home-collection-badge {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 7px 15px;
	border: 1px solid rgba(167, 139, 250, 0.45);
	border-radius: 6px;
	background: rgba(167, 139, 250, 0.10);
	color: var(--pc-accent);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.8px;
	text-transform: uppercase;
}

.home-collection-status-text {
	color: var(--pc-muted);
	font-size: 13px;
}


/* Collection preview */

.home-collection-preview {
	position: relative;
	padding: 30px;
	border: 1px solid rgba(167, 139, 250, 0.24);
	border-radius: 16px;
	background: rgba(22, 17, 31, 0.94);
	box-shadow: 0 24px 65px rgba(0, 0, 0, 0.35);
}

.home-collection-preview-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 15px;
	margin-bottom: 20px;
}

.home-collection-preview-label {
	display: block;
	margin-bottom: 7px;
	color: var(--pc-accent);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.home-collection-preview-header h3 {
	margin: 0 0 6px;
	color: #fff;
	font-size: 25px;
	font-weight: 800;
}

.home-collection-preview-header p {
	margin: 0;
	color: #aaa1b8;
	font-size: 13px;
}

.home-collection-preview-tag {
	padding: 6px 10px;
	border: 1px solid #49375d;
	border-radius: 5px;
	color: #bca4f3;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.7px;
	text-transform: uppercase;
}


/* Featured card stack */

.home-collection-showcase {
	display: grid;
	grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
	align-items: center;
	column-gap: 30px;
	margin-bottom: 26px;
	padding: 25px;
	border: 1px solid #352b42;
	border-radius: 12px;
	background: linear-gradient(
		120deg,
		#261c36 0%,
		#1c1726 100%
	);
}

.home-collection-card-stack {
	position: relative;
	width: 100%;
	height: 190px;
	min-width: 0;
}

.home-collection-card {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 94px;
	aspect-ratio: 5 / 7;
	overflow: hidden;
	border-radius: 5px;
	background: #30263f;
	box-shadow: 0 7px 18px rgba(0, 0, 0, 0.5);
	transform-origin: center bottom;
}

.home-collection-card img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.home-collection-card-left {
	z-index: 1;
	transform: translate(-100%, -48%) rotate(-15deg);
}

.home-collection-card-center {
	z-index: 3;
	transform: translate(-50%, -52%) rotate(0deg);
}

.home-collection-card-right {
	z-index: 2;
	transform: translate(0%, -48%) rotate(15deg);
}

.home-collection-showcase-copy {
	min-width: 0;
}

.home-collection-showcase-eyebrow {
	display: block;
	margin-bottom: 9px;
	color: var(--pc-accent);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.8px;
	text-transform: uppercase;
}

.home-collection-showcase-copy strong {
	display: block;
	margin-bottom: 9px;
	color: #fff;
	font-size: 19px;
	font-weight: 800;
	line-height: 1.3;
}

.home-collection-showcase-copy p {
	margin: 0;
	color: #aaa1b8;
	font-size: 13px;
	line-height: 1.65;
}


/* Set completion list */

.home-collection-sets-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 17px;
}

.home-collection-sets-header h4 {
	margin: 0;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
}

.home-collection-sets-header span {
	color: #92899f;
	font-size: 11px;
}

.home-collection-set-list {
	display: flex;
	flex-direction: column;
	gap: 19px;
}

.home-collection-set-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 9px;
}

.home-collection-set-heading strong {
	color: #e9e3f0;
	font-size: 13px;
	font-weight: 600;
}

.home-collection-set-heading span {
	color: #938ba2;
	font-size: 12px;
	white-space: nowrap;
}

.home-collection-set-heading span b {
	color: var(--pc-accent);
	font-weight: 700;
}

.home-collection-set-track {
	height: 6px;
	overflow: hidden;
	border-radius: 10px;
	background: #393044;
}

.home-collection-set-track > div {
	height: 100%;
	border-radius: inherit;
	background: linear-gradient(
		90deg,
		#8050d8,
		#b69af0
	);
}

.home-collection-preview-bottom {
	margin: 24px 0 0;
	padding-top: 15px;
	border-top: 1px solid #352b42;
	color: #8f879e;
	font-size: 11px;
	text-align: center;
}


/* Responsive collection promotion */

@media (max-width: 1199.98px) {

	.home-collection-showcase {
		grid-template-columns: minmax(0, 1fr);
		row-gap: 15px;
	}

	.home-collection-card-stack {
		width: 220px;
		height: 175px;
		margin: 0 auto;
	}

	.home-collection-showcase-copy {
		text-align: center;
	}

}

@media (max-width: 991.98px) {

	.home-collection {
		padding: 75px 0;
	}

	.home-collection::before {
		background-position: 65% center;
	}

	.home-collection::after {
		background:
			linear-gradient(
				90deg,
				rgba(12, 10, 19, 0.94) 0%,
				rgba(12, 10, 19, 0.78) 100%
			),
			linear-gradient(
				0deg,
				#0c0a13 0%,
				transparent 25%,
				transparent 75%,
				#0c0a13 100%
			);
	}

	.home-collection-content {
		max-width: 100%;
	}

	.home-collection-title span {
		display: inline;
	}

}

@media (max-width: 575.98px) {

	.home-collection {
		padding: 65px 0;
	}

	.home-collection::before {
		background-position: 72% center;
	}

	.home-collection-description {
		font-size: 15px;
	}

	.home-collection-preview {
		padding: 18px;
	}

	.home-collection-showcase {
		padding: 18px 12px;
	}

	.home-collection-card-stack {
		width: 190px;
		height: 165px;
	}

	.home-collection-showcase-copy strong {
		font-size: 17px;
	}

	.home-collection-set-heading strong {
		font-size: 12px;
	}

}


/* Series directory */

.tcg-stash-series-card {
	background: var(--pc-surface);
	border: 1px solid #dbe5f0;
	border-radius: 18px;
	overflow: hidden;
	color: var(--pc-text);
	box-shadow: 0 6px 16px rgba(11, 38, 62, .1);
	transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.tcg-stash-series-card:hover {
	border-color: #ed302b;
	box-shadow: 0 14px 28px rgba(11, 38, 62, .16);
	transform: translateY(-5px);
}

.tcg-stash-series-artwork {
	position: relative;
	height: 205px;
	background: linear-gradient(135deg, #e7f5ff, #fff4ce 52%, #ffe2df);
	overflow: hidden;
}

.tcg-stash-series-booster {
	position: absolute;
	bottom: 8px;
	left: 50%;
	width: auto;
	height: 178px;
	max-width: 31%;
	object-fit: contain;
	filter: drop-shadow(0 10px 12px rgba(11, 38, 62, .25));
	transition: transform 0.25s ease;
}

.tcg-stash-series-booster-1 {
	z-index: 1;
	transform: translateX(-115%) rotate(-12deg);
}

.tcg-stash-series-booster-2 {
	z-index: 3;
	transform: translateX(-50%);
}

.tcg-stash-series-booster-3 {
	z-index: 2;
	transform: translateX(15%) rotate(12deg);
}

.tcg-stash-series-card:hover .tcg-stash-series-booster-1 {
	transform: translateX(-125%) rotate(-16deg);
}

.tcg-stash-series-card:hover .tcg-stash-series-booster-2 {
	transform: translateX(-50%) translateY(-8px);
}

.tcg-stash-series-card:hover .tcg-stash-series-booster-3 {
	transform: translateX(25%) rotate(16deg);
}


/* Keep the entire series card clickable. */

.tcg-stash-series-card .card-body {
	position: relative;
	min-height: 190px;
	background: #fff;
	color: #10243b;
}

.tcg-stash-series-card .card-body h2 { color: #10243b; }
.tcg-stash-series .badge.text-bg-light {
	position: absolute;
	right: 0;
	bottom: 0;
	padding: 9px 14px 8px 16px;
	border: 0;
	border-radius: 12px 0 0 0;
	background-color: #10243b !important;
	color: #fff !important;
	font-weight: 700;
}
.tcg-stash-series-artwork-fallback {
	background: linear-gradient(135deg, #087dc3, #68c8ee 54%, #ffcf28);
}
.tcg-stash-series-artwork-cards {
	background: linear-gradient(135deg, #e8f5ff, #fff1c9 54%, #ffe4e0);
}
.tcg-stash-art-fallback-series {
	--fallback-accent: #087dc3;
	--fallback-accent-light: #10243b;
	--fallback-glow: rgba(8, 125, 195, .2);
	background: linear-gradient(135deg, #dff3ff, #fff4cf 58%, #ffe4df);
}
.tcg-stash-art-fallback-series .tcg-stash-art-fallback-card-back {
	background: #f8fcff;
}
.tcg-stash-art-fallback-series .tcg-stash-art-fallback-card-front {
	background: #fff;
	color: #10243b;
}
.tcg-stash-art-fallback-series .tcg-stash-art-fallback-card-top {
	color: #087dc3;
}
.tcg-stash-art-fallback-series .tcg-stash-art-fallback-emblem {
	background: linear-gradient(to bottom, #ed302b 0 46%, #10243b 46% 54%, #fff 54% 100%);
}
.tcg-stash-art-fallback-series .tcg-stash-art-fallback-emblem::before { background: #10243b; }
.tcg-stash-art-fallback-series .tcg-stash-art-fallback-emblem span {
	border-color: #10243b;
	background: #fff;
}

.tcg-stash-series-card .stretched-link {
	z-index: 10;
}

/* Card artwork fallback */

.tcg-stash-series-artwork-cards .tcg-stash-series-booster {
	height: 185px;
	max-width: 35%;
	border-radius: 6px;
}

@media (max-width: 575.98px) {
	.tcg-stash-series-artwork-cards .tcg-stash-series-booster {
		height: 160px;
	}
}



/* ==========================================================
   15. Site Footer
   ========================================================== */

.site-footer {
	position: relative;
	padding: 80px 0 0;
	overflow: hidden;
	background: #10243b;
	border-top: 4px solid #ffc928;
}

/* Subtle purple lighting */

.site-footer::before {
	position: absolute;
	top: -300px;
	left: 50%;
	width: 900px;
	height: 500px;
	transform: translateX(-50%);
	background: radial-gradient(ellipse, rgba(37, 85, 132, .18) 0%, transparent 70%);
	content: "";
	pointer-events: none;
}

.site-footer::after {
	position: absolute;
	top: 0;
	left: 50%;
	width: 500px;
	height: 1px;
	transform: translateX(-50%);
	background: linear-gradient(90deg, transparent, rgba(255, 201, 40, .5), transparent);
	content: "";
}

.site-footer .container {
	position: relative;
	z-index: 1;
}

/* Footer branding */

.footer-brand {
	max-width: 390px;
}

.footer-logo {
	display: inline-block;
	margin-bottom: 20px;
}

.footer-logo .custom-logo-link {
	display: inline-block;
	max-width: 220px;
}

.footer-logo .custom-logo {
	display: block;
	width: auto;
	max-width: 100%;
	max-height: 76px;
	object-fit: contain;
}

.footer-description {
	margin: 0 0 22px;
	color: #c5d5e7;
	font-size: 14px;
	line-height: 1.85;
}

.footer-brand-tagline {
	color: #ffc928;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1.3px;
	text-transform: uppercase;
}

/* Footer navigation */

.footer-navigation h3 {
	margin: 5px 0 22px;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
}

.footer-navigation ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-navigation li {
	margin-bottom: 14px;
}

.footer-navigation a {
	color: #c5d5e7;
	font-size: 14px;
	line-height: 1.5;
	text-decoration: none;
	transition: color 0.2s ease;
}

.footer-navigation a:hover,
.footer-navigation a:focus-visible {
	color: #ffc928;
}

/* Footer bottom */

.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	margin-top: 70px;
	padding: 25px 0;
	border-top: 1px solid rgba(197, 213, 231, .2);
}

.footer-copyright {
	flex-shrink: 0;
	color: #c5d5e7;
	font-size: 12px;
}

.footer-disclaimer {
	max-width: 550px;
	color: #c5d5e7;
	font-size: 11px;
	line-height: 1.6;
	text-align: right;
}

/* Responsive footer */

@media (max-width: 991.98px) {

	.site-footer {
		padding-top: 65px;
	}

	.footer-bottom {
		margin-top: 55px;
	}
}

@media (max-width: 767.98px) {

	.site-footer {
		padding-top: 55px;
	}

	.footer-logo .custom-logo-link { max-width: 190px; }

	.footer-bottom {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
		margin-top: 45px;
	}

	.footer-disclaimer {
		text-align: left;
	}

}

@media (prefers-reduced-motion: reduce) {

	.footer-navigation a {
		transition: none;
	}
}





/* Expansion artwork stacks */

.tcg-stash-expansion-artwork {
	position: relative;
	height: 260px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.tcg-stash-expansion-image-stack {
	position: relative;
	width: 100%;
	height: 100%;
}

.tcg-stash-expansion-stack-image {
	position: absolute;
	top: 50%;
	left: 50%;
	width: auto;
	height: 205px;
	max-width: 45%;
	object-fit: contain;
	filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.4));
	transition: transform 0.25s ease;
}

.tcg-stash-expansion-stack-image-1 {
	z-index: 1;
	transform: translate(-90%, -48%) rotate(-12deg);
}

.tcg-stash-expansion-stack-image-2 {
	z-index: 3;
	transform: translate(-50%, -50%);
}

.tcg-stash-expansion-stack-image-3 {
	z-index: 2;
	transform: translate(-10%, -48%) rotate(12deg);
}

.tcg-stash-expansion-image-count-1 .tcg-stash-expansion-stack-image-1 {
	transform: translate(-50%, -50%);
}

.tcg-stash-expansion-image-count-2 .tcg-stash-expansion-stack-image-1 {
	transform: translate(-75%, -50%) rotate(-9deg);
}

.tcg-stash-expansion-image-count-2 .tcg-stash-expansion-stack-image-2 {
	transform: translate(-25%, -50%) rotate(9deg);
}

.tcg-stash-expansion-artwork-cards .tcg-stash-expansion-stack-image {
	height: 185px;
	max-width: 43%;
	border-radius: 6px;
}

.tcg-stash-expansion-link:hover .tcg-stash-expansion-stack-image-1 {
	transform: translate(-105%, -48%) rotate(-16deg);
}

.tcg-stash-expansion-link:hover .tcg-stash-expansion-stack-image-2 {
	transform: translate(-50%, -55%);
}

.tcg-stash-expansion-link:hover .tcg-stash-expansion-stack-image-3 {
	transform: translate(5%, -48%) rotate(16deg);
}

@media (max-width: 575.98px) {
	.tcg-stash-expansion-artwork {
		height: 220px;
	}

	.tcg-stash-expansion-stack-image {
		height: 175px;
	}

	.tcg-stash-expansion-artwork-cards .tcg-stash-expansion-stack-image {
		height: 160px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.tcg-stash-expansion-stack-image {
		transition: none;
	}
}

/* Missing artwork notices */

.tcg-stash-artwork-notice {
	padding: 14px 18px;
	background: var(--pc-surface);
	border: 1px solid var(--pc-border);
	border-left: 3px solid var(--pc-accent);
	border-radius: 8px;
	color: var(--pc-muted);
	font-size: 0.95rem;
}

/* Compact text-only checklist */

.tcg-stash-text-checklist {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.tcg-stash-text-card {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 62px;
	padding: 12px 16px;
	background: var(--pc-surface);
	border: 1px solid var(--pc-border);
	border-radius: 10px;
	color: var(--pc-text);
}

.tcg-stash-text-card-number {
	color: var(--pc-muted);
	font-size: 0.8rem;
	white-space: nowrap;
}

.tcg-stash-text-card-name {
	font-size: 0.9rem;
	font-weight: 600;
	min-width: 0;
	overflow-wrap: anywhere;
}

.tcg-stash-text-card-rarity {
	margin-left: auto;
	color: var(--pc-accent);
	font-size: 0.75rem;
	white-space: nowrap;
}

/* Placeholder for partially illustrated sets */

.tcg-stash-card-image-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 0.715;
	padding: 15px;
	background: var(--pc-surface-hover);
	border: 1px dashed var(--pc-border);
	border-radius: 10px;
	color: var(--pc-muted);
	font-size: 0.85rem;
	text-align: center;
}

@media (max-width: 991.98px) {
	.tcg-stash-text-checklist {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 575.98px) {
	.tcg-stash-text-checklist {
		grid-template-columns: 1fr;
	}
}

/* ----------------------------------------------
   Series and expansion artwork fallbacks
---------------------------------------------- */

.tcg-stash-art-fallback {
	--fallback-accent: #a78bfa;
	--fallback-accent-light: #ddd0ff;
	--fallback-glow: rgba(167, 139, 250, 0.25);

	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	min-height: 240px;
	overflow: hidden;
	isolation: isolate;
	background:
		radial-gradient(
			ellipse at 50% 42%,
			var(--fallback-glow),
			transparent 65%
		),
		linear-gradient(
			145deg,
			#30263f 0%,
			#211c2c 70%,
			#191622 100%
		);
}

.tcg-stash-art-fallback-variant-2 {
	--fallback-accent: #60a5fa;
	--fallback-accent-light: #bfdbfe;
	--fallback-glow: rgba(96, 165, 250, 0.25);
}

.tcg-stash-art-fallback-variant-3 {
	--fallback-accent: #f59e0b;
	--fallback-accent-light: #fde68a;
	--fallback-glow: rgba(245, 158, 11, 0.23);
}

.tcg-stash-art-fallback-variant-4 {
	--fallback-accent: #34d399;
	--fallback-accent-light: #a7f3d0;
	--fallback-glow: rgba(52, 211, 153, 0.23);
}

/* Decorative orbit */

.tcg-stash-art-fallback-orbit {
	position: absolute;
	width: 78%;
	aspect-ratio: 1;
	border: 1px solid var(--fallback-glow);
	border-radius: 50%;
	transform: rotate(-20deg) scaleX(1.2);
}

.tcg-stash-art-fallback-orbit::before,
.tcg-stash-art-fallback-orbit::after {
	content: "";
	position: absolute;
	inset: 13%;
	border: 1px dashed var(--fallback-glow);
	border-radius: 50%;
}

.tcg-stash-art-fallback-orbit::after {
	inset: 30%;
	border-style: solid;
}

/* Trading card silhouettes */

.tcg-stash-art-fallback-card {
	position: absolute;
	width: 42%;
	max-width: 190px;
	aspect-ratio: 0.715;
	border-radius: 11px;
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

.tcg-stash-art-fallback-card-back {
	transform: translate(19%, -2%) rotate(13deg);
	background:
		linear-gradient(
			135deg,
			rgba(255, 255, 255, 0.08),
			transparent 55%
		),
		#352c48;
	border: 2px solid var(--fallback-accent);
	opacity: 0.75;
}

.tcg-stash-art-fallback-card-front {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 10px;
	transform: translate(-12%, -2%) rotate(-9deg);
	background:
		radial-gradient(
			circle at 50% 45%,
			var(--fallback-glow),
			transparent 65%
		),
		linear-gradient(145deg, #352c48, #171321);
	border: 2px solid var(--fallback-accent);
	color: #f5f3fa;
}

.tcg-stash-art-fallback-card-top {
	display: flex;
	justify-content: space-between;
	gap: 5px;
	font-size: clamp(6px, 0.7vw, 10px);
	font-weight: 800;
	letter-spacing: 0.08em;
	color: var(--fallback-accent-light);
}

.tcg-stash-art-fallback-card-bottom {
	font-size: clamp(9px, 0.95vw, 14px);
	font-weight: 800;
	line-height: 1.15;
	text-align: center;
	overflow-wrap: anywhere;
}

/* Circular card emblem */

.tcg-stash-art-fallback-emblem {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 70%;
	aspect-ratio: 1;
	margin: auto;
	border: 4px solid var(--fallback-accent-light);
	border-radius: 50%;
	background:
		linear-gradient(
			to bottom,
			var(--fallback-accent) 0%,
			var(--fallback-accent) 46%,
			#171321 46%,
			#171321 54%,
			#f5f3fa 54%,
			#f5f3fa 100%
		);
	box-shadow: 0 0 25px var(--fallback-glow);
}

.tcg-stash-art-fallback-emblem::before {
	content: "";
	position: absolute;
	top: 46%;
	left: 0;
	right: 0;
	height: 8%;
	background: #171321;
}

.tcg-stash-art-fallback-emblem span {
	position: relative;
	z-index: 1;
	width: 32%;
	aspect-ratio: 1;
	border: 4px solid #171321;
	border-radius: 50%;
	background: #f5f3fa;
}

/* Small caption beneath the cards */

.tcg-stash-art-fallback-caption {
	position: absolute;
	bottom: 12px;
	left: 12px;
	right: 12px;
	color: var(--fallback-accent-light);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-align: center;
	text-transform: uppercase;
}

/* Expansion card dimensions */

.tcg-stash-art-fallback-expansion {
	min-height: 250px;
}

.tcg-stash-expansion-artwork-fallback {
	padding: 0;
}

/* Series card dimensions */

.tcg-stash-art-fallback-series {
	min-height: 290px;
}

.tcg-stash-art-fallback-series .tcg-stash-art-fallback-card {
	width: 34%;
	max-width: 200px;
}

/* Hover effects */

.tcg-stash-series-card:hover .tcg-stash-art-fallback-card-front,
.tcg-stash-expansion:hover .tcg-stash-art-fallback-card-front {
	transform: translate(-12%, -5%) rotate(-5deg);
}

.tcg-stash-art-fallback-card-front {
	transition: transform 0.25s ease;
}

@media (prefers-reduced-motion: reduce) {
	.tcg-stash-art-fallback-card-front {
		transition: none;
	}
}

@media (max-width: 575.98px) {
	.tcg-stash-art-fallback-card-top {
		font-size: 9px;
	}

	.tcg-stash-art-fallback-card-bottom {
		font-size: 12px;
	}
}

/* ----------------------------------------------
   TCGplayer market pricing
---------------------------------------------- */

.tcg-stash-card-market-price {
	display: flex;
	flex-direction: column;
	gap: 3px;
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid var(--pc-border);
}

.tcg-stash-card-market-price strong {
	color: var(--pc-text);
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.2;
}

.tcg-stash-card-market-price > span {
	color: var(--pc-muted);
	font-size: 0.75rem;
}

.tcg-stash-price-unavailable {
	color: var(--pc-muted);
	font-size: 0.8rem;
}

/* Pricing in compact text checklists */

.tcg-stash-text-card-price {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 2px;
	margin-left: auto;
	color: var(--pc-text);
	font-size: 0.9rem;
	font-weight: 700;
	text-align: right;
	white-space: nowrap;
}

.tcg-stash-text-card-price small {
	color: var(--pc-muted);
	font-size: 0.7rem;
	font-weight: 400;
}

.tcg-stash-text-card-rarity {
	margin-left: 0;
}

@media (max-width: 575.98px) {
	.tcg-stash-text-card {
		flex-wrap: wrap;
	}

	.tcg-stash-text-card-price {
		margin-left: auto;
	}
}

/* ----------------------------------------------
   Card artwork and missing image fallback
---------------------------------------------- */

.tcg-stash-card > img,
.tcg-stash-card-image-placeholder {
	width: 100%;
	aspect-ratio: 0.715;
}

.tcg-stash-card > img {
	display: block;
	height: auto;
	object-fit: contain;
}

.tcg-stash-card-image-placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	background: var(--pc-surface-hover);
	border: 1px dashed var(--pc-border);
	border-radius: 10px;
	color: var(--pc-muted);
	font-size: 0.85rem;
	text-align: center;
}


/* --------------------------------------------------------------
   TCG Stash light-theme refinements
   Original section artwork retains dark overlays where needed.
-------------------------------------------------------------- */
:root {
    --ts-navy: #10243b;
    --ts-blue: #087dc3;
    --ts-red: #ed302b;
    --ts-yellow: #ffcc24;
    --ts-canvas: #f7f8fa;
}
body { background: var(--ts-canvas); color: var(--pc-text); }
.site-header { background: var(--ts-navy); border-bottom: 3px solid var(--ts-yellow); }
.site-header .navbar { padding-top: 5px; padding-bottom: 5px; }
.tcg-stash-header-logo { max-width: min(270px, 55vw); max-height: 84px; height: auto; }
.tcg-stash-nav a { color: #eaf2fc; }
.tcg-stash-nav a:hover,
.tcg-stash-nav .current-menu-item > a,
.tcg-stash-nav .current-menu-ancestor > a { background: rgba(255,255,255,.12); color: var(--ts-yellow); }
.site-header .navbar-toggler { border-color: rgba(255,255,255,.5); }
.site-header .navbar-toggler-icon { filter: none; }
.site-main:not(.home-main), .site-content { color: var(--pc-text); }
.card { border-color: var(--pc-border); background-color: #fff; color: var(--pc-text); }
input:not([type=checkbox]):not([type=radio]), select, textarea,
.form-control, .form-select { background-color: #fff; color: var(--pc-text); border-color: #ccd6e1; }
.form-control:focus, .form-select:focus { border-color: var(--ts-blue); box-shadow: 0 0 0 .2rem rgba(8,125,195,.15); }
.btn-primary { background: var(--ts-red); border-color: var(--ts-red); color: #fff; }
.btn-primary:hover, .btn-primary:focus { background: #c41f24; border-color: #c41f24; color: #fff; }
/* Preserve readable text over photographic sections and their dark gradients. */
.home-hero, .home-collection { color: #fff; }
.home-hero .home-hero-title, .home-collection .home-collection-title { color: #fff; }
@media (max-width: 991.98px) {
    .site-header .navbar-collapse { padding: 12px 0; }
    .tcg-stash-nav a { padding: 12px 14px; }
}

/* TCG Stash homepage redesign - v1.1 */
:root { --ts-navy:#0b263e; --ts-red:#f12d2b; --ts-yellow:#ffcf18; --ts-blue:#087cc5; }
body { background:#fff; }
.site-header { background:#08263d; border-bottom:4px solid var(--ts-yellow); }
.site-header .navbar { padding:0; min-height:94px; }
.tcg-stash-header-inner { display:flex; gap:24px; }
.tcg-stash-header-logo { width:220px; height:auto; max-height:90px; object-fit:contain; }
.site-header .navbar-collapse { gap:28px; }
.tcg-stash-nav { gap:14px; margin-right:auto; }
.tcg-stash-nav .nav-link, .tcg-stash-nav a { color:#fff!important; font-weight:700; font-size:15px; text-decoration:none; }
.tcg-stash-header-search { margin-left:auto; display:flex; width:min(365px,100%); height:46px; background:#fff; border-radius:12px; overflow:hidden; padding:4px; }
.tcg-stash-header-search input { flex:1; min-width:0; border:0; background:transparent; padding:0 13px; color:#0b263e; outline:0; font-size:14px; }
.tcg-stash-header-search button { width:48px; border:0; border-radius:9px; background:var(--ts-red); color:#fff; font-size:29px; line-height:1; }
.ts-home-hero { position:relative; isolation:isolate; overflow:hidden; min-height:445px; background:linear-gradient(115deg,#f9fcff 0%,#e7f3ff 51%,#0489e8 51.1%,#0871cf 100%); }
.ts-home-hero:after { content:""; position:absolute; inset:0 0 0 57%; z-index:-1; background:radial-gradient(circle at 65% 45%,#51c7ff88,transparent 55%),radial-gradient(#ffffff28 1.5px,transparent 1.5px); background-size:auto,18px 18px; }
.ts-home-hero-inner { display:grid; grid-template-columns:48% 52%; align-items:center; min-height:445px; }
.ts-home-hero-copy { padding:45px 0 65px; position:relative; z-index:2; }
.ts-hero-kicker { color:#10344f; font-size:14px; font-weight:850; letter-spacing:2px; margin:0 0 15px; }
.ts-home-hero-copy h1 { color:#092842; font-size:clamp(38px,4.1vw,65px); line-height:1.04; letter-spacing:-2.2px; font-weight:900; margin:0 0 21px; }
.ts-home-hero-copy h1 span { color:var(--ts-red); }
.ts-home-hero-copy>p:not(.ts-hero-kicker) { color:#364c62; font-size:19px; max-width:530px; line-height:1.5; margin-bottom:24px; }
.ts-hero-actions { display:flex; flex-wrap:wrap; gap:14px; }
.ts-btn { display:inline-flex; align-items:center; justify-content:center; gap:18px; padding:14px 22px; border-radius:11px; font-size:16px; font-weight:800; text-decoration:none; }
.ts-btn-primary { background:var(--ts-red); color:#fff; }
.ts-btn-outline { background:#fff; color:var(--ts-navy); border:2px solid var(--ts-navy); }
.ts-btn:hover { filter:brightness(.95); color:inherit; }
.ts-home-hero-art { position:relative; height:445px; }
.ts-hero-card { position:absolute; width:clamp(175px,19vw,270px); height:auto; max-height:380px; object-fit:contain; filter:drop-shadow(0 18px 18px #00264780); top:50%; left:50%; }
.ts-hero-card-1 { transform:translate(-55%,-50%) rotate(-3deg); z-index:3; }
.ts-hero-card-2 { transform:translate(-115%,-43%) rotate(-16deg) scale(.86); z-index:2; }
.ts-hero-card-3 { transform:translate(8%,-42%) rotate(13deg) scale(.86); z-index:1; }
.ts-shortcuts { display:grid; grid-template-columns:repeat(3,1fr); background:#fff; position:relative; z-index:4; margin-top:-28px; margin-bottom:0; border-radius:16px; box-shadow:0 12px 28px #1839561c; padding:18px 12px; }
.ts-shortcuts a { display:flex; justify-content:center; align-items:center; gap:17px; padding:8px 18px; text-decoration:none; color:var(--ts-navy); border-right:1px solid #dbe3ed; }
.ts-shortcuts a:last-child { border-right:0; }
.ts-shortcut-icon { font-size:37px; line-height:1; color:var(--ts-red); font-weight:800; }
.ts-shortcuts strong,.ts-shortcuts small { display:block; }
.ts-shortcuts strong { font-size:17px; }
.ts-shortcuts small { color:#61738a; font-size:13px; }
.home-expansions { background:#fff; padding-top:65px; }
.ts-expansion-grid .col-xl { min-width:0; }
.ts-expansion-grid .home-expansion-card { border:1px solid #dbe5f0; box-shadow:0 5px 10px #0b263e12; }
.ts-expansion-grid .home-expansion-card:hover { box-shadow:0 13px 25px #0b263e25; }
.ts-expansion-grid .home-expansion-artwork { height:180px; background:linear-gradient(135deg,#edf5ff,#d5eaff); padding:14px; }
.ts-expansion-grid .home-expansion-artwork img { filter:drop-shadow(0 8px 8px #0b263e35); }
.ts-expansion-grid .home-expansion-details { padding:16px; }
.ts-expansion-grid .home-expansion-series { margin-bottom:8px; color:#5a6b80; letter-spacing:0; font-size:11px; }
.ts-expansion-grid .home-expansion-name { font-size:17px; min-height:0; }
.ts-expansion-grid .home-expansion-logo { height:50px; margin-bottom:10px; }
.ts-expansion-grid .home-expansion-logo img { max-height:45px; }
@media(max-width:991px) { .tcg-stash-header-search { margin:15px 0; } .ts-home-hero-inner { grid-template-columns:1fr 1fr; } .ts-home-hero-copy h1 { font-size:40px; } .ts-hero-card { width:190px; } }
@media(max-width:767px) { .ts-home-hero { background:linear-gradient(#f8fbff,#e8f3ff); } .ts-home-hero:after { display:none; } .ts-home-hero-inner { display:block; } .ts-home-hero-copy { padding:38px 0 0; } .ts-home-hero-copy h1 { font-size:44px; } .ts-home-hero-art { height:260px; } .ts-hero-card { width:155px; max-height:240px; } .ts-shortcuts { grid-template-columns:1fr; margin-top:0; } .ts-shortcuts a { justify-content:flex-start; border-right:0; border-bottom:1px solid #dbe3ed; } .ts-shortcuts a:last-child { border-bottom:0; } .ts-expansion-grid .home-expansion-artwork { height:150px; } }

/* TCG Stash homepage refinements v1.2 */
.ts-home-hero { background:linear-gradient(112deg,#f8fbff 0%,#e8f3ff 53%,#ffd329 53.1%,#ffd329 55%,#007ce5 55.1%,#007ce5 100%); }
.ts-home-hero:after { inset:0 0 0 55%; background:url('assets/images/hero-blue-burst.png') center center/cover no-repeat; opacity:.55; }
.ts-home-hero-art { overflow:visible; }
.ts-hero-card { border-radius:14px; max-height:405px; width:clamp(195px,20vw,290px); box-shadow:0 16px 30px rgba(5,26,54,.32); filter:none; }
.ts-hero-card-1 { transform:translate(-49%,-49%) rotate(-2deg); z-index:3; }
.ts-hero-card-2 { transform:translate(-112%,-44%) rotate(-15deg) scale(.89); z-index:2; }
.ts-hero-card-3 { transform:translate(10%,-43%) rotate(13deg) scale(.89); z-index:1; }
.ts-shortcuts { padding:15px 14px; }
.ts-shortcuts a { gap:17px; }
.ts-shortcut-icon { width:48px; height:48px; flex:0 0 48px; display:flex; align-items:center; justify-content:center; }
.ts-shortcut-icon svg { width:43px; height:43px; display:block; }
.ts-expansion-heading-actions { display:flex; align-items:center; gap:25px; }
.ts-expansion-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:22px; padding:8px 2px 20px; }
.ts-expansion-slide { min-width:0; }
.ts-expansion-grid .home-expansion-card { border:1px solid #dbe5f0; border-radius:17px; box-shadow:0 7px 14px #0b263e17; }
.ts-expansion-grid .home-expansion-artwork { position:relative; isolation:isolate; overflow:hidden; height:205px; padding:22px; background:linear-gradient(120deg,#155c9b,#2fbbeb); }
.ts-expansion-grid .home-expansion-artwork:before { content:""; position:absolute; inset:-65%; z-index:-2; background-image:var(--ts-expansion-image); background-size:cover; background-position:center; transform:scale(1.3) rotate(-17deg); filter:saturate(1.45) blur(5px); }
.ts-expansion-grid .home-expansion-artwork:after { content:""; position:absolute; inset:0; z-index:-1; background:linear-gradient(120deg,rgba(7,32,77,.35),rgba(6,40,77,.1)); }
.ts-expansion-art-overlay { position:absolute; inset:0; z-index:-1; background:linear-gradient(145deg,transparent 25%,rgba(255,255,255,.12) 26%,transparent 40%,rgba(255,255,255,.1) 72%,transparent 73%); }
.ts-expansion-grid .home-expansion-artwork .ts-expansion-feature-logo { display:block; max-width:92%; max-height:135px; width:auto; height:auto; object-fit:contain; filter:drop-shadow(0 6px 6px #001a3e80); }
.ts-expansion-feature-title { color:#fff; text-shadow:0 2px 8px #001b39; font-size:26px; text-align:center; }
.ts-expansion-grid .home-expansion-details { padding:17px 19px; }
.ts-expansion-grid .home-expansion-series { font-size:11px; letter-spacing:.1px; text-transform:none; margin-bottom:4px; }
.ts-expansion-grid .home-expansion-name { min-height:0; font-size:19px; line-height:1.2; margin:0 0 12px; }
@media(max-width:991px) { .ts-expansion-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .ts-hero-card { width:190px; } }
@media(max-width:767px) { .ts-home-hero { background:linear-gradient(#f8fbff,#e8f3ff); } .ts-hero-card { width:155px; border-radius:10px; } .ts-expansion-grid { grid-template-columns:minmax(0,1fr); } .ts-expansion-grid .home-expansion-artwork { height:185px; } }

/* TCG Stash homepage v1.3: landscape hero and colorful landscape expansion tiles. */
.site-header {
  background: linear-gradient(90deg, #ffffff 0%, #ffffff 35%, rgba(246,251,255,.96) 59%, rgba(225,243,255,.72) 100%), url('assets/images/hero-light-lake-panorama.webp') right 29% / cover no-repeat;
  border-bottom: 4px solid #ffce26;
}
.site-header .navbar { background: transparent; }
.site-header .tcg-stash-nav a, .site-header .navbar-nav .nav-link, .site-header .navbar-nav a { color: #102943 !important; font-weight: 750; }
.site-header .navbar-toggler { border-color:#17334c; }
.site-header .navbar-toggler-icon { filter: invert(1); }
.ts-home-hero {
  background: linear-gradient(90deg, rgba(255,255,255,.94) 0%, rgba(255,255,255,.82) 30%, rgba(246,252,255,.35) 51%, rgba(255,255,255,0) 76%), url('assets/images/hero-light-lake-panorama.webp') center 48% / cover no-repeat;
}
.ts-home-hero:after { display:none; }
.ts-home-hero-copy h1, .ts-hero-kicker { text-shadow: 0 1px 1px rgba(255,255,255,.4); }
.ts-home-hero-copy>p:not(.ts-hero-kicker) { color:#19384f; }
.ts-expansion-slide { min-width:0; }
.ts-expansion-grid .home-expansion-card { overflow:hidden; border-radius:18px; }
.ts-expansion-grid .home-expansion-artwork {
  height:175px; padding:14px 18px; display:flex; align-items:center; justify-content:center;
  background:linear-gradient(125deg,#067bd0,#9c38bb 55%,#f44155);
}
.ts-expansion-grid .home-expansion-artwork:before {
  inset:-38%; background-image:var(--ts-expansion-image);
  background-position:50% 38%; background-size:cover;
  transform:rotate(-13deg) scale(1.3);
  filter:saturate(2.05) contrast(1.16) blur(1.5px);
  opacity:.98;
}
.ts-expansion-grid .home-expansion-artwork:after {
  background:linear-gradient(110deg,rgba(2,15,50,.27),rgba(4,20,52,.05) 45%,rgba(4,15,46,.24));
}
.ts-expansion-art-overlay { display:none; }
.ts-expansion-grid .home-expansion-artwork .ts-expansion-feature-logo {
  position:relative; z-index:1; max-width:94%; max-height:125px;
  filter:drop-shadow(0 4px 2px rgba(0,0,0,.65)) drop-shadow(0 10px 13px rgba(0,0,0,.4));
}
.ts-expansion-grid .home-expansion-details { padding:13px 18px; }
.ts-expansion-grid .home-expansion-name { font-size:18px; margin-bottom:8px; }
@media(max-width:767px) {
  .site-header { background:linear-gradient(90deg,#fff,#e6f5ff); }
  .ts-home-hero { background:linear-gradient(180deg,rgba(255,255,255,.95),rgba(255,255,255,.65)),url('assets/images/hero-light-lake-panorama.webp') center / cover no-repeat; }
  .ts-expansion-grid .home-expansion-artwork { height:165px; }
}

/* Keep the homepage expansion and chase-card sections visually connected. */
.home-expansions { padding-bottom:45px; }
.home-pokemon { padding-top:45px; }
@media(max-width:991px) {
  .home-expansions { padding-bottom:36px; }
  .home-pokemon { padding-top:36px; }
}
@media(max-width:767px) {
  .home-expansions { padding-bottom:28px; }
  .home-pokemon { padding-top:28px; }
}

/* Build Your Collection: light palette and top-aligned artwork. */
.home-collection {
	background: #fff;
	color: var(--pc-text);
}
.home-collection::before {
	display: block;
	inset: 0;
	width: 100%;
	background-image: url('assets/images/front-page-binder-bg.webp');
	background-position: center top;
	background-size: cover;
}
.home-collection::after {
	display: block;
	background: linear-gradient(
		90deg,
		rgba(255, 255, 255, .98) 0%,
		rgba(255, 255, 255, .92) 38%,
		rgba(255, 255, 255, .58) 64%,
		rgba(255, 255, 255, .12) 100%
	);
}
.home-collection .home-collection-title { color: var(--pc-text); }
.home-collection-description { color: #4f6278; }
.home-collection-badge {
	border-color: #b9d9ef;
	background: #e8f5ff;
	color: #0874b4;
}
.home-collection-status-text { color: #536a80; }
.home-collection-preview {
	border-color: #d5e5f2;
	background: #fff;
	box-shadow: 0 18px 48px rgba(20, 68, 105, .12);
}
.home-collection-preview-header h3,
.home-collection-sets-header h4,
.home-collection-showcase-copy strong { color: var(--pc-text); }
.home-collection-preview-header p,
.home-collection-showcase-copy p { color: #5b6e82; }
.home-collection-preview-tag {
	border-color: #c5e2f4;
	background: #f1f9ff;
	color: #0874b4;
}
.home-collection-showcase {
	border-color: #d9e9f5;
	background: #f4faff;
}
.home-collection-card {
	background: #fff;
	box-shadow: 0 8px 20px rgba(17, 58, 91, .2);
}
.home-collection-sets-header span,
.home-collection-set-heading span { color: #5b6e82; }
.home-collection-set-heading strong { color: #263e55; }
.home-collection-set-track { background: #dcebf5; }
.home-collection-set-track > div { background: #159bd2; }
.home-collection-preview-bottom { border-color: #d9e6f0; color: #61758a; }
.home-pokemon { background: #fff; }

/* Cards directory page and TCG Vault catalog. */
.tcg-stash-cards-page {
	padding: 52px 0 80px;
	background: #f7faff;
}
.tcg-stash-cards-page > .container-xxl { max-width: 1440px; }
.tcg-stash-cards-page .entry-title {
	margin: 0 0 28px;
	color: #10243b;
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 800;
}
.tcg-stash-cards-page .entry-content,
.tcg-stash-cards-page #tcgv-catalog { width: 100%; }
.tcg-stash-cards-page .tcgv-navigation { gap: 10px; margin-bottom: 22px; }
.tcg-stash-cards-page .tcgv-view-button {
	padding: 11px 20px;
	border: 1px solid #cbd9e7;
	border-radius: 999px;
	background: #fff;
	color: #10243b;
	font: inherit;
	font-weight: 700;
	transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}
.tcg-stash-cards-page .tcgv-view-button:hover { transform: translateY(-1px); border-color: #087dc3; }
.tcg-stash-cards-page .tcgv-view-button.is-active { border-color: #10243b; background: #10243b; color: #fff; }
.tcg-stash-cards-page .tcgv-toolbar { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.tcg-stash-cards-page .tcgv-search,
.tcg-stash-cards-page .tcgv-set {
	min-height: 48px;
	border: 1px solid #cfdeeb;
	border-radius: 12px;
	background: #fff;
	color: #10243b;
	font: inherit;
}
.tcg-stash-cards-page .tcgv-search { flex: 1 1 280px; padding: 0 16px; }
.tcg-stash-cards-page .tcgv-set { min-width: 220px; padding: 0 38px 0 14px; }
.tcg-stash-cards-page .tcgv-search:focus,
.tcg-stash-cards-page .tcgv-set:focus { border-color: #087dc3; outline: 3px solid rgba(8, 125, 195, .14); }
.tcg-stash-cards-page .tcgv-count { margin: 0 0 18px; color: #607187; font-weight: 600; }
.tcg-stash-cards-page .tcgv-grid { display: grid; grid-auto-rows: 1fr; gap: 20px; align-items: stretch; }
.tcg-stash-cards-page .tcgv-grid:has(.tcgv-set-card) { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.tcg-stash-cards-page .tcgv-set-card,
.tcg-stash-cards-page .tcgv-card {
	position: relative;
	border: 1px solid #d9e5ef;
	border-radius: 18px;
	background: #fff;
	color: #10243b;
	box-shadow: 0 6px 18px rgba(16, 36, 59, .08);
	transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.tcg-stash-cards-page .tcgv-set-card { padding: 16px; }
.tcg-stash-cards-page .tcgv-set-card:hover,
.tcg-stash-cards-page .tcgv-card:hover { transform: translateY(-5px); border-color: #82c8e8; box-shadow: 0 14px 28px rgba(16, 36, 59, .14); }
.tcg-stash-cards-page .tcgv-set-artwork {
	height: 190px;
	margin-bottom: 14px;
	padding: 10px;
	border-radius: 12px;
	background: linear-gradient(135deg, #e7f5ff, #fff2cf 58%, #ffe5e1);
}
.tcg-stash-cards-page .tcgv-set-artwork img { filter: drop-shadow(0 8px 9px rgba(16, 36, 59, .2)); }
.tcg-stash-cards-page .tcgv-set-artwork img.tcg-stash-art-fallback-image {
	width: min(72%, 190px);
	max-height: 132px;
	object-fit: contain;
}
.tcg-stash-cards-page .tcgv-set-artwork .tcgv-no-image,
.tcg-stash-cards-page .tcgv-card .tcgv-no-image,
.tcg-stash-card-image-placeholder {
	position: relative;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	min-height: 220px;
	padding: 0 12px 12px;
	border: 1px solid #4d79b5;
	border-radius: 11px;
	overflow: hidden;
	background:
		radial-gradient(ellipse at center, transparent 57%, rgba(96, 165, 250, .36) 57.5%, transparent 58.2%, transparent 70%, rgba(96, 165, 250, .24) 70.5%, transparent 71.2%),
		linear-gradient(145deg, #30263f, #191622);
	color: #dce9ff;
	font-size: 12px;
	font-weight: 700;
	text-align: center;
}
.tcg-stash-cards-page .tcgv-set-artwork .tcgv-no-image::before,
.tcg-stash-cards-page .tcgv-card .tcgv-no-image::before,
.tcg-stash-card-image-placeholder::before {
	position: absolute;
	left: 50%;
	bottom: 20%;
	width: 32%;
	height: 63%;
	border: 2px solid #60a5fa;
	border-radius: 10px;
	background:
		radial-gradient(circle at center, #f5f3fa 0 10%, #171321 10.5% 16%, transparent 16.5%),
		linear-gradient(to bottom, #60a5fa 0 46%, #171321 46% 54%, #f5f3fa 54% 100%);
	box-shadow: 16px 5px 0 -1px #29233b, 16px 5px 0 1px #4878b4, 0 12px 24px rgba(0, 0, 0, .35);
	content: "";
	transform: translateX(-50%) rotate(-8deg);
}
.tcg-stash-cards-page .tcgv-set-artwork .tcgv-no-image,
.tcg-stash-cards-page .tcgv-card .tcgv-no-image { width: 100%; height: 100%; }
.tcg-stash-cards-page .tcgv-set-artwork .tcgv-no-image {
	min-height: 0;
	align-self: stretch;
}
.tcg-stash-card-image-placeholder { width: 100%; aspect-ratio: .715; }
.tcg-stash-card-image-placeholder span { position: relative; z-index: 1; }
.tcg-stash-cards-page .tcgv-set-information h3 { color: #10243b; font-size: 17px; font-weight: 750; }
.tcg-stash-cards-page .tcgv-set-information small { color: #607187; }
.tcg-stash-cards-page .tcgv-set-total { color: #0874b4; }
.tcg-stash-cards-page .tcgv-grid:has(.tcgv-card) { grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); }
.tcg-stash-cards-page .tcgv-card { display: flex; flex-direction: column; align-items: stretch; gap: 8px; min-width: 0; height: 100%; padding: 10px; text-align: left; }
.tcg-stash-cards-page .tcgv-card img,
.tcg-stash-cards-page .tcgv-card .tcgv-no-image { flex: 0 0 auto; width: 100%; aspect-ratio: .715; min-height: 0; border-radius: 11px; }
.tcg-stash-cards-page .tcgv-card img { display: block; flex: 0 0 auto; width: 100%; height: auto; aspect-ratio: .715; object-fit: contain; border-radius: 11px; background: #f2f7fb; }
.tcg-stash-cards-page .tcgv-card strong { display: -webkit-box; overflow: hidden; min-height: 2.6em; color: #10243b; font-size: 14px; line-height: 1.3; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.tcg-stash-cards-page .tcgv-card small { display: block; overflow: hidden; color: #607187; text-overflow: ellipsis; white-space: nowrap; }
.tcg-stash-cards-page .tcgv-pagination { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 28px; }
.tcg-stash-cards-page .tcgv-pagination { display: none !important; }
.tcg-stash-cards-page .tcgv-pagination button {
	padding: 10px 16px;
	border: 1px solid #cbd9e7;
	border-radius: 10px;
	background: #fff;
	color: #10243b;
	font: inherit;
	font-weight: 700;
}
.tcg-stash-cards-page .tcgv-pagination button:hover:not(:disabled) { border-color: #ed302b; color: #c41f24; }
.tcg-stash-cards-page .tcgv-pagination button:disabled { opacity: .45; }
@media (max-width: 767.98px) {
	.tcg-stash-cards-page { padding: 34px 0 56px; }
	.tcg-stash-cards-page .tcgv-grid { gap: 14px; }
	.tcg-stash-cards-page .tcgv-grid:has(.tcgv-set-card),
	.tcg-stash-cards-page .tcgv-grid:has(.tcgv-card) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tcg-stash-cards-page .tcgv-set-artwork { height: 155px; }
}
@media (max-width: 420px) {
	.tcg-stash-cards-page .tcgv-grid:has(.tcgv-set-card),
	.tcg-stash-cards-page .tcgv-grid:has(.tcgv-card) { grid-template-columns: 1fr; }
}

/* Bootstrap card details modal */
.tcg-stash-card-detail-modal .modal-content {
	border: 1px solid #d9e5ef;
	border-radius: 18px;
	color: #10243b;
}

.tcg-stash-card-detail-image-wrap {
	display: flex;
	min-height: 220px;
	align-items: center;
	justify-content: center;
	padding: 12px;
	border-radius: 14px;
	background: #f2f7fb;
}

.tcg-stash-card-detail-image {
	display: block;
	width: 100%;
	max-height: calc(100vh - 11rem);
	object-fit: contain;
}

.tcg-stash-set .tcg-stash-card-item[role="button"] {
	cursor: zoom-in;
}

.tcg-stash-set .tcg-stash-card-item[role="button"]:focus-visible {
	border-radius: 14px;
	outline: 3px solid rgba(8, 125, 195, .55);
	outline-offset: 3px;
}

@media(max-width:991.98px) {
	.home-collection::before { background-position: center top; }
}
@media(max-width:575.98px) {
	.home-collection::before { background-position: 68% top; }
	.home-collection::after {
		background: linear-gradient(
			90deg,
			rgba(255, 255, 255, .98) 0%,
			rgba(255, 255, 255, .92) 55%,
			rgba(255, 255, 255, .64) 100%
		);
	}
}
body { background: #fff; }
