/* STX Bullseye — theme-controlled catalog UI */

.stx-breadcrumbs {
	margin: 0 0 1.25rem;
}

.stx-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	list-style: none;
	margin: 0;
	padding: 0;
	color: var(--stx-muted, #94a3b8);
	font-size: 0.78rem;
	font-weight: 700;
}

.stx-breadcrumbs li + li::before {
	content: "/";
	margin-right: 0.45rem;
	color: #64748b;
}

.stx-breadcrumbs a {
	color: var(--stx-accent-2, #c9a66b);
	text-decoration: none;
}

.stx-product-grid--catalog {
	--stx-catalog-card-image-height: 178px;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	align-items: stretch;
}

body.stx-catalog-page .stx-product-card--catalog {
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 25.5rem;
	border-radius: 0.85rem;
	overflow: hidden;
}

body.stx-catalog-page .stx-product-card--catalog .stx-product-card__media {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: var(--stx-catalog-card-image-height);
	min-height: var(--stx-catalog-card-image-height);
	max-height: var(--stx-catalog-card-image-height);
	aspect-ratio: auto;
	background: #fff;
	border-bottom: 1px solid rgba(15, 23, 42, 0.08);
	box-sizing: border-box;
	overflow: hidden;
	padding: 1rem;
}

body.stx-catalog-page .stx-product-card--catalog .stx-product-card__media img {
	display: block;
	width: auto;
	height: auto;
	max-width: 78%;
	max-height: 78%;
	margin: auto;
	object-fit: contain;
	object-position: center;
	padding: 0;
}

body.stx-catalog-page .stx-product-card--catalog .stx-product-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	min-height: 0;
	padding: 1rem;
}

body.stx-catalog-page .stx-product-card--catalog .stx-product-card__title {
	display: -webkit-box;
	min-height: calc(2 * 1.35em);
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
}

body.stx-catalog-page .stx-product-card--catalog .stx-product-card__sku {
	min-height: 1.05rem;
}

body.stx-catalog-page .stx-product-card--catalog .stx-product-card__price {
	margin-top: 0.75rem;
}

body.stx-catalog-page .stx-product-card--catalog .stx-btn {
	margin-top: auto;
	width: 100%;
	min-height: 2.65rem;
}

.stx-product-card__title a {
	color: inherit;
	text-decoration: none;
}

.stx-product-card__title a:hover {
	color: var(--stx-accent, #d97706);
}

.stx-catalog-pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 1.5rem;
}

