

/* Desktop: widen only the product listing on category and search pages. The
   content/grid use --wp--style--global--wide-size, while the header and footer
   use --nss-container — pinning the latter to the site-wide width keeps them
   untouched and identical across every page. The min() caps stay responsive. */
@media (min-width: 1280px) {
	:is(body.tax-product_cat,body.tax-product_brand) {
		--wp--style--global--wide-size: 1600px;
		--nss-container: 1360px;
	}
}
:is(body.tax-product_cat,body.tax-product_brand) main.wp-block-group.is-layout-constrained.wp-block-group-is-layout-constrained {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	column-gap: 1rem;
	row-gap: 0.6rem;
	align-items: end;
	padding-top: 0;
}
:is(body.tax-product_cat,body.tax-product_brand) main.wp-block-group.is-layout-constrained.wp-block-group-is-layout-constrained > .wp-block-breadcrumbs,
:is(body.tax-product_cat,body.tax-product_brand) main.wp-block-group.is-layout-constrained.wp-block-group-is-layout-constrained > .wp-block-woocommerce-product-collection,
:is(body.tax-product_cat,body.tax-product_brand) main.wp-block-group.is-layout-constrained.wp-block-group-is-layout-constrained > .nss-product-archive-with-filter,
:is(body.tax-product_cat,body.tax-product_brand) main.wp-block-group.is-layout-constrained.wp-block-group-is-layout-constrained > .woocommerce-pagination,
:is(body.tax-product_cat,body.tax-product_brand) main.wp-block-group.is-layout-constrained.wp-block-group-is-layout-constrained > .wp-block-query-pagination {
	grid-column: 1 / -1;
	width: 100%;
	max-width: 100% !important;
	margin-inline: 0;
}
:is(body.tax-product_cat,body.tax-product_brand) .wp-block-breadcrumbs {
	grid-row: 1;
	margin-block: 0.5rem 0;
}
:is(body.tax-product_cat,body.tax-product_brand) .wp-block-query-title {
	grid-column: 1;
	grid-row: 2;
	justify-self: start;
	width: 100%;
	max-width: 100% !important;
	margin-inline: 0;
	margin-block: 0;
	align-self: center;
}
:is(body.tax-product_cat,body.tax-product_brand) .wp-block-group.alignwide.is-content-justification-space-between.is-nowrap.wp-block-group-is-layout-flex {
	grid-column: 2;
	grid-row: 2;
	align-self: center;
	justify-self: end;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0;
	width: auto;
	margin: 0;
}
:is(body.tax-product_cat,body.tax-product_brand) .wp-block-woocommerce-store-notices {
	grid-column: 1 / -1;
	grid-row: 3;
}
:is(body.tax-product_cat,body.tax-product_brand) .wc-block-product-results-count,
:is(body.tax-product_cat,body.tax-product_brand) .woocommerce-result-count {
	display: none;
}
:is(body.tax-product_cat,body.tax-product_brand) .woocommerce-ordering {
	margin: 0;
}
:is(body.tax-product_cat,body.tax-product_brand) .woocommerce-ordering select {
	min-width: 190px;
}
:is(body.tax-product_cat,body.tax-product_brand) .wp-block-woocommerce-product-collection {
	grid-row: 4;
	margin-block: 0.2rem 2rem;
}
:is(body.tax-product_cat,body.tax-product_brand) .wc-block-product-template > .nss-category-archive-banner,
:is(body.tax-product_cat,body.tax-product_brand) .wc-block-grid__products > .nss-category-archive-banner {
	grid-column: 1 / -1;
	display: block;
	height: auto;
	min-height: 0;
	padding: 0;
	overflow: hidden;
	background: transparent;
	border: 0;
	border-radius: var(--nss-wc-radius-card);
	box-shadow: none;
	line-height: 0;
}
:is(body.tax-product_cat,body.tax-product_brand) .nss-category-archive-banner__link {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: var(--nss-wc-radius-card);
	box-shadow: var(--nss-wc-shadow-card);
	text-decoration: none;
}
:is(body.tax-product_cat,body.tax-product_brand) .nss-category-archive-banner__link picture {
	display: contents;
}
:is(body.tax-product_cat,body.tax-product_brand) .nss-category-archive-banner__image {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 4;
	height: auto;
	object-fit: cover;
}
/* Mobile: a separate ~3:2 banner image would be squashed to a thin sliver in the
   16:4 box (looks like it "isn't showing"). Give it its real 3:2 box so the
   mobile picture is displayed in full. Banners without a mobile image keep 16:4. */
