/**
 * Phase 3.10 — Catalog showcase polish (/fireplaces/, /gas-fireplaces/ only)
 * Scoped via body.hh-catalog-showcase
 */

body.hh-catalog-showcase {
	--hh-bg: #f7f7f5;
	--hh-surface: #ffffff;
	--hh-surface-alt: #f1f0ec;
	--hh-ink: #101318;
	--hh-graphite: #1a1d21;
	--hh-muted: #6b7280;
	--hh-border: #e3e0d8;
	--hh-hearth: #040f1a;
	--hh-navy: #0a1219;
	--hh-navy-hover: #141c24;
	--hh-bronze: #a88b5b;
	--hh-gold: #bfa16a;
	--hh-gold-soft: #d8c69a;
	--hh-ember: #d8662a;
	--hh-ember-deep: #9e3e1f;
	--hh-ember-soft: #e8956a;
	--hh-black: var(--hh-ink);
	--hh-white: var(--hh-surface);
	--hh-soft-gray: var(--hh-muted);
	--hh-sand: var(--hh-surface-alt);
	--hh-radius-md: 4px;
	--hh-shadow-sm: 0 1px 3px rgba(16, 19, 24, 0.04);
}

body.hh-catalog-showcase .hh-scope.hh-landing {
	background: var(--hh-bg);
	color: var(--hh-graphite);
}

body.hh-catalog-showcase .hh-landing-hero:not(.hh-landing-hero--image) {
	background: linear-gradient(
		168deg,
		var(--hh-surface-alt) 0%,
		var(--hh-bg) 55%,
		var(--hh-surface) 100%
	);
	border-bottom: 1px solid var(--hh-border);
}

body.hh-catalog-showcase .hh-landing-hero__title {
	color: var(--hh-ink);
	font-weight: 600;
	letter-spacing: -0.02em;
}

body.hh-catalog-showcase .hh-landing-hero__lead {
	color: var(--hh-muted);
	max-width: 38rem;
}

body.hh-catalog-showcase .hh-eyebrow {
	color: var(--hh-ember-deep, #9e3e1f);
	letter-spacing: 0.14em;
}

body.hh-catalog-showcase .hh-h2 {
	color: var(--hh-ink);
	border-bottom: 1px solid rgba(216, 102, 42, 0.28);
	padding-bottom: 0.35rem;
	font-weight: 600;
}

/* Buttons — navy primary, slim secondary */
body.hh-catalog-showcase .hh-btn {
	border-radius: 4px;
	font-weight: 500;
	letter-spacing: 0.02em;
	min-height: 2.75rem;
	padding: 0.55rem 1.25rem;
	font-size: 0.9rem;
	box-shadow: none;
}

body.hh-catalog-showcase .hh-btn--primary,
body.hh-catalog-showcase .hh-btn--navy {
	background: var(--hh-navy);
	color: #fff;
	border: 1px solid var(--hh-navy);
}

body.hh-catalog-showcase .hh-btn--primary:hover,
body.hh-catalog-showcase .hh-btn--navy:hover {
	background: var(--hh-navy-hover);
	border-color: var(--hh-navy-hover);
	color: #fff;
}

body.hh-catalog-showcase .hh-btn--primary::after {
	display: none;
}

body.hh-catalog-showcase .hh-btn--ghost,
body.hh-catalog-showcase .hh-btn--secondary {
	background: transparent;
	color: var(--hh-navy);
	border: 1px solid var(--hh-border);
}

body.hh-catalog-showcase .hh-btn--ghost:hover,
body.hh-catalog-showcase .hh-btn--secondary:hover {
	border-color: var(--hh-navy);
	background: var(--hh-surface-alt);
}

body.hh-catalog-showcase .hh-link-arrow {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	color: var(--hh-navy);
	font-size: 0.88rem;
	font-weight: 500;
	text-decoration: none;
	border-bottom: 1px solid var(--hh-gold-soft);
}

body.hh-catalog-showcase .hh-link-arrow:hover {
	color: var(--hh-navy-hover);
}

/* Category cards */
body.hh-catalog-showcase .hh-catalog-picker {
	background: var(--hh-surface-alt);
	padding-block: var(--hh-space-4xl);
}

body.hh-catalog-showcase .hh-category-card {
	background: var(--hh-surface);
	border: 1px solid var(--hh-border);
	border-radius: 4px;
	box-shadow: var(--hh-shadow-sm);
	position: relative;
	overflow: hidden;
}

body.hh-catalog-showcase .hh-category-card::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--hh-gold-soft), transparent);
	z-index: 1;
}

