/* =========================================================================
   EliteSport — шапка. Один файл,
без зависимостей.
   Палитра сайта: красный #E31E24,
полосы #1E1D1D / #2B2A29,
каталог #0F0F0F.

   Движение: каталог «раскатывается» сверху вниз (clip-path) с красной
   чертой по верхнему краю,
разделы въезжают лесенкой слева,
колонки —
   каскадом снизу. Никаких скользящих штор,
как на thesport.
   ========================================================================= */

.esh{
	--esh-red: #e31e24;
	--esh-red-dark: #c2161c;
	--esh-red-soft: rgba(227, 30, 36, .14);
	--esh-top: #1e1d1d;
	--esh-main: #2b2a29;
	--esh-bar: #1e1d1d;
	--esh-drop: #0f0f0f;
	--esh-line: rgba(255, 255, 255, .12);
	--esh-text: #fff;
	--esh-muted: #c9c9c9;
	--esh-wrap: 1400px;
	--esh-row: 46px;           /* высота строки раздела — по ней ездит бегунок */
	--esh-ease: cubic-bezier(.16, .84, .44, 1);
	--esh-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

	position: relative;
	z-index: 400;
	font-family: var(--esh-font);
	color: var(--esh-text);
	background: var(--esh-main);
}

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

.esh a{ color: inherit; text-decoration: none; }
.esh img{ max-width: 100%; height: auto; display: block; }
/* Тема Woodmart задаёт общий вид всем button — гасим её отступы и рамки,
   чтобы наши кнопки не «распухали». Свои размеры ставим ниже, они весомее. */
.esh button,
.esh [type="button"],
.esh [type="submit"] {
	font: inherit;
	color: inherit;
	background: none;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	margin: 0;
	padding: 0;
	gap: 0;
	height: auto;
	min-height: 0;
	min-width: 0;
	text-transform: none;
	letter-spacing: normal;
	cursor: pointer;
}
.esh ul{ margin: 0; padding: 0; list-style: none; }
.esh :focus-visible{ outline: 2px solid var(--esh-red); outline-offset: 2px; }

.esh .esh-wrap{
	max-width: var(--esh-wrap);
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	align-items: center;
	gap: 20px;
}

.esh .esh-i{ width: 20px; height: 20px; flex: none; }
.esh-stub{ display: none !important; }
.esh noscript{ display: none !important; }

