/* HIMI — gessoroom stylesheet.
   Имена классов и переменных свои: сеть >100 сайтов, совпадающая вёрстка это футпринт.
   Проверено грепом по соседям — 0 совпадений.
   Шрифты лежат рядом с этим файлом и подключаются голыми именами: url(../fonts/) даёт 404. */

@font-face {
  font-family: 'Bricolage';
  src: url(bricolage.woff2) format('woff2');
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: 'Spline';
  src: url(splinesans.woff2) format('woff2');
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --ink: #16161a;
  --ink-2: #2b2b33;
  --ink-soft: #575761;
  --ink-faint: #8a8a94;
  --paper: #faf9f6;
  --paper-2: #f2f0ea;
  --paper-3: #e9e6dd;
  --edge: #ddd8cc;
  --edge-soft: #ebe7dd;
  --cad: #ec5a24;
  --cad-deep: #c8410f;
  --cad-wash: #fdefe8;
  --marigold: #f2b33d;
  --viridian: #1f8a5e;
  --ultra: #2f3f9e;
  --violet: #7b45a8;
  --rose: #e2445c;
  --shell: 0 1px 2px rgba(22, 22, 26, .05), 0 8px 24px rgba(22, 22, 26, .06);
  --shell-lift: 0 2px 6px rgba(22, 22, 26, .08), 0 18px 40px rgba(22, 22, 26, .12);
  --round: 14px;
  --round-s: 9px;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Spline', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Bricolage', 'Spline', system-ui, sans-serif;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2.1rem, 5.2vw, 3.7rem); }
h2 { font-size: clamp(1.55rem, 3.1vw, 2.3rem); }
h3 { font-size: 1.12rem; letter-spacing: -.01em; }

p { margin: 0 0 1em; }
img { max-width: 100%; display: block; }

