/**
 * Agronorte - Global Styles
 * Supplements theme.json design tokens with styles that can't be expressed there.
 * Visual style inspired by agronorteusados.com
 *
 * @package Agronorte
 * @since 1.0.0
 */

/* ─── Text Selection ───────────────────────────────────── */

::selection {
	background: var(--wp--preset--color--primary-light);
	color: var(--wp--preset--color--neutral-900);
}

::-moz-selection {
	background: var(--wp--preset--color--primary-light);
	color: var(--wp--preset--color--neutral-900);
}

/* ─── Text Wrapping ────────────────────────────────────── */
/* Balance headings (equal-length lines, no widows).       */
/* Pretty body copy (avoid single-word last lines).        */

h1, h2, h3, h4, h5, h6 {
	text-wrap: balance;
}

p, li, dd, figcaption, blockquote {
	text-wrap: pretty;
}

/* ─── View Toggle (shared grid/list button) ────────────── */

.agronorte-view-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border: none;
	border-radius: 6px;
	background: transparent;
	color: var(--wp--preset--color--neutral-400);
	cursor: pointer;
	transition: all var(--wp--custom--transition--fast, 0.15s);
}

.agronorte-view-btn:hover {
	color: var(--wp--preset--color--white);
}

.agronorte-view-btn.is-active {
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--primary);
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* ─── Arrow Icon ───────────────────────────────────────── */

.agronorte-arrow-icon {
	display: inline-block;
	vertical-align: middle;
	flex-shrink: 0;
}

/* ─── Base ──────────────────────────────────────────────── */

html.lenis,
html.lenis body {
	height: auto;
}

/* Kill the default mobile blue/cyan tap highlight on touch devices. */
html {
	-webkit-tap-highlight-color: transparent;
}

/* No underlines on links by default — we don't use that style.
   Specific places that need underline (e.g. legal CTA hover) declare
   text-decoration explicitly and override this reset. */
a {
	text-decoration: none;
}

/* ─── Page Transitions (Barba.js) ────────────────────────── */
/* Fade transition handled by page-transitions.js.
   Header and footer persist across pages — never re-rendered. */

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

/* ─── Global subtitle/description max-width ─────────────── */
/* Single source of truth for bajada width across the site.   */
/* Override locally only for hero subtitles or card contexts. */
:root {
	--agronorte-bajada-max-width: 640px;
	/* Unified horizontal layout padding for body-aligned sections (header/footer). */
	/* 80px (64 + 16) for large desktop, using spacing tokens only. */
	--agronorte-layout-inline: calc(var(--wp--preset--spacing--80) + var(--wp--preset--spacing--40));
}

@media (min-width: 1025px) and (max-width: 1200px) {
	:root {
		/* 60px using spacing tokens only: 48px + 12px */
		--agronorte-layout-inline: calc(var(--wp--preset--spacing--70) + var(--wp--preset--spacing--30));
	}
}

@media (max-width: 1024px) {
	:root {
		--agronorte-layout-inline: var(--wp--preset--spacing--40);
	}
}

[class*="__desc"],
[class*="__subtitle"] {
	max-width: var(--agronorte-bajada-max-width);
}

img {
	max-width: 100%;
	height: auto;
}

/* ─── GSAP animation: hide before JS setup to prevent flicker ── */

.gsap-ready [data-animate] {
	opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
	.gsap-ready [data-animate] {
		opacity: 1;
	}
}

/* ─── Focus Styles ──────────────────────────────────────── */

:focus-visible {
	outline: 2px solid var(--wp--preset--color--primary);
	outline-offset: 2px;
}

/* ─── Screen Reader Only ────────────────────────────────── */

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}

/* ─── Skip to content (a11y) ────────────────────────────── */

.skip-link {
	position: absolute;
	top: -100px;
	left: 12px;
	z-index: 100000;
	padding: 12px 18px;
	background: var(--wp--preset--color--primary);
	color: #fff;
	font-family: var(--wp--preset--font-family--titillium-web, sans-serif);
	font-weight: 600;
	text-decoration: none;
	border-radius: 8px;
	transition: top 0.15s ease;
}

.skip-link:focus {
	top: 12px;
	outline: 2px solid var(--wp--preset--color--secondary);
	outline-offset: 2px;
}

/* ─── Green Top Bar ─────────────────────────────────────── */

.agronorte-top-bar.wp-block-group {
	background-color: var(--wp--preset--color--primary);
	height: 4px;
	min-height: 4px;
	max-height: 4px;
	width: 100%;
	position: relative;
	overflow: hidden;
	padding: 0;
	margin: 0;
	gap: 0;
}

.agronorte-top-bar__progress {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 0;
	background-color: var(--wp--preset--color--secondary);
	transition: width 0.3s ease;
	will-change: width;
}

.agronorte-top-bar__progress.is-loading {
	width: 85%;
	transition: width 8s cubic-bezier(0.1, 0.5, 0.3, 1);
}

.agronorte-top-bar__progress.is-done {
	width: 100%;
	transition: width 0.2s ease;
}

/* ─── Header ────────────────────────────────────────────── */

/* Ensure the template-part wrapper doesn't break sticky positioning */
.wp-block-template-part:has(.site-header) {
	position: sticky;
	top: 0;
	z-index: 100;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background-color: var(--wp--preset--color--white);
	box-shadow: none;
	transition: background-color 0.3s ease, box-shadow 0.3s ease;
	min-height: 80px;
}

/* Show shadow when scrolled (class added by header-scroll.js) */
.site-header.is-scrolled {
	background-color: var(--wp--preset--color--white);
	box-shadow: var(--wp--custom--shadow--small);
}

/* Home only: transparent header at top */
body.home .site-header:not(.is-scrolled) {
	background-color: transparent;
}

