/* Базовые стили: типографика и раскладка. */
:root {
	--regagro-color-bg: #ffffff;
	--regagro-color-text: #1a1a1a;
	--regagro-color-accent: #2c6e49;
	/* Единый контентный контейнер (шапка, футер, колонка сайта). */
	--regagro-max-width: 1296px;
	--regagro-space: 1rem;
	--regagro-footer-border: #434343;
	--regagro-footer-text: #ffffff;
	--regagro-footer-muted: #b9b9b9;
	--regagro-footer-placeholder: #a2a2a2;
	--regagro-footer-input-border: #72706e;
}

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

body {
	margin: 0;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	line-height: 1.5;
	color: var(--regagro-color-text);
	background: var(--regagro-color-bg);
}

.site-inner {
	max-width: var(--regagro-max-width);
	margin: 0 auto;
	padding: var(--regagro-space);
}

body.home .site-inner {
	max-width: 100%;
	padding: 0;
}

body.home {
	background: #0b0d11;
}

/* Закрывает белую полосу у scrollbar-gutter и любые щели по краям на главной. */
html:has(body.home) {
	background-color: #0b0d11;
}

body.home::before {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -9999;
	background-color: #0b0d11;
	pointer-events: none;
}

/** До 1280px включительно: 10px слева и справа от краёв вьюпорта (антикроп контента). */
@media (max-width: 1280px) {
	.site-inner {
		padding-inline: 10px;
	}

	body.home .site-inner {
		padding-inline: 0;
		max-width: 100%;
	}

	body.rg-vendor-store-page .site-inner {
		padding-inline: 0;
	}

	.site-header__inner {
		padding-inline: 10px;
	}

	.site-footer {
		padding-inline: 10px;
	}
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 40;
	border-bottom: 1px solid #2a2a2a;
	background-color: #0b0d11;
	margin-bottom: var(--regagro-space);
	color: #8d8e8e;
	isolation: isolate;
}

body.rg-vendor-store-page {
	background: #0b0d11;
}

body.rg-vendor-store-page .site-header {
	margin-bottom: 0;
	background-color: transparent;
	border-bottom-color: rgb(42 42 42 / 85%);
}

body.rg-vendor-store-page .site-header__inner {
	flex-wrap: nowrap;
	gap: 2rem;
}

body.rg-vendor-store-page .site-header__actions {
	width: auto;
	justify-content: flex-end;
	flex-wrap: nowrap;
	gap: 40px;
}

body.rg-vendor-store-page .site-inner {
	max-width: 100%;
	padding: 0;
	background: transparent;
}

body.rg-vendor-store-page .site-main {
	background: transparent;
}

body.home .site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	margin-bottom: 0;
	background-color: transparent;
	border-bottom-color: rgb(42 42 42 / 85%);
}

body.home .site-header__inner {
	gap: 1rem 1.5rem;
}

body.home .site-header__actions {
	gap: 0.75rem;
}

body.home .site-header__action-text {
	font-size: 15px;
	line-height: 1.333;
	letter-spacing: -0.02em;
}

.site-header::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgb(15 16 20 / 42%);
}

@supports ((-webkit-backdrop-filter: blur(15px)) or (backdrop-filter: blur(15px))) {
	.site-header::before {
		backdrop-filter: blur(15px);
		-webkit-backdrop-filter: blur(15px);
	}
}

.site-header__inner {
	max-width: var(--regagro-max-width);
	width: 100%;
	margin: 0 auto;
	padding: 10px var(--regagro-space);
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 15px;
	line-height: 1.333;
	letter-spacing: -0.02em;
}

.site-header__branding .custom-logo-link {
	display: inline-flex;
	max-width: clamp(8rem, 14vw, 10rem);
}

.site-header__logo-link {
	display: inline-flex;
	align-items: center;
}

.site-header__logo-image {
	display: block;
	width: 160px;
	height: auto;
	max-width: 100%;
}

.site-header__branding .custom-logo {
	display: block;
	width: 100%;
	height: auto;
	max-height: 46px;
	object-fit: contain;
}

.site-header__locale {
	position: relative;
	display: inline-flex;
	align-items: center;
}

.site-header__locale-toggle {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.01em;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 10px;
	padding: 8px 14px;
	cursor: pointer;
	font-family: inherit;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header__locale-toggle:hover {
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.15);
	transform: translateY(-1px);
}

