body.post-type-archive-product #Content,
body.tax-product_cat #Content,
body.page #Content {
	background: #f4f5f7 !important;
}

body.post-type-archive-product #Subheader,
body.page #Subheader {
	display: none !important;
}

body.post-type-archive-product #Content,
body.page #Content {
	padding-top: 42px !important;
}

body.tax-product_cat #Subheader {
	background: #f4f5f7 !important;
	min-height: 0 !important;
	padding: 46px 0 28px !important;
}

body.tax-product_cat #Subheader .title {
	color: #111827 !important;
	opacity: 1 !important;
	font-size: 42px !important;
	font-weight: 700 !important;
}

body.post-type-archive-product .woocommerce-result-count,
body.post-type-archive-product .woocommerce-ordering,
body.post-type-archive-product ul.products,
body.post-type-archive-product nav.woocommerce-pagination,
body.post-type-archive-product .woocommerce-pagination,
body.post-type-archive-product #Content > .sidebar,
body.post-type-archive-product #Content .content_wrapper > .sidebar,
body.post-type-archive-product #Content .sidebar:not(.nsc-custom-catalog-sidebar),
body.tax-product_cat .woocommerce-result-count,
body.tax-product_cat .woocommerce-ordering,
body.tax-product_cat ul.products,
body.tax-product_cat nav.woocommerce-pagination,
body.tax-product_cat .woocommerce-pagination,
body.page nav.woocommerce-pagination,
body.page .woocommerce-pagination,
body.tax-product_cat #Content > .sidebar,
body.tax-product_cat #Content .content_wrapper > .sidebar,
body.tax-product_cat #Content .sidebar:not(.nsc-custom-catalog-sidebar) {
	display: none !important;
}

body.post-type-archive-product #Content .content_wrapper,
body.tax-product_cat #Content .content_wrapper,
body.page #Content .content_wrapper {
	width: calc(100vw - 48px) !important;
	max-width: 1360px !important;
	margin: 0 auto !important;
	padding-bottom: 60px !important;
}

body.page #Content .sections_group,
body.page #Content .section,
body.page #Content .section_wrapper,
body.page #Content .items_group,
body.page #Content .column.one.woocommerce-content,
body.page #Content .shop-filters {
	width: 100% !important;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: 0 !important;
	padding-right: 0 !important;
	float: none !important;
	box-sizing: border-box !important;
}

body.page #Content .nsc-custom-catalog {
	width: 100% !important;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

body.post-type-archive-product.with_aside .sections_group,
body.post-type-archive-product.aside_right .sections_group,
body.post-type-archive-product.aside_left .sections_group,
body.tax-product_cat.with_aside .sections_group,
body.tax-product_cat.aside_right .sections_group,
body.tax-product_cat.aside_left .sections_group {
	width: 100% !important;
	float: none !important;
}

.nsc-custom-catalog {
	display: grid;
	grid-template-columns: 280px minmax(0, 1fr);
	gap: 28px;
	align-items: start;
}

.nsc-custom-catalog-sidebar form,
.nsc-custom-catalog-categories {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	padding: 20px;
	margin-bottom: 16px;
}

.nsc-custom-catalog h3 {
	margin: 0 0 14px;
	padding-bottom: 12px;
	border-bottom: 1px solid #e5e7eb;
	font-size: 24px;
	line-height: 1.15;
	color: #111827;
}

.nsc-custom-catalog-search input {
	width: 100%;
	height: 42px;
	border: 1px solid #d1d5db;
	background: #f8fafc;
	padding: 9px 12px;
	margin-bottom: 10px;
	box-sizing: border-box;
}

.nsc-custom-catalog-search button {
	width: 100%;
	height: 42px;
	background: #e30613;
	color: #fff;
	border: 0;
	border-radius: 4px;
	font-weight: 700;
	cursor: pointer;
}

.nsc-custom-category-link {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid #f0f2f5;
	color: #111827;
	text-decoration: none;
	font-size: 15px;
	cursor: pointer;
}

.nsc-custom-category-group {
	border-bottom: 1px solid #f0f2f5;
}

.nsc-custom-category-group:last-child {
	border-bottom: 0;
}