body.hh-catalog-showcase .hh-category-card:hover {
	box-shadow: 0 4px 20px rgba(16, 19, 24, 0.06);
	transform: translateY(-1px);
}

body.hh-catalog-showcase .hh-category-card__media {
	background: var(--hh-surface-alt);
}

body.hh-catalog-showcase .hh-category-card__title {
	font-size: 1.1rem;
	font-weight: 600;
}

body.hh-catalog-showcase .hh-category-card__title a {
	color: var(--hh-ink);
}

body.hh-catalog-showcase .hh-category-card__desc {
	color: var(--hh-muted);
	font-size: 0.88rem;
	line-height: 1.55;
}

body.hh-catalog-showcase .hh-category-card__fit {
	font-size: 0.8rem;
	color: var(--hh-muted);
}

body.hh-catalog-showcase .hh-category-card__fit strong {
	font-weight: 500;
	color: var(--hh-graphite);
}

body.hh-catalog-showcase .hh-category-card__count {
	display: inline-block;
	font-size: 0.72rem;
	font-weight: 600;
	color: var(--hh-navy);
	background: var(--hh-surface-alt);
	border: 1px solid var(--hh-border);
	padding: 0.2rem 0.55rem;
	border-radius: 999px;
}

body.hh-catalog-showcase .hh-category-card__cta {
	background: transparent;
	border: none;
	padding: 0;
	color: var(--hh-navy);
	font-size: 0.88rem;
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-color: var(--hh-gold-soft);
	min-height: auto;
}

body.hh-catalog-showcase .hh-category-card__cta:hover {
	background: transparent;
	color: var(--hh-navy-hover);
}

/* Product preview sections — editorial */
body.hh-catalog-showcase .hh-product-preview {
	padding-block: var(--hh-space-4xl);
	background: var(--hh-surface);
}

body.hh-catalog-showcase .hh-product-preview:nth-of-type(even) {
	background: var(--hh-bg);
}

body.hh-catalog-showcase .hh-product-preview__intro {
	color: var(--hh-muted);
	font-size: 0.95rem;
	max-width: 36rem;
	margin-bottom: var(--hh-space-2xl);
}

body.hh-catalog-showcase .hh-card-grid--products-preview {
	gap: var(--hh-space-lg);
}

