/* =====================================================================
   NOUT.KG — тема: хедер, иконки категорий, баннеры, футер, мобильная панель.
   Подключается в header.php ПОСЛЕ всех стилей шаблона (только для s2),
   поэтому перекрывает накопившиеся правила template_styles.css.
   ===================================================================== */

:root {
	--n-navy: #0a2540;
	--n-navy-2: #0f3260;
	--n-blue: #0b74de;
	--n-blue-600: #075fc0;
	--n-blue-50: #eaf3fe;
	--n-ice: #f2f6fb;
	--n-line: #dce6f2;
	--n-text: #0d1b2e;
	--n-muted: #5b6b82;
	--n-accent: #ffc53d;
	--n-success: #16a36a;
	--n-radius: 14px;
	--n-radius-sm: 10px;
	--n-shadow: 0 10px 30px rgb(10 37 64 / 8%);
	--n-shadow-lg: 0 24px 60px rgb(10 37 64 / 16%);
	--n-header-h: 0px;
}

html body.site-s2 {
	background: var(--n-ice) !important;
	color: var(--n-text);
	-webkit-font-smoothing: antialiased;
}

html body.site-s2 #foundation,
html body.site-s2 #main,
html body.site-s2 #right {
	background: var(--n-ice) !important;
}

html body.site-s2 .limiter {
	max-width: 1360px;
	padding-left: 24px;
	padding-right: 24px;
	box-sizing: border-box;
}

body.site-s2 .nout-icon {
	width: 20px;
	height: 20px;
	flex: 0 0 auto;
	display: inline-block;
	vertical-align: middle;
}

/* ---------- Иконки категорий ---------- */

body.site-s2 .nout-cat-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	color: var(--n-blue);
	background: linear-gradient(145deg, #f1f7ff 0%, #dcebfd 100%);
	box-shadow: inset 0 0 0 1px rgb(11 116 222 / 10%);
	transition: transform .18s ease, background .18s ease, color .18s ease;
}

body.site-s2 .nout-cat-icon svg {
	width: 22px;
	height: 22px;
}

body.site-s2 .nout-cat-icon--xs { width: 26px; height: 26px; border-radius: 8px; }
body.site-s2 .nout-cat-icon--xs svg { width: 16px; height: 16px; }
body.site-s2 .nout-cat-icon--sm { width: 32px; height: 32px; border-radius: 9px; }
body.site-s2 .nout-cat-icon--sm svg { width: 19px; height: 19px; }
body.site-s2 .nout-cat-icon--lg { width: 44px; height: 44px; border-radius: 12px; }
body.site-s2 .nout-cat-icon--lg svg { width: 26px; height: 26px; }
body.site-s2 .nout-cat-icon--card { width: 64px; height: 64px; border-radius: 18px; }
body.site-s2 .nout-cat-icon--card svg { width: 36px; height: 36px; stroke-width: 1.4; }

