/* =====================================================================
   Гид по видам нанесения — /solutions/production/gid-po-naneseniyu/ (Б24 59840)

   Все правила идут от #hgg, а не от класса: легаси style.css задаёт шрифт
   вложенным p/li/span/td по селекторам вида `.main-blocks-content-default
   .main-content span` (0,2,1) и медиазапросам 200/768/1000-1365/1366/1920px,
   значения скачут от 11 до 18px. Id-префикс перебивает их без !important.
   !important оставлен только там, где !important стоит в самом легаси:
   размер h1-h3 (styles-proizvodstvo.css: h2 {1.5em !important}), цвет button,
   отступы ul, цвет ссылок при наведении.
   ===================================================================== */

/* Липкая навигация по разделам: у обёрток сайта стоит overflow:hidden — у .main-container
   от 768px, у .main-section до 670px (замерено на проде) — и внутри них sticky не работает.
   clip режет содержимое так же, но не делает обёртку прокручиваемой; flow-root сохраняет
   отдельный контекст, который давал hidden, иначе отступ шапки «проваливается» наружу.
   :has(#hgg) — правила действуют только на странице гида. */
@media (min-width: 768px) {
	.main-container:has(#hgg) { overflow: clip; display: flow-root; }
}
@media (max-width: 670px) {
	.main-section:has(#hgg) { overflow: clip; display: flow-root; }
}

#hgg {
	--hgg-yellow: #ffe500;
	--hgg-yellow-soft: #fffbe0;
	--hgg-black: #000;
	--hgg-graphite: #474a55;
	--hgg-muted: #62646e;
	--hgg-line: #e3e4e8;
	--hgg-line-strong: #d7d7d7;
	--hgg-soft: #f4f4f7;
	--hgg-soft-2: #fafafb;
	--hgg-font: 'Montserrat', Arial, sans-serif;

	font-family: var(--hgg-font);
	font-size: 15px;
	line-height: 1.6;
	color: var(--hgg-black);
	margin: 0 0 72px;
	-webkit-text-size-adjust: 100%;
	container: hgg / inline-size;
}
#hgg *,
#hgg *::before,
#hgg *::after { box-sizing: border-box; }
#hgg [hidden] { display: none !important; }

/* Базовый сброс: легаси раздаёт p/li/span свои размеры и отступы */
#hgg p,
#hgg li,
#hgg span,
#hgg td,
#hgg th,
#hgg dt,
#hgg dd,
#hgg figcaption,
#hgg blockquote {
	font-family: var(--hgg-font);
	font-size: inherit;
	line-height: inherit;
	margin: 0;
}
#hgg h1,
#hgg h2,
#hgg h3 { font-family: var(--hgg-font); color: var(--hgg-black); margin: 0; padding: 0; }
#hgg a { color: inherit; text-decoration: none; }
#hgg a:hover { color: inherit !important; }
#hgg img { max-width: 100%; height: auto; border: 0; }
#hgg ol,
#hgg ul { list-style: none !important; margin: 0 !important; padding: 0; }
#hgg b,
#hgg strong { font-weight: 700; color: var(--hgg-black); }

/* ---------- Общие элементы ---------- */
#hgg .hgg-sec { margin-top: 72px; scroll-margin-top: 76px; }

#hgg .hgg-eyebrow {
	font-size: 12px;
	line-height: 1.4;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: rgba(0, 0, 0, .72);
}
#hgg .hgg-eyebrow--muted { color: var(--hgg-muted); }
#hgg .hgg-eyebrow--yellow { color: var(--hgg-yellow); }

#hgg .hgg-h2 {
	margin-top: 10px;
	font-size: clamp(24px, 2.6vw, 32px) !important;
	line-height: 1.15 !important;
	font-weight: 700;
	letter-spacing: -.01em;
	text-transform: uppercase;
}
#hgg .hgg-h2--light { color: #fff; }
#hgg .hgg-h3 {
	font-size: 22px !important;
	line-height: 1.25 !important;
	font-weight: 700;
	letter-spacing: -.01em;
}
#hgg .hgg-h3__num {
	display: inline-block;
	margin-right: 10px;
	font-size: 13px;
	line-height: 1;
	font-weight: 700;
	vertical-align: 3px;
	color: var(--hgg-muted);
	letter-spacing: .06em;
}

