@import url("/fonts/fonts.css");

/* ============================================================================
   Агриколла — фирменный стиль
   Источник: логотип, тент и визитка из папки «дизайн».
   Зелёный #048E43, белый фон, скруглённые «пилюли», объёмные эмодзи-продукты.
   ========================================================================= */

:root {
	/* Фирменный зелёный снят пипеткой с логотипа. */
	--brand: #048E43;
	--brand-700: #026B32;
	--brand-800: #014f25;
	--brand-400: #35AC68;
	--brand-300: #6FC894;
	--brand-tint: #E9F6EE;
	--brand-tint-2: #D5EDDF;

	--ink: #0F2017;
	--body: #42564B;
	--muted: #6E8178;

	--page: #FFFFFF;
	--surface: #FFFFFF;
	--surface-2: #F4FAF6;
	--line: #DDEAE1;
	--line-strong: #C3DCCD;

	--honey: #F0A818;
	--berry: #D23B4E;
	--telegram: #2AABEE;

	--danger: #CC3B3B;
	--danger-tint: #FBECEC;
	--warning: #B8730A;
	--warning-tint: #FDF3E2;

	--shadow-sm: 0 1px 2px rgba(5, 40, 22, .06), 0 2px 8px rgba(5, 40, 22, .05);
	--shadow-md: 0 4px 10px rgba(5, 40, 22, .07), 0 12px 28px rgba(5, 40, 22, .07);
	--shadow-lg: 0 10px 24px rgba(5, 40, 22, .09), 0 28px 60px rgba(5, 40, 22, .10);

	--r-sm: 10px;
	--r-md: 16px;
	--r-lg: 24px;
	--r-xl: 32px;
	--r-pill: 999px;

	--font-body: "Fira Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-display: "Fira Sans Condensed", "Fira Sans", system-ui, sans-serif;

	--wrap: 1200px;
	--gutter: 20px;

	--header-h: 76px;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--brand: #3DBE72;
		--brand-700: #2FA660;
		--brand-800: #0C1C14;
		--brand-400: #58CE8A;
		--brand-300: #7BDCA5;
		--brand-tint: #15261C;
		--brand-tint-2: #1C3324;

		--ink: #EAF5EE;
		--body: #B4C8BC;
		--muted: #86998D;

		--page: #0B1310;
		--surface: #111C16;
		--surface-2: #16241C;
		--line: #23342A;
		--line-strong: #314738;

		--shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
		--shadow-md: 0 4px 10px rgba(0, 0, 0, .45), 0 12px 28px rgba(0, 0, 0, .35);
		--shadow-lg: 0 10px 24px rgba(0, 0, 0, .5), 0 28px 60px rgba(0, 0, 0, .4);
	}
}

/* ============================== база ============================== */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
}

body {
	margin: 0;
	background: var(--page);
	color: var(--body);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
	margin: 0;
	color: var(--ink);
	font-family: var(--font-display);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -.01em;
}

p { margin: 0; }

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-700); }

:focus-visible {
	outline: 3px solid var(--brand-400);
	outline-offset: 3px;
	border-radius: 4px;
}

button, input, select, textarea { font: inherit; color: inherit; }

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.visually-hidden {
	position: absolute;
	width: 1px; height: 1px;
	margin: -1px; padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

.skip-link {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 200;
	padding: 12px 20px;
	border-radius: var(--r-pill);
	background: var(--brand);
	color: #fff;
	font-weight: 600;
	transition: top .2s;
}
.skip-link:focus { top: 16px; color: #fff; }

/* ============================== типографика ============================== */

.display {
	font-family: var(--font-display);
	font-size: clamp(2.5rem, 1.4rem + 4.6vw, 4.75rem);
	line-height: 1.02;
	letter-spacing: -.02em;
	text-transform: uppercase;
}

.section-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px 24px;
	margin-bottom: 32px;
}

.section-title {
	font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem);
	text-transform: uppercase;
}

.section-sub {
	margin-top: 10px;
	max-width: 56ch;
	color: var(--muted);
}

.section { padding-block: clamp(56px, 7vw, 104px); }
.section--tint { background: var(--surface-2); }

