:root {
	--jovagro-green: #63b51f;
	--jovagro-green-strong: #4b9f13;
	--jovagro-green-dark: #173f2d;
	--jovagro-green-soft: #eef8e8;
	--jovagro-green-pale: #f7fbf3;
	--jovagro-ink: #071c2c;
	--jovagro-text: #64726e;
	--jovagro-muted: #8a9692;
	--jovagro-border: #e3e9e5;
	--jovagro-surface: #ffffff;
	--jovagro-image-surface: #f8faf8;
	--jovagro-radius-card: 20px;
	--jovagro-radius-button: 999px;
	--jovagro-shadow-card: 0 12px 35px rgba(16, 50, 37, 0.07);
	--jovagro-shadow-float: 0 24px 65px rgba(20, 55, 40, 0.14);
}

/* --------------------------------------------------------------------------
 * Shared controls and product cards
 * -------------------------------------------------------------------------- */
.jovagro-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	gap: 8px;
	padding: 10px 18px;
	color: var(--jovagro-ink);
	background: #fff;
	border: 1px solid transparent;
	border-radius: var(--jovagro-radius-button);
	font-size: 0.86rem;
	font-weight: 750;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.jovagro-button svg {
	flex: 0 0 auto;
	width: 17px;
	height: 17px;
}

.jovagro-button:hover {
	transform: translateY(-1px);
}

.jovagro-button--primary {
	color: #fff;
	background: linear-gradient(135deg, var(--jovagro-green) 0%, var(--jovagro-green-strong) 100%);
	box-shadow: 0 8px 20px rgba(90, 172, 26, 0.2);
}

.jovagro-button--primary:hover,
.jovagro-button--primary:focus-visible {
	color: #fff;
	background: var(--jovagro-green-dark);
}

.jovagro-button:focus-visible,
.jovagro-product-card__media:focus-visible,
.jovagro-product-card__title a:focus-visible,
.jovagro-search-suggestion:focus-visible,
.jovagro-category-card:focus-visible {
	outline: 3px solid rgba(99, 181, 31, 0.34);
	outline-offset: 3px;
}

