/**

 * STX Catalog frontend styles.

 * Layout and components aligned with WooCommerce trunk templates.

 */



.stx-catalog.woocommerce {

	max-width: 1600px;

	margin: 0 auto;

	padding: 0 32px 2rem;

	box-sizing: border-box;

	width: 100%;

}



.stx-catalog.woocommerce *,

.stx-catalog.woocommerce *::before,

.stx-catalog.woocommerce *::after {

	box-sizing: inherit;

}



.stx-catalog .woocommerce-breadcrumb {

	margin-bottom: 1.5rem;

	font-size: 0.9rem;

	color: #666;

}



.stx-catalog .woocommerce-breadcrumb a {

	color: inherit;

	text-decoration: none;

}



.stx-catalog .woocommerce-breadcrumb a:hover {

	text-decoration: underline;

}



.stx-catalog .woocommerce-products-header__title {

	margin-bottom: 0.5rem;

}



.stx-catalog-intro {

	color: #666;

	margin-bottom: 1rem;

}



.stx-shop-categories {

	display: flex;

	flex-wrap: wrap;

	gap: 0.5rem 1rem;

	list-style: none;

	margin: 0 0 1.5rem;

	padding: 0;

}



.stx-shop-category-link {

	text-decoration: none;

	font-weight: 600;

}



.stx-shop-category-link[aria-current="page"] {

	text-decoration: underline;

}



.stx-catalog-layout {

	display: grid;

	grid-template-columns: 280px minmax(0, 1fr);

	gap: 32px;

	align-items: start;

	width: 100%;

}



.stx-catalog-sidebar .widget {

	background: #f8f8f8;

	border: 1px solid #e5e5e5;

	padding: 1rem;

	margin-bottom: 1rem;

}



.stx-catalog-sidebar .widget-title {

	margin-top: 0;

	font-size: 1rem;

}



.stx-catalog-sidebar label {

	display: block;

	font-weight: 600;

	margin-bottom: 0.25rem;

}



.stx-catalog-sidebar input[type="search"],

.stx-catalog-sidebar input[type="number"],

.stx-catalog-sidebar select {

	width: 100%;

	margin-bottom: 0.75rem;

}



.stx-price-range {

	display: grid;

	grid-template-columns: 1fr 1fr;

	gap: 0.5rem;

}



.stx-catalog-main .woocommerce-before-shop-loop {

	display: flex;

	flex-wrap: wrap;

	align-items: center;

	justify-content: space-between;

	gap: 1rem;

	margin-bottom: 1.5rem;

	clear: both;

}



.stx-catalog-main .woocommerce-before-shop-loop::after {

	content: "";

	display: table;

	clear: both;

}



.stx-catalog-main .woocommerce-result-count {

	margin: 0;

}



.stx-catalog-main .woocommerce-ordering {

	margin: 0;

}



.stx-catalog-main .woocommerce-ordering select.orderby {

	min-width: 220px;

}



/* Product grid - WooCommerce ul.products */

.stx-catalog ul.products {

	display: grid !important;

	list-style: none !important;

	margin: 0 !important;

	padding: 0 !important;

	clear: both;

	gap: 1.5rem;

	visibility: visible !important;

	opacity: 1 !important;

}



.stx-catalog ul.products.columns-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }

.stx-catalog ul.products.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.stx-catalog ul.products.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.stx-catalog ul.products.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.stx-catalog ul.products.columns-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

.stx-catalog ul.products.columns-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }



.stx-catalog ul.products li.product {

	position: relative;

	display: block !important;

	visibility: visible !important;

	opacity: 1 !important;

	border: 1px solid #e5e5e5;

	padding: 1rem;

	text-align: center;

	background: #fff;

	transition: box-shadow 0.2s ease;

}



.stx-catalog ul.products li.product:hover {

	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);

}



.stx-catalog ul.products li.product .onsale {

	position: absolute;

	top: 0.75rem;

	left: 0.75rem;

	z-index: 2;

	background: #c62828;

	color: #fff;

	font-size: 0.72rem;

	font-weight: 700;

	line-height: 1;

	padding: 0.4rem 0.55rem;

	border-radius: 3px;

	text-transform: uppercase;

}



.stx-catalog .woocommerce-LoopProduct-link {

	text-decoration: none;

	color: inherit;

	display: block;

}