/* ── 1. Верхняя полоса ─────────────────────────────────────────────────── */
.esh .esh-top{
	background: var(--esh-top);
	border-bottom: 1px solid var(--esh-line);
	font-size: 12px;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.esh .esh-top .esh-wrap{ min-height: 38px; justify-content: space-between; }
.esh .esh-top__nav,
.esh .esh-top__right{ display: flex; align-items: center; gap: 18px; }

.esh .esh-top__link{
	position: relative;
	color: var(--esh-muted);
	white-space: nowrap;
	transition: color .18s var(--esh-ease);
}

.esh .esh-top__link::after{
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: -3px;
	height: 1px;
	background: var(--esh-red);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .26s var(--esh-ease);
}

.esh .esh-top__link:hover{ color: #fff; }
.esh .esh-top__link:hover::after{ transform: scaleX(1); }
.esh .esh-top__link--acc{ display: inline-flex; align-items: center; gap: 7px; }
.esh .esh-top__link--acc .esh-i{ width: 16px; height: 16px; }

.esh .esh-top__soc{
	width: 26px;
	height: 26px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--esh-line);
	border-radius: 50%;
	color: var(--esh-muted);
	transition: border-color .2s var(--esh-ease), color .2s var(--esh-ease), background .2s var(--esh-ease), transform .2s var(--esh-ease);
}

.esh .esh-top__soc:hover{ color: #fff; border-color: var(--esh-red); background: var(--esh-red); transform: translateY(-1px); }
.esh .esh-top__soc .esh-i{ width: 14px; height: 14px; }

/* ── Переключатель валют ───────────────────────────────────────────────── */
.esh .esh-cur{ display: flex; align-items: center; gap: 10px; }

.esh .esh-cur__rate{
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--esh-muted);
	font-size: 11.5px;
	letter-spacing: .03em;
	white-space: nowrap;
}

.esh .esh-cur__rate .esh-i{ width: 13px; height: 13px; color: var(--esh-red); }

.esh .esh-cur__pills{
	display: flex;
	padding: 2px;
	background: rgba(255, 255, 255, .07);
	border-radius: 4px;
}

.esh .esh-cur__pill{
	padding: 3px 10px;
	border-radius: 3px;
	font-size: 11.5px;
	font-weight: 600;
	letter-spacing: .05em;
	color: var(--esh-muted);
	transition: color .18s var(--esh-ease), background .18s var(--esh-ease);
}

.esh .esh-cur__pill:hover{ color: #fff; }
.esh .esh-cur__pill.is-active{ background: var(--esh-red); color: #fff; }

/* Виджет WOOCS,
если включён вместо своих кнопок */
.esh .esh-cur--woocs select{ max-width: 120px; height: 26px; font-size: 12px; }
.esh .esh-cur--woocs .woocs_price_code{ color: inherit; }

/* ── 2. Основная полоса ────────────────────────────────────────────────── */
.esh .esh-main{ background: var(--esh-main); }
.esh .esh-main .esh-wrap{ min-height: 76px; }

.esh .esh-logo{ flex: none; transition: opacity .2s var(--esh-ease); }
.esh .esh-logo:hover{ opacity: .85; }
.esh .esh-logo img{ width: 250px; max-width: 42vw; height: auto; }

.esh .esh-burger{ display: none; }

.esh .esh-srow{ display: contents; }
.esh .esh-search{ flex: 1 1 auto; max-width: 640px; margin: 0 auto; }
.esh .esh-search__inner{ width: 100%; }
.esh .esh-cur-mob{ display: none; }

.esh .searchform,
.esh .esh-search__plain{
	position: relative;
	display: flex;
	width: 100%;
	background: #fff;
	border-radius: 5px;
	overflow: hidden;
	box-shadow: 0 0 0 0 var(--esh-red-soft);
	transition: box-shadow .25s var(--esh-ease);
}

.esh .searchform:focus-within,
.esh .esh-search__plain:focus-within{ box-shadow: 0 0 0 3px var(--esh-red-soft); }

.esh .searchform input.s,
.esh .esh-search__plain input{
	flex: 1 1 auto;
	height: 44px;
	padding: 0 16px;
	border: 0;
	background: transparent;
	color: #111;
	font-size: 14px;
	font-family: var(--esh-font);
	outline: none;
}

.esh .searchform .searchsubmit,
.esh .esh-search__plain button{
	flex: none;
	width: 52px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--esh-red);
	color: #fff;
	border-radius: 0;
	font-size: 0;
	transition: background .18s var(--esh-ease);
}

.esh .searchform .searchsubmit:hover,
.esh .esh-search__plain button:hover{ background: var(--esh-red-dark); }
.esh .searchform .searchsubmit::before{ content: ""; }
.esh .searchform .searchsubmit span{ font-size: 0; }

.esh .searchform .searchsubmit::after{
	content: "";
	width: 18px;
	height: 18px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") center/contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-3.5-3.5'/%3E%3C/svg%3E") center/contain no-repeat;
}

.esh .search-results-wrapper{ position: relative; }

/* Woodmart задаёт полю поиска min-width: 290px, а обёртке — боковой отступ.
   На узких экранах из-за этого строка «поиск + валюта» не помещается. */
.esh .esh-search .wd-search-form{ padding: 0; }

.esh .esh-search .wd-search-form input[type="text"],
.esh .esh-search .searchform input.s{ min-width: 0; width: 100%; }

.esh .esh-tools{ display: flex; align-items: center; gap: 8px; flex: none; margin-left: auto; }

.esh .esh-tool{
	position: relative;
	display: flex;
	align-items: center;
	gap: 9px;
	padding: 8px 10px;
	border-radius: 5px;
	color: #fff;
	font-size: 13px;
	white-space: nowrap;
	transition: background .2s var(--esh-ease), color .2s var(--esh-ease);
}

.esh .esh-tool:hover{ background: rgba(255, 255, 255, .08); }
.esh .esh-tool .esh-i{ width: 24px; height: 24px; transition: transform .25s var(--esh-ease); }
.esh .esh-tool:hover .esh-i{ transform: translateY(-2px); }
.esh .esh-tool__label,
.esh .esh-tool .wd-cart-subtotal{ font-size: 13px; color: var(--esh-muted); }
.esh .esh-tool__label span{ color: inherit; }
.esh .esh-tool--cart .esh-tool__label,
.esh .esh-tool--cart .wd-cart-subtotal{ color: #fff; font-weight: 600; }

/* Woodmart при обновлении корзины подменяет счётчик и сумму своими фрагментами —
   наши классы при этом теряются,
поэтому те же правила вешаем и на классы темы. */
.esh .esh-tool__badge,
.esh .esh-tool .wd-cart-number,
.esh .esh-tool .wd-tools-count{
	position: absolute;
	top: 2px;
	left: 26px;
	min-width: 18px;
	height: 18px;
	padding: 0 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--esh-red);
	color: #fff;
	border-radius: 9px;
	font-size: 11px;
	line-height: 1;
	font-weight: 700;
}

.esh .esh-tool__badge span,
.esh .esh-tool .wd-cart-number span,
.esh .esh-tool .wd-tools-count span{ display: none; } /* слово «элемент» из фрагмента темы */

/* ── 3. Строка каталога ────────────────────────────────────────────────── */
.esh .esh-bar{ background: var(--esh-bar); border-top: 1px solid var(--esh-line); }
.esh .esh-bar .esh-wrap{ min-height: 52px; gap: 0; }

.esh .esh-cat{
	position: relative;
	flex: none;
	display: flex;
	align-items: center;
	gap: 10px;
	height: 52px;
	padding: 0 22px;
	margin-right: 24px;
	background: var(--esh-red);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	overflow: hidden;
	transition: background .2s var(--esh-ease);
}

/* Блик,
пробегающий по кнопке при наведении */
.esh .esh-cat::after{
	content: "";
	position: absolute;
	top: 0; bottom: 0; left: -60%;
	width: 45%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent);
	transform: skewX(-18deg);
	transition: left .55s var(--esh-ease);
}