.jovagro-catalogue-mode .woocommerce ul.products,
.jovagro-catalogue-mode ul.products,
body.jovagro-product-archive .woocommerce ul.products,
body.jovagro-product-archive ul.products {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(14px, 1.6vw, 22px) !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.jovagro-catalogue-mode .woocommerce ul.products::before,
.jovagro-catalogue-mode .woocommerce ul.products::after,
.jovagro-catalogue-mode ul.products::before,
.jovagro-catalogue-mode ul.products::after,
body.jovagro-product-archive ul.products::before,
body.jovagro-product-archive ul.products::after {
	display: none !important;
	content: none !important;
}

.jovagro-catalogue-mode .woocommerce ul.products li.product,
.jovagro-catalogue-mode ul.products li.product,
body.jovagro-product-archive .woocommerce ul.products li.product,
body.jovagro-product-archive ul.products li.product {
	float: none !important;
	clear: none !important;
	width: auto !important;
	max-width: none !important;
	min-width: 0;
	margin: 0 !important;
	padding: 0 !important;
}

.jovagro-product-card {
	min-width: 0;
}

.jovagro-product-card__inner {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	background: var(--jovagro-surface);
	border: 1px solid var(--jovagro-border);
	border-radius: var(--jovagro-radius-card);
	box-shadow: var(--jovagro-shadow-card);
	transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.jovagro-product-card__inner:hover {
	transform: translateY(-4px);
	border-color: rgba(99, 181, 31, 0.36);
	box-shadow: 0 18px 45px rgba(16, 50, 37, 0.12);
}

.jovagro-product-card__media {
	display: flex;
	align-items: stretch;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	padding: 12px 12px 0;
	text-decoration: none;
}

.jovagro-product-card__image-stage {
	display: flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	margin: 0 auto;
	aspect-ratio: 1 / 0.92;
	overflow: hidden;
	padding: clamp(18px, 2vw, 30px);
	background:
		radial-gradient(circle at 70% 20%, rgba(99, 181, 31, 0.11), transparent 30%),
		var(--jovagro-image-surface);
	border-radius: 15px;
}

/*
 * Keep the product artwork centred even when the parent WooCommerce theme
 * applies its more-specific loop-image width and bottom-margin rules.
 */
.jovagro-catalogue-mode .woocommerce ul.products li.product .jovagro-product-card__image,
.jovagro-catalogue-mode .woocommerce ul.products li.product .jovagro-product-card__image-stage img,
.jovagro-catalogue-mode ul.products li.product .jovagro-product-card__image,
.jovagro-catalogue-mode ul.products li.product .jovagro-product-card__image-stage img,
body.jovagro-product-archive .woocommerce ul.products li.product .jovagro-product-card__image,
body.jovagro-product-archive .woocommerce ul.products li.product .jovagro-product-card__image-stage img,
body.jovagro-product-archive ul.products li.product .jovagro-product-card__image,
body.jovagro-product-archive ul.products li.product .jovagro-product-card__image-stage img,
.jovagro-product-card__image,
.jovagro-product-card__image-stage img {
	display: block;
	flex: 0 1 auto;
	width: auto !important;
	height: auto !important;
	max-width: 100% !important;
	max-height: 100% !important;
	margin: auto !important;
	object-fit: contain;
	object-position: 50% 50%;
	transition: transform 220ms ease;
}

.jovagro-product-card__inner:hover .jovagro-product-card__image,
.jovagro-product-card__inner:hover .jovagro-product-card__image-stage img {
	transform: scale(1.035);
}

.jovagro-product-card__content {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 17px;
}

.jovagro-catalogue-mode .woocommerce ul.products li.product .jovagro-product-card__title,
.jovagro-product-card__title {
	margin: 0 !important;
	padding: 0 !important;
	font-size: clamp(0.98rem, 1.05vw, 1.12rem);
	font-weight: 760 !important;
	line-height: 1.25 !important;
}

.jovagro-product-card__title a {
	color: var(--jovagro-ink);
	text-decoration: none;
}

.jovagro-product-card__title a:hover {
	color: var(--jovagro-green-dark);
}

.jovagro-product-card__description {
	display: -webkit-box;
	overflow: hidden;
	margin: 8px 0 0;
	color: var(--jovagro-text);
	font-size: 0.78rem;
	line-height: 1.48;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.jovagro-product-card__actions {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 7px;
	margin-top: auto;
	padding-top: 15px;
}

.jovagro-product-card__actions .jovagro-button {
	min-height: 36px;
	padding: 6px 9px;
	font-size: 0.7rem;
}

.jovagro-product-card__actions .jovagro-button:only-child {
	grid-column: 1 / -1;
}

/* --------------------------------------------------------------------------
 * Archive shell
 * -------------------------------------------------------------------------- */
body.jovagro-product-archive .woocommerce-breadcrumb {
	width: min(100% - 40px, 1440px);
	margin: 0 auto;
	padding: 18px 0 0;
	color: var(--jovagro-text);
	font-size: 0.78rem;
}

body.jovagro-product-archive .woocommerce-breadcrumb a {
	color: var(--jovagro-green-dark);
	text-decoration: none;
}

body.jovagro-product-archive .page_wrap,
body.jovagro-product-archive .page_content_wrap {
	overflow-x: clip;
}

.jovagro-catalogue {
	width: min(100%, 1440px);
	margin: 0 auto;
	padding: 16px clamp(20px, 4vw, 60px) 64px;
	color: var(--jovagro-ink);
}

/* --------------------------------------------------------------------------
 * Hero and search history
 * -------------------------------------------------------------------------- */
.jovagro-catalogue-hero {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.68fr);
	min-height: 295px;
	overflow: hidden;
	background:
		radial-gradient(circle at 12% 10%, rgba(99, 181, 31, 0.12), transparent 32%),
		linear-gradient(135deg, #fbfdf9 0%, #f1f8ed 55%, #edf6e7 100%);
	border: 1px solid rgba(23, 63, 45, 0.08);
	border-radius: 28px;
	isolation: isolate;
}

.jovagro-catalogue-hero::before {
	position: absolute;
	inset: auto auto -120px -100px;
	width: 280px;
	height: 280px;
	content: '';
	border: 1px solid rgba(99, 181, 31, 0.17);
	border-radius: 50%;
}

.jovagro-catalogue-hero__content {
	position: relative;
	z-index: 3;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(24px, 2.8vw, 38px);
}

.jovagro-catalogue-hero__eyebrow,
.jovagro-section-heading__eyebrow,
.jovagro-catalogue-filters__eyebrow {
	margin: 0 0 8px;
	color: var(--jovagro-green-strong);
	font-size: 0.66rem;
	font-weight: 850;
	letter-spacing: 0.12em;
	line-height: 1.2;
	text-transform: uppercase;
}

.jovagro-catalogue-hero__title {
	max-width: 700px;
	margin: 0;
	color: var(--jovagro-ink);
	font-size: clamp(2.15rem, 3.7vw, 4rem);
	font-weight: 780;
	letter-spacing: -0.055em;
	line-height: 0.96;
}

.jovagro-catalogue-hero__title span,
.jovagro-catalogue-hero__title strong {
	display: block;
}

.jovagro-catalogue-hero__title strong {
	color: var(--jovagro-green);
	font-weight: inherit;
}

.jovagro-catalogue-hero__description {
	max-width: 620px;
	margin-top: 11px;
	color: var(--jovagro-text);
	font-size: clamp(0.88rem, 1vw, 1rem);
	line-height: 1.56;
}

.jovagro-catalogue-hero__description > :first-child {
	margin-top: 0;
}

.jovagro-catalogue-hero__description > :last-child {
	margin-bottom: 0;
}

.jovagro-catalogue-search-area {
	max-width: 640px;
	margin-top: 16px;
}

.jovagro-catalogue-search {
	display: grid;
	grid-template-columns: 20px minmax(0, 1fr) auto;
	align-items: center;
	min-height: 50px;
	gap: 8px;
	padding: 5px 5px 5px 17px;
	background: #fff;
	border: 1px solid rgba(23, 63, 45, 0.11);
	border-radius: 999px;
	box-shadow: 0 12px 32px rgba(20, 55, 40, 0.09);
}

.jovagro-catalogue-search:focus-within {
	border-color: rgba(99, 181, 31, 0.55);
	box-shadow: 0 0 0 4px rgba(99, 181, 31, 0.1), 0 12px 32px rgba(20, 55, 40, 0.09);
}

.jovagro-catalogue-search__icon {
	display: grid;
	place-items: center;
	color: var(--jovagro-muted);
}

.jovagro-catalogue-search__icon svg {
	width: 18px;
	height: 18px;
}

.jovagro-catalogue-search input[type='search'] {
	min-width: 0;
	height: 38px;
	margin: 0;
	padding: 0;
	color: var(--jovagro-ink);
	background: transparent;
	border: 0;
	box-shadow: none;
	font: inherit;
	font-size: 0.84rem;
	outline: 0;
}

.jovagro-catalogue-search input[type='search']::placeholder {
	color: #9aa39f;
}

.jovagro-catalogue-search button {
	min-height: 38px;
	padding: 8px 20px;
	color: #fff;
	background: linear-gradient(135deg, var(--jovagro-green), var(--jovagro-green-strong));
	border: 0;
	border-radius: 999px;
	box-shadow: 0 7px 18px rgba(99, 181, 31, 0.25);
	font-size: 0.78rem;
	font-weight: 800;
	cursor: pointer;
	transition: background 160ms ease, transform 160ms ease;
}

.jovagro-catalogue-search button:hover {
	background: var(--jovagro-green-dark);
	transform: translateY(-1px);
}

.jovagro-catalogue-search-suggestions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 10px;
	margin-top: 12px;
	font-size: 0.72rem;
}

.jovagro-catalogue-search-suggestions__label {
	color: var(--jovagro-ink);
	font-weight: 800;
}

.jovagro-catalogue-search-suggestions__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.jovagro-catalogue-search-suggestions__chips[hidden] {
	display: none;
}

.jovagro-search-suggestion {
	display: inline-flex;
	align-items: center;
	min-height: 29px;
	padding: 5px 12px;
	color: var(--jovagro-ink);
	background: rgba(255, 255, 255, 0.78);
	border: 1px solid rgba(23, 63, 45, 0.12);
	border-radius: 999px;
	box-shadow: 0 4px 12px rgba(20, 55, 40, 0.04);
	font-weight: 700;
	text-decoration: none;
	transition: border-color 160ms ease, background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.jovagro-search-suggestion:hover {
	color: var(--jovagro-green-dark);
	background: #fff;
	border-color: rgba(99, 181, 31, 0.42);
	transform: translateY(-1px);
}

/* Hero visual: simple catalogue image. */
.jovagro-catalogue-hero__visual {
	position: relative;
	z-index: 2;
	min-height: 230px;
	overflow: hidden;
	border-radius: 28px;
	box-shadow: 0 18px 42px rgba(20, 55, 40, 0.12);
}

.jovagro-catalogue-hero__image {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 230px;
	object-fit: cover;
	object-position: center;
}

/* --------------------------------------------------------------------------
 * Browser, moved category navigation and sticky filters
 * -------------------------------------------------------------------------- */
.jovagro-catalogue-browser {
	margin-top: 34px;
}

.jovagro-active-filters {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 16px;
	padding: 12px 15px;
	background: #f9fbf9;
	border: 1px solid var(--jovagro-border);
	border-radius: 14px;
}

.jovagro-active-filters__list {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.jovagro-active-filter {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 31px;
	padding: 5px 10px;
	color: var(--jovagro-green-dark);
	background: var(--jovagro-green-soft);
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 720;
	text-decoration: none;
}

.jovagro-active-filter:hover {
	color: #fff;
	background: var(--jovagro-green-dark);
}

.jovagro-active-filter svg {
	width: 12px;
	height: 12px;
}

.jovagro-active-filters__clear,
.jovagro-filter-clear {
	flex: 0 0 auto;
	color: var(--jovagro-green-dark);
	font-size: 0.76rem;
	font-weight: 780;
	text-decoration: none;
}

.jovagro-catalogue-browser__layout {
	display: grid;
	grid-template-columns: minmax(250px, 272px) minmax(0, 1fr);
	align-items: start;
	gap: clamp(18px, 2vw, 28px);
}

.jovagro-catalogue-results-column,
.jovagro-results-region,
.jovagro-catalogue-results,
.jovagro-results-toolbar,
.jovagro-results-toolbar__summary,
.jovagro-results-toolbar__controls {
	min-width: 0;
}

.jovagro-filter-drawer {
	position: sticky;
	top: 22px;
	max-height: calc(100vh - 44px);
}

body.admin-bar .jovagro-filter-drawer {
	top: 54px;
	max-height: calc(100vh - 72px);
}

.jovagro-filter-drawer__backdrop,
.jovagro-filter-drawer__close {
	display: none;
}

.jovagro-catalogue-filters {
	max-height: inherit;
	overflow-x: hidden;
	overflow-y: auto;
	background: #fff;
	border: 1px solid var(--jovagro-border);
	border-radius: 19px;
	box-shadow: 0 12px 34px rgba(20, 55, 40, 0.06);
	scrollbar-width: thin;
	scrollbar-color: rgba(99, 181, 31, 0.45) transparent;
}

.jovagro-catalogue-filters__header {
	position: sticky;
	z-index: 3;
	top: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 18px 14px;
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid var(--jovagro-border);
	backdrop-filter: blur(8px);
}

.jovagro-catalogue-filters__header h2 {
	margin: 0;
	color: var(--jovagro-ink);
	font-size: 1.18rem;
}

.jovagro-catalogue-filter-form__groups {
	padding: 0 17px;
}

.jovagro-filter-group {
	border-bottom: 1px solid var(--jovagro-border);
}

.jovagro-filter-group:last-child {
	border-bottom: 0;
}

.jovagro-filter-group summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 15px 0;
	color: var(--jovagro-ink);
	cursor: pointer;
	list-style: none;
}

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

.jovagro-filter-group__heading {
	display: flex;
	align-items: center;
	gap: 9px;
	min-width: 0;
	font-size: 0.82rem;
}

.jovagro-filter-group__icon {
	width: 22px;
	height: 22px;
	object-fit: contain;
}

.jovagro-filter-group__chevron {
	display: inline-grid !important;
	flex: 0 0 24px;
	place-items: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: rgba(23, 63, 45, 0.08);
	color: #173f2d !important;
	font-family: Arial, sans-serif !important;
	font-size: 17px !important;
	font-style: normal;
	font-weight: 700;
	line-height: 1;
	opacity: 1 !important;
	visibility: visible !important;
	transform: rotate(0deg);
	transition: transform 160ms ease, background-color 160ms ease;
}

.jovagro-filter-group[open] .jovagro-filter-group__chevron {
	background: rgba(23, 63, 45, 0.13);
	transform: rotate(180deg);
}

.jovagro-filter-group__content {
	padding: 0 0 15px;
}

.jovagro-filter-term-search {
	display: grid;
	grid-template-columns: 16px minmax(0, 1fr);
	align-items: center;
	gap: 7px;
	margin-bottom: 10px;
	padding: 7px 10px;
	background: #f8faf8;
	border: 1px solid var(--jovagro-border);
	border-radius: 10px;
	color: var(--jovagro-muted);
}

.jovagro-filter-term-search svg {
	width: 15px;
	height: 15px;
}

.jovagro-filter-term-search input[type='search'] {
	min-width: 0;
	height: 25px;
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
	font-size: 0.74rem;
	outline: 0;
}

.jovagro-filter-terms {
	display: grid;
	gap: 8px;
	max-height: none;
	overflow: visible;
	margin: 0;
	padding: 1px 2px 1px 0;
	list-style: none;
	scrollbar-width: thin;
}

.jovagro-filter-option {
	display: grid;
	grid-template-columns: 17px minmax(0, 1fr);
	align-items: center;
	gap: 8px;
	color: var(--jovagro-text);
	font-size: 0.77rem;
	line-height: 1.3;
	cursor: pointer;
}

.jovagro-filter-option input {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}

.jovagro-filter-option__check {
	display: grid;
	place-items: center;
	width: 17px;
	height: 17px;
	background: #fff;
	border: 1px solid #cdd8d1;
	border-radius: 5px;
}

.jovagro-filter-option__check::after {
	width: 7px;
	height: 4px;
	content: '';
	border-left: 1.8px solid #fff;
	border-bottom: 1.8px solid #fff;
	opacity: 0;
	transform: rotate(-45deg) translateY(-1px);
}

.jovagro-filter-option input:checked + .jovagro-filter-option__check {
	background: var(--jovagro-green);
	border-color: var(--jovagro-green);
}

.jovagro-filter-option input:checked + .jovagro-filter-option__check::after {
	opacity: 1;
}

.jovagro-filter-option input:focus-visible + .jovagro-filter-option__check {
	outline: 3px solid rgba(99, 181, 31, 0.25);
	outline-offset: 2px;
}

.jovagro-filter-group__empty {
	margin: 8px 0 0;
	color: var(--jovagro-muted);
	font-size: 0.72rem;
}

.jovagro-catalogue-filter-form__actions {
	position: sticky;
	z-index: 3;
	bottom: 0;
	display: grid;
	gap: 8px;
	padding: 14px 17px 17px;
	background: rgba(255, 255, 255, 0.97);
	border-top: 1px solid var(--jovagro-border);
	backdrop-filter: blur(8px);
}

.jovagro-filter-status {
	display: block;
	min-height: 1.1em;
	color: var(--jovagro-text);
	font-size: 0.7rem;
	font-weight: 650;
}

.jovagro-filter-status:empty {
	display: none;
}

/* Category navigation now lives at the top of the results region. */
.jovagro-category-navigation {
	position: relative;
	overflow: hidden;
	margin: 0 0 22px;
	padding: 20px;
	background:
		radial-gradient(circle at 95% 0%, rgba(99, 181, 31, 0.14), transparent 26%),
		linear-gradient(135deg, #fbfdfa 0%, #f4f9f1 100%);
	border: 1px solid var(--jovagro-border);
	border-radius: 20px;
}

.jovagro-category-navigation::after {
	position: absolute;
	right: -34px;
	bottom: -58px;
	width: 130px;
	height: 130px;
	content: '';
	border: 1px solid rgba(99, 181, 31, 0.18);
	border-radius: 50%;
}

.jovagro-section-heading {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 14px;
}

.jovagro-section-heading h2 {
	margin: 0;
	color: var(--jovagro-ink);
	font-size: clamp(1.25rem, 1.8vw, 1.75rem);
	letter-spacing: -0.025em;
}

.jovagro-category-navigation__track {
	position: relative;
	z-index: 2;
	display: grid;
	grid-auto-columns: minmax(190px, 1fr);
	grid-auto-flow: column;
	gap: 11px;
	overflow-x: auto;
	padding: 1px 1px 7px;
	scroll-snap-type: x proximity;
	scrollbar-width: thin;
}

.jovagro-category-card {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-width: 0;
	min-height: 92px;
	overflow: hidden;
	color: #fff;
	background: var(--jovagro-green-dark);
	border: 1px solid rgba(23, 63, 45, 0.11);
	border-radius: 16px;
	box-shadow: 0 8px 22px rgba(20, 55, 40, 0.09);
	isolation: isolate;
	text-decoration: none;
	scroll-snap-align: start;
	transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.jovagro-category-card:hover {
	color: #fff;
	transform: translateY(-2px);
	border-color: rgba(99, 181, 31, 0.54);
	box-shadow: 0 13px 30px rgba(20, 55, 40, 0.17);
}

.jovagro-category-card__media {
	position: absolute;
	z-index: 0;
	inset: 0;
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background: var(--jovagro-image-surface);
}

.jovagro-category-card__media::after {
	position: absolute;
	z-index: 1;
	inset: 0;
	content: '';
	background: linear-gradient(90deg, rgba(5, 29, 21, 0.84) 0%, rgba(5, 29, 21, 0.48) 58%, rgba(5, 29, 21, 0.18) 100%);
}

.jovagro-category-card__media--accented::after {
	background:
		linear-gradient(90deg, rgba(5, 29, 21, 0.76) 0%, rgba(5, 29, 21, 0.38) 60%, rgba(5, 29, 21, 0.14) 100%),
		linear-gradient(135deg, rgba(var(--jovagro-category-accent-rgb), 0.72) 0%, rgba(var(--jovagro-category-accent-rgb), 0.26) 60%, rgba(var(--jovagro-category-accent-rgb), 0) 100%);
}

.jovagro-category-card--accented::after {
	position: absolute;
	z-index: 3;
	right: 0;
	bottom: 0;
	left: 0;
	height: 4px;
	content: '';
	background: linear-gradient(
		90deg,
		rgba(var(--jovagro-category-accent-rgb), 0.78) 0%,
		var(--jovagro-category-accent) 50%,
		rgba(var(--jovagro-category-accent-rgb), 0.78) 100%
	);
	box-shadow: 0 -3px 12px rgba(var(--jovagro-category-accent-rgb), 0.22);
	pointer-events: none;
}

.jovagro-category-card__accent {
	position: absolute;
	z-index: 2;
	top: 12px;
	right: 12px;
	display: block;
	width: 15px;
	height: 15px;
	background: var(--jovagro-category-accent);
	border: 2px solid rgba(255, 255, 255, 0.9);
	border-radius: 5px;
	box-shadow: 0 3px 10px rgba(5, 29, 21, 0.28);
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.jovagro-category-card--accented:hover .jovagro-category-card__accent {
	transform: scale(1.12);
	box-shadow: 0 4px 14px rgba(5, 29, 21, 0.36);
}

.jovagro-category-card__image {
	position: absolute;
	inset: 0;
	display: block;
	width: 100% !important;
	max-width: none !important;
	height: 100% !important;
	max-height: none !important;
	margin: 0 !important;
	object-fit: cover !important;
	object-position: 50% 50% !important;
	transition: transform 220ms ease;
}

.jovagro-category-card:hover .jovagro-category-card__image {
	transform: scale(1.045);
}

.jovagro-category-card__placeholder {
	display: grid;
	place-items: center;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #6fbd2f, #27553c);
	border-radius: 0;
}

.jovagro-category-card__placeholder-image {
	width: 42px;
	height: 42px;
	object-fit: contain;
}

.jovagro-category-card__body {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	width: 100%;
	min-width: 0;
	padding: 16px;
}

.jovagro-category-card__body strong {
	display: -webkit-box;
	flex: 1 1 auto;
	min-width: 0;
	max-height: 2.5em;
	overflow: hidden;
	color: #fff;
	font-size: 0.82rem;
	line-height: 1.25;
	text-overflow: ellipsis;
	text-shadow: 0 1px 10px rgba(0, 0, 0, 0.28);
	white-space: normal;
	overflow-wrap: anywhere;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.jovagro-category-card__body > span:last-child {
	display: grid;
	flex: 0 0 auto;
	place-items: center;
	width: 28px;
	height: 28px;
	color: #fff;
	background: rgba(255, 255, 255, 0.16);
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 50%;
	font-size: 0.92rem;
	backdrop-filter: blur(5px);
}

/* --------------------------------------------------------------------------
 * Results toolbar, grid/list modes, pagination and archive CTA
 * -------------------------------------------------------------------------- */
.jovagro-results-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 17px;
	padding: 0 2px;
}

.jovagro-results-toolbar__summary,
.jovagro-results-toolbar__controls {
	display: flex;
	align-items: center;
	gap: 10px;
}

.jovagro-results-toolbar__count {
	margin: 0;
	color: var(--jovagro-ink);
	font-size: 0.93rem;
	font-weight: 760;
}

.jovagro-mobile-filter-button {
	display: none;
	align-items: center;
	gap: 7px;
	min-height: 38px;
	padding: 7px 12px;
	color: var(--jovagro-green-dark);
	background: #fff;
	border: 1px solid var(--jovagro-border);
	border-radius: 999px;
	font-size: 0.76rem;
	font-weight: 750;
}

.jovagro-mobile-filter-button svg {
	width: 16px;
	height: 16px;
}

.jovagro-results-toolbar__ordering .woocommerce-ordering {
	float: none !important;
	margin: 0 !important;
}

.jovagro-results-toolbar__ordering select {
	max-width: 190px;
	height: 39px;
	margin: 0;
	padding: 6px 34px 6px 12px;
	color: var(--jovagro-ink);
	background-color: #fff;
	border: 1px solid var(--jovagro-border);
	border-radius: 999px;
	font-size: 0.72rem;
}

.jovagro-view-switcher {
	display: inline-flex;
	padding: 3px;
	background: #f3f6f3;
	border-radius: 999px;
}

.jovagro-view-switcher__button {
	display: grid;
	place-items: center;
	width: 34px;
	height: 32px;
	padding: 0;
	color: var(--jovagro-muted);
	background: transparent;
	border: 0;
	border-radius: 999px;
	cursor: pointer;
}

.jovagro-view-switcher__button svg {
	width: 16px;
	height: 16px;
}

.jovagro-view-switcher__button.is-active {
	color: var(--jovagro-green-dark);
	background: #fff;
	box-shadow: 0 3px 10px rgba(20, 55, 40, 0.09);
}

.jovagro-catalogue-results.is-list-view ul.products,
.jovagro-catalogue-results ul.products.jovagro-products--list {
	display: grid !important;
	grid-template-columns: 1fr !important;
}

.jovagro-catalogue-results.is-list-view .jovagro-product-card__inner,
.jovagro-catalogue-results ul.products.jovagro-products--list .jovagro-product-card__inner {
	display: grid;
	grid-template-columns: minmax(170px, 230px) minmax(0, 1fr);
}

.jovagro-catalogue-results.is-list-view .jovagro-product-card__media,
.jovagro-catalogue-results ul.products.jovagro-products--list .jovagro-product-card__media {
	padding: 12px;
}

.jovagro-catalogue-results.is-list-view .jovagro-product-card__image-stage,
.jovagro-catalogue-results ul.products.jovagro-products--list .jovagro-product-card__image-stage {
	aspect-ratio: 1 / 0.78;
	height: 100%;
}

.jovagro-catalogue-results.is-list-view .jovagro-product-card__content,
.jovagro-catalogue-results ul.products.jovagro-products--list .jovagro-product-card__content {
	padding: 20px;
}

.jovagro-catalogue-results.is-list-view .jovagro-product-card__description,
.jovagro-catalogue-results ul.products.jovagro-products--list .jovagro-product-card__description {
	font-size: 0.84rem;
	-webkit-line-clamp: 3;
}

.jovagro-catalogue-results.is-list-view .jovagro-product-card__actions,
.jovagro-catalogue-results ul.products.jovagro-products--list .jovagro-product-card__actions {
	grid-template-columns: max-content;
	justify-content: start;
}

.jovagro-catalogue-pagination {
	margin-top: 28px;
}

.jovagro-catalogue-pagination .woocommerce-pagination {
	text-align: center;
}

.jovagro-catalogue-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	margin: 2px;
	padding: 0 8px;
	color: var(--jovagro-green-dark);
	background: #fff;
	border: 0 !important;
	border-radius: 50%;
	font-size: 0.76rem;
	font-weight: 750;
	text-decoration: none;
}

.jovagro-catalogue-pagination .page-numbers.current,
.jovagro-catalogue-pagination a.page-numbers:hover {
	color: #fff;
	background: var(--jovagro-green);
}

.jovagro-catalogue-empty {
	display: grid;
	justify-items: center;
	padding: 54px 24px;
	text-align: center;
	background: #fbfdfb;
	border: 1px dashed rgba(23, 63, 45, 0.2);
	border-radius: 20px;
}

.jovagro-catalogue-empty__icon {
	display: grid;
	place-items: center;
	width: 62px;
	height: 62px;
	color: var(--jovagro-green);
	background: var(--jovagro-green-soft);
	border-radius: 50%;
}

.jovagro-catalogue-empty__icon svg {
	width: 31px;
	height: 31px;
}

.jovagro-catalogue-empty h2 {
	margin: 16px 0 5px;
	font-size: 1.35rem;
}

.jovagro-catalogue-empty p {
	max-width: 480px;
	margin: 0 0 17px;
	color: var(--jovagro-text);
}

.jovagro-catalogue-cta {
	position: relative;
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 20px;
	overflow: hidden;
	margin-top: 44px;
	padding: 24px 28px;
	background:
		radial-gradient(circle at 95% 20%, rgba(99, 181, 31, 0.2), transparent 28%),
		linear-gradient(135deg, #f6faf3, #eef7e9);
	border: 1px solid var(--jovagro-border);
	border-radius: 22px;
}

.jovagro-catalogue-cta__icon {
	display: grid;
	place-items: center;
	width: 62px;
	height: 62px;
	background: #fff;
	border-radius: 50%;
	box-shadow: 0 8px 20px rgba(20, 55, 40, 0.08);
}

.jovagro-catalogue-cta__icon-image {
	width: 42px;
	height: 42px;
	object-fit: contain;
}

.jovagro-catalogue-cta__content h2 {
	margin: 0;
	font-size: 1.25rem;
}

.jovagro-catalogue-cta__content p {
	margin: 5px 0 0;
	color: var(--jovagro-text);
	font-size: 0.86rem;
}

/* AJAX states. */
.jovagro-results-region {
	position: relative;
	transition: opacity 160ms ease;
}

.jovagro-catalogue.is-ajax-loading .jovagro-results-region {
	opacity: 0.42;
	pointer-events: none;
}

.jovagro-catalogue.is-ajax-loading .jovagro-catalogue-results-column {
	position: relative;
	min-height: 150px;
}

.jovagro-catalogue.is-ajax-loading .jovagro-catalogue-results-column::after {
	position: absolute;
	z-index: 20;
	top: 100px;
	left: 50%;
	width: 38px;
	height: 38px;
	content: '';
	border: 3px solid rgba(23, 63, 45, 0.16);
	border-top-color: var(--jovagro-green);
	border-radius: 50%;
	transform: translateX(-50%);
	animation: jovagro-catalogue-spin 700ms linear infinite;
}

@keyframes jovagro-catalogue-spin {
	to {
		transform: translateX(-50%) rotate(360deg);
	}
}

.jovagro-catalogue.is-ajax-ready .jovagro-filter-submit {
	display: none;
}

/* Definitive filter layout repair: one scrollbar and readable option labels. */
body.jovagro-product-archive .jovagro-catalogue-filters,
body.jovagro-product-archive .jovagro-catalogue-filter-form,
body.jovagro-product-archive .jovagro-catalogue-filter-form__groups,
body.jovagro-product-archive .jovagro-filter-group,
body.jovagro-product-archive .jovagro-filter-group__content,
body.jovagro-product-archive .jovagro-filter-terms,
body.jovagro-product-archive .jovagro-filter-terms > li {
	min-width: 0;
	width: 100%;
}

body.jovagro-product-archive .jovagro-catalogue-filters .jovagro-filter-option {
	display: grid !important;
	grid-template-columns: 18px minmax(0, 1fr) !important;
	align-items: center !important;
	gap: 9px !important;
	width: 100% !important;
	min-width: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.jovagro-product-archive .jovagro-catalogue-filters .jovagro-filter-option__check {
	grid-column: 1 !important;
	grid-row: 1 !important;
	margin: 0 !important;
}

body.jovagro-product-archive .jovagro-catalogue-filters .jovagro-filter-option > span:last-child {
	grid-column: 2 !important;
	grid-row: 1 !important;
	display: block !important;
	min-width: 0 !important;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	white-space: normal !important;
	word-break: normal !important;
	overflow-wrap: break-word !important;
	writing-mode: horizontal-tb !important;
}

body.jovagro-product-archive .jovagro-filter-terms {
	overflow: visible !important;
	max-height: none !important;
}

/* --------------------------------------------------------------------------
 * Responsive archive
 * -------------------------------------------------------------------------- */
@media (min-width: 1480px) {
	body.jovagro-product-archive .jovagro-catalogue-results:not(.is-list-view) ul.products,
	body.jovagro-product-archive .jovagro-catalogue-results.is-grid-view ul.products,
	body.jovagro-product-archive .jovagro-catalogue-results ul.products.jovagro-products--grid {
		grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
		gap: clamp(10px, 0.8vw, 15px) !important;
	}

	body.jovagro-product-archive .jovagro-product-card__content {
		padding: 13px;
	}

	body.jovagro-product-archive .jovagro-product-card__image-stage {
		padding: clamp(14px, 1.5vw, 22px);
	}

	body.jovagro-product-archive .jovagro-product-card__actions .jovagro-button {
		padding-inline: 7px;
		font-size: 0.66rem;
	}
}


@media (min-width: 1101px) and (max-width: 1479px) {
	body.jovagro-product-archive .jovagro-catalogue-results:not(.is-list-view) ul.products,
	body.jovagro-product-archive .jovagro-catalogue-results.is-grid-view ul.products,
	body.jovagro-product-archive .jovagro-catalogue-results ul.products.jovagro-products--grid {
		grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 1100px) {
	.jovagro-catalogue-hero {
		grid-template-columns: minmax(0, 1fr) minmax(290px, 0.75fr);
	}

	.jovagro-catalogue-hero__title {
		font-size: clamp(2.2rem, 4.4vw, 3.8rem);
	}

	.jovagro-catalogue-browser__layout {
		grid-template-columns: 230px minmax(0, 1fr);
	}

	body.jovagro-product-archive .jovagro-catalogue-results:not(.is-list-view) ul.products,
	body.jovagro-product-archive .jovagro-catalogue-results.is-grid-view ul.products,
	body.jovagro-product-archive .jovagro-catalogue-results ul.products.jovagro-products--grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 899px) {
	html.jovagro-filters-open,
	html.jovagro-filters-open body {
		overflow: hidden;
	}

	.jovagro-catalogue {
		padding-inline: 18px;
	}

	.jovagro-catalogue-hero {
		grid-template-columns: 1fr;
	}

	.jovagro-catalogue-hero__content {
		padding-bottom: 22px;
	}

	.jovagro-catalogue-hero__visual,
	.jovagro-catalogue-hero__image {
		min-height: 175px;
	}

	.jovagro-catalogue-browser__layout {
		display: block;
	}

	.jovagro-filter-drawer {
		position: fixed;
		z-index: 99999;
		inset: 0;
		max-height: none;
		visibility: hidden;
		pointer-events: none;
	}

	.jovagro-filter-drawer.is-open {
		visibility: visible;
		pointer-events: auto;
	}

	.jovagro-filter-drawer__backdrop {
		position: absolute;
		inset: 0;
		display: block;
		width: 100%;
		height: 100%;
		padding: 0;
		background: rgba(6, 25, 18, 0.48);
		border: 0;
		backdrop-filter: blur(2px);
	}

	.jovagro-catalogue-filters {
		position: absolute;
		top: 0;
		right: 0;
		width: min(90vw, 390px);
		height: 100%;
		max-height: none;
		border: 0;
		border-radius: 20px 0 0 20px;
		transform: translateX(102%);
		transition: transform 220ms ease;
	}

	.jovagro-filter-drawer.is-open .jovagro-catalogue-filters {
		transform: translateX(0);
	}

	.jovagro-filter-drawer__close {
		display: grid;
		place-items: center;
		width: 36px;
		height: 36px;
		padding: 0;
		color: var(--jovagro-ink);
		background: #f4f7f4;
		border: 0;
		border-radius: 50%;
	}

	.jovagro-filter-drawer__close svg {
		width: 19px;
		height: 19px;
	}

	.jovagro-mobile-filter-button {
		display: inline-flex;
	}

	.jovagro-results-toolbar__count {
		font-size: 0.84rem;
	}
}

@media (max-width: 640px) {
	body.jovagro-product-archive .woocommerce-breadcrumb {
		width: min(100% - 28px, 1440px);
	}

	.jovagro-catalogue {
		padding: 10px 14px 48px;
	}

	.jovagro-catalogue-hero {
		min-height: 0;
		border-radius: 20px;
	}

	.jovagro-catalogue-hero__content {
		padding: 22px 18px 14px;
	}

	.jovagro-catalogue-hero__title {
		font-size: clamp(1.85rem, 9.5vw, 2.65rem);
	}

	.jovagro-catalogue-search {
		grid-template-columns: 18px minmax(0, 1fr);
		padding: 6px 14px;
		border-radius: 17px;
	}

	.jovagro-catalogue-search button {
		grid-column: 1 / -1;
		width: 100%;
	}

	.jovagro-catalogue-search-suggestions {
		align-items: flex-start;
		flex-direction: column;
	}

	.jovagro-catalogue-hero__visual,
	.jovagro-catalogue-hero__image {
		min-height: 145px;
	}

	.jovagro-catalogue-hero__visual {
		border-radius: 20px;
	}

	.jovagro-category-navigation {
		padding: 16px;
	}

	.jovagro-category-navigation__track {
		grid-auto-columns: minmax(180px, 78vw);
	}

	.jovagro-results-toolbar {
		align-items: flex-start;
		flex-direction: column;
	}

	.jovagro-results-toolbar__controls {
		justify-content: space-between;
		width: 100%;
	}

	.jovagro-results-toolbar__ordering {
		min-width: 0;
		flex: 1;
	}

	.jovagro-results-toolbar__ordering select {
		width: 100%;
		max-width: none;
	}

	body.jovagro-product-archive .jovagro-catalogue-results:not(.is-list-view) ul.products,
	body.jovagro-product-archive .jovagro-catalogue-results.is-grid-view ul.products,
	body.jovagro-product-archive .jovagro-catalogue-results ul.products.jovagro-products--grid {
		grid-template-columns: 1fr !important;
	}

	.jovagro-catalogue-results.is-list-view .jovagro-product-card__inner,
	.jovagro-catalogue-results ul.products.jovagro-products--list .jovagro-product-card__inner {
		display: flex;
	}

	.jovagro-product-card__actions,
	.jovagro-catalogue-results.is-list-view .jovagro-product-card__actions,
	.jovagro-catalogue-results ul.products.jovagro-products--list .jovagro-product-card__actions {
		grid-template-columns: 1fr;
	}

	.jovagro-catalogue-cta {
		grid-template-columns: 1fr;
		justify-items: start;
		padding: 22px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.jovagro-button,
	.jovagro-product-card__inner,
	.jovagro-product-card__image,
	.jovagro-category-card,
	.jovagro-search-suggestion,
	.jovagro-catalogue-filters,
	.jovagro-results-region {
		transition: none;
	}

	.jovagro-catalogue.is-ajax-loading .jovagro-catalogue-results-column::after {
		animation-duration: 1400ms;
	}
}

/* ========================================================================
 * FULL-WIDTH RESTORATION — retain the original JOVAGRO page shell and
 * breadcrumb treatment. Keep this block last so the redesign cannot box
 * the parent theme wrappers or replace the existing breadcrumb styling.
 * ======================================================================== */

/* Release the parent theme's boxed content wrapper on catalogue pages. */
body.jovagro-product-archive .page_content_wrap,
body.jovagro-product-archive .page_content_wrap > .content_wrap,
body.jovagro-product-archive .page_content_wrap .content_wrap,
body.jovagro-product-archive .page_content_wrap .content,
body.jovagro-product-archive .content_wrap > .content {
	width: 100% !important;
	max-width: none !important;
}

body.jovagro-product-archive .page_content_wrap > .content_wrap,
body.jovagro-product-archive .page_content_wrap .content_wrap {
	margin-right: 0 !important;
	margin-left: 0 !important;
	padding-right: 0 !important;
	padding-left: 0 !important;
}

body.jovagro-product-archive .page_content_wrap .content,
body.jovagro-product-archive .content_wrap > .content {
	float: none !important;
	margin-right: 0 !important;
	margin-left: 0 !important;
	padding-right: 0 !important;
	padding-left: 0 !important;
}

/* Restore the original full-width editorial breadcrumb bar. */
body.jovagro-product-archive .woocommerce-breadcrumb {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	box-sizing: border-box;
	width: auto !important;
	max-width: none !important;
	min-height: 48px;
	gap: 0;
	margin: 0 !important;
	padding: 12px clamp(18px, 2.6vw, 52px);
	color: #6e7d77;
	background: linear-gradient(90deg, #f6faf4 0%, #fbfdfb 55%, #f3f8ef 100%);
	border-top: 1px solid rgba(29, 93, 55, 0.06);
	border-bottom: 1px solid var(--jovagro-border);
	font-size: 0.79rem;
	font-weight: 650;
	line-height: 1.35;
}

body.jovagro-product-archive .woocommerce-breadcrumb-item {
	display: inline-flex;
	align-items: center;
}

body.jovagro-product-archive .woocommerce-breadcrumb a {
	color: var(--jovagro-green-dark);
	font-weight: 750;
	text-decoration: none;
	transition: color 160ms ease;
}

body.jovagro-product-archive .woocommerce-breadcrumb a:hover,
body.jovagro-product-archive .woocommerce-breadcrumb a:focus-visible {
	color: var(--jovagro-green);
}

body.jovagro-product-archive .woocommerce-breadcrumb-delimiter {
	display: inline-block;
	width: 7px;
	height: 7px;
	margin: 0 12px 0 10px;
	border-top: 1.5px solid rgba(29, 93, 55, 0.46);
	border-right: 1.5px solid rgba(29, 93, 55, 0.46);
	transform: rotate(45deg);
}

body.jovagro-product-archive .woocommerce-breadcrumb-delimiter::after,
body.jovagro-product-archive .woocommerce-breadcrumb-delimiter:after {
	display: none !important;
	content: none !important;
}

/* The catalogue uses the complete available page width with fluid gutters. */
body.jovagro-product-archive .jovagro-catalogue {
	box-sizing: border-box;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 20px clamp(18px, 2.6vw, 52px) 68px;
}

/* --------------------------------------------------------------------------
 * Seamless catalogue hero composition
 * Integrates the photography into the hero instead of presenting it as a
 * separate card, while preserving the existing content and responsive flow.
 * -------------------------------------------------------------------------- */
@media (min-width: 900px) {
	.jovagro-catalogue-hero {
		display: grid;
		grid-template-columns: 1fr;
		min-height: 300px;
		background:
			radial-gradient(circle at 10% 8%, rgba(99, 181, 31, 0.13), transparent 31%),
			linear-gradient(115deg, #fbfdf9 0%, #f2f8ee 43%, #edf6e7 100%);
	}

	.jovagro-catalogue-hero__content {
		z-index: 3;
		grid-column: 1;
		grid-row: 1;
		box-sizing: border-box;
		width: 59%;
		min-height: 300px;
		padding-right: clamp(42px, 4.6vw, 76px);
	}

	.jovagro-catalogue-hero__visual {
		position: absolute;
		z-index: 1;
		inset: 0 0 0 48%;
		min-height: 0;
		background: transparent;
		border-radius: 0;
		box-shadow: none;
	}

	.jovagro-catalogue-hero__visual::before {
		position: absolute;
		z-index: 2;
		inset: 0 auto 0 0;
		width: clamp(130px, 14vw, 250px);
		content: '';
		background: linear-gradient(
			90deg,
			#f1f8ed 0%,
			rgba(241, 248, 237, 0.96) 18%,
			rgba(241, 248, 237, 0.72) 48%,
			rgba(241, 248, 237, 0.28) 76%,
			rgba(241, 248, 237, 0) 100%
		);
		pointer-events: none;
	}

	.jovagro-catalogue-hero__image {
		width: 100%;
		height: 100%;
		min-height: 0;
		object-fit: cover;
		object-position: center center;
		transform: scale(1.015);
	}
}

@media (min-width: 900px) and (max-width: 1180px) {
	.jovagro-catalogue-hero__content {
		width: 63%;
		padding-right: 58px;
	}

	.jovagro-catalogue-hero__visual {
		left: 50%;
	}
}

@media (max-width: 899px) {
	.jovagro-catalogue-hero__visual {
		margin: 0 18px 18px;
		border-radius: 20px;
		box-shadow: none;
	}
}

@media (max-width: 640px) {
	.jovagro-catalogue-hero__visual {
		margin: 0 12px 12px;
		border-radius: 16px;
	}
}

/* ========================================================================
 * FINAL FILTER DENSITY POLISH
 * ======================================================================== */
body.jovagro-product-archive .jovagro-filter-terms {
	gap: 3px !important;
}

body.jovagro-product-archive .jovagro-filter-terms > li {
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	line-height: 1 !important;
}

body.jovagro-product-archive .jovagro-catalogue-filters .jovagro-filter-option {
	min-height: 27px !important;
	padding: 2px 0 !important;
	line-height: 1.18 !important;
}


/* ========================================================================
 * PRODUCT IMAGE SCALE POLISH
 * The supplied product photos include generous whitespace around the bottle.
 * Scale the image canvas inside the clipped stage so the product appears
 * larger without losing the centred alignment fixed in version 1.8.1.
 * ======================================================================== */
.jovagro-product-card__image-stage {
	--jovagro-product-image-scale: 1.18;
	--jovagro-product-image-hover-scale: 1.23;
	padding: clamp(12px, 1.4vw, 20px);
}

.jovagro-catalogue-mode .woocommerce ul.products li.product .jovagro-product-card__image,
.jovagro-catalogue-mode .woocommerce ul.products li.product .jovagro-product-card__image-stage img,
.jovagro-catalogue-mode ul.products li.product .jovagro-product-card__image,
.jovagro-catalogue-mode ul.products li.product .jovagro-product-card__image-stage img,
body.jovagro-product-archive .woocommerce ul.products li.product .jovagro-product-card__image,
body.jovagro-product-archive .woocommerce ul.products li.product .jovagro-product-card__image-stage img,
body.jovagro-product-archive ul.products li.product .jovagro-product-card__image,
body.jovagro-product-archive ul.products li.product .jovagro-product-card__image-stage img,
.jovagro-product-card__image,
.jovagro-product-card__image-stage img {
	transform: scale(var(--jovagro-product-image-scale, 1.18));
	transform-origin: 50% 50%;
}

.jovagro-product-card__inner:hover .jovagro-product-card__image,
.jovagro-product-card__inner:hover .jovagro-product-card__image-stage img {
	transform: scale(var(--jovagro-product-image-hover-scale, 1.23));
}

/* List cards need a stronger crop because their media area is much shorter. */
.jovagro-catalogue-results.is-list-view .jovagro-product-card__image-stage,
.jovagro-catalogue-results ul.products.jovagro-products--list .jovagro-product-card__image-stage {
	--jovagro-product-image-scale: 1.52;
	--jovagro-product-image-hover-scale: 1.58;
	padding: 8px;
}

/* Keep the list image comfortably sized once cards stack on small screens. */
@media (max-width: 767px) {
	.jovagro-catalogue-results.is-list-view .jovagro-product-card__image-stage,
	.jovagro-catalogue-results ul.products.jovagro-products--list .jovagro-product-card__image-stage {
		--jovagro-product-image-scale: 1.28;
		--jovagro-product-image-hover-scale: 1.33;
	}
}
