/* Organela homepage — hero + products */

.op-home {
	--op-h-green: var(--op-green, rgb(61, 140, 53));
	--op-h-orange: var(--op-orange, #FA6619);
	--op-h-text: var(--op-text, #111);
	--op-h-muted: var(--op-text-muted, #5c6b58);
	--op-h-bg: var(--op-bg, #fff);
	--op-h-card: var(--op-card, var(--op-bg-elevated, #fff));
	--op-h-line: var(--op-border, rgba(0, 0, 0, 0.1));
	--op-h-soft: var(--op-bg-soft, #f7faf6);

	position: relative;
	font-family: var(--organela-font, 'Raleway', sans-serif);
	color: var(--op-h-text);
	background: var(--op-h-bg);
	margin: 0 !important;
	padding: 0 !important;
}

/* Flush hero directly under Organela header */
body.op-home-page #site-header,
body.op-home-page header.site-header,
body.op-home-page .site-header,
body.op-home-page .elementor-location-header {
	display: none !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	overflow: hidden !important;
}

body.op-home-page #content,
body.op-home-page .site-content,
body.op-home-page .content-area,
body.op-home-page .site-main,
body.op-home-page main.op-home,
body.op-home-page #op-home,
body.op-home-page .page-header,
body.op-home-page .entry-header {
	margin: 0 !important;
	padding-top: 0 !important;
	overflow: visible !important;
}

body.op-home-page .op-header {
	margin-bottom: 0 !important;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

/* Front-page hero: transparent → white as scroll progresses (--op-header-solid 0–1) */
body.op-home-page:has(.op-home-hero) .op-header {
	--op-header-solid: 0;
	background: rgba(255, 255, 255, var(--op-header-solid));
	border-bottom: 1px solid rgba(0, 0, 0, calc(0.06 * var(--op-header-solid)));
	box-shadow: 0 1px 0 rgba(26, 36, 24, calc(0.03 * var(--op-header-solid)));
}

/* Homepage: hide header search while hero search is on screen */
body.op-home-page:has([data-op-hero-search]) .op-header__search {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(-10px) scale(0.96);
	filter: blur(2px);
	transition:
		opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1),
		transform 0.48s cubic-bezier(0.22, 1, 0.36, 1),
		filter 0.42s ease,
		visibility 0.42s,
		max-height 0.42s cubic-bezier(0.22, 1, 0.36, 1),
		margin 0.42s ease,
		padding 0.42s ease;
}

body.op-home-page.op-home--header-search .op-header__search {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0) scale(1);
	filter: blur(0);
}

/* Mobile: collapse header to logo+actions height while search is hidden;
   expand to two rows when sticky search appears. */
@media (max-width: 860px) {
	body.op-home-page:has([data-op-hero-search]):not(.op-home--header-search) .op-header__inner {
		grid-template-columns: 1fr auto;
		grid-template-areas: "logo actions";
		grid-template-rows: auto;
		gap: 0 12px;
	}

	body.op-home-page:has([data-op-hero-search]):not(.op-home--header-search) .op-header__search {
		display: none;
		grid-area: unset;
		max-height: 0;
		margin: 0;
		padding: 0;
		overflow: hidden;
		transform: none;
		filter: none;
	}

	body.op-home-page.op-home--header-search .op-header__inner {
		grid-template-columns: 1fr auto;
		grid-template-areas:
			"logo actions"
			"search search";
		grid-template-rows: auto auto;
		gap: 8px 12px;
		transition: gap 0.28s ease;
	}

	body.op-home-page.op-home--header-search .op-header__search {
		display: block;
		grid-area: search;
		max-height: 48px;
		overflow: visible;
	}
}

/* ——— Hero ——— */
.op-home-wash {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	/* Covers hero + bleeds into products, then soft white */
	height: clamp(460px, 62vw, 720px);
	z-index: 0;
	pointer-events: none;
	overflow: hidden;
	isolation: isolate;
	background:
		radial-gradient(980px 460px at 50% -8%, rgba(61, 140, 53, 0.14), transparent 64%),
		radial-gradient(520px 340px at 8% 48%, rgba(61, 140, 53, 0.07), transparent 70%),
		radial-gradient(560px 320px at 94% 52%, rgba(250, 102, 25, 0.07), transparent 68%),
		linear-gradient(
			180deg,
			#eef5ea 0%,
			#f3f8f0 32%,
			#f7faf5 55%,
			#fbfcfb 78%,
			#ffffff 100%
		);
}

/* Match hero pull-under-header so wash sits behind transparent sticky header */
body.op-home-page:has(.op-home-hero) .op-home-wash {
	top: -58px;
	height: calc(clamp(460px, 62vw, 720px) + 58px);
}

.op-home-hero {
	position: relative;
	z-index: 2;
	margin: 0;
	padding: clamp(40px, 6.5vw, 72px) 0 clamp(32px, 4.5vw, 52px);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: visible;
	color: #111111;
	background: transparent;
}

/* Pull hero under transparent sticky header so bg continues upward */
body.op-home-page:has(.op-home-hero) .op-home-hero {
	margin-top: -58px;
	padding-top: calc(clamp(40px, 6.5vw, 72px) + 58px);
}

@media (max-width: 860px) {
	body.op-home-page:has(.op-home-hero) .op-home-hero {
		margin-top: -52px;
		padding-top: calc(clamp(36px, 6vw, 56px) + 52px);
	}

	body.op-home-page:has(.op-home-hero) .op-home-wash {
		top: -52px;
		height: calc(clamp(420px, 78vw, 620px) + 52px);
	}
}

.op-home-hero__glow {
	position: absolute;
	border-radius: 50%;
	filter: blur(42px);
	opacity: 0.55;
	will-change: transform;
}

.op-home-hero__glow--a {
	width: min(58vw, 520px);
	height: min(42vw, 360px);
	left: 50%;
	top: -4%;
	transform: translateX(-50%);
	background: radial-gradient(circle, rgba(61, 140, 53, 0.28) 0%, transparent 70%);
	animation: op-home-bg-drift-a 18s ease-in-out infinite alternate;
}

.op-home-hero__glow--b {
	width: min(40vw, 340px);
	height: min(40vw, 340px);
	left: -6%;
	top: 36%;
	background: radial-gradient(circle, rgba(122, 168, 78, 0.22) 0%, transparent 72%);
	animation: op-home-bg-drift-b 22s ease-in-out infinite alternate;
}

.op-home-hero__glow--c {
	width: min(36vw, 300px);
	height: min(36vw, 300px);
	right: -4%;
	top: 40%;
	background: radial-gradient(circle, rgba(250, 102, 25, 0.16) 0%, transparent 72%);
	animation: op-home-bg-drift-c 20s ease-in-out infinite alternate;
}

.op-home-hero__grain {
	position: absolute;
	inset: 0;
	opacity: 0.28;
	background-image: radial-gradient(rgba(61, 140, 53, 0.09) 0.7px, transparent 0.7px);
	background-size: 18px 18px;
	mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
	-webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
}

@keyframes op-home-bg-drift-a {
	from { transform: translateX(-50%) translate(-2%, 0) scale(1); }
	to { transform: translateX(-50%) translate(3%, 4%) scale(1.08); }
}

@keyframes op-home-bg-drift-b {
	from { transform: translate(0, 0) scale(1); }
	to { transform: translate(8%, -6%) scale(1.12); }
}

@keyframes op-home-bg-drift-c {
	from { transform: translate(0, 0) scale(1); }
	to { transform: translate(-10%, 5%) scale(1.1); }
}

.op-home-hero__inner {
	position: relative;
	z-index: 1;
	width: min(100%, 760px);
	margin: 0 auto;
	padding: 0 clamp(16px, 3vw, 24px);
	text-align: center;
}

.op-home-hero__headline {
	margin: 0 0 10px;
	font-family: var(--organela-font, 'Raleway', sans-serif);
	font-size: clamp(2.1rem, 5.2vw, 3.2rem);
	font-weight: 700;
	letter-spacing: -0.03em;
	line-height: 1.1;
	color: #111111 !important;
	animation: op-home-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.op-home-hero__lede {
	margin: 0 auto 20px;
	max-width: 54ch;
	font-family: var(--organela-font, 'Raleway', sans-serif);
	font-size: clamp(0.84rem, 1.35vw, 0.94rem);
	font-weight: 500;
	line-height: 1.55;
	color: var(--op-h-muted);
	animation: op-home-rise 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
}

.op-home-hero__search {
	position: relative;
	z-index: 50;
	margin: 0 auto;
	width: min(100%, 560px);
	animation: op-home-rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.14s both;
}

.op-home-hero__search-field {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 50px;
	padding: 5px 5px 5px 16px;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 999px;
	background: #ffffff;
	box-shadow: 0 8px 28px rgba(26, 36, 24, 0.05);
	transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

/* Absolute children are positioned to the padding edge — expand by border
   width so the ring sits on the same border-box as the visible outline. */
.op-home-hero__focus-ring {
	position: absolute;
	inset: -1px;
	width: auto;
	height: auto;
	overflow: visible;
	pointer-events: none;
	z-index: 2;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease, visibility 0.2s ease;
}

.op-home-hero__focus-ring path {
	fill: none;
	stroke: var(--op-h-green, rgb(61, 140, 53));
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
	shape-rendering: geometricPrecision;
}

.op-home-hero__search-field:focus-within {
	border-color: transparent;
	box-shadow:
		0 10px 30px rgba(26, 36, 24, 0.07),
		0 0 0 3px rgba(61, 140, 53, 0.06);
}

.op-home-hero__search-field:focus-within .op-home-hero__focus-ring {
	opacity: 1;
	visibility: visible;
}

.op-home-hero__search-icon {
	flex-shrink: 0;
	color: #9aa39a;
	pointer-events: none;
}

.op-home-hero__search-input {
	flex: 1;
	min-width: 0;
	border: 0 !important;
	outline: none !important;
	background: transparent !important;
	box-shadow: none !important;
	padding: 0 !important;
	margin: 0 !important;
	font: 500 0.92rem/1.3 var(--organela-font, 'Raleway', sans-serif) !important;
	color: #111 !important;
}

.op-home-hero__search-input::placeholder {
	color: #a3ada3;
	opacity: 1;
}

.op-home-hero__search-input::-webkit-search-decoration,
.op-home-hero__search-input::-webkit-search-cancel-button,
.op-home-hero__search-input::-webkit-search-results-button,
.op-home-hero__search-input::-webkit-search-results-decoration {
	-webkit-appearance: none;
	appearance: none;
	display: none;
}

.op-home-hero__search-clear {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: #8a9687;
	cursor: pointer;
	transition: color 0.15s ease, background 0.15s ease;
}

.op-home-hero__search-clear[hidden] {
	display: none !important;
}

.op-home-hero__search-clear:hover,
.op-home-hero__search-clear:focus-visible {
	color: #3a4638;
	background: rgba(0, 0, 0, 0.05);
	outline: none;
}

.op-home-hero__search-clear svg {
	width: 18px;
	height: 18px;
	display: block;
}

.op-home-hero__search-submit {
	flex-shrink: 0;
	min-height: 38px;
	padding: 0 16px;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 999px;
	background: #f4f6f3;
	color: #3a4638;
	font: 700 0.8rem/1 var(--organela-font, 'Raleway', sans-serif);
	cursor: pointer;
	transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.op-home-hero__search-submit:hover {
	background: #eef2ec;
	border-color: rgba(0, 0, 0, 0.12);
	color: #1a2418;
}

.op-home-hero__suggest {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 8px);
	width: 100%;
	z-index: 2147483000;
	text-align: left;
}

.op-home-hero__tags {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 16px auto 0;
	width: min(100%, 560px);
	animation: op-home-rise 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both;
}

.op-home-hero__tag {
	appearance: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 30px;
	padding: 0 12px;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.82);
	color: #4d5c4a;
	font: 600 0.78rem/1 var(--organela-font, 'Raleway', sans-serif);
	text-decoration: none !important;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.op-home-hero__tag:hover,
.op-home-hero__tag:focus-visible {
	background: #fff;
	border-color: rgba(61, 140, 53, 0.28);
	color: var(--op-h-green);
	outline: none;
}

@keyframes op-home-rise {
	from { opacity: 0; transform: translateY(14px); }
	to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
	.op-home-hero__headline,
	.op-home-hero__lede,
	.op-home-hero__search,
	.op-home-hero__tags,
	body.op-home-page .op-header__search {
		animation: none !important;
		transition: none !important;
		transform: none !important;
		filter: none !important;
		opacity: 1 !important;
	}

	.op-home-hero__glow {
		animation: none !important;
	}

	.op-home-hero__focus-ring path {
		transition: none !important;
	}

	.op-home-hero__search-field:focus-within .op-home-hero__focus-ring {
		opacity: 1 !important;
		visibility: visible !important;
	}

	body.op-home-page .op-header__search {
		visibility: visible !important;
		pointer-events: auto !important;
	}
}

@media (max-width: 520px) {
	.op-home-hero__search-field {
		padding-left: 14px;
	}

	.op-home-hero__search-submit {
		padding: 0 12px;
		font-size: 0.76rem;
	}

	.op-home-hero__tag {
		min-height: 28px;
		padding: 0 10px;
		font-size: 0.74rem;
	}
}

/* ——— Products ——— */
.op-home-products {
	position: relative;
	z-index: 1;
	padding: clamp(36px, 5vw, 56px) 0 clamp(56px, 7vw, 80px);
	background: var(--op-h-bg);
}

/* Homepage: let hero wash show through the top of the product block */
body.op-home-page:has(.op-home-hero) .op-home-products {
	background: transparent;
}

.op-home-products__inner {
	width: min(100%, var(--organela-content-width, 1200px));
	margin: 0 auto;
	padding: 0 clamp(14px, 3vw, 20px);
}

.op-home-products__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px 20px;
	flex-wrap: wrap;
	margin-bottom: 22px;
}

.op-home-products__title {
	margin: 0;
	font-size: clamp(1.35rem, 2.2vw, 1.75rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--op-h-text);
}

.op-home-products__meta {
	margin: 0;
	font-size: 0.88rem;
	font-weight: 600;
	color: var(--op-h-muted);
}

.op-home-products__grid.products {
	display: grid !important;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 14px;
	list-style: none;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
	width: 100% !important;
}

.op-home-products__grid.products::before,
.op-home-products__grid.products::after {
	display: none !important;
	content: none !important;
}

.op-home-products__grid.products li.product,
.op-home-products__grid.products > .product,
.op-home-products__grid.products > .product.col {
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	float: none !important;
	padding: 0 !important;
	flex: none !important;
	text-align: left;
	overflow: hidden !important;
}

/* Home inherits global card chrome from qty-cart.css */

.op-home-products__empty {
	margin: 0;
	padding: 28px 0;
	color: var(--op-h-muted);
	font-weight: 500;
}

/* Pagination */
.op-home-products__pager {
	margin-top: 28px;
}

.op-home-products__pager .page-numbers {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
}

.op-home-products__pager .page-numbers li {
	margin: 0;
}

.op-home-products__pager .page-numbers a,
.op-home-products__pager .page-numbers span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 10px;
	border-radius: 10px;
	border: 1px solid var(--op-h-line);
	background: var(--op-h-card);
	color: var(--op-h-text) !important;
	text-decoration: none !important;
	font-weight: 600;
	font-size: 0.88rem;
}

.op-home-products__pager .page-numbers a:hover {
	border-color: rgba(61, 140, 53, 0.4);
	color: var(--op-h-green) !important;
}

.op-home-products__pager .page-numbers .current {
	background: var(--op-h-green);
	border-color: var(--op-h-green);
	color: #fff !important;
}

@media (max-width: 980px) {
	.op-home-products__grid.products {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.op-home-products__grid.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}
}

/* ——— Search results (same grid as homepage) ——— */
.op-search {
	padding-top: 4px;
}

.op-search-results {
	padding-top: clamp(16px, 2.5vw, 24px) !important;
}

.op-search-results__head {
	display: block;
	align-items: unset;
	margin-bottom: 16px;
}

.op-search-results__top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 12px 24px;
	flex-wrap: wrap;
}

.op-search-results__copy {
	flex: 1 1 200px;
	min-width: 0;
}

.op-search-results__eyebrow {
	display: none;
}

.op-search-results__title {
	margin: 0 0 4px !important;
	font-size: clamp(1.05rem, 1.8vw, 1.28rem) !important;
	font-weight: 700 !important;
	letter-spacing: -0.02em;
	line-height: 1.25 !important;
}

.op-search-results__count {
	margin: 0;
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--op-h-muted);
	line-height: 1.3;
}

.op-search-results__form {
	position: relative;
	flex: 0 1 320px;
	width: min(100%, 320px);
	margin: 0;
	align-self: center;
}

.op-search-results__suggest {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 6px);
	width: 100%;
	z-index: 40;
}

.op-search-oos-sep,
.op-home-products__grid.products > .op-search-oos-sep,
ul.products.op-home-products__grid > .op-search-oos-sep {
	list-style: none !important;
	grid-column: 1 / -1 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: flex-start !important;
	width: 100% !important;
	max-width: none !important;
	min-width: 0 !important;
	min-height: 0 !important;
	height: auto !important;
	margin: 18px 0 6px !important;
	padding: 0 !important;
	float: none !important;
	clear: both !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	overflow: visible !important;
	transform: none !important;
	z-index: 1;
}

.op-search-oos-sep::before,
.op-search-oos-sep::after,
.op-home-products__grid.products > .op-search-oos-sep::before,
.op-home-products__grid.products > .op-search-oos-sep::after {
	content: none !important;
	display: none !important;
}

.op-search-oos-sep__label {
	display: block;
	width: 100%;
	margin: 0;
	padding: 14px 2px 6px;
	border-top: 2px solid rgba(92, 107, 88, 0.28);
	font-family: var(--organela-font, 'Raleway', sans-serif);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	line-height: 1.3;
	text-transform: uppercase;
	color: #5c6b58;
}

ul.products .product.op-product--unavailable,
ul.products .product.outofstock.op-product--unavailable,
.op-home-products__grid .product.op-product--unavailable {
	opacity: 0.78;
}

ul.products .product .op-oos-badge,
ul.products .product .button.op-oos-badge {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: calc(100% - (var(--op-card-pad-x, 12px) * 2)) !important;
	margin: 0 var(--op-card-pad-x, 12px) 12px !important;
	margin-top: auto !important;
	min-height: 40px;
	padding: 0 12px !important;
	border: 1px solid rgba(0, 0, 0, 0.1) !important;
	border-radius: 9px !important;
	background: #f3f4f2 !important;
	color: #6b7a68 !important;
	font-size: 0.82rem !important;
	font-weight: 700 !important;
	line-height: 1.2 !important;
	text-align: center;
	cursor: default !important;
	pointer-events: none;
	box-shadow: none !important;
}

ul.products .product.op-product--unavailable .op-quick-add-wrap,
ul.products .product.op-product--unavailable .op-quick-add {
	display: none !important;
}

.op-search-results__field {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	height: 36px;
	min-height: 36px;
	padding: 0 4px 0 12px;
	border: 1px solid rgba(0, 0, 0, 0.06);
	border-radius: 999px;
	background: #f6f7f6;
	box-shadow: none;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.op-search-results__field:focus-within {
	border-color: rgba(0, 0, 0, 0.12);
	background: #fff;
	box-shadow: none;
}

.op-search-results__icon {
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	color: #9aa39a;
	pointer-events: none;
}

.op-search-results__input {
	flex: 1 1 auto;
	min-width: 0;
	height: 100%;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	outline: none !important;
	padding: 0 !important;
	font-family: inherit;
	font-size: 0.875rem;
	font-weight: 500;
	color: #111;
	-webkit-appearance: none;
	appearance: none;
}

.op-search-results__input::placeholder {
	color: #a3ada3;
	font-weight: 400;
	opacity: 1;
}

.op-search-results__input::-webkit-search-decoration,
.op-search-results__input::-webkit-search-cancel-button,
.op-search-results__input::-webkit-search-results-button,
.op-search-results__input::-webkit-search-results-decoration {
	-webkit-appearance: none;
	appearance: none;
	display: none;
}

.op-search-results__submit {
	appearance: none;
	flex: 0 0 auto;
	height: 28px;
	padding: 0 12px;
	border: 0;
	border-radius: 999px;
	background: transparent;
	color: #6b756b;
	font-family: inherit;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.01em;
	cursor: pointer;
	transition: color 0.15s ease, background 0.15s ease;
}

.op-search-results__submit:hover {
	filter: none;
	color: #111;
	background: rgba(0, 0, 0, 0.04);
}

.op-search-results__submit:focus {
	outline: none;
}

.op-search-results__empty {
	padding: 28px 0 12px;
	text-align: left;
}

.op-search-results__home {
	display: inline-flex;
	align-items: center;
	margin-top: 8px;
	padding: 10px 16px;
	border-radius: 10px;
	border: 1px solid rgba(61, 140, 53, 0.28);
	background: rgba(61, 140, 53, 0.07);
	color: var(--op-h-green) !important;
	font-weight: 700;
	font-size: 0.86rem;
	text-decoration: none !important;
}

.op-search-results__home:hover {
	background: var(--op-h-green);
	color: #fff !important;
	border-color: var(--op-h-green);
}

.op-search-results__pager {
	margin-top: 28px;
}

@media (max-width: 700px) {
	.op-search-results {
		padding-top: 12px !important;
	}

	.op-search-results__head {
		margin-bottom: 14px;
	}

	.op-search-results__top {
		flex-direction: column;
		align-items: stretch;
		gap: 10px;
	}

	.op-search-results__form {
		width: 100%;
		flex: 1 1 auto;
		align-self: stretch;
	}

	.op-search-results__field {
		width: 100%;
	}
}

/* ——— Sale products (extends search layout) ——— */
body.op-sale-page {
	background: #fff;
}

.op-sale-results__footer {
	margin-top: 32px;
	padding-top: 24px;
	border-top: 1px solid var(--op-h-line);
	text-align: center;
}

.op-sale-results__footer-text {
	margin: 0 0 8px;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--op-h-muted);
}

/* ——— Shop archive (extends search layout) ——— */
body.op-shop-page {
	background: #fff;
}

.op-shop-results__footer {
	margin-top: 32px;
	padding-top: 24px;
	border-top: 1px solid var(--op-h-line);
	text-align: center;
}

.op-shop-results__footer-text {
	margin: 0 0 8px;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--op-h-muted);
}

/* ——— Category / tag archive (extends search layout) ——— */
body.op-category-page {
	background: #fff;
}

.op-sale-results__lede,
.op-shop-results__lede,
.op-category-results__lede {
	margin: 6px 0 0;
	max-width: 46em;
	font-size: 0.86rem;
	font-weight: 500;
	line-height: 1.45;
	color: var(--op-h-muted);
}

.op-category-results__lede p {
	margin: 0 0 0.5em;
}

.op-category-results__lede p:last-child {
	margin-bottom: 0;
}

.op-category-results__subs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 12px 0 0;
	width: 100%;
}

.op-category-results__sub {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 32px;
	padding: 0 12px;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 999px;
	background: #fff;
	color: #4d5c4a;
	font: 600 0.78rem/1 var(--organela-font, 'Raleway', sans-serif);
	text-decoration: none !important;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.op-category-results__sub:hover,
.op-category-results__sub:focus-visible {
	background: #f6f9f4;
	border-color: rgba(61, 140, 53, 0.28);
	color: var(--op-h-green);
	outline: none;
}

.op-category-results__sub-count {
	color: #8a9687;
	font-variant-numeric: tabular-nums;
}

.op-category-results__footer {
	margin-top: 32px;
	padding-top: 24px;
	border-top: 1px solid var(--op-h-line);
	text-align: center;
}

.op-category-results__footer-text {
	margin: 0 0 8px;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--op-h-muted);
}

/* ——— Infinite scroll ——— */
.op-home-products__infinite {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 72px;
	margin: 8px 0 0;
	padding: 12px 0 4px;
}

.op-home-products__infinite[hidden] {
	display: none !important;
}

.op-home-products__infinite-label {
	font-size: 0.84rem;
	font-weight: 600;
	color: var(--op-h-muted);
	text-align: center;
}

.op-home-products__infinite-spinner {
	width: 28px;
	height: 28px;
	border: 2px solid rgba(61, 140, 53, 0.18);
	border-top-color: var(--op-h-green);
	border-radius: 50%;
	animation: op-home-infinite-spin 0.7s linear infinite;
}

.op-home-products__infinite-spinner[hidden] {
	display: none !important;
}

@keyframes op-home-infinite-spin {
	to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
	.op-home-products__infinite-spinner {
		animation: none;
		border-top-color: rgba(61, 140, 53, 0.35);
	}
}