/* ============================== кнопки ============================== */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 28px;
	border: 2px solid transparent;
	border-radius: var(--r-pill);
	background: var(--brand);
	color: #fff;
	font-family: var(--font-display);
	font-size: 1.0625rem;
	font-weight: 700;
	letter-spacing: .02em;
	text-transform: uppercase;
	cursor: pointer;
	transition: background-color .15s, border-color .15s, color .15s;
}
.btn:hover {
	background: var(--brand-700);
	color: #fff;
}

.btn--outline {
	background: transparent;
	border-color: var(--brand);
	color: var(--brand);
}
.btn--outline:hover {
	background: var(--brand);
	color: #fff;
}

.btn--ghost {
	background: var(--brand-tint);
	color: var(--brand-700);
}
.btn--ghost:hover { background: var(--brand-tint-2); color: var(--brand-800); }

.btn--telegram { background: var(--telegram); }
.btn--telegram:hover { background: #1b92d1; }

.btn--sm { padding: 9px 18px; font-size: .9375rem; }
.btn--lg { padding: 17px 36px; font-size: 1.1875rem; }
.btn--block { width: 100%; }

.btn svg { width: 1.15em; height: 1.15em; flex: none; }

/* ============================== чипы и значки ============================== */

.chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	border: 2px solid var(--line-strong);
	border-radius: var(--r-pill);
	background: var(--surface);
	color: var(--body);
	font-size: .9375rem;
	font-weight: 500;
	white-space: nowrap;
	transition: border-color .18s, background-color .18s, color .18s;
}
.chip:hover { border-color: var(--brand); color: var(--brand); }