.esh .esh-cat:hover{ background: var(--esh-red-dark); }
.esh .esh-cat:hover::after{ left: 120%; }
.esh .esh-cat .esh-i--burger{ transition: transform .3s var(--esh-ease); }
.esh .esh-cat .esh-i--chevron{ width: 14px; height: 14px; transform: rotate(90deg); transition: transform .3s var(--esh-ease); }
.esh .esh-cat[aria-expanded="true"] .esh-i--chevron{ transform: rotate(-90deg); }
.esh .esh-cat[aria-expanded="true"] .esh-i--burger{ transform: rotate(90deg) scale(.92); }

.esh .esh-quick{ display: flex; align-items: center; gap: 26px; overflow: hidden; }

.esh .esh-quick__link{
	position: relative;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .03em;
	text-transform: uppercase;
	color: #fff;
	white-space: nowrap;
	padding: 6px 0;
	transition: color .18s var(--esh-ease);
}

.esh .esh-quick__link::after{
	content: "";
	position: absolute;
	left: 0; right: 0; bottom: 0;
	height: 2px;
	background: var(--esh-red);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .28s var(--esh-ease);
}

.esh .esh-quick__link:hover{ color: var(--esh-red); }
.esh .esh-quick__link:hover::after{ transform: scaleX(1); }

.esh .esh-bar__logo,
.esh .esh-bar__tools{ display: none; }

.esh.esh--sticky .esh-bar.is-stuck{
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 401;
	box-shadow: 0 6px 20px rgba(0, 0, 0, .35);
	animation: esh-drop .32s var(--esh-ease) both;
}

@keyframes esh-drop { from { transform: translateY(-100%); } to { transform: none; } }

.esh .esh-bar.is-stuck .esh-bar__logo{ display: block; margin-right: 24px; flex: none; }
.esh .esh-bar.is-stuck .esh-bar__logo img{ width: 150px; }
.esh .esh-bar.is-stuck .esh-bar__tools{ display: flex; margin-left: auto; }

/* ── 4. Каталог ────────────────────────────────────────────────────────── */
.esh .esh-catalog{
	position: absolute;
	left: 0;
	right: 0;
	top: 100%;
	z-index: 402;
	background: var(--esh-drop);
	border-top: 1px solid var(--esh-line);
	box-shadow: 0 26px 50px rgba(0, 0, 0, .5);
	animation: esh-unroll .36s var(--esh-ease) both;
}

