/* Keep product archives centered and constrained like the production template. */
body.products-list #content,
body.products-list #mid {
	padding: 0 0 72px;
}

body.products-list #mid {
	box-sizing: border-box;
	display: block;
	margin-left: auto;
	margin-right: auto;
	max-width: 1190px;
	padding-left: 25px;
	padding-right: 25px;
	overflow: visible !important;
	width: 100%;
}

body.products-list #content > .content-limiter {
	box-sizing: border-box;
	margin: 0 auto;
	max-width: 1190px;
	padding: 0 25px;
	width: 100%;
}

body.products-list #mid > #content > .content-limiter {
	max-width: none;
	padding-left: 0;
	padding-right: 0;
}

body.products-list #content #col-mask {
	display: block;
	position: static !important;
	right: auto !important;
	width: 100%;
}

body.products-list #content .content-box {
	float: none !important;
	left: auto !important;
	margin: 0 !important;
	position: static !important;
	width: auto !important;
}

body.products-list #content,
body.products-list #content > .content-limiter,
body.products-list #content #col-mask,
body.products-list #content .content-box,
body.products-list #content .formatter {
	overflow: visible !important;
}

/* The production archive is full width and does not show the theme widget sidebar. */
body.products-list #secondary {
	display: none !important;
}

/* Product archive title banner from the production Elementor template. */
.manon-archive-hero {
	align-items: center;
	background-image: linear-gradient(rgba(0, 0, 0, .28), rgba(0, 0, 0, .28)), url("/wp-content/uploads/2026/06/3dbdc818-0d70-40bf-89d6-90a3803558f2.webp");
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	display: flex;
	height: 140px;
	justify-content: center;
	left: 50%;
	margin: 0 0 20px;
	max-width: none !important;
	position: relative;
	transform: translateX(-50%);
	width: 100vw !important;
}

body.tax-product_cat .manon-archive-hero,
body.tax-product_tag .manon-archive-hero {
	height: 107px;
	margin-bottom: 10px;
}

.manon-archive-title {
	color: #fff;
	font-family: "Trebuchet MS", sans-serif;
	font-size: 68px;
	font-style: italic;
	font-weight: 700;
	line-height: 1;
	margin: 0;
	text-align: center;
	text-transform: uppercase;
}

.manon-archive-title::after {
	border-right: 8px solid currentColor;
	content: "";
	display: inline-block;
	height: .92em;
	margin-left: 8px;
	vertical-align: -.08em;
}

.manon-horizontal-filter {
	background: #fff;
	border-radius: 5px;
	box-shadow: 0 0 10px rgba(0, 0, 0, .1);
	box-sizing: border-box;
	clear: both;
	margin: 0 0 50px;
	padding: 40px 50px;
	width: 100%;
}

/* Use a deterministic grid rather than waiting for Rife's masonry script.
   This removes the fixed-width-to-full-width jump during initial rendering. */
body.products-list #mid ul.products {
	column-gap: 0;
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	height: auto !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	position: static !important;
	row-gap: 40px;
	width: 100% !important;
}

body.products-list #mid ul.products > .grid-master {
	display: none !important;
}

body.products-list #mid ul.products::before,
body.products-list #mid ul.products::after {
	content: none !important;
	display: none !important;
}

body.products-list #mid ul.products > li.product {
	float: none !important;
	left: auto !important;
	margin: 0 !important;
	min-width: 0;
	position: relative !important;
	top: auto !important;
	transform: none !important;
	width: auto !important;
}

.manon-filter-form,
.manon-filter-form * {
	box-sizing: border-box;
}

.manon-filter-header {
	align-items: center;
	display: flex;
	justify-content: space-between;
}

.manon-filter-header h2 {
	color: #333;
	font-size: 24px;
	font-weight: 400;
	line-height: normal;
	margin: 0;
}

.manon-filter-tools {
	align-items: center;
	display: flex;
	gap: 20px;
}

.manon-filter-search {
	display: block;
	position: relative;
}

.manon-filter-search input[type="search"] {
	background: #eeeffb;
	border: 0;
	border-radius: 25px;
	box-shadow: none;
	color: #333;
	font: inherit;
	height: 40px;
	margin: 0;
	min-width: 205px;
	outline-offset: 2px;
	padding: 10px 40px 10px 20px;
	width: 205px;
}

.manon-filter-search button {
	align-items: center;
	background: transparent;
	border: 0;
	color: #222;
	display: flex;
	height: 40px;
	justify-content: center;
	padding: 0;
	position: absolute;
	right: 4px;
	top: 0;
	width: 36px;
}

.manon-filter-search svg {
	fill: none;
	height: 19px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-width: 2.8;
	width: 19px;
}

