:root {
	--ochre-ink: #342f2b;
	--ochre-muted: #716b65;
	--ochre-line: #ded9d3;
	--ochre-soft: #f7f5f2;
	--ochre-white: #ffffff;
}

.ochre-archive-intro {
	max-width: 980px;
	margin: 0 auto 38px;
	padding: 0 24px;
	color: #514b46;
	font-family: Baskerville, "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
	font-size: clamp(22px, 1.65vw, 28px);
	font-weight: 400;
	letter-spacing: .005em;
	line-height: 1.5;
	text-align: center;
}

.ochre-archive-intro p {
	margin: 0;
}

.ochre-shop-layout {
	display: grid;
	clear: both;
	grid-template-columns: minmax(235px, 270px) minmax(0, 1fr);
	gap: clamp(28px, 3.2vw, 48px);
	align-items: start;
	width: 100%;
}

.ochre-filter-sidebar,
.ochre-products-column {
	min-width: 0;
}

.ochre-category-discovery {
	position: relative;
	width: 100%;
}

.ochre-filter-toggle {
	display: none;
	width: 100%;
	align-items: center;
	justify-content: space-between;
	min-height: 50px;
	padding: 12px 16px;
	border: 1px solid #817a73;
	border-radius: 2px;
	background: var(--ochre-white);
	color: var(--ochre-ink);
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

.ochre-filter-toggle-label {
	display: inline-flex;
	align-items: center;
	gap: 9px;
}

.ochre-filter-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 25px;
	height: 25px;
	padding: 0 7px;
	border-radius: 50%;
	background: var(--ochre-ink);
	color: #fff;
	font-size: 12px;
}

.ochre-filter-panel {
	position: sticky;
	top: 22px;
	max-height: calc(100vh - 44px);
	overflow-y: auto;
	border: 1px solid var(--ochre-line);
	border-radius: 3px;
	background: var(--ochre-white);
	box-shadow: 0 14px 35px rgba(48, 42, 37, .06);
	scrollbar-width: thin;
	scrollbar-color: #bdb6af transparent;
}

.ochre-filter-panel-heading {
	display: block;
	padding: 25px 22px 22px;
	border-bottom: 1px solid var(--ochre-line);
}

.ochre-filter-heading-main {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px;
}

.ochre-filter-kicker {
	display: block;
	margin-bottom: 6px;
	color: #8a827a;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: .14em;
	line-height: 1.3;
	text-transform: uppercase;
}

.ochre-filter-panel-heading h2 {
	margin: 0;
	color: var(--ochre-ink);
	font-size: 19px;
	font-weight: 500;
	letter-spacing: .01em;
	line-height: 1.3;
}

.ochre-quick-reset {
	display: grid;
	gap: 9px;
	margin-top: 17px;
	padding-top: 15px;
	border-top: 1px solid var(--ochre-line);
}

.ochre-quick-reset.is-hidden {
	display: none;
}

.ochre-quick-count {
	color: #665f59;
	font-size: 13px;
	line-height: 1.35;
}

.ochre-quick-reset a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 9px 12px;
	border: 1px solid #69625c;
	border-radius: 2px;
	background: #fff;
	color: #3f3935;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
}

.ochre-quick-reset a:hover,
.ochre-quick-reset a:focus-visible {
	background: var(--ochre-ink);
	color: #fff;
}

.ochre-filter-close {
	display: none;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--ochre-ink);
	font: inherit;
	font-size: 31px;
	font-weight: 300;
	line-height: 1;
	cursor: pointer;
}

.ochre-filter-group {
	margin: 0;
	padding: 0 22px;
	border-bottom: 1px solid var(--ochre-line);
}

.ochre-filter-group summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 53px;
	margin: 0;
	color: var(--ochre-ink);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .06em;
	list-style: none;
	text-transform: uppercase;
	cursor: pointer;
}

.ochre-filter-group summary::-webkit-details-marker {
	display: none;
}

.ochre-summary-icon {
	position: relative;
	width: 14px;
	height: 14px;
}

.ochre-summary-icon::before,
.ochre-summary-icon::after {
	position: absolute;
	top: 6px;
	left: 2px;
	width: 10px;
	height: 1px;
	background: #6f6862;
	content: "";
}

.ochre-summary-icon::after {
	transform: rotate(90deg);
	transition: transform .18s ease;
}

.ochre-filter-group[open] .ochre-summary-icon::after {
	transform: rotate(0deg);
}

.ochre-option-list {
	display: flex;
	flex-direction: column;
	gap: 11px;
	padding: 1px 0 20px;
}

