/* ============================================================
   оборот. — база (скин «Крафт»)
   Токены и разметка сверены с макетами:
   design-refs/01-glavnaya.dc.html, Toast.dc.html, Cookie-banner.dc.html
   ============================================================ */

:root {
  --bg: #e9dfcc;
  --surface: #f4ecdb;
  --panel: #f0eee9;
  --border: #d9cbaf;
  --dash: #c6b699;

  --ink: #33281d;
  --ink-2: #6b5a44;
  /* Был #94836a из макета — контраст 2.78:1 на фоне страницы, вдвое ниже
     порога WCAG AA. Затемнён с сохранением оттенка: 4.56:1 на фоне,
     5.13:1 на карточке. Это метки, счётчики и подписи — их надо читать. */
  --muted: #6e614e;

  --accent: #c4512b;
  --accent-shadow: #8f3517;
  --accent-light: #e07a4f;
  --accent-tint: #f7e5da;

  /* Текст на акцентной заливке. Кремовый #f4ecdb из макета даёт контраст
     3.92:1 — ниже порога WCAG AA (4.5:1) для мелкого текста на кнопках.
     Белый даёт 4.61:1 и на глаз от кремового на оранжевом не отличается. */
  --on-accent: #fff;

  /* Акцент как ЦВЕТ ТЕКСТА на светлом фоне. Сам --accent в этой роли даёт
     3.49:1 — ссылку в меню или «Все новинки →» физически трудно прочитать.
     Тот же оттенок, чуть темнее: 4.60:1 на фоне, 5.18:1 на карточке.
     Заливки кнопок и плашек остаются на --accent — там цвет из макета. */
  --accent-text: #a54424;

  --green: #3f6b39;
  --green-bg: #e3f0e0;
  --gold: #8a6d1f;
  --gold-bg: #f0e8d0;
  --error: #c0392b;
  --error-bg: #fae5e2;

  --dark-field: #241a11;
  --dark-border: #4a3b28;

  --font-head: 'Bitter', Georgia, serif;
  --font-body: 'Golos Text', system-ui, -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;

  --r-s: 6px;
  --r-m: 12px;
  --r-l: 16px;
  --r-xl: 20px;

  --pad-x: 56px;
}

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

/* [hidden] должен побеждать авторский display (grid/flex) на любом элементе */
[hidden] { display: none !important; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-text); }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  line-height: 1.2;
}
h1 { font-size: 44px; letter-spacing: -.01em; }
h2 { font-size: 30px; }
h3 { font-size: 21px; }
p { margin: 0 0 14px; }

main { flex: 1 0 auto; }

/* ---------- Раскладка ---------- */

.container { max-width: 1440px; margin: 0 auto; padding: 0 var(--pad-x); }
.section { padding-bottom: 56px; }
.section--top { border-top: 1.5px dashed var(--dash); padding-top: 32px; }
.section__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 20px; margin-bottom: 22px;
}
.section__title { font-family: var(--font-head); font-weight: 600; font-size: 30px; }
.section__link { font-size: 13.5px; font-weight: 500; color: var(--accent-text); white-space: nowrap; }
.section__link:hover { color: var(--ink); }
.divider-dashed { border: 0; border-top: 1.5px dashed var(--dash); margin: 0; }

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 26px 30px 30px;
  box-shadow: 0 1px 3px rgba(51, 40, 29, .06);
}
.card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-l);
  padding: 22px;
}
.card--hover { transition: border-color .15s; }
.card--hover:hover { border-color: var(--accent); }

.prose { max-width: 72ch; font-size: 15.5px; line-height: 1.7; color: var(--ink-2); }
.prose h2 { margin: 34px 0 12px; }
.prose h3 { margin: 26px 0 10px; }
.prose ul, .prose ol { padding-left: 20px; margin: 0 0 16px; }
.prose li { margin-bottom: 7px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--accent-text); border-bottom: 1.5px dashed var(--accent-text); }

/* ---------- Типографика-помощники ---------- */