/* Full-bleed header over root padding (FSE pages only — inside .wp-site-blocks) */
.wp-site-blocks > .wp-block-template-part:has(.site-header),
.wp-site-blocks > .site-header.wp-block-group {
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin-left: calc(-1 * var(--agronorte-layout-inline));
	margin-right: calc(-1 * var(--agronorte-layout-inline));
	width: auto;
	max-width: none;
}

/* Flex layout utilities (not always generated by WP on PHP template pages) */
.is-layout-flex.is-content-justification-space-between {
	justify-content: space-between;
}

.is-layout-flex.is-nowrap {
	flex-wrap: nowrap;
}

.is-layout-flex.is-content-justification-right {
	justify-content: flex-end;
}

/* Kill FSE block gaps inside header */
.site-header.is-layout-flow > * + * {
	margin-block-start: 0 !important;
}

/* Header inner padding handled by inline styles + mobile override on .agronorte-header-inner */

/* FSE nav: base link style (Host Grotesk Medium 14px, var(--wp--preset--color--neutral-700)) */
.site-header .wp-block-navigation-item__content {
	position: relative;
	padding-bottom: 6px;
	padding-top: 4px;
	font-family: var(--wp--preset--font-family--host-grotesk);
	font-weight: 500;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--neutral-700);
}

.site-header .wp-block-navigation-item__content::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 0;
	height: 2px;
	background-color: var(--wp--preset--color--secondary);
	transition: width var(--wp--custom--transition--normal);
}

.site-header .wp-block-navigation-item__content:hover::after {
	width: 100%;
}

/* FSE nav: active state (SemiBold + green + yellow underline) */
.site-header .wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content,
.site-header .wp-block-navigation-item a[aria-current="page"] {
	color: var(--wp--preset--color--primary);
	font-weight: 600;
}

.site-header .wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content::after,
.site-header .wp-block-navigation-item a[aria-current="page"]::after {
	width: 100%;
	background-color: var(--wp--preset--color--secondary);
}

.site-header .wp-block-navigation {
	gap: 36px;
}

/* ─── Navigation Submenu Dropdown ──────────────────────── */

.site-header .wp-block-navigation-submenu {
	position: relative;
}

.site-header .wp-block-navigation-submenu__toggle {
	background: none;
	border: none;
	padding: 0;
	margin-left: 4px;
	cursor: pointer;
	color: inherit;
}

.site-header .wp-block-navigation-submenu .wp-block-navigation__submenu-icon {
	display: none;
}

.site-header .wp-block-navigation__submenu-container {
	display: none !important;
}

.site-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	display: block;
	padding: 10px 20px;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--neutral-700);
	text-decoration: none;
	white-space: nowrap;
}

.site-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content::after {
	display: none;
}

.site-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
	background-color: var(--wp--preset--color--neutral-50);
	color: var(--wp--preset--color--primary);
}

/* ─── Header Logo ───────────────────────────────────────── */

.site-header .custom-logo-link img,
.site-header .wp-block-site-logo img {
	height: auto;
	width: 160px;
	max-width: 160px;
	transition: opacity 0.2s ease;
}

.site-header .custom-logo-link:hover img,
.site-header .wp-block-site-logo a:hover img {
	opacity: 0.7;
}

.agronorte-footer-logo img {
	transition: opacity 0.2s ease;
}

.agronorte-footer-logo a:hover img {
	opacity: 0.7;
	object-fit: contain;
}

/* ─── Header Search ─────────────────────────────────────── */

.agronorte-header-search {
	display: flex;
	align-items: center;
	position: relative;
}

.agronorte-header-search .agronorte-search-input {
	width: 320px;
	padding: 10px 40px 10px 16px;
	border: 1px solid rgba(209, 209, 209, 0.4);
	border-radius: var(--wp--custom--border-radius--small);
	font-size: var(--wp--preset--font-size--small);
	font-family: var(--wp--preset--font-family--host-grotesk);
	background: transparent;
	color: var(--wp--preset--color--neutral-700);
	transition: all var(--wp--custom--transition--normal);
}

.agronorte-header-search .agronorte-search-input::placeholder {
	color: var(--wp--preset--color--neutral-400);
}

.agronorte-header-search .agronorte-search-input:focus {
	outline: none;
	border-color: var(--wp--preset--color--primary);
	background: var(--wp--preset--color--white);
	width: 360px;
	box-shadow: 0 0 0 3px rgba(54, 124, 43, 0.1);
}

.agronorte-header-search .agronorte-search-btn {
	position: absolute;
	right: 4px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	padding: 6px;
	color: var(--wp--preset--color--neutral-400);
	cursor: pointer;
	display: flex;
	align-items: center;
	transition: color var(--wp--custom--transition--fast);
}

.agronorte-header-search .agronorte-search-btn:hover {
	color: var(--wp--preset--color--primary);
}

/* FSE block search in header */
.site-header .wp-block-search {
	margin: 0;
}

.site-header .wp-block-search__inside-wrapper {
	border: 1px solid rgba(209, 209, 209, 0.4);
	border-radius: var(--wp--custom--border-radius--small);
	background: transparent;
	transition: border-color var(--wp--custom--transition--normal);
}

/* Focus on the WRAPPER when the input is focused — keeps icon inside the ring */
.site-header .wp-block-search__inside-wrapper:focus-within {
	border-color: var(--wp--preset--color--primary);
}

.site-header .wp-block-search__input {
	font-size: var(--wp--preset--font-size--small);
	font-family: var(--wp--preset--font-family--host-grotesk);
	border: none;
	background: transparent;
	padding: 10px 16px;
	color: var(--wp--preset--color--neutral-700);
}