#hgg .hgg-text { font-size: 15px; line-height: 1.6; color: var(--hgg-graphite); margin-top: 14px; }
#hgg .hgg-text--narrow { max-width: 64ch; }

#hgg .hgg-label {
	font-size: 11px;
	line-height: 1.4;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--hgg-muted);
}
#hgg .hgg-label--gap { margin-top: 22px; }

#hgg .hgg-badge {
	display: inline-block;
	font-size: 11px;
	line-height: 1.3;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	padding: 5px 10px;
	border-radius: 6px;
	white-space: nowrap;
}
#hgg .hgg-badge--yellow { background: var(--hgg-yellow); color: var(--hgg-black); }
#hgg .hgg-badge--grey { background: var(--hgg-soft); color: var(--hgg-graphite); }

#hgg .hgg-tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* Кнопки: легаси красит ссылки в чёрный и в жёлтый при наведении — цвет держим !important */
#hgg .hgg-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 22px;
	border-radius: 12px;
	font-size: 15px;
	line-height: 1.3;
	font-weight: 600;
	text-align: center;
	transition: background-color .15s ease, border-color .15s ease;
}
#hgg .hgg-btn--dark,
#hgg .hgg-btn--dark:hover,
#hgg .hgg-btn--dark:focus { background: var(--hgg-black); color: #fff !important; }
#hgg .hgg-btn--dark:hover { background: var(--hgg-graphite); }
#hgg .hgg-btn--light,
#hgg .hgg-btn--light:hover,
#hgg .hgg-btn--light:focus { background: #fff; color: var(--hgg-black) !important; border: 1.5px solid rgba(0, 0, 0, .15); }
#hgg .hgg-btn--light:hover { border-color: var(--hgg-black); }

#hgg a:focus-visible,
#hgg button:focus-visible,
#hgg .hgg-table-wrap:focus-visible { outline: 2px solid var(--hgg-black); outline-offset: 2px; }

/* Чипы-переключатели: легаси держит button { color:#000 !important } — он совпадает с нужным */
#hgg .hgg-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
#hgg .hgg-chip {
	-webkit-appearance: none;
	appearance: none;
	margin: 0;
	height: auto;
	padding: 9px 16px;
	border: 1.5px solid var(--hgg-line-strong);
	border-radius: 10px;
	background: #fff;
	box-shadow: none;
	font-family: var(--hgg-font);
	font-size: 14px;
	line-height: 1.3;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
	color: var(--hgg-black) !important;
	cursor: pointer;
	transition: background-color .15s ease, border-color .15s ease;
}
#hgg .hgg-chip:hover { border-color: var(--hgg-black); }
#hgg .hgg-chip[aria-pressed="true"] { background: var(--hgg-yellow); border-color: var(--hgg-yellow); font-weight: 700; }

#hgg .hgg-card {
	border: 1.5px solid var(--hgg-line);
	border-radius: 20px;
	padding: 28px;
	background: #fff;
}
#hgg .hgg-card__head {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 16px;
	align-items: center;
	justify-content: space-between;
}
#hgg .hgg-list { display: grid; gap: 16px; margin-top: 28px; }

#hgg .hgg-note { border-radius: 12px; padding: 14px 16px; }
#hgg .hgg-note p { margin-top: 6px; font-size: 14px; line-height: 1.6; color: var(--hgg-graphite); }
#hgg .hgg-note--yellow { background: var(--hgg-yellow); }
#hgg .hgg-note--yellow .hgg-label { color: rgba(0, 0, 0, .72); }
#hgg .hgg-note--yellow p { color: var(--hgg-black); }
#hgg .hgg-note--yes { background: var(--hgg-yellow-soft); border: 1.5px solid var(--hgg-yellow); }
#hgg .hgg-note--yes .hgg-label { color: rgba(0, 0, 0, .72); }
#hgg .hgg-note--yes p { color: var(--hgg-black); }
#hgg .hgg-note--no { background: var(--hgg-soft); border: 1.5px solid var(--hgg-soft); }

