/* The Hobby Card storefront presentation. */
.tcgv {
	font-family: var(--tcgv-font-body);
	color: var(--tcgv-text);
}

.tcgv .tcgv-container {
	width: min(calc(100% - 64px), var(--tcgv-container));
	max-width: none;
	padding-inline: 0;
}

.tcgv .tcgm-header__top {
	grid-template-columns: minmax(210px, .9fr) minmax(220px, 1.5fr) auto;
	align-items: center;
	min-height: 76px;
	padding-block: 10px;
	gap: clamp(18px, 5vw, 80px);
}

.tcgv .tcgm-header__nav {
	min-height: 44px;
	justify-content: flex-start;
	border-bottom: 1px solid var(--tcgv-border);
}

.tcgm-header nav .tcgv-menu {
	gap: clamp(20px, 3vw, 44px);
}

.tcgm-header nav .tcgv-menu > li > a {
	font: 600 .94rem/1.3 var(--tcgv-font-body);
	padding: 10px 0;
	color: var(--tcgv-header-fg);
}

.tcgv .tcgm-logo {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	width: auto;
	max-width: 100%;
	white-space: nowrap;
	text-decoration: none;
}

.tcgv .tcgh-logo-mark {
	flex: 0 0 auto;
	color: var(--tcgv-accent);
	width: 43px;
	height: 43px;
}

.tcgv .tcgh-logo-text {
	font: 700 clamp(1rem, 1.75vw, 1.48rem)/1 var(--tcgv-font-heading);
	letter-spacing: -.055em;
}

.tcgm-header .tcgm-logo img {
	width: auto;
	max-width: min(100%, 250px);
	max-height: 65px;
	height: auto;
}

.tcgv .tcgm-header .tcgv-search {
	border-radius: var(--tcgv-radius-btn);
	border-color: var(--tcgv-border);
	background: var(--tcgv-surface-2);
}

.tcgv .tcgm-header .tcgv-search__input {
	color: var(--tcgv-text);
}

.tcgv .tcgm-header .tcgv-actions__btn--search-toggle,
.tcgv .tcgm-header .tcgv-actions__burger {
	display: none;
}

.tcgv .tcgv-drawer[hidden] {
	display: none;
}

.tcgv-home > .tcgv-container,
.tcgv-home .tcgv-section--new {
	margin-block: 0 var(--tcgv-section-gap);
}

.tcgv-home .tcgh-hero-section {
	margin-top: 18px;
}

.tcgh-hero,
.tcgh-spotlight {
	display: grid;
	overflow: hidden;
	border-radius: var(--tcgv-radius);
	background: var(--tcgv-surface-2);
}

.tcgh-hero { grid-template-columns: 41fr 59fr; }
.tcgh-spotlight { grid-template-columns: 54fr 46fr; }
.tcgh-hero--solo, .tcgh-spotlight--solo { grid-template-columns: 1fr; }

.tcgh-hero__copy,
.tcgh-spotlight__copy {
	align-self: center;
	min-width: 0;
	padding: clamp(24px, 4.3vw, 65px);
}

.tcgh-hero__copy--center { text-align: center; }
.tcgh-hero__copy--center .tcgh-hero__actions { justify-content: center; }

.tcgh-hero h1,
.tcgh-spotlight h2,
.tcgv-home .tcgm-heading,
.tcgv-home .tcgv-section__title {
	color: var(--tcgv-text);
	font-family: var(--tcgv-font-heading);
	font-weight: 700;
	letter-spacing: -.048em;
	line-height: 1.04;
	margin: 0;
}

.tcgv-home .tcgh-categories > .tcgm-heading,
.tcgv-home .tcgm-featured > .tcgm-heading {
	display: block;
	text-align: left;
}

.tcgv-home .tcgh-categories > .tcgm-heading::before,
.tcgv-home .tcgh-categories > .tcgm-heading::after,
.tcgv-home .tcgm-featured > .tcgm-heading::before,
.tcgv-home .tcgm-featured > .tcgm-heading::after {
	content: none;
}

