/**
 * HitoZero TCG storefront styles — tokens from theme.json + component CSS.
 * No Tailwind. Edit colors/spacing via Appearance → Editor → Styles.
 */

:root {
	--hz-ease-out: cubic-bezier(0.23, 1, 0.32, 1);
	--hz-ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
	--hz-press: 0.97;
	--hz-radius-sm: 0.45rem;
	--hz-radius-md: 0.75rem;
	--hz-radius-lg: 1rem;
	--hz-shadow-sm: 0 1px 2px color-mix(in srgb, var(--wp--preset--color--primary, #0b132b) 4%, transparent);
	--hz-shadow-md: 0 10px 28px color-mix(in srgb, var(--wp--preset--color--primary, #0b132b) 10%, transparent);
	--hz-shadow-lg: 0 18px 40px color-mix(in srgb, var(--wp--preset--color--primary, #0b132b) 14%, transparent);
	--hz-ring: 0 0 0 1px color-mix(in srgb, var(--wp--preset--color--primary, #0b132b) 6%, transparent);
	/* Shell width: /sealed/ catalog. Header, footer and storefront sections share this. */
	--hz-shell-width: 1360px;
	/* Compat: old templates used --2xl; WP used to emit --2-xl for slug "2xl" */
	--wp--preset--spacing--2xl: var(--wp--preset--spacing--xxl, 4rem);
	--wp--preset--spacing--2-xl: var(--wp--preset--spacing--xxl, 4rem);
}

/* -------------------------------------------------------------------------- */
/* Layout                                                                     */
/* -------------------------------------------------------------------------- */

.hz-site-header {
	border-bottom: 1px solid var(--wp--preset--color--border, #e5e7eb);
	background: var(--hz-header-bg, var(--wp--preset--color--background, #fff));
	z-index: 50;
}

/*
 * WP core injects:
 *   :root :where(.is-layout-flow) > * { margin-block-start: 24px; }
 *   :root :where(.is-layout-flex) { gap: 24px; }
 * Both fight the sticky header and make height jump between templates.
 */
.wp-site-blocks > header :where(.is-layout-flow) > *,
.hz-site-header.is-layout-flow > *,
.hz-site-header :where(.is-layout-flow) > * {
	margin-block-start: 0 !important;
	margin-block-end: 0 !important;
}

.wp-site-blocks > header :where(.is-layout-flex),
.wp-site-blocks > header.is-layout-flex,
.hz-site-header.is-layout-flex,
.hz-site-header :where(.is-layout-flex),
.hz-header.is-layout-flex,
.hz-header :where(.is-layout-flex) {
	gap: 0 !important;
}

/* Intentional gaps inside the nav bar (must beat the reset above). */
.hz-header__bar.is-layout-flex,
.hz-header__bar,
.hz-header__end.is-layout-flex,
.hz-header__end {
	gap: 0.85rem !important;
}

.hz-site-brand.is-layout-flex,
.hz-site-brand {
	gap: 0.65rem !important;
}

.hz-header .wp-block-navigation.is-layout-flex,
.hz-header .wp-block-navigation__container {
	gap: 0.35rem 1rem !important;
}

.hz-header--centered .hz-header__stack.is-layout-flex,
.hz-header--centered .hz-header__stack {
	gap: 0.65rem !important;
}

/* Kill FSE block-gap so sticky sits flush with the viewport edge. */
.wp-site-blocks > header,
.wp-site-blocks > main {
	margin-block-start: 0 !important;
}

.wp-site-blocks > header {
	margin-block-end: 0 !important;
	padding: 0;
	width: 100%;
	max-width: none;
	overflow: visible;
}

.hz-site-header,
.hz-header__main,
.hz-header__bar {
	overflow: visible;
}

/* Sticky lives on the FSE <header> wrapper so all variants stick as one unit. */
body.hz-header-is-sticky .wp-site-blocks > header {
	position: sticky;
	top: 0;
	z-index: 200;
	margin: 0 !important;
}

body.admin-bar.hz-header-is-sticky .wp-site-blocks > header {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar.hz-header-is-sticky .wp-site-blocks > header {
		top: 46px;
	}
}

/* --- Surfaces: solid / translucent / glass -------------------------------- */

body.hz-header-surface-solid .wp-site-blocks > header .hz-site-header,
body.hz-header-surface-solid .wp-site-blocks > header .hz-header__main {
	background: var(--hz-header-bg, var(--wp--preset--color--background, #fff));
}

/*
 * Glass needs a single frosted layer. Opaque parents kill backdrop-filter
 * because content never paints "behind" the blurred element.
 */
body.hz-header-surface-translucent .wp-site-blocks > header,
body.hz-header-surface-glass .wp-site-blocks > header {
	background: transparent !important;
}

body.hz-header-surface-translucent .hz-header--commerce,
body.hz-header-surface-glass .hz-header--commerce {
	background: transparent !important;
	background-color: transparent !important;
	border-bottom: none;
	box-shadow: none;
}

/* Classic / dark / centered: frost the outer header shell. */
body.hz-header-surface-translucent .hz-site-header:not(.hz-header--commerce) {
	background-color: color-mix(
		in srgb,
		var(--hz-header-bg, var(--wp--preset--color--background, #fff)) 82%,
		transparent
	) !important;
	background-image: none !important;
	border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--border, #d5dce8) 55%, transparent);
	box-shadow: 0 1px 0 color-mix(in srgb, var(--wp--preset--color--primary, #0b132b) 4%, transparent);
}

body.hz-header-surface-glass .hz-site-header:not(.hz-header--commerce) {
	background-color: color-mix(
		in srgb,
		var(--hz-header-bg, var(--wp--preset--color--background, #fff)) 58%,
		transparent
	) !important;
	background-image: none !important;
	backdrop-filter: saturate(1.65) blur(18px);
	-webkit-backdrop-filter: saturate(1.65) blur(18px);
	border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--border, #d5dce8) 45%, transparent);
	box-shadow: 0 10px 28px color-mix(in srgb, var(--wp--preset--color--primary, #0b132b) 7%, transparent);
}

/* Commerce: keep announce solid; frost only the nav row. */
body.hz-header-surface-translucent .hz-header--commerce .hz-header__main {
	background-color: color-mix(
		in srgb,
		var(--hz-header-bg, var(--wp--preset--color--background, #fff)) 82%,
		transparent
	) !important;
	background-image: none !important;
	border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--border, #d5dce8) 55%, transparent);
}

body.hz-header-surface-glass .hz-header--commerce .hz-header__main {
	background-color: color-mix(
		in srgb,
		var(--hz-header-bg, var(--wp--preset--color--background, #fff)) 58%,
		transparent
	) !important;
	background-image: none !important;
	backdrop-filter: saturate(1.65) blur(18px);
	-webkit-backdrop-filter: saturate(1.65) blur(18px);
	border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--border, #d5dce8) 45%, transparent);
	box-shadow: 0 10px 28px color-mix(in srgb, var(--wp--preset--color--primary, #0b132b) 7%, transparent);
}

body.hz-header-dark.hz-header-surface-translucent .hz-site-header:not(.hz-header--commerce),
body.hz-header-dark.hz-header-surface-glass .hz-site-header:not(.hz-header--commerce) {
	background-color: color-mix(in srgb, var(--wp--preset--color--primary, #0b132b) 68%, transparent) !important;
	border-bottom-color: rgba(255, 255, 255, 0.1);
}

body.hz-header-dark.hz-header-surface-glass .hz-site-header:not(.hz-header--commerce) {
	backdrop-filter: saturate(1.4) blur(18px);
	-webkit-backdrop-filter: saturate(1.4) blur(18px);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	body.hz-header-surface-glass .hz-site-header:not(.hz-header--commerce),
	body.hz-header-surface-glass .hz-header--commerce .hz-header__main {
		background-color: color-mix(
			in srgb,
			var(--hz-header-bg, var(--wp--preset--color--background, #fff)) 92%,
			transparent
		) !important;
	}
}

/* Lock header row height so it does not jump between templates. */
.hz-header--commerce.is-layout-flex,
.hz-header--commerce {
	gap: 0 !important;
}

.hz-header__bar,
.hz-header__end {
	width: 100%;
	align-items: center;
}

.hz-header__end {
	width: auto;
	flex: 1 1 auto;
	justify-content: flex-end;
	overflow: visible;
	min-width: 0;
	align-items: center;
}

.hz-header--classic .hz-header__bar,
.hz-header--dark .hz-header__bar,
.hz-header--commerce .hz-header__bar {
	height: 3.25rem;
	min-height: 3.25rem;
	max-height: 3.25rem;
	overflow: visible;
	align-items: center;
}

.hz-header--commerce .hz-header__main {
	padding-top: 0.55rem !important;
	padding-bottom: 0.55rem !important;
}

.hz-header .wp-block-site-title,
.hz-header .wp-block-site-title a,
.hz-site-brand,
.hz-site-brand a {
	font-family: var(--wp--preset--font-family--display, inherit);
	font-weight: 800;
	font-size: 1.15rem;
	letter-spacing: -0.03em;
	line-height: 1.1;
	text-decoration: none;
	color: inherit;
}

.hz-site-brand {
	flex: 0 1 auto;
	min-width: 0;
	align-items: center;
	max-height: 3.25rem;
}

.hz-site-brand__logo,
.hz-site-brand .wp-block-site-logo {
	line-height: 0;
	flex-shrink: 0;
	height: 2.25rem;
}

.hz-site-brand .wp-block-site-logo a,
.hz-site-brand .wp-block-site-logo img {
	display: block;
	height: 2.25rem !important;
	max-height: 2.25rem !important;
	width: auto !important;
	object-fit: contain;
}

.hz-site-brand__title,
.hz-site-brand .wp-block-site-title {
	margin: 0;
	white-space: nowrap;
	line-height: 1.1;
}

body.hz-brand-display-title .hz-site-brand .wp-block-site-logo,
body.hz-brand-display-title .hz-site-brand__logo {
	display: none !important;
}

body.hz-brand-display-logo .hz-site-brand .wp-block-site-title,
body.hz-brand-display-logo .hz-site-brand__title {
	display: none !important;
}

.hz-header .wp-block-navigation,
.hz-header .wp-block-navigation__container,
.hz-header .wp-block-navigation__responsive-container-open {
	align-items: center;
}

.hz-header .wp-block-navigation-item__content {
	font-weight: 600;
	letter-spacing: 0.01em;
	line-height: 1.2;
}

.hz-header--dark {
	background: var(--wp--preset--color--primary, #0b132b);
	color: #fff;
	border-bottom-color: rgba(255, 255, 255, 0.08);
}

.hz-header--dark .wp-block-site-title a,
.hz-header--dark .wp-block-navigation-item__content {
	color: #fff;
}

.hz-header--centered .hz-header__stack {
	width: 100%;
}

.hz-header__announce {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	height: 2rem;
	min-height: 2rem;
	max-height: 2rem;
	padding-top: 0 !important;
	padding-bottom: 0 !important;
	font-weight: 600;
	letter-spacing: 0.02em;
	overflow: hidden;
}

.hz-header__announce p {
	margin: 0;
	padding: 0;
	line-height: 1.2;
	font-size: 0.8125rem;
}

/* Customer account: same hit target as mini-cart. */
.hz-header .wp-block-woocommerce-customer-account,
.hz-header .hz-header__account {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
}

.hz-header .wc-block-customer-account__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-height: 2.5rem;
	padding: 0;
	color: inherit;
	text-decoration: none;
	font-weight: 600;
	line-height: 1;
	transition: transform 140ms var(--hz-ease-out, cubic-bezier(0.23, 1, 0.32, 1));
}

.hz-header .hz-header__account--icon .wc-block-customer-account__link {
	width: 2.5rem;
	height: 2.5rem;
	min-width: 2.5rem;
}

.hz-header .hz-header__account--text .wc-block-customer-account__link,
.hz-header .hz-header__account--icon_and_text .wc-block-customer-account__link {
	gap: 0.35rem;
	padding: 0 0.35rem;
}

.hz-header .wc-block-customer-account__link:hover {
	text-decoration: none;
	color: inherit;
}

.hz-header .wc-block-customer-account__link:active {
	transform: scale(0.97);
}

.hz-header .wc-block-customer-account__account-icon,
.hz-header .wc-block-customer-account__visual svg {
	width: 1.55rem;
	height: 1.55rem;
	display: block;
}

.hz-header--dark .wc-block-customer-account__link,
.hz-header--dark .wc-block-customer-account__account-icon {
	color: #fff;
}

/* Mini-cart: icon + badge must stay visible (badge overflows the button). */
.hz-header .wp-block-woocommerce-mini-cart,
.hz-header .wc-block-mini-cart,
.hz-header .wc-block-mini-cart__button,
.hz-header .wc-block-mini-cart__quantity-badge {
	overflow: visible;
	position: relative;
}

.hz-header .wc-block-mini-cart__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 2.5rem;
	height: 2.5rem;
	min-width: 2.5rem;
	min-height: 2.5rem;
	max-height: 2.5rem;
	padding: 0;
	background: transparent;
	border: 0;
	color: inherit;
	cursor: pointer;
	line-height: 0;
	transition: transform 140ms var(--hz-ease-out, cubic-bezier(0.23, 1, 0.32, 1));
}

.hz-header .wc-block-mini-cart__button:active {
	transform: scale(0.97);
}

.hz-header .wc-block-mini-cart__icon {
	width: 1.55rem;
	height: 1.55rem;
	display: block;
	fill: currentColor;
}

.hz-header .wc-block-mini-cart__badge {
	position: absolute;
	top: -0.2rem;
	right: -0.35rem;
	min-width: 1.15rem;
	height: 1.15rem;
	padding: 0 0.3rem;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.68rem;
	font-weight: 700;
	line-height: 1;
	background-color: var(--wp--preset--color--accent, #e63946) !important;
	color: #fff !important;
	box-shadow: 0 0 0 2px var(--hz-header-bg, #fff);
}

.hz-header--dark .wc-block-mini-cart__badge {
	box-shadow: 0 0 0 2px var(--wp--preset--color--primary, #0b132b);
}

.hz-header--dark .wc-block-mini-cart__button,
.hz-header--dark .wc-block-mini-cart__icon {
	color: #fff;
	fill: #fff;
}

@media (max-width: 720px) {
	.hz-header__announce {
		font-size: 0.78rem;
		line-height: 1.35;
	}

	.hz-header__bar.is-layout-flex,
	.hz-header__bar,
	.hz-header__end.is-layout-flex,
	.hz-header__end {
		gap: 0.5rem !important;
	}
}

.hz-site-header__inner,
.hz-site-footer__inner,
.hz-section-inner {
	max-width: var(--hz-shell-width);
	margin-inline: auto;
	padding-inline: var(--wp--preset--spacing--md, 1rem);
}

/*
 * Constrained FSE groups apply max-width to children. Force chrome + storefront
 * sections onto the same shell so the navbar lines up with /sealed/.
 */
.hz-site-header.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
.hz-header__announce.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
.hz-header__main.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
.hz-site-footer.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
.hz-section.is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)) {
	max-width: var(--hz-shell-width);
}

.hz-site-footer {
	margin-top: 0;
	padding: 2.5rem 0;
	background: var(--wp--preset--color--primary, #1a1a2e);
	color: #f8fafc;
}

.hz-site-footer a {
	color: #f8fafc;
	text-decoration: none;
}

.hz-site-footer a:hover,
.hz-site-footer a:focus-visible {
	color: var(--wp--preset--color--highlight, #f2c14e);
}

/* Marca ancha + 3 columnas de enlaces; 2 columnas en tablet, 1 en móvil. */
.hz-site-footer__grid {
	display: grid;
	gap: 2rem 2.5rem;
	grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
	.hz-site-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.hz-site-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 520px) {
	.hz-site-footer__grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

.hz-site-footer__grid > *,
.hz-site-footer__brand > * {
	margin-block: 0;
}

.hz-site-footer__brand {
	display: grid;
	gap: 0.85rem;
	align-content: start;
}

.hz-site-footer__mark {
	gap: 0.65rem;
}

.hz-site-footer__mark .wp-block-site-title {
	font-family: var(--wp--preset--font-family--display, inherit);
	font-size: 1.25rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	margin: 0;
}

.hz-site-footer__tagline {
	max-width: 34ch;
	margin: 0;
	opacity: 0.72;
}

.hz-site-footer__heading {
	margin: 0 0 0.85rem;
	font-family: var(--wp--preset--font-family--body, inherit);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wp--preset--color--highlight, #f2c14e);
}

.hz-site-footer__links,
.hz-site-footer .hz-nav-footer .wp-block-navigation__container {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.55rem !important;
}

.hz-site-footer .hz-nav-footer .wp-block-navigation-item__content {
	padding: 0;
}

.hz-site-footer__links a,
.hz-site-footer .hz-nav-footer a {
	opacity: 0.82;
}

.hz-site-footer__links a:hover,
.hz-site-footer .hz-nav-footer a:hover {
	opacity: 1;
}

.hz-site-footer__legal {
	margin-top: 2.25rem;
	padding-top: 1.1rem;
	border-top: 1px solid color-mix(in srgb, #fff 14%, transparent);
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.5rem 1.5rem;
	font-size: 0.8125rem;
	opacity: 0.65;
}

.hz-section {
	position: relative;
}

.hz-section--surface,
.hz-section--band {
	background: var(--wp--preset--color--surface, #f4f6f8);
}

.hz-section--band {
	background:
		radial-gradient(ellipse 80% 60% at 100% 0%, color-mix(in srgb, var(--wp--preset--color--accent, #e63946) 6%, transparent), transparent 55%),
		var(--wp--preset--color--surface, #f4f6f8);
}

.hz-section-head {
	width: 100%;
	margin: 0 0 2rem;
	gap: 1rem 2rem !important;
	align-items: flex-end;
}

.hz-section-copy,
.hz-section-head > .wp-block-group {
	display: flex;
	flex-direction: column;
	gap: 0;
	max-width: 42rem;
	width: 100%;
}

.hz-section-eyebrow,
.hz-section-eyebrow.wp-block-paragraph {
	margin: 0 0 0.75rem !important;
	padding: 0;
	font-family: var(--wp--preset--font-family--display, inherit);
	font-weight: 700;
	font-size: 0.75rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	line-height: 1.3;
}

.hz-section-eyebrow--on-dark {
	color: rgba(255, 255, 255, 0.72);
	margin-bottom: 0.65rem !important;
}

.hz-section-title,
.hz-section-title.wp-block-heading {
	margin: 0 0 0.85rem !important;
	padding: 0;
	font-size: clamp(1.55rem, 2.4vw, 2.05rem);
	letter-spacing: -0.03em;
	line-height: 1.15;
}

.hz-section-lead,
.hz-section-lead.wp-block-paragraph {
	margin: 0 !important;
	padding: 0;
	color: var(--wp--preset--color--muted, #6b7280);
	max-width: 38rem;
	font-size: 1.02rem;
	line-height: 1.55;
}

.hz-section-more,
.hz-section-more.wp-block-paragraph {
	margin: 0 0 0.15rem !important;
	font-weight: 700;
	font-size: 0.92rem;
	white-space: nowrap;
	line-height: 1.2;
}

.hz-section-more a {
	color: var(--wp--preset--color--primary, #0b132b);
	text-decoration: none;
	transition: color 160ms var(--hz-ease-out);
}

.hz-section-more a:hover {
	color: var(--wp--preset--color--accent, #e63946);
}

.hz-section--cta {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.85rem;
	margin-bottom: 0 !important;
}

.hz-section--cta > * {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

.hz-section--cta .wp-block-buttons {
	margin-top: 0.55rem !important;
}

/* -------------------------------------------------------------------------- */
/* Buttons — scoped reset + icons                                             */
/* -------------------------------------------------------------------------- */

.hz-btn,
.hz-btn *,
.hz-btn *::before,
.hz-btn *::after {
	box-sizing: border-box;
}

.hz-btn,
.hz-btn:hover,
.hz-btn:focus,
.hz-btn:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	min-height: 2.65rem;
	margin: 0;
	padding: 0.5rem 1.05rem;
	border: 0;
	border-radius: var(--hz-radius-sm);
	font-weight: 700;
	font-size: 0.95rem;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	transition: transform 140ms var(--hz-ease-out), box-shadow 180ms var(--hz-ease-out), background-color 180ms ease;
}

.hz-btn:active {
	transform: scale(var(--hz-press));
}

.hz-btn > p,
.hz-btn > br {
	display: none !important;
}

.hz-btn__label {
	display: inline-block;
	line-height: 1;
	margin: 0;
	padding: 0;
}

.hz-btn__icon {
	display: block;
	flex: 0 0 1.05rem;
	width: 1.05rem;
	height: 1.05rem;
	margin: 0;
	padding: 0;
	background-color: currentColor;
	-webkit-mask: center / contain no-repeat;
	mask: center / contain no-repeat;
}

.hz-btn__icon--arrow {
	-webkit-mask-image: url("../images/icons/icon-arrow.svg");
	mask-image: url("../images/icons/icon-arrow.svg");
}

.hz-btn__icon--spark {
	-webkit-mask-image: url("../images/icons/icon-spark.svg");
	mask-image: url("../images/icons/icon-spark.svg");
}

.hz-btn--primary {
	background-color: var(--wp--preset--color--accent, #e63946);
	background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 55%);
	color: #fff;
}

.hz-btn--ghost {
	background-color: rgba(8, 12, 28, 0.28);
	background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 60%);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.55);
}

.hz-btn:disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

.woocommerce .hz-btn.button,
.woocommerce .hz-btn.button.alt,
.woocommerce button.button.hz-btn,
.hz-btn.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45rem;
	min-height: 2.65rem;
	margin: 0;
	padding: 0.5rem 1.05rem;
	line-height: 1;
	border-radius: 0.55rem;
}

/* -------------------------------------------------------------------------- */
/* Hero slider — fixed stage, stacked media/copy, no layout jump              */
/* -------------------------------------------------------------------------- */

.wp-block-shortcode:has(.hz-hero) {
	display: block;
	margin: 0 !important;
	padding: 0;
	max-width: none;
}

.hz-hero,
.hz-hero__media,
.hz-hero__shot,
.hz-hero__scrim,
.hz-hero__body {
	margin: 0;
	margin-block: 0;
}

.hz-hero > * {
	margin-block-start: 0 !important;
}

.hz-hero {
	--hz-hero-h: clamp(28rem, 58vh, 38rem);
	--hz-hero-interval: 6500ms;
	position: relative;
	isolation: isolate;
	overflow: hidden;
	width: 100%;
	height: var(--hz-hero-h);
	min-height: 22rem;
	background-color: var(--wp--preset--color--primary, #0b132b);
	color: #fff;
	touch-action: pan-y;
	contain: layout paint;
}

@supports (height: 1svh) {
	.hz-hero {
		--hz-hero-h: clamp(28rem, 56svh, 38rem);
	}
}

.hz-hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
	overflow: hidden;
}

.hz-hero__shot {
	position: absolute;
	inset: 0;
	margin: 0;
	overflow: hidden;
	opacity: 0;
	filter: blur(2px);
	pointer-events: none;
	transition: opacity 420ms var(--hz-ease-out), filter 280ms ease;
}

.hz-hero__shot.is-active {
	opacity: 1;
	filter: blur(0);
	z-index: 1;
}

.hz-hero__shot img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	user-select: none;
	transform: scale(1.04);
	transition: transform 420ms var(--hz-ease-out);
}

.hz-hero__shot.is-active img {
	transform: scale(1.1);
	transition: transform var(--hz-hero-interval) linear;
}

.hz-hero__scrim {
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background:
		linear-gradient(180deg, rgba(8, 12, 28, 0.55) 0%, rgba(8, 12, 28, 0.18) 42%, rgba(8, 12, 28, 0.62) 100%),
		linear-gradient(90deg, rgba(8, 12, 28, 0.9) 0%, rgba(8, 12, 28, 0.58) 46%, rgba(8, 12, 28, 0.45) 100%);
}

.hz-hero__body {
	position: relative;
	z-index: 2;
	display: grid;
	align-items: start;
	box-sizing: border-box;
	height: 100%;
	max-width: var(--hz-shell-width);
	width: calc(100% - 2 * var(--wp--preset--spacing--md, 1rem));
	margin-inline: auto;
	padding: clamp(3.25rem, 7vh, 5rem) 0 4.25rem;
}

.hz-hero__panel {
	grid-area: 1 / 1;
	min-width: 0;
	max-width: 38rem;
	color: #fff;
	opacity: 0;
	transform: translateY(8px);
	filter: blur(2px);
	pointer-events: none;
	transition: opacity 140ms var(--hz-ease-out), transform 140ms var(--hz-ease-out), filter 140ms ease;
}

.hz-hero__panel.is-active {
	opacity: 1;
	transform: translateY(0);
	filter: none;
	pointer-events: auto;
	transition-duration: 240ms, 240ms, 240ms;
	transition-delay: 40ms;
}

.hz-hero__eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.75rem;
	font-weight: 700;
	margin: 0 0 0.75rem;
	color: var(--wp--preset--color--highlight, #f2c14e);
}

.hz-hero__title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	margin: 0 0 0.75rem;
	font-size: clamp(2rem, 5vw, 3.35rem);
	line-height: 1.08;
	max-width: 14ch;
	color: #fff;
	letter-spacing: -0.035em;
	text-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.hz-hero__text {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	margin: 0 0 1.5rem;
	max-width: 36rem;
	font-size: 1.05rem;
	opacity: 0.94;
	color: #fff;
}

.hz-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	min-height: 2.65rem;
}

.hz-hero__nav {
	position: absolute;
	inset-inline: 0;
	bottom: 1.15rem;
	z-index: 3;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.4rem;
}

.hz-hero__dot {
	position: relative;
	width: 1.7rem;
	height: 0.34rem;
	padding: 0;
	border: 0;
	border-radius: 999px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.34);
	cursor: pointer;
	transform: scaleX(0.32);
	transform-origin: center;
	transition: transform 180ms var(--hz-ease-out), background-color 160ms ease;
}

.hz-hero__dot::before {
	content: "";
	position: absolute;
	inset: -0.55rem -0.25rem;
}

.hz-hero__dot:active {
	transform: scaleX(0.32) scale(var(--hz-press));
}

.hz-hero__dot.is-active {
	background: var(--wp--preset--color--accent, #e63946);
	transform: scaleX(1);
}

.hz-hero__dot.is-active:active {
	transform: scaleX(1) scale(var(--hz-press));
}

.hz-hero__dot-fill {
	display: block;
	width: 100%;
	height: 100%;
	background: #fff;
	transform: scaleX(0);
	transform-origin: left center;
}

.hz-hero__dot.is-active .hz-hero__dot-fill {
	background: var(--wp--preset--color--accent, #e63946);
	transform: scaleX(0.16);
	animation: hz-hero-progress var(--hz-hero-interval) linear forwards;
}

.hz-hero.is-paused .hz-hero__dot.is-active .hz-hero__dot-fill {
	animation-play-state: paused;
}

@keyframes hz-hero-progress {
	from {
		transform: scaleX(0.16);
	}
	to {
		transform: scaleX(1);
	}
}

.hz-hero__arrow {
	position: absolute;
	top: 50%;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.35);
	color: #fff;
	cursor: pointer;
	transform: translateY(-50%);
	transition: transform 140ms var(--hz-ease-out), background-color 160ms ease;
}

.hz-hero__arrow:active {
	transform: translateY(-50%) scale(var(--hz-press));
}

.hz-hero__arrow--prev { left: 0.85rem; }
.hz-hero__arrow--next { right: 0.85rem; }

.hz-hero.is-instant .hz-hero__shot,
.hz-hero.is-instant .hz-hero__shot img,
.hz-hero.is-instant .hz-hero__panel {
	transition-duration: 0ms;
	transition-delay: 0ms;
	filter: none;
}

@media (hover: hover) and (pointer: fine) {
	.hz-hero__arrow:hover {
		background: rgba(0, 0, 0, 0.55);
		transform: translateY(-50%) scale(1.04);
	}

	.hz-hero__dot:hover {
		background: rgba(255, 255, 255, 0.55);
	}

	.hz-hero__dot.is-active:hover {
		background: var(--wp--preset--color--accent, #e63946);
	}
}

@media (max-width: 640px) {
	.hz-hero {
		--hz-hero-h: clamp(24rem, 70vh, 32rem);
	}

	@supports (height: 1svh) {
		.hz-hero {
			--hz-hero-h: clamp(24rem, 68svh, 32rem);
		}
	}

	.hz-hero__body {
		width: calc(100% - 5.5rem);
		max-width: var(--hz-shell-width);
		padding: 2.35rem 0 3.75rem;
	}

	.hz-hero__arrow {
		width: 2.15rem;
		height: 2.15rem;
	}

	.hz-hero__arrow--prev { left: 0.5rem; }
	.hz-hero__arrow--next { right: 0.5rem; }
}

@media (prefers-reduced-motion: reduce) {
	.hz-hero__shot,
	.hz-hero__shot img,
	.hz-hero__panel,
	.hz-hero__dot,
	.hz-hero__arrow {
		transition-duration: 0ms !important;
		transition-delay: 0ms !important;
		animation: none !important;
		filter: none !important;
	}

	.hz-hero__shot:not(.is-active),
	.hz-hero__panel:not(.is-active) {
		opacity: 0;
		transform: none;
	}

	.hz-hero__shot.is-active,
	.hz-hero__panel.is-active {
		opacity: 1;
		transform: none;
	}

	.hz-hero__shot img,
	.hz-hero__shot.is-active img {
		transform: none;
	}

	.hz-hero__dot.is-active .hz-hero__dot-fill {
		transform: scaleX(1);
		animation: none;
	}
}

/* -------------------------------------------------------------------------- */
/* Games nav / features                                                       */
/* -------------------------------------------------------------------------- */

.hz-games-nav,
.hz-games-nav *,
.hz-games-nav *::before,
.hz-games-nav *::after {
	box-sizing: border-box;
}

.hz-games-nav__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.hz-games-nav__list > li {
	display: block;
	margin: 0;
	padding: 0;
	list-style: none;
	line-height: 0;
}

.hz-games-nav__list > li > p,
.hz-games-nav__link > p,
.hz-games-nav__link > br {
	display: none !important;
}

.hz-games-nav__link,
.hz-games-nav__link:hover,
.hz-games-nav__link:focus,
.hz-games-nav__link:visited {
	display: inline-flex;
	align-items: center;
	gap: 0.55rem;
	min-height: 3rem;
	margin: 0;
	padding: 0.4rem 1rem 0.4rem 0.4rem;
	border-radius: 999px;
	border: 1px solid var(--wp--preset--color--border, #e5e7eb);
	background-color: var(--wp--preset--color--background, #fff);
	background-image: linear-gradient(135deg, color-mix(in srgb, var(--wp--preset--color--primary, #0b132b) 4%, transparent), transparent 62%);
	background-repeat: no-repeat;
	color: var(--wp--preset--color--text, #111);
	text-decoration: none;
	font-weight: 700;
	font-size: 0.95rem;
	line-height: 1;
	box-shadow: var(--hz-shadow-sm);
	transition: transform 160ms var(--hz-ease-out), box-shadow 180ms var(--hz-ease-out), border-color 160ms ease;
}

.hz-games-nav__link:active {
	transform: scale(var(--hz-press));
}

@media (hover: hover) and (pointer: fine) {
	.hz-games-nav__link:hover {
		transform: translateY(-2px);
		box-shadow: var(--hz-shadow-md);
	}
}

.hz-games-nav__icon {
	display: block;
	flex: 0 0 1.85rem;
	width: 1.85rem;
	height: 1.85rem;
	margin: 0;
	padding: 0;
	border-radius: 50%;
	background-color: var(--wp--preset--color--primary, #0b132b);
	background-image: url("../images/icons/icon-catalog.svg");
	background-position: center;
	background-repeat: no-repeat;
	background-size: 62%;
}

.hz-games-nav__label {
	display: inline-block;
	margin: 0;
	padding: 0;
	line-height: 1;
}

.hz-games-nav__link--pokemon .hz-games-nav__icon {
	background-color: #f4c430;
	background-image: url("../images/icons/game-pokemon.svg");
	background-size: 78%;
}

.hz-games-nav__link--mitos-y-leyendas .hz-games-nav__icon {
	background-color: #3a1d12;
	background-image: url("../images/icons/game-myl.svg");
	background-size: 86%;
}

.hz-games-nav__link--all .hz-games-nav__icon {
	background-color: var(--wp--preset--color--accent, #e63946);
	background-image: url("../images/icons/icon-catalog.svg");
	background-size: 62%;
}

.hz-games-nav__link--all,
.hz-games-nav__link:hover,
.hz-games-nav__link.is-active {
	border-color: var(--wp--preset--color--accent, #e63946);
}

.hz-games-nav__link.is-active {
	box-shadow: 0 0 0 1px var(--wp--preset--color--accent, #e63946);
}

.hz-feature-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.hz-feature {
	background: var(--wp--preset--color--background, #fff);
	border: 1px solid transparent;
	border-radius: var(--hz-radius-lg);
	padding: 1.25rem;
	box-shadow: var(--hz-ring), var(--hz-shadow-sm);
	height: 100%;
	transition: transform 180ms var(--hz-ease-out), box-shadow 200ms var(--hz-ease-out);
}

@media (hover: hover) and (pointer: fine) {
	.hz-feature:hover {
		transform: translateY(-3px);
		box-shadow: var(--hz-ring), var(--hz-shadow-md);
	}
}

.hz-feature__icon {
	display: block;
	width: 2.5rem;
	height: 2.5rem;
	margin: 0 0 1rem;
	padding: 0;
	border-radius: 0.65rem;
	background-color: color-mix(in srgb, var(--wp--preset--color--primary, #0b132b) 84%, #fff);
	background-position: center;
	background-repeat: no-repeat;
	background-size: 54%;
}

.hz-feature--catalog .hz-feature__icon {
	background-color: color-mix(in srgb, var(--wp--preset--color--primary, #0b132b) 84%, #fff);
	background-image: url("../images/icons/icon-singles.svg");
}

.hz-feature--commerce .hz-feature__icon {
	background-color: color-mix(in srgb, var(--wp--preset--color--accent, #e63946) 84%, #000);
	background-image: url("../images/icons/icon-spark.svg");
}

.hz-feature--games .hz-feature__icon {
	background-color: var(--wp--preset--color--secondary, #1c2541);
	background-image: url("../images/icons/icon-sealed.svg");
}

.hz-feature h3 {
	margin: 0 0 0.45rem;
	font-size: 1.1rem;
	letter-spacing: -0.02em;
}

.hz-feature p {
	margin: 0;
	color: var(--wp--preset--color--muted, #6b7280);
	font-size: 0.95rem;
	line-height: 1.5;
}

/* -------------------------------------------------------------------------- */
/* Card grid — scoped reset (wpautop / theme.json / content-box)              */
/* -------------------------------------------------------------------------- */

.hz-card-tile,
.hz-card-tile *,
.hz-card-tile *::before,
.hz-card-tile *::after {
	box-sizing: border-box;
}

.hz-card-grid {
	display: grid;
	gap: 1.25rem 1rem;
	grid-template-columns: repeat(auto-fill, minmax(11.25rem, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
	align-items: start;
}

.hz-card-tile {
	display: block;
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
	max-width: 15.5rem;
	justify-self: center;
	line-height: 1.25;
}

.hz-card-tile__link,
.hz-card-tile__link:hover,
.hz-card-tile__link:focus,
.hz-card-tile__link:visited {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	justify-content: flex-start;
	gap: 0;
	height: auto;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 1px solid var(--wp--preset--color--border, #e5e7eb);
	border-radius: var(--hz-radius-md);
	overflow: hidden;
	background: var(--wp--preset--color--background, #fff);
	color: inherit;
	text-decoration: none;
	line-height: 0;
	box-shadow: var(--hz-shadow-sm);
	transition: transform 180ms var(--hz-ease-out), box-shadow 200ms var(--hz-ease-out), border-color 160ms ease;
}

.hz-card-tile__link > p,
.hz-card-tile__link > br,
.hz-card-tile__media > p,
.hz-card-tile__media > br {
	display: none !important;
	margin: 0 !important;
	padding: 0 !important;
	height: 0 !important;
	line-height: 0 !important;
}

.hz-card-tile__link:active {
	transform: scale(0.985);
}

@media (hover: hover) and (pointer: fine) {
	.hz-card-tile__link:hover {
		transform: translateY(-4px);
		box-shadow: var(--hz-shadow-md);
		border-color: color-mix(in srgb, var(--wp--preset--color--primary, #0b132b) 12%, transparent);
	}
}

.hz-card-tile__media {
	display: block;
	position: relative;
	width: 100%;
	aspect-ratio: 63 / 88;
	margin: 0;
	padding: 0;
	background: #0f1524;
	overflow: hidden;
	line-height: 0;
	flex: 0 0 auto;
}

.hz-card-tile__image,
.hz-card-tile__placeholder {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	border: 0;
	display: block;
	object-fit: cover;
	object-position: center center;
}

.hz-card-tile__placeholder {
	background:
		url("../images/card-placeholder.svg") center / cover no-repeat,
		linear-gradient(160deg, var(--wp--preset--color--secondary, #1c2541) 0%, var(--wp--preset--color--primary, #0b132b) 100%);
}

.hz-card-tile__body {
	display: grid;
	gap: 0.15rem;
	margin: 0;
	padding: 0.55rem 0.7rem 0.65rem;
	line-height: 1.25;
	flex: 0 0 auto;
}

.hz-card-tile__title,
.hz-card-tile__meta,
.hz-card-tile__price,
.hz-price-from,
.hz-price-na {
	display: block;
	margin: 0;
	padding: 0;
	line-height: 1.25;
}

.hz-card-tile__title {
	font-size: 0.95rem;
	font-weight: 700;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hz-card-tile__meta,
.hz-price-from,
.hz-price-na {
	color: var(--wp--preset--color--muted, #6b7280);
	font-size: 0.75rem;
}

.hz-card-tile__price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.3rem;
	font-weight: 700;
	font-size: 0.9rem;
}

.hz-card-tile__price .woocommerce-Price-amount {
	font-weight: 700;
	line-height: 1.25;
}

.hz-card-tile__body .hz-badge {
	justify-self: start;
	margin-top: 0.2rem;
}

.hz-badge {
	display: inline-grid;
	place-items: center;
	box-sizing: border-box;
	margin: 0;
	height: 1.375rem;
	min-height: 1.375rem;
	padding: 0 0.5rem;
	border: 0;
	border-radius: 999px;
	font-family: var(--wp--preset--font-family--body, inherit);
	font-size: 0.625rem;
	font-weight: 700;
	font-style: normal;
	letter-spacing: 0.04em;
	line-height: 1 !important;
	text-transform: uppercase;
	text-align: center;
	vertical-align: middle;
	white-space: nowrap;
	position: static;
	width: auto;
	max-width: none;
	box-shadow: none;
}

.hz-badge.is-in-stock {
	background: #ecfdf5;
	color: #047857;
}

.hz-badge.is-out {
	background: #f3f4f6;
	color: #4b5563;
}

.hz-badge--sale {
	background: var(--wp--preset--color--accent, #e63946);
	color: #fff;
}

.hz-badge--overlay {
	position: absolute;
	top: 8px;
	left: 8px;
	z-index: 2;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.hz-badge--overlay.hz-badge--sale {
	left: auto;
	right: 8px;
}

.hz-badge--overlay.hz-badge--stock {
	top: auto;
	bottom: 8px;
	left: 8px;
}

.hz-price--sale {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.4rem;
}

.hz-price--sale del {
	color: var(--wp--preset--color--muted, #6b7280);
	font-weight: 600;
	font-size: 0.85em;
	text-decoration: line-through;
}

.hz-price--sale ins {
	text-decoration: none;
	color: var(--wp--preset--color--accent, #e63946);
	font-weight: 800;
}

.hz-buy-box__offer {
	margin: 0.35rem 0 0;
}

.hz-buy-box__price .hz-price--sale {
	font-size: inherit;
}

.hz-buy-box__price .hz-price--sale del {
	font-size: 0.7em;
}

/* -------------------------------------------------------------------------- */
/* Card PDP + buy box                                                         */
/* -------------------------------------------------------------------------- */

.hz-card-pdp {
	display: grid;
	gap: 2rem;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	align-items: start;
}

.hz-card-pdp__info > .wp-block-post-title,
.hz-card-pdp__info h1 {
	margin: 0 0 0.4rem;
	padding: 0;
	overflow-wrap: anywhere;
}

.hz-card-pdp__info .wp-block-post-excerpt,
.hz-card-pdp__info .wp-block-post-content {
	margin: 0 0 0.75rem;
	min-width: 0;
	overflow-wrap: anywhere;
}

.hz-card-pdp__info .wp-block-post-content .wp-block-gallery,
.hz-card-pdp__info .wp-block-post-content .woocommerce-product-gallery {
	max-width: 100%;
}

.hz-card-meta-block {
	display: grid;
	gap: 0.4rem;
	margin: 0 0 1rem;
}

.hz-card-meta-block__line {
	margin: 0;
	padding: 0;
	color: var(--wp--preset--color--muted, #667085);
	font-size: 0.92rem;
	line-height: 1.35;
}

.hz-card-meta-block__price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 0.35rem;
	margin: 0;
	padding: 0;
	font-family: var(--wp--preset--font-family--display, inherit);
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.2;
}

.hz-card-meta-block__price .hz-price-from,
.hz-card-meta-block__price .hz-price-na {
	font-size: 0.78rem;
	font-weight: 600;
}

.hz-card-meta-block__badges {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem;
	margin: 0.15rem 0 0;
	line-height: 1;
}

.hz-card-meta-block__badges .hz-badge {
	position: static;
	inset: auto;
	margin: 0;
	transform: none;
	box-shadow: none;
	/* Keep optical center: body line-height must not leak in. */
	line-height: 1 !important;
}

.hz-card-pdp__info .hz-tcg-buy-box {
	margin-top: 0.75rem;
}

.hz-card-pdp__media {
	max-width: 26rem;
	margin: 0;
	padding: 0;
	min-width: 0;
}

.hz-card-pdp__media img,
.hz-card-pdp__media .wp-block-post-featured-image img,
.hz-card-gallery__main {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
}

.hz-card-gallery {
	display: grid;
	gap: 0.65rem;
	width: 100%;
}

.hz-card-gallery__stage {
	margin: 0;
	padding: 0;
	border-radius: 0.75rem;
	overflow: hidden;
	background: color-mix(in srgb, var(--wp--preset--color--primary, #0b132b) 4%, transparent);
}

.hz-card-gallery__main {
	border-radius: 0.75rem;
	object-fit: contain;
}

.hz-card-gallery__thumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hz-card-gallery__thumb {
	display: block;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 0.45rem;
	background: transparent;
	cursor: pointer;
	overflow: hidden;
	line-height: 0;
	transition: border-color 160ms ease, opacity 160ms ease;
}

.hz-card-gallery__thumb img {
	display: block;
	width: 3.25rem;
	height: 4.5rem;
	object-fit: cover;
}

.hz-card-gallery__thumb.is-active {
	border-color: var(--wp--preset--color--accent, #e63946);
}

@media (hover: hover) and (pointer: fine) {
	.hz-card-gallery__thumb:hover {
		opacity: 0.85;
	}
}

/* --- PDP layout presets (body.hz-pdp-{classic|stacked|gallery}) --- */
body.hz-pdp-stacked .hz-card-pdp {
	grid-template-columns: 1fr;
	justify-items: center;
}

body.hz-pdp-stacked .hz-card-pdp__media {
	max-width: min(28rem, 100%);
	width: 100%;
}

body.hz-pdp-stacked .hz-card-pdp__info {
	width: 100%;
	max-width: 42rem;
	justify-self: stretch;
}

body.hz-pdp-gallery .hz-card-pdp {
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr);
}

body.hz-pdp-gallery .hz-card-pdp__media {
	max-width: none;
}

body.hz-pdp-gallery .hz-card-pdp__info .wp-block-post-content .wp-block-gallery {
	margin-top: 0.75rem;
}

@media (max-width: 860px) {
	.hz-card-pdp,
	body.hz-pdp-gallery .hz-card-pdp,
	body.hz-pdp-stacked .hz-card-pdp {
		grid-template-columns: 1fr;
		justify-items: stretch;
	}

	.hz-card-pdp__media,
	body.hz-pdp-stacked .hz-card-pdp__media,
	body.hz-pdp-gallery .hz-card-pdp__media {
		max-width: min(26rem, 100%);
		margin-inline: auto;
	}

	body.hz-pdp-stacked .hz-card-pdp__info {
		max-width: none;
	}
}

.hz-card-tilt {
	--hz-tilt-rx: 0deg;
	--hz-tilt-ry: 0deg;
	--hz-tilt-x: 50%;
	--hz-tilt-y: 50%;
	position: relative;
	perspective: 900px;
	perspective-origin: 50% 45%;
	transform-style: preserve-3d;
}

.hz-card-tilt__stage {
	position: relative;
	display: block;
	width: 100%;
	border-radius: 0.7rem;
	transform-style: preserve-3d;
	transform: rotateX(var(--hz-tilt-rx)) rotateY(var(--hz-tilt-ry));
	transition: transform 420ms var(--hz-ease-out);
	will-change: transform;
}

.hz-card-tilt.is-tilting .hz-card-tilt__stage {
	transition: transform 70ms linear;
}

.hz-card-tilt__glare {
	position: absolute;
	inset: 0;
	z-index: 2;
	border-radius: inherit;
	pointer-events: none;
	opacity: 0;
	background: radial-gradient(
		circle at var(--hz-tilt-x) var(--hz-tilt-y),
		rgba(255, 255, 255, 0.42) 0%,
		rgba(255, 255, 255, 0.12) 28%,
		rgba(255, 255, 255, 0) 58%
	);
	mix-blend-mode: soft-light;
	transition: opacity 220ms var(--hz-ease-out);
}

.hz-card-tilt.is-tilting .hz-card-tilt__glare {
	opacity: 1;
	transition: opacity 80ms linear;
}

.hz-card-tilt--idle .hz-card-tilt__stage {
	animation: hz-card-tilt-idle 5.5s var(--hz-ease-in-out) infinite alternate;
}

@keyframes hz-card-tilt-idle {
	0% {
		transform: rotateX(3deg) rotateY(-5deg) translateY(0);
	}
	100% {
		transform: rotateX(-3deg) rotateY(5deg) translateY(-4px);
	}
}

@media (prefers-reduced-motion: reduce) {
	.hz-card-tilt--idle .hz-card-tilt__stage,
	.hz-card-tilt.is-tilting .hz-card-tilt__stage {
		animation: none;
		transform: none;
		transition: none;
	}

	.hz-card-tilt__glare {
		display: none;
	}
}

.hz-card-pdp__media .wp-block-post-featured-image {
	margin: 0;
	overflow: hidden;
	border-radius: 0.7rem;
	border: 1px solid var(--wp--preset--color--border, #e5e7eb);
	aspect-ratio: auto !important;
	background: var(--wp--preset--color--surface, #f5f5f7);
	line-height: 0;
	box-shadow:
		0 18px 40px color-mix(in srgb, var(--wp--preset--color--primary, #0b132b) 16%, transparent),
		0 2px 0 rgba(255, 255, 255, 0.35) inset;
	transform: translateZ(0);
}

.hz-card-pdp__media img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	object-fit: contain;
	object-position: center;
	aspect-ratio: auto !important;
}

/* Product media must NOT inherit card `aspect-ratio: auto !important` */
.hz-product-pdp__media {
	max-width: 26rem;
	width: 100%;
	margin: 0;
	padding: 0;
}

.hz-product-pdp__media .wc-block-components-product-image,
.hz-product-pdp__media .wp-block-woocommerce-product-image {
	display: block;
	width: 100%;
	margin: 0;
	overflow: hidden;
	border-radius: 0.7rem;
	border: 1px solid var(--wp--preset--color--border, #e5e7eb);
	background: var(--wp--preset--color--surface, #f5f5f7);
	aspect-ratio: 1 / 1 !important;
	line-height: 0;
	box-shadow:
		0 18px 40px color-mix(in srgb, var(--wp--preset--color--primary, #0b132b) 16%, transparent),
		0 2px 0 rgba(255, 255, 255, 0.35) inset;
}

.hz-product-pdp__media .wc-block-components-product-image a,
.hz-product-pdp__media .wp-block-woocommerce-product-image a {
	display: block;
	width: 100%;
	height: 100%;
}

.hz-product-pdp__media img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	object-fit: contain !important;
	object-position: center;
	aspect-ratio: unset !important;
}

.hz-related-section {
	margin-top: 2.5rem;
	padding-top: 0.25rem;
}

.hz-card-pdp__placeholder {
	aspect-ratio: 5 / 7;
	display: grid;
	place-items: center;
	background: var(--wp--preset--color--surface, #f5f5f7);
	border-radius: 0.75rem;
	color: var(--wp--preset--color--muted, #6b7280);
}

.hz-tcg-buy-box {
	margin-top: 1.5rem;
	padding: 1.25rem;
	border: 1px solid var(--wp--preset--color--border, #e5e7eb);
	border-radius: 0.75rem;
	background: var(--wp--preset--color--surface, #f5f5f7);
}

/* --- buy box surface presets --- */
body.hz-buybox-minimal .hz-tcg-buy-box {
	padding: 1rem 0 0;
	border: 0;
	border-top: 1px solid var(--wp--preset--color--border, #e5e7eb);
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

body.hz-buybox-emphasis .hz-tcg-buy-box {
	border-color: color-mix(in srgb, var(--wp--preset--color--accent, #e63946) 45%, var(--wp--preset--color--border, #e5e7eb));
	background: color-mix(in srgb, var(--wp--preset--color--accent, #e63946) 6%, var(--wp--preset--color--surface, #f5f5f7));
	box-shadow: 0 10px 28px color-mix(in srgb, var(--wp--preset--color--primary, #0b132b) 10%, transparent);
}

.hz-buy-box__title {
	margin: 0 0 1rem;
	font-size: 1.2rem;
}

.hz-buy-box__fields {
	display: grid;
	gap: 0.75rem;
	grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
	margin-bottom: 1rem;
}

.hz-buy-box__fields label,
.hz-buy-box__qty {
	display: grid;
	gap: 0.35rem;
	font-weight: 600;
	font-size: 0.85rem;
}

.hz-buy-box__fields select,
.hz-buy-box__qty input {
	padding: 0.55rem 0.65rem;
	border-radius: 0.4rem;
	border: 1px solid var(--wp--preset--color--border, #e5e7eb);
	background: #fff;
}

.hz-buy-box__price {
	margin: 0;
	font-size: 1.5rem;
	font-weight: 800;
}

.hz-buy-box__stock {
	margin: 0.25rem 0 1rem;
	color: var(--wp--preset--color--muted, #6b7280);
}

.hz-buy-box__form {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	align-items: end;
}

.hz-buy-box__unavailable {
	color: #b91c1c;
	font-weight: 600;
}

.hz-archive-header {
	padding: 2rem 0 1rem;
}

.hz-empty {
	color: var(--wp--preset--color--muted, #6b7280);
}

/* -------------------------------------------------------------------------- */
/* Unified search results                                                     */
/* -------------------------------------------------------------------------- */

.hz-search-results {
	display: grid;
	gap: 1.5rem;
}

.hz-search-results__header {
	display: grid;
	gap: 0.65rem;
}

.hz-search-results__query {
	margin: 0;
	font-family: var(--wp--preset--font-family--display, inherit);
	font-size: clamp(1.65rem, 2.4vw, 2.15rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.15;
}

.hz-search-results__count {
	margin: 0;
	color: var(--wp--preset--color--muted, #667085);
	font-size: 0.95rem;
}

.hz-search-results__scopes {
	margin-top: 0.35rem;
}

.hz-search-results__scope-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.hz-search-results__scope {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	min-height: 2.25rem;
	padding: 0.35rem 0.85rem;
	border: 1px solid var(--wp--preset--color--border, #e5e7eb);
	border-radius: 999px;
	background: #fff;
	color: var(--wp--preset--color--text, #0b132b);
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	transition:
		transform 140ms var(--hz-ease-out, cubic-bezier(0.23, 1, 0.32, 1)),
		border-color 160ms ease,
		background-color 160ms ease,
		color 160ms ease;
}

.hz-search-results__scope:hover,
.hz-search-results__scope:focus,
.hz-search-results__scope:visited {
	color: var(--wp--preset--color--text, #0b132b);
	text-decoration: none;
}

.hz-search-results__scope:active {
	transform: scale(0.97);
}

.hz-search-results__scope.is-active {
	border-color: var(--wp--preset--color--primary, #0b132b);
	background: var(--wp--preset--color--primary, #0b132b);
	color: #fff;
}

.hz-search-results__scope.is-active:hover,
.hz-search-results__scope.is-active:focus,
.hz-search-results__scope.is-active:visited {
	color: #fff;
}

.hz-search-results__scope-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.35rem;
	padding: 0.12rem 0.35rem;
	border-radius: 999px;
	background: color-mix(in srgb, var(--wp--preset--color--primary, #0b132b) 8%, transparent);
	font-size: 0.75rem;
	font-weight: 700;
	line-height: 1;
}

.hz-search-results__scope.is-active .hz-search-results__scope-count {
	background: rgba(255, 255, 255, 0.18);
}

@media (hover: hover) and (pointer: fine) {
	.hz-search-results__scope:hover {
		border-color: color-mix(in srgb, var(--wp--preset--color--primary, #0b132b) 28%, transparent);
	}
}

.hz-search-results__grid {
	display: grid;
	gap: 1.15rem 1rem;
	grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.hz-search-tile {
	margin: 0;
	min-height: 100%;
}

.hz-search-tile__link,
.hz-search-tile__link:hover,
.hz-search-tile__link:focus,
.hz-search-tile__link:visited {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none;
	border-radius: 0.75rem;
	transition: transform 160ms var(--hz-ease-out, cubic-bezier(0.23, 1, 0.32, 1));
}

.hz-search-tile__link:active {
	transform: scale(0.97);
}

@media (hover: hover) and (pointer: fine) {
	.hz-search-tile__link:hover {
		transform: translateY(-3px);
	}
}

.hz-search-tile__media {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: 0.7rem;
	border: 1px solid var(--wp--preset--color--border, #e5e7eb);
	background: var(--wp--preset--color--surface, #f5f5f7);
	line-height: 0;
}

.hz-search-tile__image,
.hz-search-tile__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
}

.hz-search-tile__placeholder {
	background:
		linear-gradient(160deg, #e8edf4 0%, #f7f9fc 100%);
}

.hz-search-tile__kind {
	position: absolute;
	top: 0.55rem;
	left: 0.55rem;
	z-index: 1;
	padding: 0.28rem 0.5rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	color: var(--wp--preset--color--text, #0b132b);
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1;
	text-transform: uppercase;
	box-shadow: 0 1px 2px color-mix(in srgb, var(--wp--preset--color--primary, #0b132b) 8%, transparent);
}

.hz-search-tile__body {
	display: grid;
	gap: 0.25rem;
	padding: 0.7rem 0.15rem 0.2rem;
}

.hz-search-tile__title {
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.25;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hz-search-tile__meta {
	color: var(--wp--preset--color--muted, #667085);
	font-size: 0.8rem;
	line-height: 1.3;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hz-search-tile__price {
	font-weight: 700;
	line-height: 1.25;
}

.hz-search-tile__price .woocommerce-Price-amount {
	font-weight: 700;
}

.hz-search-tile .hz-badge:not(.hz-badge--overlay) {
	justify-self: start;
	margin-top: 0.15rem;
}

@media (prefers-reduced-motion: reduce) {
	.hz-search-results__scope,
	.hz-search-tile__link {
		transition: none;
	}

	.hz-search-results__scope:active,
	.hz-search-tile__link:active,
	.hz-search-tile__link:hover {
		transform: none;
	}
}

/* -------------------------------------------------------------------------- */
/* Shop doors / product grid / events                                         */
/* -------------------------------------------------------------------------- */

.hz-shop-nav,
.hz-shop-nav *,
.hz-shop-nav *::before,
.hz-shop-nav *::after {
	box-sizing: border-box;
}

.hz-shop-nav__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.hz-shop-nav__item {
	margin: 0;
	padding: 0;
	list-style: none;
	min-width: 0;
}

.hz-shop-nav__link,
.hz-shop-nav__link:hover,
.hz-shop-nav__link:focus,
.hz-shop-nav__link:visited {
	display: grid;
	grid-template-columns: auto 1fr auto;
	align-items: center;
	gap: 0.9rem;
	min-height: 7.5rem;
	margin: 0;
	padding: 1.25rem 1.3rem;
	border-radius: var(--hz-radius-lg);
	border: 0;
	background: linear-gradient(145deg, #ffffff 0%, #f7f9fc 100%);
	color: var(--wp--preset--color--text, #121826);
	text-decoration: none;
	box-shadow: var(--hz-shadow-sm);
	transition: transform 180ms var(--hz-ease-out), box-shadow 200ms var(--hz-ease-out);
}

.hz-shop-nav__link:active {
	transform: scale(0.985);
}

.hz-shop-nav__link:focus {
	outline: none;
}

.hz-shop-nav__link:focus-visible {
	outline: 2px solid var(--wp--preset--color--accent, #e63946);
	outline-offset: 3px;
}

.hz-shop-nav__link.is-active {
	box-shadow: var(--hz-shadow-md);
}

@media (hover: hover) and (pointer: fine) {
	.hz-shop-nav__link:hover {
		transform: translateY(-4px);
		box-shadow: var(--hz-shadow-lg);
	}
}

.hz-shop-nav__icon {
	display: block;
	flex: 0 0 auto;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 0.75rem;
	background-color: color-mix(in srgb, var(--wp--preset--color--primary, #0b132b) 84%, #fff);
	background-position: center;
	background-repeat: no-repeat;
	background-size: 54%;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.hz-shop-nav__link--singles .hz-shop-nav__icon {
	background-color: color-mix(in srgb, var(--wp--preset--color--primary, #0b132b) 84%, #fff);
	background-image: url("../images/icons/icon-singles.svg");
}

.hz-shop-nav__link--sealed .hz-shop-nav__icon {
	background-color: color-mix(in srgb, var(--wp--preset--color--accent, #e63946) 84%, #000);
	background-image: url("../images/icons/icon-sealed.svg");
}

.hz-shop-nav__link--accessories .hz-shop-nav__icon {
	background-color: var(--wp--preset--color--secondary, #1c2541);
	background-image: url("../images/icons/icon-accessories.svg");
}

.hz-shop-nav__copy {
	display: grid;
	gap: 0.3rem;
	min-width: 0;
}

.hz-shop-nav__label {
	display: block;
	font-family: var(--wp--preset--font-family--display, inherit);
	font-weight: 800;
	font-size: 1.15rem;
	letter-spacing: -0.025em;
	line-height: 1.15;
}

.hz-shop-nav__desc {
	display: block;
	color: var(--wp--preset--color--muted, #667085);
	font-size: 0.86rem;
	line-height: 1.4;
	font-weight: 500;
}

.hz-shop-nav__arrow {
	display: block;
	width: 1.1rem;
	height: 1.1rem;
	background-color: var(--wp--preset--color--muted, #667085);
	-webkit-mask: url("../images/icons/icon-arrow.svg") center / contain no-repeat;
	mask: url("../images/icons/icon-arrow.svg") center / contain no-repeat;
	opacity: 0.55;
	transition: transform 180ms var(--hz-ease-out), opacity 160ms ease, background-color 160ms ease;
}

@media (hover: hover) and (pointer: fine) {
	.hz-shop-nav__link:hover .hz-shop-nav__arrow {
		transform: translateX(3px);
		opacity: 1;
		background-color: var(--wp--preset--color--accent, #e63946);
	}
}

@media (max-width: 860px) {
	.hz-shop-nav__list {
		grid-template-columns: 1fr;
	}

	.hz-shop-nav__link {
		min-height: 5.5rem;
	}
}

.hz-product-grid {
	display: grid;
	gap: 1.15rem 1rem;
	grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.hz-product-tile {
	margin: 0;
	padding: 0;
	list-style: none;
}

.hz-product-tile__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--primary, #0b132b) 8%, transparent);
	border-radius: var(--hz-radius-md);
	overflow: hidden;
	background: #fff;
	text-decoration: none;
	color: inherit;
	box-shadow: var(--hz-shadow-sm);
	transition: transform 180ms var(--hz-ease-out), box-shadow 200ms var(--hz-ease-out);
}

.hz-product-tile__link:active {
	transform: scale(0.985);
}

@media (hover: hover) and (pointer: fine) {
	.hz-product-tile__link:hover {
		transform: translateY(-4px);
		box-shadow: var(--hz-shadow-md);
	}
}

.hz-product-tile__media {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	background:
		radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--wp--preset--color--accent, #e63946) 6%, transparent), transparent 45%),
		var(--wp--preset--color--surface, #f5f5f7);
	line-height: 0;
	overflow: hidden;
}

.hz-product-tile__img,
.hz-product-tile__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	margin: 0;
	padding: 0.75rem;
	background: transparent;
	transition: transform 220ms var(--hz-ease-out);
}

@media (hover: hover) and (pointer: fine) {
	.hz-product-tile__link:hover .hz-product-tile__img,
	.hz-product-tile__link:hover .hz-product-tile__media img {
		transform: scale(1.04);
	}
}

.hz-product-tile__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--wp--preset--color--secondary, #1c2541), var(--wp--preset--color--primary, #0b132b));
}

.hz-product-tile__body {
	display: grid;
	gap: 0.35rem;
	padding: 0.9rem 0.95rem 1.05rem;
}

.hz-product-tile__title {
	font-weight: 700;
	font-size: 0.95rem;
	line-height: 1.3;
	letter-spacing: -0.01em;
}

.hz-product-tile__price {
	font-family: var(--wp--preset--font-family--display, inherit);
	font-weight: 800;
	font-size: 1.02rem;
	letter-spacing: -0.02em;
}

/* -------------------------------------------------------------------------
   Tile style presets (body.hz-tile-{framed|bare|poster})
   framed = baseline styles above; bare/poster override.
--------------------------------------------------------------------------- */

/* --- bare: no container --- */
body.hz-tile-bare .hz-card-tile__link,
body.hz-tile-bare .hz-product-tile__link {
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

body.hz-tile-bare .hz-card-tile__media,
body.hz-tile-bare .hz-product-tile__media {
	border-radius: var(--hz-radius-sm, 0.45rem);
	overflow: hidden;
}

body.hz-tile-bare .hz-card-tile__body,
body.hz-tile-bare .hz-product-tile__body {
	padding-left: 0;
	padding-right: 0;
	padding-bottom: 0;
	padding-top: 0.55rem;
}

@media (hover: hover) and (pointer: fine) {
	body.hz-tile-bare .hz-card-tile__link:hover,
	body.hz-tile-bare .hz-product-tile__link:hover {
		transform: none;
		box-shadow: none;
		border-color: transparent;
	}

	body.hz-tile-bare .hz-card-tile__link:hover .hz-card-tile__media,
	body.hz-tile-bare .hz-product-tile__link:hover .hz-product-tile__media {
		transform: translateY(-3px);
	}
}

body.hz-tile-bare .hz-card-tile__media,
body.hz-tile-bare .hz-product-tile__media {
	transition: transform 180ms var(--hz-ease-out, cubic-bezier(0.23, 1, 0.32, 1));
}

body.hz-tile-bare .hz-card-tile__link:active,
body.hz-tile-bare .hz-product-tile__link:active {
	transform: none;
}

body.hz-tile-bare .hz-card-tile__link:active .hz-card-tile__media,
body.hz-tile-bare .hz-product-tile__link:active .hz-product-tile__media {
	transform: scale(0.985);
}

/* --- poster: text over image scrim --- */
body.hz-tile-poster .hz-card-tile__link,
body.hz-tile-poster .hz-product-tile__link {
	position: relative;
	border: 0;
	border-radius: var(--hz-radius-md, 0.75rem);
	background: transparent;
	box-shadow: none;
	overflow: hidden;
}

body.hz-tile-poster .hz-card-tile__media,
body.hz-tile-poster .hz-product-tile__media {
	border-radius: 0;
}

body.hz-tile-poster .hz-card-tile__body,
body.hz-tile-poster .hz-product-tile__body {
	position: absolute;
	inset: auto 0 0;
	z-index: 2;
	gap: 0.2rem;
	padding: 2.25rem 0.75rem 0.7rem;
	background: linear-gradient(
		180deg,
		transparent 0%,
		color-mix(in srgb, var(--wp--preset--color--primary, #0b132b) 55%, transparent) 38%,
		color-mix(in srgb, var(--wp--preset--color--primary, #0b132b) 88%, transparent) 100%
	);
	color: #fff;
}

body.hz-tile-poster .hz-card-tile__title,
body.hz-tile-poster .hz-product-tile__title,
body.hz-tile-poster .hz-card-tile__meta,
body.hz-tile-poster .hz-card-tile__price,
body.hz-tile-poster .hz-product-tile__price,
body.hz-tile-poster .hz-card-tile__price .hz-price-from,
body.hz-tile-poster .hz-card-tile__price .hz-price-na,
body.hz-tile-poster .hz-product-tile__price .hz-price-from,
body.hz-tile-poster .hz-product-tile__price .hz-price-na,
body.hz-tile-poster .hz-card-tile__price del,
body.hz-tile-poster .hz-card-tile__price ins,
body.hz-tile-poster .hz-product-tile__price .woocommerce-Price-amount {
	color: #fff;
}

body.hz-tile-poster .hz-card-tile__meta {
	opacity: 0.82;
}

body.hz-tile-poster .hz-card-tile__price del,
body.hz-tile-poster .hz-product-tile__price del {
	opacity: 0.7;
}

body.hz-tile-poster .hz-card-tile__body .hz-badge,
body.hz-tile-poster .hz-product-tile__body .hz-badge {
	justify-self: start;
	margin-top: 0.15rem;
	border: 0;
	background: rgba(255, 255, 255, 0.16);
	color: #fff;
}

body.hz-tile-poster .hz-card-tile__body .hz-badge.is-out,
body.hz-tile-poster .hz-product-tile__body .hz-badge.is-out {
	background: color-mix(in srgb, var(--wp--preset--color--accent, #e63946) 85%, transparent);
}

@media (hover: hover) and (pointer: fine) {
	body.hz-tile-poster .hz-card-tile__link:hover,
	body.hz-tile-poster .hz-product-tile__link:hover {
		transform: translateY(-3px);
		box-shadow: var(--hz-shadow-md);
		border-color: transparent;
	}
}

body.hz-tile-poster .hz-card-tile__link:active,
body.hz-tile-poster .hz-product-tile__link:active {
	transform: scale(0.985);
}

@media (prefers-reduced-motion: reduce) {
	body.hz-tile-bare .hz-card-tile__media,
	body.hz-tile-bare .hz-product-tile__media,
	body.hz-tile-bare .hz-card-tile__link:hover .hz-card-tile__media,
	body.hz-tile-bare .hz-product-tile__link:hover .hz-product-tile__media,
	body.hz-tile-poster .hz-card-tile__link:hover,
	body.hz-tile-poster .hz-product-tile__link:hover,
	body.hz-tile-framed .hz-card-tile__link:hover,
	.hz-card-tile__link:hover,
	.hz-product-tile__link:hover {
		transform: none !important;
	}
}

.hz-events-list {
	display: grid;
	gap: 0.85rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.hz-event-card {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.85rem 1.15rem;
	padding: 1rem 1.15rem;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--primary, #0b132b) 8%, transparent);
	border-radius: var(--hz-radius-md);
	background: var(--wp--preset--color--background, #fff);
	box-shadow: var(--hz-shadow-sm);
	transition: transform 180ms var(--hz-ease-out), box-shadow 200ms var(--hz-ease-out);
}

.hz-event-card.is-past {
	opacity: 0.72;
	background: color-mix(in srgb, var(--wp--preset--color--background, #fff) 88%, #94a3b8);
}

@media (hover: hover) and (pointer: fine) {
	.hz-event-card:hover {
		transform: translateY(-2px);
		box-shadow: var(--hz-shadow-md);
	}

	.hz-event-card.is-past:hover {
		transform: none;
		box-shadow: var(--hz-shadow-sm);
	}
}

.hz-event-card__date {
	display: grid;
	place-items: center;
	flex: 0 0 3.5rem;
	width: 3.5rem;
	padding: 0.55rem 0.35rem;
	border-radius: 0.65rem;
	background: linear-gradient(160deg, color-mix(in srgb, var(--wp--preset--color--primary, #0b132b) 84%, #fff), var(--wp--preset--color--primary, #0b132b));
	color: #fff;
	text-align: center;
	line-height: 1;
}

.hz-event-card.is-past .hz-event-card__date {
	background: linear-gradient(160deg, #64748b, #475569);
}

.hz-event-card__day {
	display: block;
	font-family: var(--wp--preset--font-family--display, inherit);
	font-size: 1.35rem;
	font-weight: 800;
	letter-spacing: -0.03em;
}

.hz-event-card__month {
	display: block;
	margin-top: 0.2rem;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.75;
}

.hz-event-card__link {
	display: grid;
	gap: 0.3rem;
	flex: 1 1 14rem;
	text-decoration: none;
	color: inherit;
	min-width: 0;
}

.hz-event-card__badges {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem;
}

.hz-event-card__badge {
	display: inline-flex;
	width: fit-content;
	padding: 0.2rem 0.55rem;
	border-radius: 999px;
	background: color-mix(in srgb, var(--wp--preset--color--accent, #e63946) 10%, transparent);
	color: var(--wp--preset--color--accent, #e63946);
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	line-height: 1;
}

.hz-event-card__badge--status {
	background: color-mix(in srgb, var(--wp--preset--color--primary, #0b132b) 8%, transparent);
	color: var(--wp--preset--color--muted, #6b7280);
}

.hz-event-card.is-past .hz-event-card__badge--status {
	background: rgba(100, 116, 139, 0.18);
	color: #475569;
}

.hz-event-card__title {
	font-family: var(--wp--preset--font-family--display, inherit);
	font-weight: 800;
	font-size: 1.08rem;
	letter-spacing: -0.02em;
	line-height: 1.25;
}

.hz-event-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.85rem;
	color: var(--wp--preset--color--muted, #6b7280);
	font-size: 0.88rem;
}

.hz-event-card__when,
.hz-event-card__place,
.hz-event-card__game {
	color: inherit;
}

.hz-event-card__cta {
	flex: 0 0 auto;
}

/* --- event card surface presets --- */
body.hz-events-bare .hz-event-card {
	border: 0;
	border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--primary, #0b132b) 8%, transparent);
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	padding: 0.85rem 0;
}

body.hz-events-bare .hz-event-card.is-past {
	background: transparent;
}

@media (hover: hover) and (pointer: fine) {
	body.hz-events-bare .hz-event-card:hover {
		transform: none;
		box-shadow: none;
	}
}

body.hz-events-compact .hz-event-card {
	padding: 0.7rem 0.85rem;
	gap: 0.55rem 0.75rem;
}

body.hz-events-compact .hz-event-card__date {
	flex-basis: 2.85rem;
	width: 2.85rem;
	padding: 0.4rem 0.25rem;
}

body.hz-events-compact .hz-event-card__day {
	font-size: 1.1rem;
}

body.hz-events-compact .hz-event-card__title {
	font-size: 0.98rem;
}

body.hz-events-compact .hz-event-card__meta {
	font-size: 0.8rem;
	gap: 0.25rem 0.55rem;
}

.hz-event-meta {
	display: grid;
	gap: 0.45rem;
	margin: 0.75rem 0 1.25rem;
}

.hz-event-meta p {
	margin: 0;
}

/* -------------------------------------------------------------------------- */
/* Breadcrumbs (shared)                                                       */
/* -------------------------------------------------------------------------- */

.hz-crumb {
	margin: 0 0 1.15rem;
}

.hz-crumb__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.2rem;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--wp--preset--color--muted, #6b7280);
	font-size: 0.82rem;
	font-weight: 600;
}

.hz-crumb__item {
	display: inline-flex;
	align-items: center;
	min-width: 0;
	max-width: 100%;
}

.hz-crumb__item:not(:last-child)::after {
	content: "/";
	margin-left: 0.45rem;
	opacity: 0.45;
}

.hz-crumb__item[aria-current="page"] {
	color: var(--wp--preset--color--primary, #0b132b);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hz-crumb__link {
	color: inherit;
	text-decoration: none;
	transition: color 160ms ease;
}

@media (hover: hover) and (pointer: fine) {
	.hz-crumb__link:hover {
		color: var(--wp--preset--color--accent, #e63946);
	}
}

/* -------------------------------------------------------------------------- */
/* Event detail                                                               */
/* -------------------------------------------------------------------------- */

.hz-event-pdp {
	display: grid;
	gap: 0;
}

.hz-event-pdp__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(17.5rem, 20.5rem);
	gap: 1.75rem 2rem;
	align-items: start;
}

.hz-event-pdp__main {
	min-width: 0;
}

.hz-event-pdp__hero {
	margin: 0 0 1.25rem;
}

.hz-event-pdp__kicker {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.45rem 0.55rem;
	margin: 0 0 0.75rem;
}

.hz-event-pdp__chip,
.hz-event-pdp__status {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	padding: 0.22rem 0.58rem;
	border-radius: 999px;
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	line-height: 1;
	text-decoration: none;
}

.hz-event-pdp__chip {
	background: color-mix(in srgb, var(--wp--preset--color--primary, #0b132b) 6%, transparent);
	color: var(--wp--preset--color--primary, #0b132b);
	transition: background-color 160ms ease, color 160ms ease;
}

@media (hover: hover) and (pointer: fine) {
	a.hz-event-pdp__chip:hover {
		background: color-mix(in srgb, var(--wp--preset--color--accent, #e63946) 10%, transparent);
		color: var(--wp--preset--color--accent, #e63946);
	}
}

.hz-event-pdp__status {
	background: color-mix(in srgb, var(--wp--preset--color--primary, #0b132b) 8%, transparent);
	color: var(--wp--preset--color--primary, #0b132b);
}

.hz-event-pdp__status--soon,
.hz-event-pdp__status--today {
	background: color-mix(in srgb, var(--wp--preset--color--accent, #e63946) 10%, transparent);
	color: var(--wp--preset--color--accent, #e63946);
}

.hz-event-pdp__status--today::before,
.hz-event-pdp__status--soon::before {
	content: "";
	width: 0.42rem;
	height: 0.42rem;
	margin-right: 0.35rem;
	border-radius: 999px;
	background: currentColor;
}

.hz-event-pdp__title {
	margin: 0 0 0.45rem;
	padding: 0;
	font-family: var(--wp--preset--font-family--display, inherit);
	font-size: clamp(2rem, 4vw, 2.75rem);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.12;
}

.hz-event-pdp__lede {
	margin: 0;
	color: var(--wp--preset--color--muted, #6b7280);
	font-size: 1.02rem;
	line-height: 1.45;
}

.hz-event-pdp__facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.7rem;
	margin: 0 0 1.5rem;
}

.hz-event-pdp__fact {
	margin: 0;
	padding: 0.85rem 0.95rem 0.9rem;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--primary, #0b132b) 8%, transparent);
	border-radius: var(--hz-radius-md);
	background: var(--wp--preset--color--surface, #f5f5f7);
	box-shadow: none;
}

.hz-event-pdp__fact p {
	display: none;
}

.hz-event-pdp__fact dt {
	margin: 0 0 0.35rem;
	color: var(--wp--preset--color--muted, #6b7280);
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.hz-event-pdp__fact dd {
	margin: 0;
	font-family: var(--wp--preset--font-family--display, inherit);
	font-size: 1.05rem;
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.25;
}

.hz-event-pdp__fact dd a {
	color: inherit;
	text-decoration: none;
	transition: color 160ms ease;
}

@media (hover: hover) and (pointer: fine) {
	.hz-event-pdp__fact dd a:hover {
		color: var(--wp--preset--color--accent, #e63946);
	}
}

.hz-event-pdp__fact-sub {
	margin-top: 0.2rem !important;
	color: var(--wp--preset--color--muted, #6b7280);
	font-family: inherit !important;
	font-size: 0.82rem !important;
	font-weight: 600 !important;
	letter-spacing: 0 !important;
}

.hz-event-pdp__media {
	margin: 0 0 1.5rem;
	overflow: hidden;
	border-radius: var(--hz-radius-lg);
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--primary, #0b132b) 8%, transparent);
	background: var(--wp--preset--color--surface, #f5f5f7);
	line-height: 0;
}

.hz-event-pdp__media img {
	display: block;
	width: 100%;
	height: auto;
}

.hz-event-pdp__body {
	margin: 0;
}

.hz-event-pdp__body-title {
	margin: 0 0 0.7rem;
	font-family: var(--wp--preset--font-family--display, inherit);
	font-size: 1.2rem;
	font-weight: 800;
	letter-spacing: -0.025em;
	line-height: 1.2;
}

.hz-event-pdp__content {
	color: var(--wp--preset--color--foreground, #111827);
	font-size: 1.02rem;
	line-height: 1.65;
}

.hz-event-pdp__content > *:first-child {
	margin-top: 0;
}

.hz-event-pdp__content > *:last-child {
	margin-bottom: 0;
}

.hz-event-pdp__aside {
	min-width: 0;
}

.hz-event-pdp__panel {
	display: grid;
	gap: 0.85rem;
	padding: 1.15rem 1.15rem 1.2rem;
	border-radius: var(--hz-radius-lg);
	background:
		radial-gradient(ellipse 80% 60% at 100% 0%, color-mix(in srgb, var(--wp--preset--color--accent, #e63946) 22%, transparent), transparent 55%),
		linear-gradient(160deg, color-mix(in srgb, var(--wp--preset--color--primary, #0b132b) 84%, #fff), var(--wp--preset--color--primary, #0b132b));
	color: #fff;
	box-shadow: var(--hz-shadow-lg);
}

.hz-event-pdp__panel-head {
	display: flex;
	align-items: center;
	gap: 0.85rem;
}

.hz-event-pdp__panel-copy {
	min-width: 0;
}

.hz-event-pdp__panel p:empty {
	display: none;
}

.hz-event-pdp__cal {
	display: grid;
	place-items: center;
	flex: 0 0 4.1rem;
	min-width: 4.1rem;
	padding: 0.6rem 0.7rem 0.65rem;
	border-radius: 0.7rem;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	text-align: center;
	line-height: 1;
}

.hz-event-pdp__cal-day {
	font-family: var(--wp--preset--font-family--display, inherit);
	font-size: 1.7rem;
	font-weight: 800;
	letter-spacing: -0.04em;
}

.hz-event-pdp__cal-month {
	margin-top: 0.2rem;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	opacity: 0.72;
}

.hz-event-pdp__panel-title {
	margin: 0;
	font-family: var(--wp--preset--font-family--display, inherit);
	font-size: 1.2rem;
	font-weight: 800;
	letter-spacing: -0.025em;
	line-height: 1.2;
}

.hz-event-pdp__panel-when,
.hz-event-pdp__panel-place,
.hz-event-pdp__panel-note {
	margin: 0;
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.9rem;
	line-height: 1.45;
}

.hz-event-pdp__cal-btn.hz-btn--ghost {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.38);
}

.hz-event-pdp__actions {
	display: grid;
	gap: 0.55rem;
	margin-top: 0.15rem;
}

.hz-event-pdp__cta,
.hz-event-pdp__cal-btn {
	width: 100%;
}

.hz-event-pdp__cal-links {
	display: grid;
	gap: 0.4rem;
	justify-items: center;
}

.hz-event-pdp__google {
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.78rem;
	font-weight: 600;
	text-decoration: none;
	transition: color 160ms ease;
}

@media (hover: hover) and (pointer: fine) {
	.hz-event-pdp__google:hover {
		color: #fff;
	}
}

@media (min-width: 900px) {
	.hz-event-pdp__aside {
		position: sticky;
		top: 6.25rem;
	}
}

@media (max-width: 899px) {
	.hz-event-pdp__layout {
		grid-template-columns: 1fr;
	}

	.hz-event-pdp__main {
		display: contents;
	}

	.hz-event-pdp__hero {
		order: 1;
	}

	.hz-event-pdp__facts {
		order: 2;
		grid-template-columns: 1fr 1fr;
	}

	.hz-event-pdp__aside {
		order: 3;
	}

	.hz-event-pdp__media {
		order: 4;
	}

	.hz-event-pdp__body {
		order: 5;
	}
}

@media (max-width: 560px) {
	.hz-event-pdp__title {
		font-size: clamp(1.75rem, 8vw, 2.2rem);
	}
}

@media (prefers-reduced-motion: reduce) {
	.hz-event-pdp__fact {
		opacity: 1;
		transform: none;
		animation: none;
	}
}

/* CTA band */
.hz-section--cta {
	position: relative;
	overflow: hidden;
	background:
		radial-gradient(ellipse 70% 80% at 10% 20%, color-mix(in srgb, var(--wp--preset--color--accent, #e63946) 28%, transparent), transparent 55%),
		radial-gradient(ellipse 50% 60% at 90% 80%, rgba(255, 255, 255, 0.08), transparent 50%),
		var(--wp--preset--color--primary, #0b132b) !important;
}

.hz-section--cta .wp-block-heading,
.hz-section--cta p {
	color: #fff;
}

.hz-section--cta .wp-block-button__link {
	transition: transform 140ms var(--hz-ease-out), box-shadow 180ms var(--hz-ease-out);
}

.hz-section--cta .wp-block-button__link:active {
	transform: scale(var(--hz-press));
}

.hz-btn-ghost-light .wp-block-button__link {
	border-color: rgba(255, 255, 255, 0.45) !important;
	color: #fff !important;
	background: transparent !important;
}

.hz-btn-ghost-light .wp-block-button__link:hover {
	border-color: #fff !important;
	background: rgba(255, 255, 255, 0.08) !important;
}

.hz-tcg-buy-box {
	box-shadow: var(--hz-shadow-sm);
}

.hz-buy-box__fields select,
.hz-buy-box__qty input {
	transition: border-color 160ms ease, box-shadow 160ms ease;
}

.hz-buy-box__fields select:focus,
.hz-buy-box__qty input:focus {
	outline: none;
	border-color: var(--wp--preset--color--accent, #e63946);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--wp--preset--color--accent, #e63946) 15%, transparent);
}

/* -------------------------------------------------------------------------- */
/* Catalog filters + pagination                                               */
/* -------------------------------------------------------------------------- */

.hz-catalog {
	display: grid;
	gap: 1.35rem 1.75rem;
	grid-template-columns: minmax(13rem, 15rem) minmax(0, 1fr);
	align-items: start;
	margin-top: 1.25rem;
	width: 100%;
}

.hz-catalog > .hz-featured-filters,
.hz-featured-filters-wrap {
	grid-column: 1 / -1;
	width: 100%;
	max-width: 100%;
	margin: 0 0 0.25rem;
	justify-self: stretch;
}

.hz-catalog__results {
	min-width: 0;
}

.hz-catalog-filters {
	position: sticky;
	top: 4.75rem;
	padding: 1rem 1.05rem 1.15rem;
	border-radius: var(--hz-radius-md, 10px);
	background: var(--wp--preset--color--surface, #f0f3f7);
	box-shadow: var(--hz-shadow-sm);
}

.hz-catalog-filters__form {
	display: grid;
	gap: 0.75rem;
	margin: 0;
}

.hz-catalog-filters__form.is-loading {
	opacity: 0.72;
	pointer-events: none;
}

.hz-catalog-filters__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.5rem;
	margin: 0;
}

.hz-catalog-filters__title {
	margin: 0;
	font-family: var(--wp--preset--font-family--display, inherit);
	font-size: 1rem;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.hz-catalog-filters__clear {
	font-size: 0.8rem;
	font-weight: 700;
	color: var(--wp--preset--color--accent, #e63946);
	text-decoration: none;
}

.hz-catalog-filters__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.hz-catalog-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	max-width: 100%;
	padding: 0.22rem 0.5rem;
	border-radius: 6px;
	background: #fff;
	color: var(--wp--preset--color--text, #121826);
	font-size: 0.72rem;
	font-weight: 650;
	line-height: 1.2;
	text-decoration: none;
	box-shadow: var(--hz-ring);
	transition: transform 140ms var(--hz-ease-out), color 160ms ease;
}

.hz-catalog-chip:active {
	transform: scale(var(--hz-press));
}

.hz-catalog-filters__field {
	display: grid;
	gap: 0.3rem;
	margin: 0;
}

.hz-catalog-filters__field label {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted, #667085);
}

.hz-catalog-filters__field input,
.hz-catalog-filters__field select {
	width: 100%;
	min-height: 2.35rem;
	padding: 0.4rem 0.6rem;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--primary, #0b132b) 12%, transparent);
	border-radius: var(--hz-radius-sm);
	background: #fff;
	font: inherit;
	font-size: 0.875rem;
	color: inherit;
	transition: border-color 160ms ease, box-shadow 160ms ease;
}

.hz-catalog-filters__field input:focus,
.hz-catalog-filters__field select:focus {
	outline: none;
	border-color: var(--wp--preset--color--accent, #e63946);
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--wp--preset--color--accent, #e63946) 12%, transparent);
}

.hz-catalog-filters__price {
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
}

.hz-catalog-filters__price-legend {
	padding: 0;
	margin: 0 0 0.3rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted, #667085);
}

.hz-catalog-filters__price-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 0.35rem;
}

.hz-catalog-filters__price-box {
	display: flex;
	align-items: center;
	gap: 0.2rem;
	min-width: 0;
	min-height: 2.35rem;
	padding: 0 0.45rem;
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--primary, #0b132b) 12%, transparent);
	border-radius: var(--hz-radius-sm);
	background: #fff;
	transition: border-color 160ms ease, box-shadow 160ms ease;
}

.hz-catalog-filters__price-box:focus-within {
	border-color: var(--wp--preset--color--accent, #e63946);
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--wp--preset--color--accent, #e63946) 12%, transparent);
}

.hz-catalog-filters__currency {
	flex: 0 0 auto;
	font-size: 0.8125rem;
	font-weight: 700;
	color: var(--wp--preset--color--muted, #667085);
}

.hz-catalog-filters__price-input {
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
	min-height: 0;
	padding: 0.35rem 0;
	border: 0;
	background: transparent;
	font: inherit;
	font-size: 0.875rem;
	color: inherit;
	appearance: textfield;
}

.hz-catalog-filters__price-input:focus {
	outline: none;
	box-shadow: none;
}

.hz-catalog-filters__price-input::placeholder {
	color: rgba(102, 112, 133, 0.85);
}

.hz-catalog-filters__price-sep {
	flex: 0 0 auto;
	color: var(--wp--preset--color--muted, #667085);
	font-weight: 600;
	line-height: 1;
}

.hz-catalog-filters .screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.hz-catalog-filters__submit {
	width: 100%;
	margin-top: 0.15rem;
	min-height: 2.35rem;
	font-size: 0.9rem;
}

.hz-featured-filters-wrap {
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 0 0 0.35rem;
	padding: 0;
	box-sizing: border-box;
	clear: both;
}

.hz-featured-filters-wrap > .hz-featured-filters {
	margin-top: 0;
}

.hz-featured-filters {
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.hz-featured-filters__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 11.5rem), 1fr));
	gap: 0.65rem;
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
}

.hz-featured-filters__item {
	min-width: 0;
	margin: 0;
}

.hz-featured-filter {
	position: relative;
	display: block;
	width: 100%;
	height: 4.75rem;
	overflow: hidden;
	border-radius: var(--hz-radius-md, 10px);
	background: var(--wp--preset--color--text, #121826);
	color: #fff;
	text-decoration: none;
	box-shadow: var(--hz-ring);
	isolation: isolate;
	transition: transform 140ms var(--hz-ease-out), box-shadow 160ms ease;
}

.hz-featured-filter:hover {
	transform: translateY(-1px);
}

.hz-featured-filter:hover .hz-featured-filter__image {
	transform: scale(1.04);
}

.hz-featured-filter:active {
	transform: scale(var(--hz-press, 0.97));
}

.hz-featured-filter.is-active {
	box-shadow: 0 0 0 2px var(--wp--preset--color--accent, #e63946);
}

.hz-featured-filter__media {
	position: absolute;
	inset: 0;
	z-index: 0;
	display: block;
	overflow: hidden;
}

.hz-featured-filter__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transform: scale(1);
	transition: transform 220ms var(--hz-ease-out, ease);
}

.hz-featured-filter__veil {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: block;
	background: rgba(8, 12, 24, 0.58);
	pointer-events: none;
}

.hz-featured-filter__name {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: grid;
	place-items: center;
	padding: 0.55rem 0.75rem;
	margin: 0;
	font-family: var(--wp--preset--font-family--display, inherit);
	font-size: clamp(0.82rem, 1.6vw, 0.98rem);
	font-weight: 750;
	line-height: 1.2;
	letter-spacing: -0.02em;
	text-align: center;
	text-wrap: balance;
	color: #fff;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.hz-catalog-pagination {
	margin-top: 1.75rem;
	display: grid;
	gap: 0.75rem;
	justify-items: center;
}

.hz-catalog-pagination__meta {
	margin: 0;
	color: var(--wp--preset--color--muted, #667085);
	font-size: 0.88rem;
}

.hz-catalog-pagination__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.hz-catalog-pagination__list a,
.hz-catalog-pagination__list span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.25rem;
	min-height: 2.25rem;
	padding: 0 0.55rem;
	border-radius: var(--hz-radius-sm);
	background: var(--wp--preset--color--surface, #f0f3f7);
	color: inherit;
	font-weight: 700;
	font-size: 0.9rem;
	text-decoration: none;
	transition: transform 140ms var(--hz-ease-out), background-color 160ms ease;
}

.hz-catalog-pagination__list .current {
	background: var(--wp--preset--color--primary, #0b132b);
	color: #fff;
}

.hz-catalog-pagination__list a:active {
	transform: scale(var(--hz-press));
}

.hz-archive-header .hz-shop-nav {
	margin-top: 1rem;
}

@media (max-width: 860px) {
	.hz-catalog {
		grid-template-columns: 1fr;
	}

	.hz-catalog-filters {
		position: static;
		padding: 0;
		background: transparent;
		box-shadow: none;
	}

	.hz-catalog-filters__toggle {
		display: inline-flex;
		width: 100%;
		justify-content: center;
		margin-bottom: 0.75rem;
	}

	.hz-catalog-filters__panel {
		position: fixed;
		inset: 0;
		z-index: 100050;
		display: none;
		align-items: stretch;
		justify-content: flex-end;
		background: rgba(18, 24, 38, 0.45);
	}

	.hz-catalog-filters.is-open .hz-catalog-filters__panel {
		display: flex;
	}

	.hz-catalog-filters__panel .hz-catalog-filters__form {
		position: relative;
		width: min(100%, 22rem);
		max-height: 100%;
		overflow: auto;
		margin: 0;
		padding: 1.25rem 1.1rem 1.5rem;
		background: var(--wp--preset--color--background, #fff);
		box-shadow: var(--hz-shadow-lg, 0 18px 48px rgba(18, 24, 38, 0.28));
	}

	.hz-catalog-filters__close {
		position: absolute;
		top: 0.65rem;
		right: 0.75rem;
		z-index: 2;
		width: 2rem;
		height: 2rem;
		border: 0;
		border-radius: 999px;
		background: var(--wp--preset--color--surface, #f0f3f7);
		font-size: 1.35rem;
		line-height: 1;
		cursor: pointer;
	}

	html.hz-filters-open {
		overflow: hidden;
	}

	.hz-featured-filters__list {
		grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr));
		gap: 0.55rem;
	}

	.hz-featured-filter {
		height: 4.25rem;
	}

	.hz-featured-filter__name {
		font-size: 0.84rem;
		padding: 0.45rem 0.55rem;
	}
}

.hz-catalog-filters__toggle {
	display: none;
}

.hz-catalog-filters__close {
	display: none;
}

@media (max-width: 860px) {
	.hz-catalog-filters__close {
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}
}

.hz-header__search {
	flex: 0 0 auto;
	margin: 0 !important;
	width: auto !important;
	max-width: none !important;
	align-self: center;
}

.hz-header__search.wp-block-search,
.hz-header__search .wp-block-search__inside-wrapper {
	margin: 0;
}

.hz-header__search .wp-block-search__label {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.hz-header__search .wp-block-search__inside-wrapper {
	display: flex;
	align-items: center;
	box-sizing: border-box;
	gap: 0;
	width: 11.25rem;
	height: 2.5rem;
	min-height: 2.5rem;
	max-height: 2.5rem;
	padding: 0 0.2rem 0 0.85rem;
	border: 1px solid var(--wp--preset--color--border, #d5dce8);
	border-radius: var(--hz-radius-sm, 0.45rem);
	background: var(--wp--preset--color--surface, #f0f3f7);
	box-shadow: none;
	overflow: hidden;
	transition:
		width 180ms var(--hz-ease-out, cubic-bezier(0.23, 1, 0.32, 1)),
		border-color 160ms ease,
		background-color 160ms ease,
		box-shadow 160ms ease;
}

.hz-header__search .wp-block-search__inside-wrapper:focus-within {
	width: 15rem;
	border-color: color-mix(in srgb, var(--wp--preset--color--primary, #0b132b) 35%, var(--wp--preset--color--border, #d5dce8));
	background: var(--wp--preset--color--background, #fff);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--wp--preset--color--primary, #0b132b) 12%, transparent);
}

.hz-header__search .wp-block-search__input {
	flex: 1 1 auto;
	min-width: 0;
	width: auto !important;
	max-width: none !important;
	height: 100%;
	margin: 0;
	padding: 0;
	border: 0 !important;
	border-radius: 0;
	background: transparent !important;
	box-shadow: none !important;
	outline: none !important;
	color: var(--wp--preset--color--text, #121826);
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: -0.01em;
	-webkit-appearance: none;
	appearance: none;
}

.hz-header__search .wp-block-search__input::placeholder {
	color: var(--wp--preset--color--muted, #667085);
	opacity: 1;
}

.hz-header__search .wp-block-search__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	box-sizing: border-box;
	width: 2.15rem;
	min-width: 2.15rem;
	height: 2.15rem;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: var(--hz-radius-sm, 0.45rem);
	background: transparent;
	color: var(--wp--preset--color--text, #121826);
	cursor: pointer;
	line-height: 0;
	box-shadow: none !important;
	transition:
		transform 140ms var(--hz-ease-out, cubic-bezier(0.23, 1, 0.32, 1)),
		background-color 140ms ease,
		color 140ms ease;
}

.hz-header__search .wp-block-search__button svg {
	width: 1.15rem;
	height: 1.15rem;
	display: block;
	fill: currentColor;
}

.hz-header__search .wp-block-search__button:hover {
	background: color-mix(in srgb, var(--wp--preset--color--primary, #0b132b) 8%, transparent);
	color: var(--wp--preset--color--primary, #0b132b);
}

.hz-header__search .wp-block-search__button:active {
	transform: scale(0.97);
}

.hz-header__search .wp-block-search__button:focus-visible {
	outline: 2px solid var(--wp--preset--color--accent, #e63946);
	outline-offset: 1px;
}

/* Dark header: keep the field quiet so nav stays primary. */
.hz-header--dark .hz-header__search .wp-block-search__inside-wrapper {
	border-color: rgba(255, 255, 255, 0.18);
	background: rgba(255, 255, 255, 0.08);
}

.hz-header--dark .hz-header__search .wp-block-search__inside-wrapper:focus-within {
	border-color: rgba(255, 255, 255, 0.4);
	background: rgba(255, 255, 255, 0.12);
	box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
}

.hz-header--dark .hz-header__search .wp-block-search__input,
.hz-header--dark .hz-header__search .wp-block-search__button {
	color: #fff;
}

.hz-header--dark .hz-header__search .wp-block-search__input::placeholder {
	color: rgba(255, 255, 255, 0.62);
}

.hz-header--dark .hz-header__search .wp-block-search__button:hover {
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
}

@media (hover: hover) and (pointer: fine) {
	.hz-header__search .wp-block-search__button:hover {
		background: color-mix(in srgb, var(--wp--preset--color--primary, #0b132b) 8%, transparent);
	}
}

@media (max-width: 860px) {
	.hz-header__search .wp-block-search__inside-wrapper {
		width: 8.5rem;
		padding: 0 0.15rem 0 0.7rem;
	}

	.hz-header__search .wp-block-search__inside-wrapper:focus-within {
		width: min(13.5rem, calc(100vw - 7.5rem));
	}

	.hz-header__search .wp-block-search__input {
		font-size: 0.8125rem;
	}

	.hz-header__search .wp-block-search__input::placeholder {
		letter-spacing: -0.02em;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hz-header__search .wp-block-search__inside-wrapper,
	.hz-header__search .wp-block-search__button,
	.hz-header__search .wp-block-search__input {
		transition: none !important;
	}
}

.hz-woo-shell .wc-block-components-button,
.hz-woo-shell .woocommerce-button,
.hz-woo-shell button.button {
	border-radius: var(--hz-radius-sm, 8px);
}

/* -------------------------------------------------------------------------- */
/* Checkout / cart focus                                                      */
/* -------------------------------------------------------------------------- */

/* Calm chrome: checkout is occasional — reduce nav noise, keep brand + cart. */
body.hz-commerce-focus .hz-nav-primary,
body.hz-commerce-focus .hz-header__search,
body.hz-commerce-focus .hz-header__announce {
	display: none !important;
}

body.hz-commerce-focus .hz-header__bar {
	justify-content: space-between;
}

.hz-checkout__intro {
	margin: 0 0 1.35rem;
}

.hz-checkout__intro > .wp-block-heading,
.hz-checkout__intro h1 {
	margin: 0 0 0.35rem;
	letter-spacing: -0.02em;
	line-height: 1.12;
}

.hz-checkout__lead {
	margin: 0;
	max-width: 36rem;
	line-height: 1.45;
}

/* Two-column rhythm */
.hz-checkout .wp-block-woocommerce-checkout,
.hz-checkout .wc-block-checkout {
	margin-top: 0.25rem;
}

.hz-checkout .wc-block-components-checkout-step {
	margin: 0 0 1.35rem;
	padding: 0;
	border: 0;
}

.hz-checkout .wc-block-components-checkout-step__heading {
	margin: 0 0 0.75rem;
}

.hz-checkout .wc-block-components-title,
.hz-checkout .wc-block-components-checkout-step__title {
	font-family: var(--wp--preset--font-family--display, inherit);
	font-size: 1.15rem;
	font-weight: 700;
	letter-spacing: -0.015em;
	line-height: 1.25;
}

.hz-checkout .wc-block-components-checkout-step__description,
.hz-checkout .wc-block-components-checkout-step__container > p {
	color: var(--wp--preset--color--muted, #667085);
	font-size: 0.9rem;
}

/* Inputs: one language with the rest of the storefront */
.hz-checkout .wc-block-components-text-input input,
.hz-checkout .wc-block-components-textarea textarea,
.hz-checkout .wc-block-components-combobox .components-combobox-control__input,
.hz-checkout .wc-block-components-combobox input,
.hz-checkout .wc-blocks-components-select .components-input-control__input,
.hz-checkout select,
.hz-checkout .wc-block-components-text-input input[type='email'],
.hz-checkout .wc-block-components-text-input input[type='tel'],
.hz-checkout .wc-block-components-text-input input[type='text'] {
	min-height: 2.85rem;
	border-radius: var(--hz-radius-sm, 0.45rem) !important;
	border-color: var(--wp--preset--color--border, #e5e7eb) !important;
	background: #fff !important;
	box-shadow: none !important;
	transition:
		border-color 160ms ease,
		box-shadow 160ms var(--hz-ease-out);
}

.hz-checkout .wc-block-components-text-input.is-active input,
.hz-checkout .wc-block-components-text-input input:focus,
.hz-checkout .wc-block-components-textarea textarea:focus,
.hz-checkout .wc-block-components-combobox input:focus,
.hz-checkout select:focus {
	border-color: color-mix(in srgb, var(--wp--preset--color--primary, #0b132b) 45%, var(--wp--preset--color--border, #d5dce8)) !important;
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--wp--preset--color--border, #d5dce8) 70%, transparent) !important;
	outline: none;
}

.hz-checkout .wc-block-components-text-input label,
.hz-checkout .wc-block-components-combobox label,
.hz-checkout .wc-blocks-components-select label {
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--wp--preset--color--muted, #667085);
}

/* Shipping / pickup options as clear selectable surfaces */
.hz-checkout .wc-block-components-radio-control--highlight-checked {
	/* Neutralize WC outline that stacks with our option borders. */
	outline: none !important;
	box-shadow: none !important;
}

.hz-checkout .wc-block-components-radio-control__option {
	margin: 0 0 0.55rem !important;
	/* Keep room for WC's absolutely positioned radio (left ~16px). */
	padding: 0.85rem 1rem 0.85rem 2.75rem !important;
	border: 1px solid var(--wp--preset--color--border, #e5e7eb) !important;
	border-radius: var(--hz-radius-md, 0.75rem) !important;
	background: #fff !important;
	box-shadow: none !important;
	outline: none !important;
	transition:
		border-color 160ms ease,
		background-color 160ms ease,
		box-shadow 160ms var(--hz-ease-out),
		transform 140ms var(--hz-ease-out);
}

.hz-checkout .wc-block-components-radio-control__option:last-child {
	margin-bottom: 0 !important;
}

.hz-checkout .wc-block-components-radio-control__option:active {
	transform: scale(0.985);
}

.hz-checkout .wc-block-components-radio-control__option-checked,
.hz-checkout .wc-block-components-radio-control__option--checked-option-highlighted {
	border-color: color-mix(in srgb, var(--wp--preset--color--primary, #0b132b) 35%, var(--wp--preset--color--border, #d5dce8)) !important;
	background: #fff !important;
	box-shadow: none !important;
}

.hz-checkout .wc-block-components-radio-control__label,
.hz-checkout .wc-block-components-radio-control__secondary-label {
	overflow: visible;
	line-height: 1.35;
}

/* Order summary panel */
.hz-checkout .wp-block-woocommerce-checkout-order-summary-block,
.hz-checkout .wc-block-components-sidebar {
	position: sticky;
	top: 1rem;
}

.hz-checkout .wp-block-woocommerce-checkout-order-summary-block,
.hz-checkout .wc-block-checkout__sidebar .wc-block-components-panel,
.hz-checkout .wc-block-components-order-summary {
	padding: 1.15rem 1.2rem 1.25rem;
	border: 1px solid var(--wp--preset--color--border, #d5dce8);
	border-radius: var(--hz-radius-md, 0.75rem);
	background: #fff;
	box-shadow: none;
}

.hz-checkout .wc-block-components-checkout-order-summary__title,
.hz-checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-panel__button {
	font-family: var(--wp--preset--font-family--display, inherit);
	font-weight: 700;
	letter-spacing: -0.015em;
}

.hz-checkout .wc-block-components-product-metadata,
.hz-checkout .wc-block-components-order-summary-item__description {
	font-size: 0.9rem;
}

.hz-checkout .wc-block-components-totals-item,
.hz-checkout .wc-block-components-totals-footer-item {
	padding-top: 0.55rem;
	padding-bottom: 0.55rem;
}

.hz-checkout .wc-block-components-totals-footer-item {
	margin-top: 0.35rem;
	border-top: 1px solid var(--wp--preset--color--border, #e5e7eb);
	padding-top: 0.85rem;
}

.hz-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.hz-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
	font-size: 1.15rem;
	font-weight: 800;
	letter-spacing: -0.02em;
}

.hz-checkout .wc-block-components-order-summary-item__image img {
	border-radius: 0.45rem;
	border: 1px solid var(--wp--preset--color--border, #e5e7eb);
	background: #fff;
	object-fit: contain;
}

/* Place order CTA — primary (calm), not alarm-red accent */
.hz-checkout .wc-block-components-checkout-place-order-button,
.hz-checkout .wc-block-checkout__actions_row .wc-block-components-button {
	min-height: 3rem;
	border: 0 !important;
	border-radius: var(--hz-radius-sm, 0.45rem) !important;
	background: var(--wp--preset--color--primary, #0b132b) !important;
	color: #fff !important;
	font-weight: 700 !important;
	letter-spacing: -0.01em;
	box-shadow: none !important;
	transition:
		transform 140ms var(--hz-ease-out),
		background-color 160ms ease,
		opacity 160ms ease !important;
}

.hz-checkout .wc-block-components-checkout-place-order-button:hover:not(:disabled),
.hz-checkout .wc-block-checkout__actions_row .wc-block-components-button:hover:not(:disabled) {
	background: var(--wp--preset--color--secondary, #1c2541) !important;
	filter: none;
}

.hz-checkout .wc-block-components-checkout-place-order-button:active:not(:disabled),
.hz-checkout .wc-block-checkout__actions_row .wc-block-components-button:active:not(:disabled) {
	transform: scale(0.97);
}

.hz-checkout .wc-block-components-checkout-place-order-button:disabled,
.hz-checkout .wc-block-checkout__actions_row .wc-block-components-button:disabled {
	opacity: 0.4;
	filter: none;
	cursor: not-allowed;
}

.hz-checkout .wc-block-components-checkout-place-order-button:focus-visible {
	outline: 2px solid color-mix(in srgb, var(--wp--preset--color--primary, #0b132b) 50%, transparent);
	outline-offset: 2px;
}

/* Coupons: quiet disclosure, not a second CTA */
.hz-checkout .wc-block-components-panel__button {
	font-weight: 600;
	color: var(--wp--preset--color--text, #0b132b);
}

.hz-checkout .wc-block-components-totals-coupon__button {
	border-radius: var(--hz-radius-sm, 0.45rem) !important;
	transition: transform 140ms var(--hz-ease-out);
}

.hz-checkout .wc-block-components-totals-coupon__button:active {
	transform: scale(0.97);
}

@media (hover: hover) and (pointer: fine) {
	.hz-checkout .wc-block-components-radio-control__option:hover {
		border-color: color-mix(in srgb, var(--wp--preset--color--primary, #0b132b) 22%, transparent);
	}
}

@media (prefers-reduced-motion: reduce) {
	.hz-checkout .wc-block-components-text-input input,
	.hz-checkout .wc-block-components-checkout-place-order-button,
	.hz-checkout .wc-block-components-radio-control__option,
	.hz-checkout .wc-block-components-totals-coupon__button {
		transition: none !important;
	}

	.hz-checkout .wc-block-components-checkout-place-order-button:active,
	.hz-checkout .wc-block-components-radio-control__option:active {
		transform: none;
	}
}

@media (max-width: 860px) {
	.hz-checkout .wp-block-woocommerce-checkout-order-summary-block,
	.hz-checkout .wc-block-components-sidebar {
		position: static;
	}
}

/* Product PDP (sealed / accessories): same shell as card PDP */
.hz-product-pdp.hz-card-pdp {
	display: grid;
	gap: 2rem;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	align-items: start;
}

@media (max-width: 860px) {
	.hz-product-pdp.hz-card-pdp {
		grid-template-columns: 1fr;
	}
}

.hz-product-pdp__info .wp-block-woocommerce-product-title,
.hz-product-pdp__info .wp-block-post-title,
.hz-product-pdp__info h1 {
	margin: 0 0 0.4rem;
	padding: 0;
}

.hz-product-pdp__info .wp-block-woocommerce-product-price {
	margin: 0 0 0.75rem;
	font-family: var(--wp--preset--font-family--display, inherit);
	font-weight: 700;
}

.hz-product-pdp__info .wp-block-post-excerpt {
	margin: 0 0 0.75rem;
}

.hz-product-pdp__info .wp-block-add-to-cart-form,
.hz-product-pdp__info form.cart {
	margin: 0.75rem 0 1rem;
}

/* Stock / agotado aligned with buy box typography */
.hz-product-pdp .stock,
.hz-product-pdp p.stock {
	margin: 0.25rem 0 1rem;
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--wp--preset--color--muted, #6b7280);
}

.hz-product-pdp .stock.out-of-stock,
.hz-product-pdp p.stock.out-of-stock {
	color: #b91c1c;
}

.hz-product-pdp .stock.in-stock,
.hz-product-pdp p.stock.in-stock {
	color: var(--wp--preset--color--muted, #6b7280);
}

/* Related products: uniform tile height (sealed 1:1 media) */
.hz-product-related .wp-block-heading {
	margin: 0 0 1rem;
}

.hz-product-related .wp-block-post-template,
.hz-product-related .hz-product-related__grid {
	display: grid !important;
	gap: 1.25rem;
	align-items: stretch;
}

.hz-product-related .wp-block-post,
.hz-product-related .hz-product-related__item {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 100%;
	margin: 0;
}

.hz-product-related .wc-block-components-product-image,
.hz-product-related .wp-block-woocommerce-product-image {
	display: block;
	width: 100%;
	margin: 0 0 0.65rem;
	overflow: hidden;
	border-radius: 0.55rem;
	border: 1px solid var(--wp--preset--color--border, #e5e7eb);
	background: var(--wp--preset--color--surface, #f5f5f7);
	aspect-ratio: 1 / 1 !important;
	line-height: 0;
}

.hz-product-related .wc-block-components-product-image a,
.hz-product-related .wp-block-woocommerce-product-image a {
	display: block;
	width: 100%;
	height: 100%;
}

.hz-product-related .wc-block-components-product-image img,
.hz-product-related .wp-block-woocommerce-product-image img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	object-fit: contain !important;
	object-position: center;
	aspect-ratio: unset !important;
}

.hz-product-related .wp-block-post-title,
.hz-product-related .wp-block-woocommerce-product-price,
.hz-product-related .wp-block-button {
	margin-top: auto;
}

.hz-product-related .wp-block-post-title {
	margin: 0 0 0.35rem;
}

.hz-product-related .wp-block-woocommerce-product-price {
	margin: 0 0 0.5rem;
}


/* ------------------------------------------------------------------ */
/* Home rails: una fila completa (6 / 4 / 3 / 2 columnas), sin huecos  */
/* con el limit="6" de front-page.html.                               */
/* ------------------------------------------------------------------ */
:is(body.home, body.tax-hz_tcg_game) .hz-section .hz-card-grid,
:is(body.home, body.tax-hz_tcg_game) .hz-section .hz-product-grid {
	grid-template-columns: repeat(6, minmax(0, 1fr));
	align-items: stretch;
}

@media (max-width: 1100px) {
	:is(body.home, body.tax-hz_tcg_game) .hz-section .hz-card-grid,
	:is(body.home, body.tax-hz_tcg_game) .hz-section .hz-product-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
	:is(body.home, body.tax-hz_tcg_game) .hz-section .hz-card-grid > :nth-child(n + 5),
	:is(body.home, body.tax-hz_tcg_game) .hz-section .hz-product-grid > :nth-child(n + 5) {
		display: none;
	}
}

@media (max-width: 780px) {
	:is(body.home, body.tax-hz_tcg_game) .hz-section .hz-card-grid,
	:is(body.home, body.tax-hz_tcg_game) .hz-section .hz-product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Fichas parejas: meta en una línea, títulos de producto a 2 líneas fijas. */
.hz-card-grid {
	align-items: stretch;
}

.hz-card-tile__meta {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.hz-product-tile__title {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
	min-height: calc(2 * 1.3em);
}

/* Beneficios: todo alineado a la izquierda, como el resto de las secciones
   (el layout "constrained" centraba el icono, el título y la cabecera). */
.hz-section--features .hz-section-copy,
.hz-section--features .hz-section-copy > *,
.hz-feature > * {
	margin-left: 0 !important;
	margin-right: 0 !important;
	text-align: left;
}

.hz-section--features .hz-section-head {
	max-width: var(--wp--style--global--wide-size, 1360px);
	margin-left: auto !important;
	margin-right: auto !important;
}

/* ------------------------------------------------------------------ */
/* Desplegables del menú (juegos ▸ Singles / Sellados).                */
/* Claro por defecto; sobre headers oscuros (nav con texto claro) usa   */
/* el primario para no quedar blanco sobre blanco.                     */
/* ------------------------------------------------------------------ */
.wp-block-navigation .wp-block-navigation__submenu-container {
	min-width: 12rem !important;
	padding: 0.4rem !important;
	border: 1px solid var(--wp--preset--color--border, #e5e7eb) !important;
	border-radius: var(--hz-radius-md, 10px);
	background: var(--wp--preset--color--background, #fff) !important;
	color: var(--wp--preset--color--text, #121826) !important;
	box-shadow: var(--hz-shadow-md);
}

.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	display: block;
	padding: 0.5rem 0.75rem !important;
	border-radius: 6px;
	color: inherit !important;
	font-weight: 600;
}

.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus-visible {
	background: var(--wp--preset--color--surface, #f0f3f7);
	color: var(--wp--preset--color--accent, #e63946) !important;
}

.wp-block-navigation.has-light-color .wp-block-navigation__submenu-container {
	border-color: color-mix(in srgb, #fff 12%, transparent) !important;
	background: var(--wp--preset--color--primary, #0b132b) !important;
	color: #fff !important;
}

.wp-block-navigation.has-light-color .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
.wp-block-navigation.has-light-color .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus-visible {
	background: color-mix(in srgb, #fff 8%, transparent);
	color: var(--wp--preset--color--highlight, #f2c14e) !important;
}

/* ------------------------------------------------------------------ */
/* Elige tu juego (logos), vitrina por juego y búsqueda agrupada.      */
/* ------------------------------------------------------------------ */
.hz-game-picker ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
	gap: 1rem;
}

.hz-game-picker__card {
	display: grid;
	grid-template-rows: 1fr auto;
	min-height: 11rem;
	border-radius: var(--hz-radius-lg, 16px);
	background: var(--wp--preset--color--primary, #0b132b);
	color: #fff;
	text-decoration: none;
	overflow: hidden;
	transition: transform 180ms var(--hz-ease-out, ease), box-shadow 200ms var(--hz-ease-out, ease);
}

.hz-game-picker__card:hover,
.hz-game-picker__card:focus-visible {
	transform: translateY(-3px);
	box-shadow: var(--hz-shadow-lg);
}

.hz-game-picker__logo {
	display: grid;
	place-items: center;
	padding: 1.75rem 2rem 1rem;
}

.hz-game-picker__img {
	max-width: min(100%, 15rem);
	max-height: 6rem;
	width: auto;
	height: auto;
	object-fit: contain;
}

.hz-game-picker__img--text {
	font-family: var(--wp--preset--font-family--display, inherit);
	font-size: clamp(1.5rem, 3vw, 2.1rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	text-align: center;
}

.hz-game-picker__links {
	display: flex;
	justify-content: space-between;
	padding: 0.85rem 1.25rem;
	border-top: 1px solid color-mix(in srgb, #fff 12%, transparent);
	font-weight: 600;
	font-size: 0.9rem;
	color: color-mix(in srgb, #fff 80%, transparent);
}

.hz-game-showcase + .hz-game-showcase {
	margin-top: 3rem;
}

.hz-game-showcase__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1.5rem;
	margin-bottom: 1.25rem;
}

.hz-game-showcase__brand {
	display: inline-flex;
	align-items: center;
	color: var(--wp--preset--color--text, #121826);
	text-decoration: none;
}

.hz-game-showcase__logo {
	max-height: 3.25rem;
	width: auto;
	height: auto;
}

.hz-game-showcase__logo--text {
	font-family: var(--wp--preset--font-family--display, inherit);
	font-size: clamp(1.4rem, 2.6vw, 1.9rem);
	font-weight: 800;
	letter-spacing: -0.02em;
}

.hz-game-showcase__links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
	font-weight: 600;
	font-size: 0.9rem;
}

.hz-game-showcase__links a {
	color: var(--wp--preset--color--muted, #667085);
	text-decoration: none;
}

.hz-game-showcase__links a:hover,
.hz-game-showcase__links .hz-game-showcase__all {
	color: var(--wp--preset--color--accent, #e63946);
}

.hz-game-showcase .hz-card-grid {
	grid-template-columns: repeat(6, minmax(0, 1fr));
}

@media (max-width: 1100px) {
	.hz-game-showcase .hz-card-grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
	.hz-game-showcase .hz-card-grid > :nth-child(n + 5) {
		display: none;
	}
}

@media (max-width: 780px) {
	.hz-game-showcase .hz-card-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.hz-games-nav__link.has-logo .hz-games-nav__logo {
	max-height: 1.75rem;
	width: auto;
	height: auto;
}

.hz-search-results__games {
	margin-top: 0.75rem;
}

.hz-search-results__group {
	display: flex;
	align-items: baseline;
	gap: 0.6rem;
	margin: 2rem 0 1rem;
	font-size: 1.35rem;
}

.hz-search-results__group a {
	color: inherit;
	text-decoration: none;
}

.hz-search-results__group span {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--wp--preset--color--muted, #667085);
}