.ochre-check-option,
.ochre-colour-option {
	display: flex;
	position: relative;
	align-items: center;
	gap: 10px;
	min-height: 26px;
	margin: 0;
	color: #514b46;
	font-size: 14px;
	line-height: 1.35;
	cursor: pointer;
}

.ochre-check-option input,
.ochre-colour-option input {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
}

.ochre-custom-check {
	display: inline-flex;
	flex: 0 0 18px;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border: 1px solid #aaa39c;
	border-radius: 1px;
	background: #fff;
}

.ochre-check-option input:checked + .ochre-custom-check {
	border-color: var(--ochre-ink);
	background: var(--ochre-ink);
}

.ochre-check-option input:checked + .ochre-custom-check::after {
	width: 8px;
	height: 4px;
	margin-top: -2px;
	border-bottom: 1.5px solid #fff;
	border-left: 1.5px solid #fff;
	content: "";
	transform: rotate(-45deg);
}

.ochre-check-option input:focus-visible + .ochre-custom-check,
.ochre-colour-option input:focus-visible + .ochre-colour-swatch {
	outline: 2px solid #6d655e;
	outline-offset: 3px;
}

.ochre-colour-options {
	max-height: 330px;
	padding-right: 5px;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: #c4bdb6 transparent;
}

.ochre-colour-option {
	gap: 11px;
	min-height: 35px;
}

.ochre-colour-swatch {
	display: inline-flex;
	flex: 0 0 31px;
	align-items: center;
	justify-content: center;
	width: 31px;
	height: 31px;
	overflow: hidden;
	border: 1px solid #d0cbc5;
	border-radius: 50%;
	background: #ddd8d1;
	box-shadow: inset 0 0 0 2px #fff;
}

.ochre-colour-name {
	flex: 1 1 auto;
}

.ochre-colour-tick {
	flex: 0 0 15px;
	color: var(--ochre-ink);
	font-size: 13px;
	opacity: 0;
}

.ochre-colour-option input:checked ~ .ochre-colour-tick {
	opacity: 1;
}

.ochre-colour-option input:checked + .ochre-colour-swatch {
	border-color: var(--ochre-ink);
	box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--ochre-ink);
}

.ochre-select-wrap {
	padding: 0 0 20px;
}

.ochre-select-wrap select {
	width: 100%;
	height: 43px;
	margin: 0;
	padding: 0 35px 0 11px;
	border: 1px solid #c8c1ba;
	border-radius: 2px;
	background-color: #fff;
	color: #47413c;
	font: inherit;
	font-size: 13px;
}

.ochre-price-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	padding: 0 0 14px;
}

.ochre-price-grid label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	margin: 0;
	color: #716a64;
	font-size: 11px;
	text-transform: uppercase;
}

.ochre-price-input {
	display: grid;
	grid-template-columns: 24px 1fr;
	align-items: center;
	height: 42px;
	border: 1px solid #c8c1ba;
	border-radius: 2px;
	background: #fff;
	color: #716a64;
}

.ochre-price-input > span {
	padding-left: 9px;
}

.ochre-price-input input {
	width: 100%;
	height: 40px;
	min-width: 0;
	padding: 0 7px 0 0;
	border: 0;
	outline: 0;
	background: transparent;
	color: #47413c;
	font: inherit;
	font-size: 13px;
}

.ochre-stock-option {
	padding: 0 0 20px;
}

.ochre-filter-actions {
	display: flex;
	align-items: stretch;
	flex-direction: column;
	gap: 0;
	padding: 16px 22px 18px;
	background: var(--ochre-soft);
}

body.ochre-filter-refreshing {
	cursor: progress;
}

body.ochre-filter-refreshing .ochre-products-column {
	position: relative;
}

body.ochre-filter-refreshing .ochre-products-column::before {
	content: "Updating pieces…";
	position: absolute;
	top: -52px;
	right: 0;
	z-index: 5;
	padding: 8px 13px 8px 34px;
	border: 1px solid var(--ochre-line);
	background: rgba(255, 255, 255, .96);
	color: var(--ochre-muted);
	font-size: 12px;
	letter-spacing: .04em;
	white-space: nowrap;
	box-shadow: 0 6px 18px rgba(48, 42, 37, .08);
}

body.ochre-filter-refreshing .ochre-products-column::after {
	content: "";
	position: absolute;
	top: -42px;
	right: 112px;
	z-index: 6;
	width: 10px;
	height: 10px;
	border: 2px solid #d7cec4;
	border-top-color: var(--ochre-ink);
	border-radius: 50%;
	animation: ochre-filter-spin .7s linear infinite;
}

@keyframes ochre-filter-spin {
	to { transform: rotate(360deg); }
}

