/*
Theme Name: Поломковед
Theme URI: https://polomkoved.ru/
Description: Дочерняя тема GeneratePress для справочника по неисправностям бытовой техники «Поломковед». Тёплая палитра, сетка с боковой колонкой, плотные таблицы, карточки без теней, микроразметка.
Author: Редакция «Поломковед»
Template: generatepress
Version: 1.0.0
Requires PHP: 8.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: polomkoved
*/

/* ============================================================
   1. Токены оформления (ТЗ, раздел 2)
   ============================================================ */
:root {
	--pm-text: #1c1917;
	--pm-muted: #57534e;
	--pm-bg: #ffffff;
	--pm-border: #e7e5e4;
	--pm-accent: #c2410c;
	--pm-accent-bg: #fff7ed;
	--pm-ok: #166534;
	--pm-ok-bg: #f0fdf4;
	--pm-warn: #a16207;
	--pm-warn-bg: #fefce8;
	--pm-th: #f5f5f4;
	--pm-zebra: #fafaf9;
	--pm-radius: 8px;
	--pm-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--pm-wrap: 1180px;
	--pm-text-col: 760px;
	--pm-side: 280px;
	--pm-ad-h: 280px;
}

/* ============================================================
   2. Базовое
   ============================================================ */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
	margin: 0;
	background: var(--pm-bg);
	color: var(--pm-text);
	font-family: var(--pm-font);
	font-size: 17px;
	line-height: 1.6;
	overflow-wrap: break-word;
}

img,
svg { max-width: 100%; height: auto; }

a { color: var(--pm-accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
	outline: 3px solid var(--pm-accent);
	outline-offset: 2px;
	border-radius: 3px;
}

h1, h2, h3, h4 {
	line-height: 1.22;
	margin: 1.7em 0 .55em;
	font-weight: 750;
	letter-spacing: .012em;
}
h1 { font-size: clamp(1.55rem, 1.2rem + 1.5vw, 2.1rem); margin-top: .15em; letter-spacing: .008em; }
h2 { font-size: clamp(1.25rem, 1.12rem + .6vw, 1.5rem); }
h3 { font-size: 1.125rem; }
p { margin: 0 0 1.05em; }
ul, ol { margin: 0 0 1.05em; padding-left: 1.3em; }
li { margin-bottom: .42em; }
hr { border: 0; border-top: 1px solid var(--pm-border); margin: 2em 0; }
code {
	font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
	font-size: .92em;
	background: var(--pm-th);
	padding: .1em .38em;
	border-radius: 4px;
}
table { border-collapse: collapse; }
strong { font-weight: 650; }

.pm-wrap {
	width: 100%;
	max-width: var(--pm-wrap);
	margin: 0 auto;
	padding: 0 18px;
}

.pm-content { min-width: 0; width: 100%; max-width: var(--pm-text-col); }
.pm-content--wide { max-width: 960px; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}

.pm-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
	background: var(--pm-accent);
	color: #fff;
	padding: 10px 16px;
	border-radius: 0 0 var(--pm-radius) 0;
}
.pm-skip:focus { left: 0; }

/* ============================================================
   3. Шапка: тёмная полоса, оранжевый акцент — не как у «Посылковеда»
   ============================================================ */