/* Акцентные цвета групп — чтобы иконки различались с первого взгляда */
body.site-s2 .nout-cat-icon--gaming,
body.site-s2 .nout-cat-icon--gpu,
body.site-s2 .nout-cat-icon--cpu { color: #6d4ae6; background: linear-gradient(145deg, #f4f0ff 0%, #e4dcfd 100%); box-shadow: inset 0 0 0 1px rgb(109 74 230 / 12%); }
body.site-s2 .nout-cat-icon--chip,
body.site-s2 .nout-cat-icon--motherboard,
body.site-s2 .nout-cat-icon--ram,
body.site-s2 .nout-cat-icon--drive,
body.site-s2 .nout-cat-icon--psu,
body.site-s2 .nout-cat-icon--case,
body.site-s2 .nout-cat-icon--fan { color: #5a43d6; background: linear-gradient(145deg, #f3f1ff 0%, #e2defb 100%); box-shadow: inset 0 0 0 1px rgb(90 67 214 / 12%); }
body.site-s2 .nout-cat-icon--tv,
body.site-s2 .nout-cat-icon--projector,
body.site-s2 .nout-cat-icon--speaker,
body.site-s2 .nout-cat-icon--headphones { color: #d0412f; background: linear-gradient(145deg, #fff3f0 0%, #fde0da 100%); box-shadow: inset 0 0 0 1px rgb(208 65 47 / 12%); }
body.site-s2 .nout-cat-icon--peripherals,
body.site-s2 .nout-cat-icon--monitor,
body.site-s2 .nout-cat-icon--keyboard,
body.site-s2 .nout-cat-icon--mouse,
body.site-s2 .nout-cat-icon--mousepad,
body.site-s2 .nout-cat-icon--webcam { color: #0d8f7a; background: linear-gradient(145deg, #edfaf6 0%, #d3f2e9 100%); box-shadow: inset 0 0 0 1px rgb(13 143 122 / 12%); }
body.site-s2 .nout-cat-icon--printer,
body.site-s2 .nout-cat-icon--mfu,
body.site-s2 .nout-cat-icon--ink { color: #c26a06; background: linear-gradient(145deg, #fff7ea 0%, #fde8c6 100%); box-shadow: inset 0 0 0 1px rgb(194 106 6 / 12%); }

/* Картинка раздела из Битрикса (PNG-иконка) — без подложки, на всю плитку */
body.site-s2 .nout-cat-icon--img,
body.site-s2 .nout-footer .nout-cat-icon--img {
	background: none !important;
	box-shadow: none !important;
}
body.site-s2 .nout-cat-icon--img img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: contain;
}
/* В тёмном футере цветные PNG-иконки на светлой подложке читаются лучше */
body.site-s2 .nout-footer .nout-cat-icon--img { background: rgb(255 255 255 / 92%) !important; padding: 3px; box-sizing: border-box; }

/* Старые растровые иконки (img.nout-section-icon) больше не выводятся */
body.site-s2 img.nout-section-icon { display: none !important; }

/* =====================================================================
   ХЕДЕР
   ===================================================================== */

html body.site-s2 .nout-header {
	position: sticky;
	top: 0;
	z-index: 1200;
	background: #fff;
	transition: box-shadow .2s ease;
}

html body.site-s2 .nout-header.is-scrolled {
	box-shadow: 0 10px 30px rgb(10 37 64 / 12%);
}

/* --- Верхняя полоса --- */
body.site-s2 .nout-topbar {
	background: var(--n-navy);
	color: #c9d6e8;
	font-size: 13px;
	line-height: 1;
}

body.site-s2 .nout-topbar__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 38px;
}

body.site-s2 .nout-topbar__menu {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 22px;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.site-s2 .nout-topbar__menu li { margin: 0; padding: 0; list-style: none; }
body.site-s2 .nout-topbar__menu li::before { display: none; }

body.site-s2 .nout-topbar a {
	color: #c9d6e8 !important;
	text-decoration: none !important;
	font-size: 13px;
}

body.site-s2 .nout-topbar a:hover,
body.site-s2 .nout-topbar a.is-active { color: #fff !important; }

body.site-s2 .nout-topbar__meta {
	display: flex;
	align-items: center;
	gap: 20px;
	white-space: nowrap;
}

body.site-s2 .nout-topbar__item {
	display: inline-flex;
	align-items: center;
	gap: 7px;
}

body.site-s2 .nout-topbar__item .nout-icon { width: 15px; height: 15px; color: #7fb4f5; }

html body.site-s2 .nout-topbar__auth { float: none !important; margin: 0 !important; padding: 0 0 0 20px !important; border-left: 1px solid rgb(255 255 255 / 14%); height: auto !important; line-height: 1 !important; }
html body.site-s2 .nout-topbar__auth ul { display: flex; gap: 16px; margin: 0; padding: 0; list-style: none; }
html body.site-s2 .nout-topbar__auth li { display: block !important; float: none !important; margin: 0 !important; padding: 0 !important; background: none !important; }
html body.site-s2 .nout-topbar__auth li::before,
html body.site-s2 .nout-topbar__auth li::after { display: none !important; }
html body.site-s2 .nout-topbar__auth a { color: #fff !important; font-family: robotomedium, robotoregular, arial, sans-serif; border: 0 !important; padding: 0 !important; background: none !important; }

/* --- Основная строка --- */
body.site-s2 .nout-mainbar { background: #fff; }

html body.site-s2 .nout-mainbar__inner {
	display: flex;
	align-items: center;
	gap: 18px;
	min-height: 78px;
}

html body.site-s2 .nout-logo {
	flex: 0 0 auto;
	width: auto !important;
	height: auto !important;
	margin: 0 6px 0 0 !important;
	padding: 0 !important;
	float: none !important;
	display: block;
}

html body.site-s2 .nout-logo a { display: block; line-height: 0; }

html body.site-s2 .nout-logo img {
	display: block;
	width: 176px !important;
	height: auto !important;
	max-width: none !important;
	max-height: none !important;
}

/* Кнопка «Каталог» */
html body.site-s2 .nout-header .ultra-catalog-shell { position: static; flex: 0 0 auto; margin: 0 !important; }

html body.site-s2 .nout-header .nout-catalog__button {
	display: inline-flex !important;
	align-items: center;
	gap: 10px;
	height: 48px !important;
	min-height: 48px;
	width: auto !important;
	padding: 0 20px 0 16px !important;
	border-radius: 12px !important;
	background: linear-gradient(135deg, var(--n-blue) 0%, #1590ff 100%) !important;
	color: #fff !important;
	font: 15px/1 robotomedium, robotobold, arial, sans-serif !important;
	text-decoration: none !important;
	box-shadow: 0 8px 20px rgb(11 116 222 / 28%) !important;
	border: 0 !important;
	transition: transform .15s ease, box-shadow .15s ease;
}

html body.site-s2 .nout-header .nout-catalog__button:hover { transform: translateY(-1px); box-shadow: 0 12px 26px rgb(11 116 222 / 34%) !important; }

html body.site-s2 .nout-catalog__burger {
	position: relative;
	display: inline-flex;
	flex-direction: column;
	justify-content: space-between;
	width: 18px;
	height: 13px;
}

html body.site-s2 .nout-catalog__burger i {
	display: block;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
	transition: transform .2s ease, opacity .2s ease, width .2s ease;
}

html body.site-s2 .nout-catalog__burger i:nth-child(3) { width: 70%; }
html body.site-s2 .ultra-catalog-shell.is-open .nout-catalog__burger i:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
html body.site-s2 .ultra-catalog-shell.is-open .nout-catalog__burger i:nth-child(2) { opacity: 0; }
html body.site-s2 .ultra-catalog-shell.is-open .nout-catalog__burger i:nth-child(3) { width: 100%; transform: translateY(-5.5px) rotate(-45deg); }

/* Поиск */
html body.site-s2 .nout-header .nout-search {
	flex: 1 1 auto;
	min-width: 0;
	position: relative;
	margin: 0 !important;
	padding: 0 !important;
	width: auto !important;
	float: none !important;
}

html body.site-s2 #noutHeader #topSearch2 { margin: 0 !important; padding: 0 !important; width: 100% !important; }

html body.site-s2 #noutHeader #topSearch2 .searchContainerInner {
	border-radius: 12px !important;
	border: 2px solid var(--n-line) !important;
	background: var(--n-ice) !important;
	box-shadow: none !important;
	overflow: hidden;
	transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

html body.site-s2 #noutHeader #topSearch2 .searchContainerInner:focus-within {
	border-color: var(--n-blue) !important;
	background: #fff !important;
	box-shadow: 0 0 0 4px rgb(11 116 222 / 12%) !important;
}

html body.site-s2 #noutHeader #topSearch2 .searchContainer { display: flex !important; align-items: center; width: 100% !important; height: 44px !important; }
html body.site-s2 #noutHeader #topSearch2 .searchColumn { display: block !important; float: none !important; position: static !important; }
html body.site-s2 #noutHeader #topSearch2 .searchColumn:first-child { flex: 1 1 auto; min-width: 0; width: auto !important; }
html body.site-s2 #noutHeader #topSearch2 .searchColumn:last-child { flex: 0 0 auto; width: auto !important; padding: 0 4px 0 0 !important; }

html body.site-s2 #noutHeader #topSearch2 #searchQuery {
	width: 100% !important;
	height: 44px !important;
	padding: 0 14px 0 46px !important;
	border: 0 !important;
	background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235b6b82' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E") no-repeat 16px 50% / 18px 18px !important;
	color: var(--n-text) !important;
	font: 15px/44px robotoregular, arial, sans-serif !important;
	box-shadow: none !important;
	outline: none !important;
}

html body.site-s2 #noutHeader #topSearch2 #searchQuery::placeholder { color: #8796ab; opacity: 1; }

html body.site-s2 #noutHeader #topSearch2 #goSearch {
	filter: none !important;
	position: static !important;
	top: auto !important;
	right: auto !important;
	transform: none !important;
	display: block !important;
	width: 44px !important;
	min-width: 0;
	height: 36px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 9px !important;
	background: var(--n-navy) 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.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") no-repeat 50% 50% / 18px 18px !important;
	color: transparent !important;
	font-size: 0 !important;
	cursor: pointer;
	box-shadow: none !important;
	transition: background-color .15s ease;
}

html body.site-s2 #noutHeader #topSearch2 #goSearch:hover { background-color: var(--n-blue) !important; }

html body.site-s2 #noutHeader #searchResult { top: calc(100% + 8px) !important; border-radius: var(--n-radius) !important; box-shadow: var(--n-shadow-lg) !important; overflow: hidden; }

/* Телефон и корзина */
html body.site-s2 .nout-header-tools {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 0 0 auto;
}

html body.site-s2 .nout-header-phone { position: relative; }

html body.site-s2 .nout-header-phone__toggle {
	display: flex !important;
	align-items: center;
	gap: 10px;
	height: 48px;
	padding: 0 14px 0 6px !important;
	border-radius: 12px !important;
	border: 0 !important;
	background: transparent !important;
	color: var(--n-text) !important;
	text-decoration: none !important;
	box-shadow: none !important;
}

html body.site-s2 .nout-header-phone__toggle:hover { background: var(--n-ice) !important; }

html body.site-s2 .nout-header-phone__icon {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 38px !important;
	height: 38px !important;
	border-radius: 50% !important;
	background: var(--n-blue-50) !important;
	color: var(--n-blue);
	margin: 0 !important;
}

html body.site-s2 .nout-header-phone__icon::before,
html body.site-s2 .nout-header-phone__icon::after { display: none !important; }
html body.site-s2 .nout-header-phone__icon .nout-icon { width: 19px; height: 19px; }

html body.site-s2 .nout-header-phone__copy { display: flex; flex-direction: column; gap: 4px; }
html body.site-s2 .nout-header-phone__value { font: 17px/1 robotobold, arial, sans-serif !important; color: var(--n-text) !important; white-space: nowrap; }
html body.site-s2 .nout-header-phone__hint { font-size: 12px; line-height: 1; color: var(--n-muted); white-space: nowrap; }

html body.site-s2 .nout-header .nout-contact-popover {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	z-index: 30;
	width: 300px;
	padding: 18px;
	border-radius: var(--n-radius);
	background: #fff;
	border: 1px solid var(--n-line);
	box-shadow: var(--n-shadow-lg);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .18s ease, transform .18s ease, visibility .18s;
}

html body.site-s2 .nout-header-phone:hover .nout-contact-popover,
html body.site-s2 .nout-header-phone:focus-within .nout-contact-popover { opacity: 1; visibility: visible; transform: none; }
html body.site-s2 .nout-header-phone::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }

html body.site-s2 .nout-contact-popover__group + .nout-contact-popover__group { margin-top: 14px; }
html body.site-s2 .nout-contact-popover__title { margin-bottom: 6px; color: var(--n-muted); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
html body.site-s2 .nout-contact-popover__text { color: var(--n-text); font-size: 14px; line-height: 1.5; }
html body.site-s2 .nout-contact-popover__link { display: block; color: var(--n-text) !important; font: 16px/1.6 robotomedium, robotobold, arial, sans-serif; text-decoration: none !important; }
html body.site-s2 .nout-contact-popover__link:hover { color: var(--n-blue) !important; }
html body.site-s2 .nout-contact-popover__button { display: block; margin-top: 16px; padding: 11px 14px; border-radius: 10px; background: var(--n-blue-50); color: var(--n-blue) !important; font: 14px/1 robotomedium, robotobold, arial, sans-serif; text-align: center; text-decoration: none !important; }
html body.site-s2 .nout-contact-popover__button:hover { background: var(--n-blue); color: #fff !important; }

/* Корзина */
html body.site-s2 .nout-header .nout-cart {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	height: 48px;
	margin: 0 !important;
	padding: 0 16px 0 12px !important;
	float: none !important;
	width: auto !important;
	border-radius: 12px;
	background: var(--n-navy);
	color: #fff;
	transition: background .15s ease;
}

html body.site-s2 .nout-header .nout-cart:hover { background: var(--n-navy-2); }
html body.site-s2 .nout-cart__icon { display: inline-flex; color: #fff; }
html body.site-s2 .nout-cart__icon .nout-icon { width: 22px; height: 22px; }

html body.site-s2 #noutHeader #flushTopCart { display: flex; align-items: center; position: static !important; margin: 0 !important; padding: 0 !important; width: auto !important; height: auto !important; }

html body.site-s2 #noutHeader #flushTopCart .countLink {
	position: absolute !important;
	top: 5px !important;
	left: 22px !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	min-width: 16px !important;
	width: auto !important;
	height: 16px !important;
	margin: 0 !important;
	padding: 0 4px !important;
	box-sizing: border-box !important;
	border-radius: 9px !important;
	background: var(--n-accent) !important;
	box-shadow: 0 0 0 2px var(--n-navy) !important;
	text-decoration: none !important;
}

html body.site-s2 #noutHeader #flushTopCart .countLink::before,
html body.site-s2 #noutHeader #flushTopCart .countLink::after { display: none !important; }

html body.site-s2 #noutHeader #flushTopCart .count {
	position: static !important;
	display: block !important;
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: none !important;
	color: var(--n-navy) !important;
	font: 10px/16px robotobold, arial, sans-serif !important;
}

/* Пустая корзина — без бейджа «0» */
html body.site-s2 #noutHeader #flushTopCart .countLink:not(.active) { display: none !important; }

html body.site-s2 #noutHeader #flushTopCart .heading {
	display: flex !important;
	flex-direction: column;
	gap: 3px;
	margin: 0 !important;
	padding: 0 !important;
	background: none !important;
	color: #fff !important;
	text-decoration: none !important;
	line-height: 1 !important;
	height: auto !important;
	float: none !important;
}

html body.site-s2 #noutHeader #flushTopCart .heading::before { display: none !important; }
html body.site-s2 #noutHeader #flushTopCart .cartLabel { color: #fff !important; font: 14px/1 robotomedium, robotobold, arial, sans-serif !important; }
html body.site-s2 #noutHeader #flushTopCart .total { color: #9fb6d3 !important; font: 12px/1 robotoregular, arial, sans-serif !important; white-space: nowrap; }
html body.site-s2 #noutHeader #flushTopCart .active .total { color: var(--n-accent) !important; }
/* Вся плашка корзины кликабельна */
html body.site-s2 #noutHeader #flushTopCart .heading.active::after { content: ""; position: absolute; inset: 0; }

/* --- Полоса категорий --- */
html body.site-s2 .nout-header .nout-category-bar {
	position: relative;
	background: #fff !important;
	border-top: 1px solid var(--n-line) !important;
	border-bottom: 1px solid var(--n-line) !important;
	box-shadow: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

html body.site-s2 .nout-header .nout-category-nav {
	display: flex !important;
	align-items: stretch;
	gap: 4px;
	padding: 0 !important;
	margin: 0 !important;
	overflow: visible !important;
	flex-wrap: nowrap;
	justify-content: flex-start;
}

html body.site-s2 .nout-header .nout-category-nav__item { position: static !important; flex: 0 1 auto; margin: 0 !important; }

html body.site-s2 .nout-header .nout-category-nav__link {
	display: flex !important;
	align-items: center;
	gap: 10px;
	height: 54px !important;
	padding: 0 14px 0 6px !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: var(--n-text) !important;
	font: 14px/1.2 robotomedium, robotobold, arial, sans-serif !important;
	text-decoration: none !important;
	white-space: nowrap;
	position: relative;
}

html body.site-s2 .nout-header .nout-category-nav__link::after {
	content: "";
	position: absolute;
	left: 6px;
	right: 14px;
	bottom: -1px;
	height: 3px;
	border-radius: 3px 3px 0 0;
	background: var(--n-blue);
	transform: scaleX(0);
	transition: transform .2s ease;
}

html body.site-s2 .nout-header .nout-category-nav__item:hover .nout-category-nav__link,
html body.site-s2 .nout-header .nout-category-nav__item:focus-within .nout-category-nav__link { color: var(--n-blue) !important; }
html body.site-s2 .nout-header .nout-category-nav__item:hover .nout-category-nav__link::after,
html body.site-s2 .nout-header .nout-category-nav__item:focus-within .nout-category-nav__link::after { transform: scaleX(1); }
html body.site-s2 .nout-header .nout-category-nav__item:hover .nout-cat-icon { transform: translateY(-1px) scale(1.05); }

html body.site-s2 .nout-header .nout-category-nav__chevron { display: inline-flex !important; width: auto !important; height: auto !important; border: 0 !important; transform: none !important; margin: 0 !important; color: #94a3b8; }
html body.site-s2 .nout-header .nout-category-nav__chevron::before,
html body.site-s2 .nout-header .nout-category-nav__chevron::after { display: none !important; }
html body.site-s2 .nout-header .nout-category-nav__chevron .nout-icon { width: 14px; height: 14px; transition: transform .2s ease; }
html body.site-s2 .nout-header .nout-category-nav__item:hover .nout-category-nav__chevron .nout-icon { transform: rotate(180deg); }

html body.site-s2 .nout-header .nout-category-nav__dropdown {
	position: absolute !important;
	top: 100% !important;
	left: 24px !important;
	right: 24px !important;
	width: auto !important;
	max-width: 1312px;
	margin: 0 auto !important;
	padding: 20px 22px 22px !important;
	display: block !important;
	border-radius: 0 0 var(--n-radius) var(--n-radius) !important;
	border: 1px solid var(--n-line) !important;
	border-top: 0 !important;
	background: #fff !important;
	box-shadow: var(--n-shadow-lg) !important;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-4px);
	transition: opacity .18s ease, transform .18s ease, visibility .18s;
	z-index: 40;
}

html body.site-s2 .nout-header .nout-category-nav__item:hover .nout-category-nav__dropdown,
html body.site-s2 .nout-header .nout-category-nav__item:focus-within .nout-category-nav__dropdown { opacity: 1; visibility: visible; transform: none; }

html body.site-s2 .nout-category-nav__dropdown-head { margin-bottom: 14px; }
html body.site-s2 .nout-category-nav__dropdown-head a { color: var(--n-text) !important; font: 18px/1.2 robotobold, arial, sans-serif; text-decoration: none !important; }
html body.site-s2 .nout-category-nav__dropdown-head a:hover { color: var(--n-blue) !important; }

html body.site-s2 .nout-category-nav__dropdown-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 6px;
}

html body.site-s2 .nout-category-nav__dropdown-grid a {
	display: flex !important;
	align-items: center;
	gap: 12px;
	padding: 8px 10px !important;
	border-radius: 10px !important;
	color: var(--n-text) !important;
	font: 14px/1.3 robotoregular, arial, sans-serif !important;
	text-decoration: none !important;
	background: transparent !important;
	border: 0 !important;
}

html body.site-s2 .nout-category-nav__dropdown-grid a:hover { background: var(--n-ice) !important; color: var(--n-blue) !important; }

/* --- Выпадающий каталог (кнопка «Каталог») --- */
html body.site-s2 .ultra-catalog-menu__section > a,
html body.site-s2 .ultra-catalog-menu__title a,
html body.site-s2 .ultra-catalog-menu__group-title { display: flex !important; align-items: center; gap: 12px; }
html body.site-s2 .ultra-catalog-menu__section.is-active > a .nout-cat-icon { transform: scale(1.06); }

/* Старые хедеры, если вдруг остались в кеше компонента */
html body.site-s2 .nout-sticky-header { display: none !important; }

/* =====================================================================
   ГЛАВНАЯ: баннеры
   ===================================================================== */

html body.site-s2 .nout-home-banner { padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; overflow: visible !important; }

body.site-s2 .nout-hero {
	position: relative;
	border-radius: 22px;
	overflow: hidden;
	isolation: isolate;
	box-shadow: var(--n-shadow);
}

body.site-s2 .nout-hero__track { display: grid; }

body.site-s2 .nout-hero__slide {
	grid-area: 1 / 1;
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
	align-items: center;
	gap: 16px;
	min-height: 340px;
	padding: 40px 44px 64px;
	color: #fff;
	opacity: 0;
	visibility: hidden;
	transform: translateX(24px);
	transition: opacity .55s ease, transform .55s ease, visibility .55s;
	position: relative;
	overflow: hidden;
}

body.site-s2 .nout-hero__slide.is-active { opacity: 1; visibility: visible; transform: none; z-index: 1; }

/* Темы слайдов */
body.site-s2 .nout-hero__slide--blue { background: radial-gradient(120% 140% at 85% 20%, #2a9dff 0%, #0b74de 38%, #08408f 100%); }
body.site-s2 .nout-hero__slide--night { background: radial-gradient(110% 130% at 80% 30%, #5b2bd6 0%, #261257 45%, #0b0b24 100%); }
body.site-s2 .nout-hero__slide--violet { background: radial-gradient(120% 140% at 85% 25%, #8b6cff 0%, #5a3fd6 42%, #2b1a74 100%); }
body.site-s2 .nout-hero__slide--teal { background: radial-gradient(120% 140% at 85% 25%, #34d1b6 0%, #0d8f7a 45%, #07494a 100%); }
body.site-s2 .nout-hero__slide--sky { background: radial-gradient(120% 140% at 85% 25%, #ffd27a 0%, #f59e2b 40%, #b45309 100%); }
body.site-s2 .nout-hero__slide--navy { background: radial-gradient(120% 140% at 85% 25%, #1f5fae 0%, #0f3260 45%, #0a2540 100%); }

/* Декоративная сетка и свечение */
body.site-s2 .nout-hero__slide::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: linear-gradient(rgb(255 255 255 / 6%) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 6%) 1px, transparent 1px);
	background-size: 36px 36px;
	mask-image: linear-gradient(90deg, transparent 30%, #000 75%);
	-webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 75%);
	z-index: -1;
}

body.site-s2 .nout-hero__copy { position: relative; z-index: 2; max-width: 520px; }

body.site-s2 .nout-hero__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 12px 7px 9px;
	border-radius: 999px;
	background: rgb(255 255 255 / 14%);
	backdrop-filter: blur(6px);
	color: #fff;
	font: 13px/1 robotomedium, robotobold, arial, sans-serif;
	letter-spacing: .02em;
}

body.site-s2 .nout-hero__eyebrow .nout-icon { width: 16px; height: 16px; }

body.site-s2 .nout-hero__title {
	margin: 16px 0 12px !important;
	padding: 0 !important;
	color: #fff !important;
	font: 40px/1.08 robotobold, arial, sans-serif !important;
	letter-spacing: -.02em;
	text-wrap: balance;
}

body.site-s2 .nout-hero__text { margin: 0 0 18px !important; color: rgb(255 255 255 / 84%) !important; font-size: 16px !important; line-height: 1.55 !important; max-width: 440px; }

body.site-s2 .nout-hero__facts { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }

body.site-s2 .nout-hero__fact {
	display: inline-flex;
	align-items: center;
	padding: 7px 11px;
	border-radius: 8px;
	background: rgb(255 255 255 / 12%);
	color: #fff;
	font-size: 13px;
	line-height: 1.2;
}

body.site-s2 .nout-hero__fact--price { background: var(--n-accent); color: var(--n-navy); font-family: robotobold, arial, sans-serif; }

body.site-s2 .nout-hero__cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	height: 48px;
	padding: 0 22px;
	border-radius: 12px;
	background: #fff;
	color: var(--n-navy) !important;
	font: 15px/1 robotobold, arial, sans-serif;
	text-decoration: none !important;
	box-shadow: 0 10px 24px rgb(0 0 0 / 18%);
	transition: transform .15s ease, box-shadow .15s ease;
}

body.site-s2 .nout-hero__cta:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgb(0 0 0 / 24%); }
body.site-s2 .nout-hero__cta .nout-icon { width: 18px; height: 18px; transition: transform .15s ease; }
body.site-s2 .nout-hero__cta:hover .nout-icon { transform: translateX(3px); }

/* Визуал: карточки товаров веером */
body.site-s2 .nout-hero__visual { position: relative; height: 270px; z-index: 1; }

body.site-s2 .nout-hero__glyph {
	position: absolute;
	right: -30px;
	top: 50%;
	transform: translateY(-50%);
	color: rgb(255 255 255 / 9%);
	pointer-events: none;
}

body.site-s2 .nout-hero__glyph .nout-icon { width: 320px; height: 320px; stroke-width: .8; }

body.site-s2 .nout-hero__product {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 190px;
	height: 190px;
	padding: 16px;
	border-radius: 20px;
	background: #fff;
	box-shadow: 0 22px 48px rgb(0 0 0 / 28%);
	box-sizing: border-box;
	transition: transform .5s ease;
}

body.site-s2 .nout-hero__product img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
body.site-s2 .nout-hero__product--1 { left: 50%; top: 50%; z-index: 3; transform: translate(-50%, -50%) rotate(-2deg); width: 220px; height: 220px; }
body.site-s2 .nout-hero__product--2 { left: 4%; top: 18%; z-index: 2; transform: rotate(-9deg) scale(.82); }
body.site-s2 .nout-hero__product--3 { right: 2%; top: 22%; z-index: 2; transform: rotate(8deg) scale(.8); }
body.site-s2 .nout-hero__slide.is-active .nout-hero__product--1 { animation: nout-float 6s ease-in-out infinite; }

@keyframes nout-float {
	0%, 100% { transform: translate(-50%, -50%) rotate(-2deg); }
	50% { transform: translate(-50%, calc(-50% - 8px)) rotate(-1deg); }
}

body.site-s2 .nout-hero__emblem {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 200px;
	height: 200px;
	border-radius: 50%;
	background: rgb(255 255 255 / 12%);
	box-shadow: 0 0 0 22px rgb(255 255 255 / 6%), 0 0 0 46px rgb(255 255 255 / 4%);
	color: #fff;
}

body.site-s2 .nout-hero__emblem .nout-icon { width: 96px; height: 96px; stroke-width: 1.2; }

/* Управление */
body.site-s2 .nout-hero__controls {
	position: absolute;
	left: 44px;
	right: 44px;
	bottom: 20px;
	z-index: 5;
	display: flex;
	align-items: center;
	gap: 12px;
}

body.site-s2 .nout-hero__dots { display: flex; gap: 6px; }

body.site-s2 .nout-hero__dot {
	width: 28px;
	height: 24px;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	display: flex;
	align-items: center;
}

body.site-s2 .nout-hero__dot span {
	display: block;
	width: 100%;
	height: 4px;
	border-radius: 4px;
	background: rgb(255 255 255 / 35%);
	overflow: hidden;
	position: relative;
}

body.site-s2 .nout-hero__dot.is-active { width: 44px; }
body.site-s2 .nout-hero__dot.is-active span { background: rgb(255 255 255 / 35%); }
body.site-s2 .nout-hero__dot.is-active span::after { content: ""; position: absolute; inset: 0; background: #fff; border-radius: 4px; }
body.site-s2 .nout-hero.is-playing .nout-hero__dot.is-active span::after { transform-origin: left; animation: nout-progress 6.5s linear forwards; }

@keyframes nout-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

body.site-s2 .nout-hero__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgb(255 255 255 / 16%);
	color: #fff;
	cursor: pointer;
	transition: background .15s ease;
}

body.site-s2 .nout-hero__arrow:hover { background: rgb(255 255 255 / 30%); }
body.site-s2 .nout-hero__arrow .nout-icon { width: 18px; height: 18px; }
body.site-s2 .nout-hero__arrow--prev .nout-icon { transform: rotate(180deg); }
/* Порядок: полоски слева, стрелки справа */
body.site-s2 .nout-hero__dots { order: 1; }
body.site-s2 .nout-hero__arrow--prev { order: 2; margin-left: auto; }
body.site-s2 .nout-hero__arrow--next { order: 3; }

@media (prefers-reduced-motion: reduce) {
	body.site-s2 .nout-hero__slide,
	body.site-s2 .nout-hero__product { transition: none; }
	body.site-s2 .nout-hero__slide.is-active .nout-hero__product--1 { animation: none; }
}

/* Боковая панель главной: иконки вместо картинок */
html body.site-s2 .nout-home-categories li a { display: flex !important; align-items: center; gap: 12px; }
html body.site-s2 .nout-home-categories li a .nout-cat-icon { width: 34px; height: 34px; }
html body.site-s2 .nout-home-categories li a:hover .nout-cat-icon { transform: scale(1.06); }

/* =====================================================================
   КАТАЛОГ: карточки разделов с иконками
   ===================================================================== */

html body.site-s2 .nout-catalog-group__heading h2 { display: flex !important; align-items: center; gap: 14px; }

html body.site-s2 .nout-category-card__main { display: flex !important; align-items: center; gap: 16px; }
html body.site-s2 .nout-category-card__visual {
	flex: 0 0 auto;
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	background: none !important;
	border: 0 !important;
	order: -1;
}

html body.site-s2 .nout-category-card:hover .nout-cat-icon { transform: scale(1.06) rotate(-3deg); }
html body.site-s2 .nout-category-card__copy { flex: 1 1 auto; min-width: 0; }

html body.site-s2 .nout-category-sublinks a { display: inline-flex !important; align-items: center; gap: 8px; }

/* =====================================================================
   ФУТЕР
   ===================================================================== */

html body.site-s2 .nout-footer {
	margin-top: 48px;
	background: var(--n-navy) !important;
	color: #b8c7db;
	font-size: 14px;
	line-height: 1.5;
	padding: 0 !important;
	border: 0 !important;
	float: none !important;
	width: auto !important;
	height: auto !important;
}

body.site-s2 .nout-footer a { color: #d7e2f0 !important; text-decoration: none !important; }
body.site-s2 .nout-footer a:hover { color: #fff !important; }

body.site-s2 .nout-footer__benefits { background: linear-gradient(90deg, #0b74de 0%, #1590ff 100%); }

body.site-s2 .nout-footer__benefits-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	padding-top: 22px !important;
	padding-bottom: 22px !important;
}

body.site-s2 .nout-benefit {
	display: flex;
	align-items: center;
	gap: 14px;
	color: #fff !important;
}

body.site-s2 .nout-benefit__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 46px;
	height: 46px;
	border-radius: 12px;
	background: rgb(255 255 255 / 16%);
	color: #fff;
}

body.site-s2 .nout-benefit__icon .nout-icon { width: 24px; height: 24px; }
body.site-s2 .nout-benefit strong { display: block; color: #fff; font: 15px/1.3 robotobold, arial, sans-serif; }
body.site-s2 .nout-benefit small { display: block; color: rgb(255 255 255 / 80%); font-size: 13px; line-height: 1.4; }
body.site-s2 a.nout-benefit:hover .nout-benefit__icon { background: rgb(255 255 255 / 26%); }

body.site-s2 .nout-footer__main {
	display: grid;
	grid-template-columns: minmax(260px, 1.3fr) repeat(3, minmax(0, 1fr));
	gap: 40px;
	padding-top: 48px !important;
	padding-bottom: 40px !important;
}

body.site-s2 .nout-footer__logo { display: inline-block; line-height: 0; }
body.site-s2 .nout-footer__logo img { width: 170px; height: auto; filter: brightness(0) invert(1); }
body.site-s2 .nout-footer__about { margin: 16px 0 20px; color: #9fb2cb; max-width: 320px; }

body.site-s2 .nout-footer__phones { display: grid; gap: 8px; margin-bottom: 14px; }
body.site-s2 .nout-footer__phones a { display: inline-flex; align-items: center; gap: 10px; color: #fff !important; font: 20px/1.2 robotobold, arial, sans-serif; }
body.site-s2 .nout-footer__phones .nout-icon { width: 18px; height: 18px; color: #5aa9ff; }

body.site-s2 .nout-footer__callback {
	display: inline-flex;
	align-items: center;
	height: 40px;
	padding: 0 16px;
	border-radius: 10px;
	border: 1px solid rgb(255 255 255 / 22%);
	color: #fff !important;
	font: 14px/1 robotomedium, robotobold, arial, sans-serif;
}

body.site-s2 .nout-footer__callback:hover { background: rgb(255 255 255 / 10%); }

body.site-s2 .nout-footer__socials { display: flex; gap: 8px; margin-top: 18px; }
body.site-s2 .nout-footer__socials a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: rgb(255 255 255 / 8%);
	color: #fff !important;
}
body.site-s2 .nout-footer__socials a:hover { background: var(--n-blue); }

body.site-s2 .nout-footer__title {
	margin: 0 0 16px !important;
	padding: 0 !important;
	color: #fff !important;
	font: 16px/1.2 robotobold, arial, sans-serif !important;
	text-transform: none !important;
	letter-spacing: 0;
}

body.site-s2 .nout-footer__col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
body.site-s2 .nout-footer__col li { margin: 0; padding: 0; list-style: none; background: none; }
body.site-s2 .nout-footer__col li::before { display: none !important; }
body.site-s2 .nout-footer__col li a { display: inline-flex; align-items: center; gap: 10px; }
body.site-s2 .nout-footer .nout-cat-icon { background: rgb(255 255 255 / 8%); box-shadow: none; color: #8cc4ff; }
body.site-s2 .nout-footer__col li a:hover .nout-cat-icon { background: var(--n-blue); color: #fff; }

body.site-s2 .nout-footer__contact { display: flex !important; gap: 10px; align-items: flex-start; color: #d7e2f0; }
body.site-s2 .nout-footer__contact .nout-icon { width: 18px; height: 18px; margin-top: 1px; color: #5aa9ff; }
body.site-s2 .nout-footer__hours { display: block; }

body.site-s2 .nout-footer__bottom { border-top: 1px solid rgb(255 255 255 / 10%); }
body.site-s2 .nout-footer__bottom-inner {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 8px 24px;
	padding-top: 18px !important;
	padding-bottom: 18px !important;
	color: #7f93ad;
	font-size: 13px;
}

body.site-s2 .nout-footer__bottom-inner a { color: #9fb2cb !important; }

/* Нижняя мобильная панель — только на телефонах */
body.site-s2 .nout-tabbar { display: none; }

/* Старые элементы футера dresscode на NOUT.KG не нужны */
html body.site-s2 #footerLine,
html body.site-s2 #upButton { display: none !important; }

/* =====================================================================
   АДАПТИВ
   ===================================================================== */

@media (max-width: 1280px) {
	body.site-s2 .nout-header-phone__hint { display: none; }
	body.site-s2 .nout-topbar__item:first-child { display: none; }
	html body.site-s2 .nout-header .nout-category-nav { overflow-x: auto !important; scrollbar-width: none; }
	html body.site-s2 .nout-header .nout-category-nav::-webkit-scrollbar { display: none; }
}

@media (max-width: 1100px) {
	html body.site-s2 .nout-logo img { width: 150px !important; }
	body.site-s2 .nout-header-phone__copy { display: none; }
	html body.site-s2 .nout-header-phone__toggle { padding: 0 !important; width: 48px; justify-content: center; background: var(--n-blue-50) !important; }
	html body.site-s2 .nout-header-phone__icon { background: transparent !important; }
	html body.site-s2 #noutHeader #flushTopCart .heading { display: none !important; }
	html body.site-s2 .nout-header .nout-cart { padding: 0 !important; width: 48px !important; justify-content: center; }
	html body.site-s2 #noutHeader #flushTopCart .countLink { left: auto !important; right: 3px !important; top: 3px !important; }
	html body.site-s2 #noutHeader #flushTopCart .countLink.active::after { content: ""; position: absolute; inset: -6px -3px -30px -30px; }

	body.site-s2 .nout-hero__slide { grid-template-columns: 1fr 1fr; padding: 32px 32px 64px; min-height: 300px; }
	body.site-s2 .nout-hero__title { font-size: 32px !important; }
	body.site-s2 .nout-hero__product { width: 150px; height: 150px; }
	body.site-s2 .nout-hero__product--1 { width: 180px; height: 180px; }
	body.site-s2 .nout-hero__controls { left: 32px; right: 32px; }

	body.site-s2 .nout-footer__main { grid-template-columns: 1fr 1fr; }
	body.site-s2 .nout-footer__benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
}

@media (max-width: 768px) {
	html body.site-s2 .limiter { padding-left: 16px; padding-right: 16px; }

	body.site-s2 .nout-topbar { display: none; }

	html body.site-s2 .nout-mainbar__inner {
		display: grid;
		grid-template-columns: auto 1fr auto;
		grid-template-areas: "catalog logo tools" "search search search";
		gap: 10px 10px;
		min-height: 0;
		padding-top: 10px !important;
		padding-bottom: 10px !important;
	}

	html body.site-s2 .nout-header .ultra-catalog-shell { grid-area: catalog; }
	html body.site-s2 .nout-logo { grid-area: logo; justify-self: center; margin: 0 !important; }
	html body.site-s2 .nout-logo img { width: 128px !important; }
	html body.site-s2 .nout-header-tools { grid-area: tools; gap: 8px; }
	html body.site-s2 .nout-header .nout-search { grid-area: search; }

	html body.site-s2 .nout-header .nout-catalog__button { width: 44px !important; height: 44px !important; min-height: 44px; padding: 0 !important; justify-content: center; border-radius: 12px !important; box-shadow: none !important; }
	html body.site-s2 .nout-catalog__label { display: none; }
	html body.site-s2 .nout-header-phone__toggle,
	html body.site-s2 .nout-header .nout-cart { width: 44px !important; height: 44px; }
	html body.site-s2 .nout-header .nout-contact-popover { display: none; }
	/* Звонок на телефоне — в нижней панели */
	html body.site-s2 .nout-header-phone { display: none !important; }
	html body.site-s2 .nout-home-welcome .nout-home-button { display: none !important; }
	html body.site-s2 #nout-home-title { font-size: 26px !important; line-height: 1.15 !important; }

	html body.site-s2 #noutHeader #topSearch2 .searchContainer,
	html body.site-s2 #noutHeader #topSearch2 #searchQuery { height: 42px !important; line-height: 42px !important; }
	html body.site-s2 #noutHeader #topSearch2 #goSearch {
	filter: none !important; min-width: 0; width: 40px !important; height: 34px !important; padding: 0 !important; background: var(--n-blue) 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.2' stroke-linecap='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") no-repeat 50% 50% / 18px 18px !important; }
	html body.site-s2 #noutHeader #topSearch2 #searchQuery { padding-left: 42px !important; background-position: 14px 50% !important; font-size: 16px !important; }

	/* Категории — горизонтальная лента «чипсов» */
	html body.site-s2 #noutHeader .nout-category-bar { display: block !important; border-top: 0 !important; }
	html body.site-s2 .nout-header .nout-category-nav { gap: 8px; padding: 0 0 10px !important; overflow-x: auto !important; scroll-snap-type: x proximity; }
	html body.site-s2 .nout-header .nout-category-nav__item { scroll-snap-align: start; }
	html body.site-s2 .nout-header .nout-category-nav__link { height: 40px !important; padding: 0 12px 0 4px !important; border-radius: 12px !important; background: var(--n-ice) !important; font-size: 13px !important; gap: 8px; }
	html body.site-s2 .nout-header .nout-category-nav__link::after,
	html body.site-s2 .nout-header .nout-category-nav__chevron,
	html body.site-s2 .nout-header .nout-category-nav__dropdown { display: none !important; }
	html body.site-s2 .nout-header .nout-category-nav__link .nout-cat-icon { width: 30px; height: 30px; border-radius: 9px; }
	html body.site-s2 .nout-header .nout-category-nav__link .nout-cat-icon svg { width: 18px; height: 18px; }

	/* Баннеры */
	body.site-s2 .nout-hero { border-radius: 18px; }
	body.site-s2 .nout-hero__slide { grid-template-columns: 1fr; gap: 0; padding: 22px 20px 58px; min-height: 0; align-content: start; }
	body.site-s2 .nout-hero__title { font-size: 25px !important; margin: 12px 0 8px !important; }
	body.site-s2 .nout-hero__text { font-size: 14px !important; margin-bottom: 14px !important; }
	body.site-s2 .nout-hero__facts { margin-bottom: 16px; }
	body.site-s2 .nout-hero__cta { height: 44px; padding: 0 18px; font-size: 14px; }
	body.site-s2 .nout-hero__visual { order: -1; height: 150px; margin: -6px -8px 10px; }
	body.site-s2 .nout-hero__glyph { display: none; }
	body.site-s2 .nout-hero__product { width: 104px; height: 104px; padding: 10px; border-radius: 16px; }
	body.site-s2 .nout-hero__product--1 { width: 132px; height: 132px; }
	body.site-s2 .nout-hero__product--2 { left: 2%; top: 14%; }
	body.site-s2 .nout-hero__product--3 { right: 2%; top: 16%; }
	body.site-s2 .nout-hero__emblem { width: 120px; height: 120px; box-shadow: 0 0 0 14px rgb(255 255 255 / 6%), 0 0 0 28px rgb(255 255 255 / 4%); }
	body.site-s2 .nout-hero__emblem .nout-icon { width: 58px; height: 58px; }
	body.site-s2 .nout-hero__controls { left: 20px; right: 20px; bottom: 14px; }
	body.site-s2 .nout-hero__arrow { width: 32px; height: 32px; }

	/* Футер */
	html body.site-s2 .nout-footer { margin-top: 32px; padding-bottom: calc(68px + env(safe-area-inset-bottom)) !important; }
	body.site-s2 .nout-footer__benefits-grid { grid-template-columns: 1fr 1fr; gap: 14px 12px; padding-top: 18px !important; padding-bottom: 18px !important; }
	body.site-s2 .nout-benefit { gap: 10px; align-items: flex-start; }
	body.site-s2 .nout-benefit__icon { width: 38px; height: 38px; border-radius: 10px; }
	body.site-s2 .nout-benefit__icon .nout-icon { width: 20px; height: 20px; }
	body.site-s2 .nout-benefit strong { font-size: 13px; }
	body.site-s2 .nout-benefit small { font-size: 12px; }
	body.site-s2 .nout-footer__main { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-top: 32px !important; padding-bottom: 28px !important; }
	body.site-s2 .nout-footer__brand { grid-column: 1 / -1; }
	body.site-s2 .nout-footer__contacts { grid-column: 1 / -1; }
	body.site-s2 .nout-footer__bottom-inner { flex-direction: column; }

	/* Нижняя панель */
	body.site-s2 .nout-tabbar {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 1300;
		display: grid;
		grid-auto-flow: column;
		grid-auto-columns: 1fr;
		padding: 6px 6px calc(6px + env(safe-area-inset-bottom));
		background: rgb(255 255 255 / 96%);
		backdrop-filter: blur(12px);
		border-top: 1px solid var(--n-line);
		box-shadow: 0 -8px 24px rgb(10 37 64 / 8%);
	}

	body.site-s2 .nout-tabbar__item {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 3px;
		min-height: 50px;
		border-radius: 12px;
		color: var(--n-muted) !important;
		font: 11px/1 robotomedium, robotoregular, arial, sans-serif;
		text-decoration: none !important;
	}

	body.site-s2 .nout-tabbar__item .nout-icon { width: 22px; height: 22px; }
	body.site-s2 .nout-tabbar__item:active { background: var(--n-ice); }
	body.site-s2 .nout-tabbar__item--accent { color: #fff !important; background: var(--n-blue); margin: 0 4px; box-shadow: 0 6px 16px rgb(11 116 222 / 35%); }
	body.site-s2 .nout-tabbar__cart { position: relative; display: inline-flex; }
	body.site-s2 .nout-tabbar__count {
		position: absolute;
		top: -6px;
		right: -10px;
		min-width: 17px;
		height: 17px;
		padding: 0 4px;
		border-radius: 9px;
		background: var(--n-accent);
		color: var(--n-navy);
		font: 10px/17px robotobold, arial, sans-serif;
		text-align: center;
		box-sizing: border-box;
	}

	body.site-s2 .nout-tabbar__count[hidden] { display: none; }
	html.nout-catalog-open body.site-s2 .nout-tabbar { display: none; }

	/* Старые плавающие кнопки (cookie, «наверх») не должны перекрываться панелью */
	html body.site-s2 .cookie-notice,
	html body.site-s2 #cookieNotice { bottom: calc(70px + env(safe-area-inset-bottom)) !important; }
}

@media (max-width: 420px) {
	body.site-s2 .nout-hero__title { font-size: 23px !important; }
	body.site-s2 .nout-hero__fact { font-size: 12px; padding: 6px 9px; }
	body.site-s2 .nout-footer__main { grid-template-columns: 1fr; }
	body.site-s2 .nout-footer__benefits-grid { grid-template-columns: 1fr 1fr; }
}