.nsc-custom-category-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 6px;
}

.nsc-custom-category-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	margin: 0;
	padding: 0;
	border: 1px solid #dbe1e8;
	border-radius: 4px;
	background: #fff;
	color: #374151;
	font-size: 20px;
	font-weight: 500;
	line-height: 1;
	cursor: pointer;
}

.nsc-custom-category-toggle::before,
.nsc-custom-category-toggle::after {
	display: none !important;
	content: none !important;
}

.nsc-custom-category-toggle > span {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	font: inherit;
	line-height: 1;
}

.nsc-custom-category-toggle:hover,
.nsc-custom-category-toggle:focus-visible {
	border-color: #e30613;
	color: #e30613;
	outline: none;
}

.nsc-custom-category-link-parent {
	font-weight: 700;
}

.nsc-custom-category-children {
	display: none;
	margin: -2px 0 8px 10px;
	padding-left: 12px;
	border-left: 2px solid #edf0f4;
}

.nsc-custom-category-group.is-open > .nsc-custom-category-children {
	display: block;
}

.nsc-custom-category-link-child {
	padding: 7px 0;
	border-bottom: 0;
	color: #4b5563;
	font-size: 14px;
	font-weight: 500;
}

.nsc-custom-category-link-child span {
	color: #94a3b8;
}

.nsc-custom-category-label {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-width: 0;
	color: inherit !important;
}

.nsc-custom-category-label input {
	width: 15px;
	height: 15px;
	margin: 0;
	accent-color: #e30613;
	flex: 0 0 auto;
}

.nsc-custom-category-link:hover,
.nsc-custom-category-link.is-active {
	color: #e30613;
}

.nsc-custom-category-link.is-active span {
	color: #e30613;
}

.nsc-custom-category-reset {
	display: block;
	margin-top: 10px;
	color: #64748b;
	font-size: 13px;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
}

.nsc-custom-category-reset:hover {
	color: #e30613;
	text-decoration: none;
}

.nsc-custom-catalog-toolbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	margin-bottom: 18px;
	padding-bottom: 12px;
	border-bottom: 1px solid #d4dae2;
	color: #374151;
	font-size: 14px;
}

.nsc-custom-catalog-count {
	font-weight: 600;
}

.nsc-custom-catalog-note {
	color: #6b7280;
}

.nsc-custom-catalog-actions {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.nsc-custom-catalog-per-page {
	display: inline-flex;
	align-items: center;
	gap: 3px;
}

.nsc-custom-catalog-per-page-label {
	margin-right: 4px;
	color: #6b7280;
	font-size: 12px;
	font-weight: 600;
}

.nsc-custom-catalog-per-page a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 32px;
	height: 32px;
	padding: 0 8px;
	border: 1px solid #d1d5db;
	border-radius: 5px;
	background: #fff;
	color: #374151;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
}

.nsc-custom-catalog-per-page a:hover,
.nsc-custom-catalog-per-page a.is-active {
	border-color: #e30613;
	background: #e30613;
	color: #fff;
	text-decoration: none;
}

.nsc-custom-catalog-per-page-bottom {
	justify-content: center;
	width: 100%;
	margin-top: 18px;
}

.nsc-custom-catalog-view-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0;
	padding: 3px;
	background: #fff;
	border: 1px solid #d1d5db;
	border-radius: 6px;
}

.nsc-custom-catalog-view-toggle a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 72px;
	height: 32px;
	padding: 0 12px;
	border-radius: 4px;
	color: #374151;
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}

.nsc-custom-catalog-view-toggle a:hover,
.nsc-custom-catalog-view-toggle a.is-active {
	background: #e30613;
	color: #fff;
	text-decoration: none;
}

.nsc-custom-catalog-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}

.nsc-custom-catalog-main .nsc-custom-catalog-grid.nsc-custom-catalog-grid-categories {
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 12px !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}

.nsc-custom-catalog-main .nsc-custom-catalog-grid-categories .nsc-custom-catalog-card-category {
	border: 1px solid #e2e5ea !important;
	border-radius: 6px !important;
}

