/* Catalog archive framing; shared product visuals live in product-card.css. */
.hc-shop-page {
	margin-inline: auto;
	max-width: 84rem;
	padding: clamp(0.55rem, 1.5vw, 1rem) clamp(0.75rem, 3vw, 1.5rem) clamp(3rem, 7vw, 5rem);
}

.hc-shop-page .woocommerce-breadcrumb {
	margin: 0 0 0.65rem;
}

.hc-shop-intro {
	margin: 0 auto 1rem;
	max-width: 48rem;
	text-align: center;
}

.hc-shop-intro .hc-eyebrow,
.hc-shop-empty .hc-eyebrow {
	color: var(--hc-color-forest);
	font-size: 0.73rem;
	font-weight: 700;
	letter-spacing: 0.13em;
	line-height: 1.4;
	margin: 0 0 0.45rem;
}

.hc-shop-intro h1 {
	color: var(--hc-color-brown);
	font-size: clamp(1.65rem, 4.4vw, 2.7rem);
	line-height: 1.12;
	margin: 0 auto 0.55rem;
}

.hc-shop-description {
	color: var(--hc-color-text-muted);
	font-size: clamp(0.95rem, 1.5vw, 1.05rem);
	line-height: 1.55;
	margin-inline: auto;
	max-width: 42rem;
}

.hc-shop-description > :last-child {
	margin-bottom: 0;
}

.hc-category-nav {
	align-items: center;
	display: flex;
	gap: 0.55rem;
	margin: 0 0 1.35rem;
	overflow-x: auto;
	overscroll-behavior-inline: contain;
	padding: 0.2rem 0 0.65rem;
	scrollbar-width: thin;
}

.hc-category-nav a {
	background: var(--hc-color-white);
	border: 1px solid var(--hc-color-border);
	border-radius: 99px;
	color: var(--hc-color-brown) !important;
	display: inline-flex;
	flex: 0 0 auto;
	font-size: 0.87rem;
	font-weight: 600;
	justify-content: center;
	min-height: 2.7rem;
	padding: 0.55rem 0.9rem;
	text-decoration: none;
}

.hc-category-nav a:hover,
.hc-category-nav a:focus-visible,
.hc-category-nav a.is-active {
	background: var(--hc-color-forest);
	border-color: var(--hc-color-forest);
	color: var(--hc-color-white) !important;
}

.hc-category-nav a:focus-visible,
.hc-shop-page :is(a, button, select):focus-visible {
	outline: 3px solid var(--hc-color-honey);
	outline-offset: 3px;
}

.hc-shop-toolbar {
	align-items: center;
	border-block: 1px solid var(--hc-color-border);
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem 1rem;
	justify-content: space-between;
	margin: 0 0 1rem;
	padding: 0.75rem 0;
}

.hc-shop-toolbar .woocommerce-result-count {
	color: var(--hc-color-text-muted);
	font-size: 0.9rem;
	margin: 0;
}

.hc-shop-toolbar .woocommerce-ordering {
	float: none;
	margin: 0;
}

.hc-shop-toolbar .woocommerce-ordering select {
	font-size: 0.9rem;
	min-height: 2.75rem;
	width: auto;
}

.hc-shop-page ul.products,
.hc-product-search-page ul.products {
	display: grid;
	gap: 0.85rem;
	grid-template-columns: minmax(0, 1fr);
	margin: 0;
}

.hc-shop-page ul.products::before,
.hc-shop-page ul.products::after,
.hc-product-search-page ul.products::before,
.hc-product-search-page ul.products::after {
	content: none;
}

.hc-shop-page ul.products li.product,
.hc-product-search-page ul.products li.product {
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	float: none;
	margin: 0;
	overflow: visible;
	padding: 0;
	width: auto;
}

.hc-shop-empty {
	background: var(--hc-color-cream);
	border: 1px solid var(--hc-color-border);
	border-radius: var(--hc-radius-card);
	margin: clamp(1.5rem, 5vw, 3rem) auto;
	max-width: 42rem;
	padding: clamp(1.4rem, 5vw, 2.5rem);
	text-align: center;
}

.hc-shop-empty h2 {
	color: var(--hc-color-brown);
	font-size: clamp(1.4rem, 4vw, 2rem);
	line-height: 1.2;
	margin: 0 0 0.55rem;
}

.hc-shop-empty > p:not(.hc-eyebrow) {
	color: var(--hc-color-text-muted);
	line-height: 1.55;
	margin: 0 auto 1.2rem;
	max-width: 32rem;
}

.hc-shop-empty .hc-button {
	min-height: 2.9rem;
}

.hc-shop-page nav.woocommerce-pagination {
	margin-top: 2rem;
}

@media (min-width: 22rem) {
	.hc-shop-page ul.products,
	.hc-product-search-page ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 40rem) {
	.hc-shop-page ul.products,
	.hc-product-search-page ul.products {
		gap: 1.1rem;
	}
}

@media (min-width: 64rem) {
	.hc-shop-page ul.products,
	.hc-product-search-page ul.products {
		gap: 1.3rem;
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 80rem) {
	.hc-shop-page ul.products,
	.hc-product-search-page ul.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 26rem) {
	.hc-shop-toolbar {
		align-items: flex-start;
		flex-direction: column;
	}

	.hc-shop-toolbar .woocommerce-ordering,
	.hc-shop-toolbar .woocommerce-ordering select {
		max-width: 100%;
		width: 100%;
	}
}
