/* hidework.css - IUV boot shop
   Палитра снята пипеткой с фирменных картинок, а не подобрана на глаз:
   #763b0a - средний цвет букв логотипа, #d8944f и #f3d8ba - небо баннера,
   #1d1411 - земля и силуэты всадника на нём. Замер - _pix.ps1 (удалён).
   Шрифты лежат В ЭТОЙ ЖЕ папке и подключены голыми именами: путь ../fonts/
   отдаёт молчаливый 404 и подменяет начертание системным.
   ВНИМАНИЕ: последовательность звёздочка-слэш внутри комментария закрыла бы его
   досрочно и съела :root целиком, поэтому путей со звёздочкой тут нет. */

@font-face {
  font-family: 'Bevan';
  src: url('bevan.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Alegreya Sans';
  src: url('alegreya-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Alegreya Sans';
  src: url('alegreya-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Alegreya Sans';
  src: url('alegreya-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  --hidepale: #faf3e8;
  --hidewarm: #f2e5d0;
  --cordovan: #763b0a;
  --cordodeep: #552905;
  --duskamber: #d8944f;
  --sootbrown: #1d1411;
  --sootlift: #2e211b;
  --dustline: #e2d1b6;
  --inkfade: #6b5849;
  --ink: #241a15;
  --shadowlow: 0 1px 2px rgba(36, 26, 21, .06);
  --shadowmid: 0 6px 22px rgba(36, 26, 21, .10);
  --gap: 22px;
  --edge: 3px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--hidepale);
  color: var(--ink);
  font: 400 17px/1.62 'Alegreya Sans', 'Segoe UI', system-ui, sans-serif;
  letter-spacing: .002em;
}

h1, h2, h3, h4 {
  font-family: 'Bevan', Georgia, serif;
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: .006em;
  margin: 0 0 .55em;
  color: var(--sootbrown);
}
h1 { font-size: clamp(30px, 4.6vw, 50px); }
h2 { font-size: clamp(23px, 3vw, 33px); }
h3 { font-size: clamp(18px, 2vw, 22px); }
h4 { font-size: 17px; }

p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

a { color: var(--cordovan); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--sootbrown); }

img { max-width: 100%; display: block; }

.lastroom {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

/* ---------- полосы-секции ---------- */

.bootband { padding: 60px 0; }
.bootband--tint { background: var(--hidewarm); }
.bootband--dusk {
  background: var(--sootbrown);
  color: #efe2d0;
}
.bootband--dusk h2, .bootband--dusk h3 { color: var(--hidepale); }
.bootband--dusk a { color: var(--duskamber); }
.bootband--dusk a:hover { color: #fff; }
.bootband--tight { padding: 40px 0; }

.bootlede {
  max-width: 62ch;
  color: var(--inkfade);
  font-size: 18px;
}
.bootband--dusk .bootlede { color: #cbb69f; }

.bootband > .lastroom > h2 { margin-bottom: .35em; }

/* ---------- шапка ---------- */

.spurline {
  background: var(--sootbrown);
  color: var(--hidepale);
  border-bottom: var(--edge) solid var(--cordovan);
  position: relative;
  z-index: 20;
}
/* Шапка в две строки: знак по центру, навигация под ним. Раньше знак стоял слева, а
   меню уезжало вправо через `margin-left:auto` у .dustrail — если возвращать тот вид,
   править надо ОБА правила, иначе меню прилипнет к центру рядом со знаком. */
.spurline > .lastroom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 14px 0;
  text-align: center;
}
.spurline a { color: var(--hidepale); text-decoration: none; }

/* Вордмарк - вырезанный знак самого бренда, а не набор шрифтом. Белый фон выбит
   по яркости фильтром feColorMatrix, поэтому светлая внутренняя обводка букв
   осталась дырой и сквозь неё просвечивает полоса, как в оригинале логотипа.
   Шапка и подвал тёмные, поэтому в обвязке живёт mark-cream.png; mark-cord.png
   тем же вырезом, но в цвет кордована - для светлых поверхностей и og-картинки. */
.bootmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  white-space: nowrap;
  line-height: 1;
}
.bootmark img {
  display: block;
  width: auto;
  height: 30px;
}
.bootmark span {
  font-family: 'Alegreya Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #a08a74;
  padding-top: 2px;
}

.dustrail {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.dustrail a { padding: 4px 0; border-bottom: 2px solid transparent; }
.dustrail a:hover, .dustrail a[aria-current] {
  border-bottom-color: var(--duskamber);
  color: var(--duskamber);
}

/* ---------- кнопки ---------- */

.spurbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border: 2px solid var(--cordovan);
  background: var(--cordovan);
  color: var(--hidepale);
  font: 700 15px/1 'Alegreya Sans', sans-serif;
  letter-spacing: .07em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border-radius: 2px;
  transition: background .16s, color .16s, transform .16s;
}
.spurbtn:hover {
  background: var(--sootbrown);
  border-color: var(--sootbrown);
  color: var(--hidepale);
  transform: translateY(-1px);
}
.spurbtn--ghost {
  background: transparent;
  color: var(--cordovan);
}
.spurbtn--ghost:hover { background: var(--cordovan); color: var(--hidepale); }
.bootband--dusk .spurbtn--ghost {
  color: var(--duskamber);
  border-color: var(--duskamber);
}
.bootband--dusk .spurbtn--ghost:hover { background: var(--duskamber); color: var(--sootbrown); }
.spurbtn--wide { width: 100%; }

/* Надпись кнопки покупки — картинка (src/rackplate.png, рисуется _rackplate.js нашим же
   alegreya-700). ⚠ Файл отрисован в 4×, 492x60 пикселей; размер на странице задаёт ЭТО
   правило, а не атрибуты width/height. Без него картинка вылезет вчетверо больше кнопки. */
.rackplate {
  display: block;
  height: 15px;
  width: auto;
}

/* ---------- герой ---------- */

.rangeband {
  background: var(--sootbrown);
  color: #efe2d0;
  padding: 64px 0 56px;
  background-image:
    radial-gradient(120% 80% at 78% 8%, rgba(216, 148, 79, .30), transparent 62%),
    radial-gradient(90% 70% at 8% 96%, rgba(118, 59, 10, .42), transparent 60%);
}
.rangeband h1 { color: var(--hidepale); max-width: 16ch; }
.rangeband p { color: #cdb9a2; max-width: 54ch; font-size: 19px; }
.rangeband .bootact { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

.bootrail { margin-top: 44px; }
.bootrail h2 {
  font-family: 'Alegreya Sans', sans-serif;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--duskamber);
  margin-bottom: 16px;
}
.bootrail ul {
  list-style: none;
  margin: 0; padding: 0 0 6px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.bootrail li { min-width: 0; }
.bootrail a {
  display: block;
  text-decoration: none;
  color: #efe2d0;
}
.bootrail .bootshot { margin-bottom: 8px; }
.bootrail b {
  display: block;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.bootrail i { font-style: normal; color: var(--duskamber); font-size: 14px; }
.bootrail a:hover b { color: var(--duskamber); }

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

.bootusp {
  list-style: none;
  margin: 26px 0 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}
.bootusp li {
  background: var(--hidepale);
  border: 1px solid var(--dustline);
  border-top: var(--edge) solid var(--cordovan);
  padding: 22px 20px;
}
.bootusp svg {
  width: 30px; height: 30px;
  stroke: var(--cordovan); fill: none; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
  display: block;
  margin-bottom: 12px;
}
.bootband--tint .bootusp li { background: #fff; }
.bootusp b {
  font-family: 'Bevan', Georgia, serif;
  font-weight: 400;
  display: block;
  font-size: 16px;
  margin-bottom: 6px;
  color: var(--sootbrown);
}
.bootusp span { color: var(--inkfade); font-size: 15px; line-height: 1.5; }

/* ---------- чипы ---------- */

.mulepills {
  list-style: none;
  margin: 18px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 10px;
}
.mulepills a {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--dustline);
  background: var(--hidepale);
  border-radius: 999px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}
.mulepills a:hover {
  border-color: var(--cordovan);
  background: var(--cordovan);
  color: var(--hidepale);
}

/* ---------- плитки разделов ---------- */

.hidepanel {
  list-style: none;
  margin: 26px 0 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.hidepanel li { min-height: 0; }
.hidepanel a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--dustline);
  overflow: hidden;
  transition: border-color .16s, box-shadow .16s;
}
.hidepanel a:hover { border-color: var(--cordovan); box-shadow: var(--shadowmid); }
.hidepanel .bootshot { border: 0; }
.hidepanel div { padding: 16px 18px 18px; }
.hidepanel b {
  font-family: 'Bevan', Georgia, serif;
  font-weight: 400;
  font-size: 18px;
  display: block;
  color: var(--sootbrown);
}
.hidepanel span { color: var(--inkfade); font-size: 14px; }
.hidepanel p { margin: 6px 0 0; color: var(--inkfade); font-size: 15px; line-height: 1.5; }

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

.bootgrid {
  list-style: none;
  margin: 26px 0 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
}
.bootgrid--three { grid-template-columns: repeat(3, 1fr); }

/* ⚠ Ячейка сетки — flex-колонка, а карточке НЕЛЬЗЯ давать `height: 100%`. Кнопка покупки
 * лежит в <li> рядом с карточкой (внутрь <a> её не положить), и проценты замыкались сами
 * на себя: дорожка строки считалась по содержимому — карточка 454 + кнопка 45 = 499, — а
 * потом карточка забирала по `height: 100%` все 499 и выдавливала кнопку на 45px за
 * пределы ячейки. Дорожки фиксированной высоты нет, `overflow` у <li> видимый, поэтому
 * следующий ряд плиток просто закрашивал торчащую кнопку. С `flex: 1 1 auto` карточка
 * тянется по остатку ячейки, а кнопка остаётся в раскладке. */
.bootgrid > li {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.bootcard {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  background: #fff;
  border: 1px solid var(--dustline);
  text-decoration: none;
  color: inherit;
  transition: border-color .16s, box-shadow .16s, transform .16s;
}
.bootcard:hover {
  border-color: var(--cordovan);
  box-shadow: var(--shadowmid);
  transform: translateY(-2px);
}
.bootcard > div {
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

/* ⚠ `object-fit: cover` здесь стоять НЕ МОЖЕТ, хотя в сетке карточек он и аккуратнее.
 * Снимки бренда портретные (248 из 312: сапог выше, чем шире), рамка квадратная, и cover
 * срезал ровно верх и низ — то есть голенище и каблук. Сайт разложен по высоте голенища,
 * так что кадрирование отрезало ту самую вещь, ради которой человек и пришёл на страницу.
 * contain показывает пару целиком; поля добираются белым, потому что каталожные снимки
 * сняты на белом и стык не виден. */
/* ⚠ `display: block` здесь обязателен, и это не косметика. Снимок — это <span> (внутрь <a>
 * карточки блочный элемент не положить), а к строчному боксу `aspect-ratio` и `overflow` не
 * применяются вообще: коробка схлопывается в 0×0, картинка внутри абсолютная и растягиваться
 * ей не по чему. В карточке и в спотлайте это спасал флекс — он блокирует своих детей сам, —
 * а в рейле героя на главной <a> обычный блочный, и пять снимков топ-5 не рисовались вовсе:
 * на тёмной шапке оставались одни названия с ценой, будто так и задумано. Картинки при этом
 * загружены (naturalWidth 390), так что ни сеть, ни lazy тут ни при чём. */
.bootshot {
  display: block;
  position: relative;
  aspect-ratio: 1 / 1;
  min-height: 0;
  background: #fff;
  border-bottom: 1px solid var(--dustline);
  overflow: hidden;
}
.bootshot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bootcard b {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.34;
  color: var(--sootbrown);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bootcard .bootmeta {
  color: var(--inkfade);
  font-size: 13px;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-top: 5px;
}
.bootcard .bootfoot {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.bootprice {
  font-family: 'Bevan', Georgia, serif;
  font-size: 19px;
  color: var(--cordovan);
  white-space: nowrap;
}
.bootprice small {
  font-family: 'Alegreya Sans', sans-serif;
  font-size: 12px;
  color: var(--inkfade);
  letter-spacing: .04em;
  text-transform: uppercase;
  display: block;
  line-height: 1.2;
}

.rowelstars {
  font-size: 13px;
  color: var(--inkfade);
  white-space: nowrap;
  line-height: 1.3;
}
.rowelstars b { color: var(--cordovan); font-weight: 700; font-size: 14px; }
/* Ряд звёзд: бледный ряд снизу, янтарный поверх и обрезан по ширине оценки. Глиф в обоих
 * рядах один и тот же, поэтому колонки совпадают точно.
 * ⚠ Правила `.rowelfill--NN` сюда НЕ вписаны: их дописывает generate.js из каталога, по
 * одному на каждую встреченную оценку. Округление рисовало 4.9 сплошным рядом, то есть
 * безупречной пятёркой, а таких пар в каталоге нет ни одной. */
.rowelstars i {
  position: relative;
  display: inline-block;
  font-style: normal;
  color: var(--dustline);
  letter-spacing: -.03em;
}
.rowelstars i::before {
  content: '\2605\2605\2605\2605\2605';
  position: absolute;
  left: 0; top: 0;
  overflow: hidden;
  white-space: nowrap;
  color: var(--duskamber);
}

/* ---------- хлебные крошки ---------- */

.hidecrumb {
  font-size: 14px;
  color: var(--inkfade);
  padding: 16px 0 0;
}
.hidecrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; }
.hidecrumb li::after { content: '/'; margin-left: 7px; color: var(--dustline); }
.hidecrumb li:last-child::after { content: ''; }
.hidecrumb a { text-decoration: none; }
.hidecrumb a:hover { text-decoration: underline; }

/* ---------- промо-дуэт ---------- */

.bootpromo {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: var(--gap);
}
.bootpromo > a {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 300px;
  padding: 34px 32px;
  text-decoration: none;
  border: 1px solid var(--dustline);
  transition: transform .16s, box-shadow .16s;
}
.bootpromo > a:hover { transform: translateY(-2px); box-shadow: var(--shadowmid); }
.bootpromo .bootdark {
  background: var(--sootbrown);
  border-color: var(--sootbrown);
  color: #efe2d0;
  background-image: radial-gradient(110% 90% at 88% 4%, rgba(216, 148, 79, .34), transparent 60%);
}
.bootpromo .bootdark h3 { color: var(--hidepale); }
.bootpromo .bootlight { background: var(--hidewarm); }
.bootpromo h3 { font-size: clamp(21px, 2.4vw, 28px); margin-bottom: .4em; max-width: 15ch; }
.bootpromo p { font-size: 16px; max-width: 40ch; color: var(--inkfade); margin-bottom: 18px; }
.bootpromo .bootdark p { color: #c4ae97; }
.bootpromo em {
  font-style: normal;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--cordovan);
}
.bootpromo .bootdark em { color: var(--duskamber); }

/* ---------- полоса цифр ---------- */

.bootstat {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--gap);
  text-align: center;
}
.bootstat b {
  display: block;
  font-family: 'Bevan', Georgia, serif;
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 40px);
  color: var(--duskamber);
  line-height: 1.1;
}
.bootstat span {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #b39d86;
}

/* ---------- ценности ---------- */

.bootvalue {
  list-style: none;
  margin: 26px 0 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.bootvalue svg { width: 34px; height: 34px; stroke: var(--cordovan); fill: none; stroke-width: 1.6; margin-bottom: 12px; }
.bootvalue h3 { font-size: 18px; margin-bottom: .35em; }
.bootvalue p { color: var(--inkfade); font-size: 16px; }

/* ---------- шаги + справочная таблица ---------- */

.bootsteps {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 44px;
  align-items: start;
}
.bootsteps ol { margin: 20px 0 0; padding: 0; list-style: none; counter-reset: st; }
.bootsteps ol li {
  counter-increment: st;
  position: relative;
  padding-left: 52px;
  margin-bottom: 22px;
}
.bootsteps ol li::before {
  content: counter(st);
  position: absolute;
  left: 0; top: 0;
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--cordovan);
  color: var(--hidepale);
  font-family: 'Bevan', Georgia, serif;
  font-size: 16px;
}
.bootsteps ol b { display: block; font-weight: 700; margin-bottom: 3px; }
.bootsteps ol span { color: var(--inkfade); font-size: 16px; }

.gaugeslab { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; }
/* ⚠ Оба селектора обязательны. Правило висело только на .gaugeslab, а подпись таблицы
 * состава (.bootspec) оставалась с браузерным `text-align: center` — и «What this pair is
 * made of» вставало по центру двухколоночной таблицы, то есть ровно над правым столбцом,
 * где читалось не подписью, а осиротевшей строкой данных. */
.gaugeslab caption, .bootspec caption {
  text-align: left;
  font-size: 13px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--inkfade);
  padding-bottom: 10px;
}
.gaugeslab th, .gaugeslab td {
  border: 1px solid var(--dustline);
  padding: 10px 12px;
  text-align: left;
}
.gaugeslab thead th {
  background: var(--sootbrown);
  color: var(--hidepale);
  font-family: 'Alegreya Sans', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.gaugeslab tbody tr:nth-child(even) td { background: var(--hidewarm); }
.gaugeslab td b { color: var(--cordovan); }

.bootscroll { overflow-x: auto; }

/* ---------- витрина одного товара ---------- */

.bootspot {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 44px;
  align-items: center;
}
/* Квадрат, а не 4/3: в пейзажной рамке портретный снимок после contain ужимается до
 * марки в середине белого поля. */
.bootspot .bootshot { border: 1px solid var(--dustline); aspect-ratio: 1 / 1; }
.bootspot h2 { margin-bottom: .3em; }
.bootspot .bootact { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.bootspot .bootline {
  display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap;
  margin: 16px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--dustline);
}

/* ---------- уход ---------- */

.bootcare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  margin-top: 26px;
}
.bootcare > div {
  background: #fff;
  border: 1px solid var(--dustline);
  border-top: var(--edge) solid var(--cordovan);
  padding: 26px 26px 28px;
}
.bootcare > div + div { border-top-color: var(--duskamber); }
.bootcare h3 { font-size: 17px; }
.bootcare ul { margin: 12px 0 0; padding: 0; list-style: none; }
.bootcare li {
  padding-left: 24px;
  position: relative;
  margin-bottom: 10px;
  color: var(--inkfade);
  font-size: 16px;
}
.bootcare li::before {
  content: '';
  position: absolute;
  left: 0; top: 9px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--cordovan);
}
.bootcare > div + div li::before { background: var(--duskamber); }

/* ---------- лестница обхвата голенища ---------- */

.bootrung { list-style: none; margin: 26px 0 0; padding: 0; }
.bootrung li {
  display: grid;
  /* Ярлык и счётчик — своей колонкой каждый, полоса тянется между ними. Ширину полосы
     задаёт генератор инлайном, в процентах от самой населённой ступени. */
  grid-template-columns: 148px 1fr 92px;
  align-items: center;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--dustline);
  padding: 16px 20px;
}
.bootrung li + li { margin-top: 10px; }
.bootrung b { font-size: 17px; color: var(--cordovan); }
.bootrung em { font-style: normal; text-align: right; color: var(--inkfade); font-size: 15px; }
.bootrung__bar {
  display: block;
  height: 12px;
  background: var(--hidewarm);
}
.bootrung__bar i { display: block; height: 100%; background: var(--duskamber); }
.bootrung__on {
  grid-column: 1 / -1;
  color: var(--inkfade);
  font-size: 15px;
}
.bootrung__on a { border-bottom: 1px solid var(--duskamber); }

/* ---------- детская лестница ---------- */

.kidrung { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; }
.kidrung h2 { margin-bottom: .5em; }
.kidrung .bootact { margin-top: 24px; }
.kidrung__steps {
  list-style: none;
  margin: 0; padding: 0;
  border: 1px solid var(--dustline);
  background: #fff;
}
.kidrung__steps li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 12px 20px;
}
.kidrung__steps li + li { border-top: 1px solid var(--dustline); }
/* Ступени лестницы идут снизу вверх по размеру, и это надо видеть глазом, а не вычитывать:
   каждая следующая отступает чуть глубже. */
.kidrung__steps li:nth-child(2) { padding-left: 26px; }
.kidrung__steps li:nth-child(3) { padding-left: 32px; }
.kidrung__steps li:nth-child(4) { padding-left: 38px; }
.kidrung__steps li:nth-child(5) { padding-left: 44px; }
.kidrung__steps li:nth-child(6) { padding-left: 50px; }
.kidrung__steps li:nth-child(7) { padding-left: 56px; }
.kidrung__steps li:nth-child(n+8) { padding-left: 62px; }
.kidrung__steps b { font-size: 16px; }
.kidrung__steps span { color: var(--inkfade); font-size: 14px; white-space: nowrap; }

/* ---------- миссия ---------- */

.bootmission { max-width: 68ch; }
.bootmission p { font-size: 18px; color: #cbb69f; }

/* ---------- длинная заметка ---------- */

.bootseo { max-width: 78ch; }
.bootseo h3 { margin-top: 1.5em; }
.bootseo ul { padding-left: 20px; color: var(--inkfade); }
.bootseo li { margin-bottom: 8px; }
.bootseo table { margin: 22px 0; }

/* ---------- отзывы ---------- */

.bootquote {
  list-style: none;
  margin: 26px 0 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.bootquote li {
  background: #fff;
  border: 1px solid var(--dustline);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
}
.bootquote blockquote { margin: 0; font-size: 16px; line-height: 1.6; }
.bootquote blockquote::before {
  content: '\201C';
  font-family: 'Bevan', Georgia, serif;
  font-size: 40px;
  color: var(--duskamber);
  line-height: .6;
  display: block;
  margin-bottom: 8px;
}
.bootquote cite {
  margin-top: auto;
  padding-top: 16px;
  font-style: normal;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--inkfade);
}

/* ---------- закрывающий призыв ---------- */

.bootcta { text-align: center; }
.bootcta p { margin-inline: auto; }
.bootcta .bootact { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

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

.heelbar {
  background: var(--sootbrown);
  color: #a99383;
  border-top: var(--edge) solid var(--cordovan);
  padding: 48px 0 34px;
  font-size: 15px;
}
.heelbar h4 {
  font-family: 'Alegreya Sans', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--duskamber);
  margin-bottom: 12px;
}
.heelbar a { color: #d3c1af; text-decoration: none; }
.heelbar a:hover { color: var(--duskamber); text-decoration: underline; }
.heelbar ul { list-style: none; margin: 0; padding: 0; }
.heelbar li { margin-bottom: 7px; }
.heelbar .bootcols {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 34px;
}
.heelbar .bootmark { margin-bottom: 12px; }
.heelbar .bootmark img { height: 34px; }
.heelbar .bootrule {
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid #3a2b23;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 14px;
  color: #8a7565;
}
/* ---------- почтовый адрес ---------- */

/* ⚠ `font-style: normal` здесь не украшательство: <address> браузер по умолчанию набирает
   курсивом. Тег взят за смысл (это действительно контактный адрес и его читает разметка),
   а вид приходится возвращать руками. Правило общее и на подвал, и на контакты — оно же
   страхует, если адрес появится где-то третьим. */
address, .bootpost { font-style: normal; }
.bootpost {
  margin-top: 14px;
  line-height: 1.65;
}
/* Приписка «чего адрес не значит» стоит вплотную и тише самого адреса: она не должна
   спорить с ним за внимание, но и потеряться ей нельзя.
   ⚠ Цвет не опускать ниже: приписка лежит на тёмном подвале (--sootbrown), и первая
   редакция взяла #8a7565 — на кадре она оказалась самой тусклой строкой во всём подвале.
   Это ровно та строка, ради которой адрес вообще можно печатать: без неё человек читает
   адрес как магазин и приезжает к запертой двери. Тише соседей — да, на грани видимости — нет. */
.bootpost__not {
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.6;
  color: #9c8676;
}
/* ⚠ Нижний отступ обязателен. С `margin: 14px 0 0` абзац «чем этот адрес не является»
   прилипал к карточке вплотную и читался её продолжением, а не отдельной оговоркой. */
.bootpost--wide {
  background: #fff;
  border: 1px solid var(--dustline);
  border-left: var(--edge) solid var(--cordovan);
  padding: 18px 22px;
  margin: 14px 0 20px;
  font-size: 17px;
}

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

.bootpage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  padding: 28px 0 0;
}
.bootpage .bootshot { border: 1px solid var(--dustline); aspect-ratio: 1 / 1; background: #fff; }
.bootpage h1 { font-size: clamp(25px, 3vw, 36px); }
.bootpage .bootline {
  display: flex; align-items: baseline; gap: 20px; flex-wrap: wrap;
  margin: 14px 0 20px;
}
.bootpage .bootprice { font-size: 27px; }
.bootpage .spurbtn { margin-top: 6px; }

.bootspec { width: 100%; border-collapse: collapse; font-size: 15px; margin-top: 22px; }
.bootspec th, .bootspec td { border-bottom: 1px solid var(--dustline); padding: 9px 0; text-align: left; vertical-align: top; }
.bootspec th {
  font-weight: 700;
  color: var(--inkfade);
  width: 44%;
  font-size: 13px;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.bootlist { margin: 18px 0 0; padding: 0 0 0 20px; color: var(--inkfade); }
.bootlist li { margin-bottom: 7px; }

/* Оглавление журнала: заголовок заметки и подводка под ним. ⚠ Маркированным
   списком (.bootlist) это набирать нельзя — подводка слипается с заголовком
   в одну строку, и шесть заметок читаются как один сплошной абзац. */
.trailnote { list-style: none; margin: 22px 0 0; padding: 0; }
.trailnote li + li { margin-top: 14px; }
.trailnote a {
  display: block;
  background: #fff;
  border: 1px solid var(--dustline);
  border-left: var(--edge) solid var(--duskamber);
  padding: 20px 24px 22px;
  text-decoration: none;
  color: inherit;
  transition: border-left-color .15s, box-shadow .15s;
}
.trailnote a:hover { border-left-color: var(--cordovan); box-shadow: var(--shadowmid); }
.trailnote b {
  display: block;
  font-family: 'Bevan', Georgia, serif;
  font-weight: 400;
  font-size: 19px;
  line-height: 1.25;
  color: var(--ink);
}
.trailnote a:hover b { color: var(--cordovan); }
.trailnote span { display: block; margin-top: 7px; color: var(--inkfade); font-size: 16px; }

.bootsizes { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.bootsizes li {
  border: 1px solid var(--dustline);
  background: #fff;
  padding: 7px 14px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 2px;
}

/* Размерный ряд карточки: каждый размер — отдельный листинг, поэтому это кнопки,
   а не текст. ⚠ Кнопку оставлять <button data-bootrack>: клик ловит делегат через
   closest, и на голом <span> клоакинг молча перестанет работать. */
.bootrun { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.spurtag {
  font: 500 14px 'Alegreya Sans', sans-serif;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--dustline);
  border-radius: 2px;
  padding: 8px 13px;
  cursor: pointer;
  transition: border-color .14s, background .14s;
}
.spurtag:hover { border-color: var(--cordovan); background: var(--hidewarm); }
.spurtag b { font-weight: 700; color: var(--cordovan); margin-left: 5px; }

/* Таблица бренда бывает в семь колонок и на телефон не влезает. Отдаём её
   горизонтальному скроллу, а не переносам: размерную таблицу читают строкой,
   и рассыпанная по две колонки она перестаёт что-либо значить. */
.boottable { overflow-x: auto; margin-top: 22px; -webkit-overflow-scrolling: touch; }
.boottable .gaugeslab { min-width: 540px; }

.bootnote {
  background: var(--hidewarm);
  border-left: var(--edge) solid var(--duskamber);
  padding: 16px 20px;
  font-size: 15px;
  color: var(--inkfade);
  margin: 22px 0 0;
}

/* ---------- подборщик по обхвату ---------- */

.lastline {
  background: #fff;
  border: 1px solid var(--dustline);
  border-top: var(--edge) solid var(--cordovan);
  padding: 30px 30px 34px;
  margin-top: 26px;
}
.lastline label {
  display: block;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--inkfade);
  margin-bottom: 8px;
}
/* Полей четыре, и последнее — обхват; подпись у него длинная, поэтому ряд выравниваем
   по низу: где подпись ушла в две строки, поля всё равно стоят на одной линии. */
.lastline .bootrow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; align-items: end; }
.lastline input, .lastline select {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--dustline);
  background: var(--hidepale);
  font: 400 16px 'Alegreya Sans', sans-serif;
  color: var(--ink);
  border-radius: 2px;
}
.lastline input:focus, .lastline select:focus { outline: 2px solid var(--duskamber); outline-offset: 1px; }
.lastline output {
  display: block;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--dustline);
}
.lastline .bootcount {
  font-family: 'Bevan', Georgia, serif;
  font-size: 20px;
  color: var(--cordovan);
  display: block;
  margin-bottom: 4px;
}

/* ---------- гайды ---------- */

.bootguide { max-width: 76ch; padding: 28px 0 0; }
.bootguide h2 { margin-top: 1.6em; }
.bootguide h3 { margin-top: 1.4em; }
.bootguide ul, .bootguide ol { padding-left: 22px; }
.bootguide li { margin-bottom: 9px; }
.bootguide table { margin: 24px 0; }

.bootside {
  margin-top: 44px;
  padding-top: 30px;
  border-top: 1px solid var(--dustline);
}

/* ---------- утилиты ---------- */

.bootfacts {
  list-style: none;
  margin: 22px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 10px 34px;
  font-size: 15px;
  color: var(--inkfade);
}
.bootfacts b { color: var(--sootbrown); }

.bootpick { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

.bootskip {
  position: absolute; left: -9999px;
  background: var(--duskamber); color: var(--sootbrown);
  padding: 10px 16px; z-index: 40;
}
.bootskip:focus { left: 12px; top: 10px; }

/* ---------- узкие экраны ---------- */

@media (max-width: 1000px) {
  .bootgrid { grid-template-columns: repeat(3, 1fr); }
  .bootusp, .bootstat { grid-template-columns: repeat(2, 1fr); }
  .hidepanel { grid-template-columns: repeat(2, 1fr); }
  .bootsteps, .bootspot, .bootpromo, .bootpage { grid-template-columns: 1fr; gap: 32px; }
  .bootvalue, .bootquote { grid-template-columns: 1fr; gap: 22px; }
  .kidrung { grid-template-columns: 1fr; gap: 28px; }
  .heelbar .bootcols { grid-template-columns: 1fr 1fr; gap: 26px; }
  .bootrail ul { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 660px) {
  body { font-size: 16px; }
  .bootband { padding: 44px 0; }
  .rangeband { padding: 46px 0 40px; }
  .lastroom { width: calc(100% - 32px); }
  .bootgrid, .bootgrid--three { grid-template-columns: repeat(2, 1fr); }
  .hidepanel { grid-template-columns: 1fr; }
  .bootcare { grid-template-columns: 1fr; }
  .lastline .bootrow { grid-template-columns: 1fr; gap: 16px; }
  .lastline { padding: 24px 20px 26px; }
  .heelbar .bootcols { grid-template-columns: 1fr; }
  .spurline > .lastroom { min-height: 0; }
  .dustrail { width: 100%; gap: 14px 18px; font-size: 14px; }
  .bootrail ul {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 46%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .bootrail li { scroll-snap-align: start; }
  .bootusp, .bootstat { grid-template-columns: 1fr; }
  .bootspot .bootshot { aspect-ratio: 1 / 1; }
  /* Три колонки в 320px не живут: ярлык переносится по слогам, а счётчик «103 pairs»
     ужимается в столбик. Кладём ярлык и счётчик в одну строку, полосу — под них.
     ⚠ Раскладку задаём поштучно: на автопотоке полоса со своим `grid-column: 1 / -1`
     срывается на новую строку раньше счётчика и выталкивает его на третью. */
  .bootrung li { grid-template-columns: 1fr auto; gap: 10px 14px; }
  .bootrung b { grid-area: 1 / 1; }
  .bootrung em { grid-area: 1 / 2; }
  .bootrung__bar { grid-area: 2 / 1 / auto / -1; }
  .bootrung__on { grid-area: 3 / 1 / auto / -1; }
}


/* доли звёзд по оценкам каталога */
.rowelfill--10::before { width: 20%; }
.rowelfill--35::before { width: 70%; }
.rowelfill--39::before { width: 78%; }
.rowelfill--41::before { width: 82%; }
.rowelfill--42::before { width: 84%; }
.rowelfill--43::before { width: 86%; }
.rowelfill--44::before { width: 88%; }
.rowelfill--45::before { width: 90%; }
.rowelfill--46::before { width: 92%; }
.rowelfill--47::before { width: 94%; }
.rowelfill--48::before { width: 96%; }
.rowelfill--49::before { width: 98%; }