.tcgh-hero h1 { font-size: var(--tcgv-fs-h1); }
.tcgh-spotlight h2 { font-size: calc(var(--tcgv-fs-h2) * 1.45); }
.tcgv-home .tcgm-heading,
.tcgv-home .tcgv-section__title { font-size: var(--tcgv-fs-h2); }

.tcgh-hero__copy p,
.tcgh-spotlight__copy p {
	color: var(--tcgv-muted);
	margin: 12px 0 0;
}

.tcgh-hero__actions,
.tcgh-spotlight__copy > .tcgv-btn {
	margin-top: 22px;
}

.tcgh-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.tcgh-hero__actions:empty { display: none; }
.tcgh-hero__media,
.tcgh-spotlight__media { min-width: 0; }
.tcgh-hero__media { aspect-ratio: 2.05; }
.tcgh-spotlight__media { aspect-ratio: 2.25; }
.tcgh-hero__media img,
.tcgh-spotlight__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tcgh-spotlights { display: grid; gap: var(--tcgv-section-gap); }

.tcgv-home .tcgh-categories {
	padding: 0 0 15px;
	border-bottom: 1px solid var(--tcgv-border);
}

.tcgh-category-grid {
	display: grid;
	grid-template-columns: repeat(var(--tcgv-game-cols), minmax(0, 1fr));
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
	gap: 0;
}

.tcgh-category-grid > li { min-width: 0; }
.tcgh-category-grid > li + li { border-left: 1px solid var(--tcgv-border); }
.tcgh-category-grid--contain .tcgh-category__visual { object-fit: contain; }
.tcgh-category-grid--overlay li { position: relative; }
.tcgh-category-grid--overlay .tcgh-category:has(img) { display: grid; gap: 0; padding: 0; }
.tcgh-category-grid--overlay .tcgh-category:has(img) > span { grid-area: 1 / 1; align-self: end; z-index: 1; padding: 7px; background: var(--tcgv-surface); color: var(--tcgv-text); }
.tcgh-category-grid--overlay .tcgh-category img { grid-area: 1 / 1; }
.tcgh-category-grid--overlay .tcgh-category:has(img) > .tcgh-category__arrow { display: none; }

.tcgh-category {
	display: flex;
	align-items: center;
	gap: 9px;
	min-height: 50px;
	padding: 7px 10px;
	color: var(--tcgv-text);
	font-weight: 600;
	font-size: .9rem;
	line-height: 1.2;
	text-decoration: none;
}

.tcgh-category:hover { color: var(--tcgv-accent); background: var(--tcgv-surface-2); }
.tcgh-category__icon, .tcgh-category__arrow { flex-shrink: 0; }
.tcgh-category__arrow { margin-left: auto; }
.tcgh-category__visual { width: 34px; height: 34px; object-fit: cover; border-radius: var(--tcgv-radius); }
.tcgv-home.tcgv .tcgh-category__visual { display: block; }
.tcgh-category-grid--classic .tcgh-category,
.tcgh-category-grid--overlay .tcgh-category { flex-wrap: wrap; }
.tcgh-category-grid--classic .tcgh-category__visual,
.tcgh-category-grid--overlay .tcgh-category__visual { width: 100%; height: auto; aspect-ratio: var(--tcgv-game-ratio); }

.tcgv-home .tcgm-featured,
.tcgv-home .tcgv-section--new {
	padding-block: 0;
	border: 0;
}

.tcgv-home .tcgm-featured .tcgm-heading { margin-bottom: 15px; }
.tcgv-home .tcgv-section--new .tcgv-section__head { margin-bottom: 15px; }
.tcgv-home .tcgm-featured ul.tcgv-products,
.tcgv-home .tcgv-section--new ul.tcgv-products {
	display: grid;
	grid-template-columns: repeat(var(--tcgv-cols), minmax(0, 1fr));
	gap: 16px;
}

.tcgv .tcgv-card__media {
	aspect-ratio: var(--tcgv-card-ratio);
	border-radius: var(--tcgv-radius);
	background: var(--tcgv-surface-2);
}