/* Remove default focus ring from the input itself — wrapper handles it */
.site-header .wp-block-search__input:focus {
	outline: none;
	box-shadow: none;
}

/* Hide browser-native clear (×) button on search input */
.site-header .wp-block-search__input::-webkit-search-cancel-button,
.site-header .wp-block-search__input::-webkit-search-decoration {
	-webkit-appearance: none;
	appearance: none;
	display: none;
}

.site-header .wp-block-search__input::placeholder {
	color: var(--wp--preset--color--neutral-400);
}

.site-header .wp-block-search__button {
	background: none;
	border: none;
	padding: 6px 10px;
	color: var(--wp--preset--color--neutral-400);
}

.site-header .wp-block-search__button:hover {
	color: var(--wp--preset--color--primary);
}

/* ─── Mobile Navigation ─────────────────────────────────── */

.menu-toggle {
	display: none;
	background: none;
	border: none;
	padding: var(--wp--preset--spacing--20);
	cursor: pointer;
	color: var(--wp--preset--color--neutral-800);
}

.menu-toggle svg {
	width: 24px;
	height: 24px;
}

@media (max-width: 768px) {
	.menu-toggle {
		display: flex;
		align-items: center;
	}

	.site-header .wp-block-navigation__responsive-container:not(.is-menu-open) {
		display: none;
	}

	/* Mobile: let the header collapse to its content height (logo + trigger).
	   The 80px floor is only needed in desktop where the search input lives in
	   the bar. */
	.site-header {
		min-height: 0;
	}

	.agronorte-header-inner {
		padding-left: var(--agronorte-layout-inline) !important;
		padding-right: var(--agronorte-layout-inline) !important;
	}

	.agronorte-header-search .agronorte-search-input {
		width: 140px;
	}

	.agronorte-header-search .agronorte-search-input:focus {
		width: 180px;
	}

	.site-header .wp-block-search__inside-wrapper {
		max-width: 180px;
	}
}

/* ─── Section Spacing ───────────────────────────────────── */

.wp-block-group + .wp-block-group,
.wp-block-columns + .wp-block-group,
.wp-block-group + .wp-block-columns {
	margin-top: var(--wp--preset--spacing--90);
}

/* ─── Footer ────────────────────────────────────────────── */

.site-footer {
	margin-top: 0;
}

/* Footer full-bleed (edge-to-edge dark bg) */
.wp-site-blocks > .wp-block-template-part:has(.site-footer),
.wp-site-blocks > .site-footer.wp-block-group {
	padding-left: 0 !important;
	padding-right: 0 !important;
	margin-left: calc(-1 * var(--agronorte-layout-inline));
	margin-right: calc(-1 * var(--agronorte-layout-inline));
	width: auto;
	max-width: none;
}

/* Match footer horizontal padding to global body rhythm. */
.site-footer.wp-block-group.has-background {
	padding: 1.25em var(--agronorte-layout-inline) !important;
}

@media (max-width: 768px) {
	.site-footer.wp-block-group.has-background {
		padding: 0 var(--agronorte-layout-inline) !important;
	}
}

@media (min-width: 769px) and (max-width: 1024px) {
	.site-footer.wp-block-group.has-background {
		padding: 0 var(--agronorte-layout-inline) !important;
	}
}

.site-footer a {
	color: var(--wp--preset--color--neutral-400);
	text-decoration: none;
	transition: color var(--wp--custom--transition--fast);
}

.site-footer a:hover {
	color: var(--wp--preset--color--white);
}

/* Footer headings */
.site-footer .footer-heading {
	font-family: var(--wp--preset--font-family--host-grotesk);
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.66px;
	color: var(--wp--preset--color--white);
	margin: 0 0 20px;
	text-align: left;
}

/* Footer right side — force left alignment */
.site-footer .wp-block-column {
	text-align: left;
}

/* Footer link columns — force vertical stacking + left align */
.site-footer .footer-links,
.site-footer .footer-info {
	flex-direction: column !important;
	align-items: flex-start !important;
}

.site-footer .footer-links {
	gap: 14px !important;
}

.site-footer .footer-links p {
	margin: 0;
	font-family: var(--wp--preset--font-family--host-grotesk);
	font-size: 14px;
	font-weight: 400;
	color: var(--wp--preset--color--neutral-400);
}

/* Footer info (address, contact) */
.site-footer .footer-info {
	gap: 16px !important;
}

.site-footer .footer-info p {
	margin: 0;
	font-family: var(--wp--preset--font-family--host-grotesk);
	font-size: 12px;
	font-weight: 400;
	color: var(--wp--preset--color--neutral-400);
	line-height: 1.5;
}

/* Footer social icons */
.site-footer .footer-social {
	gap: 16px !important;
	margin-top: 0;
}

.site-footer .footer-social p {
	margin: 0;
	line-height: 1;
}

.site-footer .footer-social a {
	color: var(--wp--preset--color--neutral-400);
	display: flex;
	align-items: center;
}

.site-footer .footer-social a:hover {
	color: var(--wp--preset--color--white);
}

