/* =========================================================================
   Single product — agrochemical catalogue
   Shares the token names used by agri-products.css so the two pages match.
   ====================================================================== */

.agri-single {
	--g-500: #00ac63;
	--g-600: #009255;
	--g-700: #067247;
	--g-900: #062b1d;
	--g-050: #e8f6ef;
	--g-100: #cdeade;

	--a-500: #f99d20;
	--a-600: #e2860c;
	--a-050: #fef2e2;

	--ink: #0d2a1f;
	--body: #45584f;
	--muted: #6f827a;
	--line: #dfe8e3;
	--line-soft: #eef3f0;
	--surface: #ffffff;
	--canvas: #f4f7f5;

	--r-card: 18px;
	--r-ctl: 10px;
	--shadow-2: 0 26px 60px -34px rgba(6, 43, 29, .5);
	--sticky-top: 28px;
	--ease: cubic-bezier(.22, .61, .36, 1);

	background: var(--canvas);
	color: var(--body);
	line-height: 1.65;
	display: block;
}

.agri-single *,
.agri-single *::before,
.agri-single *::after { box-sizing: border-box; }

.agri-single h1,
.agri-single h2,
.agri-single h3 { color: var(--ink); margin: 0; line-height: 1.2; letter-spacing: -.018em; }
.agri-single a { text-decoration: none; color: inherit; }
.agri-single ul, .agri-single ol { list-style: none; margin: 0; padding: 0; }
.agri-single img { max-width: 100%; height: auto; display: block; }
.agri-single :focus-visible { outline: 2px solid var(--g-500); outline-offset: 3px; border-radius: 4px; }

.agri-single__wrap {
	max-width: 1180px;
	margin: 0 auto;
	padding-left: clamp(18px, 4vw, 40px);
	padding-right: clamp(18px, 4vw, 40px);
}

/* ------------------------------------------------------------ Breadcrumbs */

.agri-single__crumbs {
	border-bottom: 1px solid var(--line);
	background: var(--surface);
}
.agri-single__crumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 5px 4px;
	padding-top: 14px;
	padding-bottom: 14px;
	font-size: .855rem;
	color: var(--muted);
}
.agri-single__crumbs li { display: flex; align-items: center; gap: 5px; }
.agri-single__crumbs li + li::before {
	content: "";
	width: 5px; height: 5px;
	border-right: 1.5px solid var(--line);
	border-top: 1.5px solid var(--line);
	transform: rotate(45deg);
}
.agri-single__crumbs a { transition: color .16s var(--ease); }
.agri-single__crumbs a:hover { color: var(--g-700); }
.agri-single__crumbs .is-current span { color: var(--ink); font-weight: 550; }

/* ================================================================ Masthead */

.agri-top {
	display: grid;
	grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
	gap: clamp(24px, 4vw, 56px);
	align-items: start;
	padding-top: clamp(26px, 4vw, 48px);
	padding-bottom: clamp(26px, 4vw, 44px);
}

/* One orchestrated page-load moment: the two halves settle in. */
.agri-media,
.agri-info { animation: agri-rise .55s var(--ease) both; }
.agri-info { animation-delay: .08s; }
@keyframes agri-rise {
	from { opacity: 0; transform: translateY(16px); }
}

/* Media -------------------------------------------------------------- */

.agri-media__sticky { position: sticky; top: var(--sticky-top); }