.tcgv .tcgv-card__media .tcgv-card__img {
	object-fit: contain;
}

.tcgv .tcgv-card__body {
	padding: 10px 0 0;
}

.tcgv .tcgv-card__title,
.tcgv .tcgv-card__price {
	font-family: var(--tcgv-font-body);
	font-weight: 700;
}

.tcgv .tcgv-card__title { font-size: 1rem; line-height: 1.28; }

.tcgv .tcgm-service .tcgv-trust {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
	gap: 0;
	margin: 0;
	padding: 12px 16px;
	border: 0;
	border-radius: var(--tcgv-radius);
	background: var(--tcgv-surface-2);
}

.tcgv .tcgm-service .tcgv-trust__item {
	padding: 8px 14px;
	min-height: 40px;
	border: 0;
	border-radius: 0;
	background: transparent;
}

.tcgv .tcgm-service .tcgv-trust__item + .tcgv-trust__item { border-left: 1px solid var(--tcgv-border); }
.tcgv .tcgm-service .tcgv-trust__icon { color: var(--tcgv-accent); }
.tcgv .tcgm-service .tcgv-trust__copy > span:empty { display: none; }

.tcgv .tcgm-footer { padding-block: 35px 16px; }
.tcgv .tcgm-footer__grid { grid-template-columns: minmax(200px, 1.4fr) 1fr 1fr minmax(205px, 1.2fr); gap: 24px; }
.tcgv .tcgm-footer__links,
.tcgv .tcgm-footer__contact { border: 0; padding: 0; }
.tcgv .tcgm-footer__links ul { display: grid; grid-template-columns: minmax(0, 1fr); gap: 5px; }
.tcgv .tcgm-footer__links li { min-width: 0; }
.tcgv .tcgm-footer h2 { font: 700 1rem/1.3 var(--tcgv-font-heading); color: inherit; margin: 0 0 8px; }
.tcgv .tcgm-footer .tcgm-logo { width: auto; color: inherit; }
.tcgv .tcgm-footer .tcgh-logo-mark { color: inherit; }
.tcgv .tcgm-footer .tcgm-logo img { max-height: 65px; width: auto; max-width: 100%; object-fit: contain; filter: none; }
.tcgv .tcgm-footer__brand p { color: inherit; margin: 9px 0 0; max-width: 34ch; opacity: .9; font-size: .88rem; }
.tcgv .tcgm-footer .tcgm-footer__links li,
.tcgv .tcgm-footer .tcgm-footer__contact { font-size: .88rem; }
.tcgv .tcgm-footer__contact a,
.tcgv .tcgm-footer__contact p { overflow-wrap: anywhere; }
.tcgv .tcgm-footer__contact svg { flex-shrink: 0; }
.tcgv .tcgm-footer__bottom { border-color: color-mix(in srgb, currentColor 24%, transparent); }

.woocommerce .tcgv-single .tcgv-single__summary {
	background: var(--tcgv-surface);
	border: 1px solid var(--tcgv-border);
	border-radius: var(--tcgv-radius);
	padding: clamp(17px, 2.5vw, 34px);
	min-width: 0;
}

.woocommerce .tcgv-single .product_title {
	font-family: var(--tcgv-font-heading);
	font-size: clamp(1.65rem, 4vw, calc(var(--tcgv-fs-h1) * .74));
	font-weight: 700;
	letter-spacing: -.04em;
	line-height: 1.1;
	color: var(--tcgv-text);
}

.woocommerce .tcgv-single .woocommerce-product-gallery img { border-radius: var(--tcgv-radius); }
.woocommerce .tcgv-single .tcgv-accordion {
	background: var(--tcgv-surface);
	border-color: var(--tcgv-border);
	border-radius: var(--tcgv-radius);
}
.woocommerce .tcgv-single .tcgv-accordion__summary { font-family: var(--tcgv-font-heading); color: var(--tcgv-text); }
.woocommerce .tcgv-single .tcgv-single__meta { border-color: var(--tcgv-border); color: var(--tcgv-muted); }

