:root {
	--spx-store-archive-shell-width: min(1400px, calc(100% - 2rem));
	--spx-store-archive-shell-width-mobile: calc(100% - 1rem);
	--spx-store-archive-pill-height: 42px;
}

.spx-store-archive {
	padding: 1.45rem 0 4rem;
	background: var(--spx-color-surface);
}

.spx-store-archive > * {
	margin-block-start: 0 !important;
}

.spx-store-archive__shell,
.spx-store-archive__collection,
.spx-store-archive__pagination,
.spx-store-archive__empty {
	width: var(--spx-store-archive-shell-width);
	margin-left: auto !important;
	margin-right: auto !important;
}

.spx-store-archive__shell--hero {
	display: grid;
	gap: 1.5rem;
}

.spx-store-archive__hero {
	display: grid;
	gap: 0.65rem;
}

.spx-store-archive__eyebrow {
	margin: 0;
	color: rgba(17, 17, 17, 0.58);
	font-size: 0.74rem;
	font-weight: 800;
	letter-spacing: 0.24em;
	line-height: 1.15;
	text-transform: uppercase;
}

.spx-store-archive__title {
	margin: 0;
	color: #0f1113;
	font-family: var(--spx-font-family-heading);
	font-size: clamp(2.2rem, 1.55rem + 3vw, 4.45rem);
	font-weight: 800;
	letter-spacing: -0.065em;
	line-height: 0.94;
	text-transform: uppercase;
}

.spx-store-archive__intro,
.spx-store-archive__taxonomy-copy {
	max-width: 44rem;
	margin: 0;
	color: var(--spx-color-text-muted);
	font-size: 1rem;
	line-height: 1.55;
}

.spx-store-archive__taxonomy-copy:empty {
	display: none;
}

.spx-store-archive__quick-nav {
	width: 100%;
}

.spx-store-archive__quick-nav .wp-block-navigation__container {
	display: flex;
	flex-wrap: nowrap;
	gap: 0.65rem;
	overflow-x: auto;
	padding-bottom: 0.2rem;
	scrollbar-width: none;
}

.spx-store-archive__quick-nav .wp-block-navigation__container::-webkit-scrollbar {
	display: none;
}

.spx-store-archive__quick-nav .wp-block-navigation-item {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
}

.spx-store-archive__quick-nav .wp-block-navigation-item__content {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: var(--spx-store-archive-pill-height);
	padding: 0 1.2rem;
	border: 1px solid rgba(17, 17, 17, 0.16);
	border-radius: 999px;
	background: #ffffff;
	color: #111111;
	font-size: 0.82rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
	white-space: nowrap;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.spx-store-archive__quick-nav .wp-block-navigation-item__content:hover,
.spx-store-archive__quick-nav .wp-block-navigation-item__content:focus-visible {
	border-color: #111111;
	background: rgba(17, 17, 17, 0.04);
	outline: none;
	transform: translateY(-1px);
}

.spx-store-archive__quick-nav .current-menu-item > .wp-block-navigation-item__content,
.spx-store-archive__quick-nav .current_page_item > .wp-block-navigation-item__content,
.spx-store-archive__quick-nav .wp-block-navigation-item__content[aria-current="page"] {
	border-color: #111111;
	background: #111111;
	color: #ffffff;
}

.spx-store-archive__toolbar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 1.25rem;
}

.spx-store-archive__toolbar-meta,
.spx-store-archive__toolbar-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.9rem;
}

.spx-store-archive__results-count,
.spx-store-archive__results-count p {
	margin: 0;
	color: rgba(17, 17, 17, 0.74);
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.3;
	text-transform: uppercase;
}

.spx-store-archive__active-filters {
	display: contents;
}

.spx-store-archive__active-filters .wc-block-active-filters {
	display: flex;
	align-items: center;
}

.spx-store-archive__active-filters .wc-block-active-filters__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.spx-store-archive__active-filters .wc-block-components-removable-chip,
.spx-store-archive__active-filters .wc-block-active-filters__list-item-name {
	border-radius: 999px;
	background: rgba(17, 17, 17, 0.06);
	color: #111111;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.spx-store-archive__active-filters .wc-block-active-filters__clear-all {
	padding: 0;
	border: 0;
	background: transparent;
	color: rgba(17, 17, 17, 0.78);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1;
	text-transform: uppercase;
}

.spx-store-archive__view-all .wp-block-button__link {
	min-height: auto;
	padding: 0.2rem 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: #111111;
	font-size: 0.86rem;
	font-weight: 800;
	letter-spacing: 0.18em;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
	box-shadow: inset 0 -1px 0 currentColor;
}

.spx-store-archive__view-all .wp-block-button__link:hover,
.spx-store-archive__view-all .wp-block-button__link:focus-visible {
	background: transparent;
	color: #111111;
	opacity: 0.7;
	outline: none;
}

.spx-store-archive__sorting,
.spx-store-archive__sorting form {
	margin: 0;
}