.chip.is-active {
	border-color: var(--brand);
	background: var(--brand);
	color: #fff;
}
.chip.is-active:hover { color: #fff; }

.chip__count {
	font-size: .8125rem;
	opacity: .65;
	font-variant-numeric: tabular-nums;
}

.chip__icon { width: 22px; height: 22px; }

.badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 5px 12px;
	border-radius: var(--r-pill);
	font-family: var(--font-display);
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .07em;
	text-transform: uppercase;
	white-space: nowrap;
}
.badge--new { background: var(--brand); color: #fff; }
.badge--hit { background: var(--honey); color: #3A2600; }
.badge--sale { background: var(--berry); color: #fff; }
.badge--out { background: var(--line); color: var(--muted); }
.badge--muted { background: var(--brand-tint); color: var(--brand-700); }

/* ============================== шапка ============================== */

.header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: color-mix(in srgb, var(--page) 88%, transparent);
	backdrop-filter: saturate(1.4) blur(14px);
	border-bottom: 1px solid var(--line);
}

.header__bar {
	display: flex;
	align-items: center;
	gap: 20px;
	min-height: var(--header-h);
}

.logo { display: inline-flex; align-items: center; flex: none; }
.logo img { height: 52px; width: auto; }

.nav {
	display: flex;
	align-items: center;
	gap: 4px;
	margin-inline: auto;
}

.nav__link {
	padding: 10px 16px;
	border-radius: var(--r-pill);
	color: var(--body);
	font-weight: 500;
	transition: background-color .18s, color .18s;
}
.nav__link:hover { background: var(--brand-tint); color: var(--brand-700); }
.nav__link.is-active { background: var(--brand-tint); color: var(--brand-700); font-weight: 600; }

.header__actions { display: flex; align-items: center; gap: 12px; flex: none; }

.header__phone {
	display: inline-flex;
	flex-direction: column;
	line-height: 1.15;
	color: var(--ink);
	font-family: var(--font-display);
	font-size: 1.125rem;
	font-weight: 700;
	white-space: nowrap;
}
.header__phone small {
	font-family: var(--font-body);
	font-size: .75rem;
	font-weight: 400;
	color: var(--muted);
	letter-spacing: 0;
}
.header__phone:hover { color: var(--brand); }

.burger {
	display: none;
	width: 46px; height: 46px;
	padding: 0;
	border: 2px solid var(--line-strong);
	border-radius: var(--r-md);
	background: var(--surface);
	cursor: pointer;
	align-items: center;
	justify-content: center;
}
.burger span {
	display: block;
	position: relative;
	width: 20px; height: 2px;
	border-radius: 2px;
	background: var(--ink);
}
.burger span::before,
.burger span::after {
	content: "";
	position: absolute;
	left: 0;
	width: 20px; height: 2px;
	border-radius: 2px;
	background: var(--ink);
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }

@media (max-width: 1000px) {
	.nav {
		position: fixed;
		inset: var(--header-h) 0 auto 0;
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
		margin: 0;
		padding: 16px var(--gutter) 24px;
		background: var(--page);
		border-bottom: 1px solid var(--line);
		box-shadow: var(--shadow-lg);
		transform: translateY(-130%);
		transition: transform .25s ease;
	}
	.nav.is-open { transform: translateY(0); }
	.nav__link { padding: 14px 16px; font-size: 1.0625rem; }
	.burger { display: inline-flex; margin-left: auto; }
	.header__actions .btn { display: none; }
}

@media (max-width: 620px) {
	.header__phone { display: none; }
	.logo img { height: 42px; }
}

/* ============================== герой ============================== */

.hero {
	position: relative;
	overflow: hidden;
	padding-block: clamp(48px, 7vw, 96px);
	background:
		radial-gradient(900px 420px at 88% -10%, var(--brand-tint) 0%, transparent 70%),
		radial-gradient(700px 360px at 4% 108%, var(--brand-tint) 0%, transparent 72%),
		var(--page);
}

.hero__grid {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
	align-items: center;
	gap: clamp(32px, 5vw, 72px);
}

.hero__title { color: var(--brand); }
.hero__title span { display: block; color: var(--ink); }

.hero__text {
	margin-top: 22px;
	max-width: 46ch;
	font-size: 1.125rem;
}

.hero__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 32px;
}

.hero__meta {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 16px;
	margin-top: 32px;
	padding-top: 26px;
	border-top: 1px solid var(--line);
}
.hero__meta span {
	color: var(--brand);
	font-family: var(--font-display);
	font-size: clamp(1.625rem, 1.1rem + 2vw, 2.5rem);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: .02em;
	text-transform: uppercase;
}

/* Коллаж из объёмных эмодзи — тот же приём, что на тенте и визитке. */
.hero__art {
	position: relative;
	aspect-ratio: 1 / 1;
	display: grid;
	place-items: center;
}

.hero__disc {
	position: absolute;
	inset: 8%;
	border-radius: 50%;
	/* Цвет зафиксирован и в тёмной теме: зелёный логотип всегда стоит на светлом. */
	background: #EEF7F1;
}

.hero__logo {
	position: relative;
	z-index: 2;
	width: 62%;
}

.hero__fruit {
	position: absolute;
	z-index: 3;
	width: clamp(58px, 11%, 108px);
	filter: drop-shadow(0 10px 20px rgba(5, 40, 22, .26));
	animation: float 7s ease-in-out infinite;
}
.hero__fruit:nth-child(2) { top: 2%;   left: 6%;  animation-delay: -.4s; }
.hero__fruit:nth-child(3) { top: 10%;  right: 2%; animation-delay: -1.8s; }
.hero__fruit:nth-child(4) { bottom: 16%; left: -2%; animation-delay: -3.1s; }
.hero__fruit:nth-child(5) { bottom: 2%; right: 12%; animation-delay: -4.6s; }
.hero__fruit:nth-child(6) { top: 46%;  right: -4%; animation-delay: -2.4s; }
.hero__fruit:nth-child(7) { bottom: 6%; left: 30%; animation-delay: -5.5s; }

@keyframes float {
	0%, 100% { transform: translateY(0) rotate(0deg); }
	50%      { transform: translateY(-14px) rotate(-3deg); }
}

@media (max-width: 900px) {
	.hero__grid { grid-template-columns: 1fr; }
	.hero__art { order: -1; max-width: 440px; margin-inline: auto; width: 100%; }
	.hero__text { max-width: none; }
}

/* ============================== полоса преимуществ ============================== */

.features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 16px;
}

.feature {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 22px 24px;
	border: 2px solid var(--line);
	border-radius: var(--r-lg);
	background: var(--surface);
	transition: border-color .15s;
}
.feature:hover { border-color: var(--brand); }
.feature img { width: 48px; height: 48px; flex: none; }
.feature b {
	display: block;
	color: var(--ink);
	font-family: var(--font-display);
	font-size: 1.1875rem;
	text-transform: uppercase;
}
.feature span { font-size: .9375rem; color: var(--muted); }