.esh .esh-catalog[hidden]{ display: none; }
.esh .esh-bar.is-stuck + .esh-catalog{ position: fixed; top: 52px; }

/* Красная черта,
пробегающая по верхнему краю при открытии */
.esh .esh-catalog::before{
	content: "";
	position: absolute;
	top: -1px; left: 0; right: 0;
	height: 2px;
	background: var(--esh-red);
	transform-origin: left;
	animation: esh-sweep .5s var(--esh-ease) both;
}

@keyframes esh-unroll {
	from { clip-path: inset(0 0 100% 0); opacity: .4; }
	to   { clip-path: inset(0 0 0 0); opacity: 1; }
}

@keyframes esh-sweep { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.esh .esh-catalog__inner{ max-width: var(--esh-wrap); margin: 0 auto; padding: 0 20px; }
.esh .esh-catalog__head{ display: none; }

.esh .esh-catalog__body{
	display: grid;
	grid-template-columns: 258px minmax(0, 1fr);
	min-height: 400px;
}

/* Левая колонка — разделы,
с бегунком */
.esh .esh-lvl1{ position: relative; padding: 12px 0; border-right: 1px solid var(--esh-line); }

.esh .esh-lvl1__marker{
	position: absolute;
	list-style: none;
	left: 0;
	top: 12px;
	width: 3px;
	height: var(--esh-row);
	background: var(--esh-red);
	border-radius: 0 2px 2px 0;
	transform: translateY(calc(var(--active, 0) * var(--esh-row)));
	transition: transform .34s var(--esh-ease);
}

.esh .esh-lvl1__link{
	display: flex;
	align-items: center;
	gap: 12px;
	height: var(--esh-row);
	padding: 0 18px 0 14px;
	font-size: 14px;
	color: #fff;
	transition: color .2s var(--esh-ease), padding-left .28s var(--esh-ease), background .2s var(--esh-ease);
}

.esh .esh-lvl1__item{ animation: esh-step-in .42s var(--esh-ease) both; animation-delay: calc(var(--i, 0) * 24ms); }

@keyframes esh-step-in {
	from { opacity: 0; transform: translateX(-14px); }
	to   { opacity: 1; transform: none; }
}

.esh .esh-lvl1__ico{ width: 24px; height: 24px; object-fit: contain; opacity: .85; flex: none; transition: opacity .2s var(--esh-ease), transform .3s var(--esh-ease); }
.esh .esh-lvl1__link span{ flex: 1 1 auto; }
.esh .esh-lvl1__link .esh-i--chevron{ width: 14px; height: 14px; opacity: 0; transform: translateX(-4px); transition: opacity .22s var(--esh-ease), transform .22s var(--esh-ease); }

.esh .esh-lvl1__item.is-active .esh-lvl1__link,
.esh .esh-lvl1__link:hover{ color: var(--esh-red); padding-left: 20px; background: rgba(255, 255, 255, .04); }
.esh .esh-lvl1__item.is-active .esh-lvl1__ico,
.esh .esh-lvl1__link:hover .esh-lvl1__ico{ opacity: 1; transform: scale(1.08); }
.esh .esh-lvl1__item.is-active .esh-i--chevron,
.esh .esh-lvl1__link:hover .esh-i--chevron{ opacity: .7; transform: none; }

/* Правая часть */
.esh .esh-panels{ position: relative; padding: 16px 0 22px 28px; min-width: 0; }
.esh .esh-panel{ display: none; }
.esh .esh-panel.is-active{ display: block; }

.esh .esh-panel__all{
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-bottom: 14px;
	padding: 5px 12px;
	border: 1px solid var(--esh-line);
	border-radius: 3px;
	font-size: 12.5px;
	color: var(--esh-muted);
	transition: color .2s var(--esh-ease), border-color .2s var(--esh-ease), background .2s var(--esh-ease);
}

.esh .esh-panel__all .esh-i{ width: 13px; height: 13px; transition: transform .25s var(--esh-ease); }
.esh .esh-panel__all:hover{ color: #fff; border-color: var(--esh-red); background: var(--esh-red); }
.esh .esh-panel__all:hover .esh-i{ transform: translateX(3px); }

.esh .esh-cols{
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(212px, 1fr));
	align-items: start;
	gap: 26px 24px;
	max-height: calc(100vh - 210px);
	overflow-y: auto;
	overscroll-behavior: contain;
	padding-right: 8px;
	scroll-behavior: smooth;
	scrollbar-width: thin;
	scrollbar-color: #4f4f4f transparent;
}

.esh .esh-cols::-webkit-scrollbar{ width: 7px; }
.esh .esh-cols::-webkit-scrollbar-thumb{ background: #4f4f4f; border-radius: 4px; }
.esh .esh-cols::-webkit-scrollbar-thumb:hover{ background: var(--esh-red); }

.esh .esh-col{ animation: esh-col-in .44s var(--esh-ease) both; animation-delay: calc(var(--i, 0) * 34ms); }

@keyframes esh-col-in {
	from { opacity: 0; transform: translateY(14px); }
	to   { opacity: 1; transform: none; }
}

.esh .esh-col__media{
	position: relative;
	display: block;
	width: 84px;
	height: 84px;
	margin-bottom: 10px;
	background: #fff;
	/* рамка нарисована внутри блока: её не срежет ни край панели, ни прокрутка */
	border: 2px solid transparent;
	background-clip: padding-box;
	border-radius: 5px;
	overflow: hidden;
	transition: border-color .25s var(--esh-ease);
}

.esh .esh-col__media img{ width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .5s var(--esh-ease); }
.esh .esh-col:hover .esh-col__media{ border-color: var(--esh-red); }
.esh .esh-col:hover .esh-col__media img{ transform: scale(1.06); }

.esh .esh-col__title{
	display: inline-block;
	margin-bottom: 9px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .03em;
	text-transform: uppercase;
	color: var(--esh-red);
}

.esh .esh-col__title span{
	background-image: linear-gradient(currentColor, currentColor);
	background-repeat: no-repeat;
	background-size: 0 1px;
	background-position: 0 100%;
	transition: background-size .3s var(--esh-ease), color .2s var(--esh-ease);
	padding-bottom: 2px;
}

.esh .esh-col__title:hover span{ background-size: 100% 1px; }

.esh .esh-col__list li + li{ margin-top: 1px; }

.esh .esh-col__list a{
	position: relative;
	display: block;
	padding: 3px 0 3px 0;
	font-size: 13px;
	line-height: 1.35;
	color: #d8d8d8;
	transition: color .18s var(--esh-ease), padding-left .24s var(--esh-ease);
}

/* Красный штрих,
выезжающий перед ссылкой */
.esh .esh-col__list a::before{
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 0;
	height: 1px;
	background: var(--esh-red);
	transform: translateY(-50%);
	transition: width .24s var(--esh-ease);
}

.esh .esh-col__list a:hover{ color: #fff; padding-left: 14px; }
.esh .esh-col__list a:hover::before{ width: 9px; }

/* «Ещё N» — работает без JS,
обычный <details> */
.esh .esh-more{ margin-top: 4px; }

.esh .esh-more summary{
	display: inline-flex;
	align-items: center;
	gap: 5px;
	padding: 3px 9px;
	border: 1px solid var(--esh-line);
	border-radius: 3px;
	font-size: 12px;
	color: var(--esh-muted);
	cursor: pointer;
	list-style: none;
	transition: color .2s var(--esh-ease), border-color .2s var(--esh-ease);
}

.esh .esh-more summary::-webkit-details-marker{ display: none; }
.esh .esh-more summary:hover{ color: #fff; border-color: var(--esh-red); }
.esh .esh-more summary .esh-i{ width: 12px; height: 12px; transform: rotate(90deg); transition: transform .28s var(--esh-ease); }
.esh .esh-more[open] summary .esh-i{ transform: rotate(-90deg); }
.esh .esh-more .esh-more__close{ display: none; }
.esh .esh-more[open] .esh-more__open{ display: none; }
.esh .esh-more[open] .esh-more__close{ display: inline; }
.esh .esh-more[open] > .esh-col__list{ animation: esh-more-in .3s var(--esh-ease) both; margin-top: 6px; }

@keyframes esh-more-in {
	from { opacity: 0; transform: translateY(-6px); }
	to   { opacity: 1; transform: none; }
}

.esh .esh-catalog__foot{
	display: none;
	align-items: center;
	gap: 18px;
	padding: 14px 0;
	border-top: 1px solid var(--esh-line);
	font-size: 13px;
	color: var(--esh-muted);
}

.esh-overlay.esh-overlay{
	position: fixed;
	inset: 0;
	z-index: 399;
	background: rgba(0, 0, 0, .55);
	border: 0;
	animation: esh-veil .3s var(--esh-ease) both;
}

@keyframes esh-veil { from { opacity: 0; } to { opacity: 1; } }

.esh-overlay.esh-overlay[hidden]{ display: none; }
body.esh-lock{ overflow: hidden; }

/* ── Планшет ───────────────────────────────────────────────────────────── */
@media (max-width: 1200px){
	.esh .esh-quick{ gap: 18px; }
	.esh .esh-quick__link{ font-size: 12px; }
	.esh .esh-catalog__body{ grid-template-columns: 224px minmax(0, 1fr); }
}

/* ── Мобильные ─────────────────────────────────────────────────────────── */
@media (max-width: 1024px){
	.esh .esh-top,
.esh .esh-bar{ display: none; }

	.esh .esh-main .esh-wrap{
		min-height: 74px;
		display: grid;
		grid-template-columns: minmax(44px, 1fr) auto minmax(44px, 1fr);
		grid-template-areas:
			"burger logo tools"
			"srow   srow srow";
		align-items: center;
		gap: 0 10px;
	}

	.esh .esh-burger{ grid-area: burger; justify-self: start; }
	.esh .esh-logo{ grid-area: logo; justify-self: center; }
	.esh .esh-tools{ grid-area: tools; justify-self: end; }
	.esh .esh-srow{ grid-area: srow; }

	/* На телефонах и планшетах — только иконка, без подписи «Меню».
	   Бургер и правые иконки занимают одинаковую долю строки, поэтому
	   логотип стоит ровно по центру экрана, а не «на глаз». */
	.esh .esh-burger{
		display: flex;
		align-items: center;
		justify-content: flex-start;
		width: 44px;
		height: 44px;
		color: #fff;
	}

	.esh .esh-burger span{ display: none; }
	.esh .esh-burger .esh-i{ width: 28px; height: 28px; }
	.esh .esh-tools{ justify-content: flex-end; margin-left: 0; gap: 2px; }
	.esh .esh-tool .esh-i{ width: 27px; height: 27px; }
	.esh .esh-burger .esh-i{ transition: transform .3s var(--esh-ease); }
	.esh .esh-burger[aria-expanded="true"] .esh-i{ transform: rotate(90deg); }
	.esh .esh-logo{ margin: 0; }
	.esh .esh-logo img{ width: 205px; max-width: 52vw; }
	.esh .esh-srow{
		display: flex;
		align-items: center;
		gap: 10px;
		padding-bottom: 14px;
	}

	/* 16px — иначе iOS увеличивает страницу при фокусе на поле */
	.esh .esh-search input,
	.esh .esh-search input.s{ height: 48px; font-size: 16px; }

	.esh .esh-search .searchsubmit,
	.esh .esh-search__plain button{ height: 48px; width: 56px; }

	.esh .esh-search{ flex: 1 1 auto; min-width: 0; max-width: none; }

	/* поле поиска должно сжиматься: у input своя минимальная ширина по умолчанию */
	.esh .esh-search .searchform,
	.esh .esh-search .wd-search-form,
	.esh .esh-search__plain{ min-width: 0; padding: 0; }

	.esh .esh-search .wd-search-form input[type="text"],
	.esh .esh-search .searchform input.s,
	.esh .esh-search input{ min-width: 0; width: 100%; }

	.esh .esh-cur-mob{ display: block; flex: none; }
	.esh .esh-cur-mob .esh-cur__pills{ background: rgba(255, 255, 255, .1); }
	.esh .esh-cur-mob .esh-cur__pill{ padding: 10px 12px; font-size: 12.5px; }
	.esh .esh-cur-mob .esh-cur__rate{ display: none; }
	.esh .esh-tools{ gap: 0; }
	.esh .esh-tool{ padding: 6px; }
	.esh .esh-tool__label{ display: none; }
	.esh .esh-tool--wish{ display: none; }

	/* Каталог — полноэкранная шторка,
раскрывается сверху */
	.esh .esh-catalog{
		position: fixed;
		inset: 0;
		top: 0;
		border: 0;
		overflow: hidden;
		display: flex;
		flex-direction: column;
		animation: esh-sheet .34s var(--esh-ease) both;
	}

	@keyframes esh-sheet {
		from { opacity: 0; transform: scale(.97) translateY(-10px); }
		to   { opacity: 1; transform: none; }
	}

	.esh .esh-catalog::before { display: none; }
	.esh .esh-catalog__inner { padding: 0; height: 100%; display: flex; flex-direction: column; width: 100%; }

	.esh .esh-catalog__head {
		display: flex;
		align-items: center;
		gap: 12px;
		height: 56px;
		padding: 0 14px;
		border-bottom: 1px solid var(--esh-line);
		flex: none;
	}

	.esh .esh-catalog__back { display: none; align-items: center; gap: 6px; font-size: 14px; color: var(--esh-muted); }
	.esh .esh-catalog.is-inner .esh-catalog__back { display: inline-flex; }
	.esh .esh-catalog__title {
		font-size: 15px;
		font-weight: 700;
		text-transform: uppercase;
		/* длинное название не должно разъезжать шапку каталога */
		flex: 1 1 auto;
		min-width: 0;
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
	}
	.esh .esh-catalog__close { margin-left: auto; color: #fff; }

	.esh .esh-catalog__body { display: block; flex: 1 1 auto; overflow-y: auto; -webkit-overflow-scrolling: touch; min-height: 0; }

	.esh .esh-lvl1 { border: 0; padding: 6px 0; }
	.esh .esh-lvl1__marker { display: none; }
	.esh .esh-catalog.is-inner .esh-lvl1 { display: none; }
	.esh .esh-lvl1__link { height: auto; padding: 14px 16px; font-size: 15px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
	.esh .esh-lvl1__link .esh-i--chevron { opacity: .45; transform: none; }
	.esh .esh-lvl1__item.is-active .esh-lvl1__link { color: #fff; background: none; padding-left: 16px; }

	/* Вложенный уровень въезжает справа */
	.esh .esh-panels { display: none; padding: 0; }
	.esh .esh-catalog.is-inner .esh-panels { display: block; animation: esh-inner .3s var(--esh-ease) both; }

	@keyframes esh-inner {
		from { opacity: 0; transform: translateX(24px); }
		to   { opacity: 1; transform: none; }
	}

	.esh .esh-panel__all { margin: 14px 16px; }

	.esh .esh-cols {
		grid-template-columns: 1fr;
		gap: 0;
		max-height: none;
		overflow: visible;
		padding: 0 16px 20px;
	}

	.esh .esh-col { padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); animation-delay: calc(var(--i, 0) * 22ms); }
	.esh .esh-col__media { width: 60px; height: 60px; float: left; margin: 0 12px 8px 0; }
	.esh .esh-col__title { font-size: 14px; }
	.esh .esh-col__list { clear: both; }
	.esh .esh-col__list a { padding: 8px 0; font-size: 14px; }
	.esh .esh-col__list a:hover { padding-left: 0; }
	.esh .esh-col__list a:hover::before { width: 0; }

	.esh .esh-catalog__foot { display: flex; flex-wrap: wrap; padding: 14px 16px; flex: none; }
}

/* Планшеты — те же правила, но шапка выше и логотип крупнее */
@media (min-width: 600px) and (max-width: 1024px) {
	.esh .esh-main .esh-wrap{ min-height: 86px; }
	.esh .esh-logo img{ width: 240px; }
	.esh .esh-burger .esh-i{ width: 30px; height: 30px; }
	.esh-overlay.esh-overlay { display: none; }
}

/* ── Уважаем системную настройку «меньше движения» ─────────────────────── */
@media (prefers-reduced-motion: reduce){
	.esh *,
.esh *::before,
.esh *::after{
		animation-duration: .01ms !important;
		animation-delay: 0ms !important;
		transition-duration: .01ms !important;
	}
}

/* Гасим правила темы,
которые могут просочиться в нашу разметку */
.esh .wd-tools-count{ position: absolute; }
.esh .wd-cart-subtotal{ position: static; }