.stx-catalog .woocommerce-loop-product__image-wrap {

	display: flex;

	margin-bottom: 0.75rem;

	min-height: 180px;

	align-items: center;

	justify-content: center;

}



.stx-catalog .woocommerce-loop-product__image-wrap img {

	max-width: 100%;

	max-height: 180px;

	height: auto;

	object-fit: contain;

}



.stx-catalog .woocommerce-loop-product__title {

	font-size: 1rem;

	line-height: 1.35;

	margin: 0 0 0.5rem;

}



.stx-catalog .stx-loop-manufacturer {

	display: block;

	font-size: 0.85rem;

	color: #666;

	margin-bottom: 0.35rem;

}



.stx-catalog .price {

	display: block;

	font-weight: 700;

	color: #111;

	margin-bottom: 0.5rem;

}



.stx-catalog .price del {

	color: #888;

	font-weight: 400;

	text-decoration: line-through;

	margin-right: 0.35rem;

}



.stx-catalog .price ins {

	text-decoration: none;

}



.stx-catalog .stock {

	display: block;

	font-size: 0.85rem;

	margin-bottom: 0.75rem;

}



.stx-catalog .stock.in-stock {

	color: #2e7d32;

}



.stx-catalog .stock.out-of-stock {

	color: #c62828;

}



.stx-catalog ul.products .button {

	display: inline-block;

	margin-top: 0.25rem;

	padding: 0.55rem 1rem;

	background: #111;

	color: #fff;

	border: 0;

	border-radius: 3px;

	text-decoration: none;

	font-size: 0.9rem;

}



.stx-catalog ul.products .button:hover {

	background: #333;

	color: #fff;

}



.stx-catalog .woocommerce-no-products-found {

	margin: 1rem 0;

}



.stx-catalog .woocommerce-info {

	padding: 1rem;

	background: #f8f8f8;

	border-left: 4px solid #111;

}



/* Pagination */

.stx-catalog .woocommerce-pagination ul {

	display: flex;

	gap: 0.5rem;

	list-style: none;

	padding: 0;

	margin: 2rem 0 0;

	flex-wrap: wrap;

}



.stx-catalog .woocommerce-pagination a,

.stx-catalog .woocommerce-pagination span {

	padding: 0.5rem 0.75rem;

	border: 1px solid #ddd;

	text-decoration: none;

}



.stx-catalog .woocommerce-pagination .current {

	background: #111;

	color: #fff;

	border-color: #111;

}



/* Single product */

.stx-catalog.single-product .product {

	display: grid;

	grid-template-columns: 1fr 1fr;

	gap: 2rem;

}



.stx-catalog.single-product .summary {

	position: relative;

}



.stx-catalog.single-product .summary .onsale {

	display: inline-block;

	background: #c62828;

	color: #fff;

	font-size: 0.75rem;

	font-weight: 700;

	padding: 0.35rem 0.55rem;

	border-radius: 3px;

	margin-bottom: 0.75rem;

	text-transform: uppercase;

}



.stx-catalog .woocommerce-product-gallery {

	margin-bottom: 1rem;

}



.stx-catalog .woocommerce-product-gallery__wrapper {

	margin: 0;

}



.stx-catalog .woocommerce-product-gallery__image img,

.stx-catalog .stx-product-gallery img {

	width: 100%;

	max-width: 500px;

	height: auto;

	object-fit: contain;

}



.stx-catalog .product_title {

	margin-top: 0;

}



.stx-catalog .summary .price {

	font-size: 1.25rem;

}



.stx-catalog .cart {

	margin-top: 1rem;

}



.stx-catalog .stx-request-quote,
.stx-catalog .stx-request-availability {

	padding: 0.75rem 1.25rem;

}



.stx-catalog .product_meta {

	margin-top: 1rem;

	font-size: 0.9rem;

}



.stx-catalog .product_meta .sku_wrapper,

.stx-catalog .product_meta .posted_in {

	display: block;

	margin-bottom: 0.25rem;

}



.stx-catalog .woocommerce-product-attributes {

	width: 100%;

	border-collapse: collapse;

}



.stx-catalog .woocommerce-product-attributes th,

.stx-catalog .woocommerce-product-attributes td {

	border: 1px solid #e5e5e5;

	padding: 0.5rem 0.75rem;

	text-align: left;

}



.stx-catalog .woocommerce-product-attributes th {

	background: #f8f8f8;

	width: 35%;

}