.manon-filter-visibility,
.manon-filter-reset {
	align-items: center;
	background: #eeeffb;
	border: 0;
	border-radius: 50%;
	color: #222;
	cursor: pointer;
	display: inline-flex;
	flex: 0 0 40px;
	height: 40px;
	justify-content: center;
	margin: 0;
	padding: 0;
	text-decoration: none;
	width: 40px;
}

.manon-filter-visibility svg,
.manon-filter-reset svg {
	height: 19px;
	width: 19px;
}

.manon-filter-visibility svg {
	fill: currentColor;
}

.manon-filter-reset svg {
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2.4;
}

.manon-filter-fields {
	align-items: center;
	border-top: 1px solid #eff0f8;
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	justify-content: center;
	margin-top: 20px;
	padding-top: 30px;
}

.manon-filter-fields[hidden] {
	display: none;
}

.manon-filter-fields label {
	display: block;
	height: 40px;
	margin: 0;
}

.manon-filter-fields select {
	background-color: #fff;
	border: 1px solid #aaa;
	border-radius: 5px;
	box-shadow: none;
	color: #4b4b4b;
	font-family: inherit;
	font-size: 14px;
	font-weight: 400 !important;
	height: 40px;
	margin: 0;
	min-width: 120px;
	padding: 0 34px 0 18px;
	text-transform: none !important;
	width: 120px;
}

.manon-filter-fields select[name="product_cat"] {
	width: 140px;
}

/* The imported custom CSS hid archive pagination; always expose it. */
body.products-list nav.navigation.woocommerce-pagination {
	align-items: center;
	background: transparent;
	clear: both;
	display: flex !important;
	justify-content: center;
	margin: 42px 0 0;
	padding: 0;
	width: 100%;
}

body.products-list .woocommerce-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	justify-content: center;
}

body.products-list .woocommerce-pagination .page-numbers {
	align-items: center;
	border: 1px solid #ddd7cf;
	box-sizing: border-box;
	color: #222;
	display: inline-flex;
	height: 40px;
	justify-content: center;
	min-width: 40px;
	padding: 0 11px;
	text-decoration: none;
}

body.products-list .woocommerce-pagination .page-numbers.current,
body.products-list .woocommerce-pagination a.page-numbers:hover {
	background: #222;
	border-color: #222;
	color: #fff;
}

body.products-list .woocommerce-pagination .next,
body.products-list .woocommerce-pagination .prev {
	left: auto;
	max-width: none;
	position: static;
	right: auto;
	top: auto;
}

@media only screen and (max-width: 767px) {
	body.products-list #content,
	body.products-list #mid {
		padding-top: 0;
	}

	body.products-list #mid,
	body.products-list #content > .content-limiter {
		padding-left: 10px;
		padding-right: 10px;
	}

	.manon-archive-hero,
	body.tax-product_cat .manon-archive-hero,
	body.tax-product_tag .manon-archive-hero {
		height: 212px;
		margin-bottom: 10px;
	}

	.manon-archive-title {
		font-size: clamp(34px, 12vw, 50px);
		line-height: 1;
		max-width: calc(100% - 20px);
		white-space: nowrap;
	}

	.manon-archive-title::after {
		border-right-width: 6px;
		margin-left: 5px;
	}

	.manon-horizontal-filter {
		margin-bottom: 48px;
		padding: 40px 20px;
	}

	.manon-filter-header {
		flex-direction: column;
	}

	.manon-filter-header h2 {
		font-size: 24px;
		margin-bottom: 20px;
	}

	.manon-filter-tools {
		gap: 20px;
		justify-content: center;
		width: 100%;
	}

	.manon-filter-search {
		flex: 0 0 198px;
		margin-right: 10px;
		min-width: 0;
		width: 198px;
	}

	.manon-filter-search input[type="search"] {
		min-width: 0;
		padding-left: 10px;
		width: 198px;
	}

	.manon-filter-fields {
		gap: 10px;
		padding-top: 30px;
	}

	.manon-filter-fields select {
		padding-left: 16px;
	}

	body.products-list #mid ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 40px;
	}

	body.products-list .woocommerce-pagination .page-numbers {
		height: 36px;
		min-width: 36px;
		padding: 0 9px;
	}
}

@media only screen and (max-width: 380px) {
	.manon-filter-tools {
		gap: 8px;
	}

	.manon-filter-search {
		flex: 1 1 auto;
		margin-right: 0;
		width: auto;
	}

	.manon-filter-search input[type="search"] {
		width: 100%;
	}

	.manon-filter-visibility,
	.manon-filter-reset {
		flex-basis: 38px;
		height: 38px;
		width: 38px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.manon-filter-fields {
		scroll-behavior: auto;
	}
}
