.shop-archive.site-main {
	min-height: 60vh;
	padding-block: var(--fc-space-3) var(--fc-space-5);
}

.shop-archive__inner {
	min-width: 0;
}

/*
 * Breadcrumb. The family is stated explicitly so the computed type stays
 * 0.86rem / 1.4 whatever WooCommerce or a generic heading rule inherits into
 * this row, and the links use the neutral text tone: brand green carries
 * hierarchy on this page, copper the accents, neutral the navigation copy.
 */
.shop-archive .shop-archive__breadcrumb {
	display: flex;
	flex-wrap: wrap;
	gap: var(--fc-space-1);
	align-items: center;
	margin: 0 0 var(--fc-space-3);
	color: var(--fc-text-muted);
	font-family: var(--fc-font-body);
	font-size: 0.86rem;
	line-height: 1.4;
}

.shop-archive .shop-archive__breadcrumb a {
	color: var(--fc-text);
	font-weight: 700;
	text-decoration: none;
}

.shop-archive__breadcrumb-separator {
	color: var(--fc-brand-accent);
}

.shop-archive__header {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--fc-space-4);
	align-items: center;
	padding-block: var(--fc-space-2) var(--fc-space-4);
	border-bottom: 1px solid var(--fc-border);
}

.shop-archive__header--has-media {
	grid-template-columns: minmax(0, 1fr) minmax(14rem, 20rem);
}

.shop-archive__header-content {
	min-width: 0;
	max-width: var(--fc-container-content);
}

.shop-archive__eyebrow {
	margin: 0 0 var(--fc-space-1);
	color: var(--fc-brand-accent);
	font-size: 0.78rem;
	font-weight: 800;
	line-height: 1.3;
	text-transform: uppercase;
}

.shop-archive__title {
	margin: 0;
	color: var(--fc-brand-primary);
	font-size: 3rem;
	line-height: 1.05;
	overflow-wrap: anywhere;
	text-wrap: balance;
}

.shop-archive__term-count {
	display: inline-flex;
	align-items: center;
	min-height: 2.25rem;
	margin: var(--fc-space-2) 0 0;
	padding-inline: var(--fc-space-2);
	border: 1px solid var(--fc-border);
	border-radius: var(--fc-radius-pill);
	color: var(--fc-text-muted);
	background: var(--fc-surface);
	font-size: 0.84rem;
	font-weight: 800;
	line-height: 1.2;
}

.shop-archive__description {
	margin-top: var(--fc-space-2);
	color: var(--fc-text-muted);
	line-height: 1.7;
}

.shop-archive__description > :first-child,
.shop-archive__description .term-description > :first-child,
.shop-archive__description .page-description > :first-child {
	margin-top: 0;
}

.shop-archive__description > :last-child,
.shop-archive__description .term-description > :last-child,
.shop-archive__description .page-description > :last-child {
	margin-bottom: 0;
}

.shop-archive__header-media {
	aspect-ratio: 4 / 3;
	margin: 0;
	overflow: hidden;
	border: 1px solid var(--fc-border);
	border-radius: var(--fc-radius-lg);
	background: var(--fc-surface);
}

.shop-archive__header-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.shop-categories {
	padding-block: var(--fc-space-4);
	border-bottom: 1px solid var(--fc-border);
}

.shop-categories__heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	margin-bottom: var(--fc-space-3);
}

.shop-categories__title {
	margin: 0;
	color: var(--fc-brand-primary);
	font-size: 1.65rem;
	line-height: 1.15;
}

.shop-categories__grid {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: min(16rem, calc(100% - var(--fc-space-3)));
	gap: var(--fc-space-2);
	margin: 0;
	padding: 0 0 var(--fc-space-1);
	overflow-x: auto;
	overscroll-behavior-inline: contain;
	scroll-padding-inline: 0;
	scroll-snap-type: inline mandatory;
	list-style: none;
	-webkit-overflow-scrolling: touch;
}

.shop-categories__item {
	min-width: 0;
	scroll-snap-align: start;
	scroll-snap-stop: always;
}

.shop-categories__link {
	display: flex;
	height: 5rem;
	min-width: 0;
	flex-direction: row;
	overflow: hidden;
	border: 1px solid var(--fc-border);
	border-radius: var(--fc-radius-md);
	color: inherit;
	background: var(--fc-surface);
	text-decoration: none;
	transition: border-color 160ms ease, transform 160ms ease;
}

.shop-categories__link--without-image {
	justify-content: center;
	min-height: 5rem;
}