.nsc-custom-catalog-card {
	position: relative;
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr) 42px;
	align-items: center;
	gap: 22px;
	min-height: 132px;
	padding: 18px 22px;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	box-shadow: 0 10px 24px rgba(15, 23, 42, .04);
	color: #111827;
	text-decoration: none;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.nsc-custom-catalog-card:hover {
	transform: translateY(-2px);
	border-color: #e30613;
	box-shadow: 0 16px 32px rgba(15, 23, 42, .08);
	color: #111827;
	text-decoration: none;
}

.nsc-custom-catalog-image img {
	width: 110px !important;
	height: 84px !important;
	object-fit: contain;
	margin: 0 !important;
}

.nsc-custom-catalog-card-product .nsc-custom-catalog-image {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 120px;
	height: 104px;
	overflow: hidden;
	background: #fff;
}

.nsc-custom-catalog-card-product .nsc-custom-catalog-image img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	max-width: 110px !important;
	max-height: 92px !important;
	object-fit: contain !important;
	object-position: center !important;
}

.nsc-custom-catalog-image svg {
	width: 110px !important;
	height: 84px !important;
	display: block;
	object-fit: contain;
	margin: 0 !important;
}

.nsc-custom-category-svg {
	width: 110px;
	height: 84px;
	color: #111827;
	display: block;
	object-fit: contain;
}

.nsc-custom-category-svg-apollo {
	width: 126px;
	max-width: 100%;
}

.nsc-custom-catalog-title {
	display: block;
	font-size: 20px;
	line-height: 1.25;
	font-weight: 800;
}

.nsc-custom-catalog-title small {
	color: #6b7280;
	font-size: .9em;
}

.nsc-custom-catalog-sku,
.nsc-custom-catalog-description {
	display: block;
	margin-top: 6px;
	color: #4b5563;
	font-size: 14px;
	line-height: 1.4;
}

.nsc-custom-catalog-description {
	max-width: 620px;
}

.nsc-custom-catalog-price {
	display: inline-flex;
	align-items: center;
	margin-top: 10px;
	padding: 5px 10px;
	border-radius: 999px;
	background: #f1f5f9;
	color: #111827;
	font-size: 14px;
	font-weight: 800;
	line-height: 1.2;
}

.nsc-custom-catalog-price del {
	color: #94a3b8;
	font-weight: 600;
	margin-right: 6px;
}

.nsc-custom-catalog-price ins {
	color: #e30613;
	text-decoration: none;
}

.nsc-custom-pvp-price {
	display: inline-flex;
	align-items: baseline;
	gap: 4px;
	white-space: nowrap;
	color: #111827 !important;
	font-size: 14px !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
}

.nsc-custom-pvp-label,
.nsc-custom-pvp-tax {
	color: #111827 !important;
	font-size: inherit !important;
	font-weight: 700 !important;
	line-height: inherit !important;
	text-transform: uppercase;
}

.nsc-custom-pvp-value {
	color: #111827 !important;
	font-size: inherit !important;
	font-weight: 700 !important;
	line-height: inherit !important;
}

.nsc-custom-pvp-value *,
.nsc-custom-pvp-price bdi,
.nsc-custom-pvp-price span,
.nsc-custom-pvp-price ins,
.nsc-custom-pvp-price del {
	color: #111827 !important;
	font-size: inherit !important;
	font-weight: 700 !important;
	line-height: inherit !important;
}

.nsc-custom-pvp-price-single {
	display: inline-flex;
	align-items: baseline;
	width: auto !important;
	max-width: max-content;
	margin: 12px 0 18px;
	padding: 0;
	border-radius: 0;
	background: transparent;
	color: #111827 !important;
	font-size: 14px !important;
	font-weight: 700 !important;
}

.nsc-custom-catalog-login-price,
.nsc-custom-price-on-request,
.nsc-custom-login-price-notice {
	display: inline-flex;
	align-items: center;
	margin-top: 10px;
	padding: 6px 10px;
	border-radius: 999px;
	background: #fff7ed;
	color: #9a3412;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.25;
}

.nsc-custom-price-on-request {
	background: #f1f5f9;
	color: #111827;
}

.nsc-custom-price-on-request-single {
	display: inline-flex;
	border-radius: 6px;
	margin: 14px 0 18px;
	padding: 10px 14px;
	font-size: 15px;
	font-weight: 800;
}