/* ============================== категории ============================== */

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

.category {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	padding: 30px 20px 26px;
	border: 2px solid var(--line);
	border-radius: var(--r-lg);
	background: var(--surface);
	text-align: center;
	transition: border-color .15s;
}
.category:hover { border-color: var(--brand); }

.category__icon {
	width: 76px; height: 76px;
	filter: drop-shadow(0 6px 14px rgba(5, 40, 22, .18));
}

.category__name {
	color: var(--ink);
	font-family: var(--font-display);
	font-size: 1.3125rem;
	text-transform: uppercase;
}

.category__count { font-size: .875rem; color: var(--muted); }

/* ============================== карточка товара ============================== */

.product-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
	gap: 22px;
}

.product {
	position: relative;
	display: flex;
	flex-direction: column;
	border: 2px solid var(--line);
	border-radius: var(--r-lg);
	background: var(--surface);
	overflow: hidden;
	transition: border-color .15s;
}
.product:hover { border-color: var(--brand); }

.product__media {
	position: relative;
	aspect-ratio: 4 / 3;
	background: var(--surface-2);
	overflow: hidden;
}
.product__media img {
	width: 100%; height: 100%;
	object-fit: cover;
}

.product__placeholder {
	display: grid;
	place-items: center;
	height: 100%;
	background: var(--brand-tint);
}
.product__placeholder img {
	width: 46%; height: auto;
	opacity: .55;
	object-fit: contain;
}

.product__badges {
	position: absolute;
	top: 12px; left: 12px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
	z-index: 2;
}

.product__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 18px 20px 20px;
	flex: 1;
}

.product__category {
	font-size: .8125rem;
	color: var(--muted);
	text-transform: uppercase;
	letter-spacing: .06em;
}

.product__title {
	font-size: 1.1875rem;
	line-height: 1.25;
}
.product__title a { color: var(--ink); }
.product__title a:hover { color: var(--brand); }
.product__title a::after { content: ""; position: absolute; inset: 0; }

.product__foot {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 14px;
}

.price {
	display: flex;
	align-items: baseline;
	gap: 6px;
	color: var(--ink);
	font-family: var(--font-display);
	font-size: 1.75rem;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}
.price small {
	font-family: var(--font-body);
	font-size: .875rem;
	font-weight: 400;
	color: var(--muted);
}
.price__old {
	font-family: var(--font-body);
	font-size: .9375rem;
	font-weight: 400;
	color: var(--muted);
	text-decoration: line-through;
}

.product.is-out { opacity: .72; }
.product.is-out .product__media img { filter: grayscale(.72); }

.stock {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	font-size: .875rem;
	font-weight: 500;
	white-space: nowrap;
}
.stock::before {
	content: "";
	width: 9px; height: 9px;
	border-radius: 50%;
	background: currentColor;
}
.stock--in { color: var(--brand); }
.stock--low { color: var(--warning); }
.stock--out { color: var(--muted); }

/* ============================== каталог ============================== */

.catalog {
	display: grid;
	grid-template-columns: 1fr;
	gap: 28px;
}

.filters {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 22px;
	border: 2px solid var(--line);
	border-radius: var(--r-lg);
	background: var(--surface);
}

.filters__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.filters__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.search {
	position: relative;
	flex: 1 1 260px;
	min-width: 0;
}
.search input {
	width: 100%;
	padding: 12px 16px 12px 44px;
	border: 2px solid var(--line-strong);
	border-radius: var(--r-pill);
	background: var(--surface);
	transition: border-color .18s;
}
.search input:focus { border-color: var(--brand); outline: none; }
.search svg {
	position: absolute;
	left: 15px; top: 50%;
	transform: translateY(-50%);
	width: 19px; height: 19px;
	color: var(--muted);
	pointer-events: none;
}

.select {
	padding: 12px 40px 12px 18px;
	border: 2px solid var(--line-strong);
	border-radius: var(--r-pill);
	background-color: var(--surface);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%236E8178' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 15px center;
	background-size: 16px;
	appearance: none;
	cursor: pointer;
}
.select:focus { border-color: var(--brand); outline: none; }