#hgg .hgg-more {
	display: inline-block;
	margin-top: 12px;
	font-size: 13px;
	line-height: 1.4;
	font-weight: 600;
	color: var(--hgg-black);
}
#hgg .hgg-more--link { margin-top: 18px; border-bottom: 1.5px solid var(--hgg-yellow); padding-bottom: 2px; }
#hgg .hgg-more--link:hover { border-bottom-color: var(--hgg-black); }

/* ---------- Первый экран ---------- */
#hgg .hgg-hero {
	background: var(--hgg-yellow);
	border-radius: 32px;
	padding: 56px 48px 44px;
}
#hgg .hgg-hero__title {
	margin-top: 16px;
	max-width: 16ch;
	font-size: clamp(32px, 4.4vw, 56px) !important;
	line-height: 1.04 !important;
	font-weight: 700;
	letter-spacing: -.01em;
	text-transform: uppercase;
}
#hgg .hgg-hero__lead {
	margin-top: 20px;
	max-width: 60ch;
	font-size: 17px;
	line-height: 1.55;
	color: var(--hgg-black);
}
#hgg .hgg-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
#hgg .hgg-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	margin-top: 40px;
}
#hgg .hgg-stat { background: #fff; border-radius: 14px; padding: 16px 18px; }
#hgg .hgg-stat__value { font-size: 26px; line-height: 1.15; font-weight: 700; letter-spacing: -.01em; }
#hgg .hgg-stat__label { margin-top: 6px; font-size: 13px; line-height: 1.45; color: var(--hgg-graphite); }

/* ---------- Навигация по разделам: липнет к верху, шапка сайта не липкая ---------- */
#hgg .hgg-nav {
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	z-index: 30;
	margin-top: 20px;
	padding: 8px 0;
	background: rgba(255, 255, 255, .96);
	border-bottom: 1.5px solid var(--hgg-line);
}
#hgg .hgg-nav__list {
	display: flex;
	gap: 6px;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
#hgg .hgg-nav__list::-webkit-scrollbar { display: none; }
#hgg .hgg-nav__link {
	flex: 0 0 auto;
	padding: 8px 14px;
	border-radius: 10px;
	font-size: 14px;
	line-height: 1.3;
	font-weight: 600;
	color: var(--hgg-graphite);
	white-space: nowrap;
	transition: background-color .15s ease;
}
#hgg .hgg-nav__link:hover { background: var(--hgg-soft); color: var(--hgg-black) !important; }
#hgg .hgg-nav__link.is-active { background: var(--hgg-yellow); color: var(--hgg-black) !important; }

/* ---------- Зачем это ---------- */
#hgg .hgg-intro {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px 40px;
	align-items: start;
	margin-top: 56px;
}
#hgg .hgg-steps { display: grid; gap: 12px; }
#hgg .hgg-step {
	display: flex;
	gap: 14px;
	border: 1.5px solid var(--hgg-line);
	border-radius: 14px;
	padding: 16px;
	font-size: 14px;
	line-height: 1.55;
	color: var(--hgg-graphite);
}
#hgg .hgg-step__num {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 8px;
	background: var(--hgg-graphite);
	color: var(--hgg-yellow);
	font-size: 13px;
	line-height: 1;
}

/* ---------- Подбор ---------- */
#hgg .hgg-pick {
	display: grid;
	gap: 24px;
	margin-top: 28px;
	padding: 28px;
	border: 1.5px solid var(--hgg-line);
	border-radius: 20px;
	background: var(--hgg-soft-2);
}
#hgg .hgg-pick__results { border-top: 1.5px solid var(--hgg-line); padding-top: 24px; }
#hgg .hgg-matches {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 12px;
	margin-top: 14px;
}
#hgg .hgg-match {
	display: block;
	padding: 18px;
	border: 1.5px solid var(--hgg-line);
	border-radius: 14px;
	background: #fff;
	transition: border-color .15s ease, box-shadow .15s ease;
}
#hgg .hgg-match:hover { border-color: var(--hgg-yellow); box-shadow: 0 6px 18px rgba(0, 0, 0, .08); }
#hgg .hgg-match__head { display: flex; gap: 8px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
#hgg .hgg-match__name { font-size: 17px; line-height: 1.3; font-weight: 700; }
#hgg .hgg-match__why { display: block; margin-top: 8px; font-size: 14px; line-height: 1.55; color: var(--hgg-graphite); }
#hgg .hgg-pitch {
	margin-top: 16px;
	padding: 16px 18px;
	border-radius: 14px;
	background: var(--hgg-yellow);
	font-size: 14px;
	line-height: 1.6;
}