.shop-categories__media {
	width: 5rem;
	height: 100%;
	flex: 0 0 5rem;
	overflow: hidden;
	border-inline-end: 1px solid var(--fc-border);
	background: var(--fc-background);
}

.shop-categories__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 160ms ease;
}

.shop-categories__content {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	grid-template-rows: auto auto;
	column-gap: var(--fc-space-2);
	align-content: center;
	flex: 1 1 auto;
	min-width: 0;
	padding: var(--fc-space-1) var(--fc-space-2);
}

.shop-categories__name {
	display: -webkit-box;
	grid-column: 1;
	max-height: 2.6em;
	margin: 0;
	overflow: hidden;
	color: var(--fc-brand-primary);
	font-size: 1rem;
	line-height: 1.3;
	overflow-wrap: anywhere;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.shop-categories__count {
	grid-column: 1;
	margin-top: var(--fc-space-1);
	color: var(--fc-text-muted);
	font-size: 0.8rem;
	font-weight: 700;
	line-height: 1.2;
}

.shop-categories__arrow {
	grid-column: 2;
	grid-row: 1 / span 2;
	align-self: center;
	color: var(--fc-brand-accent);
	font-size: 1.2rem;
}

.shop-archive__toolbar {
	display: flex;
	gap: var(--fc-space-2);
	align-items: center;
	justify-content: space-between;
	min-height: 4.75rem;
	padding-block: var(--fc-space-2);
	border-bottom: 1px solid var(--fc-border);
}

.shop-archive__toolbar-results,
.shop-archive__toolbar-ordering {
	min-width: 0;
}

.woocommerce .shop-archive__toolbar .woocommerce-result-count,
.woocommerce-page .shop-archive__toolbar .woocommerce-result-count,
.woocommerce .shop-archive__toolbar .woocommerce-ordering,
.woocommerce-page .shop-archive__toolbar .woocommerce-ordering {
	float: none;
	margin: 0;
}

.shop-archive__toolbar .woocommerce-result-count {
	color: var(--fc-text-muted);
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.4;
}

.shop-archive__toolbar .woocommerce-ordering select {
	width: auto;
	max-width: 100%;
	min-height: 2.75rem;
	padding: var(--fc-space-1) var(--fc-space-3) var(--fc-space-1) var(--fc-space-2);
	border: 1px solid var(--fc-border);
	border-radius: var(--fc-radius-pill);
	background: var(--fc-surface);
	font: inherit;
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.2;
}

/*
 * Control copy joins the neutral hierarchy with the breadcrumb and the term
 * count. The global form system (forms.css, ADR-011) already reaches this
 * select at three classes, so the page states its tone at the same weight —
 * this sheet loads after forms.css, which settles it without an !important
 * and without inventing a heavier selector.
 */
.shop-archive .shop-archive__toolbar .woocommerce-ordering select {
	color: var(--fc-text);
}

/*
 * The toolbar closes with a rule; the grid needs more air below that rule than
 * the toolbar has above it, or the line reads as belonging to the first row of
 * cards instead of to the controls it summarises. Spacing only — the grid's own
 * track sizing, the sort control and the catalog query are untouched.
 */
.woocommerce .shop-archive ul.products.site-product-grid {
	margin-top: var(--fc-space-4);
}

.shop-archive ul.products > li.product-category {
	display: none;
}

.shop-archive .woocommerce-pagination {
	margin-top: var(--fc-space-4);
}

.woocommerce .shop-archive .woocommerce-pagination ul.page-numbers,
.woocommerce-page .shop-archive .woocommerce-pagination ul.page-numbers {
	display: flex;
	flex-wrap: wrap;
	gap: var(--fc-space-1);
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0;
	border: 0;
	list-style: none;
}

.woocommerce .shop-archive .woocommerce-pagination ul.page-numbers li,
.woocommerce-page .shop-archive .woocommerce-pagination ul.page-numbers li {
	float: none;
	margin: 0;
	border: 0;
}

.shop-archive .woocommerce-pagination li > .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.75rem;
	min-height: 2.75rem;
	padding: var(--fc-space-1);
	border: 1px solid var(--fc-border);
	border-radius: var(--fc-radius-pill);
	color: var(--fc-brand-secondary);
	background: var(--fc-surface);
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
}

.shop-archive .woocommerce-pagination li > .page-numbers.current {
	border-color: var(--fc-brand-primary);
	color: var(--fc-surface);
	background: var(--fc-brand-primary);
}

.shop-archive__empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-block: var(--fc-space-5);
	border-bottom: 1px solid var(--fc-border);
	text-align: center;
}