.stx-catalog .woocommerce-Tabs-panel {

	margin-top: 2rem;

	grid-column: 1 / -1;

}



.stx-back-link {

	grid-column: 1 / -1;

}



.stx-quick-actions {

	margin: 1.5rem 0 2rem;

}



.stx-quick-actions .button {

	margin: 0 0.5rem 0.5rem 0;

}



.stx-catalog-debug {

	font-size: 12px;

}



@media (max-width: 1024px) {

	.stx-catalog ul.products.columns-4,

	.stx-catalog ul.products.columns-5,

	.stx-catalog ul.products.columns-6 {

		grid-template-columns: repeat(3, minmax(0, 1fr));

	}

}



@media (max-width: 900px) {

	.stx-catalog-layout,

	.stx-catalog.single-product .product {

		grid-template-columns: 1fr;

	}



	.stx-catalog ul.products.columns-3,

	.stx-catalog ul.products.columns-4,

	.stx-catalog ul.products.columns-5,

	.stx-catalog ul.products.columns-6 {

		grid-template-columns: repeat(2, minmax(0, 1fr));

	}

}



@media (max-width: 600px) {

	.stx-catalog ul.products,

	.stx-catalog ul.products[class*="columns-"] {

		grid-template-columns: 1fr;

	}

}

/* Bullseye catalog layout — sidebar, grid, product detail */
.stx-catalog-shell,
.stx-catalog-hub.catalog-shell,
.stx-catalog-hub .catalog-page,
.stx-catalog-hub .catalog-layout {
	width: 100%;
	max-width: none;
}

.stx-catalog-hub.stx-retail-catalog,
.stx-catalog-hub.catalog-shell {
	max-width: 1600px;
	margin: 0 auto;
	padding: 0 32px 3rem;
	width: 100%;
	box-sizing: border-box;
}

.stx-catalog-hub .catalog-page,
.stx-catalog-hub .catalog-layout,
.stx-catalog-hub .stx-shop-layout {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	gap: 32px;
	align-items: start;
	width: 100%;
}

.stx-catalog-hub .catalog-main {
	min-width: 0;
	width: 100%;
	overflow: visible;
}

.stx-catalog .single-product,
.stx-catalog-hub + .stx-catalog.single-product,
.stx-catalog.woocommerce.single-product {
	max-width: 1500px;
	margin: 0 auto;
	padding: 0 32px 2rem;
	width: 100%;
	box-sizing: border-box;
}

.stx-catalog-hub .filter-sidebar {
	position: sticky;
	top: 96px;
	align-self: start;
	border: 1px solid rgba(148, 163, 184, 0.18);
	border-radius: 8px;
	background: rgba(15, 23, 42, 0.92);
	padding: 1rem;
	max-height: calc(100vh - 120px);
	overflow: auto;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.stx-catalog-hub .filter-sidebar-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	margin-bottom: 1rem;
	padding-bottom: 0.85rem;
	border-bottom: 1px solid rgba(148, 163, 184, 0.18);
}

.stx-catalog-hub .filter-sidebar-title {
	margin: 0;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #fbbf24;
}

.stx-catalog-hub .filter-clear-btn {
	border: 1px solid rgba(148, 163, 184, 0.22);
	border-radius: 999px;
	background: transparent;
	color: #cbd5e1;
	font-size: 0.72rem;
	font-weight: 700;
	padding: 0.35rem 0.7rem;
	text-decoration: none;
}

.stx-catalog-hub .filter-group {
	border-bottom: 1px solid rgba(148, 163, 184, 0.14);
	padding-bottom: 1rem;
	margin-bottom: 1rem;
}

.stx-catalog-hub .filter-group-title {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto auto;
	align-items: center;
	gap: 0.6rem;
	list-style: none;
	cursor: pointer;
	margin: 0;
	border: 1px solid rgba(148, 163, 184, 0.14);
	border-radius: 8px;
	background: rgba(15, 23, 42, 0.74);
	padding: 0.72rem 0.8rem;
	font-size: 0.82rem;
	font-weight: 800;
	color: #e2e8f0;
	transition: border-color 0.18s ease, background 0.18s ease;
}

.stx-catalog-hub .filter-group-title:hover,
.stx-catalog-hub .filter-group[open] .filter-group-title {
	border-color: rgba(245, 158, 11, 0.3);
	background: rgba(30, 41, 59, 0.82);
}