.ochre-apply-filters {
	width: 100%;
	min-height: 46px;
	padding: 11px 15px;
	border: 1px solid var(--ochre-ink);
	border-radius: 2px;
	background: var(--ochre-ink);
	color: #fff;
	font: inherit;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .07em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background .18s ease, border-color .18s ease;
}

.ochre-apply-filters:hover,
.ochre-apply-filters:focus-visible {
	border-color: #514943;
	background: #514943;
}

.ochre-products-column .woocommerce-result-count {
	float: left;
}

.ochre-products-column .woocommerce-ordering {
	float: right;
}

.ochre-products-column ul.products {
	display: grid !important;
	clear: both;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	column-gap: clamp(18px, 2vw, 30px) !important;
	row-gap: 38px !important;
	width: 100%;
}

.ochre-products-column ul.products::before,
.ochre-products-column ul.products::after {
	display: none !important;
}

.ochre-products-column ul.products li.product {
	width: auto !important;
	min-width: 0;
	margin: 0 !important;
}

.ochre-buying-guide {
	clear: both;
	margin: 58px 0 15px;
	padding: 38px;
	background: var(--ochre-soft);
	color: #504b46;
}

.ochre-buying-guide h2 {
	margin: 0 0 26px;
	color: #3c3733;
	font-size: clamp(25px, 3vw, 34px);
	line-height: 1.2;
}

.ochre-guide-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
}

.ochre-guide-grid h3 {
	margin: 0 0 10px;
	color: #3c3733;
	font-size: 18px;
	line-height: 1.35;
}

.ochre-guide-grid p {
	margin: 0;
	font-size: 15px;
	line-height: 1.75;
}

.ochre-guide-grid a {
	color: #3c3733;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ochre-no-filter-results {
	margin: 28px 0;
	padding: 32px;
	background: var(--ochre-soft);
	text-align: center;
}

.ochre-no-filter-results h2 {
	margin: 0 0 10px;
	font-size: 25px;
}

.ochre-no-filter-results p {
	margin: 0 0 18px;
}

.ochre-no-filter-results a {
	display: inline-block;
	padding: 11px 20px;
	background: var(--ochre-ink);
	color: #fff;
	text-decoration: none;
}

@media (max-width: 1150px) and (min-width: 901px) {
	.ochre-shop-layout {
		grid-template-columns: 225px minmax(0, 1fr);
		gap: 27px;
	}

	.ochre-products-column ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 900px) {
	.ochre-archive-intro {
		margin-bottom: 24px;
		padding: 0 8px;
		font-size: 20px;
	}

	.ochre-shop-layout {
		display: block;
	}

	.ochre-filter-sidebar {
		margin-bottom: 22px;
	}

	.ochre-filter-toggle {
		display: flex;
	}

	.ochre-filter-backdrop {
		position: fixed;
		inset: 0;
		z-index: 99998;
		background: rgba(26, 22, 19, .48);
		backdrop-filter: blur(1px);
	}

	.ochre-filter-panel {
		position: fixed;
		top: 0;
		right: 0;
		z-index: 99999;
		width: min(91vw, 400px);
		height: 100dvh;
		max-height: none;
		overflow-y: auto;
		border: 0;
		border-radius: 0;
		box-shadow: -12px 0 38px rgba(0, 0, 0, .18);
		transform: translateX(105%);
		transition: transform .24s ease;
		visibility: hidden;
	}

	.ochre-filter-panel.is-open {
		transform: translateX(0);
		visibility: visible;
	}

	.ochre-filter-panel-heading {
		position: sticky;
		top: 0;
		z-index: 3;
		background: #fff;
	}

	.ochre-filter-close {
		display: block;
	}

	.ochre-filter-actions {
		position: sticky;
		bottom: 0;
		z-index: 3;
		border-top: 1px solid var(--ochre-line);
	}

	.ochre-products-column .woocommerce-result-count,
	.ochre-products-column .woocommerce-ordering {
		float: none;
	}

	.ochre-products-column .woocommerce-ordering {
		margin-left: 0;
	}

	.ochre-products-column ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		column-gap: 15px !important;
		row-gap: 31px !important;
	}

	.ochre-buying-guide {
		margin-top: 40px;
		padding: 28px 22px;
	}

	.ochre-guide-grid {
		grid-template-columns: 1fr;
		gap: 25px;
	}

	body.ochre-filters-open {
		overflow: hidden;
	}
}

@media (max-width: 480px) {
	.ochre-products-column ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ochre-filter-panel,
	.ochre-summary-icon::after,
	.ochre-apply-filters {
		transition: none;
	}
}