.pm-header {
	background: var(--pm-text);
	color: var(--pm-bg);
	border-bottom: 3px solid var(--pm-accent);
}
.pm-header__inner {
	display: flex;
	align-items: center;
	gap: 10px 22px;
	min-height: 64px;
	flex-wrap: wrap;
	padding-top: 8px;
	padding-bottom: 8px;
}
.pm-logo {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 1.1875rem;
	font-weight: 750;
	letter-spacing: .02em;
	color: var(--pm-bg);
	text-decoration: none;
	white-space: nowrap;
}
.pm-logo__mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: var(--pm-radius);
	background: var(--pm-accent);
	color: #fff;
	font-size: 1.0625rem;
	font-weight: 800;
}
.pm-logo span:last-child { line-height: 1.1; }
.pm-nav { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.pm-nav__list {
	display: flex;
	gap: 2px;
	list-style: none;
	margin: 0;
	padding: 0;
	overflow-x: auto;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.pm-nav__list::-webkit-scrollbar { display: none; }
.pm-nav__list li { margin: 0; }
.pm-nav__list a {
	display: block;
	padding: 10px 11px;
	min-height: 44px;
	line-height: 24px;
	color: #d6d3d1;
	text-decoration: none;
	border-radius: var(--pm-radius);
	white-space: nowrap;
	font-size: .9688rem;
	border-bottom: 2px solid transparent;
}
.pm-nav__list a:hover { color: #fff; border-bottom-color: var(--pm-accent); }
.pm-nav__list .current-menu-item > a,
.pm-nav__list .current-menu-ancestor > a,
.pm-nav__list .current_page_item > a,
.pm-nav__list .current_page_ancestor > a {
	color: #fff;
	border-bottom-color: var(--pm-accent);
	font-weight: 600;
}
.pm-header__cta {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	padding: 0 14px;
	border-radius: var(--pm-radius);
	background: var(--pm-accent);
	color: #fff;
	font-size: .9375rem;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}
.pm-header__cta:hover { background: #9a3412; color: #fff; }

/* Выпадающее меню «Техника» */
.pm-tech { position: relative; }
.pm-tech__toggle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	list-style: none;
	cursor: pointer;
	padding: 10px 11px;
	min-height: 44px;
	color: #d6d3d1;
	border-radius: var(--pm-radius);
	font-size: .9688rem;
	white-space: nowrap;
	border-bottom: 2px solid transparent;
}
.pm-tech__toggle::-webkit-details-marker { display: none; }
.pm-tech__toggle:hover,
.pm-tech[open] .pm-tech__toggle { color: #fff; border-bottom-color: var(--pm-accent); }
.pm-tech__arrow { font-size: .75rem; line-height: 1; }
.pm-tech__panel {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	z-index: 60;
	width: 430px;
	max-width: 70vw;
	background: #fff;
	border: 1px solid var(--pm-border);
	border-radius: var(--pm-radius);
	padding: 10px;
	box-shadow: none;
}
.pm-tech__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2px 10px;
}
.pm-tech__list li { margin: 0; }
.pm-tech__list a,
.pm-tech__soon {
	display: block;
	padding: 8px 10px;
	border-radius: 6px;
	color: var(--pm-text);
	text-decoration: none;
	font-size: .9375rem;
	line-height: 1.3;
}
.pm-tech__list a:hover { background: var(--pm-accent-bg); color: var(--pm-accent); }
.pm-tech__soon { color: var(--pm-muted); }
.pm-tech__soon em { font-style: normal; font-size: .75rem; color: var(--pm-warn); }

/* ============================================================
   4. Основная сетка: статья + боковая колонка
   ============================================================ */
.pm-main { display: block; padding: 24px 0 44px; }

.pm-layout {
	display: block;
}
.pm-layout > .pm-content { margin: 0 auto; }

.pm-layout--single { display: block; }
.pm-layout--single > .pm-content { margin: 0 auto; }

.pm-hero h1 { max-width: 900px; font-size: clamp(1.7rem, 1.3rem + 1.8vw, 2.35rem); }

.pm-sidebar { display: none; }

@media (min-width: 1000px) {
	.pm-layout {
		display: grid;
		grid-template-columns: minmax(0, 1fr) var(--pm-side);
		gap: 40px;
		align-items: start;
	}
	.pm-layout > .pm-content { margin: 0; }
	.pm-layout.pm-layout--single {
		display: block;
	}
	.pm-layout.pm-layout--single > .pm-content { margin: 0 auto; }
	.pm-sidebar {
		display: block;
		position: sticky;
		top: 18px;
		font-size: .9375rem;
	}
}

.pm-sidebar__box {
	border: 1px solid var(--pm-border);
	border-radius: var(--pm-radius);
	padding: 14px 16px;
	margin: 0 0 16px;
	background: var(--pm-bg);
}
.pm-sidebar__title {
	font-size: .9375rem;
	margin: 0 0 10px;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--pm-muted);
	font-weight: 650;
}
.pm-sidebar__form { display: grid; gap: 8px; }
.pm-sidebar__form label { font-size: .875rem; color: var(--pm-muted); }
.pm-sidebar__form input,
.pm-sidebar__form select {
	font: inherit;
	width: 100%;
	min-height: 44px;
	padding: 8px 10px;
	border: 1px solid #d6d3d1;
	border-radius: var(--pm-radius);
	background: #fff;
	color: var(--pm-text);
}
.pm-sidebar__form button {
	font: inherit;
	font-weight: 650;
	min-height: 44px;
	border: 0;
	border-radius: var(--pm-radius);
	background: var(--pm-accent);
	color: #fff;
	cursor: pointer;
}
.pm-sidebar__form button:hover { background: #9a3412; }
.pm-sidebar__list { list-style: none; margin: 0; padding: 0; }
.pm-sidebar__list li { margin: 0; border-top: 1px solid var(--pm-border); }
.pm-sidebar__list li:first-child { border-top: 0; }
.pm-sidebar__list a {
	display: block;
	padding: 8px 0;
	color: var(--pm-text);
	text-decoration: none;
	line-height: 1.35;
}
.pm-sidebar__list a:hover { color: var(--pm-accent); text-decoration: underline; }
.pm-sidebar__list code { margin-right: 4px; }

/* ============================================================
   5. Крошки и служебные пометки
   ============================================================ */
.pm-breadcrumbs {
	font-size: .875rem;
	color: var(--pm-muted);
	margin: 0 0 16px;
	overflow-x: auto;
	white-space: nowrap;
	scrollbar-width: thin;
}
.pm-breadcrumbs ol { list-style: none; display: flex; width: max-content; min-width: 100%; gap: 6px; margin: 0; padding: 0; }
.pm-breadcrumbs li { margin: 0; }
.pm-breadcrumbs li + li::before { content: "›"; margin-right: 6px; color: #a8a29e; }
.pm-breadcrumbs a { color: var(--pm-muted); }
.pm-breadcrumbs a:hover { color: var(--pm-accent); }

.pm-verify-line {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 10px;
	font-size: .9rem;
	color: var(--pm-muted);
	margin: -4px 0 18px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--pm-border);
}
.pm-verify-line strong { color: var(--pm-ok); font-weight: 650; }
.pm-verify-line .pm-dot {
	display: inline-block;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--pm-ok);
	margin-right: 6px;
	vertical-align: 1px;
}
.pm-note {
	font-size: .9375rem;
	color: var(--pm-muted);
	margin: 0 0 18px;
}

/* ============================================================
   6. Блоки-паттерны
   ============================================================ */

/* Коротко */
.pm-callout {
	background: var(--pm-accent-bg);
	border-left: 4px solid var(--pm-accent);
	border-radius: 0 var(--pm-radius) var(--pm-radius) 0;
	padding: 15px 18px;
	margin: 0 0 24px;
}
.pm-callout h2 { margin-top: 0; font-size: 1.1875rem; }
.pm-callout p:last-child { margin-bottom: 0; }

/* Важно */
.pm-warn {
	background: var(--pm-warn-bg);
	border-left: 4px solid var(--pm-warn);
	border-radius: 0 var(--pm-radius) var(--pm-radius) 0;
	padding: 14px 18px;
	margin: 0 0 24px;
}
.pm-warn h2, .pm-warn h3 { color: var(--pm-warn); margin-top: 0; font-size: 1.0625rem; }
.pm-warn p:last-child { margin-bottom: 0; }

/* Что делать сейчас / успех */
.pm-ok {
	background: var(--pm-ok-bg);
	border-left: 4px solid var(--pm-ok);
	border-radius: 0 var(--pm-radius) var(--pm-radius) 0;
	padding: 14px 18px;
	margin: 0 0 24px;
}
.pm-ok h2, .pm-ok h3 { color: var(--pm-ok); margin-top: 0; font-size: 1.0625rem; }
.pm-ok p:last-child { margin-bottom: 0; }

/* Дисклеймер */
.pm-disclaimer {
	background: var(--pm-th);
	border-radius: var(--pm-radius);
	padding: 13px 18px;
	margin: 32px 0 0;
	font-size: .9rem;
	color: var(--pm-muted);
}
.pm-disclaimer p:last-child { margin-bottom: 0; }

/* Шаги: квадратные номера в рамке */
.pm-steps {
	list-style: none;
	counter-reset: pmstep;
	padding: 0;
	margin: 0 0 26px;
}
.pm-steps > li {
	position: relative;
	counter-increment: pmstep;
	padding-left: 52px;
	margin-bottom: 18px;
	min-height: 36px;
}
.pm-steps > li::before {
	content: counter(pmstep);
	position: absolute;
	left: 0;
	top: 1px;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border: 2px solid var(--pm-accent);
	color: var(--pm-accent);
	border-radius: var(--pm-radius);
	font-weight: 700;
	font-size: 1rem;
}
.pm-steps > li strong { display: block; }

/* Чек-лист «Проверьте по порядку» */
.pm-checklist { list-style: none; counter-reset: pmcheck; padding: 0; margin: 0 0 26px; }
.pm-checklist > li {
	position: relative;
	counter-increment: pmcheck;
	padding: 12px 0 12px 44px;
	margin: 0;
	border-bottom: 1px solid var(--pm-border);
}
.pm-checklist > li:first-child { border-top: 1px solid var(--pm-border); }
.pm-checklist > li::before {
	content: counter(pmcheck);
	position: absolute;
	left: 0;
	top: 13px;
	width: 28px;
	height: 28px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--pm-th);
	color: var(--pm-text);
	border-radius: 50%;
	font-weight: 650;
	font-size: .875rem;
}
.pm-checklist > li:last-child { margin-bottom: 0; }

/* Метки «сами» / «мастер» */
.pm-tag {
	display: inline-block;
	margin-left: 6px;
	padding: 1px 8px;
	border-radius: 999px;
	font-size: .75rem;
	font-weight: 650;
	letter-spacing: .02em;
	text-transform: uppercase;
	vertical-align: 2px;
	white-space: nowrap;
}
.pm-tag--self { background: var(--pm-ok-bg); color: var(--pm-ok); }
.pm-tag--master { background: var(--pm-warn-bg); color: var(--pm-warn); }

/* Таблицы: плотные строки, липкая шапка, зебра */
.pm-table {
	margin: 0 0 26px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	border: 1px solid var(--pm-border);
	border-radius: var(--pm-radius);
}
.pm-table table {
	width: 100%;
	min-width: 480px;
	border-collapse: collapse;
	font-size: .9375rem;
	line-height: 1.45;
}
.pm-table caption { text-align: left; color: var(--pm-muted); font-size: .875rem; padding: 8px 10px; caption-side: top; }
.pm-table figcaption { text-align: left; color: var(--pm-muted); font-size: .875rem; padding: 8px 11px; border-top: 1px solid var(--pm-border); }
.pm-table th,
.pm-table td {
	border-bottom: 1px solid var(--pm-border);
	padding: 8px 11px;
	text-align: left;
	vertical-align: top;
}
.pm-table thead th {
	background: var(--pm-th);
	font-weight: 650;
	font-size: .875rem;
	letter-spacing: .02em;
	white-space: nowrap;
}
.pm-table tbody tr:nth-child(even) { background: var(--pm-zebra); }
.pm-table tbody tr:last-child td { border-bottom: 0; }
.pm-table code { background: #fff; border: 1px solid var(--pm-border); font-weight: 650; }
.pm-table .pm-code-cell { white-space: nowrap; font-weight: 650; }
.pm-table--fit table { min-width: 340px; }

/* FAQ: не коробки, а строки с плюсом */
.pm-faq {
	border: 0;
	border-bottom: 1px solid var(--pm-border);
	padding: 0;
	margin: 0;
	background: transparent;
}
.pm-faq:first-of-type { border-top: 1px solid var(--pm-border); }
.pm-faq > summary {
	cursor: pointer;
	font-weight: 600;
	list-style: none;
	display: flex;
	justify-content: space-between;
	gap: 14px;
	align-items: flex-start;
	min-height: 48px;
	padding: 13px 0;
}
.pm-faq > summary::-webkit-details-marker { display: none; }
.pm-faq > summary::after {
	content: "+";
	color: var(--pm-accent);
	font-weight: 700;
	font-size: 1.375rem;
	line-height: 1.1;
	flex: 0 0 auto;
}
.pm-faq[open] > summary::after { content: "−"; }
.pm-faq > summary + p { margin-top: 0; }
.pm-faq p:last-child { margin-bottom: 14px; }
.pm-faq-wrap { margin: 0 0 26px; }

/* Источники */
.pm-sources { font-size: .9rem; }
.pm-sources ol { padding-left: 1.3em; }
.pm-sources li { margin-bottom: .4em; }
.pm-sources a { word-break: break-word; }

/* Карточки и сетки */
.pm-grid > .wp-block-group__inner-container,
.pm-related > .wp-block-group__inner-container,
.pm-brands > .wp-block-group__inner-container,
.pm-symptoms > .wp-block-group__inner-container {
	display: contents;
}
.pm-grid,
.pm-related,
.pm-brands,
.pm-symptoms {
	display: grid;
	gap: 14px;
	margin: 0 0 26px;
}
.pm-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.pm-symptoms { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.pm-brands { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.pm-related { grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); }

/* Карточка: без тени, верхняя акцентная линия */
.pm-card {
	background: var(--pm-bg);
	border: 1px solid var(--pm-border);
	border-top: 3px solid var(--pm-accent);
	border-radius: var(--pm-radius);
	padding: 14px 16px 15px;
	margin: 0;
	transition: background-color .15s ease, border-color .15s ease;
}
.pm-card:hover { background: var(--pm-accent-bg); border-color: #f5c9a8; }
.pm-card h3 { margin: 0 0 6px; font-size: 1.0625rem; line-height: 1.3; }
.pm-card h3 a { color: var(--pm-text); text-decoration: none; }
.pm-card h3 a:hover { color: var(--pm-accent); }
.pm-card p { margin: 0; font-size: .9375rem; color: var(--pm-muted); }
.pm-card p + p { margin-top: .4em; }
.pm-card code { font-size: .9375rem; }

.pm-brand-card { border-top-color: var(--pm-warn); }
.pm-brand-card:hover { background: var(--pm-warn-bg); border-color: #e7d4a0; }

/* Хаб: дочерние страницы */
.pm-hub-list__card p { color: var(--pm-muted); }
.pm-section-title { margin-top: 2em; }

/* «Как мы проверяем данные» и «Когда нужен мастер» */
.pm-verify {
	background: #fff;
	border: 1px solid var(--pm-border);
	border-radius: var(--pm-radius);
	padding: 16px 18px;
	margin: 0 0 24px;
}
.pm-verify h2 { margin-top: 0; font-size: 1.1875rem; }
.pm-verify p:last-child { margin-bottom: 0; }
.pm-master {
	background: var(--pm-warn-bg);
	border: 1px solid #f0e0b8;
	border-radius: var(--pm-radius);
	padding: 16px 18px;
	margin: 0 0 24px;
}
.pm-master h2 { margin-top: 0; font-size: 1.1875rem; color: var(--pm-warn); }
.pm-master ul { margin-bottom: 0; }

/* «Стоит ли ремонтировать» — нейтральный блок, не предупреждение */
.pm-repair {
	background: var(--pm-bg);
	border: 1px solid var(--pm-border);
	border-radius: var(--pm-radius);
	padding: 16px 18px;
	margin: 0 0 24px;
}
.pm-repair h2 { margin-top: 0; font-size: 1.1875rem; }
.pm-repair ul { margin-bottom: 0; }

/* Слот рекламы: фиксированная высота, без наших надписей */
.pm-ad {
	height: var(--pm-ad-h);
	margin: 28px 0;
	border: 1px dashed var(--pm-border);
	border-radius: var(--pm-radius);
	background: var(--pm-zebra);
	overflow: hidden;
	contain: layout paint;
}
.pm-ad:empty::after {
	content: "";
	display: block;
	height: 100%;
}

/* Дата внизу страницы */
.pm-page-date {
	margin: 26px 0 0;
	padding-top: 14px;
	border-top: 1px solid var(--pm-border);
	font-size: .875rem;
	color: var(--pm-muted);
}

/* Пометка демо-данных на стенде */
.pm-demo-note {
	margin: -6px 0 18px;
	padding: 8px 12px;
	border-radius: var(--pm-radius);
	background: var(--pm-warn-bg);
	color: var(--pm-warn);
	font-size: .9rem;
}

/* ============================================================
   7. Сервис поиска (общие стили; детали — в плагине)
   ============================================================ */
.pm-search { margin: 0 0 26px; }
.pm-search__row { display: flex; gap: 10px; flex-wrap: wrap; }
.pm-search input[type="search"],
.pm-search input[type="text"] {
	font: inherit;
	flex: 1 1 220px;
	padding: 11px 13px;
	min-height: 46px;
	border: 1px solid #d6d3d1;
	border-radius: var(--pm-radius);
}
.pm-search button {
	font: inherit;
	font-weight: 650;
	padding: 11px 22px;
	min-height: 46px;
	border: 0;
	border-radius: var(--pm-radius);
	background: var(--pm-accent);
	color: #fff;
	cursor: pointer;
}
.pm-search button:hover { background: #9a3412; }

/* 404 и архив */
.pm-archive-item { border-bottom: 1px solid var(--pm-border); padding: 14px 0; }
.pm-archive-item:last-child { border-bottom: 0; }
.pm-archive-item h3 { margin: 0 0 4px; }
.pm-archive-item p { margin: 0; color: var(--pm-muted); font-size: .9375rem; }

/* ============================================================
   8. Подвал: тёмный, с тёплой полосой
   ============================================================ */
.pm-footer {
	background: var(--pm-text);
	color: #d6d3d1;
	border-top: 3px solid var(--pm-accent);
	padding: 30px 0 24px;
	font-size: .9375rem;
}
.pm-footer__cols {
	display: grid;
	grid-template-columns: 1.2fr 1fr 1fr 1fr;
	gap: 22px 28px;
}
.pm-footer__brand { color: #fff; font-size: 1.125rem; font-weight: 750; margin: 0 0 8px; }
.pm-footer__brand span { color: var(--pm-accent); }
.pm-footer__h {
	font-size: .8125rem;
	text-transform: uppercase;
	letter-spacing: .06em;
	margin: 0 0 10px;
	color: #a8a29e;
	font-weight: 650;
}
.pm-footer ul { list-style: none; margin: 0; padding: 0; }
.pm-footer li { margin-bottom: .4em; }
.pm-footer__list--two { columns: 2; column-gap: 18px; }
.pm-footer__list--two li { break-inside: avoid; }
.pm-footer a { color: #d6d3d1; text-decoration: none; }
.pm-footer a:hover { color: #fff; text-decoration: underline; }
.pm-footer__note {
	margin: 26px 0 0;
	padding-top: 16px;
	border-top: 1px solid #44403c;
	color: #a8a29e;
	font-size: .875rem;
}
.pm-footer__note a { color: #d6d3d1; }

/* ============================================================
   9. Адаптив
   ============================================================ */
@media (min-width: 720px) {
	.pm-table { overflow: visible; }
	.pm-table thead th { position: sticky; top: 0; z-index: 1; }
}

@media (max-width: 999px) {
	.pm-sidebar { display: none; }
}

@media (max-width: 900px) {
	.pm-header__inner { gap: 6px 14px; }
	.pm-nav { order: 3; flex-basis: 100%; }
	.pm-tech { flex-basis: 100%; }
	.pm-tech__toggle { color: #e7e5e4; padding-left: 0; border-bottom: 0; }
	.pm-tech__panel {
		position: static;
		width: auto;
		max-width: none;
		margin: 4px 0 8px;
		border: 1px solid #44403c;
		background: #292524;
	}
	.pm-tech__list a { color: #e7e5e4; }
	.pm-tech__list a:hover { background: #44403c; color: #fff; }
	.pm-tech__soon { color: #a8a29e; }
	.pm-header__cta { order: 2; margin-left: auto; }
}

@media (max-width: 719px) {
	:root { --pm-ad-h: 250px; }
	body { font-size: 16.5px; }
	.pm-header__inner { gap: 6px 14px; }
	.pm-nav { order: 3; flex-basis: 100%; }
	.pm-nav__list a { padding: 9px 7px; font-size: .875rem; }
	.pm-header__cta { order: 2; margin-left: auto; }
	.pm-verify-line { display: block; }
	.pm-verify-line > span { display: block; }
	.pm-verify-line > span[aria-hidden] { display: none; }
	.pm-steps > li { padding-left: 46px; }
	.pm-steps > li::before { width: 32px; height: 32px; font-size: .9375rem; }
	.pm-footer__cols { grid-template-columns: 1fr; gap: 20px; }
	.pm-footer__list--two { columns: 1; }
	.pm-related, .pm-grid, .pm-symptoms, .pm-brands { grid-template-columns: 1fr; }
	.pm-tech__list { grid-template-columns: 1fr; }
	.pm-table { border-radius: 0; border-left: 0; border-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Форма заявки: компактное согласие и аккуратные поля */
.pm-request__consent {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: .8125rem;
	line-height: 1.35;
	color: var(--pm-muted, #6b7280);
}
.pm-request__consent input[type=checkbox] {
	width: 14px;
	height: 14px;
	margin: 1px 0 0;
	flex: 0 0 auto;
	accent-color: var(--pm-accent, #2563eb);
}
.pm-request button[type=submit] { cursor: pointer; }
.pm-request__ok, .pm-request__error {
	margin: 0 0 14px;
	padding: 10px 14px;
	border-radius: 8px;
	font-size: .9375rem;
}
.pm-request__ok { background: #ecfdf3; color: #067647; }
.pm-request__error { background: #fef3f2; color: #b42318; }
.pm-request__note { margin: 10px 0 0; font-size: .875rem; color: var(--pm-muted, #6b7280); }