@media (max-width: 767px) {
	:is(body.tax-product_cat,body.tax-product_brand) .nss-category-archive-banner--has-mobile .nss-category-archive-banner__image {
		aspect-ratio: 3 / 2;
	}
}
/* No mask — the image shows as-is; text colour is set per banner (Цвет
   заголовка/текста/кнопки). The text block is pinned to the bottom on the
   chosen side. */
:is(body.tax-product_cat,body.tax-product_brand) .nss-category-archive-banner__overlay {
	position: absolute;
	bottom: clamp(0.7rem, 2vw, 1.2rem);
	max-width: min(32rem, 78%);
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	color: #fff;
}
:is(body.tax-product_cat,body.tax-product_brand) .nss-category-archive-banner__overlay--left {
	left: clamp(0.7rem, 2vw, 1.2rem);
	align-items: flex-start;
	text-align: left;
}
:is(body.tax-product_cat,body.tax-product_brand) .nss-category-archive-banner__overlay--right {
	right: clamp(0.7rem, 2vw, 1.2rem);
	align-items: flex-end;
	text-align: right;
}
:is(body.tax-product_cat,body.tax-product_brand) .nss-category-archive-banner__overlay--center {
	left: 50%;
	transform: translateX(-50%);
	align-items: center;
	text-align: center;
}
:is(body.tax-product_cat,body.tax-product_brand) .nss-category-archive-banner__title {
	display: block;
	font-size: clamp(1.15rem, 2.4vw, 1.7rem);
	font-weight: 950;
	line-height: 1.15;
}
:is(body.tax-product_cat,body.tax-product_brand) .nss-category-archive-banner__text {
	display: block;
	color: rgba(255, 255, 255, 0.86);
	font-size: 0.92rem;
	font-weight: 700;
	line-height: 1.4;
}
/* Matches the home builder's promo-card button (assets/css/home.css
   .nss-promo-card__button) so the banner button looks the same everywhere. */