.stx-catalog-pagination__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.45rem;
	min-height: 2.45rem;
	border: 1px solid var(--stx-border, #30363d);
	border-radius: 0.65rem;
	background: rgba(15, 23, 42, 0.72);
	color: var(--stx-text, #f8fafc);
	font-size: 0.82rem;
	font-weight: 800;
	text-decoration: none;
	transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.stx-catalog-pagination__link--prev,
.stx-catalog-pagination__link--next {
	min-width: 5.75rem;
	padding-inline: 0.9rem;
}

.stx-catalog-pagination__link.is-disabled {
	cursor: not-allowed;
	opacity: 0.42;
}

.stx-catalog-pagination__link.is-active,
.stx-catalog-pagination__link:not(.is-disabled):hover {
	border-color: rgba(217, 119, 6, 0.45);
	background: rgba(217, 119, 6, 0.1);
	color: var(--stx-accent-2, #c9a66b);
}

.stx-catalog-pagination__ellipsis {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.25rem;
	color: var(--stx-muted, #94a3b8);
	font-weight: 900;
}

/* Homepage featured rows: never show numbered catalog pagination */
body.home .stx-section--home .stx-catalog-pagination,
body.home .stx-home-product-row .stx-catalog-pagination {
	display: none !important;
}

.stx-product-detail {
	display: grid;
	gap: 1.25rem;
}

.stx-product-detail__media {
	border: 1px solid var(--stx-border, #30363d);
	border-radius: 1rem;
	background: #0a0e14;
	overflow: hidden;
	box-shadow: var(--stx-shadow, 0 18px 40px rgba(0, 0, 0, 0.35));
}

.stx-product-detail__media img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	padding: 1rem;
}

.stx-product-detail__description {
	margin-top: 1rem;
	color: #cbd5e1;
	font-size: 0.92rem;
	line-height: 1.6;
}

@media (min-width: 900px) {
	.stx-product-grid--catalog {
		--stx-catalog-card-image-height: 190px;
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.stx-product-detail {
		grid-template-columns: 1fr 1fr;
		align-items: start;
	}
}

@media (min-width: 1200px) {
	.stx-product-grid--catalog {
		--stx-catalog-card-image-height: 198px;
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* Catalog filter shell */
body.stx-catalog-page .stx-catalog-layout {
	align-items: start;
	gap: 1.5rem;
}

body.stx-catalog-page .stx-catalog-sidebar {
	position: sticky;
	top: 6.5rem;
	display: flex;
	flex-direction: column;
	max-height: calc(100vh - 7.5rem);
	overflow: auto;
	padding: 0;
	border: 1px solid var(--stx-border, #30363d);
	border-radius: 1rem;
	background: var(--stx-card, #111827);
	box-shadow: var(--stx-shadow, 0 18px 40px rgba(0, 0, 0, 0.35));
}

body.stx-catalog-page .stx-catalog-sidebar__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 1rem 1rem 0.5rem;
	border-bottom: 1px solid var(--stx-border, #30363d);
}

body.stx-catalog-page .stx-catalog-sidebar__title {
	margin: 0;
	font-size: 0.92rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--stx-accent-2, #c9a66b);
}

body.stx-catalog-page .stx-catalog-sidebar__close {
	display: none;
	border: 0;
	background: transparent;
	color: var(--stx-text, #f8fafc);
	font-size: 1.75rem;
	line-height: 1;
	cursor: pointer;
}

body.stx-catalog-page .stx-catalog-filters-form {
	display: grid;
	gap: 0.35rem;
	padding: 0.75rem 1rem 1rem;
}

body.stx-catalog-page .stx-catalog-filter-group {
	border: 1px solid var(--stx-border, #30363d);
	border-radius: 0.85rem;
	background: rgba(255, 255, 255, 0.02);
	overflow: hidden;
}

body.stx-catalog-page .stx-catalog-filter-group + .stx-catalog-filter-group {
	margin-top: 0.35rem;
}

body.stx-catalog-page .stx-catalog-filter-group__title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.8rem 0.9rem;
	font-size: 0.76rem;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--stx-text, #f8fafc);
	cursor: pointer;
	list-style: none;
}

body.stx-catalog-page .stx-catalog-filter-group__title::-webkit-details-marker {
	display: none;
}

body.stx-catalog-page .stx-catalog-filter-group__title::after {
	content: "+";
	color: var(--stx-accent, #d97706);
	font-size: 1rem;
	font-weight: 900;
}

body.stx-catalog-page .stx-catalog-filter-group[open] .stx-catalog-filter-group__title::after {
	content: "−";
}

body.stx-catalog-page .stx-catalog-filter-group__body {
	padding: 0 0.75rem 0.85rem;
}

body.stx-catalog-page .stx-catalog-filter-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.35rem;
}

body.stx-catalog-page .stx-catalog-filter-links__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	padding: 0.55rem 0.7rem;
	border: 1px solid transparent;
	border-radius: 0.55rem;
	color: var(--stx-text, #f8fafc);
	font-size: 0.84rem;
	font-weight: 700;
	text-decoration: none;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

body.stx-catalog-page .stx-catalog-filter-links__item small {
	color: var(--stx-muted, #94a3b8);
	font-size: 0.68rem;
	font-weight: 800;
	text-transform: uppercase;
}

body.stx-catalog-page .stx-catalog-filter-links__item:hover,
body.stx-catalog-page .stx-catalog-filter-links__item.is-active {
	border-color: rgba(217, 119, 6, 0.35);
	background: rgba(217, 119, 6, 0.08);
	color: var(--stx-accent-2, #c9a66b);
}

body.stx-catalog-page .stx-catalog-checkbox-grid {
	display: grid;
	gap: 0.45rem;
	max-height: 14rem;
	overflow: auto;
	padding-right: 0.15rem;
}

body.stx-catalog-page .stx-catalog-checkbox-grid--brands {
	max-height: 18rem;
}

body.stx-catalog-page .stx-catalog-filter-option {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 0.55rem;
	min-height: 2.5rem;
	padding: 0.5rem 0.65rem;
	border: 1px solid var(--stx-border, #30363d);
	border-radius: 0.65rem;
	background: rgba(255, 255, 255, 0.02);
	cursor: pointer;
	transition: border-color 0.2s ease, background 0.2s ease;
}

body.stx-catalog-page .stx-catalog-filter-option:hover,
body.stx-catalog-page .stx-catalog-filter-option.is-active {
	border-color: rgba(217, 119, 6, 0.45);
	background: rgba(217, 119, 6, 0.08);
}

body.stx-catalog-page .stx-catalog-filter-option input {
	width: 1rem;
	height: 1rem;
	accent-color: var(--stx-accent, #d97706);
}

body.stx-catalog-page .stx-catalog-filter-option__label {
	min-width: 0;
	color: var(--stx-text, #f8fafc);
	font-size: 0.8rem;
	font-weight: 700;
}

body.stx-catalog-page .stx-catalog-filter-option__count {
	color: var(--stx-muted, #94a3b8);
	font-size: 0.68rem;
	font-weight: 800;
}

body.stx-catalog-page .stx-catalog-price-range {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.65rem;
}

body.stx-catalog-page .stx-catalog-field {
	display: grid;
	gap: 0.35rem;
	color: var(--stx-muted, #94a3b8);
	font-size: 0.72rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

body.stx-catalog-page .stx-catalog-field input {
	width: 100%;
	min-height: 2.5rem;
	border: 1px solid var(--stx-border, #30363d);
	border-radius: 0.55rem;
	background: rgba(0, 0, 0, 0.2);
	color: var(--stx-text, #f8fafc);
	padding: 0.5rem 0.65rem;
	font: inherit;
}

body.stx-catalog-page .stx-catalog-sidebar__actions {
	display: grid;
	gap: 0.5rem;
	margin-top: 0.5rem;
}

body.stx-catalog-page .stx-catalog-toolbar {
	display: grid;
	gap: 0.85rem;
	margin-bottom: 1rem;
}

body.stx-catalog-page .stx-catalog-toolbar__row {
	display: grid;
	gap: 0.75rem;
}

body.stx-catalog-page .stx-catalog-filter-toggle {
	display: none;
	justify-self: start;
}

body.stx-catalog-page .stx-catalog-toolbar__search {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 0.5rem;
	align-items: center;
}

body.stx-catalog-page .stx-catalog-toolbar__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
}

body.stx-catalog-page .stx-catalog-result-count {
	margin: 0;
	color: var(--stx-muted, #94a3b8);
	font-size: 0.82rem;
	font-weight: 700;
}

body.stx-catalog-page .stx-catalog-sort__select {
	min-width: 11rem;
	min-height: 2.6rem;
	border: 1px solid var(--stx-border, #30363d);
	border-radius: 0.65rem;
	background: var(--stx-card, #111827);
	color: var(--stx-text, #f8fafc);
	padding: 0.5rem 0.75rem;
	font: inherit;
	font-size: 0.84rem;
	font-weight: 700;
	cursor: pointer;
}

body.stx-catalog-page .stx-catalog-active-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

body.stx-catalog-page .stx-catalog-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	min-height: 2rem;
	border: 1px solid var(--stx-border, #30363d);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.03);
	color: var(--stx-text, #f8fafc);
	padding: 0.35rem 0.75rem;
	font-size: 0.76rem;
	font-weight: 800;
	text-decoration: none;
	transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

body.stx-catalog-page .stx-catalog-chip.is-active {
	border-color: rgba(217, 119, 6, 0.55);
	background: rgba(217, 119, 6, 0.12);
	color: var(--stx-accent-2, #c9a66b);
}

body.stx-catalog-page .stx-catalog-chip--clear {
	color: var(--stx-muted, #94a3b8);
}

body.stx-catalog-page .stx-catalog-chip__remove {
	font-size: 1rem;
	line-height: 1;
	opacity: 0.8;
}

body.stx-catalog-page .stx-product-card__badge.is-out-of-stock {
	background: rgba(100, 116, 139, 0.92);
	color: #f8fafc;
}

body.stx-catalog-page .stx-catalog-filter-backdrop {
	position: fixed;
	inset: 0;
	z-index: 90;
	background: rgba(2, 6, 23, 0.72);
	backdrop-filter: blur(2px);
}

body.stx-catalog-page.is-filter-open {
	overflow: hidden;
}

@media (min-width: 768px) {
	body.stx-catalog-page .stx-catalog-layout {
		grid-template-columns: 280px minmax(0, 1fr);
	}

	body.stx-catalog-page .stx-catalog-toolbar__row {
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: end;
	}

	body.stx-catalog-page .stx-catalog-toolbar__search {
		grid-column: 1;
	}

	body.stx-catalog-page .stx-catalog-toolbar__meta {
		grid-column: 2;
		justify-content: flex-end;
	}
}

@media (min-width: 1024px) {
	body.stx-catalog-page .stx-product-grid--catalog {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

body.stx-catalog-page .stx-catalog-filter-links__item small {
	color: var(--stx-muted, #94a3b8);
	font-size: 0.75rem;
	font-weight: 700;
}

body.stx-catalog-page .stx-catalog-filter-search {
	margin-bottom: 0.55rem;
}

body.stx-catalog-page .stx-catalog-filter-search__input {
	width: 100%;
	min-height: 2.35rem;
	border: 1px solid var(--stx-border, #30363d);
	border-radius: 0.55rem;
	background: rgba(0, 0, 0, 0.2);
	color: var(--stx-text, #f8fafc);
	padding: 0.45rem 0.65rem;
	font: inherit;
	font-size: 0.82rem;
}

body.stx-catalog-page .stx-catalog-filter-option[hidden] {
	display: none;
}

body.stx-catalog-page .stx-catalog-price-slider__values {
	margin: 0 0 0.65rem;
	font-size: 0.84rem;
	font-weight: 700;
}

body.stx-catalog-page .stx-catalog-price-slider__track {
	position: relative;
	display: grid;
	gap: 0.35rem;
	margin-bottom: 0.65rem;
}

body.stx-catalog-page .stx-catalog-price-slider__range {
	width: 100%;
	accent-color: var(--stx-accent, #d97706);
}

body.stx-catalog-page .stx-catalog-price-slider__actions {
	display: flex;
	justify-content: flex-start;
}

body.stx-catalog-page .stx-catalog-toolbar__row--primary {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
}

body.stx-catalog-page .stx-catalog-toolbar__controls {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.85rem;
	margin-left: auto;
}

body.stx-catalog-page .stx-catalog-view-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

body.stx-catalog-page .stx-catalog-view-toggle__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.2rem;
	height: 2.2rem;
	border: 1px solid var(--stx-border, #30363d);
	border-radius: 0.45rem;
	color: var(--stx-muted, #94a3b8);
	text-decoration: none;
	background: rgba(255, 255, 255, 0.02);
}

body.stx-catalog-page .stx-catalog-view-toggle__btn.is-active,
body.stx-catalog-page .stx-catalog-view-toggle__btn:hover {
	border-color: rgba(217, 119, 6, 0.45);
	color: var(--stx-accent-2, #c9a66b);
	background: rgba(217, 119, 6, 0.08);
}

body.stx-catalog-page .stx-catalog-view-toggle__icon {
	display: block;
	width: 1rem;
	height: 1rem;
	background: currentColor;
}

body.stx-catalog-page .stx-catalog-view-toggle__icon--grid {
	mask: linear-gradient(#000 0 0) center/0.28rem 0.28rem, linear-gradient(#000 0 0);
	mask-repeat: space;
	-webkit-mask: linear-gradient(#000 0 0) center/0.28rem 0.28rem, linear-gradient(#000 0 0);
	-webkit-mask-repeat: space;
}

body.stx-catalog-page .stx-catalog-view-toggle__icon--list {
	mask: linear-gradient(#000 0 0) 0 0.12rem / 100% 0.16rem, linear-gradient(#000 0 0) 0 0.42rem / 100% 0.16rem, linear-gradient(#000 0 0) 0 0.72rem / 100% 0.16rem;
	mask-repeat: no-repeat;
	-webkit-mask: linear-gradient(#000 0 0) 0 0.12rem / 100% 0.16rem, linear-gradient(#000 0 0) 0 0.42rem / 100% 0.16rem, linear-gradient(#000 0 0) 0 0.72rem / 100% 0.16rem;
	-webkit-mask-repeat: no-repeat;
}

body.stx-catalog-page .stx-catalog-item-count {
	margin: 0;
	color: var(--stx-muted, #94a3b8);
	font-size: 0.82rem;
	font-weight: 700;
}

body.stx-catalog-page .stx-catalog-sort {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
}

body.stx-catalog-page .stx-catalog-sort__label {
	margin: 0;
	color: var(--stx-muted, #94a3b8);
	font-size: 0.78rem;
	font-weight: 700;
	white-space: nowrap;
}

body.stx-catalog-page .stx-catalog-sort__direction {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.2rem;
	height: 2.6rem;
	border: 1px solid var(--stx-border, #30363d);
	border-radius: 0.65rem;
	color: var(--stx-text, #f8fafc);
	text-decoration: none;
	background: rgba(255, 255, 255, 0.02);
}

body.stx-catalog-page .stx-catalog-sort__direction span {
	display: block;
	width: 0;
	height: 0;
	border-left: 0.35rem solid transparent;
	border-right: 0.35rem solid transparent;
	border-bottom: 0.55rem solid currentColor;
	transform: translateY(-1px);
}

body.stx-catalog-page .stx-catalog-sort__direction.is-desc span {
	transform: rotate(180deg) translateY(-1px);
}

body.stx-catalog-page .stx-product-grid--list {
	grid-template-columns: 1fr;
	gap: 0.85rem;
}

body.stx-catalog-page .stx-product-grid--list .stx-product-card--catalog {
	display: grid;
	grid-template-columns: 7.5rem minmax(0, 1fr);
	align-items: stretch;
}

body.stx-catalog-page .stx-product-grid--list .stx-product-card__media {
	aspect-ratio: auto;
	min-height: 7.5rem;
	height: 7.5rem;
	max-height: 7.5rem;
	padding: 0.75rem;
}

body.stx-catalog-page .stx-product-grid--list .stx-product-card__media img {
	width: auto;
	height: auto;
	min-height: 0;
	max-width: 78%;
	max-height: 78%;
	object-fit: contain;
}

body.stx-catalog-page .stx-product-grid--list .stx-product-card__body {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

@media (min-width: 768px) {
	body.stx-catalog-page .stx-catalog-toolbar__row--search {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 767px) {
	body.stx-catalog-page .stx-catalog-filter-toggle {
		display: inline-flex;
		width: 100%;
		justify-content: center;
	}

	body.stx-catalog-page .stx-catalog-sidebar {
		position: fixed;
		top: 0;
		left: 0;
		z-index: 100;
		width: min(92vw, 22rem);
		max-width: 22rem;
		height: 100vh;
		max-height: none;
		transform: translateX(-105%);
		transition: transform 0.25s ease;
		border-radius: 0 1rem 1rem 0;
		box-shadow: 28px 0 60px rgba(2, 6, 23, 0.42);
	}

	body.stx-catalog-page .stx-catalog-sidebar.is-open {
		transform: translateX(0);
	}

	body.stx-catalog-page .stx-catalog-sidebar__close {
		display: inline-flex;
	}

	body.stx-catalog-page .stx-catalog-toolbar__controls {
		width: 100%;
		margin-left: 0;
		justify-content: space-between;
	}

	body.stx-catalog-page .stx-catalog-sort {
		flex-wrap: wrap;
	}

	body.stx-catalog-page .stx-catalog-toolbar__search {
		grid-template-columns: 1fr;
	}

	.stx-catalog-pagination {
		gap: 0.35rem;
	}

	.stx-catalog-pagination__link {
		min-width: 2.25rem;
		min-height: 2.25rem;
		font-size: 0.78rem;
	}

	.stx-catalog-pagination__link--prev,
	.stx-catalog-pagination__link--next {
		min-width: 4.75rem;
		padding-inline: 0.55rem;
	}

	.stx-catalog-pagination__link.is-mobile-extra {
		display: none;
	}

	.stx-catalog-pagination__ellipsis {
		min-width: 0.75rem;
	}
}

/* Filter sidebar polish */
body.stx-catalog-page .stx-catalog-sidebar {
	border: 1px solid rgba(203, 213, 225, 0.18);
	background:
		linear-gradient(180deg, rgba(31, 41, 55, 0.98), rgba(12, 18, 30, 0.98)),
		#111827;
	backdrop-filter: blur(18px);
	box-shadow:
		0 28px 70px rgba(2, 6, 23, 0.38),
		inset 0 1px 0 rgba(255, 255, 255, 0.07);
	scrollbar-width: thin;
	scrollbar-color: rgba(217, 119, 6, 0.45) rgba(15, 23, 42, 0.4);
}

body.stx-catalog-page .stx-catalog-sidebar__head {
	padding: 1.15rem 1.1rem 1rem;
	background:
		linear-gradient(135deg, rgba(217, 119, 6, 0.12), rgba(15, 23, 42, 0) 52%),
		rgba(2, 6, 23, 0.28);
	border-bottom-color: rgba(203, 213, 225, 0.16);
}

body.stx-catalog-page .stx-catalog-filters-form {
	gap: 1rem;
	padding: 1rem 1.05rem 1.1rem;
}

body.stx-catalog-page .stx-catalog-filter-group {
	border: 1px solid rgba(203, 213, 225, 0.15);
	border-radius: 0.9rem;
	background:
		linear-gradient(180deg, rgba(30, 41, 59, 0.74), rgba(15, 23, 42, 0.68)),
		rgba(15, 23, 42, 0.82);
	box-shadow:
		0 10px 24px rgba(2, 6, 23, 0.18),
		inset 0 1px 0 rgba(255, 255, 255, 0.045);
	overflow: hidden;
}

body.stx-catalog-page .stx-catalog-sidebar__title::before {
	content: "";
	display: inline-block;
	width: 0.34rem;
	height: 1.25rem;
	margin-right: 0.62rem;
	border-radius: 999px;
	background: linear-gradient(180deg, #f59e0b, #c2410c);
	box-shadow: 0 0 0 4px rgba(217, 119, 6, 0.1);
	vertical-align: middle;
}

body.stx-catalog-page .stx-catalog-sidebar__close {
	width: 2rem;
	height: 2rem;
	border: 1px solid var(--stx-border, #30363d);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.04);
	align-items: center;
	justify-content: center;
	transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

body.stx-catalog-page .stx-catalog-sidebar__close:hover {
	border-color: rgba(217, 119, 6, 0.45);
	color: var(--stx-accent-2, #c9a66b);
	background: rgba(217, 119, 6, 0.08);
}

body.stx-catalog-page .stx-catalog-filter-group__title {
	min-height: 3rem;
	padding-inline: 1rem 0.95rem;
	border-bottom: 1px solid transparent;
	color: #f8fafc;
	font-size: 0.76rem;
	letter-spacing: 0.04em;
	transition: color 0.2s ease, background-color 0.2s ease;
}

body.stx-catalog-page .stx-catalog-filter-group__title:hover {
	color: var(--stx-accent-2, #c9a66b);
	background: rgba(217, 119, 6, 0.05);
}

body.stx-catalog-page .stx-catalog-filter-group__title::after {
	content: "";
	width: 0.48rem;
	height: 0.48rem;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-1px);
	transition: transform 0.2s ease, color 0.2s ease;
}

body.stx-catalog-page .stx-catalog-filter-group[open] .stx-catalog-filter-group__title::after {
	transform: rotate(225deg) translate(-1px, -1px);
	color: var(--stx-accent, #d97706);
}

body.stx-catalog-page .stx-catalog-filter-group[open] .stx-catalog-filter-group__title {
	border-bottom-color: rgba(148, 163, 184, 0.14);
}

body.stx-catalog-page .stx-catalog-filter-group__body {
	padding: 0.9rem;
	animation: stxCatalogFilterSlide 0.22s ease;
}

@keyframes stxCatalogFilterSlide {
	from {
		opacity: 0;
		transform: translateY(-6px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

body.stx-catalog-page .stx-catalog-checkbox-grid {
	max-height: 11rem;
	overflow-y: auto;
	padding-right: 0.2rem;
	scrollbar-width: thin;
}

body.stx-catalog-page .stx-catalog-checkbox-grid::-webkit-scrollbar {
	width: 4px;
}

body.stx-catalog-page .stx-catalog-checkbox-grid::-webkit-scrollbar-thumb {
	background: rgba(217, 119, 6, 0.35);
	border-radius: 4px;
}

body.stx-catalog-page .stx-catalog-filter-search__input {
	min-height: 2.85rem;
	border-color: rgba(203, 213, 225, 0.18);
	border-radius: 0.78rem;
	background: rgba(2, 6, 23, 0.5);
	padding-left: 2.35rem;
	color: #f8fafc;
	font-size: 0.84rem;
	font-weight: 700;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

body.stx-catalog-page .stx-catalog-filter-search__input::placeholder {
	color: rgba(203, 213, 225, 0.64);
}

body.stx-catalog-page .stx-catalog-filter-search__input:focus {
	border-color: rgba(217, 119, 6, 0.45);
	box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
}

body.stx-catalog-page .stx-catalog-filter-search {
	position: relative;
}

body.stx-catalog-page .stx-catalog-filter-search::before {
	content: "";
	position: absolute;
	left: 0.82rem;
	top: 50%;
	width: 0.72rem;
	height: 0.72rem;
	border: 2px solid rgba(203, 213, 225, 0.7);
	border-radius: 999px;
	transform: translateY(-58%);
	pointer-events: none;
}

body.stx-catalog-page .stx-catalog-filter-search::after {
	content: "";
	position: absolute;
	left: 1.36rem;
	top: 1.7rem;
	width: 0.42rem;
	height: 2px;
	border-radius: 999px;
	background: rgba(203, 213, 225, 0.7);
	transform: rotate(45deg);
	pointer-events: none;
}

body.stx-catalog-page .stx-catalog-filter-option {
	position: relative;
	grid-template-columns: 1.05rem minmax(0, 1fr) auto;
	border-color: rgba(203, 213, 225, 0.13);
	background: rgba(2, 6, 23, 0.22);
	padding-block: 0.55rem;
	transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

body.stx-catalog-page .stx-catalog-filter-option:hover {
	transform: translateY(-1px);
}

body.stx-catalog-page .stx-catalog-filter-option.is-active {
	border-color: rgba(217, 119, 6, 0.62);
	background:
		linear-gradient(90deg, rgba(217, 119, 6, 0.2), rgba(217, 119, 6, 0.06)),
		rgba(15, 23, 42, 0.72);
	box-shadow:
		inset 3px 0 0 var(--stx-accent, #d97706),
		0 8px 18px rgba(2, 6, 23, 0.16);
}

body.stx-catalog-page .stx-catalog-filter-option input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

body.stx-catalog-page .stx-catalog-filter-option__control {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.05rem;
	height: 1.05rem;
	border: 1px solid rgba(203, 213, 225, 0.5);
	border-radius: 999px;
	background: rgba(2, 6, 23, 0.4);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body.stx-catalog-page .stx-catalog-filter-option__control::after {
	content: "";
	width: 0.45rem;
	height: 0.45rem;
	border-radius: inherit;
	background: transparent;
}

body.stx-catalog-page .stx-catalog-filter-option input:checked + .stx-catalog-filter-option__control {
	border-color: var(--stx-accent, #d97706);
	background: rgba(217, 119, 6, 0.12);
}

body.stx-catalog-page .stx-catalog-filter-option input:checked + .stx-catalog-filter-option__control::after {
	background: var(--stx-accent, #d97706);
}

body.stx-catalog-page .stx-catalog-filter-option:focus-within {
	border-color: rgba(245, 158, 11, 0.7);
	box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.12);
}

body.stx-catalog-page .stx-catalog-filter-option__count {
	min-width: 2rem;
	border-radius: 999px;
	padding: 0.12rem 0.52rem;
	background: rgba(226, 232, 240, 0.1);
	color: rgba(226, 232, 240, 0.72);
	text-align: center;
	transition: color 0.15s ease, background-color 0.15s ease;
}

body.stx-catalog-page .stx-catalog-filter-option:hover .stx-catalog-filter-option__count,
body.stx-catalog-page .stx-catalog-filter-option.is-active .stx-catalog-filter-option__count {
	color: var(--stx-accent-2, #c9a66b);
	background: rgba(217, 119, 6, 0.12);
}

body.stx-catalog-page .stx-catalog-sidebar__actions .stx-btn--primary {
	box-shadow: 0 8px 20px rgba(194, 65, 12, 0.18);
}

body.stx-catalog-page .stx-catalog-sidebar__actions {
	position: sticky;
	bottom: 0;
	margin-inline: -1.05rem;
	margin-bottom: -1.1rem;
	padding: 1rem 1.05rem 1.1rem;
	border-top: 1px solid rgba(203, 213, 225, 0.15);
	background: linear-gradient(180deg, rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.98));
	backdrop-filter: blur(12px);
}

body.stx-catalog-page .stx-catalog-sidebar__actions .stx-btn {
	width: 100%;
	justify-content: center;
	border-radius: 0.65rem;
}

body.stx-catalog-page .stx-catalog-sidebar__actions .stx-btn--primary {
	border-color: #d97706;
	background: #d97706;
	color: #111827;
	font-weight: 900;
	box-shadow: 0 12px 26px rgba(217, 119, 6, 0.22);
}

body.stx-catalog-page .stx-catalog-sidebar__actions .stx-btn--ghost {
	border: 1px solid rgba(203, 213, 225, 0.28);
	background: rgba(15, 23, 42, 0.42);
	color: #e5e7eb;
}

body.stx-catalog-page .stx-catalog-filter-links__item {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	border-color: rgba(203, 213, 225, 0.13);
	background: rgba(2, 6, 23, 0.24);
}

body.stx-catalog-page .stx-catalog-filter-links__item.is-active {
	position: relative;
	border-color: rgba(217, 119, 6, 0.72);
	background:
		linear-gradient(90deg, rgba(217, 119, 6, 0.24), rgba(217, 119, 6, 0.07)),
		rgba(15, 23, 42, 0.76);
	color: #fde68a;
	box-shadow:
		inset 3px 0 0 var(--stx-accent, #d97706),
		0 8px 18px rgba(2, 6, 23, 0.14);
}

body.stx-catalog-page .stx-catalog-filter-links__item.is-active .stx-catalog-filter-links__count {
	background: rgba(251, 191, 36, 0.16);
	color: #fde68a;
}

body.stx-catalog-page .stx-catalog-filter-links__label {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

body.stx-catalog-page .stx-catalog-filter-links__count {
	min-width: 2rem;
	border-radius: 999px;
	background: rgba(226, 232, 240, 0.1);
	color: rgba(226, 232, 240, 0.72);
	padding: 0.12rem 0.5rem;
	text-align: center;
}

body.stx-catalog-page .stx-catalog-chip {
	border-radius: 999px;
	transition: background-color 0.2s ease, border-color 0.2s ease;
}

body.stx-catalog-page .stx-catalog-chip__remove {
	border-radius: 999px;
	background: rgba(148, 163, 184, 0.12);
}

body.stx-catalog-page .stx-catalog-filter-toggle {
	border-radius: 0.65rem;
	transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

body.stx-catalog-page .stx-catalog-filter-backdrop {
	backdrop-filter: blur(4px);
	animation: stxCatalogBackdropIn 0.2s ease;
}

@keyframes stxCatalogBackdropIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

/* —— Product detail page (STX mockup v2.8) —— */

body.stx-catalog-page .stx-product-detail-page__inner {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
}

body.stx-catalog-page.page-product-detail .stx-product-detail-page.stx-section {
	padding-top: 0.75rem;
	padding-bottom: 1rem;
}

body.stx-catalog-page .stx-product-detail-hero {
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}

body.stx-catalog-page .stx-product-detail-hero__crumbs {
	position: relative;
	z-index: 2;
	margin-bottom: 0.15rem;
}

body.stx-catalog-page .stx-product-detail-hero__crumbs .stx-breadcrumbs {
	margin: 0;
}

body.stx-catalog-page .stx-product-detail-hero__grid {
	display: grid;
	gap: 1rem;
	align-items: start;
}

/* Gallery — white product photography panel */

body.stx-catalog-page .stx-product-detail-gallery__stage {
	position: relative;
	display: flex;
	align-items: center;
}

body.stx-catalog-page .stx-product-detail-gallery__main {
	flex: 1;
	min-width: 0;
	border: none;
	border-radius: 0.85rem;
	background: #ffffff;
	overflow: hidden;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
	aspect-ratio: 7 / 6;
	max-height: min(52vh, 520px);
}

body.stx-catalog-page .stx-product-detail-gallery__image,
body.stx-catalog-page .stx-product-detail-gallery__empty {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 0;
	object-fit: contain;
	padding: 1rem;
	background: #ffffff;
}

body.stx-catalog-page .stx-product-detail-gallery__empty {
	min-height: 14rem;
}

body.stx-catalog-page .stx-product-detail-gallery__nav {
	position: absolute;
	top: 50%;
	z-index: 2;
	transform: translateY(-50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	padding: 0;
	border: 1px solid var(--stx-border, #30363d);
	border-radius: 0.45rem;
	background: rgba(13, 17, 23, 0.88);
	color: #f8fafc;
	font-size: 1.35rem;
	line-height: 1;
	cursor: pointer;
	transition: border-color 0.2s ease, color 0.2s ease;
}

body.stx-catalog-page .stx-product-detail-gallery__nav:hover {
	border-color: var(--stx-accent, #d97706);
	color: var(--stx-accent, #d97706);
}

body.stx-catalog-page .stx-product-detail-gallery__nav--prev {
	left: 0.65rem;
}

body.stx-catalog-page .stx-product-detail-gallery__nav--next {
	right: 0.65rem;
}

body.stx-catalog-page .stx-product-detail-gallery__thumbs {
	display: flex;
	flex-wrap: nowrap;
	gap: 0.5rem;
	margin-top: 0.55rem;
	overflow-x: auto;
	scrollbar-width: thin;
}

body.stx-catalog-page .stx-product-detail-gallery__thumb {
	flex: 0 0 4rem;
	width: 4rem;
	height: 4rem;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 0.55rem;
	background: #ffffff;
	cursor: pointer;
	overflow: hidden;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.stx-catalog-page .stx-product-detail-gallery__thumb.is-active,
body.stx-catalog-page .stx-product-detail-gallery__thumb:hover {
	border-color: var(--stx-accent, #d97706);
	box-shadow: 0 0 0 1px rgba(217, 119, 6, 0.35);
}

body.stx-catalog-page .stx-product-detail-gallery__thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	padding: 0.3rem;
	background: #ffffff;
}

/* Buy box */

body.stx-catalog-page .stx-product-detail-buybox {
	padding: 0.15rem 0 0;
}

body.stx-catalog-page .stx-product-detail-buybox__title {
	margin: 0 0 0.35rem;
	font-size: clamp(1.4rem, 2.2vw, 1.95rem);
	font-weight: 800;
	line-height: 1.15;
	color: var(--stx-text, #f8fafc);
	text-transform: uppercase;
	letter-spacing: 0.01em;
}

body.stx-catalog-page .stx-product-detail-buybox__summary {
	margin: 0 0 0.5rem;
	color: #cbd5e1;
	font-size: 0.88rem;
	line-height: 1.5;
}

body.stx-catalog-page .stx-product-detail-buybox__brand {
	margin-bottom: 0.4rem;
}

body.stx-catalog-page .stx-product-detail-buybox__brand .stx-mfg-logo--detail {
	--stx-mfg-logo-height: 1.2rem;
	--stx-mfg-logo-max-height: 1.45rem;
}

body.stx-catalog-page .stx-product-detail-buybox__facts {
	display: grid;
	gap: 0;
	margin: 0.25rem 0 0.65rem;
}

body.stx-catalog-page .stx-product-detail-buybox__meta-row {
	display: grid;
	grid-template-columns: 6.25rem 1fr;
	gap: 0.5rem;
	padding: 0.45rem 0;
	font-size: 0.84rem;
	align-items: center;
	border-bottom: 1px solid var(--stx-border, #30363d);
}

body.stx-catalog-page .stx-product-detail-buybox__facts .stx-product-detail-buybox__meta-row:last-child {
	border-bottom: none;
}

body.stx-catalog-page .stx-product-detail-buybox__meta-row--price dd,
body.stx-catalog-page .stx-product-detail-buybox__meta-row--availability dd {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.55rem;
}

body.stx-catalog-page .stx-product-detail-buybox__meta dt {
	margin: 0;
	color: var(--stx-muted, #94a3b8);
	font-weight: 600;
	text-transform: uppercase;
	font-size: 0.72rem;
	letter-spacing: 0.04em;
}

body.stx-catalog-page .stx-product-detail-buybox__facts dd {
	margin: 0;
	color: var(--stx-text, #f8fafc);
}

body.stx-catalog-page .stx-product-detail-buybox__price-current {
	font-size: 1.55rem;
	font-weight: 800;
	color: var(--stx-accent, #d97706);
	line-height: 1.1;
}

body.stx-catalog-page .stx-product-detail-buybox__price-compare {
	font-size: 0.88rem;
	color: var(--stx-muted, #94a3b8);
	text-decoration: line-through;
}

body.stx-catalog-page .stx-product-detail-buybox__price-msrp {
	font-size: inherit;
	color: #cbd5e1;
}

body.stx-catalog-page .stx-product-detail-buybox__price-call {
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--stx-accent-2, #c9a66b);
}

body.stx-catalog-page .stx-product-detail-buybox__facts .stx-product-card__badge {
	position: static;
	display: inline-block;
	border-radius: 0.35rem;
	font-size: 0.62rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	padding: 0.28rem 0.5rem;
	text-transform: uppercase;
}

body.stx-catalog-page .stx-product-detail-buybox__facts .stx-product-card__badge.is-in-stock {
	background: rgba(34, 197, 94, 0.18);
	color: #86efac;
}

body.stx-catalog-page .stx-product-detail-buybox__facts .stx-product-card__badge.is-out-of-stock {
	background: rgba(148, 163, 184, 0.15);
	color: #94a3b8;
}

body.stx-catalog-page .stx-product-detail-buybox__actions {
	justify-content: flex-start;
	margin-bottom: 0.5rem;
	gap: 0.5rem;
}

body.stx-catalog-page .stx-product-detail-buybox__compliance {
	margin: 0;
	padding: 0.65rem 0.75rem;
	border: 1px solid rgba(217, 119, 6, 0.5);
	border-radius: 0.5rem;
	background: rgba(0, 0, 0, 0.22);
	font-size: 0.78rem;
	line-height: 1.45;
	color: #cbd5e1;
}

body.stx-catalog-page .stx-product-detail-section__title {
	margin: 0;
	font-size: 0.95rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--stx-text, #f8fafc);
}

body.stx-catalog-page .stx-product-detail-section__subtitle {
	margin: 0 0 0.5rem;
	font-size: 0.95rem;
	color: var(--stx-accent-2, #c9a66b);
}

body.stx-catalog-page .stx-product-detail-section__block + .stx-product-detail-section__block {
	margin-top: 1.25rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--stx-border, #30363d);
}

body.stx-catalog-page .stx-product-detail-section__text {
	margin: 0;
	color: #cbd5e1;
	font-size: 0.92rem;
	line-height: 1.65;
}

body.stx-catalog-page .stx-product-detail-section__empty {
	margin: 0;
	color: #94a3b8;
	font-size: 0.92rem;
	line-height: 1.65;
}

body.stx-catalog-page .stx-product-detail-section__empty-actions {
	margin: 0.85rem 0 0;
}

body.stx-catalog-page .stx-product-detail-info-specs__grid {
	display: grid;
	gap: 1.25rem;
}

body.stx-catalog-page .stx-product-detail-info-specs__panel {
	min-width: 0;
}

body.stx-catalog-page .stx-product-detail-info-specs__col--specs .stx-product-detail-section__title,
body.stx-catalog-page .stx-product-detail-info-specs__col--info .stx-product-detail-section__title {
	margin-top: 0;
}

@media (min-width: 900px) {
	body.stx-catalog-page .stx-product-detail-info-specs__grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		align-items: start;
	}

	body.stx-catalog-page .stx-product-detail-info-specs__col--specs {
		padding-left: 1.25rem;
		border-left: 1px solid var(--stx-border, #30363d);
	}
}

body.stx-catalog-page .stx-product-detail-features {
	margin: 0;
	padding-left: 1.15rem;
	color: #cbd5e1;
	font-size: 0.92rem;
	line-height: 1.55;
}

body.stx-catalog-page .stx-product-detail-specs-wrap {
	overflow-x: auto;
}

body.stx-catalog-page .stx-product-detail-specs {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9rem;
}

body.stx-catalog-page .stx-product-detail-specs th,
body.stx-catalog-page .stx-product-detail-specs td {
	padding: 0.65rem 0.75rem;
	border-bottom: 1px solid var(--stx-border, #30363d);
	text-align: left;
	vertical-align: top;
}

body.stx-catalog-page .stx-product-detail-specs th {
	width: 38%;
	color: var(--stx-muted, #94a3b8);
	font-weight: 600;
}

body.stx-catalog-page .stx-product-detail-specs td {
	color: var(--stx-text, #f8fafc);
}

body.stx-catalog-page .stx-product-detail-compliance__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.75rem;
}

body.stx-catalog-page .stx-product-detail-compliance__item {
	padding: 0.75rem 0.9rem;
	border: 1px solid var(--stx-border, #30363d);
	border-radius: 0.65rem;
	background: rgba(255, 255, 255, 0.02);
}

body.stx-catalog-page .stx-product-detail-compliance__item--ffl,
body.stx-catalog-page .stx-product-detail-compliance__item--nfa {
	border-color: rgba(217, 119, 6, 0.45);
}

body.stx-catalog-page .stx-product-detail-compliance__label {
	display: block;
	margin-bottom: 0.25rem;
	color: var(--stx-accent, #d97706);
	font-size: 0.88rem;
}

body.stx-catalog-page .stx-product-detail-compliance__message {
	margin: 0;
	color: #cbd5e1;
	font-size: 0.86rem;
	line-height: 1.5;
}

body.stx-catalog-page .stx-product-detail-products-row__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 0.65rem;
}

body.stx-catalog-page .stx-product-detail-products-row__view-all {
	flex-shrink: 0;
	font-size: 0.78rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

body.stx-catalog-page .stx-pdp-carousel {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.35rem;
}

body.stx-catalog-page .stx-pdp-carousel__track {
	display: flex;
	flex: 1;
	gap: 0.65rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	-ms-overflow-style: none;
	padding-bottom: 0.15rem;
}

body.stx-catalog-page .stx-pdp-carousel__track::-webkit-scrollbar {
	display: none;
}

body.stx-catalog-page .stx-pdp-carousel__nav {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	padding: 0;
	border: 1px solid var(--stx-border, #30363d);
	border-radius: 0.45rem;
	background: rgba(13, 17, 23, 0.92);
	color: #f8fafc;
	font-size: 1.2rem;
	line-height: 1;
	cursor: pointer;
	transition: border-color 0.2s ease, color 0.2s ease;
}

body.stx-catalog-page .stx-pdp-carousel__nav:hover {
	border-color: var(--stx-accent, #d97706);
	color: var(--stx-accent, #d97706);
}

body.stx-catalog-page .stx-product-card--pdp-compact {
	flex: 0 0 calc((100% - (5 * 0.65rem)) / 6);
	min-width: 9.5rem;
	scroll-snap-align: start;
	border: 1px solid var(--stx-border, #30363d);
	border-radius: 0.65rem;
	background: var(--stx-card, #161b22);
	overflow: hidden;
}

body.stx-catalog-page .stx-pdp-carousel__track .stx-product-card--pdp-compact {
	flex: 0 0 calc((100% - (5 * 0.65rem)) / 6);
}

body.stx-catalog-page .stx-product-card--pdp-compact .stx-product-card__media {
	display: block;
	background: #ffffff;
	border-bottom: 1px solid var(--stx-border, #30363d);
}

body.stx-catalog-page .stx-product-card--pdp-compact .stx-product-card__media img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: contain;
	padding: 0.45rem;
	background: #ffffff;
}

body.stx-catalog-page .stx-product-card--pdp-compact .stx-product-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	padding: 0.55rem 0.6rem 0.65rem;
	background: var(--stx-card, #161b22);
}

body.stx-catalog-page .stx-product-card--pdp-compact .stx-product-card__title {
	margin: 0;
	font-size: 0.72rem;
	line-height: 1.3;
	font-weight: 600;
}

body.stx-catalog-page .stx-product-card--pdp-compact .stx-product-card__price {
	margin: 0;
	font-size: 0.82rem;
	font-weight: 800;
	color: var(--stx-accent, #d97706);
}

body.stx-catalog-page .stx-product-card--pdp-compact .stx-btn {
	width: 100%;
	justify-content: center;
	min-height: 1.85rem;
	padding: 0.3rem 0.5rem;
	font-size: 0.68rem;
}

@media (min-width: 900px) {
	body.stx-catalog-page .stx-product-detail-hero__grid {
		grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
		align-items: start;
	}
}

@media (min-width: 1200px) {
	body.stx-catalog-page .stx-pdp-carousel__track .stx-product-card--pdp-compact {
		flex: 0 0 calc((100% - (5 * 0.65rem)) / 6);
		max-width: calc((100% - (5 * 0.65rem)) / 6);
	}
}

@media (max-width: 899px) {
	body.stx-catalog-page .stx-pdp-carousel__track .stx-product-card--pdp-compact {
		flex: 0 0 calc((100% - (2 * 0.65rem)) / 3);
		min-width: 8.5rem;
	}
}

@media (max-width: 599px) {
	body.stx-catalog-page .stx-product-detail-buybox__meta-row {
		grid-template-columns: 1fr;
		gap: 0.15rem;
	}

	body.stx-catalog-page .stx-product-detail-gallery__main {
		max-height: none;
	}

	body.stx-catalog-page .stx-product-detail-gallery__nav {
		width: 2rem;
		height: 2rem;
	}

	body.stx-catalog-page .stx-product-detail-info-specs__col--specs {
		padding-left: 0;
		border-left: 0;
		padding-top: 1rem;
		border-top: 1px solid var(--stx-border, #30363d);
	}

	body.stx-catalog-page .stx-pdp-carousel__track .stx-product-card--pdp-compact {
		flex: 0 0 calc((100% - 0.65rem) / 2);
		min-width: 7.5rem;
	}

	body.stx-catalog-page .stx-pdp-carousel__nav--prev,
	body.stx-catalog-page .stx-pdp-carousel__nav--next {
		display: none;
	}
}