/* Footer CTA pill button */
.site-footer .footer-cta-pill a {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 14px 24px;
	background-color: var(--wp--preset--color--secondary);
	border-radius: var(--wp--custom--border-radius--small);
	font-family: var(--wp--preset--font-family--host-grotesk);
	font-size: 13px;
	font-weight: 600;
	color: var(--wp--preset--color--neutral-900);
	text-decoration: none;
	transition: filter 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-footer .footer-cta-pill a:hover {
	filter: brightness(1.05);
}

.site-footer .footer-cta-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	background-color: var(--wp--preset--color--neutral-900);
	color: var(--wp--preset--color--secondary);
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-footer .footer-cta-pill a:hover .footer-cta-arrow {
	transform: translateX(4px);
}

/* Footer bottom bar — no border per Figma. Also neutralize the global
   "wp-block-columns + wp-block-group" 96px margin so the legal row sits
   close to the link grid. */
.site-footer .footer-bottom {
	border-top: none !important;
	margin-top: 0;
}

/* ─── Email Obfuscator ──────────────────────────────────── */

.agronorte-email-obf {
	cursor: pointer;
	color: inherit;
	text-decoration: none;
	transition: color var(--wp--custom--transition--fast);
}

.agronorte-email-obf:hover {
	color: var(--wp--preset--color--white);
}

.agronorte-email-obf:focus-visible {
	outline: 2px solid var(--wp--preset--color--secondary);
	outline-offset: 2px;
	border-radius: 2px;
}

/* ─── Toast Notification ────────────────────────────────── */

.agronorte-toast {
	position: fixed;
	bottom: 32px;
	left: 50%;
	transform: translateX(-50%) translateY(20px);
	background: var(--wp--preset--color--neutral-900);
	color: var(--wp--preset--color--white);
	padding: 12px 24px;
	border-radius: var(--wp--custom--border-radius--small);
	font-family: var(--wp--preset--font-family--host-grotesk);
	font-size: 14px;
	font-weight: 500;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
	z-index: 10000;
	opacity: 0;
	pointer-events: none;
	white-space: nowrap;
	max-width: calc(100vw - 32px);
	transition: opacity var(--wp--custom--transition--normal), transform var(--wp--custom--transition--normal);
}

.agronorte-toast.is-visible {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

.site-footer .footer-copyright,
.site-footer .footer-legal,
.site-footer .footer-credit {
	font-family: var(--wp--preset--font-family--host-grotesk);
	font-size: 12px;
	font-weight: 400;
	color: #595959;
	margin: 0;
}

.site-footer .footer-legal a,
.site-footer .footer-credit a {
	color: #595959;
}

.site-footer .footer-legal a:hover,
.site-footer .footer-credit a:hover {
	color: var(--wp--preset--color--neutral-400);
}

/* Footer brand column — tagline 40px like Figma */
.site-footer .footer-brand .has-titillium-font-family {
	font-weight: 400;
	font-size: 2.5rem !important;
	line-height: 1.3;
}

@media (min-width: 1024px) and (max-width: 1200px) {
	/* Start exactly where mobile/tablet tops out (1.75rem) to avoid a jump
	   at 1023 -> 1024, then scale up smoothly in this lower-desktop band. */
	.site-footer .footer-brand .has-titillium-font-family {
		font-size: clamp(1.75rem, 0.9rem + 1.35vw, 2.25rem) !important;
	}
}

@media (min-width: 1201px) and (max-width: 1440px) {
	.site-footer .footer-brand .has-titillium-font-family {
		font-size: clamp(2.25rem, 1.55rem + 0.8vw, 2.5rem) !important;
	}
}

/* Outer footer columns: justify brand (left) and links (right) to the sides */
.site-footer > .agronorte-footer-inner > .wp-block-columns:first-of-type {
	display: flex !important;
	align-items: flex-start !important;
}

@media (min-width: 1024px) {
	.site-footer > .agronorte-footer-inner > .wp-block-columns:first-of-type {
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		justify-content: space-between !important;
		gap: 0 !important;
	}

	/* Brand column: fixed width on desktop for 3-line tagline */
	.site-footer .footer-brand {
		flex: 0 0 480px !important;
		max-width: 480px !important;
	}

	/* Links column: auto-width, pushed to the right by space-between */
	.site-footer > .agronorte-footer-inner > .wp-block-columns:first-of-type > .wp-block-column:not(.footer-brand) {
		flex: 0 0 auto !important;
		width: auto !important;
		max-width: none !important;
	}
}

@media (min-width: 1024px) and (max-width: 1200px) {
	/* Keep footer top row fluid in lower-desktop widths so the brand tagline
	   and links column don't collide. */
	.site-footer > .agronorte-footer-inner > .wp-block-columns:first-of-type {
		gap: var(--wp--preset--spacing--70) !important;
	}

	.site-footer .footer-brand {
		flex: 0 1 clamp(360px, 38vw, 440px) !important;
		max-width: clamp(360px, 38vw, 440px) !important;
	}

	.site-footer > .agronorte-footer-inner > .wp-block-columns:first-of-type > .wp-block-column:not(.footer-brand) {
		flex: 1 1 auto !important;
		min-width: 0;
	}
}

@media (max-width: 1023px) {
	/* Mobile: stack brand on top, links below, full width */
	.site-footer > .agronorte-footer-inner > .wp-block-columns:first-of-type {
		flex-direction: column !important;
		gap: 48px !important;
	}

	.site-footer .footer-brand,
	.site-footer > .agronorte-footer-inner > .wp-block-columns:first-of-type > .wp-block-column {
		flex: 0 0 auto !important;
		width: 100% !important;
		max-width: 100% !important;
	}

	/* Smaller tagline on mobile so it doesn't overflow */
	.site-footer .footer-brand .has-titillium-font-family {
		font-size: clamp(1.375rem, 5vw, 1.75rem) !important;
	}
}

/* Tablet (769-1023): smaller header padding than desktop (80px inline)
   but larger than mobile (20px from the max-width: 768px block). */
@media (min-width: 769px) and (max-width: 1023px) {
	.agronorte-header-inner {
		padding-left: var(--agronorte-layout-inline) !important;
		padding-right: var(--agronorte-layout-inline) !important;
	}
}

@media (min-width: 1025px) and (max-width: 1200px) {
	/* Force nav wrapper to the same body inline padding in this band where
	   template inline styles previously kept it wider. */
	.agronorte-header-inner {
		padding-left: var(--agronorte-layout-inline) !important;
		padding-right: var(--agronorte-layout-inline) !important;
	}
}

/* Keep the hamburger aligned with desktop side rhythm in the
   769-1022 transition band. */
@media (min-width: 769px) and (max-width: 1022px) {
	.agronorte-mobile-trigger {
		right: 40px;
	}
}

/* Footer link sections — CSS grid replaces nested wp-block-columns so the
   6 sections flow as 3×2 on desktop, 2×3 on mobile (Figma layout). */
.site-footer .footer-links-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 48px 32px;
	align-items: start;
}

/* Neutralize the global "wp-block-group + wp-block-group" 96px margin
   rule so grid cells align to the top of their row instead of stacking
   with extra margin between siblings. */
.site-footer .footer-links-grid > .footer-col {
	margin-top: 0;
	min-width: 0;
}

/* Footer responsive */
@media (max-width: 1024px) {
	.site-footer .wp-block-columns[style*="gap:240px"] {
		gap: 64px !important;
	}
}

@media (max-width: 768px) {
	.site-footer .wp-block-columns[style*="gap:240px"] {
		flex-direction: column !important;
		gap: 48px !important;
	}

	.site-footer .wp-block-columns[style*="padding-top:160px"] {
		padding-top: 56px !important;
		padding-bottom: 0 !important;
	}

	.site-footer .footer-links-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 32px 12px;
	}

	.site-footer .footer-bottom {
		flex-direction: column !important;
		align-items: flex-start !important;
		gap: 8px;
		text-align: left;
		padding-top: 48px !important;
		padding-bottom: 40px !important;
	}
}