:is(body.tax-product_cat,body.tax-product_brand) .nss-category-archive-banner__button {
	display: inline-block;
	width: fit-content;
	margin-block-start: 0.25rem;
	padding: 0.68rem 0.92rem;
	background: #fff;
	border-radius: var(--nss-radius);
	color: var(--wp--preset--color--primary, #1f5eff);
	font-size: 0.9rem;
	font-weight: 950;
	line-height: 1;
}
.nss-product-archive-with-filter {
	display: grid;
	grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
	gap: clamp(1rem, 2vw, 1.5rem);
	align-items: start;
	width: 100%;
	max-width: 100% !important;
	margin-inline: 0;
	box-sizing: border-box;
}
.nss-product-archive-with-filter > .nss-product-filter {
	grid-column: 1;
	grid-row: 1;
}
.nss-product-archive-with-filter > .nss-product-archive-with-filter__content {
	grid-column: 2;
	grid-row: 1;
}
.nss-product-archive-with-filter__content {
	display: block;
	min-width: 0;
	position: relative;
}

/* While AJAX filtering loads the next result set, dim the grid for feedback. */
.nss-product-archive-with-filter__content.is-loading {
	opacity: 0.45;
	pointer-events: none;
	transition: opacity 0.2s ease;
}
.nss-product-archive-with-filter__content.is-loading::after {
	content: "";
	position: absolute;
	top: 80px;
	left: 50%;
	width: 44px;
	height: 44px;
	margin-left: -22px;
	border-radius: 50%;
	border: 3px solid rgba(31, 94, 255, 0.25);
	border-top-color: var(--wp--preset--color--primary, #1f5eff);
	animation: nss-filter-spin 0.7s linear infinite;
}
@media (prefers-reduced-motion: reduce) {
	.nss-product-archive-with-filter__content.is-loading::after {
		animation-duration: 1.6s;
	}
}
.nss-product-filter {
	position: static;
	min-width: 0;
	padding: 0.75rem;
	background: var(--wp--preset--color--surface);
	border: 1px solid rgba(102, 112, 133, 0.16);
	border-radius: var(--nss-wc-radius-card);
	box-shadow: 0 14px 30px rgba(12, 63, 92, 0.055);
}
.nss-product-filter__toggle {
	display: none;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	width: 100%;
	min-height: 2.75rem;
	padding: 0.6rem 0.75rem;
	background: var(--nss-surface-alt, #f7f9fc);
	border: 1px solid rgba(102, 112, 133, 0.16);
	border-radius: calc(var(--nss-wc-radius-card) - 2px);
	color: var(--wp--preset--color--text);
	font: inherit;
	font-size: 0.92rem;
	font-weight: 950;
	text-align: left;
	cursor: pointer;
}
.nss-product-filter__toggle em {
	position: relative;
	width: 1.1rem;
	height: 1.1rem;
	border-radius: 999px;
	background: rgba(31, 94, 255, 0.1);
}
.nss-product-filter__toggle em::before,
.nss-product-filter__toggle em::after {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0.52rem;
	height: 2px;
	background: var(--wp--preset--color--primary);
	border-radius: 999px;
	content: "";
	transform: translate(-50%, -50%);
}
.nss-product-filter__toggle em::after {
	transform: translate(-50%, -50%) rotate(90deg);
}
.nss-product-filter.is-open .nss-product-filter__toggle em::after {
	opacity: 0;
}
.nss-product-filter__body {
	margin-block-start: 0.85rem;
}
@media (min-width: 781px) {
	.nss-product-filter__body[hidden] {
		display: block;
	}
}
.nss-product-filter form,
.nss-product-filter__group {
	display: grid;
	gap: 0.85rem;
	min-width: 0;
}
.nss-product-filter__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-bottom: 0.75rem;
	border-bottom: 1px solid rgba(102, 112, 133, 0.14);
}
.nss-product-filter__head h2,
.nss-product-filter__group h3 {
	margin: 0;
	color: var(--wp--preset--color--text);
	line-height: 1.2;
	text-transform: uppercase;
}
.nss-product-filter__head h2 {
	font-size: 1.05rem;
}
.nss-product-filter__head a {
	color: var(--wp--preset--color--muted);
	font-size: 0.82rem;
	font-weight: 850;
	text-decoration: none;
}
.nss-product-filter__group {
	padding-bottom: 0.95rem;
	border-bottom: 1px solid rgba(102, 112, 133, 0.14);
}
.nss-product-filter__group:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}
.nss-product-filter__group h3 {
	font-size: 0.86rem;
	font-weight: 950;
}

/* Collapsible filter group heading: an h3 that inherits the regular heading
 * typography and only adds the toggle row layout + chevron. */
.nss-product-filter__group h3.nss-product-filter__group-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem;
	width: 100%;
	cursor: pointer;
	user-select: none;
}
.nss-product-filter__group-heading > span {
	min-width: 0;
}
.nss-product-filter__group-chevron {
	flex: 0 0 auto;
	width: 0.55rem;
	height: 0.55rem;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	transition: transform var(--nss-transition);
}
.nss-product-filter__group.is-collapsed .nss-product-filter__group-chevron {
	transform: rotate(-45deg);
}
.nss-product-filter__group-body {
	display: grid;
	gap: 0.55rem;
	margin-top: 0.7rem;
}
.nss-product-filter__group.is-collapsible.is-collapsed .nss-product-filter__group-body {
	display: none;
}
.nss-product-filter__group .nss-product-filter__search {
	min-height: 2.1rem;
	margin-bottom: 0.15rem;
	padding: 0.4rem 0.65rem;
	font-size: 0.85rem;
}
.nss-product-filter__term.is-hidden {
	display: none;
}
.nss-product-filter__price-fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.7rem;
}
.nss-product-filter__price-fields input,
.nss-product-filter__search {
	width: 100%;
	min-height: 2.75rem;
	padding: 0.65rem 0.8rem;
	background: var(--nss-surface-alt, #f7f9fc);
	border: 1px solid rgba(102, 112, 133, 0.18);
	border-radius: calc(var(--nss-radius) - 2px);
	color: var(--wp--preset--color--text);
	font: inherit;
}
.nss-product-filter__range {
	position: relative;
	height: 1.5rem;
}
.nss-product-filter__range::before {
	position: absolute;
	top: 50%;
	right: 0;
	left: 0;
	height: 3px;
	background: linear-gradient(
		to right,
		#dce4ef 0,
		#dce4ef var(--nss-range-from, 0%),
		var(--wp--preset--color--primary) var(--nss-range-from, 0%),
		var(--wp--preset--color--primary) var(--nss-range-to, 100%),
		#dce4ef var(--nss-range-to, 100%),
		#dce4ef 100%
	);
	border-radius: 999px;
	content: "";
	transform: translateY(-50%);
}
.nss-product-filter__range input[type="range"] {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 1.5rem;
	margin: 0;
	background: transparent;
	pointer-events: none;
	-webkit-appearance: none;
	appearance: none;
}
.nss-product-filter__range input[type="range"]::-webkit-slider-thumb {
	width: 1.35rem;
	height: 1.35rem;
	background: #ffffff;
	border: 1px solid rgba(102, 112, 133, 0.28);
	border-radius: 999px;
	box-shadow: 0 5px 14px rgba(12, 63, 92, 0.18);
	pointer-events: auto;
	-webkit-appearance: none;
}
.nss-product-filter__range input[type="range"]::-moz-range-thumb {
	width: 1.35rem;
	height: 1.35rem;
	background: #ffffff;
	border: 1px solid rgba(102, 112, 133, 0.28);
	border-radius: 999px;
	box-shadow: 0 5px 14px rgba(12, 63, 92, 0.18);
	pointer-events: auto;
}
.nss-product-filter__terms {
	display: grid;
	gap: 0.55rem;
	max-height: 11rem;
	padding-right: 0.35rem;
	overflow: auto;
	scrollbar-color: var(--wp--preset--color--primary) #edf1f7;
	scrollbar-width: thin;
}

/* Numeric attribute slider mode: the real term checkboxes stay in the DOM (the
   form submits them) but are visually replaced by the range UI. */
.nss-product-filter__group--attr-slider .nss-product-filter__terms {
	display: none;
}
.nss-product-filter__attr-slider {
	display: grid;
	gap: 0.65rem;
}
.nss-product-filter__terms label {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	color: var(--wp--preset--color--muted);
	font-size: 0.92rem;
	font-weight: 750;
}
.nss-product-filter__terms input {
	width: 1.15rem;
	height: 1.15rem;
	margin: 0;
	border-color: rgba(102, 112, 133, 0.28);
}

/* Tighter line spacing for filter values on desktop. */
@media (min-width: 1024px) {
	.nss-product-filter__terms {
		gap: 0.3rem;
		max-height: 13.5rem;
	}

	.nss-product-filter__terms label {
		gap: 0.5rem;
		font-size: 0.88rem;
		line-height: 1.15;
	}
}
.nss-product-filter__apply {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 2.75rem;
	background: var(--wp--preset--color--primary);
	border: 1px solid var(--wp--preset--color--primary);
	border-radius: var(--nss-radius);
	color: #ffffff;
	font: inherit;
	font-weight: 950;
	cursor: pointer;
}
.nss-product-filter-active {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	align-items: center;
	margin-block-end: 0.75rem;
	padding: 0.85rem 1rem;
	background: var(--wp--preset--color--surface);
	border: 1px solid rgba(102, 112, 133, 0.14);
	border-radius: var(--nss-wc-radius-card);
}
.nss-product-filter-active strong {
	color: var(--wp--preset--color--text);
	font-size: 0.92rem;
}
.nss-product-filter-active__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	align-items: center;
	min-width: 0;
}
.nss-product-filter-chip,
.nss-product-filter-reset {
	display: inline-flex;
	align-items: center;
	min-height: 2rem;
	padding: 0.35rem 0.7rem;
	border-radius: 999px;
	font-size: 0.84rem;
	font-weight: 850;
	text-decoration: none;
}
.nss-product-filter-chip {
	background: #edf4ff;
	color: var(--wp--preset--color--primary);
}
.nss-product-filter-chip::after {
	margin-left: 0.45rem;
	content: "×";
	font-weight: 950;
	opacity: 0;
	transition: opacity 120ms ease;
}
.nss-product-filter-chip:hover::after,
.nss-product-filter-chip:focus::after {
	opacity: 1;
}
.nss-product-filter-reset {
	background: #ffffff;
	border: 1px solid rgba(217, 45, 32, 0.45);
	color: var(--wp--preset--color--error, #d92d20);
}
.nss-product-filter-reset:hover,
.nss-product-filter-reset:focus {
	background: #fff1f0;
	color: var(--wp--preset--color--error, #d92d20);
}
@media (max-width: 780px) {
	:is(body.tax-product_cat,body.tax-product_brand) main.wp-block-group.is-layout-constrained.wp-block-group-is-layout-constrained {
		grid-template-columns: 1fr;
		row-gap: 0.75rem;
		align-items: start;
	}

	:is(body.tax-product_cat,body.tax-product_brand) .wp-block-query-title {
		grid-column: 1;
		grid-row: 2;
		max-width: 100%;
		margin-block: 0;
		font-size: clamp(2rem, 8vw, 2.5rem);
		line-height: 1.12;
	}

	:is(body.tax-product_cat,body.tax-product_brand) .wp-block-group.alignwide.is-content-justification-space-between.is-nowrap.wp-block-group-is-layout-flex {
		grid-column: 1;
		grid-row: 3;
		justify-self: start;
		width: 100%;
	}

	:is(body.tax-product_cat,body.tax-product_brand) .woocommerce-ordering,
:is(body.tax-product_cat,body.tax-product_brand) .woocommerce-ordering select {
		width: 100%;
		min-width: 0;
	}

	:is(body.tax-product_cat,body.tax-product_brand) .wp-block-woocommerce-product-collection,
:is(body.tax-product_cat,body.tax-product_brand) .nss-product-archive-with-filter {
		grid-row: 4;
	}

	.nss-product-archive-with-filter {
		grid-template-columns: 1fr;
	}

	.nss-product-archive-with-filter > .nss-product-filter,
.nss-product-archive-with-filter > .nss-product-archive-with-filter__content {
		grid-column: 1;
	}

	.nss-product-archive-with-filter > .nss-product-archive-with-filter__content {
		grid-row: 2;
	}

	.nss-product-filter {
		position: static;
	}

	.nss-product-filter__toggle {
		display: flex;
	}
}
.woocommerce-products-header {
	margin-block-end: 1.25rem;
	padding: clamp(1.1rem, 3vw, 1.75rem);
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--nss-wc-radius-card);
	box-shadow: var(--nss-wc-shadow-card);
}
.woocommerce-products-header__title,
.woocommerce-products-header h1,
.woocommerce-products-header h2 {
	margin-block: 0 0.75rem;
	font-size: clamp(1.9rem, 4vw, 2.65rem);
	line-height: 1.12;
	letter-spacing: 0;
}
.woocommerce-products-header .term-description {
	max-width: 56rem;
	color: var(--wp--preset--color--muted);
}
.woocommerce-products-header .term-description p {
	margin-block: 0.75rem 0;
}
.woocommerce-result-count {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	margin-block: 0 0.85rem;
	padding: 0.6rem 0.8rem;
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--nss-wc-radius-field);
	color: var(--wp--preset--color--muted);
	font-size: 0.95rem;
	font-weight: 700;
}
.woocommerce-ordering {
	margin-block: 0 0.85rem;
}
.woocommerce-ordering select {
	min-height: 44px;
	max-width: 100%;
	padding: 0.65rem 2.25rem 0.65rem 0.85rem;
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--nss-wc-radius-field);
	color: var(--wp--preset--color--text);
	font: inherit;
	font-weight: 700;
}
.nss-product-archive-with-filter .wp-block-woocommerce-product-collection,
.nss-product-archive-with-filter .wc-block-product-template,
.nss-product-archive-with-filter .wc-block-product-template.is-flex-container,
.nss-product-archive-with-filter .wc-block-product-template.wc-block-product-template__responsive {
	margin-block-start: 0 !important;
}
:is(:is(body.tax-product_cat,body.tax-product_brand), body.search) .wc-block-product-template .wc-block-components-product-image,
:is(:is(body.tax-product_cat,body.tax-product_brand), body.search) .wc-block-grid__product .wc-block-components-product-image {
	aspect-ratio: 1 / 1;
	padding: 0.55rem;
	box-shadow: inset 0 0 0 1px rgba(102, 112, 133, 0.08);
}
:is(:is(body.tax-product_cat,body.tax-product_brand), body.search) .wc-block-product-template .wc-block-components-product-image img,
:is(:is(body.tax-product_cat,body.tax-product_brand), body.search) .wc-block-grid__product .wc-block-components-product-image img {
	object-fit: contain !important;
	object-position: center;
}
:is(:is(body.tax-product_cat,body.tax-product_brand), body.search) .wc-block-product-template > li:not(.nss-category-archive-banner),
:is(:is(body.tax-product_cat,body.tax-product_brand), body.search) .wc-block-grid__product {
	padding-bottom: 1.05rem;
}
:is(:is(body.tax-product_cat,body.tax-product_brand), body.search) .wc-block-components-product-price,
:is(:is(body.tax-product_cat,body.tax-product_brand), body.search) .wp-block-woocommerce-product-price,
:is(:is(body.tax-product_cat,body.tax-product_brand), body.search) .wc-block-product-template > li .wp-block-woocommerce-product-price,
:is(:is(body.tax-product_cat,body.tax-product_brand), body.search) .wc-block-grid__product .wc-block-components-product-price {
	margin-block-start: 0.25rem !important;
	margin-block-end: 0.45rem !important;
}
:is(:is(body.tax-product_cat,body.tax-product_brand), body.search) .wp-block-button.wc-block-components-product-button {
	height: auto;
	min-height: 0;
	padding: 0;
	line-height: 0;
}
:is(:is(body.tax-product_cat,body.tax-product_brand), body.search) .wp-block-button.wc-block-components-product-button .wp-block-button__link,
:is(:is(body.tax-product_cat,body.tax-product_brand), body.search) .wp-block-button.wc-block-components-product-button .wc-block-components-product-button__button {
	margin-bottom: 0 !important;
}
.nss-store-product-card__actions .nss-loop-go-to-cart {
	background: var(--nss-button-primary-bg, var(--wp--preset--color--primary)) !important;
	border-color: var(--nss-button-primary-bg, var(--wp--preset--color--primary)) !important;
	color: var(--nss-button-primary-text, #ffffff) !important;
	font-family: inherit;
	font-weight: 950;
	text-decoration: none;
	cursor: pointer;
}
.nss-store-product-card__actions .nss-loop-go-to-cart:hover,
.nss-store-product-card__actions .nss-loop-go-to-cart:focus {
	background: var(--nss-button-primary-hover-bg, var(--wp--preset--color--secondary)) !important;
	border-color: var(--nss-button-primary-hover-bg, var(--wp--preset--color--secondary)) !important;
	color: var(--nss-button-primary-text, #ffffff) !important;
}
.woocommerce nav.woocommerce-pagination {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	margin-block-start: 2.25rem;
	text-align: center;
}
.woocommerce nav.woocommerce-pagination ul {
	display: inline-flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0.35rem;
	background: rgba(255, 255, 255, 0.86);
	border: 1px solid rgba(102, 112, 133, 0.14);
	border-radius: var(--nss-wc-radius-pill);
	box-shadow: 0 12px 28px rgba(12, 63, 92, 0.06);
	list-style: none;
}
.woocommerce nav.woocommerce-pagination ul li {
	margin: 0;
	border: 0;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	min-height: 40px;
	padding: 0.55rem 0.72rem;
	background: transparent;
	border: 1px solid transparent;
	border-radius: var(--nss-wc-radius-pill);
	color: var(--wp--preset--color--text);
	font-size: 0.92rem;
	font-weight: 900;
	line-height: 1;
	text-decoration: none;
	transition:
		background-color var(--nss-transition),
		border-color var(--nss-transition),
		color var(--nss-transition),
		box-shadow var(--nss-transition),
		transform var(--nss-transition);
}
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li a:focus {
	background: #eaf1ff;
	border-color: rgba(31, 94, 255, 0.24);
	color: var(--wp--preset--color--primary);
	box-shadow: 0 8px 18px rgba(31, 94, 255, 0.12);
	transform: translateY(-1px);
}
.woocommerce nav.woocommerce-pagination ul li span.current {
	background: var(--wp--preset--color--primary);
	border-color: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--surface);
	box-shadow: 0 10px 22px rgba(31, 94, 255, 0.18);
}
@media (min-width: 700px) {

	.woocommerce-result-count {
		float: left;
		margin-block: 0 1.15rem;
	}

	.woocommerce-ordering {
		float: right;
		margin-block: 0 1.15rem;
	}
}
@media (max-width: 420px) {

	.woocommerce-products-header {
		padding: 1rem;
	}
}
.nss-category-pagination-sentinel {
	width: 100%;
	height: 1px;
}
/* Subcategory tiles at the top of a category archive */
.nss-subcats {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	gap: 0.75rem;
	margin: 0 0 1.5rem;
}

.nss-subcats__card {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.65rem 0.85rem;
	background: var(--wp--preset--color--surface, #fff);
	border: 1px solid var(--wp--preset--color--border, rgba(15, 23, 42, 0.08));
	border-radius: var(--nss-radius, 14px);
	box-shadow: var(--nss-shadow, 0 6px 18px rgba(15, 23, 42, 0.05));
	color: var(--wp--preset--color--text, #0f172a);
	text-decoration: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.nss-subcats__card:hover {
	border-color: color-mix(in srgb, var(--wp--preset--color--primary, #1f5eff) 35%, transparent);
	box-shadow: 0 10px 26px rgba(15, 23, 42, 0.12);
	transform: translateY(-2px);
}

.nss-subcats__image {
	flex-shrink: 0;
	width: 56px;
	height: 56px;
	border-radius: calc(var(--nss-radius, 14px) - 4px);
	background: #f4f6fb;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.nss-subcats__image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	mix-blend-mode: multiply;
}

.nss-subcats__meta {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	min-width: 0;
}

.nss-subcats__name {
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.25;
}

.nss-subcats__card:hover .nss-subcats__name {
	color: var(--wp--preset--color--primary, #1f5eff);
}

.nss-subcats__count {
	font-size: 0.75rem;
	color: color-mix(in srgb, var(--wp--preset--color--text, #0f172a) 55%, transparent);
}

@media (max-width: 600px) {
	.nss-subcats {
		grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
		gap: 0.5rem;
	}

	.nss-subcats__card {
		gap: 0.55rem;
		padding: 0.5rem 0.6rem;
	}

	.nss-subcats__image {
		width: 44px;
		height: 44px;
	}

	.nss-subcats__name {
		font-size: 0.82rem;
	}
}