.agri-media__frame {
	position: relative;
	margin: 0;
	background: linear-gradient(158deg, #ffffff 0%, #eef6f1 100%);
	border: 1px solid var(--line);
	border-radius: var(--r-card);
	overflow: hidden;
	padding: clamp(20px, 3vw, 38px);
	display: grid;
	place-items: center;
	min-height: 320px;
}
.agri-media__frame::before {
	content: "";
	position: absolute;
	inset: auto -20% -55% -20%;
	height: 70%;
	background: radial-gradient(60% 100% at 50% 100%, rgba(0, 172, 99, .16), transparent 70%);
	pointer-events: none;
}

.agri-media__img {
	width: 100%;
	max-height: 460px;
	object-fit: contain;
	transition: transform .5s var(--ease);
}
.agri-media__frame:hover .agri-media__img { transform: scale(1.03); }
.agri-media__img.is-placeholder { opacity: .55; }

.agri-media__badge {
	position: absolute;
	top: 16px; left: 16px;
	z-index: 2;
	background: var(--a-050);
	border: 1px solid #f7dcb0;
	color: #7a4a04;
	font-size: .76rem;
	font-weight: 700;
	padding: 5px 12px;
	border-radius: 999px;
}

.agri-media__zoom {
	position: absolute;
	top: 14px; right: 14px;
	z-index: 2;
	width: 38px; height: 38px;
	border-radius: 50%;
	border: 1px solid var(--line);
	background: rgba(255, 255, 255, .9);
	color: var(--ink);
	display: grid;
	place-items: center;
	cursor: pointer;
	opacity: 0;
	transform: scale(.9);
	transition: opacity .22s var(--ease), transform .22s var(--ease), background-color .22s var(--ease);
	backdrop-filter: blur(4px);
}
.agri-media__zoom svg { width: 19px; height: 19px; }
.agri-media__frame:hover .agri-media__zoom,
.agri-media__zoom:focus-visible { opacity: 1; transform: scale(1); }
.agri-media__zoom:hover { background: #fff; color: var(--g-700); }

/* pixfort like + comment block, pinned to the image */
.agri-media__meta.product-meta-icons {
	position: absolute;
	left: 50%;
	bottom: 16px;
	transform: translateX(-50%);
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 6px 8px;
	background: rgba(255, 255, 255, .92);
	border: 1px solid var(--line);
	border-radius: 999px;
	box-shadow: 0 8px 22px -12px rgba(6, 43, 29, .45);
	backdrop-filter: blur(6px);
	white-space: nowrap;
}
.agri-media__meta .icon-box {
	display: inline-flex;
	align-items: center;
	padding: 4px 10px;
	border-radius: 999px;
	line-height: 1;
	font-size: .84rem;
	color: var(--body);
	transition: background-color .18s var(--ease), color .18s var(--ease);
}
.agri-media__meta .icon-box:hover { background: var(--g-050); color: var(--g-700); }
.agri-media__meta .icon-box a { display: inline-flex; align-items: center; color: inherit; }
.agri-media__meta svg { display: inline-block; vertical-align: middle; }
.agri-media__meta .pix-comment-count,
.agri-media__meta .pix-likes-count { font-weight: 700; font-size: .82rem; }
.agri-media__meta .pix-likes-box:hover svg path,
.agri-media__meta .pix-comments-box:hover svg path { fill: var(--g-500); }

/* Info column --------------------------------------------------------- */

.agri-info__cat {
	display: inline-block;
	background: var(--g-050);
	color: var(--g-700);
	font-size: .8rem;
	font-weight: 650;
	padding: 5px 12px;
	border-radius: 7px;
	transition: background-color .18s var(--ease);
}
.agri-info__cat:hover { background: var(--g-100); }

.agri-info__title {
	font-size: clamp(1.85rem, 3.6vw, 2.75rem);
	font-weight: 700;
	letter-spacing: -.03em;
	margin: 14px 0 0;
}

.agri-info__lead {
	font-size: 1.06rem;
	color: var(--body);
	margin-top: 12px;
	max-width: 62ch;
}
.agri-info__lead p { margin: 0 0 .6em; }
.agri-info__lead p:last-child { margin-bottom: 0; }

.agri-info__actives {
	margin: 14px 0 0;
	font-size: .95rem;
	color: var(--g-700);
	font-weight: 650;
	padding-left: 12px;
	border-left: 3px solid var(--g-500);
}

/* Key spec block ------------------------------------------------------ */

.agri-spec {
	margin: 26px 0 0;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-card);
	overflow: hidden;
}
.agri-spec__row {
	display: grid;
	grid-template-columns: 148px minmax(0, 1fr);
	gap: 16px;
	padding: 13px 18px;
	border-bottom: 1px solid var(--line-soft);
	font-size: .93rem;
}
.agri-spec__row:last-child { border-bottom: 0; }
.agri-spec dt { color: var(--muted); }
.agri-spec dd { margin: 0; color: var(--ink); font-weight: 550; }

/* Term chips ---------------------------------------------------------- */

.agri-facets { margin-top: 24px; display: grid; gap: 18px; }
.agri-facets__label {
	font-size: .88rem;
	font-weight: 650;
	color: var(--muted);
	margin-bottom: 9px;
}
.agri-terms { display: flex; flex-wrap: wrap; gap: 7px; }
.agri-terms a {
	display: inline-block;
	padding: 6px 13px;
	border-radius: 999px;
	font-size: .855rem;
	border: 1px solid var(--line);
	background: var(--surface);
	color: var(--body);
	transition: transform .18s var(--ease), border-color .18s var(--ease),
		background-color .18s var(--ease), color .18s var(--ease);
}
.agri-terms a:hover { transform: translateY(-2px); }
.agri-terms--crop a:hover { border-color: var(--g-500); background: var(--g-050); color: var(--g-700); }
.agri-terms--target a:hover { border-color: var(--a-500); background: var(--a-050); color: #7a4a04; }

/* Actions -------------------------------------------------------------- */

.agri-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }

.agri-single .agri-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 13px 24px;
	border-radius: var(--r-ctl);
	border: 1px solid transparent;
	background: none;
	font-size: .93rem;
	font-weight: 650;
	cursor: pointer;
	transition: background-color .18s var(--ease), border-color .18s var(--ease),
		color .18s var(--ease), transform .18s var(--ease);
}
.agri-single .agri-btn svg { width: 18px; height: 18px; }
.agri-single .agri-btn:active { transform: translateY(1px); }
.agri-single .agri-btn--solid { background: var(--g-500); color: #fff; }
.agri-single .agri-btn--solid:hover { background: var(--g-600); }
.agri-single .agri-btn--outline { border-color: var(--line); background: var(--surface); color: var(--ink); }
.agri-single .agri-btn--outline:hover { border-color: var(--g-500); color: var(--g-700); }

/* ============================================================= Section nav */

.agri-nav {
	position: sticky;
	top: 0;
	z-index: 20;
	background: rgba(255, 255, 255, .92);
	border-top: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	backdrop-filter: blur(10px);
}
.agri-nav ul {
	display: flex;
	gap: 4px;
	overflow-x: auto;
	scrollbar-width: none;
}
.agri-nav ul::-webkit-scrollbar { display: none; }
.agri-nav a {
	display: block;
	position: relative;
	padding: 15px 14px;
	font-size: .92rem;
	font-weight: 550;
	color: var(--muted);
	white-space: nowrap;
	transition: color .18s var(--ease);
}
.agri-nav a::after {
	content: "";
	position: absolute;
	left: 14px; right: 14px; bottom: 0;
	height: 2px;
	background: var(--g-500);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .28s var(--ease);
}
.agri-nav a:hover { color: var(--ink); }
.agri-nav a.is-active { color: var(--g-700); }
.agri-nav a.is-active::after { transform: scaleX(1); }

/* ==================================================================== Body */

.agri-body { padding-top: clamp(30px, 4vw, 50px); padding-bottom: 80px; }

.agri-section { padding-top: 12px; margin-bottom: clamp(34px, 4vw, 56px); scroll-margin-top: 96px; }
.agri-section:last-child { margin-bottom: 0; }

.agri-section__title {
	font-size: clamp(1.25rem, 2vw, 1.6rem);
	font-weight: 700;
	margin-bottom: 18px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--line);
	position: relative;
}
.agri-section__title::after {
	content: "";
	position: absolute;
	left: 0; bottom: -1px;
	width: 46px; height: 2px;
	background: var(--g-500);
}