.stx-catalog-hub .filter-group-title::-webkit-details-marker {
	display: none;
}

.stx-catalog-hub .filter-group-title::after {
	content: "";
	width: 0.48rem;
	height: 0.48rem;
	border-right: 2px solid #f59e0b;
	border-bottom: 2px solid #f59e0b;
	transform: rotate(45deg) translateY(-2px);
	transition: transform 0.18s ease;
}

.stx-catalog-hub .filter-group[open] .filter-group-title::after {
	transform: rotate(225deg) translateY(-2px);
}

.stx-catalog-hub .filter-group-current {
	min-width: 0;
	max-width: 8.75rem;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	border-radius: 999px;
	background: rgba(245, 158, 11, 0.12);
	color: #fef3c7;
	font-size: 0.68rem;
	font-weight: 800;
	padding: 0.22rem 0.48rem;
}

.stx-catalog-hub .filter-group-list {
	display: grid;
	gap: 0.4rem;
	margin-top: 0.65rem;
	padding: 0;
	list-style: none;
}

.stx-catalog-hub .filter-option {
	position: relative;
	display: grid;
	grid-template-columns: 1.15rem minmax(0, 1fr) auto;
	align-items: center;
	gap: 0.65rem;
	font-size: 0.86rem;
	color: #cbd5e1;
	border: 1px solid transparent;
	border-radius: 8px;
	padding: 0.55rem 0.65rem;
	cursor: pointer;
	transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.stx-catalog-hub .filter-option::before {
	content: "";
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.05rem;
	height: 1.05rem;
	border: 1px solid rgba(148, 163, 184, 0.36);
	border-radius: 4px;
	background: rgba(2, 6, 23, 0.4);
	color: #111827;
	font-size: 0.74rem;
	font-weight: 900;
	line-height: 1;
}

.stx-catalog-hub .filter-option:hover,
.stx-catalog-hub .filter-option.is-active,
.stx-catalog-hub .filter-option:has(input:checked) {
	border-color: rgba(245, 158, 11, 0.38);
	background: rgba(245, 158, 11, 0.1);
	color: #f8fafc;
}

.stx-catalog-hub .filter-option.is-active::before,
.stx-catalog-hub .filter-option:has(input:checked)::before {
	content: "✓";
	border-color: #f59e0b;
	background: #f59e0b;
	color: #111827;
}

.stx-catalog-hub .filter-option input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

.stx-catalog-hub .filter-option input:disabled {
	cursor: not-allowed;
	opacity: 0.75;
}

.stx-catalog-hub .filter-option:has(input:disabled) {
	cursor: not-allowed;
	opacity: 0.68;
}

.stx-catalog-hub .filter-option-label {
	min-width: 0;
	overflow-wrap: anywhere;
}

.stx-catalog-hub .filter-option-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 1.65rem;
	border-radius: 999px;
	background: rgba(148, 163, 184, 0.14);
	color: #cbd5e1;
	font-size: 0.72rem;
	font-weight: 800;
	line-height: 1;
	padding: 0.28rem 0.45rem;
}

.stx-catalog-hub .filter-option.is-active .filter-option-count,
.stx-catalog-hub .filter-option:has(input:checked) .filter-option-count {
	background: rgba(245, 158, 11, 0.24);
	color: #fef3c7;
}

.stx-catalog-hub .catalog-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	width: 100%;
	margin-bottom: 24px;
	flex-wrap: wrap;
}

.stx-catalog-hub .catalog-toolbar-search {
	flex: 1 1 280px;
	min-width: 0;
}

.stx-catalog-hub .catalog-toolbar-meta {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 16px;
	flex: 0 0 auto;
}

.stx-catalog-hub .catalog-toolbar select.orderby,
.stx-catalog-hub .catalog-toolbar #catalog-sort,
.stx-catalog-hub .catalog-sort-form select {
	width: auto;
	min-width: 180px;
	max-width: none;
	flex: 0 0 auto;
}

.stx-catalog-hub .catalog-filter-toggle {
	display: none;
}

.stx-catalog-hub .catalog-results-count {
	margin: 0;
	font-size: 0.85rem;
	font-weight: 700;
	color: #cbd5e1;
}

.stx-catalog-hub .product-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 28px;
	width: 100%;
	min-width: 0;
}

