.spx-project-catalog {
	--spx-catalog-primary: var(--wp--preset--color--spx-primary, #ec1d83);
	--spx-catalog-primary-dark: var(--wp--preset--color--spx-primary-strong, #e40068);
	--spx-catalog-ink: var(--wp--preset--color--spx-ink, #171016);
	--spx-catalog-muted: var(--wp--preset--color--spx-muted-foreground, #756971);
	--spx-catalog-soft: var(--wp--preset--color--spx-soft, #fff4fa);
	--spx-catalog-surface: var(--wp--preset--color--base, #ffffff);
	--spx-catalog-border: rgba(23, 16, 22, 0.1);
	--spx-catalog-shadow: 0 14px 36px rgba(236, 29, 131, 0.1);
	box-sizing: border-box;
	color: var(--spx-catalog-ink);
	font-family: var(--wp--preset--font-family--spx-base, inherit);
	margin-left: auto !important;
	margin-right: auto !important;
	max-width: var(--wp--style--global--wide-size, 1536px);
	padding: clamp(1.5rem, 3vw, 2rem) clamp(1.25rem, 4.2vw, 4rem) clamp(4rem, 7vw, 5.5rem);
	width: 100%;
}

.spx-project-catalog,
.spx-project-catalog * {
	box-sizing: border-box;
}

.spx-project-catalog a {
	color: inherit;
	text-decoration: none;
}

.spx-project-catalog svg {
	display: block;
	fill: none;
	height: 1em;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2;
	width: 1em;
}

.spx-project-catalog__notice,
.spx-project-catalog__empty {
	background: var(--spx-catalog-surface);
	border: 1px solid var(--spx-catalog-border);
	border-radius: 1.5rem;
	box-shadow: var(--spx-catalog-shadow);
	padding: 2rem;
}

.spx-project-catalog__breadcrumbs {
	align-items: center;
	color: var(--spx-catalog-muted);
	display: flex;
	flex-wrap: wrap;
	font-size: 0.82rem;
	gap: 0.45rem;
	margin: 0 0 1.2rem;
}

.spx-project-catalog__breadcrumbs a:hover,
.spx-project-catalog__breadcrumbs strong {
	color: var(--spx-catalog-ink);
}

.spx-project-catalog__intro {
	align-items: end;
	display: grid;
	gap: 1.25rem;
	grid-template-columns: minmax(16rem, 1fr) minmax(18rem, 36rem);
	margin-bottom: 1.75rem;
}

.spx-project-catalog__title {
	font-family: var(--wp--preset--font-family--spx-heading, inherit);
	font-size: clamp(2.25rem, 3.2vw, 2.85rem);
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1;
	margin: 0;
}

.spx-project-catalog__count {
	color: var(--spx-catalog-muted);
	font-size: 1rem;
	margin: 0.45rem 0 0;
}

.spx-project-catalog__search {
	align-items: center;
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid var(--spx-catalog-border);
	border-radius: 999px;
	display: flex;
	gap: 0.65rem;
	min-height: 46px;
	padding: 0.25rem 0.75rem 0.25rem 1rem;
	transition: border-color 160ms ease, box-shadow 160ms ease;
	width: 100%;
}

.spx-project-catalog__search:focus-within {
	border-color: color-mix(in srgb, var(--spx-catalog-primary) 55%, white);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--spx-catalog-primary) 16%, transparent);
}

.spx-project-catalog__search > svg {
	color: var(--spx-catalog-muted);
	flex: 0 0 auto;
	font-size: 1.05rem;
}

.spx-project-catalog__search input[type="search"] {
	-webkit-appearance: none;
	background: transparent;
	border: 0;
	box-shadow: none;
	color: var(--spx-catalog-ink);
	flex: 1 1 auto;
	font: inherit;
	font-size: 0.98rem;
	min-height: 34px;
	min-width: 0;
	outline: 0;
	padding: 0;
}

.spx-project-catalog__search input[type="search"]::placeholder {
	color: #857982;
	opacity: 1;
}

.spx-project-catalog__clear-search {
	align-items: center;
	border-radius: 999px;
	color: var(--spx-catalog-ink);
	display: inline-flex;
	flex: 0 0 auto;
	height: 32px;
	justify-content: center;
	width: 32px;
}

.spx-project-catalog__layout {
	display: grid;
	gap: 2rem;
	grid-template-columns: 280px minmax(0, 1fr);
}

.spx-project-catalog__layout--no-filters {
	grid-template-columns: 1fr;
}

.spx-project-catalog__sidebar {
	min-width: 0;
}

.spx-project-catalog__filters-card {
	background: var(--spx-catalog-surface);
	border: 1px solid var(--spx-catalog-border);
	border-radius: 1.45rem;
	box-shadow: var(--spx-catalog-shadow);
	margin: 0;
	max-height: calc(100dvh - 8rem);
	overflow: auto;
	padding: 1.25rem;
	position: sticky;
	top: 7rem;
}

.spx-project-catalog__filters-head {
	align-items: center;
	display: flex;
	justify-content: space-between;
	margin-bottom: 1.2rem;
}

.spx-project-catalog__filters-head h3,
.spx-project-catalog__filter-section h4 {
	font-family: var(--wp--preset--font-family--spx-heading, inherit);
	margin: 0;
}

.spx-project-catalog__filters-head h3 {
	font-size: 1.15rem;
	font-weight: 800;
}

.spx-project-catalog__filters-head a {
	color: var(--spx-catalog-primary);
	font-size: 0.82rem;
	font-weight: 700;
}

.spx-project-catalog__filter-section {
	border-bottom: 1px solid var(--spx-catalog-border);
	padding-bottom: 1.05rem;
}

.spx-project-catalog__filter-section + .spx-project-catalog__filter-section {
	padding-top: 1.05rem;
}

.spx-project-catalog__filter-section:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.spx-project-catalog__filter-section h4 {
	font-size: 0.95rem;
	font-weight: 800;
	margin-bottom: 0.65rem;
}

.spx-project-catalog__category-list {
	display: grid;
	gap: 0.15rem;
}

.spx-project-catalog__category-option {
	align-items: center;
	border-radius: 0.65rem;
	cursor: pointer;
	display: flex;
	font-size: 0.94rem;
	gap: 0.75rem;
	justify-content: space-between;
	padding: 0.38rem 0.25rem;
}

.spx-project-catalog__category-option:hover {
	background: color-mix(in srgb, var(--spx-catalog-primary) 5%, white);
}

.spx-project-catalog__category-option span {
	align-items: center;
	display: flex;
	gap: 0.55rem;
	min-width: 0;
}

.spx-project-catalog__category-option input {
	accent-color: var(--spx-catalog-primary);
	flex: 0 0 auto;
	height: 16px;
	margin: 0;
	width: 16px;
}

.spx-project-catalog__category-option small {
	color: var(--spx-catalog-muted);
	font-size: 0.78rem;
}

.spx-project-catalog__filter-section--price input[type="range"] {
	accent-color: var(--spx-catalog-primary);
	margin: 0.55rem 0 0.75rem;
	width: 100%;
}

.spx-project-catalog__price-range {
	color: var(--spx-catalog-muted);
	display: flex;
	font-size: 0.82rem;
	justify-content: space-between;
}

.spx-project-catalog__toolbar {
	align-items: center;
	background: var(--spx-catalog-surface);
	border: 1px solid var(--spx-catalog-border);
	border-radius: 1.35rem;
	box-shadow: 0 10px 28px rgba(236, 29, 131, 0.08);
	display: flex;
	gap: 0.75rem;
	margin-bottom: 1.25rem;
	min-height: 66px;
	padding: 0.7rem 0.75rem;
}

.spx-project-catalog__filters-toggle {
	align-items: center;
	background: var(--spx-catalog-primary);
	border: 0;
	border-radius: 999px;
	color: #fff;
	display: none;
	font: inherit;
	font-weight: 800;
	gap: 0.45rem;
	min-height: 40px;
	padding: 0 1rem;
}

.spx-project-catalog__chips {
	align-items: center;
	color: var(--spx-catalog-muted);
	display: flex;
	flex: 1 1 auto;
	flex-wrap: wrap;
	font-size: 0.82rem;
	gap: 0.45rem;
	min-width: 0;
}

.spx-project-catalog__chips a {
	align-items: center;
	background: color-mix(in srgb, var(--spx-catalog-primary) 8%, white);
	border-radius: 999px;
	color: var(--spx-catalog-ink);
	display: inline-flex;
	font-weight: 700;
	gap: 0.35rem;
	min-height: 32px;
	padding: 0 0.75rem;
}

.spx-project-catalog__sort {
	align-items: center;
	display: flex;
	flex: 0 0 auto;
	gap: 0.65rem;
	margin-left: auto;
}

.spx-project-catalog__sort label {
	color: var(--spx-catalog-muted);
	font-size: 0.82rem;
}

.spx-project-catalog__sort select {
	-webkit-appearance: none;
	appearance: none;
	background-color: #fff;
	border: 1px solid var(--spx-catalog-border);
	border-radius: 999px;
	color: var(--spx-catalog-ink);
	font: inherit;
	font-size: 0.92rem;
	font-weight: 600;
	min-height: 44px;
	padding: 0 2rem 0 1rem;
}

.spx-project-catalog__view-toggle {
	align-items: center;
	border: 1px solid var(--spx-catalog-border);
	border-radius: 999px;
	display: flex;
	flex: 0 0 auto;
	overflow: hidden;
	padding: 0.15rem;
}

.spx-project-catalog__view-toggle a {
	align-items: center;
	border-radius: 999px;
	color: var(--spx-catalog-ink);
	display: inline-flex;
	font-size: 1rem;
	height: 38px;
	justify-content: center;
	width: 38px;
}

.spx-project-catalog__view-toggle a.is-active {
	background: linear-gradient(135deg, var(--spx-catalog-primary), var(--spx-catalog-primary-dark));
	color: #fff;
}

.spx-project-catalog__products {
	min-width: 0;
}

.spx-project-catalog__products--grid {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.spx-project-catalog__products--list {
	display: grid;
	gap: 1rem;
}

.spx-project-catalog__product-card {
	background: var(--spx-catalog-surface);
	border: 1px solid var(--spx-catalog-border);
	border-radius: 1.5rem;
	box-shadow: var(--spx-catalog-shadow);
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
}

.spx-project-catalog__product-card--list {
	display: grid;
	grid-template-columns: minmax(12rem, 17rem) minmax(0, 1fr);
}

.spx-project-catalog__product-media {
	aspect-ratio: 1 / 1;
	background: #fff;
	display: block;
	min-width: 0;
	overflow: hidden;
	position: relative;
}

.spx-project-catalog__product-card--list .spx-project-catalog__product-media {
	aspect-ratio: auto;
	height: 100%;
	min-height: 13rem;
}

.spx-project-catalog__product-image {
	display: block;
	height: 100%;
	object-fit: cover;
	transition: transform 220ms ease;
	width: 100%;
}

.spx-project-catalog__product-card:hover .spx-project-catalog__product-image {
	transform: scale(1.035);
}

.spx-project-catalog__badges {
	align-items: flex-start;
	display: inline-flex;
	flex-direction: column;
	gap: 0.35rem;
	left: 0.8rem;
	position: absolute;
	top: 0.8rem;
	z-index: 2;
}

.spx-project-catalog__badge {
	border-radius: 999px;
	color: #fff;
	font-size: 0.68rem;
	font-weight: 800;
	line-height: 1;
	padding: 0.42rem 0.62rem;
	text-transform: uppercase;
}

.spx-project-catalog__badge--dark {
	background: var(--spx-catalog-ink);
}

.spx-project-catalog__badge--primary {
	background: linear-gradient(135deg, #f53b97, var(--spx-catalog-primary-dark));
}

.spx-project-catalog__product-body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 0.72rem;
	min-height: 12rem;
	padding: 1rem;
}

.spx-project-catalog__product-label {
	color: var(--spx-catalog-muted);
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	line-height: 1.1;
	text-transform: uppercase;
}

.spx-project-catalog__product-title {
	font-family: var(--wp--preset--font-family--spx-heading, inherit);
	font-size: 0.98rem;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.25;
	margin: 0;
	min-height: 2.5em;
}

.spx-project-catalog__product-title a {
	-webkit-box-orient: vertical;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

.spx-project-catalog__product-price {
	color: var(--spx-catalog-ink);
	font-size: 1.18rem;
	font-weight: 800;
	line-height: 1;
	margin-top: auto;
}

.spx-project-catalog__product-price del {
	color: var(--spx-catalog-muted);
	font-size: 0.75rem;
	font-weight: 500;
	margin-left: 0.35rem;
}

.spx-project-catalog__product-price ins {
	text-decoration: none;
}

.spx-project-catalog__add {
	align-items: center;
	background: linear-gradient(135deg, #f23d9c, var(--spx-catalog-primary-dark));
	border: 0;
	border-radius: 999px;
	box-shadow: none;
	color: #fff !important;
	display: inline-flex;
	font-size: 0.9rem;
	font-weight: 800;
	gap: 0.5rem;
	justify-content: center;
	line-height: 1.1;
	margin: 0;
	min-height: 44px;
	padding: 0.55rem 1rem;
	text-align: center;
	white-space: nowrap;
	width: 100%;
}

.spx-project-catalog__add svg {
	font-size: 0.95rem;
}

.spx-project-catalog__add--outline {
	background: #fff;
	border: 1px solid var(--spx-catalog-primary);
	color: var(--spx-catalog-primary) !important;
}

.spx-project-catalog__pagination {
	align-items: center;
	display: flex;
	gap: 0.55rem;
	justify-content: center;
	margin-top: 2.25rem;
	max-width: 100%;
	overflow: hidden;
	row-gap: 0.75rem;
	width: 100%;
	flex-wrap: wrap;
}

.spx-project-catalog__loading {
	align-items: center;
	color: var(--spx-catalog-muted);
	display: flex;
	font-size: 0.84rem;
	font-weight: 700;
	gap: 0.45rem;
	justify-content: center;
	margin: 1rem 0 -0.35rem;
	min-height: 1.25rem;
}

.spx-project-catalog__loading[hidden] {
	display: none;
}

.spx-project-catalog__loading-spinner {
	animation: spx-project-catalog-spin 700ms linear infinite;
	border: 2px solid color-mix(in srgb, var(--spx-catalog-primary) 24%, transparent);
	border-right-color: var(--spx-catalog-primary);
	border-radius: 50%;
	display: block;
	height: 0.9rem;
	width: 0.9rem;
}

.spx-project-catalog.is-loading .spx-project-catalog__products,
.spx-project-catalog.is-loading .spx-project-catalog__pagination {
	opacity: 0.58;
	pointer-events: none;
	transition: opacity 140ms ease;
}

@keyframes spx-project-catalog-spin {
	to {
		transform: rotate(360deg);
	}
}

.spx-project-catalog__pagination a,
.spx-project-catalog__pagination span {
	align-items: center;
	background: #fff;
	border: 1px solid var(--spx-catalog-border);
	border-radius: 999px;
	color: var(--spx-catalog-ink);
	display: inline-flex;
	flex: 0 0 auto;
	font-weight: 700;
	height: 40px;
	justify-content: center;
	line-height: 1;
	width: 40px;
}

.spx-project-catalog__pagination .is-active {
	background: var(--spx-catalog-primary);
	border-color: var(--spx-catalog-primary);
	color: #fff;
}

.spx-project-catalog__pagination .spx-project-catalog__pagination-ellipsis {
	background: transparent;
	border-color: transparent;
	color: var(--spx-catalog-muted);
	pointer-events: none;
	width: 28px;
}

.spx-project-catalog__pagination [aria-disabled="true"],
.spx-project-catalog__pagination .is-disabled {
	color: var(--spx-catalog-muted);
	opacity: 0.45;
	pointer-events: none;
}

.spx-project-catalog__mobile-filters[hidden] {
	display: none;
}

.spx-project-catalog__mobile-filters {
	bottom: 0;
	left: 0;
	position: fixed;
	right: 0;
	top: 0;
	z-index: 99999;
}

.spx-project-catalog__mobile-backdrop {
	background: rgba(23, 16, 22, 0.45);
	border: 0;
	bottom: 0;
	cursor: pointer;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
}

.spx-project-catalog__mobile-sheet {
	background: #fff;
	border-radius: 1.5rem 1.5rem 0 0;
	bottom: 0;
	box-shadow: 0 -18px 40px rgba(23, 16, 22, 0.2);
	left: 0;
	max-height: 86dvh;
	overflow: auto;
	padding: 1.2rem;
	position: absolute;
	right: 0;
}

.spx-project-catalog__mobile-handle {
	background: rgba(23, 16, 22, 0.14);
	border-radius: 999px;
	height: 4px;
	margin: 0 auto 1rem;
	width: 44px;
}

.spx-project-catalog__mobile-close {
	align-items: center;
	background: #fff;
	border: 1px solid var(--spx-catalog-border);
	border-radius: 999px;
	color: var(--spx-catalog-ink);
	display: inline-flex;
	height: 40px;
	justify-content: center;
	position: absolute;
	right: 1rem;
	top: 1rem;
	width: 40px;
}

.spx-project-catalog__mobile-sheet .spx-project-catalog__filters-card {
	border: 0;
	border-radius: 0;
	box-shadow: none;
	max-height: none;
	overflow: visible;
	padding: 1.2rem 0 0;
	position: static;
}

.spx-project-catalog__mobile-results {
	background: linear-gradient(135deg, #f23d9c, var(--spx-catalog-primary-dark));
	border: 0;
	border-radius: 999px;
	color: #fff;
	font: inherit;
	font-weight: 800;
	min-height: 46px;
	width: 100%;
}

body.spx-project-catalog-filters-open {
	overflow: hidden;
}

@media (max-width: 1280px) {
	.spx-project-catalog__products--grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 1023px) {
	.spx-project-catalog {
		padding-left: 1.25rem;
		padding-right: 1.25rem;
	}

	.spx-project-catalog__layout {
		grid-template-columns: 1fr;
	}

	.spx-project-catalog__sidebar {
		display: none;
	}

	.spx-project-catalog__filters-toggle {
		display: inline-flex;
	}

	.spx-project-catalog__products--grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.spx-project-catalog {
		padding: 1.1rem 1.25rem 3.5rem;
	}

	.spx-project-catalog__breadcrumbs {
		font-size: 0.8rem;
		margin-bottom: 1rem;
	}

	.spx-project-catalog__intro {
		align-items: start;
		display: grid;
		grid-template-columns: 1fr;
		margin-bottom: 1.15rem;
	}

	.spx-project-catalog__title {
		font-size: 2rem;
	}

	.spx-project-catalog__count {
		font-size: 0.9rem;
	}

	.spx-project-catalog__search {
		min-height: 46px;
		padding-left: 0.95rem;
	}

	.spx-project-catalog__toolbar {
		border-radius: 1.25rem;
		gap: 0.55rem;
		margin-bottom: 1rem;
		min-height: 54px;
		padding: 0.55rem;
	}

	.spx-project-catalog__chips {
		display: none;
	}

	.spx-project-catalog__filters-toggle {
		font-size: 0.82rem;
		min-height: 38px;
		padding: 0 0.8rem;
	}

	.spx-project-catalog__sort {
		gap: 0;
		margin-left: auto;
		min-width: 0;
	}

	.spx-project-catalog__sort label {
		display: none;
	}

	.spx-project-catalog__sort select {
		font-size: 0.82rem;
		min-height: 38px;
		max-width: 10.8rem;
		padding-left: 0.85rem;
	}

	.spx-project-catalog__view-toggle {
		display: none;
	}

	.spx-project-catalog__products--grid {
		gap: 0.75rem;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.spx-project-catalog__products--list {
		display: grid;
		gap: 0.8rem;
		grid-template-columns: 1fr;
	}

	.spx-project-catalog__product-card,
	.spx-project-catalog__product-card--list {
		border-radius: 1.25rem;
		display: flex;
		flex-direction: column;
	}

	.spx-project-catalog__product-card--list .spx-project-catalog__product-media {
		aspect-ratio: 1 / 1;
		min-height: 0;
	}

	.spx-project-catalog__badges {
		left: 0.55rem;
		top: 0.55rem;
	}

	.spx-project-catalog__badge {
		font-size: 0.6rem;
		padding: 0.36rem 0.5rem;
	}

	.spx-project-catalog__product-body {
		gap: 0.58rem;
		min-height: 10.5rem;
		padding: 0.75rem;
	}

	.spx-project-catalog__product-label {
		font-size: 0.58rem;
	}

	.spx-project-catalog__product-title {
		font-size: 0.82rem;
		min-height: 2.6em;
	}

	.spx-project-catalog__product-price {
		font-size: 1rem;
	}

	.spx-project-catalog__product-price del {
		display: inline-block;
		font-size: 0.66rem;
		margin-left: 0.15rem;
	}

	.spx-project-catalog__add {
		font-size: 0.8rem;
		gap: 0.38rem;
		min-height: 40px;
		padding-left: 0.7rem;
		padding-right: 0.7rem;
	}

	.spx-project-catalog__pagination {
		gap: 0.45rem;
		margin-top: 1.6rem;
	}

	.spx-project-catalog__pagination a,
	.spx-project-catalog__pagination span {
		font-size: 0.9rem;
		height: 36px;
		width: 36px;
	}

	.spx-project-catalog__pagination .spx-project-catalog__pagination-ellipsis {
		width: 20px;
	}
}

@media (max-width: 339px) {
	.spx-project-catalog__products--grid {
		grid-template-columns: 1fr;
	}
}