/* ---------- Сценарии ---------- */
#hgg .hgg-facts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin-top: 20px;
}
#hgg .hgg-fact { background: var(--hgg-soft-2); border: 1.5px solid var(--hgg-line); border-radius: 12px; padding: 14px 16px; }
#hgg .hgg-fact p { margin-top: 6px; font-size: 14px; line-height: 1.55; color: var(--hgg-graphite); }
#hgg .hgg-scenario .hgg-note--yellow { margin-top: 12px; }
#hgg .hgg-phrase {
	margin: 16px 0 0;
	padding: 2px 0 2px 16px;
	border: 0;
	border-left: 3px solid var(--hgg-graphite);
	background: none;
	font-style: normal;
}
#hgg .hgg-phrase p { margin-top: 4px; font-size: 15px; line-height: 1.6; color: var(--hgg-black); }

/* ---------- Галереи: товары сценариев и примеры технологий ---------- */
#hgg .hgg-gallery {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 240px));
	gap: 20px;
	margin-top: 14px;
}
#hgg .hgg-figure { margin: 0; }
/* У фото свой почти белый фон — на сером подложке multiply растворяет его без «рамки» */
#hgg .hgg-photo {
	display: flex;
	align-items: center;
	justify-content: center;
	aspect-ratio: 1 / 1;
	padding: 14px;
	background: var(--hgg-soft);
	border: 1.5px solid var(--hgg-soft);
	border-radius: 16px;
	overflow: hidden;
}
#hgg .hgg-photo img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	mix-blend-mode: multiply;
}
#hgg .hgg-figure figcaption { margin-top: 10px; font-size: 13px; line-height: 1.4; font-weight: 600; color: var(--hgg-graphite); }
#hgg .hgg-product { display: block; }
#hgg .hgg-product .hgg-photo { transition: border-color .15s ease, box-shadow .15s ease; }
#hgg .hgg-product:hover .hgg-photo { border-color: var(--hgg-yellow); box-shadow: 0 6px 18px rgba(0, 0, 0, .08); }
#hgg .hgg-product__name { display: block; margin-top: 10px; font-size: 13px; line-height: 1.4; font-weight: 700; color: var(--hgg-black); }
#hgg .hgg-product:hover .hgg-product__name { text-decoration: underline; text-decoration-color: var(--hgg-yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
#hgg .hgg-product__sku { display: block; margin-top: 2px; font-size: 13px; line-height: 1.4; color: var(--hgg-graphite); }
#hgg .hgg-product__tech {
	display: block;
	margin-top: 4px;
	font-size: 10px;
	line-height: 1.4;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--hgg-muted);
}

/* ---------- Технологии ---------- */
#hgg .hgg-chips--filter { margin-top: 20px; }
#hgg .hgg-tech { scroll-margin-top: 76px; }
#hgg .hgg-tech__title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
#hgg .hgg-tech .hgg-h3 { font-size: 24px !important; }
#hgg .hgg-tech__group {
	font-size: 11px;
	line-height: 1.4;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--hgg-muted);
}
#hgg .hgg-tech__lede { max-width: 80ch; }
#hgg .hgg-tech .hgg-gallery { margin-top: 20px; }
#hgg .hgg-specs {
	margin: 20px 0 0;
	padding: 4px 20px;
	border-radius: 16px;
	background: var(--hgg-soft-2);
	border: 1.5px solid var(--hgg-line);
}
#hgg .hgg-spec {
	display: grid;
	grid-template-columns: minmax(130px, 20%) 1fr;
	gap: 6px 24px;
	align-items: baseline;
	padding: 14px 0;
}
#hgg .hgg-spec + .hgg-spec { border-top: 1px solid var(--hgg-line); }
#hgg .hgg-spec dt {
	font-size: 11px;
	line-height: 1.4;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--hgg-muted);
}
#hgg .hgg-spec dd { font-size: 14px; line-height: 1.55; color: var(--hgg-graphite); }
#hgg .hgg-when {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-top: 12px;
}
#hgg .hgg-tech__aside { margin-top: 14px; font-size: 13px; line-height: 1.55; color: var(--hgg-muted); }