.shop-archive__empty-title {
	margin: 0;
	color: var(--fc-brand-primary);
	font-size: 1.75rem;
	line-height: 1.2;
}

.shop-archive__empty-text {
	max-width: var(--fc-container-content);
	margin: var(--fc-space-2) 0 0;
	color: var(--fc-text-muted);
}

.shop-archive__empty-search {
	width: min(100%, 28rem);
	margin-top: var(--fc-space-3);
}

.shop-archive__empty-action {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.75rem;
	margin-top: var(--fc-space-2);
	padding-inline: var(--fc-space-3);
	border: 1px solid var(--fc-brand-primary);
	border-radius: var(--fc-radius-pill);
	color: var(--fc-surface);
	background: var(--fc-brand-primary);
	font-weight: 800;
	line-height: 1.2;
	text-decoration: none;
}

.shop-archive__breadcrumb a:focus-visible,
.shop-categories__link:focus-visible,
.shop-archive__toolbar select:focus-visible,
.shop-archive .woocommerce-pagination a:focus-visible,
.shop-archive__empty input:focus-visible,
.shop-archive__empty button:focus-visible,
.shop-archive__empty-action:focus-visible {
	outline: 2px solid var(--fc-brand-accent);
	outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
	.shop-archive .shop-archive__breadcrumb a:hover {
		color: var(--fc-text);
		text-decoration: underline;
	}

	.shop-categories__link:hover {
		border-color: var(--fc-brand-primary);
		transform: translateY(-2px);
	}

	.shop-categories__link:hover .shop-categories__image {
		transform: scale(1.035);
	}

	.shop-archive .woocommerce-pagination li > a.page-numbers:hover {
		border-color: var(--fc-brand-primary);
		color: var(--fc-brand-primary);
		background: var(--fc-background);
	}

	.shop-archive__empty-action:hover {
		border-color: var(--fc-brand-secondary);
		background: var(--fc-brand-secondary);
	}
}

/*
 * Desktop page head, aligned with the Blog archive baseline.
 *
 * Blog inherits the generic .site-main 3rem top padding; this page reduced it
 * locally, so its breadcrumb and H1 jumped upward when moving between the two.
 * The desktop top step is restored here and the breadcrumb-to-H1 transition
 * becomes one spacing step instead of breadcrumb margin plus header padding.
 * Mobile spacing stays page-specific and unchanged.
 */
@media (min-width: 769px) {
	.shop-archive.site-main {
		padding-block-start: var(--fc-space-5, 3rem);
	}

	.shop-archive .shop-archive__breadcrumb {
		margin-bottom: var(--fc-space-2);
	}

	.shop-archive__header {
		padding-block-start: 0;
	}
}

@media (min-width: 768px) {
	.shop-categories__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		grid-auto-flow: row;
		grid-auto-columns: auto;
		padding-bottom: 0;
		overflow-x: visible;
		overscroll-behavior-inline: auto;
		scroll-snap-type: none;
	}

	.shop-categories__item {
		scroll-snap-align: none;
		scroll-snap-stop: normal;
	}

	.shop-categories__link,
	.shop-categories__link--without-image {
		height: 5.5rem;
		min-height: 5.5rem;
	}

	.shop-categories__media {
		width: 5.5rem;
		flex-basis: 5.5rem;
	}
}

@media (min-width: 1100px) {
	.shop-categories__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 860px) {
	.shop-archive__header--has-media {
		grid-template-columns: minmax(0, 1fr);
	}

	.shop-archive__header-media {
		width: min(100%, 28rem);
	}

	.shop-archive__title {
		font-size: 2.25rem;
	}
}

@media (max-width: 767px) {
	.shop-archive.site-main {
		padding-block: var(--fc-space-2) var(--fc-space-4);
	}

	.shop-archive__header {
		gap: var(--fc-space-3);
		padding-bottom: var(--fc-space-3);
	}

	.shop-archive__toolbar {
		align-items: stretch;
		flex-direction: column;
	}

	.shop-archive__toolbar-ordering,
	.shop-archive__toolbar .woocommerce-ordering,
	.shop-archive__toolbar .woocommerce-ordering select {
		width: 100%;
	}

	.shop-archive__empty {
		padding-block: var(--fc-space-4);
	}

	/* The stacked toolbar is already tall on a phone; one step less air. */
	.woocommerce .shop-archive ul.products.site-product-grid {
		margin-top: var(--fc-space-3);
	}
}

@media (max-width: 359px) {
	.shop-archive__title {
		font-size: 2rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.shop-categories__link,
	.shop-categories__image {
		transition: none;
	}
}