.toggle {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 11px 18px;
	border: 2px solid var(--line-strong);
	border-radius: var(--r-pill);
	cursor: pointer;
	user-select: none;
	white-space: nowrap;
}
.toggle input { width: 18px; height: 18px; accent-color: var(--brand); cursor: pointer; }
.toggle:hover { border-color: var(--brand); }

.result-line {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	color: var(--muted);
	font-size: .9375rem;
}

.empty {
	display: grid;
	place-items: center;
	gap: 16px;
	padding: 72px 24px;
	border: 2px dashed var(--line-strong);
	border-radius: var(--r-lg);
	text-align: center;
}
.empty img { width: 84px; opacity: .8; }
.empty h3 { font-size: 1.5rem; text-transform: uppercase; }
.empty p { max-width: 42ch; color: var(--muted); }

/* ============================== страница товара ============================== */

.breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin-bottom: 28px;
	font-size: .875rem;
	color: var(--muted);
}
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--brand); }
.breadcrumbs span[aria-hidden] { opacity: .5; }

.product-page {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(28px, 4vw, 60px);
	align-items: start;
}
@media (max-width: 900px) {
	.product-page { grid-template-columns: 1fr; }
}

.gallery { display: flex; flex-direction: column; gap: 14px; }

.gallery__main {
	position: relative;
	aspect-ratio: 1 / 1;
	border: 2px solid var(--line);
	border-radius: var(--r-lg);
	background: var(--surface-2);
	overflow: hidden;
}
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }

.gallery__thumbs {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
	gap: 10px;
}
.gallery__thumb {
	aspect-ratio: 1 / 1;
	padding: 0;
	border: 2px solid var(--line);
	border-radius: var(--r-md);
	background: var(--surface-2);
	overflow: hidden;
	cursor: pointer;
	transition: border-color .18s;
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb:hover { border-color: var(--brand-300); }
.gallery__thumb.is-active { border-color: var(--brand); }

.product-info { display: flex; flex-direction: column; gap: 20px; }

.product-info__title {
	font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3rem);
	text-transform: uppercase;
}

.price-box {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 24px;
	padding: 22px 26px;
	border: 2px solid var(--brand);
	border-radius: var(--r-lg);
	background: var(--brand-tint);
}
.price-box .price { font-size: clamp(2.1rem, 1.6rem + 1.8vw, 2.9rem); }

.product-desc {
	font-size: 1.0625rem;
	white-space: pre-line;
}

.spec-list {
	display: grid;
	gap: 0;
	margin: 0;
	border: 2px solid var(--line);
	border-radius: var(--r-lg);
	overflow: hidden;
}
.spec-list > div {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 20px;
	padding: 14px 20px;
	border-bottom: 1px solid var(--line);
}
.spec-list > div:last-child { border-bottom: 0; }
.spec-list dt { color: var(--muted); font-size: .9375rem; }
.spec-list dd { margin: 0; color: var(--ink); font-weight: 600; text-align: right; }

.order-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.order-note {
	display: flex;
	gap: 14px;
	padding: 18px 22px;
	border: 2px dashed var(--line-strong);
	border-radius: var(--r-lg);
	font-size: .9375rem;
	color: var(--muted);
}
.order-note img { width: 38px; height: 38px; flex: none; }

/* ============================== о нас / контакты ============================== */

.split {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: clamp(28px, 4vw, 60px);
	align-items: center;
}

.info-card {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 26px 28px;
	border: 3px solid var(--brand);
	border-radius: var(--r-lg);
	background: var(--surface);
}
.info-card h3 {
	font-size: 1.375rem;
	color: var(--brand-700);
	text-transform: uppercase;
}