/* ─── John Floating Button (WhatsApp) ───────────────────── */

.agronorte-john-float {
	position: fixed;
	bottom: 0;
	right: 28px;
	z-index: 999;
	width: 100px;
	background: var(--wp--preset--color--primary-light);
	border-radius: 12px 12px 0 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-decoration: none;
	padding: 8px 0 0;
	box-shadow: none;
	transition: bottom 0.3s ease, transform 0.3s ease;
	overflow: hidden;
}

.agronorte-john-float.is-at-footer {
	bottom: -68px;
}

.agronorte-john-float.is-at-footer:hover {
	transform: translateY(-68px);
}

.agronorte-john-float__label {
	font-family: var(--wp--preset--font-family--host-grotesk);
	font-size: 10px;
	font-weight: 600;
	color: var(--wp--preset--color--neutral-900);
	text-align: center;
	line-height: 1.2;
	white-space: nowrap;
	position: relative;
	z-index: 2;
}

.agronorte-john-float__img {
	width: 77px;
	height: 77px;
	object-fit: contain;
	margin-top: 2px;
	margin-bottom: -8px;
	pointer-events: none;
	position: relative;
	z-index: 1;
	transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.agronorte-john-float:hover .agronorte-john-float__img {
	transform: translateY(-4px);
}

/* Mobile: align John with the right edge of the hamburger trigger and
   shrink the whole box by ~20% so it doesn't dominate the bottom-right. */
@media (max-width: 768px) {
	.agronorte-john-float {
		right: 12px;
		width: 80px;
	}

	.agronorte-john-float.is-at-footer {
		bottom: -56px;
	}

	.agronorte-john-float.is-at-footer:hover {
		transform: translateY(-56px);
	}

	.agronorte-john-float__label {
		font-size: 9px;
	}

	.agronorte-john-float__img {
		width: 62px;
		height: 62px;
		margin-bottom: -6px;
	}
}

/* ─── Breadcrumbs ───────────────────────────────────────── */

.woocommerce-breadcrumb {
	font-family: var(--wp--preset--font-family--host-grotesk);
	font-size: 11px;
	font-weight: 500;
	color: var(--wp--preset--color--neutral-400);
	padding: var(--wp--preset--spacing--40) 0;
}

.woocommerce-breadcrumb a {
	color: var(--wp--preset--color--neutral-500);
	text-decoration: none;
}

.woocommerce-breadcrumb a:hover {
	color: var(--wp--preset--color--primary);
}

.breadcrumb-separator {
	margin: 0 var(--wp--preset--spacing--20);
	color: var(--wp--preset--color--neutral-300);
}

/* ─── Buttons ───────────────────────────────────────────── */

.agronorte-btn-whatsapp {
	background-color: #25D366 !important;
	color: var(--wp--preset--color--white) !important;
	border: none !important;
	padding: 14px 28px !important;
	border-radius: var(--wp--custom--border-radius--small) !important;
	font-family: var(--wp--preset--font-family--host-grotesk);
	font-weight: 600 !important;
	font-size: var(--wp--preset--font-size--medium) !important;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: var(--wp--preset--spacing--20);
	transition: all var(--wp--custom--transition--fast);
}

.agronorte-btn-whatsapp:hover {
	background-color: #20BD5C !important;
	box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.agronorte-btn-deere {
	background-color: transparent !important;
	color: var(--wp--preset--color--primary) !important;
	border: 2px solid var(--wp--preset--color--primary) !important;
	padding: 12px 28px !important;
	border-radius: var(--wp--custom--border-radius--small) !important;
	font-family: var(--wp--preset--font-family--host-grotesk);
	font-weight: 600 !important;
	font-size: var(--wp--preset--font-size--medium) !important;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: var(--wp--preset--spacing--20);
	transition: all var(--wp--custom--transition--fast);
}

.agronorte-btn-deere:hover {
	background-color: var(--wp--preset--color--primary) !important;
	color: var(--wp--preset--color--white) !important;
	box-shadow: 0 4px 12px rgba(54, 124, 43, 0.25);
}

.agronorte-product-ctas {
	display: flex;
	flex-wrap: wrap;
	gap: var(--wp--preset--spacing--30);
	margin-top: var(--wp--preset--spacing--40);
}

/* Primary CTA: Solicitar cotización */
.agronorte-btn-cotizar {
	background-color: var(--wp--preset--color--primary) !important;
	color: var(--wp--preset--color--white) !important;
	border: none !important;
	padding: 14px 32px !important;
	border-radius: var(--wp--custom--border-radius--small) !important;
	font-family: var(--wp--preset--font-family--host-grotesk);
	font-weight: 600 !important;
	font-size: var(--wp--preset--font-size--medium) !important;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: var(--wp--preset--spacing--20);
	transition: all var(--wp--custom--transition--fast);
}

.agronorte-btn-cotizar:hover {
	background-color: var(--wp--preset--color--secondary) !important;
	color: var(--wp--preset--color--neutral-900) !important;
	box-shadow: 0 4px 12px rgba(54, 124, 43, 0.25);
}

/* Secondary link: Descargar ficha técnica */
.agronorte-btn-ficha {
	background-color: transparent !important;
	color: var(--wp--preset--color--neutral-600) !important;
	border: 1px solid var(--wp--preset--color--neutral-300) !important;
	padding: 12px 24px !important;
	border-radius: var(--wp--custom--border-radius--small) !important;
	font-family: var(--wp--preset--font-family--host-grotesk);
	font-weight: 500 !important;
	font-size: var(--wp--preset--font-size--small) !important;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: var(--wp--preset--spacing--20);
	transition: all var(--wp--custom--transition--fast);
}

.agronorte-btn-ficha:hover {
	border-color: var(--wp--preset--color--primary) !important;
	color: var(--wp--preset--color--primary) !important;
	background-color: var(--wp--preset--color--primary-light) !important;
}

.agronorte-btn-ficha svg {
	flex-shrink: 0;
}

/* ─── WooCommerce Archive Header ────────────────────────── */

.woocommerce-products-header {
	margin-bottom: var(--wp--preset--spacing--60);
}

.woocommerce-products-header__title {
	font-size: var(--wp--preset--font-size--xx-large);
	margin-bottom: var(--wp--preset--spacing--20);
}

.woocommerce-result-count,
.woocommerce-ordering {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--neutral-500);
}

/* ─── Product Search Form (sidebar) ─────────────────────── */

.woocommerce-product-search {
	display: flex;
	position: relative;
}

.woocommerce-product-search input[type="search"] {
	width: 100%;
	padding: 10px 36px 10px 14px;
	border: 1px solid var(--wp--preset--color--neutral-200);
	border-radius: var(--wp--custom--border-radius--small);
	font-size: var(--wp--preset--font-size--small);
	font-family: var(--wp--preset--font-family--host-grotesk);
	background: var(--wp--preset--color--neutral-50);
	transition: all var(--wp--custom--transition--normal);
}

.woocommerce-product-search input[type="search"]:focus {
	outline: none;
	border-color: var(--wp--preset--color--primary);
	background: var(--wp--preset--color--white);
	box-shadow: 0 0 0 3px rgba(54, 124, 43, 0.1);
}

.woocommerce-product-search button {
	position: absolute;
	right: 4px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	padding: 6px;
	color: var(--wp--preset--color--neutral-400);
	cursor: pointer;
	font-size: 0;
	transition: color var(--wp--custom--transition--fast);
}

.woocommerce-product-search button:hover {
	color: var(--wp--preset--color--primary);
}

/* (footer responsive moved to footer section above) */

/* ─── Animations ────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}

/* ─── Custom Select Component ──────────────────────────── */

.agronorte-select {
	position: relative;
	display: inline-block;
	min-width: 240px;
}

.agronorte-select__trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 10px 14px;
	background-color: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--neutral-200);
	border-radius: var(--wp--custom--border-radius--small);
	font-family: var(--wp--preset--font-family--host-grotesk);
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--neutral-700);
	cursor: pointer;
	transition: all var(--wp--custom--transition--normal);
	gap: var(--wp--preset--spacing--20);
}