.spx-store-archive__sorting select,
.spx-store-archive__sorting .wc-block-catalog-sorting__select,
.spx-store-archive__sorting .orderby {
	min-height: 44px;
	padding: 0 2.6rem 0 1rem;
	border: 1px solid rgba(17, 17, 17, 0.16);
	border-radius: 999px;
	background: #ffffff;
	color: #111111;
	font-size: 0.86rem;
	font-weight: 700;
	line-height: 1;
	box-shadow: none;
}

.spx-store-archive__collection {
	margin-top: 1.6rem !important;
}

.spx-store-archive__collection .wc-block-product-template {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem 1.3rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.spx-store-archive__collection .wc-block-product {
	margin: 0;
	list-style: none;
}

.spx-store-archive__card {
	display: grid;
	gap: 0.9rem;
	height: 100%;
}

.spx-store-archive__media-shell {
	position: relative;
	overflow: hidden;
	border-radius: 1.35rem;
	background: var(--spx-color-surface-soft);
	aspect-ratio: 4 / 5;
}

.spx-store-archive__favorite {
	position: absolute;
	top: 1rem;
	right: 1rem;
	z-index: 3;
	display: inline-flex;
	width: 42px;
	height: 42px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	box-shadow: 0 10px 26px rgba(17, 17, 17, 0.1);
}

.spx-store-archive__favorite::before {
	content: "";
	display: block;
	width: 18px;
	height: 18px;
	margin: auto;
	background-color: #111111;
	mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12.1 20.3l-.1-.1C7.1 15.7 4 12.9 4 9.5 4 7 6 5 8.5 5c1.7 0 3.4.8 4.5 2.1C14.1 5.8 15.8 5 17.5 5 20 5 22 7 22 9.5c0 3.4-3.1 6.2-8 10.7l-.1.1-.9.8-.9-.8zm5.4-13.8c-1.4 0-2.8.9-3.3 2.2h-1.4C12.3 7.4 10.9 6.5 9.5 6.5c-1.7 0-3 1.3-3 3 0 2.7 2.7 5.2 6.5 8.8 3.8-3.5 6.5-6 6.5-8.8 0-1.7-1.3-3-3-3z'/%3E%3C/svg%3E");
	mask-repeat: no-repeat;
	mask-position: center;
	mask-size: contain;
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12.1 20.3l-.1-.1C7.1 15.7 4 12.9 4 9.5 4 7 6 5 8.5 5c1.7 0 3.4.8 4.5 2.1C14.1 5.8 15.8 5 17.5 5 20 5 22 7 22 9.5c0 3.4-3.1 6.2-8 10.7l-.1.1-.9.8-.9-.8zm5.4-13.8c-1.4 0-2.8.9-3.3 2.2h-1.4C12.3 7.4 10.9 6.5 9.5 6.5c-1.7 0-3 1.3-3 3 0 2.7 2.7 5.2 6.5 8.8 3.8-3.5 6.5-6 6.5-8.8 0-1.7-1.3-3-3-3z'/%3E%3C/svg%3E");
	-webkit-mask-repeat: no-repeat;
	-webkit-mask-position: center;
	-webkit-mask-size: contain;
}

.spx-store-archive__media-shell .wc-block-components-product-image,
.spx-store-archive__media-shell .wc-block-components-product-image a,
.spx-store-archive__media-shell .wc-block-components-product-image img,
.spx-store-archive__media-shell .wc-block-components-product-image .wc-block-components-product-image__image {
	display: block;
	width: 100%;
	height: 100%;
}

.spx-store-archive__media-shell img {
	object-fit: cover;
	transition: transform 0.35s ease;
}

.spx-store-archive__card:hover .spx-store-archive__media-shell img,
.spx-store-archive__card:focus-within .spx-store-archive__media-shell img {
	transform: scale(1.03);
}

.spx-store-archive__media-shell .wc-block-components-product-sale-badge {
	position: absolute;
	left: 1rem;
	bottom: 1rem;
	z-index: 2;
	margin: 0;
	padding: 0.42rem 0.65rem;
	border: 0;
	border-radius: 0.45rem;
	background: #ffffff;
	color: #111111;
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	line-height: 1;
	text-transform: uppercase;
	box-shadow: 0 10px 22px rgba(17, 17, 17, 0.08);
}

.spx-store-archive__card-copy {
	display: grid;
	gap: 0.42rem;
	padding: 0 0.05rem;
}

.spx-store-archive__product-title,
.spx-store-archive__product-title a {
	margin: 0;
	color: #111111;
	font-family: var(--spx-font-family-heading);
	font-size: 0.92rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	line-height: 1.22;
	text-decoration: none;
	text-transform: uppercase;
}

.spx-store-archive__product-title a:hover,
.spx-store-archive__product-title a:focus-visible {
	opacity: 0.7;
	outline: none;
}

.spx-store-archive__product-summary {
	margin: 0;
	color: var(--spx-color-text-muted);
	font-size: 0.92rem;
	line-height: 1.45;
}

.spx-store-archive__product-summary .wp-block-post-excerpt__excerpt {
	margin: 0;
}

.spx-store-archive__product-summary .wp-block-post-excerpt__more-text {
	display: none;
}

.spx-store-archive__product-price,
.spx-store-archive__product-price .wc-block-components-product-price {
	margin: 0;
	color: #111111;
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.2;
}

.spx-store-archive__product-button .wp-block-button__link,
.spx-store-archive__product-button .wc-block-components-product-button__button,
.spx-store-archive__product-button .add_to_cart_button,
.spx-store-archive__product-button a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 1rem;
	border-radius: 999px;
	background: #111111;
	color: #ffffff;
	font-size: 0.84rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	line-height: 1;
	text-decoration: none;
	text-transform: uppercase;
	transition: opacity 0.24s ease, transform 0.24s ease, background-color 0.24s ease;
}

