/**
 * WooCommerce product_cat archives — Hot House showcase variant B.
 */

body.tax-product_cat {
	background: var(--hh-color-bg, #f8fafc);
}

body.tax-product_cat .woocommerce-products-header {
	display: none;
}

body.tax-product_cat.hh-wc-archive-styled .site-main,
body.tax-product_cat.hh-wc-archive-styled .content-area {
	max-width: none;
	padding-inline: 0;
}

.hh-wc-archive-header {
	margin-bottom: 0;
}

.hh-wc-archive-hero {
	position: relative;
	min-height: clamp(12rem, 28vw, 20rem);
	display: flex;
	align-items: flex-end;
	background: linear-gradient(135deg, #061d33 0%, #0a2d4d 55%, #123d5c 100%);
	color: #fff;
	margin-bottom: 0;
	overflow: hidden;
}

.hh-wc-archive-hero--has-image {
	background-image: var(--hh-archive-hero);
	background-size: cover;
	background-position: center;
}

.hh-wc-archive-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(6, 29, 51, 0.72) 0%,
		rgba(6, 29, 51, 0.94) 100%
	);
}

.hh-wc-archive-hero__inner {
	position: relative;
	z-index: 1;
	padding-block: clamp(1.5rem, 4vw, 2.75rem);
	max-width: 1140px;
	margin-inline: auto;
	padding-inline: 1rem;
}

/* Override .hh-scope h1/p dark text from design-system */
body.tax-product_cat .hh-wc-archive-hero .hh-scope h1,
body.tax-product_cat .hh-wc-archive-hero h1.hh-wc-archive-hero__title {
	color: #fff !important;
	margin-bottom: 0.5rem !important;
	font-size: clamp(1.5rem, 4vw, 2.35rem) !important;
	max-width: none !important;
}

body.tax-product_cat .hh-wc-archive-hero .hh-scope p,
body.tax-product_cat .hh-wc-archive-hero p.hh-wc-archive-hero__lead {
	color: rgba(255, 255, 255, 0.92) !important;
	margin-bottom: 1rem !important;
	font-size: clamp(0.9rem, 2.5vw, 1.05rem) !important;
	max-width: 40rem;
	line-height: 1.6 !important;
}

body.tax-product_cat .hh-wc-archive-hero .hh-eyebrow {
	color: rgba(201, 162, 74, 0.95) !important;
	margin-bottom: 0.35rem;
}

body.tax-product_cat .hh-wc-archive-hero .hh-landing-back a {
	color: rgba(255, 255, 255, 0.85) !important;
}

body.tax-product_cat .hh-wc-archive-hero .hh-landing-back a:hover {
	color: #fff !important;
}

.hh-wc-archive-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
}

body.tax-product_cat .hh-wc-archive-hero .hh-btn--primary {
	background: #c9a24a !important;
	border-color: #c9a24a !important;
	color: #061d33 !important;
}

body.tax-product_cat .hh-wc-archive-hero .hh-btn--primary:hover {
	background: #d4b05c !important;
	color: #061d33 !important;
}

body.tax-product_cat .hh-wc-archive-hero .hh-btn--secondary {
	background: transparent !important;
	border: 1px solid rgba(255, 255, 255, 0.75) !important;
	color: #fff !important;
}

body.tax-product_cat .hh-wc-archive-hero .hh-btn--secondary:hover {
	background: rgba(255, 255, 255, 0.12) !important;
	color: #fff !important;
}

/* Trust — uses hh-trust-cards.css */
.hh-wc-archive-trust {
	margin-bottom: 1.25rem;
}

body.tax-product_cat .woocommerce-result-count,
body.tax-product_cat .woocommerce-ordering {
	max-width: 1140px;
	margin-inline: auto;
	padding-inline: 1rem;
}

body.tax-product_cat ul.products {
	padding-inline: 1rem;
	max-width: 1140px;
	margin-inline: auto;
}

body.tax-product_cat ul.products li.product-category {
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 24px rgba(6, 29, 51, 0.08);
	background: #fff;
}

body.tax-product_cat ul.products li.product-category img {
	aspect-ratio: 1;
	object-fit: cover;
	object-position: center;
	background: #e8ecf0;
	padding: 0;
}

body.tax-product_cat ul.products li.product-category .woocommerce-loop-category__title {
	font-weight: 600;
	padding: 0.75rem 1rem 1rem;
}

body.tax-product_cat .term-description {
	display: none !important;
}

@media (max-width: 40rem) {
	.hh-wc-archive-hero {
		min-height: auto;
	}

	.hh-wc-archive-hero__actions {
		flex-direction: column;
		width: 100%;
	}

	body.tax-product_cat .hh-wc-archive-hero .hh-btn {
		width: 100%;
		justify-content: center;
		text-align: center;
	}

}