.mono-label {
  font: 600 10.5px var(--font-mono);
  letter-spacing: .18em;
  color: var(--muted);
  text-transform: uppercase;
}
.kicker {
  display: inline-block;
  background: var(--accent);
  color: var(--on-accent);
  font: 600 10.5px var(--font-mono);
  letter-spacing: .18em;
  padding: 6px 12px;
  border-radius: 4px;
  transform: rotate(-2deg);
}
.lead { font-size: 16.5px; line-height: 1.62; color: var(--ink-2); }
.muted { color: var(--muted); }
.link-dashed {
  color: var(--accent-text);
  border-bottom: 1.5px dashed var(--accent-text);
  padding-bottom: 2px;
  font-weight: 500;
}
.link-dashed:hover { color: var(--ink); border-bottom-color: var(--ink); }
.page-head { padding: 26px 0 30px; }
.page-head h1 { margin-bottom: 12px; }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body);
  font-size: 14.5px; font-weight: 600;
  padding: 13px 24px;
  border: 0; border-radius: var(--r-m);
  cursor: pointer; text-align: center;
  transition: background .15s, color .15s, box-shadow .15s, border-color .15s;
}
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 6px 0 var(--accent-shadow); }
.btn-primary:hover { background: var(--ink); color: var(--on-accent); box-shadow: 0 6px 0 #191007; }

.btn-dark { background: var(--ink); color: var(--surface); box-shadow: 0 6px 0 #191007; }
.btn-dark:hover { background: var(--surface); color: var(--ink); box-shadow: 0 6px 0 var(--dash); }

.btn-secondary { background: transparent; color: var(--ink); border: 1.5px solid var(--dash); }
.btn-secondary:hover { border-color: var(--accent-text); color: var(--accent-text); }
.btn-secondary--danger:hover { border-color: var(--error); color: var(--error); }
.btn-secondary--ok:hover { border-color: var(--green); color: var(--green); }

.btn-lg { font-size: 15px; padding: 16px 32px; border-radius: 14px; }
.btn-sm { font-size: 12px; padding: 8px 14px; border-radius: 10px; box-shadow: none; }
.btn-sm.btn-primary:hover { box-shadow: none; }
.btn-block { width: 100%; padding: 15px; border-radius: 13px; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------- Бейджи и капсулы ---------- */

.tag {
  display: inline-block;
  font: 600 10px var(--font-mono);
  letter-spacing: .1em; text-transform: uppercase;
  border: 1.5px dashed var(--dash);
  border-radius: 999px;
  padding: 6px 12px;
  color: var(--muted);
}
.chip {
  display: inline-block;
  font-size: 12.5px; font-weight: 500;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 9px 15px;
  cursor: pointer;
  transition: border-color .15s, color .15s;
}
.chip:hover, .chip.is-active { border-color: var(--accent-text); color: var(--accent-text); }
.chip--dashed { background: transparent; border-style: dashed; border-color: var(--accent-text); color: var(--accent-text); }

.grade { font: 600 10px var(--font-mono); padding: 4px 8px; border-radius: 5px; white-space: nowrap; }
.grade--new { background: var(--green-bg); color: var(--green); }
.grade--used { background: var(--gold-bg); color: var(--gold); }
.grade--sale { background: var(--accent); color: var(--surface); }

.badge { background: var(--accent); color: var(--surface); font: 600 9px var(--font-mono); border-radius: 999px; padding: 1px 5px; }

/* ---------- Логотип ---------- */

.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__disc {
  width: 30px; height: 30px; border-radius: 50%; flex: none; position: relative;
  background: repeating-radial-gradient(circle at 50% 50%, #33281d 0 1px, #4a3b28 1px 2.5px);
}
.logo__disc::after {
  content: ''; position: absolute; inset: 0; margin: auto;
  width: 11px; height: 11px; border-radius: 50%; background: var(--accent);
}
.logo__word { font-family: var(--font-head); font-weight: 700; font-size: 22px; color: var(--ink); }
.logo__word span { color: var(--accent); }
.logo:hover .logo__word { color: var(--ink); }

/* ---------- Шапка ---------- */

.site-header { background: var(--bg); border-bottom: 1.5px dashed var(--dash); }
.site-header__inner {
  display: flex; align-items: center; gap: 30px;
  padding: 22px var(--pad-x);
  max-width: 1440px; margin: 0 auto;
}
.site-nav { display: flex; gap: 24px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.site-nav a:hover, .site-nav a.is-active { color: var(--accent-text); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }

.header-search {
  display: flex; align-items: center; gap: 10px;
  background: var(--surface);
  border: 1.5px solid var(--dash);
  border-radius: var(--r-m);
  padding: 10px 16px;
  width: 280px;
}
.header-search:focus-within { border-color: var(--accent); }
.header-search::before {
  content: ''; flex: none;
  width: 12px; height: 12px;
  border: 1.5px solid var(--muted); border-radius: 50%;
}
.header-search input {
  flex: 1; min-width: 0;
  border: 0; background: none; outline: none;
  font: 400 13px var(--font-body); color: var(--ink);
}
.header-search input::placeholder { color: var(--muted); }

.header-link { font-size: 13px; font-weight: 500; color: var(--ink-2); padding: 10px 4px; white-space: nowrap; }
.header-link:hover { color: var(--accent-text); }

.header-cart {
  background: var(--ink); color: var(--surface);
  font-size: 13px; font-weight: 500;
  padding: 10px 16px; border-radius: var(--r-m);
  white-space: nowrap;
}
.header-cart:hover { background: var(--accent); color: var(--surface); }

.burger { display: none; flex-direction: column; gap: 4px; padding: 10px 4px; background: none; border: 0; cursor: pointer; }
.burger span { width: 20px; height: 2px; border-radius: 2px; background: var(--ink); display: block; }
.burger span:last-child { width: 13px; }

.mobile-menu {
  display: none; flex-direction: column;
  padding: 4px 18px 16px;
  border-bottom: 1.5px dashed var(--dash);
  background: var(--bg);
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a { padding: 12px 0; font-size: 15px; font-weight: 500; border-bottom: 1px solid rgba(198, 182, 153, .45); }
.mobile-menu a:last-child { border-bottom: 0; }

/* ---------- Сетки ---------- */

.grid-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

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

.product-card {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-l);
  padding: 16px;
  display: flex; flex-direction: column;
  transition: border-color .15s;
}
.product-card:hover { border-color: var(--accent); }

.product-card__cover {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--r-s);
  overflow: hidden;
  background: var(--ink);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 16px;
}
.product-card__cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.product-card__label {
  position: relative;
  font: 500 9px var(--font-mono); letter-spacing: .2em;
  color: rgba(244, 236, 219, .9);
  text-transform: uppercase;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.product-card__cover-title { position: relative; font-family: var(--font-head); font-size: 20px; color: #f2f0e8; line-height: 1.2; }
.product-card__sale {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  background: var(--accent); color: var(--surface);
  font: 600 10px var(--font-mono);
  padding: 4px 8px; border-radius: 4px;
  transform: rotate(3deg);
}
.product-card__fav {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  width: 30px; height: 30px; border-radius: 50%;
  border: 0; background: rgba(244, 236, 219, .92);
  color: var(--muted); font-size: 14px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.product-card__fav:hover { color: var(--green); }
.product-card__fav.is-active { color: var(--green); background: var(--green-bg); }

.product-card__top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; }
.product-card__title { font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.product-card__meta { font-size: 12.5px; color: var(--ink-2); margin-top: 2px; }
.product-card__bottom { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; padding-top: 10px; }
.product-card__price { font-family: var(--font-head); font-weight: 700; font-size: 18px; }
.product-card__price--sale { color: var(--accent-text); }
.product-card__old { color: var(--muted); font-weight: 400; font-size: 13px; text-decoration: line-through; }

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

.site-footer { background: var(--ink); color: var(--bg); margin-top: 20px; }
.site-footer__inner { max-width: 1440px; margin: 0 auto; padding: 44px var(--pad-x) 30px; }
.site-footer__top { display: flex; justify-content: space-between; gap: 44px; align-items: flex-start; flex-wrap: wrap; }
.site-footer__about { max-width: 300px; }
.site-footer__about p { font-size: 13px; line-height: 1.6; color: #b8a88c; margin-top: 14px; }
.site-footer .logo__disc {
  width: 26px; height: 26px;
  background: repeating-radial-gradient(circle at 50% 50%, #e9dfcc 0 1px, #b8a88c 1px 2.5px);
}
.site-footer .logo__disc::after { width: 10px; height: 10px; }
.site-footer .logo__word { font-size: 20px; color: var(--surface); }
.site-footer .logo__word span { color: var(--accent-light); }

.site-footer__cols { display: flex; gap: 64px; font-size: 13.5px; line-height: 2.1; flex-wrap: wrap; }
.site-footer__col a { display: block; color: var(--bg); }
.site-footer__col a:hover { color: var(--accent-light); }
.site-footer__col .mono-label { margin-bottom: 8px; }

.site-footer__sub { max-width: 300px; }
.site-footer__form { display: flex; gap: 10px; margin-top: 12px; }
.site-footer__form input {
  flex: 1; min-width: 0;
  background: var(--dark-field);
  border: 1.5px solid var(--dark-border);
  border-radius: var(--r-m);
  padding: 11px 14px;
  font: 400 13px var(--font-body);
  color: var(--bg);
  outline: none;
}
.site-footer__form input::placeholder { color: var(--muted); }
.site-footer__form input:focus { border-color: var(--accent); }
.site-footer__form button {
  background: var(--accent); color: var(--surface);
  font-size: 13px; font-weight: 600;
  padding: 11px 18px; border: 0; border-radius: var(--r-m);
  cursor: pointer;
}
.site-footer__form button:hover { background: var(--accent-light); }
.site-footer__note { font-size: 11.5px; color: var(--muted); margin-top: 10px; line-height: 1.5; }

.site-footer__bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--dark-border);
  margin-top: 34px; padding-top: 18px;
  font: 400 11px var(--font-mono); color: var(--muted);
  text-transform: uppercase;
}
.site-footer__bottom a:hover { color: var(--accent-light); }

/* ---------- Cookie-баннер ---------- */

.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
  background: var(--surface);
  border-top: 1.5px dashed var(--dash);
  box-shadow: 0 -6px 24px rgba(51, 40, 29, .14);
  padding: 18px var(--pad-x);
  display: flex; align-items: center; gap: 28px;
}
.cookie-banner__text { flex: 1; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); max-width: 74ch; padding-right: 10px; }
.cookie-banner__text a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 2px; }
.cookie-banner__actions { display: flex; align-items: center; gap: 12px; flex: none; }
.cookie-banner__actions .btn { white-space: nowrap; padding: 11px 20px; font-size: 13.5px; }
.cookie-banner__actions .btn-primary { padding: 11px 26px; }
.cookie-banner__close {
  position: absolute; top: 11px; right: 18px;
  width: 22px; height: 22px; border: 0; background: none; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font: 600 15px var(--font-mono); color: var(--muted); cursor: pointer;
}
.cookie-banner__close:hover { color: var(--accent); background: var(--bg); }

/* ---------- Формы ---------- */

.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.field__label { font: 600 10.5px var(--font-mono); letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.input, .select, .textarea {
  width: 100%;
  background: var(--surface);
  border: 1.5px solid var(--dash);
  border-radius: var(--r-m);
  padding: 12px 16px;
  font: 400 14px var(--font-body);
  color: var(--ink);
  outline: none;
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--accent); }
.input::placeholder, .textarea::placeholder { color: var(--muted); }
.textarea { min-height: 110px; resize: vertical; }
.field__error { font-size: 12.5px; color: var(--error); }
.field__error:empty { display: none; }

/* ---------- Крошки, пустые состояния ---------- */

.breadcrumbs {
  font: 500 11px var(--font-mono); letter-spacing: .1em;
  color: var(--muted); text-transform: uppercase;
  padding: 22px 0 6px;
}
.breadcrumbs a:hover { color: var(--accent-text); }

.empty-state { text-align: center; padding: 70px 20px; }
.empty-state__disc {
  width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 18px; position: relative;
  background: repeating-radial-gradient(circle at 50% 50%, #cabfa8 0 1.5px, #d9cfba 1.5px 4px);
}
.empty-state__disc::after {
  content: ''; position: absolute; inset: 0; margin: auto;
  width: 22px; height: 22px; border-radius: 50%; background: var(--accent); opacity: .7;
}
.empty-state__text { font: 600 11px var(--font-mono); letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }

/* ---------- Мобильная таб-панель ---------- */

.tabbar { display: none; }

/* ---------- Резерв высоты (CLS) ----------
   Шапку, подвал и таб-панель монтирует include.js, сетки и карточку
   товара наполняет app.js — уже после первой отрисовки. Без резерва
   контент прыгает вниз. Значения сняты с реальных высот в Chrome;
   :empty снимает резерв ровно в момент, когда контейнер наполнили. */

#site-header { min-height: 86px; }
#site-footer { min-height: 305px; }
.breadcrumbs:empty { min-height: 42px; }

.cat-grid:empty { min-height: 900px; }
.grid-products--reserve:empty { min-height: 392px; }
#spb-popular:empty { min-height: 803px; }
#product-root:empty { min-height: 974px; }

#labels:empty { min-height: 256px; }
#grades:empty { min-height: 31px; }

/* ---------- Адаптив ---------- */

@media (max-width: 1100px) {
  .grid-products { grid-template-columns: repeat(3, 1fr); }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .header-search { width: 190px; }
  .site-nav { gap: 16px; font-size: 13px; }
  .site-footer__cols { gap: 36px; }
}

@media (max-width: 768px) {
  :root { --pad-x: 18px; }

  h1 { font-size: 36px; }
  h2, .section__title { font-size: 21px; }
  .lead { font-size: 14px; }

  .site-header__inner { padding: 14px 18px; gap: 12px; }
  .site-nav, .header-search, .header-link { display: none; }
  .header-actions { gap: 8px; }
  .burger { display: flex; }

  .grid-products, .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .grid-6 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .grid-2 { grid-template-columns: 1fr; gap: 14px; }

  .product-card { padding: 12px; border-radius: 14px; }
  .product-card__cover { padding: 11px; }
  .product-card__cover-title { font-size: 15px; }
  .product-card__title { font-size: 13px; }
  .product-card__meta { font-size: 11px; }
  .product-card__price { font-size: 15px; }
  .product-card__bottom { flex-direction: column; align-items: stretch; gap: 8px; }

  .section { padding-bottom: 32px; }
  .section--top { padding-top: 24px; }

  .site-footer__top { flex-direction: column; gap: 28px; }
  .site-footer__cols { gap: 28px; }
  .site-footer__bottom { flex-direction: column; gap: 8px; }

  .cookie-banner { flex-direction: column; align-items: stretch; gap: 13px; padding: 16px 18px 18px; bottom: 74px; }
  .cookie-banner__actions .btn { flex: 1; }

  .tabbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 800;
    display: grid; grid-template-columns: repeat(4, 1fr);
    border-top: 1.5px dashed var(--dash);
    background: var(--surface);
    padding: 9px 8px 16px;
  }
  .tabbar__item {
    display: flex; flex-direction: column; align-items: center; gap: 5px;
    padding: 6px 0; position: relative;
    font: 500 10px var(--font-mono); color: var(--muted);
    text-transform: uppercase;
  }
  .tabbar__item.is-active { color: var(--accent); font-weight: 600; }
  .tabbar__icon { width: 20px; height: 20px; border: 2px solid currentColor; border-radius: 6px; }
  .tabbar__icon--round { border-radius: 50%; }
  .tabbar__item.is-active .tabbar__icon { background: var(--accent); border-color: var(--accent); }
  .tabbar__badge { position: absolute; top: 0; right: 26%; }

  body { padding-bottom: 74px; }
  .toast-container { bottom: 88px !important; }

  /* Резерв высоты — мобильные значения */
  #site-header { min-height: 70px; }
  #site-footer { min-height: 785px; }
  .cat-grid:empty { min-height: 700px; }
  .grid-products--reserve:empty { min-height: 627px; }
  #spb-popular:empty { min-height: 1234px; }
  #product-root:empty { min-height: 1364px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- Мобильная доступность ----------
   Lighthouse на мобильных требует основной текст ≥12px и зоны нажатия ≥44px.
   Дизайн «Крафта» любит мелкие моно-метки в 10–11px: на десктопе они остаются
   как в макете, а на телефоне подрастают до читаемых. */

@media (max-width: 768px) {
  .product-card__meta,
  .site-footer__note,
  .site-footer__bottom,
  .more__note { font-size: 12px; }

  .mono-label,
  .tabbar__item,
  .breadcrumbs { font-size: 11px; }

  /* Пальцу нужно за что зацепиться */
  .site-footer__col a { display: block; padding: 6px 0; min-height: 44px; line-height: 32px; }
  .mobile-menu a { min-height: 48px; display: flex; align-items: center; }
  .tabbar__item { min-height: 48px; justify-content: center; }
  .header-cart, .header-link { min-height: 44px; display: inline-flex; align-items: center; }
  .product-card__fav { width: 44px; height: 44px; }
}

/* ---------- Подвал: свой приглушённый цвет ----------
   --muted (#6e614e) настроен под светлый фон. На тёмном подвале он даёт
   2.38:1 — метки колонок было physически не прочитать. Здесь берём светлый
   песочный: 6.17:1. */
.site-footer .mono-label,
.site-footer__note,
.site-footer__bottom { color: #b8a88c; }
.site-footer__form input::placeholder { color: #b8a88c; }
.site-footer__form button { color: var(--on-accent); }
