
    /* Design tokens: frontend-tenant/styles/tokens.css (homepage = source of truth). */

    * { box-sizing: border-box; margin: 0; padding: 0; }
    body {
      font-family: var(--tenant-font-sans);
      color: var(--text);
      background: var(--bg);
      line-height: 1.45;
    }

    /* Браузерные поверхности, которые мы не рисуем сами, но которые тоже
       должны быть в фирменной палитре, а не в серых дефолтах браузера. */
    ::selection { background: var(--orange-soft); color: var(--text); }
    :focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
    /* .search и .field input рисуют собственное кольцо фокуса (box-shadow) —
       глобальный outline поверх него будет дублировать эффект. */
    .search input:focus-visible,
    .field input:focus-visible { outline: none; }
    ::-webkit-scrollbar { width: 10px; height: 10px; }
    ::-webkit-scrollbar-track { background: transparent; }
    ::-webkit-scrollbar-thumb { background: var(--icon); border-radius: 999px; border: 2px solid var(--bg); }
    ::-webkit-scrollbar-thumb:hover { background: var(--muted); }
    html { scrollbar-color: var(--icon) transparent; }

    /* Главная: Paperflow / Inter — блоки баннера/секций на .home-design; палитра на всех страницах в styles/tokens.css */
    body.home-design {
      font-family: var(--tenant-font-sans);
      background: var(--bg);
      color: var(--text);
    }
    body.home-design .topbar {
      background: var(--bg);
      box-shadow: none;
      border-bottom: 1px solid var(--line);
    }
    body.home-design .logo { font-weight: 500; letter-spacing: -0.02em; }
    body.home-design .catalog-shell {
      background: var(--bg);
      border-color: var(--line);
      box-shadow: none;
      border-radius: var(--radius-lg);
    }
    body.home-design .panel {
      background: var(--bg);
      border-color: var(--line);
      box-shadow: none;
    }
    body.home-design .home-banner {
      background: var(--c-bg);
      min-height: 0;
    }
    body.home-design .home-banner__kicker,
    body.home-design .home-banner__geo {
      font-family: var(--tenant-font-sans);
      font-size: var(--font-caption-size);
      font-weight: 600;
      letter-spacing: 0;
      text-transform: none;
    }
    body.home-design .home-banner__geo {
      background: var(--orange);
      border-radius: var(--tenant-radius-pill);
    }
    body.home-design .home-banner .catalog-promise {
      font-family: var(--tenant-font-sans);
      font-size: 40px;
      font-weight: var(--font-h1-weight);
      line-height: var(--font-h1-leading);
      letter-spacing: var(--font-h1-tracking);
      color: var(--text);
      max-width: 20ch;
      text-wrap: balance;
    }
    body.home-design .catalog-promise__accent { color: var(--orange); }
    body.home-design .home-banner .catalog-promise__lead {
      font-size: var(--font-body-size);
      font-weight: var(--font-body-weight);
      line-height: var(--font-body-leading);
      color: var(--muted);
    }
    body.home-design .home-banner__ico {
      background: var(--bg);
      border: 1px solid var(--line);
      border-radius: var(--radius-sm);
      color: var(--text);
    }
    body.home-design .home-banner__perk-text strong {
      font-weight: 500;
      color: var(--text);
    }
    body.home-design .home-banner__perk-text span { color: var(--muted); }
    body.home-design .home-banner__cta {
      background: var(--tenant-accent-hover); /* контраст белого текста 4,6:1 (UX-аудит 20.11.2026) */
      border-radius: var(--radius-sm);
      font-weight: 500;
      padding: 12px 28px;
    }
    body.home-design .home-banner__cta:hover { background: #a94100; }
    body.home-design .home-banner__more {
      font-weight: 500;
      color: var(--text);
    }
    body.home-design .catalog-scenarios__title,
    body.home-design .home-roots__title,
    body.home-design .home-howget__title,
    body.home-design .home-terms__title,
    body.home-design #homeFeedTitle {
      font-family: var(--tenant-font-sans) !important;
      font-size: var(--font-h2-size) !important;
      font-weight: var(--font-h2-weight) !important;
      letter-spacing: var(--font-h2-tracking) !important;
      line-height: var(--font-h2-leading) !important;
      color: var(--text) !important;
    }
    body.home-design .catalog-scenario-card,
    body.home-design .home-root-card,
    body.home-design .t-product-card {
      background: var(--c-bg);
      border: 1px solid var(--line);
      border-radius: var(--radius-lg);
      box-shadow: none;
    }
    body.home-design .home-howget__card {
      background: transparent;
      border: none;
      box-shadow: none;
    }
    body.home-design .catalog-scenario-card:hover,
    body.home-design .home-root-card:hover,
    body.home-design .t-product-card:hover {
      border-color: var(--tenant-accent-soft);
      box-shadow: var(--shadow);
    }
    body.home-design .home-roots,
    body.home-design .home-howget,
    body.home-design .home-terms {
      background: transparent;
    }
    body.home-design .home-howget__kicker {
      color: var(--orange);
      font-family: var(--tenant-font-mono);
    }
    body.home-design .side-tab.is-active { color: var(--orange); font-weight: 700; }
    @media (max-width: 720px) {
      body.home-design .home-banner .catalog-promise { font-size: 32px; font-weight: 700; }
      body.home-design .catalog-scenarios__title,
      body.home-design .home-roots__title,
      body.home-design .home-howget__title,
      body.home-design .home-terms__title,
      body.home-design #homeFeedTitle { font-size: 24px !important; letter-spacing: -0.035em !important; }
    }

    button, input { font: inherit; }

    .topbar {
      position: sticky;
      top: 0;
      z-index: 20;
      background: #fff;
      border-bottom: none;
      box-shadow: 0 4px 18px rgba(16, 19, 23, 0.06);
    }
    .topbar__in {
      width: var(--page-width);
      margin: 0 auto;
      min-height: 72px;
      display: flex;
      align-items: center;
      gap: 14px;
    }
    .logo {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      min-height: 44px;
      font-weight: 800;
      /* Крупнее (25.09.2026, Евгений: «лого не видно совсем»). */
      font-size: 21px;
      text-decoration: none;
      color: var(--text);
      white-space: nowrap;
      flex-shrink: 0;
    }

    /* Полоса доверия (08.09.2026). Человек попадал сразу в сетку товаров и
       нигде не получал ответа на вопрос «почему у вас, а не позвонить в
       местный прокат». При этом всё перечисленное здесь у нас РАБОТАЕТ
       давно — просто клиент об этом не знал: про отсутствие залога было
       написано только в рекламе для прокатчиков.

       Намеренно не баннер и не блок с картинками: это не акция, а условия
       сделки. Их место — тонкой строкой сразу под шапкой, где их прочитают
       по дороге к каталогу, а не пролистают. */
    .trust {
      background: #fff;
      border-bottom: 1px solid var(--line);
    }
    .trust__in {
      width: var(--page-width);
      margin: 0 auto;
      display: flex;
      align-items: stretch;
      gap: 0;
      flex-wrap: wrap;
    }
    .trust__item {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 12px 22px 12px 0;
      margin-right: 22px;
      border-right: 1px solid var(--line);
      flex: 1 1 220px;
      min-width: 0;
    }
    .trust__item:last-child { border-right: none; margin-right: 0; }
    .trust__ico {
      width: 30px;
      height: 30px;
      flex-shrink: 0;
      display: grid;
      place-items: center;
      border-radius: 50%;
      background: var(--orange-soft);
      color: var(--orange-hover);
    }
    .trust__ico svg { width: 26px; height: 26px; }
    .trust__t {
      display: block;
      font-size: 14px;
      font-weight: 600;
      line-height: 1.25;
    }
    .trust__s {
      display: block;
      font-size: 13px;
      color: var(--muted);
      line-height: 1.35;
    }
    .catalog-shell > .trust {
      margin: 0 0 18px;
      background: transparent;
      border: none;
    }
    .catalog-shell > .trust .trust__in {
      width: 100%;
      padding: 0;
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 12px;
    }
    .catalog-shell > .trust .trust__item {
      align-items: flex-start;
      gap: 12px;
      margin: 0;
      padding: 14px 14px 16px;
      border: 1px solid #f0e4d6;
      border-radius: 16px;
      background: #fffaf5;
      flex: none;
    }
    .catalog-shell > .trust .trust__ico {
      width: 36px;
      height: 36px;
      border-radius: 12px;
      background: #fff;
      color: #e7660b;
      box-shadow: 0 1px 0 rgba(30, 29, 27, 0.04);
    }
    .catalog-shell > .trust .trust__ico svg { width: 20px; height: 20px; }
    .catalog-shell > .trust .trust__t {
      font-size: 15px;
      font-weight: 700;
      letter-spacing: -0.02em;
    }
    .catalog-shell > .trust .trust__s {
      margin-top: 3px;
      font-size: 13px;
      line-height: 1.4;
    }
    @media (max-width: 720px) {
      .catalog-shell > .trust .trust__in { grid-template-columns: 1fr; }
      .catalog-shell > .trust .trust__item { border-bottom: 1px solid #f0e4d6; }
    }

    /* FOOTER-1: тема data-theme (дефолт graphite — см. FOOTER_THEME), 4 колонки desktop */
    .site-footer {
      margin-top: 64px;
      font-family: var(--tenant-font-sans, "IBM Plex Sans", sans-serif);
      padding-bottom: 72px;
      background: var(--site-footer-bg);
      color: var(--site-footer-text);
      border-top: 1px solid var(--site-footer-divider);
      --site-footer-bg: #1F2329;
      --site-footer-divider: rgba(255, 255, 255, 0.12);
      --site-footer-heading: #fff;
      --site-footer-text: rgba(255, 255, 255, 0.72);
      --site-footer-link: rgba(255, 255, 255, 0.72);
      --site-footer-link-strong: #fff;
      --site-footer-hover: #EF9122;
      --site-footer-bar-text: rgba(255, 255, 255, 0.55);
      --site-footer-badge-bg: rgba(255, 255, 255, 0.08);
      --site-footer-chevron: rgba(255, 255, 255, 0.5);
      --site-footer-logo-text: #fff;
      --site-footer-chip-bg: rgba(255, 255, 255, 0.12);
      --site-footer-chip-text: #fff;
      --site-footer-chip-hover-bg: rgba(255, 255, 255, 0.2);
    }
    .site-footer[data-theme="light"] {
      --site-footer-bg: #F5F2EC;
      --site-footer-divider: #E6E2DA;
      --site-footer-heading: #2F3054;
      --site-footer-text: #5A6070;
      --site-footer-link: #5A6070;
      --site-footer-link-strong: #2F3054;
      --site-footer-hover: #EF9122;
      --site-footer-bar-text: #5A6070;
      --site-footer-badge-bg: #fff;
      --site-footer-chevron: rgba(90, 96, 112, 0.55);
      --site-footer-logo-text: #2F3054;
      --site-footer-chip-bg: rgba(47, 48, 84, 0.08);
      --site-footer-chip-text: #2F3054;
      --site-footer-chip-hover-bg: rgba(47, 48, 84, 0.12);
    }
    .site-footer[data-theme="dark"] {
      --site-footer-bg: #1F2329;
      --site-footer-divider: rgba(255, 255, 255, 0.12);
      --site-footer-heading: #fff;
      --site-footer-text: rgba(255, 255, 255, 0.72);
      --site-footer-link: rgba(255, 255, 255, 0.72);
      --site-footer-link-strong: #fff;
      --site-footer-hover: #EF9122;
      --site-footer-bar-text: rgba(255, 255, 255, 0.55);
      --site-footer-badge-bg: rgba(255, 255, 255, 0.08);
      --site-footer-chevron: rgba(255, 255, 255, 0.5);
      --site-footer-logo-text: #fff;
      --site-footer-chip-bg: rgba(255, 255, 255, 0.12);
      --site-footer-chip-text: #fff;
      --site-footer-chip-hover-bg: rgba(255, 255, 255, 0.2);
    }
    .site-footer a {
      color: var(--site-footer-link);
      text-decoration: none;
      font-size: 15px;
      font-weight: 500;
    }
    .site-footer a:hover { color: var(--site-footer-hover); }
    .site-footer__in {
      width: var(--page-width);
      max-width: 100%;
      margin: 0 auto;
      padding: 56px 0 24px;
    }
    .site-footer__grid {
      display: grid;
      gap: 24px 32px;
    }
    .site-footer__logo {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      color: var(--site-footer-logo-text);
      font-size: 20px;
      font-weight: 700;
      margin-bottom: 12px;
    }
    .site-footer__logo:hover { color: var(--site-footer-hover); }
    .site-footer__logo-mark {
      width: 40px;
      height: 40px;
      border-radius: 10px;
      object-fit: cover;
      flex-shrink: 0;
    }
    .site-footer[data-theme="dark"] .site-footer__logo-mark,
    .site-footer:not([data-theme="light"]) .site-footer__logo-mark {
      box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.18);
    }
    .site-footer__tagline {
      margin: 0 0 16px;
      font-size: 15px;
      line-height: 1.45;
      max-width: 28em;
    }
    .site-footer__contacts {
      list-style: none;
      margin: 0;
      padding: 0;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }
    .site-footer__contacts a { font-weight: 600; color: var(--site-footer-link-strong); }
    .site-footer__contacts a:hover { color: var(--site-footer-hover); }
    .site-footer__panel {
      border: 0;
      margin: 0;
      padding: 0;
      min-width: 0;
    }
    .site-footer__panel summary {
      list-style: none;
      cursor: pointer;
      font-size: 15px;
      font-weight: 600;
      color: var(--site-footer-heading);
      min-height: 48px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      border-top: 1px solid var(--site-footer-divider);
    }
    .site-footer__panel summary::-webkit-details-marker { display: none; }
    .site-footer__panel summary::after {
      content: "";
      width: 8px;
      height: 8px;
      border-right: 2px solid var(--site-footer-chevron);
      border-bottom: 2px solid var(--site-footer-chevron);
      transform: rotate(45deg);
      transition: transform 0.15s ease;
      flex-shrink: 0;
    }
    .site-footer__panel[open] summary::after { transform: rotate(-135deg); }
    .site-footer__list {
      list-style: none;
      margin: 0;
      padding: 0 0 12px;
      display: flex;
      flex-direction: column;
      gap: 2px;
    }
    .site-footer__list a {
      display: inline-flex;
      align-items: center;
      min-height: 36px;
      padding: 2px 0;
    }
    .site-footer__city-line {
      margin-top: 12px;
      font-size: 15px;
    }
    .site-footer__city-chips {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-top: 12px;
    }
    .site-footer__city-chip {
      display: inline-flex;
      align-items: center;
      padding: 6px 12px;
      border-radius: 999px;
      background: var(--site-footer-chip-bg);
      color: var(--site-footer-chip-text);
      font-size: 13px;
      font-weight: 600;
    }
    .site-footer__city-chip:hover {
      background: var(--site-footer-chip-hover-bg);
      color: var(--site-footer-hover);
    }
    .site-footer__trust {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 8px 12px;
      margin-top: 32px;
      font-size: 12px;
      color: var(--site-footer-text);
    }
    .site-footer__badge {
      display: inline-flex;
      align-items: center;
      padding: 6px 12px;
      border-radius: 999px;
      background: var(--site-footer-badge-bg);
      color: var(--site-footer-text);
      font-weight: 600;
      line-height: 1.2;
    }
    .site-footer__trust-sep { opacity: 0.45; user-select: none; }
    .site-footer__pvi { flex-basis: 100%; font-size: 13px; opacity: .9; }
    .site-footer__pvi a { color: inherit; text-decoration: underline; }
    .site-footer__bar {
      margin-top: 24px;
      padding-top: 20px;
      border-top: 1px solid var(--site-footer-divider);
      display: flex;
      flex-wrap: wrap;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px 20px;
      font-size: 13px;
      line-height: 1.45;
      color: var(--site-footer-bar-text);
    }
    .site-footer__bar a {
      font-size: 13px;
      font-weight: 600;
      color: var(--site-footer-link);
    }
    .site-footer__bar-links {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 4px 8px;
    }
    .site-footer__bar-sep { opacity: 0.45; user-select: none; }
    @media (min-width: 768px) {
      .site-footer__panel summary {
        cursor: default;
        min-height: auto;
        padding: 0 0 12px;
        border-top: 0;
        pointer-events: none;
      }
      .site-footer__panel summary::after { display: none; }
      .site-footer__list { padding-bottom: 0; }
    }
    @media (min-width: 768px) and (max-width: 1023px) {
      .site-footer__grid {
        grid-template-columns: 1fr 1fr;
      }
      .site-footer__brand { grid-column: 1 / -1; }
    }
    @media (min-width: 1024px) {
      .site-footer__grid {
        grid-template-columns: 1.4fr 1fr 1fr 1fr;
        gap: 32px;
      }
    }
    @media (max-width: 767px) {
      .site-footer { padding-bottom: 88px; }
      .site-footer__list a { min-height: 44px; }
      .site-footer__bar { flex-direction: column; }
    }
    .logo__mark {
      width: 44px;
      height: 44px;
      border-radius: 12px;
      display: block;
      object-fit: cover;
      flex-shrink: 0;
    }
    .search-row {
      display: flex;
      align-items: center;
      gap: 8px;
      flex: 1;
      min-width: 0;
    }
    /* Хром поля — только на .search (см. components.css). Не дублировать
       border/background/radius на input: иначе пилюля внутри 12px-рамки. */
    .search {
      flex: 1;
      min-width: 0;
      min-height: 46px;
      border-radius: 999px;
      background: #f7f8fb;
    }
    .search svg {
      left: 16px;
      top: 50%;
      transform: translateY(-50%);
      width: 18px;
      height: 18px;
    }
    .search input {
      appearance: none;
      border: 0;
      background: transparent;
      border-radius: inherit;
      box-shadow: none;
      min-height: calc(46px - 2px);
      padding: 0 18px 0 44px;
    }
    .search input::placeholder {
      color: var(--tenant-icon, #9aa3b2);
    }
    .search input:focus {
      border: 0;
      background: transparent;
      box-shadow: none;
    }
    /* Подсказки под строкой поиска, как у ВИ (25.09.2026): рубрики,
       бренды, товары. */
    .search-suggest {
      position: absolute;
      top: calc(100% + 6px);
      left: 0;
      right: 0;
      z-index: 80;
      background: #fff;
      border: 1px solid #e2e6ee;
      border-radius: 16px;
      box-shadow: 0 12px 32px rgba(20, 28, 45, .14);
      max-height: min(70vh, 560px);
      overflow-y: auto;
      padding: 6px 0;
    }
    .search-suggest[hidden] { display: none; }
    .search-suggest__head {
      padding: 8px 16px 4px;
      font-size: 11.5px;
      font-weight: 700;
      letter-spacing: .04em;
      text-transform: uppercase;
      color: #9aa3b2;
    }
    .search-suggest__row {
      display: flex;
      align-items: center;
      gap: 10px;
      width: 100%;
      padding: 8px 16px;
      border: 0;
      background: none;
      text-align: left;
      cursor: pointer;
      color: var(--text);
      font: inherit;
    }
    .search-suggest__row:hover,
    .search-suggest__row.is-active { background: #f7f8fb; }
    .search-suggest__img {
      width: 40px;
      height: 40px;
      flex: 0 0 40px;
      border-radius: 8px;
      object-fit: contain;
      background: #fff;
    }
    .search-suggest__name {
      flex: 1;
      min-width: 0;
      overflow: hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      font-size: 14px;
      line-height: 1.3;
    }
    .search-suggest__meta { color: #9aa3b2; font-size: 12.5px; white-space: nowrap; }
    .search-suggest__price { font-weight: 700; font-size: 13.5px; white-space: nowrap; }
    .search-suggest__note { padding: 6px 16px; font-size: 12.5px; color: #9aa3b2; }
    .topbar__actions {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-shrink: 0;
    }
    .chip.header-chat {
      display: none;
      position: relative;
      width: 44px;
      height: 44px;
      min-height: 44px;
      padding: 0;
      justify-content: center;
    }
    .header-chat svg { width: 20px; height: 20px; }
    .chip {
      font-family: inherit;
      border: 1px solid #e2e6ee;
      background: #fff;
      border-radius: 999px;
      min-height: 44px;
      padding: 0 16px;
      color: var(--text);
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      font-weight: 600;
      font-size: 14px;
      white-space: nowrap;
    }
    .chip[hidden] { display: none !important; }
    /* Десктоп: строка поиска уже открыта. Иконка — только когда поле скрыто. */
    .topbar__search-open { display: none; }
    .chip svg {
      width: 16px;
      height: 16px;
      flex-shrink: 0;
      color: var(--orange);
    }
    .chip--static {
      cursor: default;
    }
    .chip--static:hover {
      border-color: #e2e6ee;
      background: #fff;
    }
    .chip:hover {
      border-color: #cfd5de;
      background: #fafbfc;
    }
    .avatar-btn {
      width: 42px;
      height: 42px;
      border-radius: 999px;
      border: 1px solid #e2e6ee;
      background: #fff;
      color: #8b93a3;
      cursor: pointer;
      display: grid;
      place-items: center;
      flex-shrink: 0;
      padding: 0;
      position: relative;
    }
    .avatar-btn svg {
      width: 18px;
      height: 18px;
    }
    /* Когда клиент уже идентифицирован (после чекаута/чата) — кружок
       превращается в пилюлю с инициалом и именем, а не остаётся молчаливым
       силуэтом. "Вы вошли как Иван" вместо анонимной иконки. */
    .avatar-btn--named {
      width: auto;
      height: 42px;
      padding: 0 14px 0 4px;
      gap: 8px;
      /* В ряд (04.11.2026, Евгений: «профиль вылазит за оранжевый кружок»): без этого кнопка-сетка ставила кружок и имя
         друг под другом, и они не влезали в 42 px. */
      grid-auto-flow: column;
    }
    .avatar-btn__initials {
      display: none;
      width: 32px;
      height: 32px;
      border-radius: 999px;
      background: var(--orange);
      color: #fff;
      align-items: center;
      justify-content: center;
      font-size: 13px;
      font-weight: 700;
      flex-shrink: 0;
    }
    .avatar-btn--named .avatar-btn__initials { display: flex; }
    .avatar-btn--named svg { display: none; }
    .avatar-btn__name {
      display: none;
      font-size: 13.5px;
      font-weight: 600;
      color: var(--text);
      max-width: 110px;
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .avatar-btn--named .avatar-btn__name { display: inline; }
    /* Не вошёл — «Войти» рядом с силуэтом, как у Самоката (03.11.2026, Евгений: «надо делать Войти, чтоб через номер
       телефона входилось сперва»). */
    .avatar-btn--guest {
      width: auto;
      height: 42px;
      padding: 0 16px 0 12px;
      gap: 8px;
      grid-auto-flow: column;
      color: var(--text);
    }
    .avatar-btn--guest .avatar-btn__name { display: inline; }
    .avatar-btn:hover {
      border-color: #cfd5de;
      background: #fafbfc;
      color: var(--text);
    }

    .layout {
      width: var(--page-width);
      margin: 18px auto;
      display: grid;
      grid-template-columns: 292px minmax(0, 1fr) 320px;
      gap: 12px;
      align-items: start;
    }
    /* Главная — сразу в три колонки, как страница категории: корзина справа видна и пустая (14.10.2026, Евгений). */
    .catalog-rail {
      position: sticky;
      top: 86px;
      max-height: calc(100vh - 86px - 16px);
      overflow-y: auto;
      padding: 8px 6px;
      min-width: 0;
    }
    .catalog-rail .side-pane { display: block; padding: 6px 4px; }

    .panel {
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
    }

    .cats {
      /* Убрана как отдельная навигация (22.09.2026, Евгений: «уберите
         старые категории, сделайте каталог плитками единственным»).
         На мобильном эта колонка шла ПЕРВОЙ в стеке и оказывалась над
         плитками — то самое «старые категории сверху». Плитки
         (root-tiles в #toolsGrid) — теперь единственный вход в каталог;
         элемент оставлен в DOM ради существующего JS (renderCategories
         продолжает писать в него), просто не показывается. */
      display: none;
    }
    .cats h2 {
      font-size: 18px;
      margin-bottom: 12px;
    }
    .cat-list {
      list-style: none;
      display: grid;
      gap: 8px;
    }
    .cat-root {
      border: none;
      border-radius: 12px;
      background: transparent;
      overflow: hidden;
    }
    .cat-root__btn {
      width: 100%;
      border: none;
      background: transparent;
      padding: 10px 10px;
      text-align: left;
      color: #2b3340;
      cursor: pointer;
      display: grid;
      grid-template-columns: 32px 1fr auto;
      align-items: center;
      gap: 8px;
      font-weight: 600;
      border-radius: 10px;
    }
    .cat-root__btn:hover { background: #f5f7fb; }
    .cat-root__icon {
      width: 28px;
      height: 28px;
      border-radius: var(--radius-sm);
      display: grid;
      place-items: center;
      background: #f2f4f8;
      color: var(--text);
      font-size: 15px;
      line-height: 1;
    }
    .cat-root__icon svg { width: 16px; height: 16px; stroke-width: 2px; }
    .cat-root.is-open .cat-root__btn {
      background: #f8fafd;
    }
    .cat-groups {
      display: none;
      border-top: none;
      padding: 6px 0 2px 40px;
      background: transparent;
    }
    .cat-root.is-open .cat-groups { display: block; }
    .cat-group {
      border: none;
      border-radius: 0;
      margin-bottom: 2px;
      overflow: hidden;
      background: transparent;
    }
    .cat-group:last-child { margin-bottom: 0; }
    .cat-group__btn {
      width: 100%;
      border: none;
      background: transparent;
      padding: 8px 8px;
      text-align: left;
      color: #465064;
      font-size: 13px;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      gap: 8px;
      border-radius: 8px;
    }
    .cat-group__btn:hover { background: #f6f8fc; }
    .cat-group.is-open .cat-group__btn { background: #f6f8fc; }
    .cat-leafs {
      display: none;
      list-style: none;
      padding: 4px 0 4px 10px;
      border-top: none;
      background: transparent;
    }
    .cat-group.is-open .cat-leafs { display: grid; gap: 4px; }
    .cat-leaf {
      width: 100%;
      border: none;
      background: transparent;
      border-radius: 8px;
      padding: 7px 8px;
      text-align: left;
      font-size: 12px;
      color: var(--muted);
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      gap: 8px;
    }
    .cat-leaf:hover {
      background: #f7f9fc;
      color: var(--text);
    }
    .cat-leaf.is-active {
      background: var(--orange-soft);
      color: #9f4200;
      font-weight: 600;
    }
    /* Выбранный верхний уровень (08.09.2026): клик по нему теперь
       фильтрует каталог, а не только раскрывает список — значит должно быть
       видно, что фильтр применён. Подсветка мягче, чем у подкатегории:
       выбор типа шире и не должен спорить с ней за внимание. */
    .cat-root__btn.is-active {
      background: var(--orange-soft);
      color: #9f4200;
    }

    .shop-head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 14px;
      gap: 10px;
    }
    .shop-head h1 {
      font-size: clamp(16px, 2vw, 30px);
      line-height: 1.2;
      font-weight: 700;
    }
    .shop-head p {
      color: var(--muted);
      font-size: 14px;
      margin-top: 4px;
    }
    .breadcrumb {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 6px;
      font-size: 13px;
    }
    .breadcrumb__dot {
      width: 10px;
      height: 10px;
      border-radius: 3px;
      display: inline-block;
      margin-right: 2px;
      flex-shrink: 0;
    }
    .breadcrumb__crumb {
      color: var(--muted);
    }
    .breadcrumb__current {
      color: var(--text);
      font-weight: 700;
    }
    .breadcrumb__sep {
      color: #c7ccd6;
    }
    .breadcrumb__reset {
      border: none;
      background: transparent;
      color: var(--orange);
      font-weight: 600;
      cursor: pointer;
      padding: 0;
      font-size: 13px;
    }
    .breadcrumb__reset:hover {
      text-decoration: underline;
    }
    /* Фильтр по ключевой характеристике подкатегории (вес/кВт/высота и т.п.) —
       появляется, только когда выбрана конкретная подкатегория, а не «Все». */
    .key-char-filter {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
      background: var(--orange-soft);
      border-radius: var(--radius-md);
      padding: 10px 14px;
      margin-bottom: 14px;
      font-size: 13px;
      color: var(--text);
    }
    .key-char-filter input[type="number"] {
      width: 78px;
      border: 1px solid var(--line);
      border-radius: 8px;
      padding: 6px 8px;
      font-size: 13px;
      background: #fff;
    }
    .key-char-filter button {
      border: none;
      background: transparent;
      color: var(--muted);
      cursor: pointer;
      font-size: 12px;
      text-decoration: underline;
      margin-left: auto;
    }
    .sort {
      border: 1px solid var(--line);
      border-radius: 10px;
      min-height: 40px;
      background: #fff;
      padding: 0 12px;
      color: #2f3542;
    }

    /* Фильтр по характеристикам каталога поставщика (22.09.2026, Евгений:
       «виброплиту по весу, генератор по КВт... придётся лёгкий бургер
       сделать»). Ключи — не наши, а автоопределённые бэком по реальным
       товарам рубрики, поэтому их может быть несколько сразу. */
    .shop-attrs-toggle {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      border: 1px solid var(--line);
      background: #fff;
      border-radius: 999px;
      padding: 8px 14px;
      font-size: 13px;
      font-weight: 600;
      color: var(--text);
      cursor: pointer;
      margin-bottom: 14px;
    }
    .shop-attrs-toggle svg { width: 15px; height: 15px; }
    .shop-attrs-toggle.is-active {
      border-color: var(--orange, #ef9122);
      background: var(--orange-soft);
    }
    .shop-attrs-toggle__badge {
      background: var(--orange, #ef9122);
      color: #fff;
      border-radius: 999px;
      min-width: 18px;
      height: 18px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 11px;
      padding: 0 5px;
    }
    .shop-attrs-panel {
      display: flex;
      flex-direction: column;
      gap: 10px;
      background: var(--orange-soft);
      border-radius: var(--radius-md);
      padding: 14px;
      margin: -6px 0 14px;
    }
    .shop-attrs-panel__row {
      display: flex;
      align-items: center;
      gap: 10px;
      flex-wrap: wrap;
      font-size: 13px;
    }
    .shop-attrs-panel__row span.name { min-width: 150px; font-weight: 600; }
    .shop-attrs-panel input[type="number"] {
      width: 84px;
      border: 1px solid var(--line);
      border-radius: 8px;
      padding: 6px 8px;
      font-size: 13px;
      background: #fff;
    }
    .shop-attrs-panel__actions {
      display: flex;
      gap: 10px;
      margin-top: 4px;
    }
    .shop-attrs-panel__actions button {
      border-radius: 999px;
      padding: 8px 16px;
      font-size: 13px;
      font-weight: 600;
      cursor: pointer;
      border: none;
    }
    .shop-attrs-panel__actions .apply { background: var(--text); color: #fff; }
    .shop-attrs-panel__actions .reset { background: transparent; color: var(--muted); text-decoration: underline; }

    .catalog-shell {
      --catalog-shell-pad: 16px;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 18px;
      box-shadow: var(--shadow);
      padding: var(--catalog-shell-pad);
    }

    /* Способ получения — фильтр той же сетки, а не второй раздел сайта.
       Стиль намеренно тихий: это уточнение к каталогу аренды, а не
       равноправная вкладка «магазин». */
    .mode-chips {
      display: flex;
      gap: 8px;
      margin: 0 0 14px;
      flex-wrap: wrap;
    }
    .mode-chip {
      padding: 7px 15px;
      border-radius: 999px;
      border: 1px solid #e2e6ee;
      background: #fff;
      color: #5f6673;
      font-size: 13.5px;
      font-family: inherit;
      cursor: pointer;
      transition: background .15s, color .15s, border-color .15s;
    }
    .mode-chip:hover { border-color: #c9d0dc; }
    .mode-chip.is-active {
      background: #1E1D1B;
      border-color: #1E1D1B;
      color: #fff;
    }
    .visually-hidden {
      position: absolute;
      width: 1px;
      height: 1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
    }
    .catalog-promise {
      font-size: clamp(32px, 3.2vw, 44px);
      line-height: 1.05;
      letter-spacing: -0.035em;
      color: #1E1D1B;
      margin: 0;
      font-weight: 800;
      background: none;
      padding: 0;
      max-width: 12em;
    }
    .shop-head .catalog-promise__lead {
      margin: 12px 0 0;
      max-width: 34em;
      font-size: 22px;
      line-height: 1.35;
      font-weight: 500;
      letter-spacing: -0.011em;
      color: #1E1D1B;
    }
    .catalog-shell.is-home {
      overflow: hidden;
      --home-head-inset: 26px;
    }
    .catalog-shell.is-home .shop-head {
      display: block;
      width: calc(100% + 2 * var(--catalog-shell-pad));
      margin: calc(-1 * var(--catalog-shell-pad)) calc(-1 * var(--catalog-shell-pad)) 16px;
      padding: 0;
      background: transparent;
      border: none;
    }
    .catalog-shell.is-home .shop-head__meta { display: none; }
    .home-banner[hidden] { display: none !important; }
    .home-banner {
      position: relative;
      display: block;
      width: 100%;
      box-sizing: border-box;
      background: var(--c-bg);
      border: none;
      border-radius: 0;
      overflow: visible;
    }
    .home-banner__layout {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(240px, 42%);
      gap: 24px 32px;
      align-items: center;
      padding: 28px calc(var(--catalog-shell-pad) + var(--home-head-inset)) 32px calc(var(--catalog-shell-pad) + var(--home-head-inset));
    }
    @media (min-width: 1280px) {
      .home-banner__layout {
        grid-template-columns: minmax(0, 58%) minmax(0, 42%);
      }
    }
    .home-banner__copy {
      position: relative;
      z-index: 1;
      max-width: 640px;
      min-width: 0;
    }
    .home-banner__panel {
      min-width: 0;
      display: flex;
      justify-content: center;
    }
    .home-banner__packshot.home-card-media {
      width: 100%;
      max-width: 560px;
      aspect-ratio: 16 / 10;
      box-shadow: var(--tenant-shadow-md, 0 12px 32px rgba(17, 24, 39, 0.08));
    }
    .home-card-media {
      background: #EEEEEE;
      border-radius: 16px;
      display: grid;
      place-items: center;
      overflow: hidden;
    }
    .home-card-media picture {
      display: contents;
    }
    .home-card-media img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      object-position: center;
      padding: 8%;
      display: block;
    }
    .home-card-media--icon,
    .home-card-media--link {
      color: var(--muted);
    }
    .home-card-media--icon svg,
    .home-card-media--link svg,
    .home-card-media--icon [data-lucide],
    .home-card-media--link [data-lucide] {
      width: 40px;
      height: 40px;
      stroke-width: 1.5;
    }
    .home-card-media--link {
      color: var(--orange);
    }
    .home-banner__eyebrow {
      display: flex;
      align-items: center;
      gap: 14px;
      margin-bottom: 14px;
      min-width: 0;
    }
    .home-banner__geo {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      flex-shrink: 0;
      padding: 5px 10px 5px 8px;
      border-radius: 999px;
      background: #f97316;
      color: #fff;
      font-size: 11px;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
    }
    .home-banner__geo svg { width: 12px; height: 12px; display: block; }
    .home-banner__kicker {
      font-size: 11px;
      font-weight: 650;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: #8d877e;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .home-banner .catalog-promise {
      font-size: min(40px, 2.8vw);
      max-width: 20ch;
      line-height: 1.08;
      text-wrap: balance;
    }
    @media (min-width: 1280px) {
      .home-banner .catalog-promise { font-size: 40px; }
    }
    @media (min-width: 1440px) {
      body.home-design .home-banner .catalog-promise {
        max-width: 22em;
        line-height: 1.12;
      }
    }
    .catalog-promise__accent { color: #f15a24; }
    .home-banner .catalog-promise__lead {
      margin: 16px 0 0;
      max-width: 34em;
      font-size: 15px;
      font-weight: 500;
      color: #5c564e;
    }
    .home-banner__perks {
      display: grid;
      grid-template-columns: repeat(3, max-content);
      gap: 8px 28px;
      margin: 28px 0 0;
      padding: 0;
      list-style: none;
      align-items: center;
    }
    .home-banner__perk {
      display: grid;
      grid-template-columns: 40px auto;
      gap: 10px;
      align-items: center;
      min-width: 0;
    }
    .home-banner__ico {
      width: 40px;
      height: 40px;
      display: grid;
      place-items: center;
      border-radius: 12px;
      background: #f3f1ec;
      color: #1e1d1b;
    }
    .home-banner__ico svg {
      width: 20px;
      height: 20px;
      display: block;
      stroke-width: 1.75;
    }
    .home-banner__perk-text strong {
      display: block;
      font-size: 13.5px;
      font-weight: 700;
      line-height: 1.25;
      letter-spacing: -0.02em;
      color: #1e1d1b;
    }
    .home-banner__perk-text span {
      display: block;
      margin-top: 1px;
      font-size: 12.5px;
      line-height: 1.3;
      color: #7a746c;
    }
    .home-banner__actions {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-top: 22px;
    }
    .home-banner__cta {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 12px 28px;
      border-radius: 12px;
      background: #f97316;
      color: #fff;
      font-size: 15px;
      font-weight: 700;
      text-decoration: none;
      letter-spacing: -0.01em;
    }
    .home-banner__cta:hover { background: #ea6a0c; }
    .home-banner__more {
      color: #1e1d1b;
      font-size: 14px;
      font-weight: 650;
      text-decoration: none;
    }
    .home-banner__more:hover { text-decoration: underline; }
    @media (max-width: 980px) {
      .home-banner__layout {
        grid-template-columns: 1fr;
        padding: 20px calc(var(--catalog-shell-pad) + var(--home-head-inset)) 24px;
      }
      .home-banner__panel { order: 3; }
      .home-banner__packshot.home-card-media { max-width: 420px; margin: 0 auto; }
    }
    @media (max-width: 720px) {
      .catalog-shell.is-home { --home-head-inset: 16px; }
      .home-banner .catalog-promise { font-size: 32px; }
      .home-banner__packshot.home-card-media { max-width: 100%; }
    }
    .catalog-shell.is-home .mode-chips { display: none; }
    .catalog-shell.is-home .catalog-scenarios {
      margin-top: 16px;
      padding-left: var(--home-head-inset);
    }
    .catalog-shell.is-home #homeFeedTitle {
      padding-left: var(--home-head-inset);
    }
    .catalog-shell.is-home .home-roots {
      width: calc(100% + 2 * var(--catalog-shell-pad));
      margin: 8px calc(-1 * var(--catalog-shell-pad)) 20px;
      padding: 28px calc(16px + var(--catalog-shell-pad)) 20px calc(var(--home-head-inset) + var(--catalog-shell-pad));
      border-radius: 0;
    }
    /* Телефон (27.10.2026): ширина calc(100% + 2·pad) у сетки-родителя не срабатывала — блок уезжал влево, справа
       пустая полоса, плитки по 126px и «Пневмоинструм…». На узком экране — просто по ширине каталога. */
    @media (max-width: 720px) {
      .catalog-shell.is-home .home-roots {
        width: auto;
        margin: 8px 0 20px;
        padding: 24px 0 12px;
      }
      .catalog-shell.is-home .catalog-scenarios { padding-left: 0; }
    }
    .catalog-hero {
      margin: 0 0 14px;
      padding-bottom: 12px;
      border-bottom: 1px solid var(--line);
    }
    .catalog-hero__h1 {
      font-size: clamp(22px, 2.4vw, 32px);
      line-height: 1.15;
      margin: 0 0 6px;
      font-weight: 800;
      letter-spacing: -0.02em;
    }
    .catalog-hero__lead {
      margin: 0;
      font-size: 14px;
      color: var(--muted);
      line-height: 1.4;
    }
    .catalog-scenarios {
      grid-column: 1 / -1;
      margin: 0 0 22px;
    }
    .catalog-scenarios__head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin: 0 0 12px;
    }
    .catalog-scenarios__title {
      font-size: clamp(22px, 1.6vw + 14px, 32px);
      font-weight: 700;
      letter-spacing: -0.03em;
      line-height: 1.15;
      margin: 0;
      color: var(--text);
    }
    .catalog-scenarios__next {
      width: 40px;
      height: 40px;
      flex-shrink: 0;
      border-radius: 50%;
      border: 1px solid var(--line);
      background: #fff;
      color: #1e1d1b;
      cursor: pointer;
      display: grid;
      place-items: center;
    }
    .catalog-scenarios__next:hover { border-color: #1e1d1b; }
    .catalog-scenarios__next:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
    .catalog-scenarios__viewport {
      container-type: inline-size;
      overflow-x: auto;
      overflow-y: hidden;
      scroll-snap-type: x mandatory;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: thin;
      scrollbar-color: var(--icon) transparent;
      padding-bottom: 2px;
    }
    .catalog-scenarios__track {
      display: flex;
      gap: 12px;
    }
    .catalog-scenario-card {
      display: flex;
      flex: 0 0 calc((100cqi - 36px) / 4);
      flex-direction: column;
      gap: 0;
      min-height: 0;
      aspect-ratio: 4 / 5;
      padding: 0;
      border: 1px solid var(--line);
      border-radius: var(--r-lg);
      background: var(--c-bg);
      overflow: hidden;
      cursor: pointer;
      font-family: inherit;
      text-align: left;
      text-decoration: none;
      color: var(--text);
      position: relative;
      scroll-snap-align: start;
      transition: border-color 0.15s ease, box-shadow 0.2s ease;
    }
    .catalog-scenario-card:hover {
      border-color: var(--tenant-accent-soft);
      box-shadow: var(--shadow);
    }
    .catalog-scenario-card:focus-visible {
      outline: 2px solid var(--orange);
      outline-offset: 2px;
    }
    .catalog-scenario-card__media {
      flex: 1 1 0;
      min-height: 0;
      aspect-ratio: auto;
      border-radius: 16px;
      margin: 8px 8px 0;
      width: calc(100% - 16px);
    }
    .catalog-scenario-card__body {
      display: flex;
      flex: 0 0 auto;
      flex-direction: column;
      gap: 4px;
      padding: 10px 12px 14px;
    }
    .catalog-scenario-card__name {
      font-size: 17px;
      font-weight: 700;
      line-height: 1.25;
      letter-spacing: -0.02em;
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
      overflow: hidden;
      min-height: calc(1.25em * 2);
    }
    .catalog-scenario-card__price {
      font-size: 13px;
      font-weight: 500;
      line-height: 1.3;
      color: #7a818c;
    }
    @media (max-width: 720px) {
      .catalog-scenario-card {
        flex-basis: calc((100cqi - 12px) / 1.3);
      }
    }
    @media (min-width: 1024px) {
      .catalog-shell.is-home .catalog-scenarios__viewport {
        overflow: visible;
        container-type: normal;
      }
      .catalog-shell.is-home .catalog-scenarios__track {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 12px;
      }
      .catalog-shell.is-home .catalog-scenario-card {
        flex: none;
        width: auto;
        min-width: 0;
      }
      .catalog-shell.is-home .catalog-scenarios__next {
        display: none;
      }
    }
    .home-roots {
      grid-column: 1 / -1;
      background: transparent;
      border-radius: 0;
    }
    .home-roots__title {
      font-size: clamp(22px, 1.6vw + 14px, 32px);
      font-weight: 700;
      letter-spacing: -0.03em;
      line-height: 1.15;
      margin: 0 0 14px;
      color: var(--text);
    }
    .home-roots__grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
      align-items: stretch;
    }
    @media (min-width: 900px) {
      .home-roots__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
    }
    .home-root-card {
      display: flex;
      flex-direction: column;
      gap: 8px;
      min-height: 0;
      height: 100%;
      align-self: stretch;
      padding: 8px 8px 12px;
      border-radius: var(--r-lg);
      background: var(--c-bg);
      border: 1px solid var(--line);
      text-decoration: none;
      color: var(--text);
      transition: box-shadow 0.15s ease, border-color 0.15s ease;
    }
    .home-root-card:hover {
      box-shadow: var(--shadow);
      border-color: var(--tenant-accent-soft);
    }
    .home-root-card:focus-visible {
      outline: 2px solid var(--orange);
      outline-offset: 2px;
    }
    .home-root-card__media {
      flex: none;
      width: 100%;
      aspect-ratio: 4 / 3;
      border-radius: 16px;
    }
    .home-root-card__media img {
      object-fit: contain;
      object-position: center;
      padding: 6%;
      /* Фото раздела из каталога — на белом фоне; multiply растворяет белое в сером фоне плитки (27.10.2026). */
      mix-blend-mode: multiply;
    }
    .home-root-card--all {
      justify-content: flex-start;
      background:
        linear-gradient(180deg, #fffaf6 0%, var(--c-bg) 48%);
      border-color: color-mix(in srgb, var(--orange) 28%, var(--line));
    }
    .home-root-card--all:hover {
      border-color: var(--orange);
    }
    .home-root-card__all-visual {
      position: relative;
      background:
        radial-gradient(90% 80% at 100% 0%, rgba(249, 115, 22, 0.2), transparent 58%),
        linear-gradient(165deg, #fff 0%, #fff4eb 100%);
    }
    .home-root-card__all-mosaic {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 7px;
      width: min(42%, 88px);
      aspect-ratio: 1;
    }
    .home-root-card__all-mosaic span {
      display: block;
      border-radius: 10px;
      background: #fff;
      border: 1px solid rgba(226, 230, 238, 0.95);
      box-shadow: 0 6px 14px rgba(249, 115, 22, 0.08);
    }
    .home-root-card__all-mosaic span:nth-child(2),
    .home-root-card__all-mosaic span:nth-child(3) {
      background: #ffedd5;
      border-color: rgba(249, 115, 22, 0.18);
    }
    .home-root-card__all-cta {
      position: absolute;
      right: 12px;
      bottom: 12px;
      width: 32px;
      height: 32px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      background: var(--orange);
      color: #fff;
      box-shadow: 0 6px 14px rgba(249, 115, 22, 0.28);
      transition: transform 0.18s ease;
    }
    .home-root-card__all-cta svg,
    .home-root-card__all-cta [data-lucide] {
      width: 16px;
      height: 16px;
      stroke-width: 2.2;
    }
    .home-root-card--all:hover .home-root-card__all-cta {
      transform: translateX(3px);
    }
    .home-root-card--all .home-root-card__name {
      color: var(--text);
      font-size: 13px;
    }
    .home-root-card:not(.home-root-card--all) .home-root-card__name,
    .home-root-card:not(.home-root-card--all) .home-root-card__price {
      padding-inline: 6%;
    }
    .home-root-card__name {
      font-size: 13px;
      font-weight: 700;
      line-height: 1.28;
      letter-spacing: -0.02em;
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
      overflow: hidden;
      min-height: calc(1.28em * 2);
      overflow-wrap: anywhere;
      hyphens: auto;
    }
    .home-root-card__price {
      font-size: 12px;
      font-weight: 500;
      line-height: 1.3;
      color: #7a818c;
    }
    .home-roots__all {
      display: inline-flex;
      align-items: center;
      margin-top: 14px;
      font-size: 14px;
      font-weight: 600;
      color: var(--orange);
      text-decoration: none;
    }
    .home-roots__all:hover { text-decoration: underline; }
    .home-howget {
      grid-column: 1 / -1;
      background: transparent;
    }
    .catalog-shell.is-home .home-howget {
      width: calc(100% + 2 * var(--catalog-shell-pad));
      margin: 0 calc(-1 * var(--catalog-shell-pad)) 0;
      padding: 40px calc(16px + var(--catalog-shell-pad)) 64px calc(var(--home-head-inset) + var(--catalog-shell-pad));
      border-radius: 0;
    }
    .home-howget__head {
      margin: 0 0 24px;
    }
    .home-howget__title {
      font-size: clamp(22px, 1.6vw + 14px, 32px);
      font-weight: 700;
      letter-spacing: -0.03em;
      line-height: 1.15;
      margin: 0 0 8px;
      color: var(--text);
    }
    .home-howget__subline {
      margin: 0;
      font-size: 16px;
      line-height: 1.4;
      color: #7a818c;
    }
    .home-howget__card {
      background: transparent;
      padding: 0;
    }
    @media (min-width: 1024px) {
      .home-howget__card {
        padding: 8px 0 0;
      }
    }
    .home-howget__steps {
      list-style: none;
      margin: 0;
      padding: 0;
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 0;
    }
    .home-howget__step {
      position: relative;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      padding: 0 20px;
    }
    .home-howget__step:not(:last-child)::after {
      content: "";
      position: absolute;
      top: 60px;
      right: 0;
      width: 1px;
      height: 120px;
      border-right: 1px dashed #e6e2da;
      pointer-events: none;
    }
    .home-howget__illus {
      flex-shrink: 0;
      width: 120px;
      height: 120px;
      margin: 0 0 16px;
      border-radius: 16px;
      background: #eee;
      overflow: hidden;
    }
    .home-howget__illus picture,
    .home-howget__illus img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .home-howget__kicker {
      margin: 0 0 6px;
      font-size: 13px;
      font-weight: 600;
      line-height: 1.3;
      color: #ef9122;
    }
    .home-howget__step-title {
      margin: 0 0 8px;
      font-size: 18px;
      font-weight: 600;
      line-height: 1.3;
      color: #2f3054;
      font-family: inherit;
    }
    .home-howget__step-desc {
      margin: 0;
      font-size: 15px;
      line-height: 1.45;
      color: #7a818c;
      max-width: 28ch;
      font-family: inherit;
    }
    .home-howget__cta {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 16px;
      margin-top: 24px;
    }
    .home-howget__more {
      display: inline-flex;
      font-size: 15px;
      font-weight: 600;
      color: #ef9122;
      text-decoration: none;
    }
    .home-howget__more:hover { text-decoration: underline; }
    @media (max-width: 767px) {
      .catalog-shell.is-home .home-howget {
        padding-top: 32px;
        padding-bottom: 48px;
      }
      .home-howget__card {
        padding: 0;
      }
      .home-howget__steps {
        grid-template-columns: 1fr;
        gap: 0;
      }
      .home-howget__step {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        padding: 0 0 24px;
        gap: 16px;
      }
      .home-howget__step:last-child {
        padding-bottom: 0;
      }
      .home-howget__step:not(:last-child)::after {
        top: 88px;
        left: 43px;
        right: auto;
        width: 1px;
        height: calc(100% - 72px);
        border-right: none;
        border-left: 1px dashed #e6e2da;
      }
      .home-howget__illus {
        width: 88px;
        height: 88px;
        margin: 0;
      }
      .home-howget__step-body {
        flex: 1;
        min-width: 0;
        padding-top: 2px;
      }
      .home-howget__step-desc {
        max-width: none;
      }
      .home-howget__cta {
        flex-direction: column;
        align-items: stretch;
      }
      .home-howget__cta .t-btn {
        width: 100%;
        justify-content: center;
      }
      .home-howget__more {
        justify-content: center;
      }
    }
    .catalog-shell.is-home .home-howget--b2b {
      padding: 64px calc(16px + var(--catalog-shell-pad)) 64px calc(var(--home-head-inset) + var(--catalog-shell-pad));
    }
    .home-howget--b2b .home-howget__step:not(:last-child)::after {
      display: none;
    }
    @media (min-width: 768px) {
      .home-howget .home-howget__step {
        align-items: flex-start;
        text-align: left;
        padding: 0 24px 0 0;
      }
      .home-howget .home-howget__steps .home-howget__step:last-child {
        padding-right: 0;
      }
      .home-howget .home-howget__step-desc {
        max-width: 32ch;
      }
    }
    @media (max-width: 767px) {
      .catalog-shell.is-home .home-howget--b2b {
        padding-top: 32px;
        padding-bottom: 48px;
      }
    }
    .home-terms {
      grid-column: 1 / -1;
      background: #fff;
    }
    .catalog-shell.is-home .home-terms {
      width: calc(100% + 2 * var(--catalog-shell-pad));
      margin: 0 calc(-1 * var(--catalog-shell-pad)) 0;
      padding: 28px calc(16px + var(--catalog-shell-pad)) 32px calc(var(--home-head-inset) + var(--catalog-shell-pad));
      border-radius: 0;
      border-top: 1px solid #ebecee;
    }
    .home-terms__title {
      font-size: clamp(22px, 1.6vw + 14px, 32px);
      font-weight: 700;
      letter-spacing: -0.03em;
      line-height: 1.15;
      margin: 0 0 16px;
      color: var(--text);
    }
    .home-terms__list {
      display: flex;
      flex-direction: column;
      gap: 0;
      border: 1px solid #e8eaee;
      border-radius: 14px;
      overflow: hidden;
      background: #fafbfc;
    }
    .home-terms__item {
      border-bottom: 1px solid #e8eaee;
      background: #fff;
    }
    .home-terms__item:last-child { border-bottom: none; }
    .home-terms__item[open] { background: #fff; }
    .home-terms__summary {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 14px 16px;
      font-size: 15px;
      font-weight: 700;
      line-height: 1.3;
      letter-spacing: -0.02em;
      color: var(--text);
      cursor: pointer;
      list-style: none;
    }
    .home-terms__summary::-webkit-details-marker { display: none; }
    .home-terms__summary::after {
      content: "";
      flex-shrink: 0;
      width: 10px;
      height: 10px;
      border-right: 2px solid #5f6673;
      border-bottom: 2px solid #5f6673;
      transform: rotate(45deg);
      margin-top: -4px;
      transition: transform 0.15s ease;
    }
    .home-terms__item[open] .home-terms__summary::after {
      transform: rotate(-135deg);
      margin-top: 4px;
    }
    .home-terms__body {
      padding: 0 16px 14px;
      font-size: 14px;
      line-height: 1.45;
      color: #5f6673;
    }
    .home-terms__body p { margin: 0; }
    .home-terms__legal {
      margin: 16px 0 0;
      font-size: 13px;
      line-height: 1.45;
    }
    .home-terms__legal a {
      color: var(--orange-hover);
      font-weight: 600;
      text-decoration: none;
    }
    .home-terms__legal a:hover { text-decoration: underline; }
    body.home-design .home-terms__legal a { color: #c94e00; }
    .home-howget--b2b {
      grid-column: 1 / -1;
    }
    .intent-subtype-chips {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin: 0 0 14px;
      grid-column: 1 / -1;
    }
    .intent-subtype-chip {
      padding: 8px 14px;
      border-radius: 999px;
      border: 1px solid #e2e6ee;
      background: #fff;
      font-size: 13px;
      font-family: inherit;
      cursor: pointer;
      color: var(--text);
    }
    .intent-subtype-chip:hover,
    .intent-subtype-chip.is-on {
      border-color: var(--orange);
      background: var(--orange-soft);
      color: #9f4200;
      font-weight: 600;
    }
    .catalog-howto {
      grid-column: 1 / -1;
      margin-top: 20px;
      padding: 16px 18px;
      border-radius: 14px;
      background: #faf8f5;
      border: 1px solid var(--line);
      font-size: 13.5px;
      line-height: 1.5;
      color: var(--muted);
    }
    .branch-teaser-title {
      grid-column: 1 / -1;
      font-size: 16px;
      font-weight: 800;
      letter-spacing: -0.02em;
      margin: 8px 0 10px;
    }
    .catalog-howto strong { color: var(--text); }
    .catalog-howto ul {
      margin: 8px 0 10px;
      padding-left: 18px;
    }
    .catalog-howto a {
      color: var(--orange-hover);
      font-weight: 600;
      text-decoration: none;
    }
    .catalog-howto a:hover { text-decoration: underline; }
    /* Вторая цена на арендной карточке. Приглушена сознательно: аренда —
       главный способ, покупка — запасной, и визуальный вес это повторяет. */
    .buy-hint {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      width: 100%;
      margin-top: 8px;
      padding: 8px 12px;
      border: 1px dashed #d8dde6;
      border-radius: 10px;
      background: transparent;
      color: #5f6673;
      font-size: 12.5px;
      font-family: inherit;
      cursor: pointer;
      transition: border-color .15s, color .15s, background .15s;
    }
    .buy-hint:hover { border-color: #E7660B; color: #1E1D1B; background: #FFF8F3; }
    .buy-hint strong { font-size: 13.5px; color: #1E1D1B; }
    .buy-hint.is-in-cart { border-style: solid; border-color: #2E7D32; color: #2E7D32; }

    .tools-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 12px;
    }
    /* Десктоп (23.09.2026, живая жалоба «карточки огромные, как
       недопрототип»): раньше сетка была намертво зафиксирована на 3
       колонки, и на широком экране каждая карточка растягивалась до
       ~320px — крупнее, чем у ВИ, при этом БЕЗ рамки (см. .tool ниже),
       поэтому выглядело как рассыпанные картинки, а не витрина.
       auto-fill с потолком карточки ~200px даёт по 5-6 в ряд на 1440px —
       плотнее и аккуратнее, как в приложении ВИ. */
    @media (min-width: 900px) {
      .tools-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
      .catalog-shell:not(.is-home) .tools-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
    }
    .tool {
      background: #fff;
      border: 1px solid #e2e8f0;
      border-radius: 24px;
      padding: 14px 14px 16px;
      display: flex;
      flex-direction: column;
      gap: 8px;
      align-items: stretch;
      transition: box-shadow .28s cubic-bezier(.16,1,.3,1), transform .28s cubic-bezier(.16,1,.3,1), border-color .28s;
      box-shadow: 0 2px 10px -2px rgba(15, 23, 42, 0.04), 0 10px 24px -4px rgba(15, 23, 42, 0.06);
    }
    .tool:hover { box-shadow: 0 18px 32px -10px rgba(15, 23, 42, 0.14); border-color: #e2e8f0; transform: translateY(-2px); }
    .cat-page-head { grid-column: 1 / -1; margin: 4px 0 6px; }
    .cat-page-head__title {
      margin: 0;
      font-size: clamp(26px, 2.4vw, 32px);
      font-weight: 700;
      letter-spacing: -0.03em;
      line-height: 1.15;
      color: #0f172a;
    }
    .cat-page-head__lead { margin: 6px 0 0; font-size: 14px; color: #64748b; }
    .tool__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
    .tool__status {
      display: inline-flex; align-items: center; gap: 6px;
      padding: 4px 10px; border-radius: 999px;
      background: #ecfdf5; border: 1px solid #a7f3d0;
      color: #047857; font-size: 12px; font-weight: 650;
    }
    .tool__status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #10b981; }
    .tool__status.is-busy { background: #fff7ed; border-color: #fed7aa; color: #c2410c; }
    .tool__status.is-busy::before { background: #f97316; }
    .tool__rubric { margin: 0; font-size: 12px; color: #94a3b8; font-weight: 500; }
    .tool__chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
    .tool__chips span {
      font-size: 11px; font-weight: 600; color: #475569;
      background: #f1f5f9; border-radius: 8px; padding: 3px 8px;
    }
    .tool .rent-pill,
    #pdpPills .rent-pill {
      display: grid;
      grid-template-columns: auto minmax(0, 1fr);
      align-items: center;
      gap: 8px 10px;
      margin-top: auto; padding: 12px 0 0; border-radius: 0;
      background: transparent; border-top: 1px solid #f1f5f9;
    }
    .tool .rent-pill__days,
    #pdpPills .rent-pill__days { justify-self: start; background: #fff; }
    .tool .rent-pill__price,
    #pdpPills .rent-pill__price { justify-self: end; text-align: right; }
    .tool .rent-pill__price strong,
    #pdpPills .rent-pill__price strong { font-size: 20px; letter-spacing: -0.03em; color: #0f172a; }
    .tool .rent-pill__price small,
    #pdpPills .rent-pill__price small { display: inline; margin: 0 0 0 2px; font-size: 12px; }
    .tool .rent-pill__add,
    #pdpPills .rent-pill__add {
      grid-column: 1 / -1;
      justify-self: stretch;
      width: 100%; height: auto; min-height: 42px; border: none; border-radius: 14px;
      background: #f97316; color: #fff; font-weight: 650; font-size: 14px;
      text-align: center; cursor: pointer;
      display: inline-flex; align-items: center; justify-content: center; gap: 8px; place-items: center;
    }
    .tool .rent-pill.is-in-cart,
    #pdpPills .rent-pill.is-in-cart { background: transparent; }
    .tool .rent-pill.is-in-cart .rent-pill__add,
    #pdpPills .rent-pill.is-in-cart .rent-pill__add { background: #0f172a; color: #fff; font-size: 14px; }
    .tool .rent-pill__add:hover,
    #pdpPills .rent-pill__add:hover { background: #ea580c; color: #fff; }
    .tool .rent-pill.is-in-cart .rent-pill__add:hover,
    #pdpPills .rent-pill.is-in-cart .rent-pill__add:hover { background: #1e293b; }
    .tool .rent-pill.is-in-cart .rent-pill__step,
    .tool .rent-pill.is-in-cart .rent-pill__days-val,
    #pdpPills .rent-pill.is-in-cart .rent-pill__step,
    #pdpPills .rent-pill.is-in-cart .rent-pill__days-val { color: #8a4a12; }
    .tool__img {
      border-radius: 16px;
      background: linear-gradient(180deg, #f1f5f9 0%, #f8fafc 70%, transparent 100%);
      width: 100%;
      aspect-ratio: 4 / 3;
      display: grid;
      place-items: center;
      color: #94a3b8;
      overflow: hidden;
      position: relative;
    }
    .tool__img img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      object-position: center;
      display: block;
      padding: 8px;
    }
    .tool__share {
      position: static;
      width: 32px;
      height: 32px;
      border-radius: 50%;
      border: none;
      background: #f1f5f9;
      color: #475569;
      display: grid;
      place-items: center;
      cursor: pointer;
      flex-shrink: 0;
    }
    .tool__share:hover { background: #fff; }
    .pdp-mini-row {
      display: flex;
      gap: 10px;
      overflow-x: auto;
      padding-bottom: 4px;
      -webkit-overflow-scrolling: touch;
    }
    .pdp-mini {
      flex: 0 0 110px;
      display: flex;
      flex-direction: column;
      gap: 4px;
      border: 1px solid var(--line);
      border-radius: 10px;
      padding: 8px;
      background: #fff;
      cursor: pointer;
      text-align: left;
    }
    .pdp-mini__img {
      width: 100%;
      aspect-ratio: 1/1;
      border-radius: 8px;
      overflow: hidden;
      background: #eef1f5;
      display: grid;
      place-items: center;
    }
    .pdp-mini__img img { width: 100%; height: 100%; object-fit: cover; }
    .pdp-mini__title {
      font-size: 11.5px;
      line-height: 1.3;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      color: var(--text);
    }
    .pdp-mini__price { font-size: 12px; font-weight: 700; color: var(--orange); }
    .tool__icon {
      width: 40px;
      height: 40px;
      stroke-width: 1.5px;
      color: var(--icon);
    }
    .tool h3 {
      font-size: 16px;
      font-weight: 700;
      line-height: 1.3;
      letter-spacing: -0.02em;
      color: #0f172a;
      padding: 0;
      margin: 0;
    }

    /* Плитки крупных родительских категорий (22.09.2026, Евгений: «взять
       материнские категории как на ВИ, наполнить их оборудованием,
       сделать плитками, как в приложении у ВИ»). Тот же .tool-каркас
       (фото 4:3 сверху, подпись снизу), чтобы шрифт совпадал с карточками
       товара один в один — раньше список категорий слева и плитки
       товаров справа были оформлены по-разному. */
    .root-tiles {
      /* ФИКС 23.09.2026: .root-tiles рисуется ВНУТРИ #toolsGrid — а тот
         сам является grid (.tools-grid, 3 колонки товаров). Без
         grid-column:1/-1 плитки занимали одну товарную ячейку целиком и
         сами внутри неё резались на 3 колонки — 98px квадратики с горой
         пустого места справа (то самое «выглядит как недопрототип»,
         найдено дизайн-ревью). Тот же баг у .shop-child-list ниже. */
      grid-column: 1 / -1;
      display: grid;
      /* minmax(0, 1fr), не голый 1fr (23.09.2026, живая жалоба: вёрстка
         «Инструмент» и других разделов ехала вправо на телефоне) — без
         нуля внизу трек колонки берёт минимальную ширину по картинке
         внутри плитки, а не по контейнеру, и раздувает всю страницу за
         экран, тот же баг, что уже чинили в .layout. */
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 14px 12px;
      margin: 0 0 18px;
    }
    @media (max-width: 720px) {
      .root-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 8px; }
    }
    @media (min-width: 900px) {
      .root-tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px 14px; }
    }
    .root-tile {
      background: none;
      border: none;
      padding: 0;
      display: flex;
      flex-direction: column;
      gap: 8px;
      text-align: left;
      cursor: pointer;
      font: inherit;
      color: inherit;
    }
    .root-tile__img {
      border-radius: 12px;
      background: #f3efe8;
      width: 100%;
      aspect-ratio: 4 / 3;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      position: relative;
    }
    .root-tile__ph {
      width: 28px;
      height: 28px;
      color: #c4b8a8;
    }
    .root-tile__img img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      display: block;
    }
    .root-tile__name {
      font-size: 14px;
      font-weight: 600;
      line-height: 1.25;
      padding: 0 2px;
      min-width: 0;
      overflow-wrap: anywhere; /* длинное слово («оборудование») не вылезает за плитку */
      hyphens: auto;
    }
    /* Узкий телефон (05.10.2026, Евгений: «в каталоге в PWA на главном экране вёрстка съезжает»): в плитке 80–100 px,
       слово «оборудование» при 14 px шире плитки — уменьшаем шрифт и разрешаем перенос по слогам. */
    @media (max-width: 400px) {
      .root-tile__name { font-size: 12.5px; padding: 0; }
    }
    /* Остальные подрубрики — списком под плитками (22.09.2026, по образцу
       ВИ): плиток с фото больше 6 на экран не влезает без прокрутки вниз
       на несколько страниц, а список компактнее и привычнее для «ещё 40
       позиций», которые всё равно просто текст без карточки. */
    .shop-child-list {
      grid-column: 1 / -1;
      display: flex;
      flex-direction: column;
      border-top: 1px solid var(--line);
      margin-bottom: 8px;
    }
    .shop-child-row {
      display: flex;
      align-items: center;
      gap: 12px;
      width: 100%;
      background: none;
      border: none;
      border-bottom: 1px solid var(--line);
      padding: 12px 4px;
      text-align: left;
      cursor: pointer;
      font: inherit;
      color: inherit;
    }
    .shop-child-row__img {
      flex-shrink: 0;
      width: 36px;
      height: 36px;
      border-radius: 8px;
      background: #e9eff7;
      display: grid;
      place-items: center;
      overflow: hidden;
      color: #7a8598;
    }
    .shop-child-row__img img { width: 100%; height: 100%; object-fit: cover; }
    .shop-child-row__name { flex: 1; min-width: 0; font-size: 14.5px; font-weight: 600; }
    .shop-child-row__chev { flex-shrink: 0; width: 18px; height: 18px; color: var(--muted); }
    .shop-child-row--all { margin-top: 2px; }
    .root-tiles__crumb {
      display: flex; align-items: center; gap: 8px; margin: 0 0 14px;
      font-size: 14.5px; color: var(--muted); cursor: pointer;
    }
    /* Хлебные крошки — весь путь, а не только «шаг назад» (22.09.2026,
       Евгений: «плитками наверху назад в предыдущую» — нужен весь путь,
       не только один уровень). Строка со своей горизонтальной прокруткой:
       путь может быть глубоким («Инструмент / Шлифмашины / Угловые...»),
       а переносить его на несколько строк — терять место под товары. */
    .shop-crumbs {
      grid-column: 1 / -1;
      display: flex; align-items: center; gap: 6px; margin: 0 0 14px;
      overflow-x: auto; white-space: nowrap; scrollbar-width: none; padding-bottom: 2px;
    }
    .shop-crumbs::-webkit-scrollbar { display: none; }
    .shop-crumbs__link {
      background: none; border: none; padding: 4px 2px; cursor: pointer;
      font-size: 14px; color: var(--accent); flex-shrink: 0;
    }
    .shop-crumbs__link:hover { text-decoration: underline; }
    .shop-crumbs__sep { color: var(--line); flex-shrink: 0; }
    .shop-crumbs__cur {
      font-size: 14px; font-weight: 700; color: var(--ink); flex-shrink: 0;
      overflow: hidden; text-overflow: ellipsis;
    }
    .meta {
      color: var(--muted);
      font-size: 13px;
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      padding: 0 2px;
    }

    .rent-pill--busy { opacity: .75; }
    .rent-pill__busy {
      margin-left: auto;
      padding: 6px 10px;
      border-radius: 999px;
      background: var(--bg-soft, #eef1f5);
      color: var(--muted);
      font-size: 12px;
      font-weight: 600;
      white-space: nowrap;
    }
    .rent-pill {
      display: grid;
      grid-template-columns: auto 1fr auto;
      align-items: center;
      gap: 8px;
      min-height: 44px;
      padding: 4px 4px 4px 6px;
      border-radius: 999px;
      background: var(--orange-soft);
      margin-top: 2px;
    }
    .rent-pill.is-in-cart {
      background: #eaf8f0;
    }
    .rent-pill__days {
      display: inline-flex;
      align-items: center;
      gap: 2px;
      background: rgba(255, 255, 255, 0.72);
      border-radius: 999px;
      padding: 2px;
    }
    .rent-pill__step {
      width: 28px;
      height: 28px;
      border: none;
      border-radius: 999px;
      background: transparent;
      color: #8a4a12;
      font-size: 18px;
      line-height: 1;
      cursor: pointer;
      display: grid;
      place-items: center;
    }
    .rent-pill__step:hover {
      background: rgba(239, 145, 34, 0.12);
    }
    .rent-pill.is-in-cart .rent-pill__step {
      color: #1d7f49;
    }
    .rent-pill__days-val {
      min-width: 18px;
      text-align: center;
      font-size: 13px;
      font-weight: 700;
      color: #8a4a12;
    }
    /* Подпись у числа суток (25.09.2026, QA: «− 1 +» без единицы — непонятно, чего один). */
    .rent-pill__unit { display: block; font-size: 9px; font-weight: 600; line-height: 1; opacity: .75; }
    .rent-pill.is-in-cart .rent-pill__days-val {
      color: #1d7f49;
    }
    .rent-pill__price {
      text-align: center;
      line-height: 1.1;
      padding: 0 4px;
    }
    .rent-pill__price strong {
      font-size: 16px;
      font-weight: 700;
      color: var(--text);
    }
    .rent-pill__price small {
      display: block;
      font-size: 11px;
      color: var(--muted);
      margin-top: 1px;
    }
    .rent-pill__add {
      width: 36px;
      height: 36px;
      border: none;
      border-radius: 999px;
      background: #fff;
      color: var(--orange);
      font-size: 22px;
      line-height: 1;
      cursor: pointer;
      display: grid;
      place-items: center;
      font-weight: 400;
    }
    .rent-pill__add:hover {
      background: var(--orange);
      color: #fff;
    }
    .rent-pill.is-in-cart .rent-pill__add {
      background: #1d7f49;
      color: #fff;
      font-size: 16px;
    }

    .side {
      position: sticky;
      top: 86px;
      max-height: calc(100vh - 86px - 16px);
      overflow-y: auto;
    }
    .side-top {
      display: flex;
      border-bottom: 1px solid var(--line);
      background: #fbfcff;
    }
    .side-tab {
      flex: 1;
      border: none;
      background: transparent;
      min-height: 44px;
      cursor: pointer;
      color: #111827;
      font-weight: 500;
    }
    .side-tab.is-active {
      color: #E65C00;
      font-weight: 700;
      background: transparent;
    }
    /* Только полноэкранная корзина на мобильном — на десктопе не показываем. */
    .side-mobile-close {
      display: none;
      flex-shrink: 0;
      box-sizing: border-box;
      width: 44px;
      height: 44px;
      padding: 0;
      border: 1px solid #e2e6ee;
      border-radius: 12px;
      background: #fff;
      color: #5f6673;
      cursor: pointer;
      -webkit-tap-highlight-color: transparent;
      transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
    }
    .side-mobile-close svg {
      width: 20px;
      height: 20px;
      stroke-width: 2.25;
    }
    .side-mobile-close:hover {
      background: #f6f8fb;
      color: var(--text);
      border-color: #c9d0dc;
    }
    .side-mobile-close:active {
      transform: scale(0.94);
    }
    .side-pane {
      padding: 14px;
      display: none;
    }
    .side-pane.is-active { display: block; }
    .side-pane.is-out {
      display: block;
      animation: sidePaneOut .16s ease forwards;
    }
    .side-pane.is-in {
      animation: sidePaneIn .22s ease;
    }
    @keyframes sidePaneOut {
      from { opacity: 1; transform: translateY(0); }
      to { opacity: 0; transform: translateY(4px); }
    }
    @keyframes sidePaneIn {
      from { opacity: 0; transform: translateY(6px); }
      to { opacity: 1; transform: translateY(0); }
    }
    .side-cat {
      display: flex;
      align-items: center;
      gap: 10px;
      width: 100%;
      border: none;
      background: transparent;
      border-radius: 12px;
      padding: 8px;
      cursor: pointer;
      font: inherit;
      text-align: left;
      color: inherit;
    }
    .side-cat:hover { background: #f6f4f1; }
    .side-cat.is-on { background: var(--orange-soft); }
    .catalog-rail .side-cat { gap: 10px; padding: 7px 8px; border-radius: 10px; }
    .catalog-rail .side-cat__img,
    .catalog-rail .side-cat__ph { width: 32px; height: 32px; border-radius: 8px; }
    .side-cat__img {
      width: 44px;
      height: 44px;
      border-radius: 10px;
      background: #eceae6;
      object-fit: cover;
      flex-shrink: 0;
    }
    .side-cat__ph {
      width: 44px;
      height: 44px;
      border-radius: 10px;
      background: #eceae6;
      flex-shrink: 0;
    }
    .catalog-rail .side-cat__name { font-size: 13.5px; font-weight: 500; }
    .side-cat__name { font-size: 14px; font-weight: 600; line-height: 1.25; }
    .side-cats { display: flex; flex-direction: column; gap: 2px; }
    .side-cat-group { display: flex; flex-direction: column; }
    .side-cat__chev {
      margin-left: auto;
      flex-shrink: 0;
      width: 16px;
      height: 16px;
      color: var(--muted);
      transition: transform .16s ease;
    }
    .side-cat-group.is-open > .side-cat .side-cat__chev { transform: rotate(90deg); }
    .side-cat-children {
      display: flex;
      flex-direction: column;
      gap: 1px;
      padding: 2px 0 8px 12px;
    }
    .side-cat--child {
      padding: 6px 8px 6px 28px;
      gap: 0;
    }
    .catalog-rail .side-cat--child .side-cat__name {
      font-size: 13px;
      font-weight: 500;
      color: var(--text);
    }
    .side-cat--child.is-on { background: var(--orange-soft); }
    /* На десктопе каталог и корзина стоят рядом — вкладки не переключают колонки. */
    @media (min-width: 981px) {
      .side-top { display: none; }
      #cartPane { display: block; }
    }

    .map-note {
      margin-top: 10px;
      color: var(--muted);
      font-size: 13px;
    }

    .cart-title {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 10px;
    }
    .cart-title h3 { font-size: 20px; }
    .cart-clear {
      margin-left: auto;
      border: 0; background: none; padding: 4px 6px;
      color: #b54545; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
    }
    .cart-clear[hidden] { display: none; }
    .cart-badge {
      min-width: 24px;
      min-height: 24px;
      padding: 0 7px;
      border-radius: 999px;
      background: var(--orange-soft);
      color: #9f4200;
      display: inline-grid;
      place-items: center;
      font-size: 13px;
      font-weight: 700;
    }
    .cart-list {
      list-style: none;
      display: grid;
      gap: 10px;
      margin: 0 0 12px;
      max-height: 360px;
      overflow: auto;
      padding: 2px;
    }
    .cart-item {
      background: #fff;
      border: 1px solid #e2e8f0;
      border-radius: 16px;
      padding: 12px;
      display: grid;
      gap: 8px;
      box-shadow: 0 2px 10px -4px rgba(15, 23, 42, 0.08);
    }
    .cart-item__row {
      display: grid;
      /* Цена — под названием, а не третьей колонкой: в узкой корзине
         длинное название сжималось и цена «висела» сбоку (15.11.2026). */
      grid-template-columns: 52px minmax(0, 1fr);
      gap: 10px;
      align-items: start;
    }
    .cart-item__body { min-width: 0; display: grid; gap: 4px; justify-items: start; }
    .cart-item__name {
      font-size: 14px;
      font-weight: 700;
      letter-spacing: -0.02em;
      line-height: 1.3;
      color: #0f172a;
      cursor: pointer;
    }
    .cart-item__sum {
      font-size: 15px;
      font-weight: 700;
      letter-spacing: -0.02em;
      color: #0f172a;
      white-space: nowrap;
    }
    .cart-item__foot {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
      padding-top: 2px;
    }
    /* Бейдж «Аренда»/«Покупка» — на оплате должно быть видно с одного
       взгляда, что идёт по подписке-на-дни, а что списывается разово,
       без чтения мелкого текста «шт»/«сут». Один и тот же класс — в
       корзине и в самом чекауте (order-summary), чтобы не расходились. */
    .item-type-badge {
      display: inline-block;
      font-size: 10.5px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .02em;
      padding: 2px 7px;
      border-radius: 6px;
      line-height: 1.5;
    }
    .item-type-badge--rental { background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa; }
    .item-type-badge--purchase { background: #dcf0fa; color: var(--info); }
    .cart-item__img {
      width: 52px; height: 52px; border-radius: 12px;
      object-fit: contain; background: linear-gradient(180deg, #f1f5f9, #f8fafc);
      padding: 4px;
    }
    .cart-item__top {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 10px;
      font-size: 14px;
      font-weight: 600;
    }
    .cart-item__meta {
      color: var(--muted);
      font-size: 12px;
    }
    .cart-item button[data-remove] {
      justify-self: start;
      border: none;
      background: transparent;
      color: #94a3b8;
      cursor: pointer;
      font-size: 12px;
      font-weight: 600;
      padding: 0;
    }
    .cart-item button[data-remove]:hover { color: #b54545; }
    .cart-upsell { margin-top: 12px; }
    .cart-upsell__head { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
    .cart-upsell__title { font-size: 12.5px; font-weight: 700; margin-right: auto; }
    .cart-upsell__count { font-size: 11.5px; color: #64748b; font-weight: 600; }
    .cart-upsell__nav {
      width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line, #e3e6ec);
      background: #fff; cursor: pointer; font: inherit; font-size: 16px; line-height: 1; color: #0f172a;
    }
    .cart-upsell__nav[hidden] { display: none; }
    .cart-upsell__nav:disabled { opacity: .35; cursor: default; }
    /* Расходка — лентой: листают стрелками или пальцем (15.11.2026,
       Евгений: «не смогу увидеть другую расходку»). */
    .cart-upsell__list {
      display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory;
      scrollbar-width: thin; padding-bottom: 4px; overscroll-behavior-x: contain;
    }
    .cart-upsell__list > .cart-upsell__item { flex: 0 0 148px; scroll-snap-align: start; }
    .cart-upsell__item .qty-step { align-self: flex-start; }
    /* Расходка в корзине — карточкой с фото и «− N +», как в каталоге
       (25.09.2026, Евгений). */
    .cart-upsell__item {
      display: flex; flex-direction: column; align-items: stretch; gap: 6px;
      padding: 8px; border: 1px solid var(--line, #e3e6ec);
      border-radius: 12px; background: #fff;
      font-size: 12.5px; text-align: left;
    }
    .cart-upsell__item.is-in-cart { border-color: #f2b48d; background: #fff8f1; }
    .cart-upsell__img {
      width: 100%; height: 72px; flex: 0 0 72px; border-radius: 8px;
      object-fit: contain; background: #f7f8fb;
    }
    .cart-upsell__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
    .cart-upsell__name {
      overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
      line-height: 1.3;
    }
    .cart-upsell__price { font-weight: 700; white-space: nowrap; }
    .qty-step {
      display: inline-flex; align-items: center; gap: 2px; flex: 0 0 auto;
      border: 1px solid var(--line, #e3e6ec); border-radius: 999px; padding: 2px;
    }
    .qty-step button {
      width: 28px; height: 28px; border: 0; border-radius: 50%;
      background: #f7f8fb; font-size: 16px; line-height: 1; cursor: pointer; font-family: inherit;
    }
    .qty-step button:hover { background: #ffe9d4; }
    .qty-step span { min-width: 28px; text-align: center; font-weight: 700; font-size: 13px; line-height: 1.05; }
    .qty-step small { display: block; font-size: 9px; font-weight: 600; color: #64748b; }
    .cart-item__qty { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
    .cart-empty {
      color: var(--muted);
      font-size: 14px;
      border: 1px dashed #d4dae4;
      border-radius: 10px;
      padding: 16px;
      text-align: center;
    }
    .cart-sum {
      border-top: 1px solid #e2e8f0;
      padding: 12px 2px 0;
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      font-weight: 700;
      letter-spacing: -0.02em;
      margin-bottom: 12px;
    }
    #cartTotal { font-size: 18px; }
    .modal-overlay {
      position: fixed;
      inset: 0;
      background: rgba(16, 19, 23, 0.5);
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 100;
      padding: 20px;
    }
    .modal-overlay.is-open { display: flex; }
    /* Чат (05.10.2026, Евгений: «чтоб он не шакально открывался, а приятно и аккуратно», одинаково на главном и в
       сделке). На компьютере — окно в углу, на телефоне — лист снизу почти на весь экран. Плавно выезжает и уезжает;
       лента сообщений занимает всё свободное место, вопросы — одной прокручиваемой строкой, поле ввода внизу. */
    #supportOverlay{align-items:flex-end; justify-content:flex-end; background:rgba(16,19,23,.3); padding:16px; z-index:120;}
    /* Михалыч во всю центральную колонку (29.10.2026): без затемнения, каталог и корзина рядом доступны. */
    body.mh-docked #supportOverlay{inset:auto; left:var(--mh-l); top:var(--mh-t); width:var(--mh-w); height:calc(100vh - var(--mh-t) - 12px); padding:0; background:transparent; align-items:stretch; justify-content:stretch; z-index:40;}
    body.mh-docked #supportModal{width:100%; height:100%; max-width:none; max-height:none; border-radius:18px; border:1px solid #ecebe8; box-shadow:0 1px 2px rgba(16,19,23,.04), 0 10px 32px rgba(16,19,23,.07);}
    body.mh-docked #supportModal:not(.chat-sheet){display:flex; flex-direction:column; justify-content:center; padding:32px max(24px, calc((100% - 440px) / 2)); overflow:auto;}
    body.mh-docked #supportModal.chat-sheet .chat-head{padding:10px 22px;}
    body.mh-docked #supportModal.chat-sheet .chat-thread{padding:24px max(24px, calc((100% - 760px) / 2)) 16px; gap:10px;}
    body.mh-docked #supportModal.chat-sheet .chat-msg{max-width:min(640px, 84%); font-size:15.5px; line-height:1.5; padding:11px 15px;}
    body.mh-docked #supportModal.chat-sheet .chat-quick{padding-left:max(20px, calc((100% - 760px) / 2)); padding-right:max(20px, calc((100% - 760px) / 2));}
    body.mh-docked #supportModal.chat-sheet .chat-input-row{padding:10px max(20px, calc((100% - 760px) / 2)) 12px;}
    body.mh-docked #supportModal.chat-sheet #chatInput{font-size:15.5px; min-height:52px; border-radius:16px; padding:14px 16px;}
    body.mh-docked .support-fab{display:none;}
    body.mh-docked #supportOverlay.is-open #supportModal{animation:mh-dock-in .25s ease both;}
    @keyframes mh-dock-in{from{opacity:0; transform:translateY(8px);}to{opacity:1; transform:none;}}
    #supportModal{width:min(380px,100%); max-height:min(72vh,560px); padding:16px; border-radius:16px;}
    #supportModal .modal__head{margin-bottom:10px;}
    #supportModal .modal__head h2{font-size:17px;}
    #supportOverlay.is-open{animation:chat-fade-in .2s ease both;}
    #supportOverlay.is-open #supportModal{animation:chat-up .3s cubic-bezier(.2,.8,.2,1) both;}
    #supportOverlay.is-closing{animation:chat-fade-out .17s ease both;}
    #supportOverlay.is-closing #supportModal{animation:chat-down .17s ease-in both;}
    @keyframes chat-fade-in{from{opacity:0}to{opacity:1}}
    @keyframes chat-fade-out{from{opacity:1}to{opacity:0}}
    @keyframes chat-up{from{transform:translateY(32px);opacity:0}to{transform:none;opacity:1}}
    @keyframes chat-down{from{transform:none;opacity:1}to{transform:translateY(32px);opacity:0}}
    @media (prefers-reduced-motion: reduce){ #supportOverlay, #supportOverlay #supportModal{animation:none !important;} }
    #supportModal.chat-sheet{width:min(440px,100%); height:min(820px,90vh); max-height:none; padding:0; border-radius:20px; display:flex; flex-direction:column; overflow:hidden;}
    .chat-head{display:flex; align-items:center; gap:11px; padding:14px 14px 12px 16px; border-bottom:1px solid var(--line);}
    .chat-head__ava{width:40px; height:40px; border-radius:50%; background:var(--orange-soft); flex-shrink:0; object-fit:cover;}
    .chat-head__txt{flex:1; min-width:0; display:flex; flex-direction:column; line-height:1.25;}
    .chat-head__txt b{font-size:16px;}
    .chat-head__txt span{font-size:12px; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
    /* 07.11.2026 (Евгений: «окно чата маленькое, приходится листать»): «Помощь» и меню «⋯» — в шапке, а не отдельной строкой. */
    .chat-head__acts{display:flex; align-items:center; gap:4px; flex-shrink:0;}
    .chat-head__help{border:1.5px solid #f4cf9f; background:var(--orange-soft); color:#a85a05; border-radius:999px; padding:6px 11px; font:700 13px/1 inherit; cursor:pointer; white-space:nowrap;}
    .chat-head__help:hover{border-color:var(--orange);}
    .chat-head__acts .mct-btn{color:var(--muted);}
    .chat-ctx{display:flex; align-items:center; gap:10px; padding:9px 16px; background:var(--bg); border-bottom:1px solid var(--line);}
    .chat-ctx__img{width:34px; height:34px; border-radius:8px; object-fit:cover; background:#fff; flex-shrink:0;}
    .chat-ctx__txt{min-width:0; display:flex; flex-direction:column; line-height:1.3;}
    .chat-ctx__txt b{font-size:13px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
    .chat-ctx__txt span{font-size:11.5px; color:var(--muted);}
    #supportModal.chat-sheet .chat-thread{flex:1; min-height:0; max-height:none; margin:0; padding:14px 14px 10px; gap:8px;}
    #supportModal.chat-sheet .chat-msg{font-size:14.5px; border-radius:16px; padding:9px 13px; overflow-wrap:anywhere;}
    #supportModal.chat-sheet .chat-msg--user{border-bottom-right-radius:5px;}
    #supportModal.chat-sheet .chat-msg--agent{border-bottom-left-radius:5px;}
    #supportModal.chat-sheet .chat-empty{margin:auto; text-align:center; padding:0 18px;}
    /* Подсказка к инструменту — тихая: мелко, в начале ленты, закрывается крестиком и больше не появляется. */
    .chat-tip{position:relative; align-self:stretch; border:1px dashed var(--line); border-radius:12px; padding:9px 30px 9px 12px; font-size:12px; line-height:1.45; color:var(--muted);}
    .chat-tip b{color:var(--text); font-weight:700;}
    .chat-tip__x{position:absolute; top:4px; right:4px; width:26px; height:26px; border:0; background:none; color:var(--muted); font-size:13px; cursor:pointer;}
    #supportModal.chat-sheet .chat-quick{flex-wrap:nowrap; overflow-x:auto; margin:0; padding:8px 14px; gap:7px; scrollbar-width:none; -webkit-overflow-scrolling:touch;}
    #supportModal.chat-sheet .chat-quick::-webkit-scrollbar{display:none;}
    #supportModal.chat-sheet .chat-quick__btn{flex-shrink:0; white-space:nowrap; background:#fff; font-size:13px; padding:8px 13px; font-weight:600;}
    #supportModal.chat-sheet .chat-quick__btn:active{background:var(--orange-soft); border-color:var(--orange);}
    #supportModal.chat-sheet .chat-input-row{padding:8px 12px 12px; gap:8px; align-items:flex-end;}
    #supportModal.chat-sheet .chat-input-row textarea{min-width:0; border-radius:23px; padding:11px 16px; font-size:16px; line-height:21px; background:var(--bg); border-color:transparent;}
    #supportModal.chat-sheet .chat-input-row textarea:focus{outline:none; border-color:var(--orange); background:#fff;}
    #supportModal.chat-sheet .chat-input-row button{width:46px; height:46px; padding:0; border-radius:50%; flex-shrink:0; display:grid; place-items:center;}
    #supportModal.chat-sheet .chat-input-row button svg{width:20px; height:20px;}
    @media (max-width:600px){
      #supportOverlay{justify-content:center; padding:0;}
      #supportModal.chat-sheet{width:100%; height:94%; border-radius:20px 20px 0 0;}
      #supportModal:not(.chat-sheet){margin:10px;}
    }
    /* «Нужна помощь» (05.10.2026): большая кнопка в чате, по ней — разделы и подразделы; своё можно написать всегда. */
    .chat-help-btn{margin:8px 14px 0; border:1.5px solid #f4cf9f; background:var(--orange-soft); color:#a85a05; border-radius:13px; padding:12px 14px; font-family:inherit; font-size:15px; font-weight:800; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:8px;}
    .chat-help{position:absolute; inset:0; z-index:2; background:#fff; display:flex; flex-direction:column; animation:chat-up .24s cubic-bezier(.2,.8,.2,1) both;}
    .chat-help__head{display:flex; align-items:center; gap:8px; padding:14px 14px 12px 12px; border-bottom:1px solid var(--line);}
    .chat-help__head b{flex:1; font-size:16px;}
    .chat-help__back{border:0; background:var(--bg); width:36px; height:36px; border-radius:50%; font-size:17px; cursor:pointer; color:var(--text);}
    .chat-help__list{flex:1; overflow-y:auto; padding:8px 12px 14px; display:flex; flex-direction:column; gap:8px;}
    .chat-help__row{display:flex; align-items:center; gap:12px; width:100%; text-align:left; border:1.5px solid var(--line); background:#fff; border-radius:13px; padding:13px 14px; font-family:inherit; font-size:14.5px; font-weight:700; color:var(--text); cursor:pointer;}
    .chat-help__row:active{background:var(--orange-soft); border-color:var(--orange);}
    .chat-help__row i{font-style:normal; font-size:20px; flex-shrink:0;}
    .chat-help__row span{flex:1; min-width:0;}
    .chat-help__row em{font-style:normal; color:var(--muted);}
    .chat-help__own{border-style:dashed; color:var(--muted); font-weight:600;}
    #supportModal.chat-sheet{position:relative;}
    /* Кнопки в карточке аренды видны без раскрытия (05.10.2026): «Продлить» — главная, чат — сразу за ней. */
    /* Возврат нескольких единиц одной доставкой (06.10.2026). */
    .gr-banner{display:flex; align-items:center; gap:10px; width:100%; margin:0 0 12px; border:1.5px solid #f4cf9f; background:var(--orange-soft); color:#a85a05; border-radius:13px; padding:13px 14px; font-family:inherit; font-size:14.5px; font-weight:800; cursor:pointer; text-align:left;}
    .gr-banner small{display:block; font-weight:600; font-size:12px; color:var(--muted); margin-top:2px;}
    #groupReturnOverlay{position:fixed; inset:0; z-index:200; background:rgba(16,19,23,.45); display:flex; align-items:flex-end; justify-content:center; animation:chat-fade-in .2s ease both;}
    .gr-sheet{width:min(460px,100%); max-height:88%; background:#fff; border-radius:20px 20px 0 0; padding:16px 16px calc(16px + env(safe-area-inset-bottom,0px)); display:flex; flex-direction:column; gap:10px; animation:chat-up .28s cubic-bezier(.2,.8,.2,1) both;}
    @media (min-width:700px){ #groupReturnOverlay{align-items:center;} .gr-sheet{border-radius:20px;} }
    .gr-head{display:flex; align-items:center; justify-content:space-between; gap:8px;}
    .gr-head b{font-size:17px;}
    .gr-list{overflow-y:auto; display:flex; flex-direction:column; gap:8px;}
    .gr-row{display:flex; align-items:center; gap:10px; border:1.5px solid var(--line); border-radius:12px; padding:10px 12px; cursor:pointer; font-size:14px; font-weight:700;}
    .gr-row input{width:20px; height:20px; accent-color:var(--orange); flex-shrink:0;}
    .gr-row span{min-width:0; flex:1;}
    .gr-row small{display:block; color:var(--muted); font-weight:600; font-size:12px;}
    .gr-addr{width:100%; padding:12px 14px; border:1.5px solid var(--line); border-radius:12px; font-size:16px; font-family:inherit;}
    .gr-addr-note{font-size:12px; color:var(--muted); margin-top:5px;}
    /* «📖 Как пользоваться» в карточке аренды (16.10.2026) — небольшая, но заметная. */
    .rental-guide-btn{display:inline-flex; align-items:center; gap:4px; margin:6px 0 0 6px; padding:4px 11px; border-radius:999px; border:1.5px solid #f0c9a0; background:#fff6ea; color:#b2560a; font:700 12.5px/1.3 inherit; cursor:pointer; vertical-align:middle;}
    .rental-guide-btn:hover{background:#ffeedd;}
    /* Когда забрать (16.10.2026) — дата и часовое окно, как при оформлении заказа. */
    .gr-when__label{font-size:13px; font-weight:800; margin-bottom:6px;}
    .gr-when__row{display:grid; grid-template-columns:1fr 1fr; gap:8px;}
    .gr-when__row .gr-addr{padding:11px 12px; background:#fff; min-width:0;}
    .gr-sum{border-radius:12px; background:var(--bg); padding:11px 13px; font-size:14px; line-height:1.4;}
    .gr-go{border:0; border-radius:13px; background:var(--orange); color:#fff; padding:14px; font-family:inherit; font-size:15.5px; font-weight:800; cursor:pointer;}
    .gr-go:disabled{opacity:.5; cursor:default;}
    .rental-card__quick{display:flex; gap:8px; margin-top:10px;}
    .rental-quick__btn{flex:1 1 0; min-width:0; border:1.5px solid transparent; border-radius:11px; padding:10px 8px; font-family:inherit; font-size:13.5px; font-weight:800; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:6px;}
    .rental-quick__btn.is-primary{background:var(--orange); color:#fff;}
    .rental-quick__btn.is-chat{background:var(--orange-soft); color:#a85a05; border-color:#f4cf9f;}
    .rental-quick__badge{min-width:18px; height:18px; padding:0 5px; border-radius:999px; background:var(--error); color:#fff; font-size:11px; font-weight:700; place-items:center;}
    @media (max-width:560px){ .rental-card__quick{margin-left:-44px;} }
    /* Главный экран телефона: идёт аренда — над нижней панелью кнопка чата по этому заказу. */
    .deal-chat-pill{position:fixed; right:12px; bottom:calc(var(--tabbar-h, 62px) + 12px); z-index:60; display:none; align-items:center; gap:8px; max-width:calc(100vw - 24px);
      border:0; border-radius:999px; background:var(--orange); color:#fff; padding:11px 16px; font-family:inherit; font-size:14px; font-weight:800; cursor:pointer; box-shadow:0 8px 22px rgba(239,145,34,.45); animation:chat-up .35s cubic-bezier(.2,.8,.2,1) both;}
    .deal-chat-pill span{white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
    @media (max-width:980px){ .deal-chat-pill.is-on{display:flex;} }
    .modal {
      background: #fff;
      border-radius: 18px;
      width: min(560px, 100%);
      max-height: 90vh;
      overflow: auto;
      box-shadow: var(--shadow);
      padding: 22px;
    }
    .modal__head {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 16px;
    }
    .modal__head h2 { font-size: 20px; }
    .modal__close {
      border: none;
      background: #f2f4f8;
      width: 32px;
      height: 32px;
      border-radius: 999px;
      cursor: pointer;
      font-size: 16px;
      color: #5f6673;
      flex-shrink: 0;
    }
    .modal__close:hover { background: #e5e8ee; }
    .install-steps { margin: 0 0 12px; padding-left: 20px; line-height: 1.6; font-size: 14.5px; }
    .install-steps li { margin-bottom: 6px; }
    .install-qr { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 6px 0 12px; }
    .install-qr canvas { width: 200px; height: 200px; image-rendering: pixelated; }
    .field { display: grid; gap: 6px; margin-bottom: 14px; position: relative; }
    .field label { font-size: 13px; font-weight: 600; color: #2b3340; }
    .field input[type="text"],
    .field input[type="tel"],
    .field input[type="date"],
    .field select {
      background: #fff;
      font: inherit;
      border: 1px solid var(--line);
      border-radius: 10px;
      min-height: 44px;
      padding: 0 14px;
      outline: none;
      width: 100%;
    }
    .field input:focus {
      border-color: #f2b48d;
      box-shadow: 0 0 0 3px rgba(239, 145, 34, 0.12);
    }
    .field input.field-error { border-color: #d33; }
    .field .error-text { color: #c23; font-size: 12px; display: none; }
    .field.has-error .error-text { display: block; }
    .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .field-row .field { margin-bottom: 0; }
    .field-hint {
      font-size: 12px;
      margin-top: -2px;
    }
    /* ===== Кабинет компании (B2B) — структура по «Яндекс Go для бизнеса»:
       корпоративный счёт крупно сверху, сотрудники с лимитами, история ===== */
    /* ===== Ремонт своего инструмента (21.09.2026) =====
       Отдельный раздел ЛК: арендуют не все и не всегда, а свой инструмент
       ломается у каждого. Поэтому экран должен читаться человеком, который
       у нас ничего не арендовал и вообще здесь впервые. */
    .srv-choice { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; margin-bottom: 14px; }
    @media (max-width: 520px) { .srv-choice { grid-template-columns: 1fr; } }
    .srv-pick {
      text-align: left; border: 1.5px solid var(--line); background: #fff; border-radius: 14px;
      padding: 14px; cursor: pointer; font: inherit; transition: border-color .15s ease;
    }
    .srv-pick:hover { border-color: var(--orange); }
    .srv-pick b { display: block; font-size: 15px; margin-bottom: 4px; }
    .srv-pick span { color: var(--muted); font-size: 12.5px; line-height: 1.35; }
    .srv-steps { display: flex; gap: 6px; flex-wrap: wrap; margin: 10px 0 4px; }
    .srv-step {
      font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 999px;
      background: #F0EEEB; color: var(--muted);
    }
    .srv-step.is-done { background: #DDF4E4; color: #157A3B; }
    .srv-step.is-now { background: var(--orange); color: #fff; }
    .srv-card { border: 1.5px solid var(--line); border-radius: 14px; padding: 14px; margin-bottom: 12px; }
    .srv-item {
      border: 1px solid var(--line); border-radius: 12px; padding: 11px; margin-top: 8px; background: #FBFAF9;
    }
    .srv-item__top { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
    .srv-price { text-align: right; white-space: nowrap; }
    .srv-price b { font-size: 16px; }
    .srv-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
    .srv-actions button {
      border: 1.5px solid var(--line); background: #fff; border-radius: 9px; padding: 8px 13px;
      font: inherit; font-size: 13px; font-weight: 700; cursor: pointer;
    }
    .srv-actions button.is-primary { background: var(--orange); border-color: var(--orange); color: #fff; }
    .srv-field { margin-bottom: 10px; }
    .srv-field label { display: block; font-size: 12.5px; color: var(--muted); margin-bottom: 4px; }
    .srv-field input, .srv-field textarea, .srv-field select {
      width: 100%; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px;
      font: inherit; font-size: 14px; background: #fff;
    }
    .srv-field textarea { min-height: 72px; resize: vertical; }
    .srv-two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    @media (max-width: 520px) { .srv-two { grid-template-columns: 1fr; } }
    .srv-photos { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
    .srv-photos img { width: 58px; height: 58px; object-fit: cover; border-radius: 9px; border: 1px solid var(--line); }
    .srv-note {
      background: #FFF8EC; border: 1px solid #F0DCB8; border-radius: 12px; padding: 10px 12px;
      font-size: 12.5px; color: #7A5A18; margin-bottom: 12px;
    }
    /* flex-wrap (23.09.2026, живая жалоба: «плитки растягиваются вправо») —
       семь вкладок в один ряд без переноса шире экрана на телефоне,
       раздували всю страницу за пределы viewport. Переносятся строкой. */
    .acc-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
    /* Подсказки по флоу — светлая карточка, скрывается навсегда (20.09.2026). */
    .hint-card { display:flex; gap:10px; align-items:flex-start; justify-content:space-between; flex-wrap:wrap;
      background: var(--bg); border-radius: 12px; padding: 10px 12px; margin: 12px 0; }
    .hint-card b { display:block; font-size:13px; margin-bottom:2px; }
    .hint-card span { font-size:12.5px; color: var(--muted); line-height:1.4; }
    .hint-card button { border:none; background:none; color: var(--orange); font-size:12px; font-weight:600; cursor:pointer; padding:0; }
    /* Подпись до фотофиксации заблокирована (20.09.2026). */
    .swipe-sign.is-locked { opacity: .55; }
    /* Кабинет (01.11.2026): на компьютере — окно 1040px, меню слева, содержимое справа; на телефоне — весь экран,
       профиль и чипсы вкладок сверху. Оболочку собирает accountShell (JS). */
    #accountModal.acc-shell { width: min(1040px, 100%); height: min(760px, 92vh); max-height: 92vh; padding: 0;
      display: grid; grid-template-columns: 264px minmax(0, 1fr); overflow: hidden; }
    .acc-side { background: var(--tenant-surface-muted, #f7f4eb); border-right: 1px solid var(--line); padding: 20px 12px;
      overflow: auto; display: flex; flex-direction: column; gap: 10px; }
    .acc-main { padding: 22px 28px 28px; overflow: auto; min-width: 0; }
    .acc-main > .modal__head { position: sticky; top: -22px; z-index: 2; background: #fff; margin: -22px -28px 14px; padding: 18px 28px 12px; }
    .acc-main > .modal__head h2 { font-size: 22px; font-weight: 800; }
    .acc-me { display: flex; gap: 12px; align-items: center; padding: 2px 8px 8px; min-width: 0; }
    .acc-me__ava { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; background: var(--orange); color: #fff;
      display: grid; place-items: center; font-weight: 800; font-size: 18px; }
    .acc-me__ava svg { width: 22px; height: 22px; }
    .acc-me__who { min-width: 0; }
    .acc-me__who b { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .acc-me__who span { display: block; font-size: 12.5px; color: var(--muted); }
    .acc-shell .acc-tabs { flex-direction: column; flex-wrap: nowrap; gap: 2px; margin: 0; }
    .acc-group { font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); padding: 14px 12px 6px; }
    .acc-tab { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 0; background: transparent;
      border-radius: 10px; font: inherit; font-size: 14px; font-weight: 600; color: var(--text); text-align: left;
      text-decoration: none; cursor: pointer; transition: background .15s, color .15s; }
    .acc-tab svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--muted); }
    .acc-tab span { min-width: 0; }
    .acc-tab:hover { background: rgba(16, 19, 23, .05); }
    .acc-tab.is-active { background: #fff; color: var(--orange-hover, #c25e00); box-shadow: 0 1px 3px rgba(16, 19, 23, .08); }
    .acc-tab.is-active svg { color: var(--orange); }
    .acc-tab__badge { margin-left: auto; font-style: normal; background: var(--orange); color: #fff; font-size: 11px; font-weight: 800;
      border-radius: 999px; padding: 1px 7px; }
    @media (max-width: 760px) {
      #accountOverlay { padding: 0; }
      /* Нижнее меню видно и в кабинете (01.11.2026, Евгений: «нижние кнопки главного меню исчезают, когда заходишь в профиль»). */
      #accountOverlay.is-open { bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }
      body:has(#accountOverlay.is-open) .tabbar { z-index: 101; }
      #accountModal.acc-shell { width: 100%; height: 100%; max-height: 100%; border-radius: 0; grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto minmax(0, 1fr); }
      .acc-side { border-right: 0; border-bottom: 1px solid var(--line); padding: 12px 0 10px; gap: 8px; overflow: visible; }
      .acc-me { padding: 0 56px 0 14px; }
      .acc-me__ava { width: 36px; height: 36px; font-size: 15px; }
      .acc-shell .acc-tabs { flex-direction: row; overflow-x: auto; scrollbar-width: none; gap: 6px; padding: 0 12px; }
      .acc-shell .acc-tabs::-webkit-scrollbar { display: none; }
      .acc-group { display: none; }
      .acc-tab { width: auto; flex-shrink: 0; white-space: nowrap; padding: 7px 12px; background: #fff; border: 1px solid var(--line);
        border-radius: 999px; font-size: 13px; }
      .acc-tab svg { width: 15px; height: 15px; }
      .acc-tab.is-active { background: var(--orange-soft); border-color: var(--orange); box-shadow: none; }
      .acc-main { padding: 0 14px 24px; }
      #accountModal.acc-shell { position: relative; }
      .acc-main > .modal__head { position: static; margin: 0 0 10px; padding: 14px 0 0; }
      .acc-main > .modal__head .modal__close { position: absolute; top: 12px; right: 12px; }
      .acc-main > .modal__head h2 { font-size: 19px; }
    }
    .pvi-benefits { display: grid; gap: 8px; margin-bottom: 16px; }
    .pvi-benefit {
      background: var(--bg); border-radius: var(--radius-md); padding: 10px 12px;
    }
    .pvi-benefit b { display: block; font-size: 13.5px; }
    .pvi-benefit span { font-size: 12px; color: var(--muted); }
    .company-intro h3 { font-size: 16px; margin-bottom: 6px; }
    .company-intro p { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
    .co-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; }
    .co-name { font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
    .co-req { font-size: 12px; color: var(--muted); margin-top: 2px; }
    .co-badge {
      display: inline-block; padding: 2px 8px; border-radius: 20px; font-size: 11px; font-weight: 600;
      background: var(--line); color: var(--muted);
    }
    .co-badge--ok { background: #e4f6ea; color: #1d7f49; }
    .co-balance {
      background: linear-gradient(135deg, var(--orange-soft), #fff);
      border: 1.5px solid var(--line); border-radius: var(--radius-lg);
      padding: 16px; margin-bottom: 14px;
    }
    .co-balance__label { font-size: 12px; color: var(--muted); }
    .co-balance__sum { font-size: 28px; font-weight: 700; margin: 2px 0 12px; }
    .co-balance__actions { display: flex; gap: 8px; }
    .co-balance__actions input {
      flex: 1; min-width: 0; padding: 10px 12px; border: 1.5px solid var(--line);
      border-radius: var(--radius-md); font-size: 14px; background: #fff;
    }
    .co-hint { font-size: 11.5px; color: var(--muted); margin-top: 8px; }
    .co-section { margin-top: 18px; }
    .co-section__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
    .co-section__head h3 { font-size: 14px; }
    .co-add { border: none; background: none; color: var(--orange); font-weight: 600; font-size: 13px; cursor: pointer; }
    .co-member, .co-tx {
      display: flex; justify-content: space-between; align-items: center; gap: 10px;
      padding: 10px 0; border-bottom: 1px solid var(--line);
    }
    .co-member__name { font-size: 13.5px; font-weight: 600; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
    .co-member__meta { font-size: 11.5px; color: var(--muted); margin-top: 2px; }
    .co-remove { border: none; background: none; color: var(--error); font-size: 16px; cursor: pointer; }
    .co-link { border: none; background: none; padding: 0; color: var(--accent, #ef9122); font: inherit; text-decoration: underline; cursor: pointer; }
    .co-tx__title { font-size: 13.5px; font-weight: 600; }
    .co-tx__sum { font-weight: 700; font-size: 14px; white-space: nowrap; }
    .co-tx__sum.is-plus { color: #1d7f49; }
    /* История операций с картинками (23.10.2026). */
    .co-tx { gap: 12px; }
    /* Чаты компании (24.10.2026) */
    .co-chats { display: grid; gap: 8px; }
    .co-chat { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px; border: 1px solid #e3e7ea; border-radius: 14px; background: #fff; text-align: left; cursor: pointer; font: inherit; color: inherit; }
    .co-chat:hover { border-color: var(--orange); }
    .co-chat__ico { width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center; border-radius: 12px; background: var(--orange-soft); font-size: 19px; }
    .co-chat__txt { flex: 1; min-width: 0; }
    .co-chat__txt b { display: block; font-size: 14px; }
    .co-chat__txt span { display: block; font-size: 12.5px; color: var(--muted); }
    .co-chat__n { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: var(--orange); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
    .chat-msg__who { display: block; font-size: 11.5px; color: var(--orange-hover); margin-bottom: 2px; }
    /* Роли сотрудников (24.10.2026): форма — плашки ролей, переключатели прав, скруглённые поля */
    .co-member-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px; margin: 10px 0 12px; box-shadow: var(--shadow); }
    .co-form-block { margin-bottom: 16px; }
    .co-form-label { display: block; margin-bottom: 8px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
    .co-inputs { display: grid; gap: 8px; }
    .co-member-form input:not([type="checkbox"]) {
      width: 100%; box-sizing: border-box; min-height: 46px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 12px;
      background: #fff; font: inherit; font-size: 15px; color: var(--text); outline: none; transition: border-color .15s, box-shadow .15s;
    }
    .co-member-form input:not([type="checkbox"]):focus { border-color: #f2b48d; box-shadow: 0 0 0 3px rgba(239, 145, 34, .14); }
    .co-member-form input::placeholder { color: #b4bcc7; }
    .co-member-form input[type="number"] { -moz-appearance: textfield; }
    .co-member-form input[type="number"]::-webkit-inner-spin-button, .co-member-form input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
    .co-roles { display: flex; flex-wrap: wrap; gap: 8px; }
    .co-role { border: 1.5px solid var(--line); background: #fff; color: var(--text); border-radius: 999px; padding: 8px 14px; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: background .15s, border-color .15s, color .15s, box-shadow .15s; }
    .co-role:hover { border-color: #f2b48d; }
    .co-role.is-on { background: var(--orange); border-color: var(--orange); color: #fff; box-shadow: 0 4px 12px rgba(239, 145, 34, .28); }
    .co-role:focus-visible, .co-switch:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
    .co-perms { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
    .co-perm { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 14px; background: #fff; cursor: pointer; }
    .co-perm + .co-perm { border-top: 1px solid var(--line); }
    .co-perm b { display: block; font-size: 14px; font-weight: 600; color: var(--text); }
    .co-perm small { display: block; margin-top: 1px; font-size: 12.5px; color: var(--muted); line-height: 1.35; }
    .co-switch { appearance: none; -webkit-appearance: none; flex: 0 0 auto; position: relative; width: 44px; height: 26px; margin: 0; border-radius: 13px; background: #d5dbe1; cursor: pointer; transition: background .2s; }
    .co-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .2s; }
    .co-switch:checked { background: var(--orange); }
    .co-switch:checked::after { transform: translateX(18px); }
    .co-limits { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .co-money { display: grid; gap: 6px; font-size: 12.5px; color: var(--muted); }
    .co-money__in { position: relative; display: block; }
    .co-money__in input { padding-right: 34px !important; }
    .co-money__in i { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-style: normal; font-weight: 600; color: var(--muted); pointer-events: none; }
    .co-form-actions { display: flex; gap: 10px; }
    .co-form-actions .cta { flex: 1; min-height: 46px; font-size: 14px; }
    .co-ghost { border: 1.5px solid var(--line); background: #fff; color: var(--text); border-radius: 12px; padding: 0 18px; min-height: 46px; font: inherit; font-weight: 600; cursor: pointer; }
    .co-ghost:hover { border-color: #c9d1d8; }
    @media (prefers-reduced-motion: reduce) { .co-switch, .co-switch::after, .co-role { transition: none; } }
    @media (max-width: 420px) { .co-limits { grid-template-columns: 1fr; } }
    .co-member__acts { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
    .co-member__acts .co-link { white-space: nowrap; }
    /* «📑 Документы» (25.10.2026) */
    .co-doc-months { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
    .co-doc { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 0; border: none; border-bottom: 1px solid var(--line); background: none; font: inherit; color: inherit; text-align: left; cursor: pointer; }
    .co-doc__ico { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 10px; background: #f1f4f6; display: grid; place-items: center; font-size: 18px; }
    .co-doc__txt { flex: 1; min-width: 0; display: grid; }
    .co-doc__txt b { font-size: 14px; }
    .co-doc__txt span { font-size: 12.5px; color: var(--muted); }
    .co-doc__sum { font-size: 14px; white-space: nowrap; }
    /* «🚚 Михалыч Доставка» (24.10.2026) */
    .co-deliv { border: 1px solid var(--line); border-radius: 14px; padding: 12px; margin-bottom: 10px; background: #fff; }
    .co-deliv.is-done { opacity: .75; }
    .co-deliv__head { display: flex; gap: 10px; align-items: flex-start; }
    .co-deliv__ico { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 10px; background: var(--orange-soft); display: grid; place-items: center; font-size: 18px; }
    .co-deliv__txt { min-width: 0; display: grid; gap: 1px; }
    .co-deliv__txt b { font-size: 14px; }
    .co-deliv__txt span { font-size: 12.5px; color: var(--muted); }
    .co-deliv .delivery-track { margin-top: 10px; }
    .co-deliv__more { margin-top: 2px; font-size: 13px; }
    /* Картина компании (24.10.2026) */
    .co-dash-chips { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 10px; scrollbar-width: none; }
    .co-dash-chips::-webkit-scrollbar { display: none; }
    .co-dash-chip { flex: 0 0 auto; border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 12.5px; font-weight: 600; color: var(--text); cursor: pointer; white-space: nowrap; }
    .co-dash-chip i { font-style: normal; color: var(--muted); margin-left: 2px; }
    .co-dash-chip.is-on { background: var(--text); border-color: var(--text); color: #fff; }
    .co-dash-chip.is-on i { color: #c9cde0; }
    .co-rent { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
    .co-rent__img { width: 52px; height: 52px; flex: 0 0 52px; border-radius: 12px; background: #f1f4f6; border: 1px solid #e3e7ea; object-fit: contain; padding: 3px; box-sizing: border-box; display: grid; place-items: center; font-size: 22px; }
    .co-rent__body { flex: 1; min-width: 0; display: grid; gap: 1px; }
    .co-rent__body b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .co-rent__state { font-size: 12.5px; font-weight: 600; color: var(--text); }
    .co-rent--paused .co-rent__state { color: #c2410c; }
    .co-rent--on_site .co-rent__state { color: var(--ok); }
    .co-rent--en_route .co-rent__state { color: var(--info); }
    .co-rent__meta { font-size: 12px; color: var(--muted); }
    .co-rent__sum { font-size: 13.5px; white-space: nowrap; }
    .co-rent__btn { flex: 0 0 auto; border: 1.5px solid var(--line); background: #fff; border-radius: 10px; padding: 7px 10px; font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; color: var(--text); }
    .co-rent__btn--bad { border-color: #f5c2b0; color: #c2410c; background: #fff7f3; }
    .co-dash-note { margin-top: 10px; font-size: 12px; color: var(--muted); line-height: 1.45; }
    .co-dash-h { margin: 16px 0 2px; font-size: 13.5px; }
    .co-member:has(> .co-member-form) { flex-wrap: wrap; }
    .co-member > .co-member-form { flex: 1 0 100%; margin-top: 10px; }
    .co-tx__body { flex: 1; min-width: 0; }
    .co-tx__img, .co-tx__ico { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 10px; background: #f1f4f6; border: 1px solid #e3e7ea; }
    .co-tx__img { object-fit: contain; padding: 3px; box-sizing: border-box; }
    .co-tx__ico { display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; color: #6b7280; }
    .co-tx__ico.is-plus { background: #1d7f49; border-color: #1d7f49; color: #fff; }
    .co-tx--repair .co-tx__title { color: #e86b1a; }
    .photo-btn {
      display: inline-block;
      padding: 9px 14px;
      border: 1.5px dashed var(--line);
      border-radius: 10px;
      font-size: 13px;
      color: var(--text);
      cursor: pointer;
      text-align: center;
    }
    .photo-btn:hover { border-color: var(--orange); }
    .field-hint.is-ok { color: #1d7f49; }
    .field-hint.is-warn { color: #9f4200; }
    .suggest-list {
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: #fff;
      border: 1px solid var(--line);
      border-radius: 10px;
      box-shadow: var(--shadow);
      z-index: 20;
      margin-top: 4px;
      max-height: 220px;
      overflow-y: auto;
      display: none;
      list-style: none;
      padding: 6px;
    }
    .suggest-list.is-open { display: block; }
    .suggest-item {
      padding: 8px 10px;
      border-radius: 8px;
      cursor: pointer;
      font-size: 13px;
      color: var(--text);
    }
    .suggest-item:hover { background: var(--orange-soft); }
    .suggest-item small {
      display: block;
      color: var(--muted);
      font-size: 11px;
      margin-top: 2px;
    }
    .address-input-row {
      display: flex;
      gap: 8px;
    }
    .address-input-row input {
      flex: 1;
    }
    .map-pick-btn {
      width: 44px;
      height: 44px;
      flex-shrink: 0;
      border: 1px solid var(--line);
      border-radius: 10px;
      background: #fff;
      cursor: pointer;
      font-size: 18px;
    }
    .map-pick-btn:hover {
      background: #fafbfc;
      border-color: #cfd5de;
    }
    .slot-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 8px;
    }
    .slot-btn {
      border: 1px solid var(--line);
      background: #fff;
      border-radius: 10px;
      min-height: 40px;
      cursor: pointer;
      font-size: 13px;
      color: #2b3340;
    }
    .slot-btn.is-active {
      border-color: var(--orange);
      background: var(--orange-soft);
      color: #9f4200;
      font-weight: 700;
    }
    .order-summary {
      border: 1px solid var(--line);
      border-radius: 12px;
      padding: 12px;
      margin-bottom: 14px;
      background: #fafbfc;
    }
    .order-summary__row {
      display: flex;
      justify-content: space-between;
      font-size: 13px;
      color: var(--muted);
      padding: 4px 0;
      gap: 10px;
    }
    .order-summary__total {
      display: flex;
      justify-content: space-between;
      font-weight: 700;
      border-top: 1px solid var(--line);
      margin-top: 8px;
      padding-top: 8px;
    }
    .pay-note {
      font-size: 12px;
      color: var(--muted);
      margin-bottom: 14px;
      line-height: 1.4;
    }
    .pay-error {
      font-size: 13px;
      color: #c23;
      background: #fdeaea;
      border-radius: 10px;
      padding: 10px 12px;
      margin-bottom: 14px;
      line-height: 1.4;
    }
    /* Выбор способа оплаты — 03.09.2026, редизайн чекаута. Три равных
       карточки вместо одной кнопки «Оплатить» + скрытого чекбокса юрлица;
       карта/СБП физически ведут в одну и ту же ЮKassa (она сама показывает
       выбор способа на своей странице), но подсказка методу передаётся на
       бэк — когда появятся настоящие ключи ЮKassa, у клиента сразу
       откроется нужная форма без лишнего экрана выбора. */
    .pay-methods {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 8px;
      margin-bottom: 4px;
    }
    /* Обещания под кнопкой оплаты — как в виджете (20.09.2026). */
    .ck-trust { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 6px; }
    .ck-trust li { position: relative; padding-left: 20px; color: var(--muted); font-size: 12.5px; line-height: 1.4; }
    .ck-trust li::before { content: ""; position: absolute; left: 3px; top: 4px; width: 9px; height: 5px;
      border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(-45deg); }
    .pay-method {
      border: 1.5px solid var(--line);
      background: #fff;
      border-radius: 12px;
      padding: 12px 8px;
      cursor: pointer;
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 4px;
      transition: border-color .15s, background .15s;
    }
    .pay-method:hover { border-color: #cfd5de; }
    .pay-method .ic { font-size: 20px; line-height: 1; }
    .pay-method .lbl { font-size: 12.5px; font-weight: 600; color: #2b3340; }
    .pay-method .sub { font-size: 10.5px; color: var(--muted); }
    .pay-method.is-active {
      border-color: var(--orange);
      background: var(--orange-soft);
    }
    .pay-method.is-active .lbl { color: #9f4200; }
    .spinner {
      width: 44px;
      height: 44px;
      border-radius: 999px;
      border: 4px solid var(--orange-soft);
      border-top-color: var(--orange);
      margin: 0 auto 16px;
      animation: spin 0.8s linear infinite;
    }
    @keyframes spin { to { transform: rotate(360deg); } }
    .success { text-align: center; padding: 10px 6px 4px; }
    .success__icon {
      width: 60px;
      height: 60px;
      border-radius: 999px;
      background: #eaf8f0;
      color: #1d7f49;
      display: grid;
      place-items: center;
      margin: 0 auto 14px;
      font-size: 28px;
    }
    /* Чат должен быть виден сразу (20.09.2026: «его не видно»): крупнее,
       с подписью и мягкой пульсацией, чтобы взгляд находил его без поиска. */
    .support-fab {
      position: fixed;
      right: 16px;
      bottom: max(24px, env(safe-area-inset-bottom, 0px));
      z-index: 55;
      transition: bottom 0.2s ease;
      min-width: 52px;
      height: 52px;
      padding: 0 14px;
      border-radius: 999px;
      border: 2px solid #fff;
      background: var(--orange);
      color: #fff;
      font-size: 22px;
      font-weight: 700;
      cursor: pointer;
      box-shadow: 0 8px 20px rgba(230, 92, 0, 0.35);
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
    }
    .support-fab::after { content: "Чат"; font-size: 13px; font-weight: 700; letter-spacing: .2px; }
    .support-fab.support-fab--above-footer {
      bottom: max(96px, calc(env(safe-area-inset-bottom, 0px) + 24px));
    }
    .home-sticky-cta {
      display: none;
      position: fixed;
      left: 0;
      right: 0;
      z-index: 45;
      padding: 10px var(--page-gutter, 8px) calc(10px + env(safe-area-inset-bottom, 0px));
      background: rgba(253, 251, 247, 0.94);
      border-top: 1px solid var(--line);
      backdrop-filter: blur(8px);
      transform: translateY(110%);
      transition: transform 0.2s ease;
    }
    .home-sticky-cta.is-visible { transform: translateY(0); }
    .home-sticky-cta__in {
      width: var(--page-width);
      margin: 0 auto;
      max-width: 100%;
    }
    .home-sticky-cta .t-btn { width: 100%; }
    @media (max-width: 1023px) {
      /* Нижняя навигация (tabbar) заменяет sticky-кнопку «Смотреть каталог». */
      body.is-home-page .home-sticky-cta { display: none !important; }
    }
    .support-fab__badge {
      position: absolute;
      top: -2px;
      right: -2px;
      min-width: 18px;
      height: 18px;
      padding: 0 4px;
      border-radius: 999px;
      background: var(--error);
      color: #fff;
      font-size: 11px;
      font-weight: 700;
      display: grid;
      place-items: center;
      border: 2px solid #fff;
    }
    .chat-thread {
      display: flex;
      flex-direction: column;
      gap: 10px;
      max-height: 360px;
      overflow-y: auto;
      padding: 4px 2px 12px;
      margin-bottom: 12px;
    }
    .chat-msg {
      max-width: 82%;
      padding: 9px 12px;
      border-radius: 12px;
      font-size: 13.5px;
      line-height: 1.4;
    }
    .chat-msg--user {
      align-self: flex-end;
      background: var(--orange);
      color: #fff;
      border-bottom-right-radius: 3px;
    }
    .chat-msg--agent {
      align-self: flex-start;
      background: var(--bg);
      color: var(--text);
      border-bottom-left-radius: 3px;
    }
    .chat-msg__meta {
      display: block;
      font-size: 10.5px;
      opacity: 0.7;
      margin-top: 3px;
    }
    /* Уведомление об ответе (15.10.2026): кнопка подписки под сообщениями и плашка «ответили», пока чат закрыт. */
    .chat-push {
      align-self: center; margin-top: 2px; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: 999px;
      background: var(--card); color: var(--text); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
    }
    .chat-push:disabled { opacity: .6; }
    .chat-push-done { align-self: center; font-size: 12.5px; color: var(--muted); padding: 4px 0; }
    .chat-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
    .chat-chip { border: 1.5px solid var(--orange); background: var(--card); color: var(--orange-hover); border-radius: 999px; padding: 7px 12px;
      font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: none; line-height: 1.2; }
    .chat-ping {
      position: fixed; right: 16px; bottom: calc(100px + env(safe-area-inset-bottom)); z-index: 61;
      max-width: min(320px, calc(100vw - 32px)); display: flex; flex-direction: column; gap: 2px; text-align: left;
      padding: 10px 14px; border: none; border-radius: var(--radius-md); background: var(--card); color: var(--text);
      font: inherit; font-size: 13.5px; line-height: 1.35; box-shadow: 0 10px 30px rgba(47, 48, 84, 0.22); cursor: pointer;
    }
    .chat-ping[hidden] { display: none; }
    .chat-ping span { color: var(--muted); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
    /* Поле ответа растёт по тексту (20.10.2026, /chat-grow.js): Enter — отправить, Shift+Enter — новая строка. */
    .chat-input-row {
      display: flex;
      gap: 8px;
      align-items: flex-end;
    }
    .chat-input-row textarea {
      flex: 1;
      padding: 11px 13px;
      border: 1.5px solid var(--line);
      border-radius: 10px;
      font-size: 13.5px;
      font-family: inherit;
      line-height: 20px;
      box-sizing: border-box;
    }
    .chat-input-row button {
      min-height: 45px;
      border: none;
      background: var(--orange);
      color: #fff;
      border-radius: 10px;
      padding: 0 18px;
      font-weight: 700;
      cursor: pointer;
    }
    .chat-empty {
      color: var(--muted);
      font-size: 13px;
      text-align: center;
      padding: 20px 0;
    }
    /* ===== «Мои аренды» (accountModal) ===== */
    .pay-banner { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: #e8590c; color: #fff; border-radius: 14px; padding: 14px 16px; margin-bottom: 12px; box-shadow: 0 4px 14px rgba(232,89,12,.35); }
    .pay-banner__t { font-size: 16px; font-weight: 800; line-height: 1.3; }
    .pay-banner__t span { font-size: 13px; font-weight: 500; opacity: .95; }
    .pay-banner__btn { flex: none; background: #fff; color: #e8590c; border: 0; border-radius: 10px; padding: 12px 20px; font-size: 16px; font-weight: 800; cursor: pointer; }
    /* «Подмена» (28.09.2026): замена из наличия для инструмента «под заказ» */
    .subst-banner { border: 2px solid #e8590c; border-radius: 14px; padding: 14px 16px; margin-bottom: 12px; background: #fff; }
    .subst-banner__t { font-size: 16px; font-weight: 800; margin-bottom: 6px; }
    .subst-banner__lead { font-size: 14px; line-height: 1.4; margin: 0 0 10px; }
    .subst-banner__item { display: flex; gap: 12px; align-items: center; margin-bottom: 8px; }
    .subst-banner__item img { width: 60px; height: 60px; object-fit: contain; border-radius: 10px; border: 1px solid #eee; background: #fff; flex: none; }
    .subst-banner__item span { display: block; font-size: 13px; color: #777; }
    .subst-banner table { width: 100%; border-collapse: collapse; font-size: 13.5px; margin-bottom: 12px; }
    .subst-banner th { text-align: left; font-weight: 500; color: #888; font-size: 12.5px; padding: 0 6px 4px 0; }
    .subst-banner td { padding: 5px 6px 5px 0; border-top: 1px solid #f0ece8; }
    .subst-banner td:first-child { color: #777; }
    .subst-banner__ok { color: #2e7d32; font-weight: 700; }
    .subst-banner__btns { display: flex; gap: 8px; flex-wrap: wrap; }
    .subst-banner__btns button { flex: 1 1 160px; border-radius: 10px; padding: 12px 16px; font-size: 15px; font-weight: 700; cursor: pointer; border: 0; }
    .subst-banner__yes { background: #e8590c; color: #fff; }
    .subst-banner__no { background: #f3efe9; color: #333; }
    .rentals-list {
      display: flex;
      flex-direction: column;
      gap: 12px;
      max-height: 480px;
      overflow-y: auto;
      padding: 2px 2px 4px;
    }
    .rental-card {
      border: 1.5px solid var(--line);
      border-radius: 14px;
      padding: 14px;
      display: flex;
      gap: 12px;
    }
    .rental-card__img {
      width: 56px;
      height: 56px;
      border-radius: 10px;
      object-fit: cover;
      background: var(--bg);
      flex-shrink: 0;
    }
    .rental-card__body { flex: 1; min-width: 0; }
    .rental-card__top {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 8px;
    }
    .rental-card__title { font-weight: 700; font-size: 14px; }
    .rental-card__dates { font-size: 12px; color: var(--muted); margin-top: 2px; }
    .rental-card__amount { font-weight: 800; font-size: 14px; white-space: nowrap; }
    .rental-status {
      display: inline-block;
      margin-top: 6px;
      padding: 3px 9px;
      border-radius: 999px;
      font-size: 11px;
      font-weight: 700;
    }
    .rental-status--pending { background: #FFF3D6; color: #91660A; }
    .rental-status--confirmed { background: #DCEAFE; color: #1554A8; }
    .rental-status--reassigning { background: #FFF3D6; color: #91660A; }
    .rental-status--active { background: #DDF4E4; color: #157A3B; }
    .rental-status--completed { background: #EDEDED; color: #666; }
    .rental-status--cancelled { background: #FBDCDC; color: #A32424; }
    .rental-status--overdue { background: #FBDCDC; color: #A32424; }
    .rental-card__extensions { margin-top: 8px; font-size: 11.5px; color: var(--muted); }
    /* Карточка аренды раскрывается (20.09.2026): в свёрнутом виде — только
       что, когда и сколько; всё остальное по клику. Список из пяти сделок
       перестал быть простынёй, а параметры сделки никуда не делись. */
    .rental-card { cursor: pointer; }
    .rental-card__head { display: flex; align-items: flex-start; gap: 8px; }
    .rental-card__chev {
      margin-left: auto; color: var(--muted); font-size: 12px; line-height: 1;
      transition: transform .15s ease; flex-shrink: 0; padding-top: 2px;
    }
    .rental-card.is-open .rental-card__chev { transform: rotate(180deg); }
    .rental-card__details { display: none; }
    /* На телефоне детали — во всю ширину карточки, а не узкой колонкой
       справа от картинки (25.09.2026, QA). 56 px картинка + 12 px зазор. */
    @media (max-width: 600px) {
      .rental-card__details { margin-left: -68px; }
    }
    .rental-card.is-open .rental-card__details { display: block; }
    /* Узкие телефоны (05.10.2026, Евгений: «проверь чтоб вёрстка не съезжала»): на 320–400 px название и сумма
       налезали друг на друга, текст сжимался в колонку по 2–3 слова. Картинка меньше, отступы меньше, сумма — на
       своей строке под названием. */
    @media (max-width: 400px) {
      .rental-card { padding: 10px; gap: 8px; }
      .rental-card__img { width: 36px; height: 36px; border-radius: 8px; }
      .rental-card__details { margin-left: -44px; }
      .rental-card__head { flex-wrap: wrap; row-gap: 4px; }
      .rental-card__head > div:first-child { flex: 1 1 100% !important; }
      .rental-card__head > div:nth-child(2) { text-align: left !important; }
      .rental-card__amount { font-size: 15px; }
    }
    /* Внутри раскрытой части клик по кнопкам не должен складывать карточку —
       обработчик сворачивания стоит на шапке, а не на всей карточке. */
    .rental-params {
      margin-top: 10px; border-top: 1px solid var(--line); padding-top: 10px;
      display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: 12.5px;
    }
    .rental-params dt { color: var(--muted); }
    .rental-params dd { margin: 0; }
    .rental-filter { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; align-items: center; }
    .rental-filter button {
      border: 1.5px solid var(--line); background: #fff; border-radius: 999px;
      padding: 5px 12px; font-size: 12.5px; font-weight: 700; cursor: pointer; font-family: inherit;
    }
    .rental-filter button.is-on { background: var(--orange); color: #fff; border-color: var(--orange); }
    .rental-filter input[type="date"] {
      border: 1.5px solid var(--line); border-radius: 9px; padding: 4px 8px;
      font-size: 12.5px; font-family: inherit;
    }
    .rental-card__actions { margin-top: 10px; display: flex; gap: 8px; flex-wrap: wrap; }
    .rental-card__actions button {
      border: 1.5px solid var(--line);
      background: #fff;
      border-radius: 9px;
      padding: 7px 12px;
      font-size: 12.5px;
      font-weight: 700;
      cursor: pointer;
      font-family: inherit;
    }
    .rental-card__actions button.is-primary { background: var(--orange); color: #fff; border-color: var(--orange); }
    .rental-extend-form { margin-top: 10px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
    .rental-extend-form input {
      width: 64px;
      padding: 7px 9px;
      border: 1.5px solid var(--line);
      border-radius: 8px;
      font-size: 13px;
      font-family: inherit;
    }
    .rental-extend-form .js-extend-submit { white-space: nowrap; }
    /* Способ оплаты продления (25.09.2026). */
    .js-extend-method .chip { font-size: 12.5px; padding: 6px 12px; min-height: 0; }
    .js-extend-method .chip.is-on { background: var(--orange); border-color: var(--orange); color: #fff; }
    .js-extend-method .chip[hidden] { display: none; }
    .rental-extend-form .js-extend-submit {
      border: 0; border-radius: 10px; padding: 10px 16px;
      background: var(--orange); color: #fff;
      font: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
    }
    .rental-extend-form .js-extend-submit:disabled { opacity: .6; cursor: progress; }
    /* ===== Отслеживание курьера в карточке аренды ===== */
    .delivery-track {
      margin-top: 10px;
      padding: 10px 12px;
      background: var(--bg);
      border-radius: 10px;
    }
    .delivery-track__now {
      font-size: 13px;
      font-weight: 700;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .delivery-track__steps {
      display: flex;
      align-items: center;
      gap: 4px;
      margin-top: 8px;
    }
    .delivery-track__dot {
      height: 4px;
      flex: 1;
      border-radius: 999px;
      background: #dfe3ea;
    }
    .delivery-track__dot.is-done { background: var(--orange); }
    .delivery-track__meta { font-size: 11.5px; color: var(--muted); margin-top: 6px; }
    .delivery-track__map-btn {
      margin-top: 10px;
      width: 100%;
      border: 1.5px solid var(--line, #e3e6ec);
      background: transparent;
      color: inherit;
      font-weight: 600;
      font-size: 13px;
      padding: 9px;
      border-radius: 10px;
      cursor: pointer;
      font-family: inherit;
    }
    .delivery-track__map { margin-top: 8px; }
    .media-req { margin-top: 10px; }
    .media-req__btn {
      width: 100%; border: 1.5px solid var(--line, #e3e6ec); background: transparent;
      border-radius: 10px; padding: 10px; font-size: 13px; font-weight: 600;
      font-family: inherit; cursor: pointer; color: inherit;
    }
    .media-req__btn--ok { background: #DDF4E4; border-color: #b7e3c4; color: #157A3B; margin-top: 8px; }
    .media-req__btn--no { background: #FBDCDC; border-color: #f1b8b8; color: #A32424; margin-top: 6px; }
    .media-req__choose { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; font-size: 12.5px; }
    .media-req__kind {
      border: 1.5px solid var(--orange); background: transparent; color: var(--orange);
      border-radius: 999px; padding: 6px 14px; font-weight: 700; font-family: inherit; cursor: pointer;
    }
    .media-req__hint { font-size: 11.5px; color: var(--muted); margin-top: 6px; }
    .media-req__state { font-size: 12.5px; padding: 10px 12px; background: #fff6e5; border-radius: 10px; }
    .media-req__gallery { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
    .media-req__gallery img, .media-req__gallery video { width: 100%; max-width: 280px; border-radius: 10px; }
    .rental-help { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line, #e3e6ec); }
    .rental-help__btn {
      width: 100%; border: 1.5px solid var(--orange); background: #fff; color: var(--orange-hover, #c25e00);
      border-radius: 12px; padding: 12px 16px; font-size: 14.5px; font-weight: 700;
      font-family: inherit; cursor: pointer;
    }
    .rental-help__btn:hover { background: var(--orange-soft); }
    /* Пустой кабинет (01.11.2026) */
    .acc-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 36px 16px;
      border: 1px dashed var(--line); border-radius: 16px; background: var(--tenant-surface-muted, #f7f4eb); }
    .acc-empty svg { width: 40px; height: 40px; color: var(--orange); margin-bottom: 4px; }
    .acc-empty b { font-size: 16px; }
    .acc-empty span { font-size: 13.5px; color: var(--muted); max-width: 360px; margin-bottom: 8px; }
    /* «Спросить Михалыча» (11.10.2026): строчная кнопка в потоке страницы — ничего не перекрывает. */
    .ask-mih { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 7px; border: 1px solid var(--line, #e3e6ec); border-radius: 999px; background: transparent; color: inherit; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; transition: border-color .15s, background .15s; }
    .ask-mih:hover { border-color: var(--orange); background: rgba(232,107,26,.06); }
    .ask-mih--deal { border-color: var(--orange); font-weight: 600; }   /* 16.11.2026: «Получить скидку» — Михалыч торгуется сам */
    .ask-mih img { flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
    .ask-mih i { flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; background: var(--orange); color: #fff; font-style: normal; font-weight: 800; font-size: 12px; display: inline-flex; align-items: center; justify-content: center; }
    .chat-quick { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0; }
    .chat-quick__btn {
      border: 1.5px solid var(--line, #e3e6ec); background: transparent;
      border-radius: 999px; padding: 6px 12px; font-size: 12px;
      font-family: inherit; cursor: pointer; color: inherit;
    }
    /* Лист подписи на все позиции (07.11.2026): у каждой позиции зелёная ✓ — «получил»; «Нет» / «Не приехал» помечает недостачу красным. */
    .ss{display:grid;gap:10px;text-align:left;margin:4px 0 12px;}
    .ss-item{background:var(--panel,#f7f4eb);border-radius:14px;padding:12px 14px;}
    .ss-item.w-accept{border-top:0;margin:0;display:block;}
    .ss-head{display:flex;align-items:center;gap:10px;}
    .ss-head__t{flex:1;min-width:0;font-weight:700;font-size:15px;line-height:1.3;}
    .ss-tick{flex:0 0 22px;width:22px;height:22px;border-radius:50%;background:#e4f6ea;color:#1d7f49;display:inline-flex;align-items:center;justify-content:center;font-size:12px;font-weight:800;line-height:1;}
    .ss-tick::before{content:"\2713";}
    .ss-lines{list-style:none;margin:10px 0 0;padding:10px 0 0;border-top:1px dashed var(--line,#e3e0d8);display:grid;gap:8px;}
    .ss-line{display:flex;align-items:center;gap:10px;font-size:14px;line-height:1.3;}
    .ss-line .ss-tick{flex-basis:18px;width:18px;height:18px;font-size:10px;margin:0 2px;}
    .ss-line__t{flex:1;min-width:0;}
    .ss-tag{display:block;margin-top:1px;font-size:12px;font-weight:400;color:var(--muted,#7a7f8c);text-decoration:none;}
    .ss-tag--keep{color:#1d7f49;}
    .ss-miss{flex:0 0 auto;border:1px solid var(--line,#e3e0d8);background:#fff;color:var(--muted,#7a7f8c);border-radius:999px;padding:5px 11px;font:inherit;font-size:12.5px;font-weight:600;cursor:pointer;white-space:nowrap;}
    .ss-miss:hover{border-color:#e7a29b;color:#b3261e;}
    .ss-miss[aria-pressed="true"]{background:#fdecea;border-color:#f0b4ad;color:#b3261e;}
    .ss-line.is-missing .ss-tick,.ss-item.is-missing .ss-head .ss-tick{background:#fdecea;color:#b3261e;}
    .ss-line.is-missing .ss-tick::before,.ss-item.is-missing .ss-head .ss-tick::before{content:"\2715";}
    .ss-line.is-missing .ss-line__t,.ss-item.is-missing .ss-head__t{color:var(--muted,#7a7f8c);}
    .ss-line.is-missing .ss-name,.ss-item.is-missing .ss-head__t .ss-name{text-decoration:line-through;}
    .ss-item.is-missing .ss-lines,.ss-item.is-missing .ss-photo{display:none;}
    .ss-photo{display:inline-flex;align-items:center;gap:6px;margin-top:10px;font-size:13px;font-weight:600;color:var(--accent-dark,#c25e00);cursor:pointer;}
    .ss-sum{margin:0;padding:10px 12px;border-radius:12px;background:#e4f6ea;color:#1d5f3a;font-size:13.5px;line-height:1.4;}
    .ss-sum.has-missing{background:#fdecea;color:#8c1d16;}
    .ss-load{margin:0;color:var(--muted,#7a7f8c);font-size:13.5px;}
    .delivery-track__cta {
      margin-top: 10px;
      width: 100%;
      border: none;
      background: var(--orange);
      color: #fff;
      font-weight: 700;
      font-size: 13.5px;
      padding: 11px;
      border-radius: 10px;
      cursor: pointer;
      font-family: inherit;
    }
    /* ===== Приёмка-передача: подпись свайпом ===== */
    .handover-photos {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      margin: 10px 0;
    }
    .handover-photos img {
      width: 68px; height: 68px;
      object-fit: cover;
      border-radius: 10px;
      border: 1px solid var(--line);
    }
    .handover-add-photo {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 68px; height: 68px;
      border: 1.5px dashed var(--line);
      border-radius: 10px;
      cursor: pointer;
      font-size: 22px;
      color: var(--muted);
    }
    .swipe-sign {
      position: relative;
      height: 56px;
      border-radius: 999px;
      background: var(--bg);
      border: 1.5px solid var(--line);
      overflow: hidden;
      user-select: none;
      touch-action: none;
      margin-top: 6px;
    }
    .swipe-sign__fill {
      position: absolute;
      inset: 0 auto 0 0;
      width: 56px;
      background: rgba(239, 145, 34, .18);
      transition: width .15s ease;
    }
    .swipe-sign__label {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 13.5px;
      font-weight: 700;
      color: var(--muted);
      pointer-events: none;
      padding-left: 28px;
    }
    .swipe-sign__knob {
      position: absolute;
      top: 4px;
      left: 4px;
      width: 48px;
      height: 46px;
      border-radius: 999px;
      background: var(--orange);
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
      cursor: grab;
      transition: left .15s ease;
    }
    .swipe-sign.is-signed .swipe-sign__knob { background: #1E9E52; cursor: default; }
    .swipe-sign.is-signed .swipe-sign__fill { background: rgba(30, 158, 82, .18); }
    .swipe-sign.is-dragging .swipe-sign__knob,
    .swipe-sign.is-dragging .swipe-sign__fill { transition: none; }
    /* ===== Жалоба на состояние («что-то не так») ===== */
    .issue-toggle {
      display: block;
      margin: 10px auto 0;
      background: none;
      border: none;
      color: var(--muted);
      font-size: 12.5px;
      text-decoration: underline;
      cursor: pointer;
      font-family: inherit;
    }
    .issue-panel { margin-top: 10px; }
    .issue-types {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 8px;
      margin: 8px 0;
    }
    .issue-type-btn {
      border: 1.5px solid var(--line);
      background: #fff;
      border-radius: 10px;
      padding: 10px 8px;
      font-size: 12.5px;
      font-weight: 600;
      cursor: pointer;
      font-family: inherit;
      text-align: left;
    }
    .issue-type-btn.is-selected { border-color: var(--error); background: #FCE9E9; color: var(--error); }
    .issue-submit {
      width: 100%;
      margin-top: 8px;
      border: none;
      background: var(--error);
      color: #fff;
      font-weight: 700;
      font-size: 13.5px;
      padding: 11px;
      border-radius: 10px;
      cursor: pointer;
      font-family: inherit;
    }
    .support-fab:hover { background: var(--orange-hover); }
    /* MH-MOB-01 breakpoint: 980px — тот же порог, где витрина уже
       складывается в одну колонку. Ниже него tab bar, выше — десктоп. */
    .tabbar { display: none; }
    .tabbar__item {
      flex: 1;
      border: 0;
      background: transparent;
      color: var(--muted);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 2px;
      min-height: 52px;
      padding: 8px 0 10px;
      font-size: 10px;
      font-weight: 600;
      line-height: 1.1;
      cursor: pointer;
      font-family: inherit;
      -webkit-tap-highlight-color: transparent;
    }
    .tabbar__item.is-active { color: var(--orange); }
    .tabbar__item--rent { color: var(--orange); text-decoration: none; text-align: center; }
    .tabbar__item--rent svg { fill: var(--orange-soft, #fde7d6); }
    .tabbar__item--cart { text-decoration: none; text-align: center; }
    @media (max-width: 1023px) { #headerCart { display: none !important; } }
    /* Шапка (27.10.2026): «Каталог» — значок из квадратиков, на телефоне без подписи; надпись «Михалыч» — только на компьютере;
       поиск на телефоне — широкая строка, а не значок. Город и чат в шапке телефона спрятаны: город один, чат — внизу. */
    .topbar__catalog-btn { gap: 6px; }
    .topbar__catalog-btn svg { width: 18px; height: 18px; }
    .topbar__search-ph { display: none; }
    @media (max-width: 980px) {
      .logo__text { display: none; }
      .logo { max-width: none !important; flex: 0 0 auto; }
      .logo__mark { width: 36px !important; height: 36px !important; }
      .topbar__catalog-btn { width: 44px; padding: 0 !important; justify-content: center; }
      .topbar__catalog-label { display: none; }
      .search-row { flex: 1 1 auto !important; min-width: 0; display: flex; gap: 6px; align-items: center; }
      .topbar__search-open { flex: 1 1 auto; min-width: 0; justify-content: flex-start !important; gap: 8px; padding: 0 14px !important; height: 44px; color: var(--muted); }
      .topbar__search-ph { display: inline; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 14px; font-weight: 500; }
      #seoBackBtn:not([hidden]) { display: inline-flex; }
      #cityChip, .chip.header-chat { display: none !important; }
      .topbar__actions { margin-left: 0 !important; flex: 0 0 auto !important; }
    }
    .tabbar__item svg { width: 22px; height: 22px; }
    .tabbar__ico {
      position: relative;
      width: 24px;
      height: 24px;
      display: grid;
      place-items: center;
    }
    .tabbar__badge {
      position: absolute;
      top: -6px;
      right: -10px;
      min-width: 16px;
      height: 16px;
      padding: 0 4px;
      border-radius: 999px;
      background: #e11d48;
      color: #fff;
      font-size: 10px;
      font-weight: 800;
      line-height: 16px;
      text-align: center;
      border: 2px solid #fff;
      box-sizing: border-box;
      pointer-events: none;
    }
    .tabbar__badge[hidden] { display: none; }
    .tabbar__badge:not([hidden]) { display: grid; place-items: center; }
    .fav-stub {
      display: none;
      width: min(100% - 32px, 720px);
      margin: 28px auto;
      padding: 28px 20px;
    }
    .fav-stub h2 { font-size: 20px; margin-bottom: 8px; }
    .fav-stub p { color: var(--muted); }
    @media (max-width: 980px) {
      .support-fab { display: none; }
    }
    /* Слой «Арендовать сейчас» с виджетом внутри (см. #rentNowOverlay). */
    .rent-now {
      position: fixed;
      inset: 0;
      z-index: 80;
      display: flex;
      flex-direction: column;
      background: #fff;
    }
    /* Без верхней полоски (27.09.2026) — отступ под «чёлку» телефона. */
    .rent-now { padding-top: env(safe-area-inset-top, 0px); }
    .rent-now__frame { flex: 1; width: 100%; border: 0; }

    @media (max-width: 1280px) {
      .layout {
        grid-template-columns: 268px minmax(0, 1fr) 280px;
      }
      .tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }

    @media (max-width: 980px) {
      :root { --page-gutter: 12px; }
      .layout {
        /* minmax(0, 1fr), не голый 1fr (найдено 22.09.2026 по жалобе с
           реального телефона — вся страница ехала вбок): без нуля внизу
           трек колонки берёт минимальную ширину по самому широкому
           некликабельному контенту внутри .side (корзина), а не по
           контейнеру — грид, а с ним и body, раздувало за пределы экрана. */
        grid-template-columns: minmax(0, 1fr);
      }
      .cats, .side, .catalog-rail { position: static; min-width: 0; }
      .catalog-rail { display: none; }
      .side:not(.is-mobile-open) .side-top { display: none; }
      /* ФИКС 23.09.2026 (живая жалоба: «нажимаю корзину — просто быстро
         скроллит экран вниз, а не открывает корзину»): на мобильном
         .side лежит в общем потоке НИЖЕ всей товарной сетки (грид
         схлопнут в 1 колонку выше), и mobileCartBtn просто скроллил к
         нему — при длинной ленте товаров это секунды видимого скролла
         через весь экран, ощущается как баг, а не открытие корзины.
         Теперь по клику .side становится полноэкранным оверлеем поверх
         страницы (см. wireMobileCartOverlay), а не точкой прокрутки. */
      .side.is-mobile-open {
        position: fixed;
        inset: 0;
        z-index: 70;
        background: var(--bg, #f7f8fa);
        overflow-y: auto;
        margin: 0;
        border-radius: 0;
        padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
      }
      .side-mobile-close { display: none; }
      .side.is-mobile-open .side-mobile-close {
        display: grid;
        place-items: center;
        width: 36px;
        height: 36px;
        margin-left: auto;
        border: none;
        border-radius: 50%;
        background: var(--bg-soft, #eef1f5);
        color: var(--text);
        cursor: pointer;
      }
      /* MOB-1: одна строка шапки ≤56px; поиск — иконка → NAV-1 sheet */
      .topbar__in {
        flex-wrap: nowrap;
        padding: 4px 0;
        gap: 8px;
        min-height: 52px;
        max-height: 56px;
        align-items: center;
      }
      .search-row { order: 0; width: auto; flex: 0 0 auto; }
      /* Поиск на телефоне — сама строка в шапке (01.11.2026, Евгений: «поиск вообще пропал!»): значок открывал лист подсказок,
         а лист с обычным поиском убран — значок остался скрытым, и искать стало негде. Шапка закреплена сверху, поэтому строка
         едет вместе с прокруткой каталога. */
      .search-row .search { display: flex; min-height: 44px; height: 44px; }
      .search-row .search input { font-size: 16px; min-width: 0; text-overflow: ellipsis; }
      .topbar__search-open { display: none !important; }
      .topbar__actions { margin-left: auto; flex: 0 1 auto; min-width: 0; gap: 6px; }
      .topbar__catalog-btn { display: inline-flex !important; min-height: 44px; padding: 0 12px; }
      #cityChip #cityChipLabel { display: none; }
      #cityChip { min-width: 44px; padding: 0 12px; justify-content: center; }
      .logo { font-size: 17px; min-width: 0; max-width: 38%; }
      .logo__mark { width: 28px; height: 28px; }
      #cityChip { margin-right: auto; }
      #profileBtn { display: none; }
      .chip.header-chat { display: inline-flex; }
      .tools-grid { grid-template-columns: 1fr; }
      .catalog-shell { --catalog-shell-pad: 14px; padding: 14px; }
      body { padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }
      .side { display: none; }
      body[data-shell="cart"] .layout > section { display: none; }
      body[data-shell="cart"] .side {
        display: block;
        position: static;
        max-height: none;
        overflow: visible;
      }
      body[data-shell="fav"] .layout,
      body[data-shell="fav"] .site-footer { display: none; }
      body[data-shell="fav"] .fav-stub { display: block; }
      .tabbar {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 40;
        background: #fff;
        border-top: 1px solid var(--line);
        padding-bottom: env(safe-area-inset-bottom, 0px);
      }
      .tabbar {
        min-height: calc(52px + env(safe-area-inset-bottom, 0px));
        align-items: stretch;
      }
      .tabbar__item { min-height: 52px !important; height: auto !important; padding: 10px 4px 8px !important; box-sizing: border-box; }
    }

    /* tiles-mobile-2col — телефон (04.10.2026, Евгений: «на главной в мобильной версии плитки не огромные,
       когда листаешь вниз, а аккуратные»). Раньше на узком экране карточка инструмента шла одна в ряд:
       314 × 440 px, фото 220 px — на экран помещалась одна-полторы. Теперь два столбца: квадратное фото,
       название до трёх строк, сутки и цена в два ряда. Правило стоит ПОСЛЕ общего мобильного блока,
       чтобы перекрыть его «1fr». */
    @media (max-width: 720px) {
      .tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
      .tool { padding: 8px; gap: 6px; border-radius: 12px; min-width: 0; }
      .tool__img { aspect-ratio: 1 / 1; border-radius: 8px; }
      .tool h3 { font-size: 13.5px; line-height: 1.25; padding: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; word-break: break-word; }
      .tool .meta { font-size: 11.5px; gap: 4px 6px; padding: 0; }
      .tool .rent-pill { gap: 6px 8px; padding: 8px 0 0; }
      .tool .rent-pill__price strong { font-size: 16px; }
      .tool .rent-pill__price small { display: inline; margin: 0 0 0 2px; }
      .tool .rent-pill__add { width: 100%; min-height: 44px; font-size: 14px; }
      .tool .rent-pill__busy { margin-left: 0; white-space: normal; font-size: 11px; padding: 4px 8px; text-align: center; }
      .tool .buy-hint { margin-top: 0; padding: 6px 8px; font-size: 11.5px; flex-wrap: wrap; gap: 0 6px; border-radius: 9px; }
      .tool .buy-hint strong { font-size: 12.5px; }
    }

    /* Серверный контент SEO-страницы (24.09.2026, см. слот seo:content и
       seoTemplate.js). Виден только без JS — бот, curl, отключённые скрипты. */
    /* SSR без JS: скрываем только legacy-блок; .cat-page — в components.css */
    .seo-ssr { margin: 0 0 16px; line-height: 1.5; }
    .seo-ssr nav { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
    .seo-ssr .m-facts { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 12px 0; font-size: 15px; }
    .seo-ssr .m-cats, .seo-ssr .m-offers { list-style: none; padding: 0; margin: 16px 0; }
    .seo-ssr .m-cats li, .seo-ssr .m-offers li { padding: 10px 0; border-bottom: 1px solid #eee; }
    .seo-ssr .m-price { font-weight: 700; }
  