/* Prose ---------------------------------------------------------------- */

.agri-prose {
	max-width: 74ch;
	font-size: 1.01rem;
	color: var(--body);
}
.agri-prose > * + * { margin-top: 1.1em; }
.agri-prose h2, .agri-prose h3, .agri-prose h4 { margin-top: 1.7em; color: var(--ink); }
.agri-prose h2 { font-size: 1.32rem; }
.agri-prose h3 { font-size: 1.14rem; }
.agri-prose a { color: var(--g-700); text-decoration: underline; text-underline-offset: 3px; }
.agri-prose a:hover { color: var(--a-600); }
.agri-prose ul, .agri-prose ol { padding-left: 1.3em; }
.agri-prose ul { list-style: none; padding-left: 0; }
.agri-prose ul li {
	position: relative;
	padding-left: 26px;
	margin-top: .5em;
}
.agri-prose ul li::before {
	content: "";
	position: absolute;
	left: 4px; top: .62em;
	width: 7px; height: 7px;
	border-radius: 2px;
	background: var(--g-500);
	transform: rotate(45deg);
}
.agri-prose ol { list-style: decimal; }
.agri-prose ol li { margin-top: .5em; padding-left: 4px; }
.agri-prose table {
	width: 100%;
	border-collapse: collapse;
	font-size: .93rem;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 10px;
	overflow: hidden;
}
.agri-prose th, .agri-prose td { padding: 11px 14px; border-bottom: 1px solid var(--line-soft); text-align: left; }
.agri-prose th { background: var(--g-050); color: var(--ink); font-weight: 650; }
.agri-prose blockquote {
	border-left: 3px solid var(--a-500);
	padding-left: 18px;
	color: var(--ink);
	font-style: normal;
}
.agri-prose img { border-radius: 12px; }

