:root {
  --bg: #faf4ec;
  --bg-warm: #f4e9da;
  --surface: #fffdf9;
  --border: #ebdcc8;
  --border-soft: #f3e8da;
  --text: #3b3129;
  --muted: #8d7b68;
  --accent: #c2693c;
  --accent-dark: #a4522b;
  --accent-soft: #fbe9dc;
  --brown: #5b4536;
  --ok: #5d7a45;
  --ok-soft: #e9f0dd;
  --danger: #b04537;
  --danger-soft: #fadfd9;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(94, 66, 41, .05), 0 8px 20px rgba(94, 66, 41, .06);
  --shadow-lift: 0 2px 6px rgba(94, 66, 41, .08), 0 16px 32px rgba(94, 66, 41, .10);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font: 15px/1.6 "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1100px 520px at 12% -8%, #fff6e9 0%, rgba(255, 246, 233, 0) 62%),
    radial-gradient(900px 460px at 92% 0%, #fdece0 0%, rgba(253, 236, 224, 0) 58%),
    var(--bg);
  background-attachment: fixed;
}

h1 { font-size: 26px; letter-spacing: -.01em; margin: 0 0 18px; }
h2 { font-size: 16px; margin: 0 0 12px; }

a { color: var(--accent-dark); text-decoration: none; }
a:hover { color: var(--accent); text-decoration: underline; }

/* Topbar */
.topbar { background: rgba(255, 253, 249, .88); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 20; }
.topbar__inner { max-width: 1240px; margin: 0 auto; padding: 13px 18px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar__brand { font-weight: 800; font-size: 18px; letter-spacing: -.02em; color: var(--brown); }
/* min-width: 0 обязателен: иначе форма не может ужаться ниже своего
   содержимого и кнопка "Найти" вылезает поверх соседних элементов. */
.topbar__search { display: flex; gap: 8px; flex: 1 1 240px; min-width: 0; }
.topbar__search input[type="submit"] { flex: 0 0 auto; }
.topbar__search input[type="search"] { flex: 1; border-radius: 99px; padding-left: 16px; }
.topbar__search input[type="submit"] { border-radius: 99px; padding-inline: 18px; }
.topbar__links { display: flex; align-items: center; gap: 16px; font-weight: 500; }

.page { max-width: 1240px; margin: 0 auto; padding: 26px 18px 70px; }
.page--wide { max-width: 1560px; }

.flash { max-width: 1240px; margin: 14px auto 0; padding: 11px 16px; border-radius: var(--radius-sm); font-weight: 500; }
.flash--notice { background: var(--ok-soft); color: var(--ok); border: 1px solid #d5e3c2; }
.flash--alert { background: var(--danger-soft); color: var(--danger); border: 1px solid #f0c9c1; }

/* Controls */
input, select, textarea, button {
  font: inherit;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: inherit;
  transition: border-color .15s, box-shadow .15s, background .15s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
button, input[type="submit"] {
  cursor: pointer; font-weight: 600;
  background: var(--accent); color: #fff; border-color: var(--accent);
  box-shadow: 0 1px 2px rgba(162, 82, 43, .18);
}
button:hover, input[type="submit"]:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
button.linkish, .linkish button { background: none; border: none; color: inherit; padding: 0; box-shadow: none; font-weight: 500; text-decoration: underline; }
button.linkish:hover, .linkish button:hover { background: none; }
.btn-secondary { background: #fff; color: var(--text); border-color: var(--border); box-shadow: none; }
.btn-secondary:hover { background: var(--bg-warm); color: var(--text); border-color: var(--border); }

/* Layout blocks */
.catalog { display: grid; grid-template-columns: 260px 1fr; gap: 26px; align-items: start; }
@media (max-width: 860px) { .catalog { grid-template-columns: 1fr; } }

.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.filters { position: sticky; top: 84px; }
.filters label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); margin: 16px 0 6px; }
.filters label:first-of-type { margin-top: 0; }
.filters input, .filters select { width: 100%; }
.filters .row { display: flex; gap: 8px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }

/* Product card */
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow); transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: #e0cbb0; }
/* Квадрат задаёт контейнер. Картинку держим вне потока: как флекс-элемент
   плитка берёт min-height от содержимого, и вертикальное фото перебивало
   aspect-ratio -- ряд получался рваным, а ролик вписывался в перекос. */
.card__media { position: relative; aspect-ratio: 1; overflow: hidden; background: #fff;
               border-bottom: 1px solid var(--border-soft); padding: 12px; }
/* Ролик занимает плитку целиком и обрезается по краям: вписанный по
   высоте вертикальный ролик оставлял широкие белые поля по бокам. */
.card__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
               background: #fff; opacity: 0; pointer-events: none; transition: opacity .18s ease; }
.card--playing .card__video { opacity: 1; }
/* Ролики часто вертикальные: на всю ширину колонки такой занял бы
   почти два экрана, поэтому ограничиваем по высоте. */
.product-video { display: block; width: auto; max-width: 100%; max-height: 420px;
                 margin: 12px auto 0; border-radius: var(--radius-sm); background: #000; }
@media (prefers-reduced-motion: reduce) { .card__video { transition: none; } }
.card__media img { position: absolute; inset: 12px; margin: auto; width: auto; height: auto;
                   max-width: calc(100% - 24px); max-height: calc(100% - 24px); object-fit: contain; }
.card__media--empty {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--bg-warm), #fbf2e6);
  color: var(--muted);
}
.card__body { padding: 14px 15px 16px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.card__name { font-weight: 650; line-height: 1.35; }
.card__name a { color: var(--text); }
.card__brand { font-size: 12px; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; color: var(--accent-dark); }
.card__code { font-size: 11.5px; color: var(--muted); }
.card__price { font-size: 20px; font-weight: 800; letter-spacing: -.02em; }
.card__old { font-size: 13px; color: var(--muted); text-decoration: line-through; margin-left: 6px; }
.card form { margin-top: auto; display: flex; gap: 7px; padding-top: 4px; }
.card input[type="number"] { width: 66px; text-align: center; }
.card form input[type="submit"] { flex: 1; }

.placeholder { display: flex; flex-direction: column; align-items: center; gap: 8px; color: #cdb499; }
.placeholder__text { font-size: 12px; font-weight: 600; letter-spacing: .02em; color: #b59c82; }

/* Tables */
.toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
.toolbar .spacer { flex: 1; }
.muted { color: var(--muted); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; }

table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
th, td { padding: 11px 13px; border-bottom: 1px solid var(--border-soft); text-align: left; vertical-align: top; }
th { font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: var(--bg-warm); font-weight: 700; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: #fffaf3; }
td.num, th.num { text-align: right; white-space: nowrap; }
.table-thumb { width: 44px; height: 44px; object-fit: contain; background: #fff; border: 1px solid var(--border-soft); border-radius: 8px; padding: 3px; }

.tag { display: inline-block; padding: 3px 11px; border-radius: 99px; font-size: 12px; font-weight: 600; background: var(--accent-soft); color: var(--accent-dark); }
.tag--muted { background: var(--bg-warm); color: var(--muted); }
.tag--danger { background: var(--danger-soft); color: var(--danger); }
.tag--ok { background: var(--ok-soft); color: var(--ok); }

.source-cell { background: #fdf6ea; }
.diff-up { color: var(--ok); }
.diff-down { color: var(--danger); }

.pagination {
  display: flex; gap: 10px; margin-top: 28px; align-items: center; justify-content: center;
  flex-wrap: wrap;
}
.pagination__pages { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; align-items: center; }
.pagination__page {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px;
  border-radius: 12px; border: 1px solid var(--border); background: var(--surface);
  color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums;
  box-shadow: var(--shadow); transition: border-color .15s, background .15s, transform .12s;
}
.pagination__page:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-dark); text-decoration: none; }
.pagination__page--current {
  background: var(--accent); border-color: var(--accent); color: #fff; cursor: default;
  box-shadow: 0 2px 8px rgba(162, 82, 43, .28);
}
.pagination__page--current:hover { background: var(--accent); color: #fff; }
.pagination__gap { display: inline-flex; justify-content: center; min-width: 26px; color: var(--muted); letter-spacing: 2px; }

.pagination__arrow {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px;
  border-radius: 12px; border: 1px solid var(--border); background: var(--surface);
  color: var(--text); font-weight: 600; box-shadow: var(--shadow); transition: border-color .15s, background .15s;
}
.pagination__arrow:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-dark); text-decoration: none; }
.pagination__arrow--disabled { opacity: .4; box-shadow: none; }
.pagination__chevron { width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.pagination__chevron--left { transform: rotate(135deg); }
.pagination__chevron--right { transform: rotate(-45deg); }

@media (max-width: 640px) {
  .pagination__arrow-text { display: none; }
  .pagination__arrow { padding: 0 14px; }
}

.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.field label { display: block; font-size: 12px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; }
.actions { margin-top: 20px; display: flex; gap: 12px; align-items: center; }

.stack { display: flex; flex-direction: column; gap: 18px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.product-hero { display: grid; grid-template-columns: 340px 1fr; gap: 26px; align-items: start; }
@media (max-width: 760px) { .product-hero { grid-template-columns: 1fr; } }
.product-hero__media { background: #fff; border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 18px; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.product-hero__media img { width: 100%; height: 100%; object-fit: contain; }

/* Оформление заказа */
.checkout { display: grid; grid-template-columns: 1fr 360px; gap: 22px; align-items: start; }
@media (max-width: 980px) { .checkout { grid-template-columns: 1fr; } }
.checkout__summary { position: sticky; top: 84px; }

.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.choice {
  display: flex; flex-direction: column; gap: 6px; cursor: pointer;
  border: 1.5px solid var(--border); border-radius: var(--radius); padding: 14px 16px;
  background: #fff; transition: border-color .15s, background .15s, box-shadow .15s;
}
.choice:hover { border-color: #e0cbb0; }
.choice:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 3px #fbe9dc; }
.choice--disabled { opacity: .55; cursor: not-allowed; }
.choice__title { font-weight: 650; }
.choice__hint { font-size: 12px; color: var(--muted); }

.estimate { background: var(--bg-warm); border-radius: var(--radius-sm); padding: 14px 16px; }
.estimate p { margin: 0 0 6px; }
.estimate p:last-child { margin-bottom: 0; }

.summary-table { box-shadow: none; background: transparent; }
.summary-table td { border-bottom: 1px dashed var(--border-soft); padding: 7px 0; }
.summary-lines p { display: flex; justify-content: space-between; gap: 16px; margin: 6px 0; }
.summary-total { font-size: 19px; font-weight: 800; border-top: 1px solid var(--border); padding-top: 10px; margin-top: 10px; }

input[type="submit"].wide { width: 100%; padding-block: 12px; font-size: 15px; }
.button-link {
  display: inline-block; background: var(--accent); color: #fff; font-weight: 600;
  padding: 10px 20px; border-radius: var(--radius-sm);
}
.button-link:hover { background: var(--accent-dark); color: #fff; text-decoration: none; }

.info-rows p { display: flex; gap: 10px; margin: 6px 0; }
.info-rows span:first-child { color: var(--muted); min-width: 150px; }

/* display: flex у .stack перебивает браузерное [hidden] { display: none },
   поэтому скрытие через атрибут hidden нужно закрепить явно. */
[hidden] { display: none !important; }

/* Выпадающее меню (языки) */
.dropdown { position: relative; }
.dropdown__trigger {
  background: transparent; color: var(--text); border: 1px solid var(--border);
  padding: 7px 14px; border-radius: 99px; font-size: 13px; font-weight: 600;
  box-shadow: none; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
}
.dropdown__trigger:hover { background: var(--bg-warm); border-color: #e0cbb0; }
.dropdown__caret { width: 0; height: 0; border: 4px solid transparent; border-top-color: currentColor; margin-top: 3px; }
.dropdown__menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 40; min-width: 190px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow-lift); padding: 6px; display: flex; flex-direction: column;
}
.dropdown__menu form { margin: 0; }
.dropdown__item {
  width: 100%; text-align: left; background: transparent; color: var(--text);
  border: none; box-shadow: none; padding: 9px 12px; border-radius: var(--radius-sm); font-weight: 500;
}
.dropdown__item:hover { background: var(--bg-warm); color: var(--text); }
.dropdown__item--active { background: var(--accent-soft); color: var(--accent-dark); font-weight: 700; }

/* Фильтры каталога: на десктопе всегда видны, на мобильных прячутся за кнопкой */
.filters-toggle { display: none; }
@media (max-width: 860px) {
  .filters-toggle {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    width: 100%; background: var(--surface); color: var(--text); border: 1px solid var(--border);
    box-shadow: var(--shadow); padding: 13px 16px; font-weight: 650;
  }
  .filters-toggle::after { content: ""; width: 0; height: 0; border: 5px solid transparent; border-top-color: currentColor; margin-top: 4px; }
  .filters-wrap[aria-hidden] { display: block; }
  .filters-wrap .filters { display: none; margin-top: 10px; }
  .filters-wrap.is-open .filters { display: block; }
  .filters-wrap.is-open .filters-toggle::after { transform: rotate(180deg); margin-top: -4px; }
  .filters { position: static; }
}

/* Баннеры и акции */
.banners { max-width: 1240px; margin: 14px auto 0; display: flex; flex-direction: column; gap: 10px; padding: 0 18px; }
.banner {
  display: flex; align-items: center; gap: 16px; padding: 14px 18px;
  background: linear-gradient(100deg, var(--accent-soft), #fff6ec);
  border: 1px solid #f0d8c2; border-radius: var(--radius); box-shadow: var(--shadow);
}
.banner__image { width: 64px; height: 64px; object-fit: contain; border-radius: var(--radius-sm); background: #fff; }
.banner__text { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.banner__title { font-size: 15px; }
.banner__body { color: var(--muted); font-size: 14px; }
.banner__link {
  background: var(--accent); color: #fff; font-weight: 600; padding: 9px 18px;
  border-radius: 99px; white-space: nowrap;
}
.banner__link:hover { background: var(--accent-dark); color: #fff; text-decoration: none; }

/* Галерея товара */
.gallery { display: flex; flex-direction: column; gap: 12px; }
.gallery__thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.gallery__thumb {
  width: 66px; height: 66px; padding: 4px; background: #fff; cursor: pointer;
  border: 1px solid var(--border); border-radius: var(--radius-sm); box-shadow: none;
}
.gallery__thumb:hover { border-color: var(--accent); background: #fff; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }

.breadcrumbs { display: flex; gap: 8px; font-size: 13px; color: var(--muted); margin-bottom: 14px; }

/* Аналитика */
.funnel { display: flex; flex-direction: column; gap: 8px; }
.funnel__row { display: grid; grid-template-columns: 210px 1fr 130px; gap: 14px; align-items: center; }
.funnel__bar { background: var(--bg-warm); border-radius: 99px; height: 26px; overflow: hidden; }
.funnel__fill { background: var(--accent); height: 100%; border-radius: 99px; }
.funnel__meta { font-size: 13px; color: var(--muted); text-align: right; }
.metrics { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-bottom: 20px; }
.metric { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow); }
.metric__value { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.metric__label { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }

/* Картинки в админке */
.image-manager { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.image-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 10px; background: #fff; }
.image-card img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.image-card form { margin-top: 8px; display: flex; gap: 6px; align-items: center; }
.image-card input[type="number"] { width: 62px; }

/* Шапка на узких экранах: бренд и язык в первой строке, поиск и ссылки --
   каждый на своей. На средней ширине они иначе делят одну строку и
   налезают друг на друга. */
@media (max-width: 860px) {
  .topbar__inner { gap: 10px 12px; }
  .topbar__brand { order: 1; }
  .dropdown { order: 2; margin-left: auto; }
  .topbar__search { order: 3; flex: 1 0 100%; }
  .topbar__links { order: 4; flex: 1 0 100%; flex-wrap: wrap; gap: 14px; }
}

@media (max-width: 380px) {
  .topbar__brand { font-size: 16px; }
  .topbar__links { font-size: 14px; gap: 12px; }
}

/* Поле для вёрстки письма и предпросмотр */
.code-area {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px;
  line-height: 1.55; tab-size: 2; white-space: pre;
}
.email-preview {
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: #fff; padding: 18px; max-height: 560px; overflow: auto;
}
.email-preview img { max-width: 100%; height: auto; }
.email-preview table { box-shadow: none; }

/* Ленивый фрейм расчёта доставки: держим высоту заранее, иначе его
   загрузка толкает поля даты вниз и даёт сдвиг макета (CLS). */
#delivery_estimate { display: block; min-height: 80px; }

.error-list { margin: 0; padding-left: 18px; }
.error-list li + li { margin-top: 4px; }
.error-list:has(li:only-child) { list-style: none; padding-left: 0; }

/* У глобального .flash стоит margin: auto для центровки под шапкой. Внутри
   флексовой колонки формы этот auto отменяет растягивание: блок сжимается
   по тексту и уезжает в центр. Здесь он должен идти по ширине панелей. */
.checkout__main > .flash { max-width: none; margin: 0; }

/* Админка: разделы живут слева отдельной колонкой. В строку они не
   помещались -- пункты переносились на второй ряд и налезали на заголовок. */
.admin-shell { display: grid; grid-template-columns: 244px minmax(0, 1fr); min-height: 100vh; }
.admin-body { min-width: 0; }

/* Меню прокручивается само, а не вместе со страницей: разделов больше,
   чем помещается в экран. */
.sidebar {
  position: sticky; top: 0; align-self: start; height: 100vh; overflow-y: auto;
  display: flex; flex-direction: column; gap: 18px;
  padding: 18px 14px 22px; background: var(--brown); color: #f6ece0;
}
.sidebar__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.sidebar__brand { font-weight: 800; font-size: 18px; letter-spacing: -.02em; color: #fff; }
.sidebar__brand:hover { color: #fff; text-decoration: none; }
.sidebar__toggle { display: none; background: rgba(255, 255, 255, .12); border-color: transparent; color: #f6ece0; box-shadow: none; padding: 7px 13px; }
.sidebar__nav { display: flex; flex-direction: column; gap: 15px; }
.sidebar__group { display: flex; flex-direction: column; gap: 1px; }
.sidebar__title {
  margin: 0 0 5px; padding-left: 10px; font-size: 11px; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase; color: rgba(246, 236, 224, .45);
}
.sidebar__link {
  display: block; padding: 8px 10px; border-radius: var(--radius-sm);
  color: #f6ece0; font-size: 14px; font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sidebar__link:hover { background: rgba(255, 255, 255, .1); color: #fff; text-decoration: none; }
.sidebar__link[aria-current="page"] { background: var(--accent); color: #fff; }
.sidebar__foot { margin-top: auto; padding-top: 12px; border-top: 1px solid rgba(246, 236, 224, .16); display: flex; flex-direction: column; gap: 1px; }
.sidebar__foot form { margin: 0; }
.sidebar__link--button { width: 100%; text-align: left; background: none; border: none; box-shadow: none; font-family: inherit; }
.sidebar__link--button:hover { background: rgba(255, 255, 255, .1); color: #fff; }

/* Кнопки в ячейке -- это формы, то есть блоки: каждая уезжала на свою
   строку. Флекс тут не годится: он вынимает td из табличной раскладки,
   и колонка перестаёт совпадать по высоте с остальными. */
.row-actions { white-space: nowrap; }
.row-actions > * { display: inline-block; vertical-align: middle; margin: 0; }
.row-actions > * + * { margin-left: 8px; }

/* Широкие таблицы админки прокручиваются внутри себя, а не тянут страницу. */
.table-wrap { overflow-x: auto; }

@media (max-width: 900px) {
  .admin-shell { grid-template-columns: 1fr; }
  .sidebar { height: auto; max-height: 100vh; z-index: 30; padding: 12px 14px; gap: 12px; }
  .sidebar__toggle { display: inline-flex; }
  .sidebar__nav, .sidebar__foot { display: none; }
  .admin-shell.is-open .sidebar__nav { display: flex; }
  .admin-shell.is-open .sidebar__foot { display: flex; margin-top: 0; }
}

/* Таблицы админки плотнее витринных: колонок много, и при штатном
   отступе названия ломались на три строки. */
.admin table { font-size: 13.5px; }
.admin th, .admin td { padding: 9px 11px; vertical-align: middle; }
.admin td.mono { white-space: nowrap; }