.agronorte-select__trigger:hover {
	border-color: var(--wp--preset--color--neutral-300);
	box-shadow: none;
}

.agronorte-select__trigger:focus-visible {
	outline: none;
	border-color: var(--wp--preset--color--primary);
}

.agronorte-select.is-open .agronorte-select__trigger {
	border-color: var(--wp--preset--color--neutral-300);
	box-shadow: none;
}

.agronorte-select__label {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.agronorte-select__arrow {
	display: flex;
	align-items: center;
	color: var(--wp--preset--color--neutral-400);
	transition: transform var(--wp--custom--transition--fast);
	flex-shrink: 0;
}

.agronorte-select.is-open .agronorte-select__arrow {
	transform: rotate(180deg);
	color: var(--wp--preset--color--primary);
}

.agronorte-select__options {
	list-style: none;
	margin: 0;
	padding: var(--wp--preset--spacing--10) 0;
	max-height: 280px;
	overflow-y: auto;
}

@keyframes agronorte-dropdown-in {
	from {
		opacity: 0;
		transform: translateY(-8px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.agronorte-select__option {
	padding: 10px 14px;
	font-family: var(--wp--preset--font-family--host-grotesk);
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--neutral-700);
	cursor: pointer;
	transition: all var(--wp--custom--transition--fast);
}

.agronorte-select__option:hover,
.agronorte-select__option:focus {
	background-color: var(--wp--preset--color--primary-light);
	color: var(--wp--preset--color--primary);
	outline: none;
}

.agronorte-select__option.is-selected {
	color: var(--wp--preset--color--primary);
	font-weight: 600;
	background-color: var(--wp--preset--color--primary-light);
}

/* Group label (rendered for each <optgroup>) */
.agronorte-select__group-label {
	padding: 10px 14px 4px;
	font-family: var(--wp--preset--font-family--host-grotesk);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--wp--preset--color--neutral-400);
	pointer-events: none;
}

.agronorte-select__group-label:not(:first-child) {
	margin-top: 4px;
	border-top: 1px solid var(--wp--preset--color--neutral-100);
	padding-top: 12px;
}

/* ─── Searchable Select ────────────────────────────────── */

.agronorte-select__dropdown {
	display: none;
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	right: 0;
	z-index: 50;
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--neutral-200);
	border-radius: var(--wp--custom--border-radius--medium);
	box-shadow: var(--wp--custom--shadow--medium);
	overflow: hidden;
}

.agronorte-select.is-open .agronorte-select__dropdown {
	display: block;
	animation: agronorte-dropdown-in var(--wp--custom--transition--fast);
}

.agronorte-select--searchable .agronorte-select__options {
	position: static;
	border: none;
	box-shadow: none;
	border-radius: 0;
}

.agronorte-select__search {
	display: flex;
	flex-direction: row-reverse;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	border-bottom: none;
}

.agronorte-select__search-icon {
	display: flex;
	align-items: center;
	color: var(--wp--preset--color--neutral-400);
	flex-shrink: 0;
}

.agronorte-select__search-input {
	width: 100%;
	border: none;
	outline: none;
	font-family: var(--wp--preset--font-family--host-grotesk);
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--neutral-700);
	background: transparent;
}