/* Premium product card */
body.hh-catalog-showcase .hh-product-card {
	display: flex;
	flex-direction: column;
	background: var(--hh-surface);
	border: 1px solid var(--hh-border);
	border-radius: 4px;
	overflow: hidden;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.hh-catalog-showcase .hh-product-card:hover {
	border-color: var(--hh-gold-soft);
	box-shadow: 0 6px 24px rgba(16, 19, 24, 0.06);
}

body.hh-catalog-showcase .hh-product-card__media {
	display: block;
	aspect-ratio: 4 / 3;
	background: linear-gradient(165deg, #e4e8ec 0%, #d8dde3 100%);
	border-bottom: 1px solid var(--hh-border);
	overflow: hidden;
}

body.hh-catalog-showcase .hh-product-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

body.hh-catalog-showcase .hh-category-card__media {
	background: linear-gradient(165deg, #e4e8ec 0%, #d8dde3 100%);
}

body.hh-catalog-showcase .hh-product-card__body {
	padding: var(--hh-space-md) var(--hh-space-lg) var(--hh-space-lg);
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	flex: 1;
}

body.hh-catalog-showcase .hh-product-card__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
}

body.hh-catalog-showcase .hh-product-card__badge {
	font-size: 0.68rem;
	font-weight: 500;
	text-transform: none;
	letter-spacing: 0.02em;
	color: var(--hh-navy);
	background: var(--hh-surface-alt);
	border: 1px solid var(--hh-border);
	padding: 0.2rem 0.5rem;
	border-radius: 2px;
}

body.hh-catalog-showcase .hh-scope .hh-product-card__title {
	font-family: var(--hh-font-sans);
	font-size: 0.95rem;
	font-weight: 600;
	margin: 0;
	line-height: 1.35;
}

body.hh-catalog-showcase .hh-product-card__title a {
	color: var(--hh-ink);
	text-decoration: none;
}

body.hh-catalog-showcase .hh-product-card__title a:hover {
	color: var(--hh-navy);
}

body.hh-catalog-showcase .hh-product-card__price {
	margin: 0;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--hh-navy);
}

body.hh-catalog-showcase .hh-product-card__price--request span,
body.hh-catalog-showcase .hh-product-card__price--quote span {
	color: var(--hh-navy);
}

body.hh-catalog-showcase .hh-product-card__note {
	margin: 0;
	font-size: 0.75rem;
	color: var(--hh-muted);
	line-height: 1.45;
}

body.hh-catalog-showcase .hh-product-card__actions {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	margin-top: auto;
	padding-top: 0.5rem;
}

body.hh-catalog-showcase .hh-product-card__actions .hh-btn--primary,
body.hh-catalog-showcase .hh-product-card__actions .hh-btn--navy {
	width: 100%;
	justify-content: center;
	background: var(--hh-navy) !important;
	border-color: var(--hh-navy) !important;
	color: #fff !important;
}

body.hh-catalog-showcase .hh-product-card__actions .hh-btn--primary::after,
body.hh-catalog-showcase .hh-product-card__actions .hh-btn--navy::after {
	display: none !important;
}

body.hh-catalog-showcase .hh-product-card__actions .hh-btn--primary:hover,
body.hh-catalog-showcase .hh-product-card__actions .hh-btn--navy:hover {
	background: var(--hh-navy-hover) !important;
	border-color: var(--hh-navy-hover) !important;
	color: #fff !important;
}

body.hh-catalog-showcase .hh-product-card__actions .hh-btn--ghost {
	width: 100%;
	justify-content: center;
	text-align: center;
}

body.hh-catalog-showcase .hh-landing__more .hh-btn--primary {
	min-width: 12rem;
}

body.hh-catalog-showcase .hh-rich-intro,
body.hh-catalog-showcase .hh-rich-section {
	background: var(--hh-surface);
}

body.hh-catalog-showcase .hh-rich-section:nth-of-type(even) {
	background: var(--hh-bg);
}

body.hh-catalog-showcase .hh-landing-cta {
	background: linear-gradient(
		135deg,
		#1a1512 0%,
		var(--hh-hearth) 35%,
		var(--hh-navy) 100%
	);
	border-top: 2px solid rgba(216, 102, 42, 0.4);
}

body.hh-catalog-showcase .hh-product-card__price--amount,
body.hh-catalog-showcase .hh-product-card__price--amount .woocommerce-Price-amount {
	font-size: 1rem;
	font-weight: 700;
	color: var(--hh-navy);
	letter-spacing: 0.01em;
}

body.hh-catalog-showcase .hh-landing__more .hh-btn--navy,
body.hh-catalog-showcase .hh-landing__more .hh-btn--primary {
	background: var(--hh-navy) !important;
	border-color: var(--hh-navy) !important;
	color: #fff !important;
}

body.hh-catalog-showcase .hh-landing__more .hh-btn--navy::after,
body.hh-catalog-showcase .hh-landing__more .hh-btn--primary::after {
	display: none !important;
}

body.hh-catalog-showcase .hh-catalog-cta-bar {
	background: var(--hh-ink);
}

/* Responsive */
@media (max-width: 768px) {
	body.hh-catalog-showcase .hh-category-grid {
		grid-template-columns: 1fr;
	}

	body.hh-catalog-showcase .hh-card-grid--products-preview {
		grid-template-columns: repeat(2, 1fr);
		gap: var(--hh-space-md);
	}
}

@media (max-width: 390px) {
	body.hh-catalog-showcase .hh-card-grid--products-preview {
		grid-template-columns: 1fr;
	}
}