a { color: var(--cad-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

.taboret { width: min(1200px, 100% - 40px); margin-inline: auto; }

.leapto {
  position: absolute; left: -9999px; top: 0; z-index: 99;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.leapto:focus { left: 0; }

/* заголовок секции — общий для всех блоков */
.blockhead { max-width: 720px; margin: 0 0 26px; }
.blockhead h2 { margin-bottom: .3em; }
.blockhead p { color: var(--ink-soft); margin: 0; font-size: 1.02rem; }
.blockhead.mid { margin-inline: auto; text-align: center; }

.scumble {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .16em;
  font-weight: 600; color: var(--cad-deep); margin: 0 0 .8em;
}

/* кнопки */
.pipette {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--cad); color: #fff; border: 0;
  font: 600 .95rem/1 'Spline', sans-serif;
  padding: 14px 26px; border-radius: 999px; cursor: pointer;
  transition: background .16s, transform .16s;
}
.pipette:hover { background: var(--cad-deep); text-decoration: none; transform: translateY(-1px); }
.pipette-hollow {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.pipette-hollow:hover { background: var(--ink); color: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink); }
.pipette-ghostlight {
  background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .5);
}
.pipette-ghostlight:hover { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: inset 0 0 0 1.5px #fff; }

/* декоративная лента желейных чашек — фирменный мотив HIMI */
.cupline { display: flex; gap: 4px; }
.cupline i {
  width: 22px; height: 12px; border-radius: 3px; display: block;
}
.cupline i:nth-child(1) { background: var(--cad); }
.cupline i:nth-child(2) { background: var(--marigold); }
.cupline i:nth-child(3) { background: var(--viridian); }
.cupline i:nth-child(4) { background: var(--ultra); }
.cupline i:nth-child(5) { background: var(--violet); }
.cupline i:nth-child(6) { background: var(--rose); }

/* ---------- шапка: три яруса ---------- */
.easelbar { background: var(--paper); border-bottom: 1px solid var(--edge); }

.slogline { background: var(--ink); color: #cfcfd6; font-size: .78rem; }
.slogline .taboret {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; min-height: 36px;
}
.slogtag { letter-spacing: .04em; }
.slogtag b { color: #fff; font-weight: 600; }
.sloglinks { display: flex; gap: 20px; }
.sloglinks a { color: #cfcfd6; }
.sloglinks a:hover { color: #fff; }

.mastrow .taboret {
  display: grid; grid-template-columns: auto 1fr auto;
  align-items: center; gap: 18px; padding: 16px 0;
}
.signwrit { display: inline-flex; align-items: center; gap: 12px; }
.signwrit:hover { text-decoration: none; }
.signwrit img { width: 46px; height: 46px; border-radius: 8px; }
.signwrit-txt { display: block; }
.signwrit-txt b {
  display: block; font-family: 'Bricolage', sans-serif; font-weight: 800;
  font-size: 1.5rem; letter-spacing: .26em; color: var(--ink); line-height: 1;
}
.signwrit-txt span {
  display: block; font-size: .68rem; color: var(--ink-faint);
  letter-spacing: .1em; margin-top: 4px;
}
.mastmid { display: flex; justify-content: center; }
.mastmid .cupline i { width: 30px; height: 14px; }
.mastact { display: flex; align-items: center; gap: 12px; }
.mastact .pipette { padding: 11px 20px; font-size: .88rem; }

.brushtab {
  display: none; background: transparent; border: 1.5px solid var(--edge);
  border-radius: 9px; padding: 9px 11px; cursor: pointer; color: var(--ink);
}

.hueband { background: var(--paper-2); border-top: 1px solid var(--edge-soft); position: relative; }
.hueband::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--cad) 0 16.6%, var(--marigold) 16.6% 33.3%,
    var(--viridian) 33.3% 50%, var(--ultra) 50% 66.6%, var(--violet) 66.6% 83.3%, var(--rose) 83.3% 100%);
}
.rangenav { display: flex; flex-wrap: wrap; gap: 4px; padding: 5px 0 8px; }
.rangenav a {
  color: var(--ink-2); font-size: .89rem; font-weight: 600;
  padding: 8px 13px; border-radius: 8px;
}
.rangenav a:hover { background: #fff; color: var(--cad-deep); text-decoration: none; }
.rangenav a.athand { background: var(--ink); color: #fff; }

/* ---------- герой ---------- */
.tintwash {
  background: var(--ink);
  color: #fff;
  padding: 62px 0 0;
  position: relative;
  overflow: hidden;
}
.tintwash::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(760px 420px at 88% -8%, rgba(236, 90, 36, .30), transparent 65%),
    radial-gradient(620px 380px at 8% 108%, rgba(47, 63, 158, .28), transparent 66%);
  pointer-events: none;
}
.washcore { position: relative; max-width: 760px; }
.washcore .scumble { color: var(--marigold); }
.washcore h1 { color: #fff; margin-bottom: .32em; }
.washcore h1 em { font-style: normal; color: var(--cad); }
.washlead { color: #d3d3da; font-size: 1.1rem; max-width: 620px; margin-bottom: 26px; }
.washacts { display: flex; flex-wrap: wrap; gap: 12px; }

.washrail-hold { position: relative; padding: 42px 0 46px; }
.raillead {
  display: flex; align-items: center; gap: 14px;
  font-size: .74rem; text-transform: uppercase; letter-spacing: .16em;
  color: #9a9aa6; font-weight: 600; margin: 0 0 16px;
}
.raillead::after { content: ''; flex: 1; height: 1px; background: rgba(255, 255, 255, .16); }
.washrail { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.railcard {
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--round); padding: 13px; color: #fff;
  display: flex; flex-direction: column; gap: 9px;
  transition: background .16s, transform .16s;
}
.railcard:hover { background: rgba(255, 255, 255, .13); text-decoration: none; transform: translateY(-2px); }
.railpic { background: #fff; border-radius: var(--round-s); aspect-ratio: 1; overflow: hidden; }
.railpic img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.railname {
  font-size: .82rem; line-height: 1.35; font-weight: 600;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.railtag { font-size: .78rem; color: var(--marigold); font-weight: 600; }
.railtag i { font-style: normal; color: #9a9aa6; font-weight: 400; margin-left: 6px; }

/* ---------- карточка товара ----------
   Раскладка своя: чип с числом цветов поверх фото (ось каталога бренда, а не рейтинг),
   кикер формы выпуска, таблица из двух характеристик, цена слева / звёзды справа,
   обводная кнопка. У соседей по сети раскладка другая — совпадение вёрстки это футпринт. */
.pigwall {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
}

.pigcard {
  background: #fff; border: 1px solid var(--edge-soft); border-radius: var(--round);
  display: flex; flex-direction: column; overflow: hidden;
  transition: box-shadow .18s, transform .18s, border-color .18s;
}
.pigcard:hover { box-shadow: var(--shell-lift); transform: translateY(-3px); border-color: var(--edge); }

.pigshot {
  position: relative; display: block; background: var(--paper-2);
  aspect-ratio: 4 / 3; overflow: hidden;
}
.pigshot img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.pigshot:hover { text-decoration: none; }

.pigchip {
  position: absolute; top: 10px; right: 10px;
  background: var(--ink); color: #fff;
  font-size: .72rem; font-weight: 600; letter-spacing: .04em;
  padding: 5px 11px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 6px;
}
.pigchip::before {
  content: ''; width: 9px; height: 9px; border-radius: 2px;
  background: linear-gradient(135deg, var(--cad) 0 50%, var(--marigold) 50% 100%);
}

.pigbody { padding: 15px 16px 17px; display: flex; flex-direction: column; flex: 1; gap: 10px; }

.pigkind {
  margin: 0; font-size: .68rem; text-transform: uppercase; letter-spacing: .13em;
  font-weight: 600; color: var(--cad-deep);
}

.pigname { margin: 0; font-size: .97rem; line-height: 1.35; font-weight: 700; }
.pigname a { color: var(--ink); }
.pigname a:hover { color: var(--cad-deep); }

/* две ячейки характеристик — вместо строки «цена + звёзды» у соседей */
.pigspec {
  margin: 2px 0 0; display: grid; grid-template-columns: 1fr 1fr;
  border: 1px solid var(--edge-soft); border-radius: var(--round-s); overflow: hidden;
}
.pigspec > div { padding: 8px 11px; background: var(--paper); }
.pigspec > div + div { border-left: 1px solid var(--edge-soft); }
.pigspec dt {
  margin: 0; font-size: .64rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--ink-faint); font-weight: 600;
}
.pigspec dd {
  margin: 2px 0 0; font-family: 'Bricolage', sans-serif; font-weight: 700;
  font-size: 1rem; color: var(--ink); line-height: 1.2;
}

.pigfoot {
  margin-top: auto; padding-top: 10px; border-top: 1px dashed var(--edge);
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
}
.pigcost { font-family: 'Bricolage', sans-serif; font-weight: 800; font-size: 1.2rem; }
.pigscore { font-size: .76rem; color: var(--ink-soft); white-space: nowrap; }
.pigscore b { color: var(--ink); font-weight: 600; }

.pipbar { display: inline-flex; gap: 1px; vertical-align: -1px; }
.pipbar i { font-style: normal; color: var(--edge); font-size: .82rem; line-height: 1; }
.pipbar i.charged { color: var(--marigold); }

.pigbuy {
  width: 100%; justify-content: center;
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
  padding: 11px 18px; font-size: .88rem;
}
.pigbuy:hover { background: var(--cad); color: #fff; box-shadow: inset 0 0 0 1.5px var(--cad); }
.pigbuy svg { flex: none; }

/* ---------- полосы страницы ---------- */
.stratum { padding: 64px 0; }
.stratum-tint { background: var(--paper-2); }
.stratum-dark { background: var(--ink); color: #e6e6ec; }
.stratum-dark h2, .stratum-dark h3 { color: #fff; }
.stratum-dark .blockhead p { color: #a8a8b4; }
.stratum-dark .scumble { color: var(--marigold); }
.stratum-tight { padding: 40px 0; }

.walltop {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px; margin-bottom: 26px; flex-wrap: wrap;
}
.walltop .blockhead { margin-bottom: 0; }
.morelink { font-weight: 600; font-size: .92rem; white-space: nowrap; }
.morelink::after { content: ' \2192'; }

/* ---------- 2. четыре довода ---------- */
.hueplate {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.hueplate > div {
  background: #fff; border: 1px solid var(--edge-soft); border-radius: var(--round);
  padding: 22px 20px; position: relative; overflow: hidden;
}
.hueplate > div::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
}
.hueplate > div:nth-child(1)::before { background: var(--cad); }
.hueplate > div:nth-child(2)::before { background: var(--viridian); }
.hueplate > div:nth-child(3)::before { background: var(--ultra); }
.hueplate > div:nth-child(4)::before { background: var(--violet); }
.hueplate h3 { margin: 0 0 .35em; font-size: 1.02rem; }
.hueplate p { margin: 0; font-size: .92rem; color: var(--ink-soft); }

/* ---------- 3. чипы-запросы ---------- */
.mixchips { display: flex; flex-wrap: wrap; gap: 9px; }
.mixchips a {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--edge); border-radius: 999px;
  padding: 9px 17px; font-size: .9rem; font-weight: 600; color: var(--ink-2);
}
.mixchips a:hover { border-color: var(--cad); color: var(--cad-deep); text-decoration: none; }
.mixchips a em {
  font-style: normal; font-size: .74rem; color: var(--ink-faint); font-weight: 500;
}

/* ---------- 4. плитки категорий ---------- */
.priming {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(258px, 1fr));
}
.primeitem {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--edge-soft); border-radius: var(--round);
  overflow: hidden; min-height: 0;
  transition: box-shadow .18s, transform .18s;
}
.primeitem:hover { box-shadow: var(--shell-lift); transform: translateY(-3px); text-decoration: none; }
.primepic { position: relative; aspect-ratio: 5 / 4; background: var(--paper-2); min-height: 0; }
.primepic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.primetext { padding: 16px 18px 20px; }
.primetext h3 { margin: 0 0 .3em; color: var(--ink); font-size: 1.06rem; }
.primetext p { margin: 0 0 .7em; font-size: .89rem; color: var(--ink-soft); }
.primecount {
  font-size: .72rem; text-transform: uppercase; letter-spacing: .12em;
  font-weight: 700; color: var(--cad-deep);
}

/* ---------- 6. промо-дуэт ---------- */
.duotile { display: grid; gap: 20px; grid-template-columns: 1.15fr 1fr; }
.duotile > div {
  border-radius: var(--round); padding: 38px 34px;
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
}
.duo-soot {
  background: var(--ink); color: #d9d9e0;
  background-image: radial-gradient(520px 300px at 100% 0%, rgba(236, 90, 36, .3), transparent 62%);
}
.duo-soot h2 { color: #fff; }
.duo-soot .scumble { color: var(--marigold); }
.duo-pale { background: var(--cad-wash); border: 1px solid #f6d9cb; }
.duo-pale h2 { color: var(--ink); }
.duotile p { max-width: 44ch; margin-bottom: 20px; }
.duotile .pipette { align-self: flex-start; }

/* ---------- 8. полоса цифр ---------- */
.reckonband { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.reckonband > div { text-align: center; padding: 6px 8px; position: relative; }
.reckonband > div + div::before {
  content: ''; position: absolute; left: 0; top: 14%; bottom: 14%;
  width: 1px; background: rgba(255, 255, 255, .14);
}
.reckonnum {
  display: block; font-family: 'Bricolage', sans-serif; font-weight: 800;
  font-size: clamp(1.9rem, 4.4vw, 2.9rem); color: #fff; line-height: 1;
}
.reckonnum em { font-style: normal; color: var(--cad); }
.reckonband p {
  margin: 10px 0 0; font-size: .82rem; color: #a2a2ae;
  text-transform: uppercase; letter-spacing: .1em; font-weight: 600;
}

/* ---------- 9. три принципа ---------- */
.tenetband { display: grid; gap: 22px; grid-template-columns: repeat(3, 1fr); }
.tenetband > div {
  background: #fff; border: 1px solid var(--edge-soft); border-radius: var(--round);
  padding: 26px 24px;
}
.tenetico {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--cad-wash); color: var(--cad-deep); margin-bottom: 16px;
}
.tenetband > div:nth-child(2) .tenetico { background: #e6f4ee; color: var(--viridian); }
.tenetband > div:nth-child(3) .tenetico { background: #e8eaf7; color: var(--ultra); }
.tenetband h3 { margin: 0 0 .4em; }
.tenetband p { margin: 0; color: var(--ink-soft); font-size: .94rem; }

/* ---------- 10. шаги + справочная таблица ---------- */
.layup { display: grid; gap: 34px; grid-template-columns: 1fr 1.1fr; align-items: start; }
.layup ol { counter-reset: st; list-style: none; margin: 0; padding: 0; }
.layup ol li {
  counter-increment: st; position: relative; padding: 0 0 22px 54px;
}
.layup ol li::before {
  content: counter(st); position: absolute; left: 0; top: 0;
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: var(--ink); color: #fff; font-family: 'Bricolage', sans-serif;
  font-weight: 800; font-size: 1rem;
}
.layup ol li::after {
  content: ''; position: absolute; left: 17px; top: 42px; bottom: 6px; width: 2px;
  background: var(--edge);
}
.layup ol li:last-child { padding-bottom: 0; }
.layup ol li:last-child::after { display: none; }
.layup ol h3 { margin: 5px 0 .3em; }
.layup ol p { margin: 0; color: var(--ink-soft); font-size: .93rem; }

table.chartslab {
  width: 100%; border-collapse: collapse; background: #fff;
  border: 1px solid var(--edge-soft); border-radius: var(--round); overflow: hidden;
  font-size: .9rem;
}
table.chartslab caption {
  caption-side: top; text-align: left; padding: 0 0 10px;
  font-size: .74rem; text-transform: uppercase; letter-spacing: .13em;
  font-weight: 700; color: var(--ink-faint);
}
table.chartslab th, table.chartslab td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--edge-soft); }
table.chartslab thead th {
  background: var(--paper-2); font-size: .72rem; text-transform: uppercase;
  letter-spacing: .1em; color: var(--ink-soft); font-weight: 700;
}
table.chartslab tbody tr:last-child td { border-bottom: 0; }
table.chartslab td b { font-family: 'Bricolage', sans-serif; }
.chartslabwrap { overflow-x: auto; }

/* ---------- 11. герой-товар ---------- */
.tondo {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center;
  background: #fff; border: 1px solid var(--edge-soft); border-radius: 20px;
  padding: 34px; box-shadow: var(--shell);
}
.tondopic {
  background: var(--paper-2); border-radius: var(--round);
  aspect-ratio: 1; position: relative; overflow: hidden;
}
.tondopic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 26px; }
.tondopic .pigchip { top: 14px; right: 14px; }
.tondotext h2 { margin-bottom: .35em; }
.tondotext > p { color: var(--ink-soft); }
.tondoline {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 14px 0; margin: 6px 0 18px;
  border-top: 1px dashed var(--edge); border-bottom: 1px dashed var(--edge);
}
.tondocost { font-family: 'Bricolage', sans-serif; font-weight: 800; font-size: 1.7rem; }
.tondoacts { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 12. уход: можно / нельзя ---------- */
.keepwell { display: grid; gap: 20px; grid-template-columns: 1fr 1fr; }
.keepwell > div {
  border-radius: var(--round); padding: 26px 24px; background: #fff;
  border: 1px solid var(--edge-soft);
}
.keepwell h3 { display: flex; align-items: center; gap: 10px; margin-bottom: .7em; }
.keepwell h3 span {
  width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center;
  font-size: .9rem; flex: none;
}
.keep-do h3 span { background: #e6f4ee; color: var(--viridian); }
.keep-dont h3 span { background: #fdeaec; color: var(--rose); }
.keepwell ul { margin: 0; padding: 0; list-style: none; }
.keepwell li {
  position: relative; padding-left: 22px; margin-bottom: 11px;
  font-size: .93rem; color: var(--ink-soft);
}
.keepwell li:last-child { margin-bottom: 0; }
.keepwell li::before {
  content: ''; position: absolute; left: 0; top: .58em;
  width: 8px; height: 8px; border-radius: 2px;
}
.keep-do li::before { background: var(--viridian); }
.keep-dont li::before { background: var(--rose); }

/* ---------- 13. миссия ---------- */
.avowal { max-width: 780px; margin-inline: auto; text-align: center; }
.avowal h2 { margin-bottom: .5em; }
.avowal p { color: #b6b6c2; font-size: 1.06rem; margin: 0; }
.avowal .cupline { justify-content: center; margin-bottom: 22px; }

/* ---------- 14. длинная заметка ---------- */
.groundlayer { max-width: 940px; }
.groundlayer h2 { margin-bottom: .55em; }
.groundlayer h3 { margin: 34px 0 .6em; font-size: 1.14rem; }
.groundlayer p { color: var(--ink-soft); }
.groundlayer > ul { margin: 0 0 22px; padding: 0; list-style: none; }
.groundlayer > ul li {
  position: relative; padding-left: 24px; margin-bottom: 10px; color: var(--ink-soft);
}
.groundlayer > ul li::before {
  content: ''; position: absolute; left: 0; top: .55em;
  width: 10px; height: 10px; border-radius: 3px; background: var(--cad);
}
.groundlayer .chartslabwrap { margin: 0 0 26px; }

/* ---------- 15. отзывы ---------- */
.saidband { display: grid; gap: 20px; grid-template-columns: repeat(3, 1fr); }
.saidband figure {
  margin: 0; background: #fff; border: 1px solid var(--edge-soft);
  border-radius: var(--round); padding: 26px 24px 22px;
  display: flex; flex-direction: column;
}
.saidband blockquote {
  margin: 0 0 16px; font-size: .97rem; color: var(--ink-2); line-height: 1.6; flex: 1;
}
.saidband blockquote::before {
  content: '\201C'; display: block; font-family: 'Bricolage', sans-serif;
  font-size: 2.6rem; line-height: .7; color: var(--cad); margin-bottom: 10px;
}
.saidband figcaption {
  font-size: .82rem; color: var(--ink-faint);
  padding-top: 14px; border-top: 1px solid var(--edge-soft);
}
.saidband figcaption b { display: block; color: var(--ink); font-size: .9rem; font-weight: 700; }

/* ---------- 16. закрывающий призыв ---------- */
.closeband { text-align: center; max-width: 700px; margin-inline: auto; }
.closeband p { color: #b6b6c2; margin-bottom: 26px; }
.closeband .washacts { justify-content: center; }

/* ---------- 17. спектр по числу цветов (свой блок) ----------
   Столбик на каждый размер набора, высота от числа товаров. Пустых размеров у HIMI нет,
   но пол высоты всё равно только под непустым столбиком — иначе провал читается как заполненный. */
.upwall {
  display: grid; grid-template-columns: repeat(var(--cols, 9), 1fr);
  gap: 10px; align-items: end; min-height: 210px;
  padding: 22px 20px 16px; background: #fff;
  border: 1px solid var(--edge-soft); border-radius: var(--round);
}
.upwall a { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; height: 100%; }
.upwall a:hover { text-decoration: none; }
.upbar {
  border-radius: 6px 6px 3px 3px; width: 100%;
  background: linear-gradient(180deg, var(--cad) 0%, var(--cad-deep) 100%);
  transition: filter .16s;
}
.upwall a:nth-child(3n+2) .upbar { background: linear-gradient(180deg, var(--marigold) 0%, #d99320 100%); }
.upwall a:nth-child(3n+3) .upbar { background: linear-gradient(180deg, var(--ultra) 0%, #22307c 100%); }
.upwall a:hover .upbar { filter: brightness(1.12); }
.upfoot { text-align: center; }
.upcount {
  display: block; font-family: 'Bricolage', sans-serif; font-weight: 800;
  font-size: 1.02rem; color: var(--ink); line-height: 1;
}
.uplabel { display: block; font-size: .73rem; color: var(--ink-faint); margin-top: 3px; }

/* ---------- 18. форма выпуска: сравнение (свой блок) ---------- */
.castrow { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }
.castrow > div {
  background: #fff; border: 1px solid var(--edge-soft); border-radius: var(--round);
  padding: 22px 20px; display: flex; flex-direction: column; gap: 4px;
}
.castrow h3 { margin: 0; font-size: 1.04rem; }
.castrow .castnote { margin: 0 0 12px; font-size: .89rem; color: var(--ink-soft); flex: 1; }
.castfacts { margin: 0; display: grid; gap: 7px; font-size: .85rem; }
.castfacts > div { display: flex; justify-content: space-between; gap: 12px; }
.castfacts dt { color: var(--ink-faint); }
.castfacts dd { margin: 0; font-weight: 700; color: var(--ink); }
.castrow .morelink { margin-top: 14px; font-size: .86rem; }

/* ---------- 19. лестница цен (свой блок) ---------- */
.tierstack { display: grid; gap: 14px; }
.tierstack a {
  display: grid; grid-template-columns: 150px 1fr auto; gap: 18px; align-items: center;
  background: #fff; border: 1px solid var(--edge-soft); border-radius: var(--round);
  padding: 16px 20px; color: var(--ink);
}
.tierstack a:hover { border-color: var(--cad); text-decoration: none; }
.tiername { font-family: 'Bricolage', sans-serif; font-weight: 800; font-size: 1.08rem; }
.tiermeter { height: 12px; border-radius: 999px; background: var(--paper-3); overflow: hidden; }
.tiermeter span { display: block; height: 100%; border-radius: 999px; background: var(--cad); }
.tierstack a:nth-child(2) .tiermeter span { background: var(--viridian); }
.tierstack a:nth-child(3) .tiermeter span { background: var(--ultra); }
.tiercount { font-size: .85rem; color: var(--ink-soft); white-space: nowrap; }
.tiercount b { color: var(--ink); }

/* ---------- 20. анонс гайдов (свой блок) ---------- */
.folioteaser { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.folioteaser a {
  background: #fff; border: 1px solid var(--edge-soft); border-radius: var(--round);
  padding: 24px 22px; display: flex; flex-direction: column; gap: 8px; color: var(--ink);
  border-top: 3px solid var(--cad);
}
.folioteaser a:nth-child(2) { border-top-color: var(--viridian); }
.folioteaser a:nth-child(3) { border-top-color: var(--ultra); }
.folioteaser a:nth-child(4) { border-top-color: var(--violet); }
.folioteaser a:hover { box-shadow: var(--shell-lift); text-decoration: none; }
.folioteaser h3 { margin: 0; font-size: 1.02rem; }
.folioteaser p { margin: 0; font-size: .89rem; color: var(--ink-soft); }
.foliomins { font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--ink-faint); font-weight: 600; }

/* ---------- хлебные крошки ---------- */
.breadline {
  font-size: .82rem; color: var(--ink-faint);
  padding: 18px 0 0; display: flex; flex-wrap: wrap; gap: 7px; align-items: center;
}
.breadline a { color: var(--ink-soft); }
.breadline a:hover { color: var(--cad-deep); }
.breadline span[aria-hidden] { color: var(--edge); }

/* ---------- страница товара ---------- */
.mullwrap {
  display: grid; grid-template-columns: 1fr 1fr; gap: 44px;
  align-items: start; padding: 30px 0 8px;
}
.mullpic {
  background: #fff; border: 1px solid var(--edge-soft); border-radius: 18px;
  aspect-ratio: 1; position: relative; overflow: hidden;
}
.mullpic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 30px; }
.mullpic .pigchip { top: 16px; right: 16px; }

.mullside h1 { font-size: clamp(1.6rem, 3.2vw, 2.35rem); margin-bottom: .4em; }
.mullkind {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px;
  font-size: .72rem; text-transform: uppercase; letter-spacing: .13em;
  font-weight: 700; color: var(--cad-deep);
}
.mullkind::before { content: ''; width: 20px; height: 2px; background: var(--cad); }
.mullintro { color: var(--ink-soft); font-size: 1.02rem; }

.mullprice {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 16px;
  padding: 16px 0; margin: 14px 0 18px;
  border-top: 1px solid var(--edge-soft); border-bottom: 1px solid var(--edge-soft);
}
.mullcost { font-family: 'Bricolage', sans-serif; font-weight: 800; font-size: 2rem; line-height: 1; }
.mullrate { font-size: .88rem; color: var(--ink-soft); }
.mullrate b { color: var(--ink); }
.mullstock {
  margin-left: auto; font-size: .8rem; font-weight: 600; color: var(--viridian);
  display: inline-flex; align-items: center; gap: 7px;
}
.mullstock::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--viridian); }

/* характеристики: сетка ячеек, а не строка через точку */
.mullspec {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1px; background: var(--edge-soft); border: 1px solid var(--edge-soft);
  border-radius: var(--round); overflow: hidden; margin: 0 0 22px;
}
.mullspec > div { background: #fff; padding: 13px 15px; }
.mullspec dt {
  margin: 0; font-size: .66rem; text-transform: uppercase; letter-spacing: .1em;
  color: var(--ink-faint); font-weight: 700;
}
.mullspec dd {
  margin: 4px 0 0; font-family: 'Bricolage', sans-serif; font-weight: 700;
  font-size: 1.06rem; color: var(--ink);
}

.mullacts { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 8px; }
.mullacts .pipette { padding: 15px 30px; }
.mullnote { font-size: .8rem; color: var(--ink-faint); margin: 6px 0 0; }

.mullfeat { margin: 26px 0 0; padding: 0; list-style: none; }
.mullfeat li {
  position: relative; padding-left: 28px; margin-bottom: 12px; color: var(--ink-2); font-size: .95rem;
}
.mullfeat li::before {
  content: ''; position: absolute; left: 0; top: .45em;
  width: 14px; height: 9px; border-radius: 2px; background: var(--cad);
}
.mullfeat li:nth-child(2)::before { background: var(--marigold); }
.mullfeat li:nth-child(3)::before { background: var(--viridian); }
.mullfeat li:nth-child(4)::before { background: var(--ultra); }
.mullfeat li:nth-child(5)::before { background: var(--violet); }

.mullbullets {
  background: var(--paper-2); border-radius: var(--round); padding: 24px 26px; margin-top: 6px;
}
.mullbullets h2 { font-size: 1.14rem; margin-bottom: .6em; }
.mullbullets ul { margin: 0; padding-left: 20px; color: var(--ink-soft); font-size: .93rem; }
.mullbullets li { margin-bottom: 8px; }

/* ---------- подборщик ---------- */
.mixdesk {
  background: #fff; border: 1px solid var(--edge-soft); border-radius: 18px;
  padding: 30px; box-shadow: var(--shell);
}
.mixfields { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.mixfields label {
  display: block; font-size: .74rem; text-transform: uppercase; letter-spacing: .11em;
  font-weight: 700; color: var(--ink-faint); margin-bottom: 8px;
}
.mixfields select {
  width: 100%; font: 400 .98rem/1.4 'Spline', sans-serif; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--edge); border-radius: 10px;
  padding: 12px 14px; appearance: none;
}
.mixfields select:focus { outline: 0; border-color: var(--cad); }
.mixout { margin-top: 28px; padding-top: 24px; border-top: 1px dashed var(--edge); }
.mixverdict {
  background: var(--cad-wash); border: 1px solid #f6d9cb; border-radius: var(--round);
  padding: 18px 20px; margin-bottom: 22px;
}
.mixverdict p { margin: 0; color: var(--ink-2); }
.mixverdict b { font-family: 'Bricolage', sans-serif; }
.mixempty { color: var(--ink-soft); margin: 0; }

/* ---------- шапка раздела ---------- */
.shelfhead {
  background: var(--paper-2); border-bottom: 1px solid var(--edge-soft);
  padding: 30px 0 38px;
}
.shelfhead h1 { margin-bottom: .35em; }
.shelfhead p { max-width: 720px; color: var(--ink-soft); margin: 0; font-size: 1.04rem; }
.shelfhead .breadline { padding-top: 0; margin-bottom: 18px; }
.shelfmeta {
  display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 20px;
  font-size: .82rem; color: var(--ink-soft);
}
.shelfmeta b { color: var(--ink); font-family: 'Bricolage', sans-serif; }

/* ---------- текстовые страницы ---------- */
.readout { max-width: 760px; padding: 40px 0 64px; }
.readout h1 { margin-bottom: .5em; }
.readout h2 { font-size: 1.35rem; margin: 38px 0 .55em; }
.readout h3 { font-size: 1.06rem; margin: 26px 0 .5em; }
.readout p, .readout li { color: var(--ink-soft); }
.readout ul, .readout ol { padding-left: 22px; margin: 0 0 1.1em; }
.readout li { margin-bottom: 9px; }
/* вводный абзац: одинаково на сервисных страницах и в заметках студии.
   ⚠ вес нужен ровно такой: .readout p и .folioart p перебивают одиночный класс. */
.readout .underpaint, .folioart .underpaint { font-size: 1.1rem; color: var(--ink-2); }
.readout address {
  font-style: normal; background: var(--paper-2); border-radius: var(--round);
  padding: 18px 20px; color: var(--ink-2); margin: 0 0 1.2em;
}
.readout .chartslabwrap { margin: 0 0 26px; }
.readout hr { border: 0; border-top: 1px solid var(--edge); margin: 34px 0; }

/* ---------- гайды ---------- */
.foliolead {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 34px;
}
.foliolead > a {
  display: flex; flex-direction: column; justify-content: flex-end; gap: 10px;
  min-height: 208px; padding: 30px 28px; border-radius: var(--round);
  background: var(--ink); color: #cfcfd8;
  background-image: radial-gradient(460px 260px at 100% 0%, rgba(236, 90, 36, .32), transparent 62%);
}
.foliolead > a:nth-child(2) {
  background: var(--cad-wash); background-image: none;
  border: 1px solid #f6d9cb; color: var(--ink-soft);
}
.foliolead > a:hover { text-decoration: none; box-shadow: var(--shell-lift); }
.foliolead h2 { margin: 0; font-size: 1.42rem; color: #fff; }
.foliolead > a:nth-child(2) h2 { color: var(--ink); }
.foliolead > a:nth-child(1) .foliomins { color: var(--marigold); }
.foliolead p { margin: 0; font-size: .93rem; }
.notelist { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.notelist article {
  background: #fff; border: 1px solid var(--edge-soft); border-radius: var(--round);
  padding: 26px 24px; display: flex; flex-direction: column; gap: 9px;
}
.notelist article:hover { box-shadow: var(--shell-lift); }
.notelist h2, .notelist h3 { margin: 0; font-size: 1.08rem; }
.notelist h2 a, .notelist h3 a { color: var(--ink); }
.notelist p { margin: 0; font-size: .92rem; color: var(--ink-soft); flex: 1; }

.folioart { max-width: 780px; padding: 32px 0 60px; }
.folioart h1 { margin-bottom: .4em; }
.folioart .foliomins { display: block; margin-bottom: 22px; }
.folioart h2 { font-size: 1.32rem; margin: 40px 0 .55em; }
.folioart h3 { font-size: 1.06rem; margin: 28px 0 .5em; }
.folioart p, .folioart li { color: var(--ink-soft); }
.folioart ul, .folioart ol { padding-left: 22px; margin: 0 0 1.1em; }
.folioart li { margin-bottom: 9px; }
.folioart .chartslabwrap { margin: 0 0 28px; }
.foliopicks {
  margin: 40px 0 0; padding: 28px 0 0; border-top: 1px solid var(--edge);
}
.foliopicks h2 { margin-top: 0; }

/* ---------- 404 ---------- */
.mistpage { text-align: center; padding: 90px 0 100px; max-width: 620px; margin-inline: auto; }
.mistpage .cupline { justify-content: center; margin-bottom: 26px; }
.mistpage h1 { font-size: clamp(2.4rem, 7vw, 4.2rem); }
.mistpage p { color: var(--ink-soft); margin-bottom: 26px; }
.mistpage .washacts { justify-content: center; }

/* ---------- подвал ---------- */
.undercoat { background: var(--ink); color: #a4a4b0; margin-top: 0; }
.undercoat::before {
  content: ''; display: block; height: 4px;
  background: linear-gradient(90deg, var(--cad) 0 16.6%, var(--marigold) 16.6% 33.3%,
    var(--viridian) 33.3% 50%, var(--ultra) 50% 66.6%, var(--violet) 66.6% 83.3%, var(--rose) 83.3% 100%);
}
.undercoat a { color: #c6c6d0; }
.undercoat a:hover { color: #fff; }

.sillcols {
  display: grid; gap: 34px; padding: 52px 0 40px;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
}
.sillbrand .signwrit-txt b { color: #fff; }
.sillbrand .signwrit-txt span { color: #8b8b98; }
.sillbrand p { margin: 18px 0 0; font-size: .89rem; max-width: 34ch; }
.sillbrand .cupline { margin-top: 18px; }

.sillcols h4 {
  margin: 0 0 14px; color: #fff; font-size: .74rem;
  text-transform: uppercase; letter-spacing: .14em; font-weight: 700;
}
.sillcols ul { margin: 0; padding: 0; list-style: none; }
.sillcols li { margin-bottom: 9px; font-size: .89rem; }

.sillnote {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 20px 0 26px; font-size: .78rem; line-height: 1.6; color: #8b8b98;
}
.sillpost { margin: 0 0 20px; font-size: .78rem; line-height: 1.6; color: #8b8b98; }
.sillbar {
  display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: space-between;
  align-items: center; padding-top: 14px;
}
.sillbar p { margin: 0; }

/* ---------- адаптив ---------- */
@media (max-width: 1080px) {
  .washrail { grid-template-columns: repeat(3, 1fr); }
  .washrail .railcard:nth-child(n+4) { display: none; }
  .layup { grid-template-columns: 1fr; gap: 28px; }
  .tondo { grid-template-columns: 1fr; gap: 26px; padding: 26px; }
  .mullwrap { grid-template-columns: 1fr; gap: 28px; }
  .sillcols { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 900px) {
  .stratum { padding: 48px 0; }
  .duotile { grid-template-columns: 1fr; }
  .tenetband { grid-template-columns: 1fr; gap: 16px; }
  .saidband { grid-template-columns: 1fr; }
  .keepwell { grid-template-columns: 1fr; }
  .foliolead { grid-template-columns: 1fr; }
  .reckonband { grid-template-columns: 1fr 1fr; gap: 26px 12px; }
  .reckonband > div:nth-child(3)::before { display: none; }
}

@media (max-width: 760px) {
  .taboret { width: min(1200px, 100% - 32px); }
  .sloglinks { display: none; }
  .mastrow .taboret { grid-template-columns: auto auto; justify-content: space-between; }
  .mastmid { display: none; }
  .mastact .pipette { display: none; }
  .brushtab { display: inline-flex; }

  /* меню категорий на телефоне — раскрывается кнопкой */
  .hueband .rangenav { display: none; flex-direction: column; padding-bottom: 14px; }
  .hueband.unlidded .rangenav { display: flex; }
  .hueband .rangenav a { padding: 11px 13px; }

  /* рейл героя — горизонтальная лента */
  .washrail {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    padding-bottom: 8px; margin-inline: -16px; padding-inline: 16px;
  }
  .washrail .railcard { flex: 0 0 168px; scroll-snap-align: start; }
  .washrail .railcard:nth-child(n+4) { display: flex; }

  .tintwash { padding-top: 44px; }
  .washrail-hold { padding: 32px 0 36px; }

  .pigwall { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
  .pigbody { padding: 12px 13px 14px; gap: 8px; }
  .pigname { font-size: .88rem; }
  .pigspec dd { font-size: .92rem; }
  .pigcost { font-size: 1.05rem; }
  .pigscore { font-size: .7rem; }
  .pigbuy { padding: 10px 14px; font-size: .82rem; }

  .priming { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
  .primetext { padding: 13px 14px 16px; }
  .primetext p { display: none; }

  .duotile > div { padding: 28px 22px; }
  .tondo { padding: 20px; }
  .mullacts .pipette { width: 100%; justify-content: center; }
  .mixdesk { padding: 22px 18px; }

  .upwall { gap: 6px; padding: 18px 14px 12px; min-height: 180px; }
  .upcount { font-size: .86rem; }
  .uplabel { font-size: .62rem; }

  .tierstack a { grid-template-columns: 1fr; gap: 10px; }
  .tiercount { justify-self: start; }

  .sillcols { grid-template-columns: 1fr; gap: 26px; padding: 40px 0 30px; }
  .sillbar { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .pigwall { grid-template-columns: 1fr 1fr; }
  .signwrit img { width: 38px; height: 38px; }
  .signwrit-txt b { font-size: 1.2rem; letter-spacing: .2em; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