.nsc-custom-login-price-notice-single {
	display: block;
	border-radius: 6px;
	border-left: 4px solid #e30613;
	background: #f8fafc;
	color: #334155;
	margin: 14px 0 18px;
	padding: 13px 15px;
	font-size: 15px;
}

.nsc-custom-login-price-notice-single a {
	color: #e30613;
	font-weight: 800;
	text-decoration: none;
}

.nsc-custom-login-price-notice-single a:hover {
	text-decoration: underline;
}

.nsc-custom-catalog-grid-products.nsc-custom-catalog-view-list {
	grid-template-columns: 1fr;
	gap: 12px;
}

.nsc-custom-catalog-view-list .nsc-custom-catalog-card-product {
	grid-template-columns: 92px minmax(0, 1fr) 36px;
	min-height: 96px;
	padding: 14px 18px;
	box-shadow: none;
}

.nsc-custom-catalog-view-list .nsc-custom-catalog-image img {
	width: 100% !important;
	height: 100% !important;
	max-width: 82px !important;
	max-height: 68px !important;
	object-fit: contain !important;
	object-position: center !important;
}

.nsc-custom-catalog-view-list .nsc-custom-catalog-image {
	width: 92px;
	height: 76px;
}

.nsc-custom-catalog-view-list .nsc-custom-category-svg {
	width: 82px;
	height: 64px;
}

.nsc-custom-catalog-view-list .nsc-custom-catalog-title {
	font-size: 17px;
}

.nsc-custom-catalog-view-list .nsc-custom-catalog-description {
	max-width: 760px;
}

.nsc-custom-catalog-arrow {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: #e30613;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 32px;
	line-height: 1;
	font-weight: 700;
}

.nsc-custom-catalog-empty {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 6px;
	padding: 24px;
	color: #374151;
}

.nsc-custom-catalog-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	margin: 28px 0 0;
	padding: 0;
	background: #f4f5f7 !important;
	background-image: none !important;
}

.nsc-custom-catalog-pagination .page-numbers {
	min-width: 36px;
	height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 10px;
	border-radius: 5px;
	background: transparent;
	color: #6b7280;
	font-weight: 600;
	text-decoration: none;
}

.nsc-custom-catalog-pagination .page-numbers.current,
.nsc-custom-catalog-pagination .page-numbers:hover {
	background: #e30613;
	color: #fff;
}

.nsc-custom-catalog-pagination .page-numbers.dots {
	background: transparent;
	color: #6b7280;
}

@media (max-width: 900px) {
	body.post-type-archive-product #Content .content_wrapper,
	body.tax-product_cat #Content .content_wrapper {
		width: 100% !important;
		padding-left: 16px !important;
		padding-right: 16px !important;
	}

	.nsc-custom-catalog {
		grid-template-columns: 1fr;
	}

	.nsc-custom-catalog-main .nsc-custom-catalog-grid.nsc-custom-catalog-grid-categories {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 620px) {
	.nsc-custom-catalog-toolbar {
		align-items: flex-start;
		flex-direction: column;
	}

	.nsc-custom-catalog-view-toggle {
		width: 100%;
	}

	.nsc-custom-catalog-actions {
		align-items: stretch;
		flex-direction: column;
		width: 100%;
	}

	.nsc-custom-catalog-per-page {
		justify-content: flex-start;
	}

	.nsc-custom-catalog-view-toggle a {
		flex: 1;
	}

	.nsc-custom-catalog-grid {
		grid-template-columns: 1fr;
	}

	.nsc-custom-catalog-main .nsc-custom-catalog-grid.nsc-custom-catalog-grid-categories {
		grid-template-columns: 1fr !important;
	}

	.nsc-custom-catalog-card {
		grid-template-columns: 88px minmax(0, 1fr) 30px;
		gap: 14px;
		padding: 14px;
		min-height: 110px;
	}

	.nsc-custom-catalog-image img {
		width: 82px !important;
		height: 64px !important;
	}

	.nsc-custom-category-svg {
		width: 82px;
		height: 64px;
	}

	.nsc-custom-catalog-title {
		font-size: 16px;
	}
}