.agronorte-select__search-input:focus-visible {
	outline: 2px solid var(--wp--preset--color--primary);
	outline-offset: 2px;
	border-radius: 4px;
}

.agronorte-select__search-input::placeholder {
	color: var(--wp--preset--color--neutral-400);
}

.agronorte-select__no-results {
	padding: 12px 14px;
	font-family: var(--wp--preset--font-family--host-grotesk);
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--neutral-400);
	text-align: center;
	list-style: none;
}


.agronorte-select select {
	display: none;
}

/* ─── Mobile Menu (custom drawer) ───────────────────────── */

.agronorte-mobile-trigger {
	display: none;
	width: 36px;
	height: 36px;
	padding: 0;
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--white);
	border-radius: 8px;
	color: var(--wp--preset--color--neutral-900);
	cursor: pointer;
	align-items: center;
	justify-content: center;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

/* Only at the very top of the page the trigger sits over the natural header —
   drop the border and fill so it doesn't read as a small floating box on
   top of the nav. Once the user scrolls down (even if scroll-up reveals the
   header again), keep the white box so it stays visible over page content. */
body.is-at-top .agronorte-mobile-trigger {
	border-color: transparent;
	background: transparent;
}

.agronorte-mobile-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.4);
	opacity: 0;
	visibility: hidden;
	transition: opacity var(--wp--custom--transition--normal), visibility var(--wp--custom--transition--normal);
	z-index: 998;
}

.agronorte-mobile-overlay.is-open {
	opacity: 1;
	visibility: visible;
}

.agronorte-mobile-menu {
	position: fixed;
	top: 0;
	right: 0;
	width: min(420px, 100vw);
	height: 100vh;
	height: 100dvh;
	background: var(--wp--preset--color--white);
	display: flex;
	flex-direction: column;
	transform: translateX(100%);
	transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
	z-index: 999;
	overflow-y: auto;
	overscroll-behavior: none;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.agronorte-mobile-menu::-webkit-scrollbar {
	width: 0;
	height: 0;
	display: none;
}

.agronorte-mobile-menu.is-open {
	transform: translateX(0);
}

.agronorte-mobile-menu__topbar {
	background: var(--wp--preset--color--primary);
	height: 4px;
	flex-shrink: 0;
	position: sticky;
	top: 0;
	z-index: 3;
}

.agronorte-mobile-menu__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 12px 14px 20px;
	border-bottom: 1px solid var(--wp--preset--color--neutral-100);
	flex-shrink: 0;
	background: var(--wp--preset--color--white);
	position: sticky;
	top: 4px;
	z-index: 2;
}

.agronorte-mobile-menu__logo {
	display: inline-flex;
	align-items: center;
	text-decoration: none;
}

.agronorte-mobile-menu__logo img {
	height: 25px;
	width: auto;
	display: block;
}

.agronorte-mobile-menu__close {
	width: 44px;
	height: 44px;
	background: transparent;
	border: none;
	color: var(--wp--preset--color--neutral-900);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	border-radius: 8px;
	transition: background var(--wp--custom--transition--fast);
}

.agronorte-mobile-menu__close:hover {
	background: var(--wp--preset--color--neutral-100);
}

.agronorte-mobile-menu__search-wrap {
	padding: 24px 20px 12px;
	flex-shrink: 0;
}

.agronorte-mobile-menu__search {
	display: flex;
	align-items: center;
	gap: 8px;
	height: 52px;
	padding: 0 16px;
	border: 1px solid rgba(209, 209, 209, 0.4);
	border-radius: var(--wp--custom--border-radius--small, 12px);
	background: var(--wp--preset--color--white);
}

.agronorte-mobile-menu__search:focus-within {
	outline: 2px solid var(--wp--preset--color--primary);
	outline-offset: 2px;
}

.agronorte-mobile-menu__search input[type="search"] {
	flex: 1;
	min-width: 0;
	border: none;
	outline: none;
	background: transparent;
	font-family: var(--wp--preset--font-family--host-grotesk, sans-serif);
	font-size: 15px;
	color: var(--wp--preset--color--neutral-900);
	padding: 0;
}