.contact-list {
	display: grid;
	gap: 14px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.contact-list li {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}
.contact-list img { width: 34px; height: 34px; flex: none; }
.contact-list span { display: block; font-size: .8125rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.contact-list b, .contact-list a {
	color: var(--ink);
	font-family: var(--font-display);
	font-size: 1.25rem;
	font-weight: 700;
}
.contact-list a:hover { color: var(--brand); }

/* ============================== призыв к действию ============================== */

.cta {
	position: relative;
	overflow: hidden;
	padding: clamp(36px, 5vw, 64px);
	border-radius: var(--r-xl);
	background: linear-gradient(135deg, var(--brand) 0%, var(--brand-700) 100%);
	color: #fff;
	text-align: center;
}
.cta h2 { color: #fff; font-size: clamp(1.7rem, 1.2rem + 2.2vw, 2.75rem); text-transform: uppercase; }
.cta p { margin: 16px auto 0; max-width: 54ch; color: rgba(255, 255, 255, .92); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 30px; }
.cta .btn { background: #fff; color: var(--brand-700); border-color: #fff; }
.cta .btn:hover { background: rgba(255, 255, 255, .88); color: var(--brand-800); }
.cta .btn--outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.cta .btn--outline:hover { background: #fff; color: var(--brand-700); }

.cta__fruit {
	position: absolute;
	width: 110px;
	opacity: .9;
	pointer-events: none;
	filter: drop-shadow(0 10px 20px rgba(0, 0, 0, .2));
}
.cta__fruit:nth-of-type(1) { top: -18px; left: -14px; transform: rotate(-16deg); }
.cta__fruit:nth-of-type(2) { bottom: -22px; right: -10px; transform: rotate(14deg); }
@media (max-width: 720px) { .cta__fruit { display: none; } }

/* ============================== подвал ============================== */

.footer {
	margin-top: clamp(56px, 7vw, 96px);
	padding-block: clamp(44px, 5vw, 72px) 28px;
	background: var(--brand-800);
	color: rgba(255, 255, 255, .78);
}

.footer a { color: rgba(255, 255, 255, .78); }
.footer a:hover { color: #fff; }

.footer__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 36px;
}

.footer__logo {
	display: inline-block;
	padding: 14px 18px;
	border-radius: var(--r-lg);
	background: #FFFFFF;
}
.footer__logo img { height: 76px; width: auto; }

.footer__legal { color: rgba(255, 255, 255, .55); }
.footer__tagline {
	margin-top: 14px;
	max-width: 32ch;
	font-size: .9375rem;
	color: rgba(255, 255, 255, .66);
}

.footer h4 {
	margin-bottom: 16px;
	color: #fff;
	font-size: 1.0625rem;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }

.footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 44px;
	padding-top: 22px;
	border-top: 1px solid rgba(255, 255, 255, .16);
	font-size: .875rem;
	color: rgba(255, 255, 255, .55);
}

/* ============================== страница ошибки ============================== */

.error-page {
	display: grid;
	place-items: center;
	gap: 18px;
	min-height: 60vh;
	padding-block: 64px;
	text-align: center;
}
.error-page__code {
	font-family: var(--font-display);
	font-size: clamp(5rem, 3rem + 12vw, 11rem);
	line-height: .9;
	color: var(--brand);
	opacity: .22;
}
.error-page h1 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.75rem); text-transform: uppercase; }
.error-page p { max-width: 48ch; color: var(--muted); }

/* ============================== телефон ==============================
   Всё, что в rem, сжимается разом через корневой кегль; отступы в px
   и сетки поправлены ниже вручную. Цель — две кнопки в ряд на 360–412 px. */

.btn, a[href^="tel:"] { white-space: nowrap; }

@media (max-width: 620px) {
	:root {
		--gutter: 16px;
		--header-h: 58px;
		--r-lg: 16px;
		--r-xl: 20px;
	}

	html { font-size: 87.5%; }
	body { font-size: 15px; line-height: 1.5; }
	/* Меньше 16px — и iOS приближает страницу при фокусе. */
	input, select, textarea { font-size: 16px; }

	.section { padding-block: 32px; }
	.section-head { gap: 12px; margin-bottom: 18px; }
	.section-title { font-size: 1.625rem; }
	.section-sub { margin-top: 8px; }
	.display { font-size: 2.5rem; }

	.btn { gap: 8px; padding: 9px 15px; font-size: 1rem; }
	.btn--sm { padding: 7px 13px; font-size: .9375rem; }
	.btn--lg { padding: 11px 16px; font-size: 1rem; }

	.chip { gap: 6px; padding: 5px 11px; border-width: 1.5px; }
	.chip__icon { width: 18px; height: 18px; }
	.badge { padding: 3px 8px; font-size: .6875rem; }

	.logo img { height: 38px; }
	.burger { width: 38px; height: 38px; border-radius: 10px; }
	.nav__link { padding: 11px 14px; }

	.hero { padding-block: 20px 28px; }
	.hero__grid { gap: 14px; }
	.hero__art { max-width: 210px; }
	.hero__fruit { width: 17%; animation: none; filter: drop-shadow(0 4px 8px rgba(5, 40, 22, .22)); }
	.hero__text { margin-top: 12px; font-size: 1rem; }
	.hero__cta { gap: 8px; margin-top: 18px; }
	.hero__cta .btn { flex: 1 1 auto; }
	.hero__meta { margin-top: 20px; padding-top: 16px; }
	.hero__meta span { font-size: 1.5rem; }

	.features { gap: 8px; }
	.feature { gap: 12px; padding: 12px 14px; }
	.feature img { width: 34px; height: 34px; }
	.feature b { font-size: 1.0625rem; }

	.categories { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; }
	.category { gap: 8px; padding: 14px 6px 12px; }
	.category__icon { width: 44px; height: 44px; filter: none; }
	.category__name { font-size: 1.0625rem; line-height: 1.15; }
	.category__count { font-size: .8125rem; }

	.product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
	.product__badges { top: 8px; left: 8px; gap: 4px; }
	.product__body { gap: 3px; padding: 10px 12px 12px; }
	.product__category { font-size: .75rem; }
	.product__title { font-size: 1.0625rem; }
	.product__foot { flex-wrap: wrap; align-items: baseline; gap: 4px 8px; padding-top: 8px; }
	.price { font-size: 1.5rem; }
	.stock { gap: 5px; font-size: .8125rem; }
	.stock::before { width: 7px; height: 7px; }

	.catalog { gap: 16px; }
	.filters { gap: 12px; padding: 12px; }
	.filters__chips { gap: 6px; }
	.filters__row { gap: 8px; }
	.search input { padding: 8px 12px 8px 38px; }
	.search svg { left: 12px; }
	.select { padding: 8px 34px 8px 14px; background-position: right 12px center; }
	.toggle { padding: 7px 13px; }
	.empty { padding: 36px 16px; }
	.empty img { width: 56px; }

	.breadcrumbs { margin-bottom: 14px; }
	.gallery { gap: 8px; }
	.gallery__thumbs { grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); gap: 6px; }
	.product-info { gap: 14px; }
	.product-info__title { font-size: 1.875rem; }
	.price-box { gap: 10px 16px; padding: 12px 16px; }
	.price-box .price { font-size: 2.125rem; }
	.spec-list > div { padding: 9px 14px; }
	.order-actions { gap: 8px; }
	.order-actions .btn { flex: 1 1 auto; }
	.order-note { gap: 10px; padding: 12px 14px; }
	.order-note img { width: 28px; height: 28px; }

	.split { grid-template-columns: 1fr; gap: 22px; }
	.info-card { padding: 16px; border-width: 2px; }
	.contact-list { gap: 10px; }
	.contact-list li { gap: 10px; }
	.contact-list img { width: 28px; height: 28px; }
	.contact-list b, .contact-list a { font-size: 1.1875rem; }

	.cta { padding: 24px 16px; }
	.cta h2 { font-size: 1.5rem; }
	.cta p { margin-top: 10px; }
	.cta__actions { gap: 8px; margin-top: 18px; }

	.footer { margin-top: 32px; padding-block: 28px 18px; }
	.footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
	.footer__grid > :first-child,
	.footer__grid > :last-child { grid-column: 1 / -1; }
	.footer__grid a { overflow-wrap: anywhere; }
	.footer__logo { padding: 8px 12px; }
	.footer__logo img { height: 48px; }
	.footer__tagline { margin-top: 10px; max-width: none; }
	.footer h4 { margin-bottom: 10px; }
	.footer ul { gap: 6px; }
	.footer__bottom { margin-top: 24px; padding-top: 14px; }

	.error-page { gap: 12px; padding-block: 36px; }
}