/* ---------- Сравнение ---------- */
#hgg .hgg-table-wrap {
	margin-top: 24px;
	border: 1.5px solid var(--hgg-line);
	border-radius: 20px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}
#hgg .hgg-table {
	width: 100%;
	min-width: 860px;
	border-collapse: separate;
	border-spacing: 0;
	font-size: 13px;
	line-height: 1.45;
	margin: 0;
}
#hgg .hgg-table thead th {
	padding: 14px 16px;
	background: var(--hgg-graphite);
	color: #fff;
	font-size: 10px;
	line-height: 1.4;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	text-align: left;
	white-space: nowrap;
	border: 0;
}
#hgg .hgg-table tbody th,
#hgg .hgg-table tbody td {
	padding: 12px 16px;
	border: 0;
	border-top: 1px solid var(--hgg-line);
	text-align: left;
	vertical-align: top;
	font-size: 13px;
	line-height: 1.45;
	color: var(--hgg-graphite);
	background: #fff;
}
#hgg .hgg-table tbody th { font-weight: 600; color: var(--hgg-black); }
#hgg .hgg-table tbody th a { border-bottom: 1.5px solid var(--hgg-yellow); }
#hgg .hgg-table tbody th a:hover { border-bottom-color: var(--hgg-black); }
#hgg .hgg-table tbody tr:hover th,
#hgg .hgg-table tbody tr:hover td { background: var(--hgg-soft-2); }
/* Первая колонка остаётся на месте, когда таблицу листают вбок */
#hgg .hgg-table th:first-child {
	position: -webkit-sticky;
	position: sticky;
	left: 0;
	z-index: 1;
	min-width: 180px;
}
#hgg .hgg-table tbody th:first-child { box-shadow: 1px 0 0 var(--hgg-line); }
#hgg .hgg-footnote { margin-top: 12px; font-size: 13px; line-height: 1.55; color: var(--hgg-muted); max-width: 110ch; }
#hgg .hgg-footnote a { color: var(--hgg-black); font-weight: 600; border-bottom: 1.5px solid var(--hgg-yellow); white-space: nowrap; }
#hgg .hgg-footnote a:hover { border-bottom-color: var(--hgg-black); }

/* ---------- Шпаргалка ---------- */
#hgg .hgg-cheats { background: var(--hgg-graphite); border-radius: 32px; padding: 40px; }
#hgg .hgg-cheats__list { display: grid; gap: 10px; margin-top: 24px; }
#hgg .hgg-cheat {
	display: grid;
	grid-template-columns: minmax(0, .8fr) minmax(0, 1.1fr) minmax(0, 1.1fr);
	gap: 8px 20px;
	align-items: baseline;
	padding: 16px 18px;
	border-radius: 14px;
	background: rgba(255, 255, 255, .08);
}
#hgg .hgg-cheat__title { font-size: 16px; line-height: 1.35; font-weight: 700; color: var(--hgg-yellow); }
#hgg .hgg-cheat__techs { font-size: 14px; line-height: 1.55; color: #fff; }
#hgg .hgg-cheat__arg { font-size: 14px; line-height: 1.55; color: rgba(255, 255, 255, .8); }

/* ---------- Вопросы ---------- */
#hgg .hgg-faq {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-top: 24px;
}
#hgg .hgg-faq__item { border: 1.5px solid var(--hgg-line); border-radius: 14px; padding: 18px 20px; }
#hgg .hgg-faq__q {
	font-size: 12px !important;
	line-height: 1.45 !important;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}
#hgg .hgg-faq__a { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--hgg-graphite); }

/* ---------- Призыв ---------- */
#hgg .hgg-cta {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	gap: 24px 40px;
	align-items: center;
	padding: 44px 40px;
	border-radius: 32px;
	background: var(--hgg-yellow);
}
#hgg .hgg-cta .hgg-h2 { margin-top: 0; }
#hgg .hgg-cta__text { margin-top: 14px; max-width: 52ch; font-size: 15px; line-height: 1.6; color: var(--hgg-black); }
#hgg .hgg-cta__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }

/* ---------- Узкая колонка ----------
   Раскладку переключаем по ширине самой колонки гида, а не экрана: на 768-1100px
   сайт ещё показывает левое меню, и колонке остаётся 430-700px. */
@container hgg (max-width: 900px) {
	#hgg .hgg-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	#hgg .hgg-intro { grid-template-columns: 1fr; }
	#hgg .hgg-facts { grid-template-columns: 1fr; }
	#hgg .hgg-faq { grid-template-columns: 1fr; }
	#hgg .hgg-cheat { grid-template-columns: 1fr; gap: 4px; }
	#hgg .hgg-cta { grid-template-columns: 1fr; }
	#hgg .hgg-cta__actions { flex-direction: row; flex-wrap: wrap; }
}

@container hgg (max-width: 620px) {
	#hgg .hgg-sec { margin-top: 48px; scroll-margin-top: 64px; }
	#hgg .hgg-tech { scroll-margin-top: 64px; }
	#hgg .hgg-hero { border-radius: 20px; padding: 28px 20px 22px; }
	#hgg .hgg-hero__title { margin-top: 12px; font-size: 30px !important; line-height: 1.08 !important; }
	#hgg .hgg-hero__lead { margin-top: 14px; font-size: 15px; }
	#hgg .hgg-hero__actions { margin-top: 22px; }
	#hgg .hgg-hero__actions .hgg-btn { flex: 1 1 100%; }
	#hgg .hgg-stats { margin-top: 26px; gap: 8px; }
	#hgg .hgg-stat { padding: 12px 14px; border-radius: 12px; }
	#hgg .hgg-stat__value { font-size: 20px; }
	#hgg .hgg-stat__label { font-size: 12px; }
	#hgg .hgg-nav { margin-top: 12px; }
	#hgg .hgg-intro { margin-top: 36px; }
	#hgg .hgg-h3 { font-size: 19px !important; }
	#hgg .hgg-tech .hgg-h3 { font-size: 21px !important; }
	#hgg .hgg-card { padding: 18px 16px; border-radius: 16px; }
	#hgg .hgg-pick { padding: 18px 16px; border-radius: 16px; gap: 20px; }
	#hgg .hgg-chip { padding: 8px 12px; font-size: 13px; }
	#hgg .hgg-matches { grid-template-columns: 1fr; }
	#hgg .hgg-gallery { gap: 10px; }
	#hgg .hgg-photo { padding: 8px; border-radius: 12px; }
	#hgg .hgg-figure figcaption,
	#hgg .hgg-product__name,
	#hgg .hgg-product__sku { font-size: 12px; }
	#hgg .hgg-product__tech { font-size: 9px; letter-spacing: .06em; }
	#hgg .hgg-specs { padding: 2px 14px; }
	#hgg .hgg-spec { grid-template-columns: 1fr; gap: 4px; padding: 12px 0; }
	#hgg .hgg-when { grid-template-columns: 1fr; }
	#hgg .hgg-table-wrap { border-radius: 14px; }
	#hgg .hgg-table th:first-child { min-width: 140px; }
	#hgg .hgg-cheats { border-radius: 20px; padding: 24px 16px; }
	#hgg .hgg-cheat { padding: 14px; }
	#hgg .hgg-cta { border-radius: 20px; padding: 26px 20px; }
	#hgg .hgg-cta__actions .hgg-btn { flex: 1 1 100%; }
}

/* Телефон: у колонки сайта поля по 10px — навигацию растягиваем на всю ширину экрана */
@media (max-width: 767px) {
	#hgg { font-size: 14px; margin-bottom: 48px; }
	#hgg .hgg-nav { margin-left: -10px; margin-right: -10px; padding: 8px 10px; }
}

@media (prefers-reduced-motion: reduce) {
	#hgg *,
	#hgg *::before,
	#hgg *::after { transition: none !important; }
}

@media print {
	#hgg .hgg-nav,
	#hgg .hgg-chips,
	#hgg .hgg-pick { display: none !important; }
	#hgg .hgg-tech[hidden] { display: block !important; }
	#hgg .hgg-card,
	#hgg .hgg-cheat,
	#hgg .hgg-faq__item { break-inside: avoid; }
}