.stx-catalog-hub .product-grid > ul.products {
	display: contents;
}

.stx-catalog-hub .product-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	height: 100%;
}

.stx-catalog-hub .product-card-image {
	position: relative;
	height: 200px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f8fafc;
}

.stx-catalog-hub .product-card-image img {
	max-width: 100%;
	max-height: 170px;
	object-fit: contain;
}

.stx-catalog-hub .product-card-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	font-size: 0.68rem;
	font-weight: 800;
	text-transform: uppercase;
	padding: 0.25rem 0.65rem;
	border-radius: 999px;
	color: #fff;
}

.stx-catalog-hub .product-card-body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 1rem;
	gap: 0.45rem;
}

.stx-catalog-hub .product-card-title {
	margin: 0;
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.stx-catalog-hub .product-card-cta {
	margin-top: auto;
	width: 100%;
	text-align: center;
}

.stx-catalog-hub .catalog-empty-state {
	grid-column: 1 / -1;
	text-align: center;
	padding: 2.5rem 1.5rem;
	border: 1px dashed rgba(245, 158, 11, 0.35);
	border-radius: 1rem;
}

.stx-catalog .product-detail {
	display: grid;
	grid-template-columns: minmax(0, 55%) minmax(360px, 45%);
	gap: 48px;
	align-items: start;
}

.stx-catalog .product-detail-image {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 420px;
	max-height: 520px;
	background: #f8fafc;
	border-radius: 1rem;
	padding: 1.5rem;
}

.stx-catalog .product-detail-image img {
	max-width: 100%;
	max-height: 520px;
	object-fit: contain;
}

.stx-catalog .product-detail-extra {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px;
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(148, 163, 184, 0.18);
}

.stx-catalog .product-spec-table {
	width: 100%;
	border-collapse: collapse;
}

.stx-catalog .product-spec-table th,
.stx-catalog .product-spec-table td {
	padding: 0.75rem 1rem;
	text-align: left;
	font-size: 0.88rem;
	border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.stx-catalog .product-spec-table tr:nth-child(odd) {
	background: rgba(2, 6, 23, 0.55);
}

.stx-catalog .product-spec-table tr:nth-child(even) {
	background: rgba(15, 23, 42, 0.72);
}

@media (max-width: 1024px) {
	.stx-catalog-hub .catalog-page {
		grid-template-columns: 1fr;
	}

	.stx-catalog-hub .filter-sidebar {
		position: fixed;
		top: 0;
		left: 0;
		bottom: 0;
		width: min(88vw, 320px);
		max-height: none;
		z-index: 70;
		transform: translateX(-110%);
		transition: transform 0.25s ease;
		border-radius: 0;
	}

	.stx-catalog-hub .filter-sidebar.is-open {
		transform: translateX(0);
	}

	.stx-catalog-hub .catalog-filter-toggle {
		display: inline-flex;
	}

	.stx-catalog-hub .catalog-toolbar {
		grid-template-columns: auto 1fr;
	}

	.stx-catalog-hub .catalog-toolbar-search,
	.stx-catalog-hub .catalog-toolbar-meta {
		grid-column: 1 / -1;
	}

	.stx-catalog .product-detail,
	.stx-catalog .product-detail-extra {
		grid-template-columns: 1fr;
	}
}

.stx-catalog-hub ul.products {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 28px;
	list-style: none;
	margin: 0;
	padding: 0;
	width: 100%;
	min-width: 0;
}

.stx-catalog-hub .product-grid > ul.products {
	display: contents;
}

.stx-catalog-hub ul.products li.product {
	list-style: none;
	margin: 0;
	padding: 0;
	min-width: 0;
}

.stx-catalog-hub .stx-product-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	height: 100%;
	width: 100%;
}

.stx-catalog-hub .woocommerce-loop-product__image-wrap,
.stx-catalog-hub .stx-retail-card-img {
	height: 200px;
}

.stx-catalog-hub .woocommerce-loop-product__title,
.stx-catalog-hub .stx-retail-product-title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.stx-catalog-hub .onsale {
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 2;
}

.stx-catalog-hub .button.stx-request-availability {
	width: calc(100% - 2rem);
	margin: auto 1rem 1rem;
	text-align: center;
}

/* Escape theme narrow wrappers — STX Bullseye uses double sidebar (theme + plugin) */
body.stx-catalog-plugin-active .stx-section:has(.stx-catalog-hub),
body:has(.stx-catalog-hub) .stx-section {
	width: 100%;
	max-width: none;
}

body.stx-catalog-plugin-active .stx-container:has(.stx-catalog-hub),
body:has(.stx-catalog-hub) .stx-container {
	max-width: 1600px !important;
	width: 100% !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: 32px !important;
	padding-right: 32px !important;
	box-sizing: border-box;
}

/* Theme sidebar duplicates plugin filters — hide it so grid gets full width */
body.stx-catalog-plugin-active .stx-catalog-layout:has(.stx-catalog-hub),
body:has(.stx-catalog-hub) .stx-catalog-layout {
	display: block !important;
	grid-template-columns: 1fr !important;
	width: 100% !important;
	max-width: none !important;
	gap: 0 !important;
}

body.stx-catalog-plugin-active .stx-catalog-layout:has(.stx-catalog-hub) > .stx-catalog-sidebar,
body:has(.stx-catalog-hub) .stx-catalog-layout > .stx-catalog-sidebar {
	display: none !important;
}

body.stx-catalog-plugin-active .stx-catalog-main:has(.stx-catalog-hub),
body:has(.stx-catalog-hub) .stx-catalog-main {
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
}

body.stx-catalog-plugin-active .stx-catalog-shell:has(.stx-catalog-hub),
body:has(.stx-catalog-hub) .stx-catalog-shell {
	width: 100% !important;
	max-width: 100% !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
}

body.stx-catalog-plugin-active .stx-catalog-main .stx-section-head:has(+ .stx-catalog-shell .stx-catalog-hub),
body:has(.stx-catalog-hub) .stx-catalog-main > .stx-section-head {
	display: none;
}

.stx-catalog-main,
.stx-catalog-shell {
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box;
}

.catalog-shell.stx-catalog-hub,
.stx-catalog-shell .catalog-shell.stx-catalog-hub,
.stx-catalog-hub.catalog-shell {
	width: 100% !important;
	max-width: 1600px !important;
	margin-left: auto !important;
	margin-right: auto !important;
	padding-left: 32px !important;
	padding-right: 32px !important;
	box-sizing: border-box;
}

.stx-catalog-hub .catalog-layout,
.stx-catalog-hub .catalog-page.catalog-layout {
	display: grid !important;
	grid-template-columns: 280px minmax(0, 1fr) !important;
	gap: 32px !important;
	width: 100% !important;
	max-width: none !important;
	align-items: start !important;
}

.stx-catalog-hub .catalog-main {
	min-width: 0 !important;
	width: 100% !important;
	overflow: visible !important;
}

.stx-catalog-hub .product-grid {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)) !important;
	gap: 28px !important;
	width: 100% !important;
	min-width: 0 !important;
}