.site-header__locale-toggle[aria-expanded="true"] {
	background: rgba(255, 255, 255, 0.1);
	border-color: var(--home-accent, #1eb284);
	box-shadow: 0 0 15px rgba(30, 178, 132, 0.2);
}

.site-header__locale-arrow {
	display: inline-block;
	width: 10px;
	height: 6px;
	background: center / contain no-repeat url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	opacity: 0.5;
}

.site-header__locale-toggle:hover .site-header__locale-arrow {
	opacity: 1;
}

.site-header__locale-toggle[aria-expanded="true"] .site-header__locale-arrow {
	transform: rotate(180deg);
	opacity: 1;
}

.site-header__locale-dropdown {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	min-width: 200px;
	background: #1a1a1c;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 14px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.05);
	padding: 6px;
	z-index: 1000;
	transform-origin: top left;
	animation: localeDropdownFadeIn 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes localeDropdownFadeIn {
	from {
		opacity: 0;
		transform: translateY(-10px) scale(0.98);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

.site-header__locale-dropdown[hidden] {
	display: none !important;
}

.site-header__locale-list {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.site-header__locale-list li {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

.site-header__locale-list li + li {
	margin-top: 2px !important;
}

.site-header__locale-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 14px;
	color: rgba(255, 255, 255, 0.5) !important;
	text-decoration: none !important;
	font-size: 14px;
	font-weight: 400;
	border-radius: 10px;
	transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	background: transparent;
	border: 0;
	width: 100%;
	text-align: left;
	cursor: pointer;
}

.site-header__locale-item:hover {
	background: rgba(255, 255, 255, 0.05) !important;
	color: #fff !important;
}

.site-header__locale-item.is-active {
	background: rgba(30, 178, 132, 0.08) !important;
	color: #fff !important;
	font-weight: 500;
}

.site-header__locale-item-label {
	flex-grow: 1;
}

.site-header__locale-item.is-active::after {
	content: "";
	width: 5px;
	height: 5px;
	background: var(--home-accent, #1eb284);
	border-radius: 50%;
	box-shadow: 0 0 10px var(--home-accent, #1eb284);
}

.site-header__locale-flag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	flex-shrink: 0;
	overflow: hidden;
	background: linear-gradient(180deg, rgba(42, 70, 83, 0.95) 0%, rgba(13, 24, 30, 0.98) 100%);
	font-family: system-ui, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji", sans-serif;
	font-size: 15px;
	line-height: 1;
	font-variant-emoji: emoji;
	letter-spacing: 0;
	color: #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
	border: 1px solid rgba(255, 255, 255, 0.12);
}

.site-header__actions {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	gap: clamp(0.75rem, 2vw, 2.5rem);
	min-width: 0;
}

.site-header__action-link {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: #8d8e8e;
	text-decoration: none;
	background: transparent;
	border: 0;
	padding: 0;
	font: inherit;
	font-size: 15px;
	line-height: 20px;
	letter-spacing: -0.02em;
	cursor: pointer;
}

.site-header__action-link:hover,
.site-header__action-link:focus-visible {
	color: #fff;
	outline: none;
}

.site-header__action-icon {
	display: inline-flex;
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

.site-header__action-icon--login {
	background: center / 20px 20px no-repeat url("../images/header/figma-login-icon.svg");
}

.site-header__action-icon--orders {
	background: center / 20px 20px no-repeat url("../images/header/figma-orders-icon.svg");
}

.site-header__action-icon--cart {
	background: center / 20px 20px no-repeat url("../images/header/figma-cart-icon.svg");
}

.site-header__cart {
	position: relative;
}

.site-header__cart-subtotal {
	color: #fff;
	white-space: nowrap;
}

.site-header__mini-cart[hidden] {
	display: none;
}

.site-header__mini-cart {
	position: absolute;
	top: calc(100% + 1rem);
	right: 0;
	width: min(330px, calc(100vw - 2rem));
	background: #29292b;
	border-radius: 10px;
	box-shadow: 0 8px 26px rgb(0 0 0 / 35%);
	overflow: hidden;
}

.site-header__mini-cart-content {
	display: flex;
	flex-direction: column;
}

.site-header__mini-cart-empty {
	margin: 0;
	padding: 1.25rem;
	color: #a2a2a2;
}

.site-header__mini-cart-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-header__mini-cart-item {
	display: flex;
	align-items: center;
	gap: 1.25rem;
	padding-right: 0;
	border-top: 1px solid rgb(67 67 67 / 45%);
}

.site-header__mini-cart-item:first-child {
	border-top: 0;
}

.site-header__mini-cart-thumb {
	width: 75px;
	height: 75px;
	background: rgb(180 180 180 / 9%);
	border-right: 1px solid #434343;
	flex-shrink: 0;
}

.site-header__mini-cart-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.site-header__mini-cart-body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 0.3125rem;
	min-width: 0;
	padding-right: 1.25rem;
}

.site-header__mini-cart-title {
	margin: 0;
	font-size: 16px;
	color: #8d8e8e;
}

.site-header__mini-cart-title a {
	color: inherit;
	text-decoration: none;
}

.site-header__mini-cart-pricing {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.625rem;
}

.site-header__mini-cart-qty {
	min-width: 19px;
	height: 18px;
	padding-inline: 0.25rem;
	border-radius: 999px;
	background: #fff;
	color: #000;
	font-size: 13px;
	line-height: 18px;
	text-align: center;
}

.site-header__mini-cart-unit {
	font-size: 13px;
	color: #8d8e8e;
}

.site-header__mini-cart-line-total {
	margin-left: auto;
	font-size: 13px;
	color: #fff;
}

.site-header__mini-cart-footer {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	padding: 1.25rem 1.875rem 1.875rem;
	border-top: 1px solid #434343;
}

.site-header__mini-cart-subtotal-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	font-size: 13px;
	color: #a2a2a2;
}

.site-header__mini-cart-subtotal-value {
	font-size: 16px;
	color: #fff;
}

.site-header__mini-cart-checkout {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 43px;
	padding: 0.625rem 1rem;
	border-radius: 100px;
	background: #18785b;
	color: #fff;
	font-size: 14px;
	font-weight: 600;
	text-decoration: none;
	text-transform: lowercase;
}

.site-header__mini-cart-checkout:hover,
.site-header__mini-cart-checkout:focus-visible {
	background: #1d8a69;
	outline: none;
}

@media (max-width: 1199px) {
	.site-header__inner {
		flex-wrap: wrap;
		row-gap: 0.75rem;
	}

	.site-header__tail {
		width: 100%;
		justify-content: flex-start;
	}

	body.rg-vendor-store-page .site-header__inner {
		flex-wrap: nowrap;
		row-gap: 0;
	}

	body.rg-vendor-store-page .site-header__tail {
		width: auto;
		justify-content: flex-end;
	}
}

@media (max-width: 767px) {
	.site-header__actions {
		gap: 1rem;
		overflow-x: auto;
		padding-bottom: 0.25rem;
	}

	.site-header__mini-cart {
		right: auto;
		left: 0;
	}
}

.site-title {
	margin: 0;
	font-size: 1.25rem;
}

.site-title a {
	color: inherit;
	text-decoration: none;
}

.site-main--home {
	width: 100%;
}

.home-page__content {
	max-width: var(--regagro-max-width);
	margin: 0 auto;
	padding: 1.5rem 1rem 0;
}

.home-language {
	--home-bg-start: #0b0d11;
	--home-bg-mid: #1c1d1e;
	--home-bg-end: #292929;
	--home-card-bg: rgb(0 0 0 / 80%);
	--home-card-border: #2a2a2a;
	--home-border-soft: #72706e;
	--home-label: #fff;
	--home-muted: #a2a2a2;
	--home-accent: #18785b;
	position: relative;
	width: 100%;
	min-height: 100vh;
	background: url("../images/header/language-bg.png") center top / cover no-repeat;
	overflow: hidden;
}

.home-language__hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 100vh;
	padding: clamp(2rem, 8vw, 6rem) 1rem;
	isolation: isolate;
}

.home-language__hero::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 52%;
	width: min(67.5vw, 1296px);
	height: min(35.26vw, 677px);
	transform: translate(-50%, -50%);
	border-radius: 50%;
	background: #0f1114;
	filter: blur(220px);
	opacity: 0.95;
	z-index: 0;
	pointer-events: none;
}

.home-language__hero::after {
	content: "";
	position: absolute;
	left: 50%;
	top: calc(50% + 210px);
	width: min(42.55vw, 817px);
	height: min(4.69vw, 90px);
	transform: translate(-50%, -50%);
	background: radial-gradient(ellipse at center, rgb(48 255 168 / 55%) 0%, rgb(30 155 114 / 24%) 52%, rgb(48 255 168 / 0%) 100%);
	filter: blur(48px);
	opacity: 0.65;
	z-index: 0;
	pointer-events: none;
}

.home-language__blur {
	position: absolute;
	left: 50%;
	top: 50%;
	width: min(67.5vw, 1296px);
	height: min(35.26vw, 677px);
	transform: translate(-50%, -50%);
	border-radius: 50%;
	background: radial-gradient(ellipse at center, rgb(15 17 20 / 100%) 0%, rgb(15 17 20 / 70%) 48%, rgb(15 17 20 / 0%) 100%);
	filter: blur(120px);
	opacity: 1;
	z-index: 0;
	pointer-events: none;
}

.home-language__selector-card {
	position: relative;
	z-index: 2;
	width: min(100%, 500px);
	background: var(--home-card-bg);
	border: 1px solid var(--home-card-border);
	border-radius: 30px;
	overflow: hidden;
}

.home-language__selector-head {
	padding: 30px 40px;
	border-bottom: 1px solid transparent;
	border-image: linear-gradient(90deg, #126d4f 0%, #a7b11d 66.35%, #23d399 100%) 1;
}

.home-language__title {
	margin: 0;
	font-family: Montserrat, "DM Sans", system-ui, sans-serif;
	font-size: clamp(1.75rem, 2vw, 30px);
	font-weight: 400;
	line-height: 1.22;
	letter-spacing: -0.02em;
	color: var(--home-label);
}

.home-language__selector-body {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 40px;
	padding: 0 40px 60px;
}

.home-language__empty {
	width: 100%;
	margin: 40px 0 0;
	padding: 24px 16px;
	text-align: center;
	font: 500 22px/1.35 "DM Sans", system-ui, sans-serif;
	letter-spacing: -0.02em;
	color: rgb(255 255 255 / 88%);
}

.home-language__search {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	min-height: 41px;
	margin-top: 40px;
	border: 0.5px solid var(--home-border-soft);
	border-radius: 6px;
	background: rgb(52 53 55 / 6%);
}

.home-language__search-input {
	width: 100%;
	height: 100%;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--home-label);
	padding: 10px 40px 10px 10px;
	font: 400 16px/1.3 "DM Sans", system-ui, sans-serif;
}

.home-language__search-input::placeholder {
	color: var(--home-muted);
}

.home-language__search-icon {
	position: absolute;
	right: 10px;
	width: 16px;
	height: 16px;
	border: 1.5px solid var(--home-muted);
	border-radius: 50%;
}

.home-language__search-icon::after {
	content: "";
	position: absolute;
	right: -5px;
	bottom: -4px;
	width: 7px;
	height: 1.5px;
	background: var(--home-muted);
	transform: rotate(45deg);
	transform-origin: center;
}

.home-language__country-scroll {
	position: relative;
	width: 100%;
	max-width: 420px;
}

.home-language__country-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 15px;
	margin: 0;
	padding: 0 25px 0 0;
	max-height: 320px;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: #7e7e7e transparent;
}

.home-language__country-list::-webkit-scrollbar {
	width: 5px;
}

.home-language__country-list::-webkit-scrollbar-track {
	background: transparent;
}

.home-language__country-list::-webkit-scrollbar-thumb {
	background: #7e7e7e;
	border-radius: 999px;
}

.home-language__country-item {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	width: 395px;
	max-width: 100%;
	min-height: 52px;
	padding: 10px 20px;
	border: 1px solid transparent;
	border-radius: 10px;
	background: transparent;
	color: var(--home-label);
	text-align: left;
	cursor: pointer;
}

.home-language__country-item:hover,
.home-language__country-item:focus-visible,
.home-language__country-item.is-selected {
	border-color: rgb(255 255 255 / 25%);
	background: rgb(255 255 255 / 5%);
	outline: none;
}

.home-language__flag {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	flex: 0 0 32px;
	border-radius: 50%;
	overflow: hidden;
	background: linear-gradient(180deg, #21414f 0%, #102028 100%);
	color: #fff;
	font-size: 20px;
	line-height: 1;
}

.home-language__flag--es {
	background: linear-gradient(180deg, #be1b2f 0 27%, #f6c343 27% 73%, #be1b2f 73% 100%);
}

.home-language__flag--ru {
	background: linear-gradient(180deg, #fff 0 33.333%, #1d4ba8 33.333% 66.666%, #c62032 66.666% 100%);
}

.home-language__flag--fr {
	background: linear-gradient(90deg, #22439d 0 33.333%, #fff 33.333% 66.666%, #dc202f 66.666% 100%);
}

.home-language__flag--us {
	background:
		repeating-linear-gradient(180deg, #c62032 0 8%, #fff 8% 16%),
		linear-gradient(180deg, #20408d 0 55%, transparent 55% 100%);
}

.home-language__flag--ca {
	background: linear-gradient(90deg, #d3202f 0 24%, #fff 24% 76%, #d3202f 76% 100%);
}

.home-language__flag--in {
	background: linear-gradient(180deg, #ff9933 0 33.333%, #fff 33.333% 66.666%, #138808 66.666% 100%);
}

.home-language__country-text {
	font: 400 20px/1.3 "DM Sans", system-ui, sans-serif;
}

.home-language__save {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 226px;
	min-height: 51px;
	padding: 14px 60px;
	border: 0;
	border-radius: 100px;
	background: var(--home-accent);
	color: #fff;
	font: 600 18px/1.3 "DM Sans", system-ui, sans-serif;
	letter-spacing: -0.02em;
	cursor: pointer;
}

.home-language__save:hover,
.home-language__save:focus-visible {
	background: #1b8b69;
	outline: none;
}

.home-language__gtranslate {
	position: absolute;
	width: 0;
	height: 0;
	overflow: hidden;
}

.home-language__widget-fallback {
	position: static;
	width: auto;
	height: auto;
	font: 400 14px/1.4 "DM Sans", system-ui, sans-serif;
	color: var(--home-muted);
}

@media (max-width: 767px) {
	.home-language__selector-head {
		padding-inline: 24px;
	}

	.home-language__selector-body {
		padding: 0 24px 32px;
		gap: 24px;
	}

	.home-language__search {
		margin-top: 24px;
	}

	.home-language__country-list {
		max-height: 268px;
		padding-right: 12px;
	}

	.home-language__country-item {
		width: 100%;
	}

	.home-language__save {
		width: 100%;
	}
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.main-navigation a {
	color: var(--regagro-color-text);
	text-decoration: none;
}

.main-navigation a:hover,
.main-navigation a:focus {
	color: var(--regagro-color-accent);
}

.content-area.layout-with-sidebar {
	display: grid;
	grid-template-columns: 1fr 18rem;
	gap: 2rem;
	max-width: var(--regagro-max-width);
	margin: 0 auto;
}

@media (max-width: 782px) {
	.content-area.layout-with-sidebar {
		grid-template-columns: 1fr;
	}
}

.content-area.layout-full-width,
.site-main--full-width {
	max-width: 100%;
	width: 100%;
}

.widget-title {
	font-size: 1rem;
	margin-top: 0;
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.skip-link:focus {
	clip: auto !important;
	position: fixed;
	z-index: 100000;
	padding: 0.5rem 1rem;
	background: #fff;
	box-shadow: 0 0 0.25rem rgba(0, 0, 0, 0.2);
}

.site-footer {
	clear: both;
	position: relative;
	margin-top: 3rem;
	/* Горизонтальные отступы как у .site-header__inner / .site-inner */
	padding: clamp(2rem, 5vw, 2.5rem) var(--regagro-space)
		clamp(2rem, 5vw, 2.5rem);
	font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 15px;
	line-height: 1.35;
	color: var(--regagro-footer-text);
	isolation: isolate;
	letter-spacing: -0.02em;
	/* Тёмная подложка + полупрозрачный слой: без этого blur «просвечивает» белый фон и футер выглядит серым */
	background-color: #0b0d11;
	border-top: 1px solid var(--regagro-footer-border);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

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

.site-footer::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: rgb(15 17 21 / 0.92);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

@supports ((-webkit-backdrop-filter: blur(7.5px)) or (backdrop-filter: blur(7.5px))) {
	.site-footer::before {
		background: rgba(11, 13, 17, 0.78);
		backdrop-filter: blur(7.5px);
		-webkit-backdrop-filter: blur(7.5px);
		box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
	}

	.site-footer {
		box-shadow: none;
	}
}

.site-footer a {
	color: inherit;
	text-decoration: none;
}

.site-footer__inner {
	max-width: var(--regagro-max-width);
	width: 100%;
	margin-inline: auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: clamp(1.25rem, 3vw, 2rem);
}

.site-footer__main {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	column-gap: clamp(1.75rem, 4vw, 3rem);
	row-gap: 2rem;
	min-width: 0;
	width: 100%;
}

.site-footer__lead {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: flex-start;
	column-gap: 4.125rem;
	row-gap: 2rem;
	/* без shrink/min-width:0 — блок не смачивается в узкую колонку */
	flex: 0 0 auto;
	max-width: 100%;
	min-width: min-content;
}

.site-footer__cluster {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	min-width: 0;
	max-width: 100%;
}

.site-footer__cluster--social {
	flex: 0 0 auto;
	width: auto;
	max-width: 100%;
}

.site-footer__cluster--newsletter {
	flex: 0 0 auto;
	width: min(22rem, 100%);
	flex-shrink: 1;
	min-width: 0;
	max-width: 100%;
}

.site-footer__cluster--meta {
	flex: 1 1 0;
	align-items: flex-end;
	align-self: auto;
	min-width: 0;
	max-width: 100%;
}

.site-footer__meta-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	column-gap: 2.1875rem;
	row-gap: 0.75rem;
	width: 100%;
	min-width: 0;
	max-width: 100%;
	text-align: right;
}

.site-footer__meta-row .site-footer__contact {
	margin-block: 0;
}

.site-footer__meta-row .site-footer__copyright {
	margin: 0;
}

.site-footer__label {
	margin: 0;
	line-height: 1.35;
	font-size: 15px;
	color: var(--regagro-footer-text);
	font-weight: 400;
}

.site-footer__social-list {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 1.25rem;
}

@media (min-width: 960px) {
	.site-footer__main {
		flex-wrap: nowrap;
	}

	.site-footer__lead {
		flex-wrap: nowrap;
	}
}

.site-footer__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	border-radius: 50%;
	position: relative;
	background: transparent;
	transition: box-shadow 0.15s ease;
}

.site-footer__social-link:hover,
.site-footer__social-link:focus-visible {
	outline: none;
}

.site-footer__social-link:focus-visible {
	box-shadow: 0 0 0 2px var(--regagro-footer-text);
}

.site-footer__social-link .site-footer__social-icon {
	position: absolute;
	inset: 50% auto auto 50%;
	transform: translate(-50%, -50%);
	opacity: 1;
	transition: opacity 0.2s ease;
	pointer-events: none;
}

.site-footer__social-link:hover .site-footer__social-icon,
.site-footer__social-link:focus-visible .site-footer__social-icon {
	opacity: 0;
}

.site-footer__social-link .site-footer__social-icon--hover {
	opacity: 0;
}

.site-footer__social-link:hover .site-footer__social-icon--hover,
.site-footer__social-link:focus-visible .site-footer__social-icon--hover {
	opacity: 1;
}

.site-footer__social-icon {
	display: block;
	width: 32px;
	height: 32px;
	object-fit: contain;
}

.site-footer .site-footer__contact-icon {
	display: block;
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	align-self: center;
}

.site-footer__contact {
	position: relative;
}

.site-footer__contact .site-footer__contact-icon {
	transition: opacity 0.2s ease;
}

.site-footer__contact .site-footer__contact-icon--hover {
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	opacity: 0;
	pointer-events: none;
}

.site-footer__contact:hover .site-footer__contact-icon--default,
.site-footer__contact:focus-within .site-footer__contact-icon--default {
	opacity: 0;
}

.site-footer__contact:hover .site-footer__contact-icon--hover,
.site-footer__contact:focus-within .site-footer__contact-icon--hover {
	opacity: 1;
}

.site-footer__newsletter-stack {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.625rem;
	width: 100%;
	min-width: 0;
}

.site-footer__builtin-form {
	margin: 0;
	min-width: 0;
	width: 100%;
}

.site-footer__email-pill {
	position: relative;
	display: flex;
	align-items: center;
	width: 100%;
	min-width: 0;
	min-height: 2.3125rem;
	border-radius: 9999px;
	border: 0.5px solid var(--regagro-footer-input-border);
	background: transparent;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.site-footer__email-pill:hover {
	border-color: rgba(255, 255, 255, 0.28);
}

.site-footer__email-input {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	border: 0;
	box-shadow: none;
	outline: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: 13px;
	line-height: 1.35;
	padding: 0.5rem 2.875rem 0.5rem 1.25rem;
	border-radius: 9999px;
}

.site-footer__email-input::placeholder {
	color: var(--regagro-footer-placeholder);
}

.site-footer__email-pill:focus-within {
	outline: 2px solid var(--regagro-footer-text);
	outline-offset: 2px;
}

.site-footer__email-input:focus-visible {
	outline: none;
}

.site-footer__email-send {
	position: absolute;
	right: 0.188rem;
	top: 50%;
	transform: translateY(-50%);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	color: var(--regagro-footer-text);
	background-color: transparent;
	transition: background-color 0.2s ease, color 0.2s ease;
}


.site-footer__email-send:hover,
.site-footer__email-send:focus-visible {
	background-color: rgba(255, 255, 255, 0.1);
	outline: none;
}

.site-footer__email-send:focus-visible {
	box-shadow: 0 0 0 2px var(--regagro-footer-text);
}

.site-footer__email-send-icon {
	display: block;
	flex-shrink: 0;
}

.site-footer__newsletter-inner {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	min-width: 0;
	width: 100%;
}

.site-footer .site-footer__newsletter-inner--plugin .widget {
	margin-block: 0;
}

.site-footer .site-footer__newsletter-inner--plugin .widget + .widget {
	margin-top: 0.625rem;
}

.site-footer__newsletter-inner--plugin input[type="email"],
.site-footer__newsletter-inner--plugin input[type="text"],
.site-footer__newsletter-inner--plugin input[type="tel"] {
	width: 100%;
	min-height: 2.3125rem;
	padding: 0.5rem 1.25rem;
	font: inherit;
	font-size: 13px;
	color: var(--regagro-footer-text);
	border-radius: 2.5rem;
	border: 0.5px solid var(--regagro-footer-input-border);
	background: rgba(52, 53, 55, 0.06);
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.site-footer__newsletter-inner--plugin input:hover {
	border-color: rgba(255, 255, 255, 0.28);
}

.site-footer__newsletter-inner--plugin input::placeholder {
	color: var(--regagro-footer-placeholder);
}

.site-footer__newsletter-inner--plugin input:focus-visible {
	outline: 2px solid var(--regagro-footer-text);
	outline-offset: 2px;
}

.site-footer__newsletter-inner--plugin form {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
}

/* Строка «email + отправка» в одну линию, как в Figma */
.site-footer .mc4wp-form-basic .mc4wp-form-fields,
.site-footer__shortcode form .mc4wp-form-fields {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.site-footer .mc4wp-form-basic .mc4wp-form-fields > p {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.625rem;
	margin: 0;
	min-width: 0;
	width: 100%;
}

.site-footer .mc4wp-form-basic .mc4wp-form-fields input[type="email"],
.site-footer .mc4wp-form-basic .mc4wp-form-fields input[type="text"] {
	width: auto;
	flex: 1 1 12rem;
	min-width: 0;
	max-width: 100%;
}

.site-footer .mc4wp-form-basic .mc4wp-form-fields input[type="submit"],
.site-footer .mc4wp-form-basic .mc4wp-form-fields button[type="submit"] {
	flex: 0 0 auto;
	margin-top: 0;
	min-height: 2.3125rem;
	min-width: 2.3125rem;
	padding: 0.35rem 0.85rem;
	border-radius: 50%;
	align-self: center;
}

.site-footer .mc4wp-form-basic input[type="email"],
.site-footer__newsletter-inner--plugin .wpforms-field input[type="email"] {
	border-radius: 2.5rem;
}

.site-footer .mc4wp-form-basic input[type="submit"],
.site-footer__newsletter-inner--plugin input[type="submit"],
.site-footer__newsletter-inner--plugin button[type="submit"] {
	align-self: flex-start;
	margin-top: 0.25rem;
	min-height: 44px;
	padding: 0.5rem 1.25rem;
	font: inherit;
	font-size: 13px;
	border-radius: 2.5rem;
	cursor: pointer;
	border: 0.5px solid var(--regagro-footer-input-border);
	background: rgba(255, 255, 255, 0.1);
	color: var(--regagro-footer-text);
}

.site-footer .mc4wp-form-basic input[type="submit"]:hover,
.site-footer__newsletter-inner--plugin button[type="submit"]:hover {
	background: rgba(255, 255, 255, 0.18);
}

.site-footer__contact {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0;
	color: var(--regagro-footer-muted);
	font-size: 15px;
	line-height: 1.35;
	word-break: break-word;
	overflow-wrap: anywhere;
}

.site-footer__consent {
	margin: 0;
	align-self: stretch;
	width: 100%;
	max-width: 100%;
	font-family: "DM Sans", system-ui, sans-serif;
	font-size: 11px;
	font-weight: 400;
	line-height: normal;
	letter-spacing: -0.02em;
	color: var(--regagro-footer-placeholder);
}

@media (min-width: 960px) {
	.site-footer__consent {
		white-space: nowrap;
	}
}

.site-footer__consent-intro {
	display: inline;
}

.site-footer .site-footer__consent-link {
	display: inline;
	color: #ffffff !important;
	font-weight: 700;
	text-decoration: none;
	text-decoration-skip-ink: none;
	text-underline-offset: 0.08em;
	transition: color 0.15s ease, opacity 0.15s ease;
	opacity: 1;
}

.site-footer .site-footer__consent-link:visited {
	color: #ffffff !important;
}

.site-footer .site-footer__consent-link:hover,
.site-footer .site-footer__consent-link:focus-visible {
	color: #ffffff !important;
	text-decoration: underline !important;
	opacity: 1;
}

.site-footer__consent-nolink {
	color: var(--regagro-footer-text);
}

.site-footer__contact-mail {
	color: var(--regagro-footer-muted);
	text-decoration: none;
	text-decoration-skip-ink: none;
	text-underline-offset: 0.1em;
	word-break: break-all;
	transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.site-footer__contact:hover .site-footer__contact-mail,
.site-footer__contact:focus-within .site-footer__contact-mail,
.site-footer__contact-mail:hover,
.site-footer__contact-mail:focus-visible {
	color: var(--regagro-footer-text);
	text-decoration: underline;
}

.site-footer__copyright {
	margin: 0;
	font-size: 15px;
	line-height: 1.35;
	color: var(--regagro-footer-muted);
}

.site-footer__sub {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 2rem;
	padding-top: 0.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	font-size: 14px;
}

.site-footer__legal {
	min-width: 0;
}

.site-footer__legal-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 2rem;
	align-items: center;
	justify-content: flex-end;
	max-width: 100%;
}

.site-footer__legal-link {
	color: var(--regagro-footer-muted);
	text-decoration: none;
}

.site-footer__legal-link:hover,
.site-footer__legal-link:focus-visible {
	color: var(--regagro-footer-text);
	text-decoration: underline;
}

.site-footer__legal-link:focus-visible {
	outline: 2px solid var(--regagro-footer-text);
	outline-offset: 2px;
	border-radius: 2px;
}

.site-footer__privacy {
	margin: 0;
}

.site-footer__privacy-link {
	color: var(--regagro-footer-muted);
}

.site-footer__privacy-link:hover,
.site-footer__privacy-link:focus-visible {
	color: var(--regagro-footer-text);
	text-decoration: underline;
}

.site-footer__nav {
	min-width: 0;
}

.site-footer .site-footer__menu,
.site-footer .footer-menu.site-footer__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 2rem;
	align-items: center;
	justify-content: flex-end;
	max-width: 100%;
}

.site-footer .site-footer__menu a,
.site-footer .footer-menu.site-footer__menu a {
	color: var(--regagro-footer-muted);
	text-decoration: none;
}

.site-footer .site-footer__menu a:hover,
.site-footer .site-footer__menu a:focus-visible,
.site-footer .footer-menu.site-footer__menu a:hover,
.site-footer .footer-menu.site-footer__menu a:focus-visible {
	color: var(--regagro-footer-text);
	text-decoration: underline;
}

.site-footer .site-footer__menu a:focus-visible {
	outline: 2px solid var(--regagro-footer-text);
	outline-offset: 2px;
	border-radius: 2px;
}

@media (max-width: 781px) {
	.site-footer__main {
		flex-direction: column;
		align-items: stretch;
	}

	.site-footer__lead {
		display: flex;
		width: 100%;
		min-width: 0;
		column-gap: clamp(1.5rem, 5vw, 4.125rem);
	}

	.site-footer__social-list {
		flex-wrap: wrap;
	}

	.site-footer__cluster--social,
	.site-footer__cluster--newsletter {
		width: 100%;
		max-width: 100%;
	}

	.site-footer__meta-row {
		justify-content: flex-start;
		text-align: left;
	}

	.site-footer__cluster--meta {
		align-self: stretch;
		align-items: flex-start;
		flex: 0 0 auto;
		max-width: 100%;
		text-align: left;
		padding-bottom: 0;
	}

	.site-footer .site-footer__menu,
	.site-footer .footer-menu.site-footer__menu {
		justify-content: flex-start;
	}

	.site-footer__legal-list {
		justify-content: flex-start;
	}

	.site-footer__sub {
		flex-direction: column;
		align-items: flex-start;
	}
}

.menu-toggle {
	font: inherit;
	cursor: pointer;
}

@media (min-width: 783px) {
	.menu-toggle {
		display: none;
	}
}