@media (min-width: 900px) {
	.spx-store-archive__product-button .wp-block-button__link,
	.spx-store-archive__product-button .wc-block-components-product-button__button,
	.spx-store-archive__product-button .add_to_cart_button,
	.spx-store-archive__product-button a {
		opacity: 0;
		transform: translateY(6px);
		pointer-events: none;
	}

	.spx-store-archive__card:hover .spx-store-archive__product-button .wp-block-button__link,
	.spx-store-archive__card:hover .spx-store-archive__product-button .wc-block-components-product-button__button,
	.spx-store-archive__card:hover .spx-store-archive__product-button .add_to_cart_button,
	.spx-store-archive__card:hover .spx-store-archive__product-button a,
	.spx-store-archive__card:focus-within .spx-store-archive__product-button .wp-block-button__link,
	.spx-store-archive__card:focus-within .spx-store-archive__product-button .wc-block-components-product-button__button,
	.spx-store-archive__card:focus-within .spx-store-archive__product-button .add_to_cart_button,
	.spx-store-archive__card:focus-within .spx-store-archive__product-button a {
		opacity: 1;
		transform: translateY(0);
		pointer-events: auto;
	}
}

.spx-store-archive__product-button .wp-block-button__link:hover,
.spx-store-archive__product-button .wp-block-button__link:focus-visible,
.spx-store-archive__product-button .wc-block-components-product-button__button:hover,
.spx-store-archive__product-button .wc-block-components-product-button__button:focus-visible,
.spx-store-archive__product-button .add_to_cart_button:hover,
.spx-store-archive__product-button .add_to_cart_button:focus-visible,
.spx-store-archive__product-button a:hover,
.spx-store-archive__product-button a:focus-visible {
	background: rgba(17, 17, 17, 0.86);
	color: #ffffff;
	outline: none;
}

.spx-store-archive__pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	margin-top: 2rem !important;
}

.spx-store-archive__pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 0.85rem;
	border: 1px solid rgba(17, 17, 17, 0.16);
	border-radius: 999px;
	background: #ffffff;
	color: #111111;
	font-size: 0.84rem;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
}

.spx-store-archive__pagination .page-numbers.current,
.spx-store-archive__pagination .page-numbers:hover,
.spx-store-archive__pagination .page-numbers:focus-visible {
	border-color: #111111;
	background: #111111;
	color: #ffffff;
	outline: none;
}

.spx-store-archive__empty {
	margin-top: 2rem !important;
}

.spx-store-archive__empty > * {
	margin-top: 0 !important;
}

@media (max-width: 1099.98px) {
	.spx-store-archive__collection .wc-block-product-template {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 781.98px) {
	.spx-store-archive {
		padding-top: 1rem;
		padding-bottom: 3rem;
	}

	.spx-store-archive__shell,
	.spx-store-archive__collection,
	.spx-store-archive__pagination,
	.spx-store-archive__empty {
		width: var(--spx-store-archive-shell-width-mobile);
	}

	.spx-store-archive__title {
		font-size: clamp(1.85rem, 8vw, 3rem);
	}

	.spx-store-archive__toolbar-actions {
		width: 100%;
		justify-content: space-between;
	}
}

@media (max-width: 599.98px) {
	.spx-store-archive__quick-nav .wp-block-navigation__container {
		gap: 0.55rem;
	}

	.spx-store-archive__quick-nav .wp-block-navigation-item__content {
		min-height: 40px;
		padding-right: 1rem;
		padding-left: 1rem;
		font-size: 0.76rem;
	}

	.spx-store-archive__toolbar {
		gap: 0.8rem;
	}

	.spx-store-archive__toolbar-actions,
	.spx-store-archive__toolbar-meta {
		width: 100%;
	}

	.spx-store-archive__toolbar-actions {
		justify-content: space-between;
	}

	.spx-store-archive__sorting {
		flex: 1 1 auto;
	}

	.spx-store-archive__sorting select,
	.spx-store-archive__sorting .wc-block-catalog-sorting__select,
	.spx-store-archive__sorting .orderby {
		width: 100%;
	}

	.spx-store-archive__collection .wc-block-product-template {
		grid-template-columns: minmax(0, 1fr);
		gap: 1.3rem;
	}

	.spx-store-archive__favorite {
		top: 0.85rem;
		right: 0.85rem;
		width: 38px;
		height: 38px;
	}

	.spx-store-archive__media-shell .wc-block-components-product-sale-badge {
		left: 0.85rem;
		bottom: 0.85rem;
	}
}