.agronorte-mobile-menu__search input[type="search"]::placeholder {
	color: var(--wp--preset--color--neutral-400);
}

.agronorte-mobile-menu__search button {
	background: transparent;
	border: none;
	padding: 0;
	color: #999;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.agronorte-mobile-menu__nav {
	padding: 8px 20px 16px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.agronorte-mobile-menu__item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px 0;
	border-bottom: 1px solid var(--wp--preset--color--neutral-100);
	text-decoration: none;
	color: inherit;
}

.agronorte-mobile-menu__item-content {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
	flex: 1;
}

.agronorte-mobile-menu__item-title {
	font-family: var(--wp--preset--font-family--heading, 'Titillium Web', sans-serif);
	font-size: 22px;
	font-weight: 600;
	color: var(--wp--preset--color--neutral-900);
	line-height: 1.15;
}

.agronorte-mobile-menu__item.is-active .agronorte-mobile-menu__item-title {
	color: var(--wp--preset--color--primary);
}

.agronorte-mobile-menu__item-sub {
	font-family: var(--wp--preset--font-family--host-grotesk, sans-serif);
	font-size: 12px;
	color: var(--wp--preset--color--neutral-500);
}

.agronorte-mobile-menu__item-dot {
	width: 16px;
	height: 4px;
	border-radius: 1px;
	background: var(--wp--preset--color--secondary);
	flex-shrink: 0;
}

.agronorte-mobile-menu__item-arrow {
	display: inline-flex;
	color: var(--wp--preset--color--neutral-400);
	flex-shrink: 0;
}

.agronorte-mobile-menu__footer {
	background: var(--wp--preset--color--neutral-50);
	padding: 24px 20px 32px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	flex-shrink: 0;
}

.agronorte-mobile-menu__cta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	height: 56px;
	padding: 0 28px;
	border: 1px solid var(--wp--preset--color--neutral-200);
	border-radius: var(--wp--custom--border-radius--small);
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--neutral-900);
	font-family: var(--wp--preset--font-family--host-grotesk, sans-serif);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
	transition: border-color var(--wp--custom--transition--fast), background var(--wp--custom--transition--fast);
}

.agronorte-mobile-menu__cta:hover {
	border-color: var(--wp--preset--color--neutral-400);
}

.agronorte-mobile-menu__cta svg {
	color: var(--wp--preset--color--neutral-900);
	flex-shrink: 0;
}

.agronorte-mobile-menu__secondary {
	padding: 20px 20px 28px;
	display: flex;
	flex-direction: column;
	gap: 24px;
	flex-shrink: 0;
	border-top: 1px solid var(--wp--preset--color--neutral-100);
}

.agronorte-mobile-menu__secondary-section {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.agronorte-mobile-menu__secondary-title {
	font-family: var(--wp--preset--font-family--host-grotesk, sans-serif);
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--wp--preset--color--neutral-400);
	margin: 0 0 4px;
}

.agronorte-mobile-menu__secondary-link {
	font-family: var(--wp--preset--font-family--host-grotesk, sans-serif);
	font-size: 14px;
	color: var(--wp--preset--color--neutral-700, var(--wp--preset--color--neutral-600));
	text-decoration: none;
	padding: 6px 0;
	transition: color var(--wp--custom--transition--fast);
}

.agronorte-mobile-menu__secondary-link:hover {
	color: var(--wp--preset--color--primary);
}

.agronorte-mobile-menu__secondary-link.is-active {
	color: var(--wp--preset--color--primary);
	font-weight: 600;
}

.agronorte-mobile-menu__status {
	display: flex;
	align-items: center;
	gap: 10px;
}

.agronorte-mobile-menu__status-dot {
	width: 8px;
	height: 8px;
	border-radius: 99px;
	background: var(--wp--preset--color--neutral-300);
	flex-shrink: 0;
}

.agronorte-mobile-menu__status-dot.is-open {
	background: var(--wp--preset--color--primary);
}

.agronorte-mobile-menu__status-dot.is-closed {
	background: var(--wp--preset--color--neutral-300);
}

.agronorte-mobile-menu__status-text {
	font-family: var(--wp--preset--font-family--host-grotesk, sans-serif);
	font-size: 12px;
	color: var(--wp--preset--color--neutral-500);
}

/* ── Body lock when mobile menu is open ── */
body.has-mobile-menu-open {
	overflow: hidden;
}

body.has-mobile-menu-open .agronorte-john-float {
	display: none;
}

/* ── Intermediate widths: shrink the search so the desktop nav fits on one
   line. Below 1100px the mobile drawer takes over entirely (next block). ── */
@media (max-width: 1300px) and (min-width: 1101px) {
	.site-header .wp-block-search,
	.site-header .wp-block-search__inside-wrapper {
		width: 200px !important;
		max-width: 200px !important;
	}
}

/* ── Show custom trigger + hide WP nav on mobile/small desktop ── */
@media (max-width: 1100px) {
	.agronorte-mobile-trigger {
		display: inline-flex;
		position: fixed;
		top: 14px;
		right: 12px;
		z-index: 110;
	}

	/* Hide the WP nav block, its hamburger trigger, and the search on
	   mobile — all replaced by the custom drawer. */
	.site-header .wp-block-navigation,
	.site-header .wp-block-navigation__responsive-container,
	.site-header .wp-block-navigation__responsive-container-open,
	.site-header .agronorte-header-search,
	.site-header .wp-block-search {
		display: none !important;
	}
}

/* Intermediate small-desktop range: bigger right offset so the
   hamburger trigger doesn't crowd the edge while there is still room. */
@media (min-width: 1023px) and (max-width: 1100px) {
	.agronorte-mobile-trigger {
		right: 40px;
	}
}