.stx-catalog-hub .catalog-toolbar {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 20px !important;
	width: 100% !important;
	margin-bottom: 24px !important;
	flex-wrap: wrap !important;
}

.stx-catalog-hub .catalog-toolbar-meta {
	display: flex !important;
	align-items: center !important;
	gap: 16px !important;
	flex: 0 0 auto !important;
}

.stx-catalog-hub .catalog-toolbar select.orderby,
.stx-catalog-hub .catalog-toolbar #catalog-sort,
.stx-catalog-hub .catalog-sort-form select {
	width: auto !important;
	min-width: 180px !important;
	max-width: none !important;
	flex: 0 0 auto !important;
}

.mx-auto.max-w-7xl:has(.stx-catalog-main),
.mx-auto.max-w-7xl:has(.stx-catalog-shell),
.mx-auto.max-w-7xl:has(.catalog-shell) {
	max-width: 1600px !important;
	width: 100% !important;
	padding-left: 32px !important;
	padding-right: 32px !important;
}

/* Theme index.php line 10: section.mx-auto.max-w-4xl (~896px) wraps shortcode pages */
.mx-auto.max-w-4xl:has(.stx-catalog-hub),
.mx-auto.max-w-4xl:has(.catalog-shell) {
	max-width: 1600px !important;
	width: 100% !important;
	padding-left: 32px !important;
	padding-right: 32px !important;
	box-sizing: border-box;
}

.glass-card:has(.stx-catalog-hub),
.glass-card:has(.catalog-shell) {
	background: transparent !important;
	border: none !important;
	box-shadow: none !important;
	padding: 0 !important;
}