/* Technical details table ----------------------------------------------- */

.agri-table {
	margin: 0;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-card);
	overflow: hidden;
}
.agri-table__row {
	display: grid;
	grid-template-columns: minmax(150px, 240px) minmax(0, 1fr);
	gap: 18px;
	padding: 15px 20px;
	border-bottom: 1px solid var(--line-soft);
	transition: background-color .18s var(--ease);
}
.agri-table__row:last-child { border-bottom: 0; }
.agri-table__row:hover { background: #fbfdfc; }
.agri-table dt { color: var(--muted); font-size: .93rem; }
.agri-table dd { margin: 0; color: var(--ink); font-size: .96rem; }
.agri-table dd > *:first-child { margin-top: 0; }
.agri-table dd > *:last-child { margin-bottom: 0; }

/* Downloads -------------------------------------------------------------- */

.agri-files { display: grid; gap: 10px; }
.agri-files a {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 15px 18px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 14px;
	transition: border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.agri-files a:hover {
	border-color: var(--g-100);
	transform: translateY(-2px);
	box-shadow: 0 16px 32px -22px rgba(6, 43, 29, .5);
}
.agri-files__icon {
	width: 42px; height: 42px;
	flex: none;
	border-radius: 11px;
	background: var(--g-050);
	color: var(--g-700);
	display: grid;
	place-items: center;
}
.agri-files__icon svg { width: 21px; height: 21px; }
.agri-files__label { flex: 1; color: var(--ink); font-weight: 600; font-size: .97rem; }
.agri-files__action { color: var(--g-700); font-size: .87rem; font-weight: 650; }
.agri-files a:hover .agri-files__action { color: var(--a-600); }

/* Related ---------------------------------------------------------------- */

.agri-grid--related {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
	gap: 18px;
}

/* Comments --------------------------------------------------------------- */

.agri-section--comments {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--r-card);
	padding: clamp(20px, 3vw, 34px);
}
.agri-section--comments .comment-reply-title,
.agri-section--comments .comments-title { color: var(--ink); font-size: 1.28rem; margin-bottom: 14px; }
.agri-section--comments input[type="text"],
.agri-section--comments input[type="email"],
.agri-section--comments input[type="url"],
.agri-section--comments textarea {
	width: 100%;
	border: 1px solid var(--line);
	border-radius: var(--r-ctl);
	padding: 11px 14px;
	background: var(--canvas);
	color: var(--ink);
	font: inherit;
	transition: border-color .18s var(--ease), background-color .18s var(--ease);
}
.agri-section--comments input:focus,
.agri-section--comments textarea:focus { border-color: var(--g-500); background: #fff; outline: none; }
.agri-section--comments .submit,
.agri-section--comments input[type="submit"] {
	background: var(--g-500);
	color: #fff;
	border: 0;
	border-radius: var(--r-ctl);
	padding: 12px 26px;
	font-weight: 650;
	cursor: pointer;
	transition: background-color .18s var(--ease);
}
.agri-section--comments input[type="submit"]:hover { background: var(--g-600); }

/* ============================================================== Lightbox */

.agri-lightbox {
	position: fixed;
	inset: 0;
	z-index: 100000;
	background: rgba(6, 43, 29, .88);
	display: grid;
	place-items: center;
	padding: 5vmin;
	opacity: 0;
	transition: opacity .25s var(--ease);
	backdrop-filter: blur(4px);
}
.agri-lightbox[hidden] { display: none; }
.agri-lightbox.is-open { opacity: 1; }
.agri-lightbox img {
	max-width: 100%;
	max-height: 90vh;
	object-fit: contain;
	border-radius: 10px;
	transform: scale(.96);
	transition: transform .28s var(--ease);
	background: #fff;
}
.agri-lightbox.is-open img { transform: scale(1); }
.agri-lightbox__close {
	position: absolute;
	top: 20px; right: 20px;
	width: 44px; height: 44px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, .3);
	background: rgba(255, 255, 255, .12);
	color: #fff;
	display: grid;
	place-items: center;
	cursor: pointer;
	transition: background-color .18s var(--ease);
}
.agri-lightbox__close svg { width: 22px; height: 22px; }
.agri-lightbox__close:hover { background: rgba(255, 255, 255, .26); }

/* ============================================================ Responsive */

@media (max-width: 900px) {
	.agri-top { grid-template-columns: 1fr; }
	.agri-media__sticky { position: static; }
	.agri-media__frame { min-height: 0; }
	.agri-media__img { max-height: 360px; }
	.agri-media__zoom { opacity: 1; transform: none; }
}

@media (max-width: 560px) {
	.agri-spec__row { grid-template-columns: 1fr; gap: 3px; padding: 12px 15px; }
	.agri-table__row { grid-template-columns: 1fr; gap: 4px; }
	.agri-actions .agri-btn { width: 100%; }
	.agri-files a { padding: 13px 14px; gap: 11px; }
	.agri-files__action { display: none; }
	.agri-grid--related { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
	.agri-single *,
	.agri-single *::before,
	.agri-single *::after {
		animation-duration: .001ms !important;
		transition-duration: .001ms !important;
	}
}

/* ================================================================= Print */

@media print {
	.agri-nav,
	.agri-actions,
	.agri-media__zoom,
	.agri-media__meta,
	.agri-section--comments,
	#related,
	.agri-lightbox { display: none !important; }

	.agri-single { background: #fff; }
	.agri-top { grid-template-columns: 34% 1fr; gap: 20px; }
	.agri-media__sticky { position: static; }
	.agri-spec, .agri-table, .agri-media__frame { border-color: #ccc; box-shadow: none; }
	.agri-section { break-inside: avoid; }
	.agri-files a { border-color: #ccc; }
}