@media (min-width: 783px) and (max-width: 1050px) {
	.tcgh-category-grid { grid-template-columns: repeat(var(--tcgv-game-cols-tablet), minmax(0, 1fr)); }
	.tcgv .tcgm-footer__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
	.tcgh-hero h1 { font-size: clamp(32px, 4.7vw, var(--tcgv-fs-h1)); }
}

@media (max-width: 782px) {
	.tcgv .tcgv-container { width: calc(100% - 32px); }
	.tcgv .tcgm-header__top {
		grid-template-columns: 40px minmax(0, 1fr) 40px;
		min-height: 0;
		gap: 5px 8px;
		padding-block: 6px 12px;
	}
	.tcgv .tcgm-header .tcgv-branding { width: auto; min-width: 0; justify-self: center; }
	.tcgv .tcgm-header__search { grid-column: 1 / -1; grid-row: 2; }
	.tcgv .tcgm-header__nav,
	.tcgv .tcgm-header .tcgv-actions__account,
	.tcgv .tcgm-header .tcgv-actions__wishlist { display: none; }
	.tcgv .tcgm-header .tcgm-menu-button,
	.tcgv .tcgm-header .tcgv-actions__btn { width: 40px; height: 40px; }
	.tcgv .tcgm-header .tcgh-logo-mark { width: 36px; height: 36px; }
	.tcgv .tcgm-header .tcgh-logo-text { font-size: clamp(.87rem, 4vw, 1.18rem); }
	.tcgv .tcgm-header .tcgm-logo img { width: auto; height: 42px; max-width: 100%; }
	.tcgv .tcgm-header .tcgv-search,
	.tcgv .tcgm-header .tcgv-search__input { min-height: 39px; height: 39px; }
	.tcgv-home .tcgh-hero-section { margin-top: 6px; }
	.tcgh-hero, .tcgh-spotlight { grid-template-columns: 1fr; }
	.tcgh-hero__copy, .tcgh-spotlight__copy { padding: 18px 16px; }
	.tcgh-hero__actions, .tcgh-spotlight__copy > .tcgv-btn { margin-top: 12px; }
	.tcgh-hero__media { aspect-ratio: 1.75; }
	.tcgh-spotlight__media { aspect-ratio: 2.15; }
	.tcgh-spotlight h2 { font-size: calc(var(--tcgv-fs-h2) * 1.12); }
	.tcgh-category-grid { grid-template-columns: repeat(var(--tcgv-game-cols-mobile), minmax(0, 1fr)); gap: 7px; }
	.tcgh-category-grid > li + li { border: 0; }
	.tcgh-category {
		border: 1px solid var(--tcgv-border);
		border-radius: var(--tcgv-radius-btn);
		background: var(--tcgv-surface);
		min-height: 46px;
		gap: 6px;
		padding: 6px 7px;
		font-size: .82rem;
	}
	.tcgh-category__icon { width: 19px; height: 19px; }
	.tcgh-category__arrow { width: 10px; }
	.tcgv-home .tcgm-featured ul.tcgv-products,
	.tcgv-home .tcgv-section--new ul.tcgv-products { grid-template-columns: repeat(var(--tcgv-cols-mobile),minmax(0,1fr)) !important; gap: 14px 10px; }
	.tcgv .tcgv-card__title { font-size: .88rem; }
	.tcgv .tcgm-service .tcgv-trust { grid-template-columns: 1fr; padding: 8px 12px; }
	.tcgv .tcgm-service .tcgv-trust__item { padding: 7px 10px; }
	.tcgv .tcgm-service .tcgv-trust__item + .tcgv-trust__item { border-left: 0; border-top: 1px solid var(--tcgv-border); }
	.tcgv .tcgm-footer__grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 17px 12px; }
	.tcgm-footer__brand, .tcgh-footer-contact { grid-column: 1 / -1; }
	.tcgh-footer-contact { border-top: 1px solid color-mix(in srgb, currentColor 24%, transparent); padding-top: 15px; }
	.tcgv .tcgm-footer__brand p { max-width: 44ch; }
}

